Interface Bucket.IamConfigOrBuilder (2.27.1-SNAPSHOT)

public static interface Bucket.IamConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPublicAccessPrevention()

public abstract String getPublicAccessPrevention()

Whether IAM will enforce public access prevention. Valid values are "enforced" or "inherited".

string public_access_prevention = 3;

Returns
TypeDescription
String

The publicAccessPrevention.

getPublicAccessPreventionBytes()

public abstract ByteString getPublicAccessPreventionBytes()

Whether IAM will enforce public access prevention. Valid values are "enforced" or "inherited".

string public_access_prevention = 3;

Returns
TypeDescription
ByteString

The bytes for publicAccessPrevention.

getUniformBucketLevelAccess()

public abstract Bucket.IamConfig.UniformBucketLevelAccess getUniformBucketLevelAccess()

Bucket restriction options currently enforced on the bucket.

.google.storage.v2.Bucket.IamConfig.UniformBucketLevelAccess uniform_bucket_level_access = 1;

Returns
TypeDescription
Bucket.IamConfig.UniformBucketLevelAccess

The uniformBucketLevelAccess.

getUniformBucketLevelAccessOrBuilder()

public abstract Bucket.IamConfig.UniformBucketLevelAccessOrBuilder getUniformBucketLevelAccessOrBuilder()

Bucket restriction options currently enforced on the bucket.

.google.storage.v2.Bucket.IamConfig.UniformBucketLevelAccess uniform_bucket_level_access = 1;

Returns
TypeDescription
Bucket.IamConfig.UniformBucketLevelAccessOrBuilder

hasUniformBucketLevelAccess()

public abstract boolean hasUniformBucketLevelAccess()

Bucket restriction options currently enforced on the bucket.

.google.storage.v2.Bucket.IamConfig.UniformBucketLevelAccess uniform_bucket_level_access = 1;

Returns
TypeDescription
boolean

Whether the uniformBucketLevelAccess field is set.