Method: spaces.completeImport
Permintaan HTTP
POST https://chat.googleapis.com/v1/{name=spaces/*}:completeImport
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
name |
string
Wajib diisi. Nama resource ruang mode impor. Format: spaces/{space}
|
Isi permintaan
Isi permintaan harus kosong.
Isi respons
Pesan respons untuk menyelesaikan proses impor ruang.
Jika berhasil, isi respons memuat data dengan struktur berikut:
Representasi JSON |
{
"space": {
object (Space )
}
} |
Kolom |
space |
object (Space )
Ruang mode impor.
|
Cakupan otorisasi
Memerlukan cakupan OAuth berikut:
https://www.googleapis.com/auth/chat.import
Untuk informasi selengkapnya, lihat Panduan otorisasi.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2024-08-22 UTC.
[null,null,["Terakhir diperbarui pada 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"]]