Method: accounts.repos.operations.get

  • This method retrieves the latest state of a long-running operation, allowing clients to poll for results.

  • The HTTP request uses a GET method with a specific URL format that includes the operation resource name.

  • The only required parameter is name, a string representing the operation resource name, provided as a path parameter.

  • The request body must be empty, while the response body contains an Operation instance if successful.

  • Authorization requires the https://www.googleapis.com/auth/checks OAuth scope.

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://checks.googleapis.com/v1alpha/{name=accounts/*/repos/*/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/checks

For more information, see the OAuth 2.0 Overview.