Required. The project that the SelectedRoute will be created under. Format: projects/{project}
Query parameters
Parameters
selectedRouteId
string
Optional. The ID to use for the SelectedRoute, which will become the final component of the SelectedRoute's resource name.
This value should be 4-63 characters, and valid characters are: "a-z", "A-Z", "0-9" or "-". If it is not provided or empty, a UUID will be generated after resource creation.
Request body
The request body contains an instance of SelectedRoute.
Response body
If successful, the response body contains a newly created instance of SelectedRoute.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-19 UTC."],[],[],null,["# Method: selection.v1.projects.selectedRoutes.create\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n\nCreates a SelectedRoute and starts a schedule to periodically retrieve cache information for the route.\n\n### HTTP request\n\n`POST https://roads.googleapis.com/selection/v1/{parent=projects/*}/selectedRoutes`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|-----------------------------------------------------------------------------------------------------------|\n| `parent` | `string` Required. The project that the `SelectedRoute` will be created under. Format: projects/{project} |\n\n### Query parameters\n\n| Parameters ||\n|-------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `selectedRouteId` | `string` Optional. The ID to use for the `SelectedRoute`, which will become the final component of the `SelectedRoute`'s resource name. This value should be 4-63 characters, and valid characters are: \"a-z\", \"A-Z\", \"0-9\" or \"-\". If it is not provided or empty, a UUID will be generated after resource creation. |\n\n### Request body\n\nThe request body contains an instance of [SelectedRoute](/maps/documentation/roads-management-insights/reference/rest/v1/selection.v1.projects.selectedRoutes#SelectedRoute).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [SelectedRoute](/maps/documentation/roads-management-insights/reference/rest/v1/selection.v1.projects.selectedRoutes#SelectedRoute).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`"]]