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 (שעון UTC).
[null,null,["עדכון אחרון: 2024-05-03 (שעון UTC)."],[[["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"]]