# Google Cloud Network Management V1 Client - Class CloudRunRevisionEndpoint (2.9.2)

2.9.2 (latest) 2.9.1 2.8.0 2.7.0 2.6.1 2.5.0 2.4.2 2.3.2 2.2.1 2.1.1 2.0.1 1.7.3 1.5.0 1.4.2 1.3.0 1.2.0 1.1.1 1.0.5 Reference documentation and code samples for the Google Cloud Network Management V1 Client class CloudRunRevisionEndpoint.

Wrapper for Cloud Run revision attributes.

Generated from protobuf message `google.cloud.networkmanagement.v1.Endpoint.CloudRunRevisionEndpoint`

## Namespace

Google \\ Cloud \\ NetworkManagement \\ V1 \\ Endpoint

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ uri` | `string` A [Cloud Run](https://cloud.google.com/run) [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get) URI. The format is: projects/{project}/locations/{location}/revisions/{revision} |
| `↳ service_uri` | `string` Output only. The URI of the Cloud Run service that the revision belongs to. The format is: projects/{project}/locations/{location}/services/{service} |

### getUri

A [Cloud Run](https://cloud.google.com/run)
[revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get)
URI. The format is:
projects/{project}/locations/{location}/revisions/{revision}

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

### setUri

A [Cloud Run](https://cloud.google.com/run)
[revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get)
URI. The format is:
projects/{project}/locations/{location}/revisions/{revision}

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

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

### getServiceUri

Output only. The URI of the Cloud Run service that the revision belongs
to. The format is:
projects/{project}/locations/{location}/services/{service}

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

### setServiceUri

Output only. The URI of the Cloud Run service that the revision belongs
to. The format is:
projects/{project}/locations/{location}/services/{service}

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

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