# Class Config (0.7.0)

0.7.0 (latest) 0.6.0 0.5.0 0.4.0 0.3.0 0.2.7

    Config(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Available configurations to provision an ApiHub Instance.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `cmek_key_name` | `str` Optional. The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format of `projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)`, where the location must match the instance location. If the CMEK is not provided, a GMEK will be created for the instance. |
| `disable_search` | `bool` Optional. If true, the search will be disabled for the instance. The default value is false. |
| `vertex_location` | `str` Optional. The name of the Vertex AI location where the data store is stored. |
| `encryption_type` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-apihub/latest/google.cloud.apihub_v1.types.ApiHubInstance.Config.EncryptionType` Optional. Encryption type for the region. If the encryption type is CMEK, the cmek_key_name must be provided. If no encryption type is provided, GMEK will be used. |

## Classes

### EncryptionType

    EncryptionType(value)

Types of data encryption.