Reference documentation and code samples for the Stackdriver Logging V2 Client class CreateBucketRequest.
The parameters to CreateBucket
.
Generated from protobuf message google.logging.v2.CreateBucketRequest
Namespace
Google \ Cloud \ Logging \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The resource in which to create the log bucket: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For example: "projects/my-project/locations/global"
↳ bucket_id
string
Required. A client-assigned identifier such as "my-bucket"
. Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.
↳ bucket
LogBucket
Required. The new bucket. The region specified in the new bucket must be compliant with any Location Restriction Org Policy. The name field in the bucket is ignored.
getParent
Required. The resource in which to create the log bucket:
"projects/[PROJECT_ID]/locations/[LOCATION_ID]"
For example: "projects/my-project/locations/global"
string
setParent
Required. The resource in which to create the log bucket:
"projects/[PROJECT_ID]/locations/[LOCATION_ID]"
For example: "projects/my-project/locations/global"
var
string
$this
getBucketId
Required. A client-assigned identifier such as "my-bucket"
. Identifiers
are limited to 100 characters and can include only letters, digits,
underscores, hyphens, and periods.
string
setBucketId
Required. A client-assigned identifier such as "my-bucket"
. Identifiers
are limited to 100 characters and can include only letters, digits,
underscores, hyphens, and periods.
var
string
$this
getBucket
Required. The new bucket. The region specified in the new bucket must be compliant with any Location Restriction Org Policy. The name field in the bucket is ignored.
hasBucket
clearBucket
setBucket
Required. The new bucket. The region specified in the new bucket must be compliant with any Location Restriction Org Policy. The name field in the bucket is ignored.
$this