Method: operations.getOperation
Stay organized with collections
Save and categorize content based on your preferences.
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://optimization.googleapis.com/v1/{name=projects/*/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
.
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-11-15 UTC.
[null,null,["Last updated 2024-11-15 UTC."],[],["The core content describes how to retrieve the latest state of a long-running operation using a GET request. The specific endpoint is `https://optimization.googleapis.com/v1/{name=projects/*/operations/*}`, employing gRPC Transcoding syntax. The `name` path parameter, a string, designates the operation resource. The request requires an empty body, and a successful response contains an instance of an `Operation`, detailed in the associated documentation. Users can actively test these parameters with the \"Try it!\" option.\n"]]