# Google Ads Data Manager V1 Client - Class KeyType (0.5.0)

0.5.0 (latest) 0.4.0 0.3.1 0.2.0 0.1.2 Reference documentation and code samples for the Google Ads Data Manager V1 Client class KeyType.

The type of algorithm used to encrypt the data.

Protobuf type `google.ads.datamanager.v1.GcpWrappedKeyInfo.KeyType`

## Namespace

Google \\ Ads \\ DataManager \\ V1 \\ GcpWrappedKeyInfo

## Methods

### static::name

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

### static::value

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

## Constants

### KEY_TYPE_UNSPECIFIED

    Value: 0

Unspecified key type. Should never be used.

Generated from protobuf enum `KEY_TYPE_UNSPECIFIED = 0;`

### XCHACHA20_POLY1305

    Value: 1

Algorithm XChaCha20-Poly1305

Generated from protobuf enum `XCHACHA20_POLY1305 = 1;`