Method: projects.locations.operations.get
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 |
string
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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-09 UTC.
[null,null,["Last updated 2024-09-09 UTC."],[[["This method allows clients to retrieve the latest status of a long-running operation by polling at intervals."],["It uses an HTTP GET request to a specific URL containing the operation resource name."],["An empty request body is required, and the response provides an Operation object detailing the operation's status."],["Authorization requires the `https://www.googleapis.com/auth/cloud-platform` OAuth scope and the `routeoptimization.operations.get` IAM permission on the operation resource."]]],[]]