Interface Bucket.EncryptionOrBuilder (2.3.0)

public static interface Bucket.EncryptionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDefaultKmsKey()

public abstract String getDefaultKmsKey()

A 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()

A 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.