Class BucketInfo.EncryptionEnforcementRestrictionMode (2.55.0)

public static final class BucketInfo.EncryptionEnforcementRestrictionMode extends StringEnumValue

Inheritance

java.lang.Object > com.google.cloud.StringEnumValue > BucketInfo.EncryptionEnforcementRestrictionMode

Static Fields

FULLY_RESTRICTED

public static final BucketInfo.EncryptionEnforcementRestrictionMode FULLY_RESTRICTED
Field Value
Type Description
BucketInfo.EncryptionEnforcementRestrictionMode

NOT_RESTRICTED

public static final BucketInfo.EncryptionEnforcementRestrictionMode NOT_RESTRICTED
Field Value
Type Description
BucketInfo.EncryptionEnforcementRestrictionMode

Static Methods

valueOf(String constant)

public static BucketInfo.EncryptionEnforcementRestrictionMode valueOf(String constant)

Get the EncryptionEnforcementRestrictionMode for the given String constant, and allow unrecognized values.

Parameter
Name Description
constant String
Returns
Type Description
BucketInfo.EncryptionEnforcementRestrictionMode

valueOfStrict(String constant)

public static BucketInfo.EncryptionEnforcementRestrictionMode valueOfStrict(String constant)

Get the EncryptionEnforcementRestrictionMode for the given String constant, and throw an exception if the constant is not recognized.

Parameter
Name Description
constant String
Returns
Type Description
BucketInfo.EncryptionEnforcementRestrictionMode

values()

public static BucketInfo.EncryptionEnforcementRestrictionMode[] values()

Return the known values

Returns
Type Description
EncryptionEnforcementRestrictionMode[]