Page Summary
-
This endpoint retrieves the latest status of a long-running operation using a GET request.
-
The URL for the request uses gRPC Transcoding syntax, and requires a
namepath parameter specifying the operation resource. -
The request body must be empty when using this endpoint.
-
A successful request returns an Operation instance in the response body.
-
The endpoint requires
https://www.googleapis.com/auth/cloud-platformOAuth scope androuteoptimization.operations.getIAM permission.
Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
HTTP request
GET https://routeoptimization.googleapis.com/v1/{name=projects/*/locations/*/operations/*}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
name |
The name of the operation resource. |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of Operation.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
IAM Permissions
Requires the following IAM permission on the name resource:
routeoptimization.operations.get
For more information, see the IAM documentation.