Method: subscriptions.reactivate
إعادة تفعيل اشتراك معلّق في Google Workspace
تؤدي هذه الطريقة إلى إعادة ضبط حقل State
في اشتراكك على ACTIVE
. قبل استخدام هذه الطريقة، عليك إصلاح الخطأ الذي أدى إلى تعليق الاشتراك. للتعرّف على كيفية استخدام هذه الطريقة، يُرجى الاطّلاع على مقالة إعادة تفعيل اشتراك Google Workspace.
طلب HTTP
POST https://workspaceevents.googleapis.com/v1/{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 (حسب التوقيت العالمي المتفَّق عليه)"],[[["Reactivates a suspended Google Workspace subscription, resetting its state to `ACTIVE` after the suspension error is resolved."],["Requires a `POST` request to `https://workspaceevents.googleapis.com/v1/{name=subscriptions/*}:reactivate`, with the subscription name provided as a path parameter."],["The request body should be empty, and a successful response includes an `Operation` object with the updated `Subscription` details."],["Authorization requires one of the specified OAuth scopes, such as `https://www.googleapis.com/auth/chat.spaces` or similar, for access and interaction with Google Workspace resources."]]],["This outlines the process to reactivate a suspended Google Workspace subscription via a `POST` request to the specified URL using gRPC Transcoding. The `name` path parameter, representing the subscription's resource name, is required. The request body must be empty. A successful response returns an `Operation` instance, with an empty `metadata` field, and an updated `Subscription` in the `response` field. This process requires specific OAuth scopes for authorization.\n"]]