Package com.google.storage.v2
Interface Bucket.Encryption.GoogleManagedEncryptionEnforcementConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Bucket.Encryption.GoogleManagedEncryptionEnforcementConfig,Bucket.Encryption.GoogleManagedEncryptionEnforcementConfig.Builder
- Enclosing class:
- Bucket.Encryption
public static interface Bucket.Encryption.GoogleManagedEncryptionEnforcementConfigOrBuilder
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 Google Managed Encryption (GMEK) is restricted for new objects within the bucket.booleanTime from which the config was effective.booleanWhether Google Managed Encryption (GMEK) 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 Google Managed Encryption (GMEK) is restricted for new objects within the bucket. If true, new objects can't be created using GMEK encryption. If false or unset, creation of new objects with GMEK encryption is allowed.
optional bool restricted = 1;- Returns:
- Whether the restricted field is set.
-
getRestricted
boolean getRestricted()Whether Google Managed Encryption (GMEK) is restricted for new objects within the bucket. If true, new objects can't be created using GMEK encryption. If false or unset, creation of new objects with GMEK 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;
-