Method: spaces.completeImport
Żądanie HTTP
POST https://chat.googleapis.com/v1/{name=spaces/*}:completeImport
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
name |
string
Wymagane. Nazwa zasobu pokoju trybu importu. Format: spaces/{space}
|
Treść żądania
Treść żądania musi być pusta.
Treść odpowiedzi
Komunikat z odpowiedzią na zakończenie procesu importowania pokoju.
W przypadku powodzenia treść żądania zawiera dane o następującej strukturze:
Zapis JSON |
{
"space": {
object (Space )
}
} |
Pola |
space |
object (Space )
Obszar trybu importu.
|
Zakresy autoryzacji
Wymaga następującego zakresu OAuth:
https://www.googleapis.com/auth/chat.import
Więcej informacji znajdziesz w przewodniku na temat autoryzacji.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-08-22 UTC.
[null,null,["Ostatnia aktualizacja: 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"]]