Method: operations.get
Pobiera najnowszy stan długo trwającej operacji. Klienci mogą używać tej metody do sprawdzania wyników operacji w określonych odstępach czasu zalecanych przez usługę interfejsu API.
Żądanie HTTP
GET https://vault.googleapis.com/v1/{name=operations/**}
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
name |
string
Nazwa zasobu operacji.
|
Treść żądania
Treść żądania musi być pusta.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi obejmuje wystąpienie elementu Operation
.
Zakresy autoryzacji
Wymaga jednego z tych zakresów OAuth:
https://www.googleapis.com/auth/ediscovery.readonly
https://www.googleapis.com/auth/ediscovery
Więcej informacji znajdziesz w OAuth 2.0 Overview.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-02-06 UTC.
[null,null,["Ostatnia aktualizacja: 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"]]