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