# REST Resource: projects.locations.meshes.routeViews

- [Resource: MeshRouteView](https://docs.cloud.google.com/service-mesh/v1.27/docs/reference/network-services/rest/v1/projects.locations.meshes.routeViews#MeshRouteView)
  - [JSON representation](https://docs.cloud.google.com/service-mesh/v1.27/docs/reference/network-services/rest/v1/projects.locations.meshes.routeViews#MeshRouteView.SCHEMA_REPRESENTATION)
- [Methods](https://docs.cloud.google.com/service-mesh/v1.27/docs/reference/network-services/rest/v1/projects.locations.meshes.routeViews#METHODS_SUMMARY)

## Resource: MeshRouteView

MeshRouteView defines view-only resource for Routes to a Mesh

| JSON representation |
|---|
| ``` { "name": string, "routeProjectNumber": string, "routeLocation": string, "routeType": string, "routeId": string } ``` |

| Fields ||
|---|---|
| `name` | `string` Output only. Identifier. Full path name of the MeshRouteView resource. Format: projects/{project_number}/locations/{location}/meshes/{mesh_name}/routeViews/{route_view_name} |
| `routeProjectNumber` | `string (https://developers.google.com/discovery/v1/type-format format)` Output only. Project number where the route exists. |
| `routeLocation` | `string` Output only. Location where the route exists. |
| `routeType` | `string` Output only. Type of the route: HttpRoute,GrpcRoute,TcpRoute, or TlsRoute |
| `routeId` | `string` Output only. The resource id for the route. |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/service-mesh/v1.27/docs/reference/network-services/rest/v1/projects.locations.meshes.routeViews/get` | Get a single RouteView of a Mesh. |
| ### `https://docs.cloud.google.com/service-mesh/v1.27/docs/reference/network-services/rest/v1/projects.locations.meshes.routeViews/list` | Lists RouteViews |