Network Services API . projects . locations . meshes . routeViews

Instance Methods

close()

Close httplib2 connections.

get(name, x__xgafv=None)

Get a single RouteView of a Mesh.

list(parent, pageSize=None, pageToken=None, x__xgafv=None)

Lists RouteViews

list_next()

Retrieves the next page of results.

Method Details

close()
Close httplib2 connections.
get(name, x__xgafv=None)
Get a single RouteView of a Mesh.

Args:
  name: string, Required. Name of the MeshRouteView resource. Format: projects/{project_number}/locations/{location}/meshes/{mesh_name}/routeViews/{route_view_name} (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # MeshRouteView defines view-only resource for Routes to a Mesh
  "name": "A String", # Output only. Identifier. Full path name of the MeshRouteView resource. Format: projects/{project_number}/locations/{location}/meshes/{mesh_name}/routeViews/{route_view_name}
  "routeId": "A String", # Output only. The resource id for the route.
  "routeLocation": "A String", # Output only. Location where the route exists.
  "routeProjectNumber": "A String", # Output only. Project number where the route exists.
  "routeType": "A String", # Output only. Type of the route: HttpRoute,GrpcRoute,TcpRoute, or TlsRoute
}
list(parent, pageSize=None, pageToken=None, x__xgafv=None)
Lists RouteViews

Args:
  parent: string, Required. The Mesh to which a Route is associated. Format: projects/{project_number}/locations/{location}/meshes/{mesh_name} (required)
  pageSize: integer, Maximum number of MeshRouteViews to return per call.
  pageToken: string, The value returned by the last `ListMeshRouteViewsResponse` Indicates that this is a continuation of a prior `ListMeshRouteViews` call, and that the system should return the next page of data.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Response returned by the ListMeshRouteViews method.
  "meshRouteViews": [ # List of MeshRouteView resources.
    { # MeshRouteView defines view-only resource for Routes to a Mesh
      "name": "A String", # Output only. Identifier. Full path name of the MeshRouteView resource. Format: projects/{project_number}/locations/{location}/meshes/{mesh_name}/routeViews/{route_view_name}
      "routeId": "A String", # Output only. The resource id for the route.
      "routeLocation": "A String", # Output only. Location where the route exists.
      "routeProjectNumber": "A String", # Output only. Project number where the route exists.
      "routeType": "A String", # Output only. Type of the route: HttpRoute,GrpcRoute,TcpRoute, or TlsRoute
    },
  ],
  "nextPageToken": "A String", # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
}
list_next()
Retrieves the next page of results.

        Args:
          previous_request: The request for the previous page. (required)
          previous_response: The response from the request for the previous page. (required)

        Returns:
          A request object that you can call 'execute()' on to request the next
          page. Returns None if there are no more items in the collection.