Skip to main content

route_views

Creates, updates, deletes, gets or lists a route_views resource.

Overview

Nameroute_views
TypeResource
Idgoogle.networkservices.route_views

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
namestringOutput only. Identifier. Full path name of the MeshRouteView resource. Format: projects/{project_number}/locations/{location}/meshes/{mesh}/routeViews/{route_view}
routeIdstringOutput only. The resource id for the route.
routeLocationstringOutput only. Location where the route exists.
routeProjectNumberstring (int64)Output only. Project number where the route exists.
routeTypestringOutput only. Type of the route: HttpRoute,GrpcRoute,TcpRoute, or TlsRoute

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectprojectsId, locationsId, meshesId, routeViewsIdGet a single RouteView of a Mesh.
listselectprojectsId, locationsId, meshesIdpageSize, pageTokenLists 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.

NameDatatypeDescription
locationsIdstring
meshesIdstring
projectsIdstring
routeViewsIdstring
pageSizeinteger (int32)
pageTokenstring

SELECT examples

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;