Method: operations.get
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.
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-08-07 UTC.
[null,null,["Last updated 2024-08-07 UTC."],[[["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`."]]],["This describes retrieving the latest status of a long-running operation. A `GET` request is sent to a specified URL using gRPC Transcoding syntax. The `name` of the operation is provided as a path parameter in the URL. The request body is empty. A successful response returns an `Operation` instance. Authorization requires the `https://www.googleapis.com/auth/androidworkprovisioning` OAuth scope. Clients are advised to poll for results using this API method at intervals.\n"]]