route_views
Creates, updates, deletes, gets or lists a route_views resource.
Overview
| Name | route_views |
| Type | Resource |
| Id | google.networkservices.route_views |
Fields
The following fields are returned by SELECT queries:
- get
- list
| Name | Datatype | Description |
|---|---|---|
name | string | Output only. Identifier. Full path name of the MeshRouteView resource. Format: projects/{project_number}/locations/{location}/meshes/{mesh}/routeViews/{route_view} |
routeId | string | Output only. The resource id for the route. |
routeLocation | string | Output only. Location where the route exists. |
routeProjectNumber | string (int64) | Output only. Project number where the route exists. |
routeType | string | Output only. Type of the route: HttpRoute,GrpcRoute,TcpRoute, or TlsRoute |
| Name | Datatype | Description |
|---|---|---|
name | string | Output only. Identifier. Full path name of the MeshRouteView resource. Format: projects/{project_number}/locations/{location}/meshes/{mesh}/routeViews/{route_view} |
routeId | string | Output only. The resource id for the route. |
routeLocation | string | Output only. Location where the route exists. |
routeProjectNumber | string (int64) | Output only. Project number where the route exists. |
routeType | string | Output only. Type of the route: HttpRoute,GrpcRoute,TcpRoute, or TlsRoute |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | projectsId, locationsId, meshesId, routeViewsId | Get a single RouteView of a Mesh. | |
list | select | projectsId, locationsId, meshesId | pageSize, pageToken | Lists RouteViews |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
locationsId | string | |
meshesId | string | |
projectsId | string | |
routeViewsId | string | |
pageSize | integer (int32) | |
pageToken | string |
SELECT examples
- get
- list
Get a single RouteView of a Mesh.
SELECT
name,
routeId,
routeLocation,
routeProjectNumber,
routeType
FROM google.networkservices.route_views
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND meshesId = '{{ meshesId }}' -- required
AND routeViewsId = '{{ routeViewsId }}' -- required
;
Lists RouteViews
SELECT
name,
routeId,
routeLocation,
routeProjectNumber,
routeType
FROM google.networkservices.route_views
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND meshesId = '{{ meshesId }}' -- required
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
;