public static interface Bucket.Encryption.CustomerManagedEncryptionEnforcementConfigOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getEffectiveTime()
public abstract Timestamp getEffectiveTime()
Time from which the config was effective. This is service-provided.
optional .google.protobuf.Timestamp effective_time = 2;
Returns | |
---|---|
Type | Description |
Timestamp |
The effectiveTime. |
getEffectiveTimeOrBuilder()
public abstract TimestampOrBuilder getEffectiveTimeOrBuilder()
Time from which the config was effective. This is service-provided.
optional .google.protobuf.Timestamp effective_time = 2;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getRestrictionMode()
public abstract String getRestrictionMode()
Restriction mode for customer-managed encryption for new objects within
the bucket. Valid values are: "NotRestricted", "FullyRestricted".
If NotRestricted
or unset, creation of new objects with
customer-managed encryption is allowed.
If FullyRestricted
, new objects can't be created using
customer-managed encryption.
optional string restriction_mode = 3;
Returns | |
---|---|
Type | Description |
String |
The restrictionMode. |
getRestrictionModeBytes()
public abstract ByteString getRestrictionModeBytes()
Restriction mode for customer-managed encryption for new objects within
the bucket. Valid values are: "NotRestricted", "FullyRestricted".
If NotRestricted
or unset, creation of new objects with
customer-managed encryption is allowed.
If FullyRestricted
, new objects can't be created using
customer-managed encryption.
optional string restriction_mode = 3;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for restrictionMode. |
hasEffectiveTime()
public abstract boolean hasEffectiveTime()
Time from which the config was effective. This is service-provided.
optional .google.protobuf.Timestamp effective_time = 2;
Returns | |
---|---|
Type | Description |
boolean |
Whether the effectiveTime field is set. |
hasRestrictionMode()
public abstract boolean hasRestrictionMode()
Restriction mode for customer-managed encryption for new objects within
the bucket. Valid values are: "NotRestricted", "FullyRestricted".
If NotRestricted
or unset, creation of new objects with
customer-managed encryption is allowed.
If FullyRestricted
, new objects can't be created using
customer-managed encryption.
optional string restriction_mode = 3;
Returns | |
---|---|
Type | Description |
boolean |
Whether the restrictionMode field is set. |