Method: enterprises.devices.operations.get
Ruft den letzten Status eines lange laufenden Vorgangs ab. Clients können diese Methode nutzen, um die Ergebnisse eines Vorgangs nach gewissen Zeitabständen zu testen, wie vom API-Dienst empfohlen.
HTTP-Anfrage
GET https://androidmanagement.googleapis.com/v1/{name=enterprises/*/devices/*/operations/*}
Die URL verwendet die Syntax der gRPC-Transcodierung.
Pfadparameter
Parameter |
name |
string
Der Name der Vorgangsressource.
|
Anfragetext
Der Anfragetext muss leer sein.
Antworttext
Wenn der Vorgang erfolgreich abgeschlossen wurde, enthält der Antworttext eine Instanz von Operation
.
Autorisierungsbereiche
Erfordert den folgenden OAuth-Bereich:
https://www.googleapis.com/auth/androidmanagement
Weitere Informationen finden Sie unter OAuth 2.0 Overview.
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-01-30 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-01-30 (UTC)."],[[["Retrieves the current status of a long-running operation for an Android device."],["Uses a GET request with the operation resource name specified in the URL path."],["Requires an empty request body and returns an `Operation` object in the response."],["Needs authorization with the `https://www.googleapis.com/auth/androidmanagement` scope."]]],["The core content describes how to retrieve the latest state of a long-running operation via a `GET` HTTP request to a specific URL. The URL uses gRPC Transcoding syntax and requires a `name` path parameter, representing the operation resource. The request body must be empty. A successful request returns an `Operation` instance in the response body. Authorization requires the `https://www.googleapis.com/auth/androidmanagement` OAuth scope.\n"]]