# CloudRunMetadata

- [JSON representation](https://docs.cloud.google.com/deploy/docs/api/reference/rest/v1/CloudRunMetadata#SCHEMA_REPRESENTATION)

CloudRunMetadata contains information from a Cloud Run deployment.

| JSON representation |
|---|
| ``` { "service": string, "serviceUrls": [ string ], "revision": string, "previousRevision": string, "job": string, "workerPool": string } ``` |

| Fields ||
|---|---|
| `service` | `string` Output only. The name of the Cloud Run Service that is associated with a `Rollout`. Format is `projects/{project}/locations/{location}/services/{service}`. |
| `serviceUrls[]` | `string` Output only. The Cloud Run Service urls that are associated with a `Rollout`. |
| `revision` | `string` Output only. The Cloud Run Revision id associated with a `Rollout`. |
| `previousRevision` | `string` Output only. The previous Cloud Run Revision name associated with a `Rollout`. Only set when a canary deployment strategy is configured. Format for service is projects/{project}/locations/{location}/services/{service}/revisions/{revision}. Format for worker pool is projects/{project}/locations/{location}/workerPools/{workerpool}/revisions/{revision}. |
| `job` | `string` Output only. The name of the Cloud Run job that is associated with a `Rollout`. Format is `projects/{project}/locations/{location}/jobs/{jobName}`. |
| `workerPool` | `string` Output only. The Cloud Run worker pool associated with a `Rollout`. Format is `projects/{project}/locations/{location}/workerPools/{workerPool}`. |