Package com.google.storage.v2
Interface Bucket.Encryption.CustomerManagedEncryptionEnforcementConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Bucket.Encryption.CustomerManagedEncryptionEnforcementConfig,Bucket.Encryption.CustomerManagedEncryptionEnforcementConfig.Builder
- Enclosing class:
- Bucket.Encryption
public static interface Bucket.Encryption.CustomerManagedEncryptionEnforcementConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.TimestampTime from which the config was effective.com.google.protobuf.TimestampOrBuilderTime from which the config was effective.booleanWhether Customer Managed Encryption (CMEK) is restricted for new objects within the bucket.booleanTime from which the config was effective.booleanWhether Customer Managed Encryption (CMEK) is restricted for new objects within the bucket.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasRestricted
boolean hasRestricted()Whether Customer Managed Encryption (CMEK) is restricted for new objects within the bucket. If true, new objects can't be created using CMEK encryption. If false or unset, creation of new objects with CMEK encryption is allowed.
optional bool restricted = 1;- Returns:
- Whether the restricted field is set.
-
getRestricted
boolean getRestricted()Whether Customer Managed Encryption (CMEK) is restricted for new objects within the bucket. If true, new objects can't be created using CMEK encryption. If false or unset, creation of new objects with CMEK encryption is allowed.
optional bool restricted = 1;- Returns:
- The restricted.
-
hasEffectiveTime
boolean hasEffectiveTime()Time from which the config was effective. This is service-provided.
optional .google.protobuf.Timestamp effective_time = 2;- Returns:
- Whether the effectiveTime field is set.
-
getEffectiveTime
com.google.protobuf.Timestamp getEffectiveTime()Time from which the config was effective. This is service-provided.
optional .google.protobuf.Timestamp effective_time = 2;- Returns:
- The effectiveTime.
-
getEffectiveTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getEffectiveTimeOrBuilder()Time from which the config was effective. This is service-provided.
optional .google.protobuf.Timestamp effective_time = 2;
-