Package com.google.storage.v2
Interface Bucket.IamConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Bucket.IamConfig,Bucket.IamConfig.Builder
- Enclosing class:
- Bucket
public static interface Bucket.IamConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional.com.google.protobuf.ByteStringOptional.Optional.Optional.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasUniformBucketLevelAccess
boolean hasUniformBucketLevelAccess()Optional. Bucket restriction options currently enforced on the bucket.
.google.storage.v2.Bucket.IamConfig.UniformBucketLevelAccess uniform_bucket_level_access = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the uniformBucketLevelAccess field is set.
-
getUniformBucketLevelAccess
Bucket.IamConfig.UniformBucketLevelAccess getUniformBucketLevelAccess()Optional. Bucket restriction options currently enforced on the bucket.
.google.storage.v2.Bucket.IamConfig.UniformBucketLevelAccess uniform_bucket_level_access = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The uniformBucketLevelAccess.
-
getUniformBucketLevelAccessOrBuilder
Bucket.IamConfig.UniformBucketLevelAccessOrBuilder getUniformBucketLevelAccessOrBuilder()Optional. Bucket restriction options currently enforced on the bucket.
.google.storage.v2.Bucket.IamConfig.UniformBucketLevelAccess uniform_bucket_level_access = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getPublicAccessPrevention
String getPublicAccessPrevention()Optional. Whether IAM will enforce public access prevention. Valid values are "enforced" or "inherited".
string public_access_prevention = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The publicAccessPrevention.
-
getPublicAccessPreventionBytes
com.google.protobuf.ByteString getPublicAccessPreventionBytes()Optional. Whether IAM will enforce public access prevention. Valid values are "enforced" or "inherited".
string public_access_prevention = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for publicAccessPrevention.
-