Method: subscriptions.reactivate
Kích hoạt lại gói thuê bao Google Workspace bị tạm ngưng.Phương thức này sẽ đặt lại trường State
của gói thuê bao thành ACTIVE
. Trước khi sử dụng phương thức này, bạn phải khắc phục lỗi khiến gói thuê bao bị tạm ngưng. Để tìm hiểu cách sử dụng phương thức này, hãy xem bài viết Kích hoạt lại gói thuê bao Google Workspace.
Yêu cầu HTTP
POST https://workspaceevents.googleapis.com/v1beta/{name=subscriptions/*}:reactivate
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số đường dẫn
Các tham số |
name |
string
Bắt buộc. Tên tài nguyên của gói thuê bao. Định dạng subscriptions/{subscription}
|
Nội dung yêu cầu
Nội dung yêu cầu phải trống.
Nội dung phản hồi
Nếu thành công, nội dung phản hồi sẽ chứa một phiên bản của Operation
.
- Trường
metadata
chứa một mảng trống. - Trường
response
chứa một thực thể đã cập nhật của Subscription
.
Phạm vi uỷ quyền
Yêu cầu một trong các phạm vi OAuth sau:
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
Để biết thêm thông tin, hãy xem Hướng dẫn uỷ quyền.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2024-05-03 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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"]]