# Google Cloud Orchestration Airflow V1 Client - Class EncryptionConfig (2.2.3)

2.2.3 (latest) 2.2.2 2.1.8 2.0.1 1.6.4 1.5.0 1.4.2 1.3.0 1.2.0 1.1.0 1.0.4 Reference documentation and code samples for the Google Cloud Orchestration Airflow V1 Client class EncryptionConfig.

The encryption options for the Cloud Composer environment
and its dependencies.Supported for Cloud Composer environments in versions
composer-1.*.* -airflow-*.*.\*.

Generated from protobuf message `google.cloud.orchestration.airflow.service.v1.EncryptionConfig`

## Namespace

Google \\ Cloud \\ Orchestration \\ Airflow \\ Service \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ kms_key_name` | `string` Optional. Customer-managed Encryption Key available through Google's Key Management Service. Cannot be updated. If not specified, Google-managed key will be used. |

### getKmsKeyName

Optional. Customer-managed Encryption Key available through Google's Key
Management Service. Cannot be updated. If not specified, Google-managed key
will be used.

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

### setKmsKeyName

Optional. Customer-managed Encryption Key available through Google's Key
Management Service. Cannot be updated. If not specified, Google-managed key
will be used.

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

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