Close httplib2 connections.
Gets the space notification setting. For an example, see [Get the caller's space notification setting](https://developers.google.com/workspace/chat/get-space-notification-setting). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
patch(name, body=None, updateMask=None, x__xgafv=None)
Updates the space notification setting. For an example, see [Update the caller's space notification setting](https://developers.google.com/workspace/chat/update-space-notification-setting). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
close()
Close httplib2 connections.
get(name, x__xgafv=None)
Gets the space notification setting. For an example, see [Get the caller's space notification setting](https://developers.google.com/workspace/chat/get-space-notification-setting). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
Args:
name: string, Required. Format: users/{user}/spaces/{space}/spaceNotificationSetting - `users/me/spaces/{space}/spaceNotificationSetting`, OR - `users/user@example.com/spaces/{space}/spaceNotificationSetting`, OR - `users/123456789/spaces/{space}/spaceNotificationSetting`. Note: Only the caller's user id or email is allowed in the path. (required)
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # The notification setting of a user in a space.
"muteSetting": "A String", # The space notification mute setting.
"name": "A String", # Identifier. The resource name of the space notification setting. Format: `users/{user}/spaces/{space}/spaceNotificationSetting`.
"notificationSetting": "A String", # The notification setting.
}
patch(name, body=None, updateMask=None, x__xgafv=None)
Updates the space notification setting. For an example, see [Update the caller's space notification setting](https://developers.google.com/workspace/chat/update-space-notification-setting). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
Args:
name: string, Identifier. The resource name of the space notification setting. Format: `users/{user}/spaces/{space}/spaceNotificationSetting`. (required)
body: object, The request body.
The object takes the form of:
{ # The notification setting of a user in a space.
"muteSetting": "A String", # The space notification mute setting.
"name": "A String", # Identifier. The resource name of the space notification setting. Format: `users/{user}/spaces/{space}/spaceNotificationSetting`.
"notificationSetting": "A String", # The notification setting.
}
updateMask: string, Required. Supported field paths: - `notification_setting` - `mute_setting`
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # The notification setting of a user in a space.
"muteSetting": "A String", # The space notification mute setting.
"name": "A String", # Identifier. The resource name of the space notification setting. Format: `users/{user}/spaces/{space}/spaceNotificationSetting`.
"notificationSetting": "A String", # The notification setting.
}