Google Cloud Observability V1 Client - Class ListBucketsResponse (0.1.0)

Reference documentation and code samples for the Google Cloud Observability V1 Client class ListBucketsResponse.

Response for listing buckets.

Generated from protobuf message google.cloud.observability.v1.ListBucketsResponse

Namespace

Google \ Cloud \ Observability \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ buckets array<Bucket>

Optional. The list of buckets.

↳ next_page_token string

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

getBuckets

Optional. The list of buckets.

Returns
Type Description
Google\Protobuf\RepeatedField<Bucket>

setBuckets

Optional. The list of buckets.

Parameter
Name Description
var array<Bucket>
Returns
Type Description
$this

getNextPageToken

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

Returns
Type Description
string

setNextPageToken

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

Parameter
Name Description
var string
Returns
Type Description
$this