# Google Cloud Data Fusion V1 Client - Class CryptoKeyConfig (1.1.2)

1.1.2 (latest) 1.1.1 1.0.5 0.6.5 0.5.2 0.4.1 0.3.0 0.2.11 Reference documentation and code samples for the Google Cloud Data Fusion V1 Client class CryptoKeyConfig.

The crypto key configuration. This field is used by the Customer-managed
encryption keys (CMEK) feature.

Generated from protobuf message `google.cloud.datafusion.v1.CryptoKeyConfig`

## Namespace

Google \\ Cloud \\ DataFusion \\ V1

## Methods

### __construct

Constructor.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `data` | `mixed` |

### getKeyReference

The name of the key which is used to encrypt/decrypt customer data. For key
in Cloud KMS, the key should be in the format of
`projects/*/locations/*/keyRings/*/cryptoKeys/*`.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setKeyReference

The name of the key which is used to encrypt/decrypt customer data. For key
in Cloud KMS, the key should be in the format of
`projects/*/locations/*/keyRings/*/cryptoKeys/*`.

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

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