Google Cloud Observability V1 Client - Class ListBucketsRequest (0.1.0)

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

Request for listing buckets.

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

Namespace

Google \ Cloud \ Observability \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent, which owns this collection of buckets. The format is: projects/[PROJECT_ID]/locations/[LOCATION]

↳ page_size int

Optional. The maximum number of buckets to return. If unspecified, then at most 100 buckets are returned. The maximum value is 1000; values above 1000 are coerced to 1000.

↳ page_token string

Optional. A page token, received from a previous ListBuckets call. Provide this to retrieve the subsequent page.

↳ show_deleted bool

Optional. If true, then the response will include deleted buckets.

getParent

Required. The parent, which owns this collection of buckets. The format is: projects/[PROJECT_ID]/locations/[LOCATION]

Returns
Type Description
string

setParent

Required. The parent, which owns this collection of buckets. The format is: projects/[PROJECT_ID]/locations/[LOCATION]

Parameter
Name Description
var string
Returns
Type Description
$this

getPageSize

Optional. The maximum number of buckets to return. If unspecified, then at most 100 buckets are returned. The maximum value is 1000; values above 1000 are coerced to 1000.

Returns
Type Description
int

setPageSize

Optional. The maximum number of buckets to return. If unspecified, then at most 100 buckets are returned. The maximum value is 1000; values above 1000 are coerced to 1000.

Parameter
Name Description
var int
Returns
Type Description
$this

getPageToken

Optional. A page token, received from a previous ListBuckets call.

Provide this to retrieve the subsequent page.

Returns
Type Description
string

setPageToken

Optional. A page token, received from a previous ListBuckets call.

Provide this to retrieve the subsequent page.

Parameter
Name Description
var string
Returns
Type Description
$this

getShowDeleted

Optional. If true, then the response will include deleted buckets.

Returns
Type Description
bool

setShowDeleted

Optional. If true, then the response will include deleted buckets.

Parameter
Name Description
var bool
Returns
Type Description
$this

static::build

Parameter
Name Description
parent string

Required. The parent, which owns this collection of buckets. The format is:

projects/[PROJECT_ID]/locations/[LOCATION] Please see ObservabilityClient::locationName() for help formatting this field.

Returns
Type Description
ListBucketsRequest