- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
Lists all SelectedRoute resources 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 |
Required. The |
Query parameters
| Parameters | |
|---|---|
pageSize |
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 is set to the default. The maximum value is 5,000; any value above 5,000 is set to 5,000. |
pageToken |
Optional. A page token, received from a previous |
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 ( |
| Fields | |
|---|---|
selectedRoutes[] |
A page of |
nextPageToken |
Token that can be sent as |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
IAM Permissions
Requires the following IAM permission on the parent resource:
roads.selectedRoutes.list
For more information, see the IAM documentation.