Google Cloud Api Hub V1 Client - Class ListAttributesResponse (0.1.2)

Reference documentation and code samples for the Google Cloud Api Hub V1 Client class ListAttributesResponse.

The ListAttributes method's response.

Generated from protobuf message google.cloud.apihub.v1.ListAttributesResponse

Namespace

Google \ Cloud \ ApiHub \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ attributes array<Google\Cloud\ApiHub\V1\Attribute>

The list of all attributes.

↳ next_page_token string

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

getAttributes

The list of all attributes.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setAttributes

The list of all attributes.

Parameter
Name Description
var array<Google\Cloud\ApiHub\V1\Attribute>
Returns
Type Description
$this

getNextPageToken

A token, which can be sent as page_token to retrieve the next page.

If this field is omitted, there are no subsequent pages.

Returns
Type Description
string

setNextPageToken

A token, which can be sent as page_token to retrieve the next page.

If this field is omitted, there are no subsequent pages.

Parameter
Name Description
var string
Returns
Type Description
$this