Interface Bucket.Encryption.CustomerSuppliedEncryptionEnforcementConfigOrBuilder (2.53.3)

public static interface Bucket.Encryption.CustomerSuppliedEncryptionEnforcementConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

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-supplied encryption for new objects within the bucket. Valid values are: "NotRestricted", "FullyRestricted". If NotRestricted or unset, creation of new objects with customer-supplied encryption is allowed. If FullyRestricted, new objects can't be created using customer-supplied encryption.

optional string restriction_mode = 3;

Returns
Type Description
String

The restrictionMode.

getRestrictionModeBytes()

public abstract ByteString getRestrictionModeBytes()

Restriction mode for customer-supplied encryption for new objects within the bucket. Valid values are: "NotRestricted", "FullyRestricted". If NotRestricted or unset, creation of new objects with customer-supplied encryption is allowed. If FullyRestricted, new objects can't be created using customer-supplied 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-supplied encryption for new objects within the bucket. Valid values are: "NotRestricted", "FullyRestricted". If NotRestricted or unset, creation of new objects with customer-supplied encryption is allowed. If FullyRestricted, new objects can't be created using customer-supplied encryption.

optional string restriction_mode = 3;

Returns
Type Description
boolean

Whether the restrictionMode field is set.