Google Cloud Observability V1 Client - Class CreateBucketRequest (0.1.0)

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

Request for creating a bucket.

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

Namespace

Google \ Cloud \ Observability \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Name of the project and location for the bucket. The format is: projects/[PROJECT_ID]/locations/[LOCATION]

↳ bucket_id string

Required. Id of the bucket to create.

↳ bucket Bucket

Required. Bucket to create.

getParent

Required. Name of the project and location for the bucket. The format is: projects/[PROJECT_ID]/locations/[LOCATION]

Returns
Type Description
string

setParent

Required. Name of the project and location for the bucket. The format is: projects/[PROJECT_ID]/locations/[LOCATION]

Parameter
Name Description
var string
Returns
Type Description
$this

getBucketId

Required. Id of the bucket to create.

Returns
Type Description
string

setBucketId

Required. Id of the bucket to create.

Parameter
Name Description
var string
Returns
Type Description
$this

getBucket

Required. Bucket to create.

Returns
Type Description
Bucket|null

hasBucket

clearBucket

setBucket

Required. Bucket to create.

Parameter
Name Description
var Bucket
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. Name of the project and location for the bucket. The format is:

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

bucket Bucket

Required. Bucket to create.

bucketId string

Required. Id of the bucket to create.

Returns
Type Description
CreateBucketRequest