0.6.0 (latest) 0.5.3 0.4.5 0.3.1 0.2.0 0.1.6 Reference documentation and code samples for the Google Cloud App Hub V1 Client class WorkloadReference.

Reference of an underlying compute resource represented by the Workload.

Generated from protobuf message `google.cloud.apphub.v1.WorkloadReference`

## Namespace

Google \\ Cloud \\ AppHub \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ uri` | `string` Output only. The underlying compute resource uri. |

### getUri

Output only. The underlying compute resource uri.

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

### setUri

Output only. The underlying compute resource uri.

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

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