Method: spaces.completeImport
Yêu cầu HTTP
POST https://chat.googleapis.com/v1/{name=spaces/*}:completeImport
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 không gian chế độ nhập. Định dạng spaces/{space}
|
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
Thông báo phản hồi để yêu cầu hoàn tất quy trình nhập một không gian.
Nếu thành công, phần nội dung phản hồi sẽ chứa dữ liệu có cấu trúc sau:
Biểu diễn dưới dạng JSON |
{
"space": {
object (Space )
}
} |
Trường |
space |
object (Space )
Không gian cho chế độ nhập.
|
Phạm vi uỷ quyền
Yêu cầu phạm vi OAuth sau:
https://www.googleapis.com/auth/chat.import
Để 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-08-22 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2024-08-22 UTC."],[[["Completes the import process for a specified space and makes it visible to users, requiring app authentication and domain-wide delegation."],["Uses a POST HTTP request with the URL `https://chat.googleapis.com/v1/{name=spaces/*}:completeImport` and an empty request body."],["Requires the `https://www.googleapis.com/auth/chat.import` OAuth scope for authorization."],["If successful, the response body provides a JSON representation containing the imported space's details."]]],["This outlines how to finalize a space import using a `POST` request to `https://chat.googleapis.com/v1/{name=spaces/*}:completeImport`. The `name` parameter, representing the space's resource name, is required. The request body must be empty. A successful operation returns a response body containing the import mode `space` object. This process requires application authentication with domain-wide delegation and the `https://www.googleapis.com/auth/chat.import` OAuth scope. It's necessary to use the path parameters, complete a request body and handle the response body.\n"]]