Interface Bucket.IamConfigOrBuilder (2.3.0)

public static interface Bucket.IamConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPublicAccessPrevention()

public abstract Bucket.IamConfig.PublicAccessPrevention getPublicAccessPrevention()

Whether IAM will enforce public access prevention.

.google.storage.v2.Bucket.IamConfig.PublicAccessPrevention public_access_prevention = 2;

Returns
Type Description
Bucket.IamConfig.PublicAccessPrevention

The publicAccessPrevention.

getPublicAccessPreventionValue()

public abstract int getPublicAccessPreventionValue()

Whether IAM will enforce public access prevention.

.google.storage.v2.Bucket.IamConfig.PublicAccessPrevention public_access_prevention = 2;

Returns
Type Description
int

The enum numeric value on the wire 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.