Enum Bucket.IamConfig.PublicAccessPrevention (2.3.0)

public enum Bucket.IamConfig.PublicAccessPrevention extends Enum<Bucket.IamConfig.PublicAccessPrevention> implements ProtocolMessageEnum

Public Access Prevention config values.

Protobuf enum google.storage.v2.Bucket.IamConfig.PublicAccessPrevention

Implements

ProtocolMessageEnum

Static Fields

Name Description
ENFORCED

Prevents access from being granted to public members 'allUsers' and 'allAuthenticatedUsers'. Prevents attempts to grant new access to public members.

ENFORCED = 1;

ENFORCED_VALUE

Prevents access from being granted to public members 'allUsers' and 'allAuthenticatedUsers'. Prevents attempts to grant new access to public members.

ENFORCED = 1;

INHERITED

This setting is inherited from Org Policy. Does not prevent access from being granted to public members 'allUsers' or 'allAuthenticatedUsers'.

INHERITED = 2;

INHERITED_VALUE

This setting is inherited from Org Policy. Does not prevent access from being granted to public members 'allUsers' or 'allAuthenticatedUsers'.

INHERITED = 2;

PUBLIC_ACCESS_PREVENTION_UNSPECIFIED

No specified PublicAccessPrevention.

PUBLIC_ACCESS_PREVENTION_UNSPECIFIED = 0;

PUBLIC_ACCESS_PREVENTION_UNSPECIFIED_VALUE

No specified PublicAccessPrevention.

PUBLIC_ACCESS_PREVENTION_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()