Google Cloud Observability V1 Client - Class UpdateBucketRequest (0.1.0)

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

Request for updating a bucket.

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

Namespace

Google \ Cloud \ Observability \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ bucket Bucket

Required. The bucket to update. The name field of bucket identifies the resource to update.

↳ update_mask Google\Protobuf\FieldMask

Optional. The list of fields to update.

getBucket

Required. The bucket to update.

The name field of bucket identifies the resource to update.

Returns
Type Description
Bucket|null

hasBucket

clearBucket

setBucket

Required. The bucket to update.

The name field of bucket identifies the resource to update.

Parameter
Name Description
var Bucket
Returns
Type Description
$this

getUpdateMask

Optional. The list of fields to update.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Optional. The list of fields to update.

Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

static::build

Parameters
Name Description
bucket Bucket

Required. The bucket to update.

The name field of bucket identifies the resource to update.

updateMask Google\Protobuf\FieldMask

Optional. The list of fields to update.

Returns
Type Description
UpdateBucketRequest