# REST Resource: projects.locations.gateways.routeViews

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

## Resource: GatewayRouteView

GatewayRouteView defines view-only resource for Routes to a Gateway

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

| Fields ||
|---|---|
| `name` | `string` Output only. Identifier. Full path name of the GatewayRouteView resource. Format: projects/{project_number}/locations/{location}/gateways/{gateway_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.24/docs/reference/network-services/rest/v1/projects.locations.gateways.routeViews/get` | Get a single RouteView of a Gateway. |
| ### `https://docs.cloud.google.com/service-mesh/v1.24/docs/reference/network-services/rest/v1/projects.locations.gateways.routeViews/list` | Lists RouteViews |