REST Resource: users.spaces.spaceNotificationSetting  |  Google Chat  |  Google for Developers (original) (raw)

The notification setting of a user in a space.

JSON representation
{ "name": string, "notificationSetting": enum (NotificationSetting), "muteSetting": enum (MuteSetting) }
Fields
name string Identifier. The resource name of the space notification setting. Format: users/{user}/spaces/{space}/spaceNotificationSetting.
notificationSetting enum (NotificationSetting) The notification setting.
muteSetting enum (MuteSetting) The space notification mute setting.

NotificationSetting

The notification setting types. Other types might be supported in the future.

Enums
NOTIFICATION_SETTING_UNSPECIFIED Reserved.
ALL Notifications are triggered by @mentions, followed threads, first message of new threads. All new threads are automatically followed, unless manually unfollowed by the user.
MAIN_CONVERSATIONS The notification is triggered by @mentions, followed threads, first message of new threads. Not available for 1:1 direct messages.
FOR_YOU The notification is triggered by @mentions, followed threads. Not available for 1:1 direct messages.
OFF Notification is off.

MuteSetting

The space notification mute setting types.

Enums
MUTE_SETTING_UNSPECIFIED Reserved.
UNMUTED The user will receive notifications for the space based on the notification setting.
MUTED The user will not receive any notifications for the space, regardless of the notification setting.
Methods
get Gets the space notification setting.
patch Updates the space notification setting.