public interface CreateBucketRequestOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getBucket()
public abstract LogBucket 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.
.google.logging.v2.LogBucket bucket = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
LogBucket |
The bucket. |
getBucketId()
public abstract String 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 bucket_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The bucketId. |
getBucketIdBytes()
public abstract ByteString getBucketIdBytes()
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 bucket_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for bucketId. |
getBucketOrBuilder()
public abstract LogBucketOrBuilder getBucketOrBuilder()
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.
.google.logging.v2.LogBucket bucket = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
LogBucketOrBuilder |
getParent()
public abstract String 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 parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The parent. |
getParentBytes()
public abstract ByteString getParentBytes()
Required. The resource in which to create the log bucket:
"projects/[PROJECT_ID]/locations/[LOCATION_ID]"
For example:
"projects/my-project/locations/global"
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for parent. |
hasBucket()
public abstract boolean hasBucket()
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.
.google.logging.v2.LogBucket bucket = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the bucket field is set. |