Class CreateBucketRequest
The parameters to CreateBucket.
Implements
Inherited Members
Namespace: Google.Apis.Logging.v2.Data
Assembly: Google.Apis.Logging.v2.dll
Syntax
public class CreateBucketRequest : IDirectResponseSchema
Properties
Bucket
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.
Declaration
[JsonProperty("bucket")]
public virtual LogBucket Bucket { get; set; }
Property Value
Type | Description |
---|---|
LogBucket |
BucketId
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 identifiers must start with an alphanumeric character.
Declaration
[JsonProperty("bucketId")]
public virtual string BucketId { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Parent
Required. The resource in which to create the log bucket: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For example:"projects/my-project/locations/global"
Declaration
[JsonProperty("parent")]
public virtual string Parent { get; set; }
Property Value
Type | Description |
---|---|
string |