Reference documentation and code samples for the Google Cloud Design Center V1 Client class ApplyCondition.

Condition for applying the policy. Accepts the `criticality`
and `environment` parameters from the application template.

Generated from protobuf message `google.cloud.designcenter.v1.ApplyCondition`

## Namespace

Google \\ Cloud \\ DesignCenter \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ condition_key` | `string` Required. The key of the parameter for the condition. |
| `↳ condition_value` | `string` Required. The value of the parameter for the condition. |

### getConditionKey

Required. The key of the parameter for the condition.

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

### setConditionKey

Required. The key of the parameter for the condition.

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

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

### getConditionValue

Required. The value of the parameter for the condition.

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

### setConditionValue

Required. The value of the parameter for the condition.

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

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