chat.spaces.patch
Update a Google Chat space's display name, access settings, permissions, or threading state by applying a field mask. Use it to resolve ALREADY_EXISTS display name conflicts.
Instructions
Updates a space. For an example, see Update a space. If you're updating the displayName field and receive the error message ALREADY_EXISTS, try a different display name.. An existing space within the Google Workspace organization might already use this display name. Supports the following types of authentication: - App authentication with [administrator approval](https://support.g [HTTP PATCH] — updates the resource; refused under --readonly safety profiles. Returns the API's response resource as JSON — request body is a JSON Space object accepting accessSettings, adminInstalled, createTime, customer, displayName, externalUserAllowed, importMode, importModeExpireTime and 13 more fields; pass it via params or whole via body_file Siblings over the same resource: completeImport, create, delete, findDirectMessage, findGroupChats, get, list, search, setup.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | [URL path segment] Identifier. Resource name of the space. Format: `spaces/{space}` Where `{space}` represents the system-assigned ID for the space. You can obtain the space ID by | |
| query | No | Extra KEY=VALUE query pairs for endpoints whose parameters Discovery does not describe. | |
| params | No | Parameter map merged into the request; typed parameters win. | |
| dry_run | No | Return the request that would be sent, without sending it. | |
| body_file | No | Read the request body from this file ('-' for stdin) instead of building one from the parameters. The body is a JSON Space object. | |
| updateMask | No | [query parameter] Required. The updated field paths, comma separated if there are multiple. You can update the following fields for a space: `space_details`: Updates the space's | |
| request_body | No | Request body of type Space: pass it via `params` (merged into the built body) or whole via `body_file`. | |
| useAdminAccess | No | [query parameter] Optional. When `true`, the method runs using the user's Google Workspace administrator privileges. The calling user must be a Google Workspace administrator wit |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| type | No | ||
| customer | No | ||
| spaceUri | No | ||
| threaded | No | ||
| spaceType | No | ||
| createTime | No | ||
| importMode | No | ||
| displayName | No | ||
| spaceDetails | No | ||
| accessSettings | No | ||
| adminInstalled | No | ||
| lastActiveTime | No | ||
| membershipCount | No | ||
| singleUserBotDm | No | ||
| spaceHistoryState | No | ||
| permissionSettings | No | ||
| externalUserAllowed | No | ||
| spaceThreadingState | No | ||
| importModeExpireTime | No | ||
| predefinedPermissionSettings | No |