Method: projects.locations.gateways.routeViews.list

Lists RouteViews

HTTP request

GET https://networkservices.googleapis.com/v1alpha1/{parent=projects/*/locations/*/gateways/*}/routeViews

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The Gateway to which a Route is associated. Formats: projects/{project_number}/locations/{location}/gateways/{gateway_name}

Authorization requires the following IAM permission on the specified resource parent:

  • networkservices.route_views.list

Query parameters

Parameters
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 routeViews.list call, and that the system should return the next page of data.

Request body

The request body must be empty.

Response body

Response returned by the routeViews.list method.

If successful, the response body contains data with the following structure:

JSON representation
{
  "gatewayRouteViews": [
    {
      object (GatewayRouteView)
    }
  ],
  "nextPageToken": string
}
Fields
gatewayRouteViews[]

object (GatewayRouteView)

List of GatewayRouteView resources.

nextPageToken

string

A token, which can be sent as pageToken to retrieve the next page. If this field is omitted, there are no subsequent pages.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.