Network Services API . projects . locations . gateways . routeViews

Instance Methods

close()

Close httplib2 connections.

get(name, x__xgafv=None)

Get a single RouteView of a Gateway.

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 Gateway.

Args:
  name: string, Required. Name of the GatewayRouteView resource. Formats: projects/{project_number}/locations/{location}/gateways/{gateway_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:

    { # GatewayRouteView defines view-only resource for Routes to a Gateway
  "name": "A String", # Output only. Identifier. Full path name of the GatewayRouteView resource. Format: projects/{project_number}/locations/{location}/gateways/{gateway_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 Gateway to which a Route is associated. Formats: projects/{project_number}/locations/{location}/gateways/{gateway_name} (required)
  pageSize: integer, Maximum number of GatewayRouteViews to return per call.
  pageToken: string, The value returned by the last `ListGatewayRouteViewsResponse` Indicates that this is a continuation of a prior `ListGatewayRouteViews` 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 ListGatewayRouteViews method.
  "gatewayRouteViews": [ # List of GatewayRouteView resources.
    { # GatewayRouteView defines view-only resource for Routes to a Gateway
      "name": "A String", # Output only. Identifier. Full path name of the GatewayRouteView resource. Format: projects/{project_number}/locations/{location}/gateways/{gateway_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.