# Google Cloud Support V2 Client - Class Escalation (1.6.0)

1.6.0 (latest) 1.5.0 1.4.2 1.3.0 1.2.1 1.1.0 1.0.3 0.2.5 0.1.2 Reference documentation and code samples for the Google Cloud Support V2 Client class Escalation.

An escalation of a support case.

Generated from protobuf message `google.cloud.support.v2.Escalation`

## Namespace

Google \\ Cloud \\ Support \\ V2

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ reason` | `int` Required. The reason why the Case is being escalated. |
| `↳ justification` | `string` Required. A free text description to accompany the `reason` field above. Provides additional context on why the case is being escalated. |

### getReason

Required. The reason why the Case is being escalated.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [Reason](https://docs.cloud.google.com/php/docs/reference/cloud-support/latest/V2.Escalation.Reason). |

### setReason

Required. The reason why the Case is being escalated.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [Reason](https://docs.cloud.google.com/php/docs/reference/cloud-support/latest/V2.Escalation.Reason). |

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

### getJustification

Required. A free text description to accompany the `reason` field above.

Provides additional context on why the case is being escalated.

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

### setJustification

Required. A free text description to accompany the `reason` field above.

Provides additional context on why the case is being escalated.

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

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