# Google Cloud Workload Manager V1 Client - Class ResourceStatus (0.2.0)

0.2.0 (latest) 0.1.0 Reference documentation and code samples for the Google Cloud Workload Manager V1 Client class ResourceStatus.

The lifecycle status of an Evaluation resource.

Generated from protobuf message `google.cloud.workloadmanager.v1.ResourceStatus`

## Namespace

Google \\ Cloud \\ WorkloadManager \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ state` | `int` State of the Evaluation resource. |

### getState

State of the Evaluation resource.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [State](https://docs.cloud.google.com/php/docs/reference/cloud-workloadmanager/latest/V1.ResourceStatus.State). |

### setState

State of the Evaluation resource.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [State](https://docs.cloud.google.com/php/docs/reference/cloud-workloadmanager/latest/V1.ResourceStatus.State). |

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