Interface EncryptionConfigOrBuilder (4.48.0)

public interface EncryptionConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGcePdKmsKeyName()

public abstract String getGcePdKmsKeyName()

Optional. The Cloud KMS key resource name to use for persistent disk encryption for all instances in the cluster. See Use CMEK with cluster data for more information.

string gce_pd_kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The gcePdKmsKeyName.

getGcePdKmsKeyNameBytes()

public abstract ByteString getGcePdKmsKeyNameBytes()

Optional. The Cloud KMS key resource name to use for persistent disk encryption for all instances in the cluster. See Use CMEK with cluster data for more information.

string gce_pd_kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for gcePdKmsKeyName.

getKmsKey()

public abstract String getKmsKey()

Optional. The Cloud KMS key resource name to use for cluster persistent disk and job argument encryption. See Use CMEK with cluster data for more information.

When this key resource name is provided, the following job arguments of the following job types submitted to the cluster are encrypted using CMEK:

string kms_key = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The kmsKey.

getKmsKeyBytes()

public abstract ByteString getKmsKeyBytes()

Optional. The Cloud KMS key resource name to use for cluster persistent disk and job argument encryption. See Use CMEK with cluster data for more information.

When this key resource name is provided, the following job arguments of the following job types submitted to the cluster are encrypted using CMEK:

string kms_key = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for kmsKey.