Interface Bucket.IamConfigOrBuilder (2.42.0)

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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the uniformBucketLevelAccess field is set.