Package com.google.cloud.storage
Class BucketInfo.EncryptionEnforcementRestrictionMode
java.lang.Object
com.google.cloud.StringEnumValue
com.google.cloud.storage.BucketInfo.EncryptionEnforcementRestrictionMode
- All Implemented Interfaces:
Serializable
- Enclosing class:
- BucketInfo
@BetaApi
public static final class BucketInfo.EncryptionEnforcementRestrictionMode
extends com.google.cloud.StringEnumValue
- Since:
- 2.55.0 This new api is in preview and is subject to breaking changes.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BucketInfo.EncryptionEnforcementRestrictionModestatic final BucketInfo.EncryptionEnforcementRestrictionMode -
Method Summary
Modifier and TypeMethodDescriptionGet theBucketInfo.EncryptionEnforcementRestrictionModefor the given String constant, and allow unrecognized values.valueOfStrict(String constant) Get theBucketInfo.EncryptionEnforcementRestrictionModefor the given String constant, and throw an exception if the constant is not recognized.values()Return the known valuesMethods inherited from class com.google.cloud.StringEnumValue
equals, hashCode, name, toString
-
Field Details
-
NOT_RESTRICTED
- Since:
- 2.55.0 This new api is in preview and is subject to breaking changes.
-
FULLY_RESTRICTED
- Since:
- 2.55.0 This new api is in preview and is subject to breaking changes.
-
-
Method Details
-
valueOfStrict
@BetaApi public static BucketInfo.EncryptionEnforcementRestrictionMode valueOfStrict(String constant) Get theBucketInfo.EncryptionEnforcementRestrictionModefor the given String constant, and throw an exception if the constant is not recognized.- Since:
- 2.55.0 This new api is in preview and is subject to breaking changes.
-
valueOf
Get theBucketInfo.EncryptionEnforcementRestrictionModefor the given String constant, and allow unrecognized values.- Since:
- 2.55.0 This new api is in preview and is subject to breaking changes.
-
values
Return the known values- Since:
- 2.55.0 This new api is in preview and is subject to breaking changes.
-