# Google Cloud Telco Automation V1 Client - Class WorkloadStatus (1.3.0)

1.3.0 (latest) 1.2.3 1.1.1 1.0.3 0.2.5 0.1.0 Reference documentation and code samples for the Google Cloud Telco Automation V1 Client class WorkloadStatus.

Workload status.

Generated from protobuf message `google.cloud.telcoautomation.v1.WorkloadStatus`

## Namespace

Google \\ Cloud \\ TelcoAutomation \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ site_version` | `https://docs.cloud.google.com/php/docs/reference/cloud-telcoautomation/latest/V1.SiteVersion` Output only. SiteVersion running in the workload cluster. |
| `↳ status` | `string` Output only. Status. |

### getSiteVersion

Output only. SiteVersion running in the workload cluster.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-telcoautomation/latest/V1.SiteVersion|null` |   |

### hasSiteVersion

### clearSiteVersion

### setSiteVersion

Output only. SiteVersion running in the workload cluster.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-telcoautomation/latest/V1.SiteVersion` |

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

### getStatus

Output only. Status.

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

### setStatus

Output only. Status.

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

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