Interface Bucket.Encryption.CustomerManagedEncryptionEnforcementConfigOrBuilder (2.53.2)

public static interface Bucket.Encryption.CustomerManagedEncryptionEnforcementConfigOrBuilder 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

getRestricted()

public abstract 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
Type Description
boolean

The restricted.

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.

hasRestricted()

public abstract 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
Type Description
boolean

Whether the restricted field is set.