Interface Bucket.Encryption.GoogleManagedEncryptionEnforcementConfigOrBuilder (2.53.2)

public static interface Bucket.Encryption.GoogleManagedEncryptionEnforcementConfigOrBuilder 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 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
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 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
Type Description
boolean

Whether the restricted field is set.