1.1.6 (latest) 1.1.4 1.0.4 0.5.5 0.4.2 0.3.2 0.2.7 Reference documentation and code samples for the Google Cloud Apigee Registry V1 Client class Config.

Available configurations to provision an Instance.

Generated from protobuf message `google.cloud.apigeeregistry.v1.Instance.Config`

## Namespace

Google \\ Cloud \\ ApigeeRegistry \\ V1 \\ Instance

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ location` | `string` Output only. The GCP location where the Instance resides. |
| `↳ cmek_key_name` | `string` Required. 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 InstanceConfig.location. |

### getLocation

Output only. The GCP location where the Instance resides.

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

### setLocation

Output only. The GCP location where the Instance resides.

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

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

### getCmekKeyName

Required. 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 InstanceConfig.location.

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

### setCmekKeyName

Required. 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 InstanceConfig.location.

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

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