Method: selection.v1.projects.selectedRoutes.list

Lists all SelectedRoutes for the specified project with pagination.

HTTP request

GET https://roads.googleapis.com/selection/v1/{parent=projects/*}/selectedRoutes

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent, which is the project that all SelectedRoutes will be queried from. Format: projects/{project}/selectedRoutes

Query parameters

Parameters
pageSize

integer

Optional. The number of results that should be returned for a given page. If not set the default value is 100. When a value of 0 is given the value will be set to the default. The max value is 5000, any value above 5000 will be set to 5000.

pageToken

string

Optional. A page token, received from a previous selectedRoutes.list call.

Request body

The request body must be empty.

Response body

Response that lists SelectedRoutes.

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

JSON representation
{
  "selectedRoutes": [
    {
      object (SelectedRoute)
    }
  ],
  "nextPageToken": string
}
Fields
selectedRoutes[]

object (SelectedRoute)

A page of SelectedRoutes stored in the project specified in the request.

nextPageToken

string

Token that can be sent as pageToken to retrieve the next page. If this field is empty, there are no subsequent pages.

Authorization scopes

Requires the following OAuth scope:

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