Google Cloud Dataproc Metastore V1beta Client - Class EncryptionConfig (0.4.1)

Reference documentation and code samples for the Google Cloud Dataproc Metastore V1beta Client class EncryptionConfig.

Encryption settings for the service.

Generated from protobuf message google.cloud.metastore.v1beta.EncryptionConfig

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ kms_key string

The fully qualified customer provided Cloud KMS key name to use for customer data encryption, in the following form: projects/{project_number}/locations/{location_id}/keyRings/{key_ring_id}/cryptoKeys/{crypto_key_id}.

getKmsKey

The fully qualified customer provided Cloud KMS key name to use for customer data encryption, in the following form: projects/{project_number}/locations/{location_id}/keyRings/{key_ring_id}/cryptoKeys/{crypto_key_id}.

Generated from protobuf field string kms_key = 1;

Returns
TypeDescription
string

setKmsKey

The fully qualified customer provided Cloud KMS key name to use for customer data encryption, in the following form: projects/{project_number}/locations/{location_id}/keyRings/{key_ring_id}/cryptoKeys/{crypto_key_id}.

Generated from protobuf field string kms_key = 1;

Parameter
NameDescription
var string
Returns
TypeDescription
$this