Interface Bucket.EncryptionOrBuilder (2.22.2)

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
TypeDescription
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
TypeDescription
ByteString

The bytes for defaultKmsKey.