Method: operations.get
يحصل على أحدث حالة من عملية طويلة المدى. ويمكن للعملاء استخدام هذه الطريقة لاستطلاع نتائج العملية على فترات زمنية كما تنصح خدمة واجهة برمجة التطبيقات.
طلب HTTP
GET https://workspaceevents.googleapis.com/v1/{name=operations/**}
يستخدم عنوان URL بنية تحويل الترميز gRPC.
معلمات المسار
المَعلمات |
name |
string
اسم مورد العملية
|
نص الطلب
يجب أن يكون نص الطلب فارغًا.
نص الاستجابة
إذا كانت الاستجابة ناجحة، يحتوي نص الاستجابة على مثال Operation
.
نطاقات التفويض
يتطلب استخدام أحد نطاقات OAuth التالية:
https://www.googleapis.com/auth/chat.bot
https://www.googleapis.com/auth/chat.spaces
https://www.googleapis.com/auth/chat.spaces.readonly
https://www.googleapis.com/auth/chat.messages
https://www.googleapis.com/auth/chat.messages.readonly
https://www.googleapis.com/auth/chat.messages.reactions
https://www.googleapis.com/auth/chat.messages.reactions.readonly
https://www.googleapis.com/auth/chat.memberships
https://www.googleapis.com/auth/chat.memberships.readonly
https://www.googleapis.com/auth/meet.space.created
https://www.googleapis.com/auth/meetings.space.created
https://www.googleapis.com/auth/meetings.space.readonly
لمزيد من المعلومات، يُرجى الاطّلاع على دليل التفويض.
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2024-05-03 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2024-05-03 (حسب التوقيت العالمي المتفَّق عليه)"],[[["This method retrieves the latest state of a long-running operation, allowing clients to poll for results."],["It uses an HTTP GET request with the operation name specified in the path parameter."],["The request body should be empty, and a successful response will contain an Operation object."],["Authorization requires one of the listed OAuth scopes related to Google Chat or Google Meet."]]],["This operation retrieves the state of a long-running process using a `GET` request to a specific URL pattern: `https://workspaceevents.googleapis.com/v1/{name=operations/**}`. The `name` parameter specifies the operation resource. The request body must be empty. A successful response returns an `Operation` instance. Access requires one of several specified OAuth scopes, including scopes related to Chat, Meetings, and their associated resources.\n"]]