Method: subscriptions.reactivate
إعادة تفعيل اشتراك معلّق في Google Workspaceتؤدي هذه الطريقة إلى إعادة ضبط حقل State
في اشتراكك على ACTIVE
. قبل استخدام هذه الطريقة، عليك إصلاح الخطأ الذي أدى إلى تعليق الاشتراك. للتعرُّف على كيفية استخدام هذه الطريقة، يُرجى الاطّلاع على مقالة إعادة تفعيل اشتراك في Google Workspace.
طلب HTTP
POST https://workspaceevents.googleapis.com/v1beta/{name=subscriptions/*}:reactivate
يستخدِم عنوان URL بنية تحويل ترميز gRPC.
مَعلمات المسار
المَعلمات |
name |
string
مطلوبة. اسم مورد الاشتراك تنسيق الملف: subscriptions/{subscription}
|
نص الطلب
يجب أن يكون نص الطلب فارغًا.
نص الاستجابة
إذا كانت الاستجابة ناجحة، يحتوي نص الاستجابة على مثال Operation
.
- يحتوي الحقل
metadata
على صفيف فارغ. - يحتوي الحقل
response
على نسخة معدَّلة من Subscription
.
نطاقات التفويض
يتطلب استخدام أحد نطاقات OAuth التالية:
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/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 reactivates a suspended Google Workspace subscription by resetting its state to `ACTIVE` after addressing the suspension cause."],["It requires an HTTP `POST` request to a specific URL with the subscription name as a path parameter and an empty request body."],["A successful response includes an `Operation` object containing the updated `Subscription` details in the `response` field."],["Authorization is necessary, utilizing one of the specified OAuth scopes related to Google Chat or Google Meet functionalities, as detailed in the Authorization guide."]]],["This API method reactivates a suspended Google Workspace subscription, setting its `State` to `ACTIVE`. It utilizes a `POST` request to a specific URL, defined by gRPC Transcoding syntax, with a required `name` path parameter indicating the subscription's resource name. The request body must be empty. A successful response returns an `Operation` instance containing an updated `Subscription`, and it requires one of several OAuth scopes for authorization.\n"]]