# ConfigVariable

- [JSON representation](https://docs.cloud.google.com/integration-connectors/docs/reference/rest/v1/ConfigVariable#SCHEMA_REPRESENTATION)
- [EncryptionKey](https://docs.cloud.google.com/integration-connectors/docs/reference/rest/v1/ConfigVariable#EncryptionKey)
  - [JSON representation](https://docs.cloud.google.com/integration-connectors/docs/reference/rest/v1/ConfigVariable#EncryptionKey.SCHEMA_REPRESENTATION)
- [Type](https://docs.cloud.google.com/integration-connectors/docs/reference/rest/v1/ConfigVariable#Type)

ConfigVariable represents a configuration variable present in a Connection. or AuthConfig.

| JSON representation |
|---|
| ``` { "key": string, // Union field `value` can be only one of the following: "intValue": string, "boolValue": boolean, "stringValue": string, "secretValue": { object (`https://docs.cloud.google.com/integration-connectors/docs/reference/rest/v1/Secret`) }, "encryptionKeyValue": { object (`https://docs.cloud.google.com/integration-connectors/docs/reference/rest/v1/ConfigVariable#EncryptionKey`) } // End of list of possible types for union field `value`. } ``` |

| Fields ||
|---|---|
| `key` | `string` Key of the config variable. |
| Union field `value`. Value type of the config variable. `value` can be only one of the following: ||
| `intValue` | `string (https://developers.google.com/discovery/v1/type-format format)` Value is an integer |
| `boolValue` | `boolean` Value is a bool. |
| `stringValue` | `string` Value is a string. |
| `secretValue` | ``object (`https://docs.cloud.google.com/integration-connectors/docs/reference/rest/v1/Secret`)`` Value is a secret. |
| `encryptionKeyValue` | ``object (`https://docs.cloud.google.com/integration-connectors/docs/reference/rest/v1/ConfigVariable#EncryptionKey`)`` Value is a Encryption Key. |

## EncryptionKey

Encryption Key value.

| JSON representation |
|---|
| ``` { "type": enum (`https://docs.cloud.google.com/integration-connectors/docs/reference/rest/v1/ConfigVariable#Type`), "kmsKeyName": string } ``` |

| Fields ||
|---|---|
| `type` | ``enum (`https://docs.cloud.google.com/integration-connectors/docs/reference/rest/v1/ConfigVariable#Type`)`` Type. |
| `kmsKeyName` | `string` The \[KMS key name\] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed. |

## Type

Type of the Encryption Key.

| Enums ||
|---|---|
| `TYPE_UNSPECIFIED` | Value type is not specified. |
| `GOOGLE_MANAGED` | Google Managed. |
| `CUSTOMER_MANAGED` | Customer Managed. |