Method: operations.get

  • This page documents how to get the latest state of a long-running operation using the API.

  • The HTTP request is a GET method to a specified URL, following gRPC Transcoding syntax, and requiring the resource's name.

  • The request body for this operation must be empty, so no information is required to send.

  • A successful response contains an Operation instance detailing the current state of the operation.

  • The required OAuth scope for this operation is https://www.googleapis.com/auth/androidworkprovisioning.

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://androiddeviceprovisioning.googleapis.com/v1/{name=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/androidworkprovisioning

For more information, see the OAuth 2.0 Overview.