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 TypeMethodDescriptionWhether IAM will enforce public access prevention.com.google.protobuf.ByteStringWhether IAM will enforce public access prevention.Bucket restriction options currently enforced on the bucket.Bucket restriction options currently enforced on the bucket.booleanBucket restriction options currently enforced on the bucket.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()Bucket restriction options currently enforced on the bucket.
.google.storage.v2.Bucket.IamConfig.UniformBucketLevelAccess uniform_bucket_level_access = 1;- Returns:
- Whether the uniformBucketLevelAccess field is set.
-
getUniformBucketLevelAccess
Bucket.IamConfig.UniformBucketLevelAccess getUniformBucketLevelAccess()Bucket restriction options currently enforced on the bucket.
.google.storage.v2.Bucket.IamConfig.UniformBucketLevelAccess uniform_bucket_level_access = 1;- Returns:
- The uniformBucketLevelAccess.
-
getUniformBucketLevelAccessOrBuilder
Bucket.IamConfig.UniformBucketLevelAccessOrBuilder getUniformBucketLevelAccessOrBuilder()Bucket restriction options currently enforced on the bucket.
.google.storage.v2.Bucket.IamConfig.UniformBucketLevelAccess uniform_bucket_level_access = 1; -
getPublicAccessPrevention
String getPublicAccessPrevention()Whether IAM will enforce public access prevention. Valid values are "enforced" or "inherited".
string public_access_prevention = 3;- Returns:
- The publicAccessPrevention.
-
getPublicAccessPreventionBytes
com.google.protobuf.ByteString getPublicAccessPreventionBytes()Whether IAM will enforce public access prevention. Valid values are "enforced" or "inherited".
string public_access_prevention = 3;- Returns:
- The bytes for publicAccessPrevention.
-