1.2.4 (latest) 1.2.3 1.1.1 1.0.4 0.11.5 0.10.2 0.9.0 0.8.1 0.7.0 0.6.1 0.5.1 0.4.1 Reference documentation and code samples for the Google Cloud Dataproc Metastore V1 Client class EncryptionConfig.

Encryption settings for the service.

Generated from protobuf message `google.cloud.metastore.v1.EncryptionConfig`

## Namespace

Google \\ Cloud \\ Metastore \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `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}`.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `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}`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |