Method: subscriptions.reactivate
Kích hoạt lại gói thuê bao bị tạm ngưng của Google Workspace.
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 của Google Workspace.
Yêu cầu HTTP
POST https://workspaceevents.googleapis.com/v1/{name=subscriptions/*}:reactivate
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số đường dẫn
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 đây:
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 bài viết 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."],[[["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"]]