2.4.0 (latest) 2.3.3 2.2.4 2.1.5 2.0.0 1.8.6 1.7.0 1.6.2 1.5.2 1.4.5 1.3.8 Reference documentation and code samples for the BigQuery Data Transfer V1 Client class EncryptionConfiguration.

Represents the encryption configuration for a transfer.

Generated from protobuf message `google.cloud.bigquery.datatransfer.v1.EncryptionConfiguration`

## Namespace

Google \\ Cloud \\ BigQuery \\ DataTransfer \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ kms_key_name` | `Google\Protobuf\StringValue` The name of the KMS key used for encrypting BigQuery data. |

### getKmsKeyName

The name of the KMS key used for encrypting BigQuery data.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\StringValue|null` |   |

### hasKmsKeyName

### clearKmsKeyName

### getKmsKeyNameUnwrapped

Returns the unboxed value from `getKmsKeyName()`

The name of the KMS key used for encrypting BigQuery data.

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

### setKmsKeyName

The name of the KMS key used for encrypting BigQuery data.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\StringValue` |

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

### setKmsKeyNameUnwrapped

Sets the field by wrapping a primitive type in a Google\\Protobuf\\StringValue object.

The name of the KMS key used for encrypting BigQuery data.

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

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