Method: spaces.completeImport

Completes the import process for the specified space and makes it visible to users.

Requires app authentication and domain-wide delegation. For more information, see Authorize Google Chat apps to import data.

HTTP request

POST https://chat.googleapis.com/v1/{name=spaces/*}:completeImport

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Resource name of the import mode space.

Format: spaces/{space}

Request body

The request body must be empty.

Response body

Response message for completing the import process for a space.

If successful, the response body contains data with the following structure:

JSON representation
{
  "space": {
    object (Space)
  }
}
Fields
space

object (Space)

The import mode space.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/chat.import

For more information, see the Authorization guide.