REST Resource: users.spaces.spaceNotificationSetting

Resource: SpaceNotificationSetting

The notification settings 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.

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 state settings.

patch

Updates the space notification state settings.