Interface Bucket.EncryptionOrBuilder (2.23.0)

public static interface Bucket.EncryptionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDefaultKmsKey()

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.