Interface Bucket.EncryptionOrBuilder (2.43.0)

See more code actions.
public static interface Bucket.EncryptionOrBuilder extends MessageOrBuilder
MessageOrBuilder
public abstract String getDefaultKmsKey()

The name of the Cloud KMS key that will be used to encrypt objects inserted into this bucket, if no encryption method is specified.

string default_kms_key = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The defaultKmsKey.

getDefaultKmsKeyBytes()

public abstract ByteString getDefaultKmsKeyBytes()

The name of the Cloud KMS key that will be used to encrypt objects inserted into this bucket, if no encryption method is specified.

string default_kms_key = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for defaultKmsKey.