Method: projects.locations.operations.get
लंबे समय तक चलने वाली कार्रवाई की ताज़ा स्थिति की जानकारी देता है. क्लाइंट, एपीआई सेवा के सुझाव के मुताबिक, कार्रवाई के नतीजे को अलग-अलग इंटरवल पर पोल कराने के लिए इस तरीके का इस्तेमाल कर सकते हैं.
एचटीटीपी अनुरोध
GET https://routeoptimization.googleapis.com/v1/{name=projects/*/locations/*/operations/*}
यह यूआरएल gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल करता है.
पाथ के पैरामीटर
पैरामीटर |
name |
string
ऑपरेशन संसाधन का नाम.
|
अनुरोध का मुख्य भाग
अनुरोध का मुख्य हिस्सा खाली होना चाहिए.
जवाब का मुख्य हिस्सा
कामयाब रहने पर, जवाब के मुख्य हिस्से में Operation
का एक इंस्टेंस शामिल किया जाता है.
अनुमति के दायरे
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/cloud-platform
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-04-08 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-04-08 (UTC) को अपडेट किया गया."],[[["This method allows clients to retrieve the latest status of a long-running operation by polling at intervals."],["It uses an HTTP GET request to a specific URL containing the operation resource name."],["An empty request body is required, and the response provides an Operation object detailing the operation's status."],["Authorization requires the `https://www.googleapis.com/auth/cloud-platform` OAuth scope and the `routeoptimization.operations.get` IAM permission on the operation resource."]]],[]]