Method: projects.locations.operations.get

  • 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.

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.