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 ServiceReference.

Reference to an underlying networking resource that can comprise a Service.

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

## 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 resource URI. For example, URI of Forwarding Rule, URL Map, and Backend Service. |

### getUri

Output only. The underlying resource URI. For example, URI of Forwarding
Rule, URL Map, and Backend Service.

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

### setUri

Output only. The underlying resource URI. For example, URI of Forwarding
Rule, URL Map, and Backend Service.

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

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