Method: operations.get
लंबे समय तक चलने वाले ऑपरेशन की नई स्थिति दिखाता है. क्लाइंट इस तरीके का इस्तेमाल करके, एपीआई सेवा के सुझाव के मुताबिक, ऑपरेशन के नतीजे को समय-समय पर पोल कर सकते हैं.
एचटीटीपी अनुरोध
GET https://vault.googleapis.com/v1/{name=operations/**}
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल किया गया है.
पाथ पैरामीटर
पैरामीटर |
name |
string
ऑपरेशन रिसॉर्स का नाम.
|
अनुरोध का मुख्य भाग
अनुरोध का मुख्य हिस्सा खाली होना चाहिए.
जवाब का मुख्य हिस्सा
कामयाब रहने पर, जवाब के मुख्य हिस्से में Operation
का एक इंस्टेंस शामिल किया जाता है.
अनुमति के दायरे
इसके लिए, OAuth के इनमें से किसी एक स्कोप की ज़रूरत होती है:
https://www.googleapis.com/auth/ediscovery.readonly
https://www.googleapis.com/auth/ediscovery
ज़्यादा जानकारी के लिए, OAuth 2.0 Overview देखें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-02-06 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 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"]]