# Google Cloud Support V2beta 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

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

Reference documentation and code samples for the Google Cloud Support V2beta Client class Escalation.

An escalation of a support case.

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

## Namespace

Google \\ Cloud \\ Support \\ V2beta

## 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/V2beta.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/V2beta.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` |   |