Method: 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://vault.googleapis.com/v1/{name=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 einen der folgenden OAuth-Bereiche:
https://www.googleapis.com/auth/ediscovery.readonly
https://www.googleapis.com/auth/ediscovery
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-02-06 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-02-06 (UTC)."],[[["Retrieves the current status of a long-running operation, allowing clients to periodically check for updates."],["The operation's state can be accessed via a GET request to a specific URL, requiring the operation's name as a path parameter."],["The request body should be empty, and a successful response will contain an Operation object describing the operation's status."],["Authorization necessitates using specific OAuth scopes associated with eDiscovery permissions."]]],["This describes retrieving the latest status of a long-running operation via a `GET` request. The URL is constructed using gRPC Transcoding syntax and requires a `name` path parameter specifying the operation resource. The request body is empty. A successful response returns an `Operation` instance. Authorization requires either `https://www.googleapis.com/auth/ediscovery.readonly` or `https://www.googleapis.com/auth/ediscovery` OAuth scopes. Users are encouraged to poll this endpoint.\n"]]