public interface CreateBucketRequestOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getBucket()
public abstract Bucket getBucket()
Required. Properties of the new bucket being inserted. The project and name of the bucket are specified in this request, not in the bucket resource.
.google.storage.v2.Bucket bucket = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Bucket | The bucket. |
getBucketId()
public abstract String getBucketId()
Required. The ID to use for this bucket, which will become the final component of
the bucket's resource name. For example, the value foo
might result in
a bucket with the name projects/123456/buckets/foo
.
string bucket_id = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The bucketId. |
getBucketIdBytes()
public abstract ByteString getBucketIdBytes()
Required. The ID to use for this bucket, which will become the final component of
the bucket's resource name. For example, the value foo
might result in
a bucket with the name projects/123456/buckets/foo
.
string bucket_id = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for bucketId. |
getBucketOrBuilder()
public abstract BucketOrBuilder getBucketOrBuilder()
Required. Properties of the new bucket being inserted. The project and name of the bucket are specified in this request, not in the bucket resource.
.google.storage.v2.Bucket bucket = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
BucketOrBuilder |
getParent()
public abstract String getParent()
Required. The project to which this bucket will belong.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String | The parent. |
getParentBytes()
public abstract ByteString getParentBytes()
Required. The project to which this bucket will belong.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for parent. |
getPredefinedAcl()
public abstract PredefinedBucketAcl getPredefinedAcl()
Apply a predefined set of access controls to this bucket.
.google.storage.v2.PredefinedBucketAcl predefined_acl = 4;
Type | Description |
PredefinedBucketAcl | The predefinedAcl. |
getPredefinedAclValue()
public abstract int getPredefinedAclValue()
Apply a predefined set of access controls to this bucket.
.google.storage.v2.PredefinedBucketAcl predefined_acl = 4;
Type | Description |
int | The enum numeric value on the wire for predefinedAcl. |
getPredefinedDefaultObjectAcl()
public abstract PredefinedObjectAcl getPredefinedDefaultObjectAcl()
Apply a predefined set of default object access controls to this bucket.
.google.storage.v2.PredefinedObjectAcl predefined_default_object_acl = 5;
Type | Description |
PredefinedObjectAcl | The predefinedDefaultObjectAcl. |
getPredefinedDefaultObjectAclValue()
public abstract int getPredefinedDefaultObjectAclValue()
Apply a predefined set of default object access controls to this bucket.
.google.storage.v2.PredefinedObjectAcl predefined_default_object_acl = 5;
Type | Description |
int | The enum numeric value on the wire for predefinedDefaultObjectAcl. |
hasBucket()
public abstract boolean hasBucket()
Required. Properties of the new bucket being inserted. The project and name of the bucket are specified in this request, not in the bucket resource.
.google.storage.v2.Bucket bucket = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
boolean | Whether the bucket field is set. |