Method: operations.getOperation

  • Retrieve the current status of a long-running operation using this method.

  • Clients can periodically check the operation's result using this API, at intervals suggested by the service.

  • The request body should remain empty for this operation.

  • A successful response will include an Operation object detailing the operation's status.

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.