Class: Google::Apps::Chat::V1::SpaceNotificationSetting
- Inherits:
-
Object
- Object
- Google::Apps::Chat::V1::SpaceNotificationSetting
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/chat/v1/space_notification_setting.rb
Overview
The notification setting of a user in a space.
Defined Under Namespace
Modules: MuteSetting, NotificationSetting
Instance Attribute Summary collapse
-
#mute_setting ⇒ ::Google::Apps::Chat::V1::SpaceNotificationSetting::MuteSetting
The space notification mute setting.
-
#name ⇒ ::String
Identifier.
-
#notification_setting ⇒ ::Google::Apps::Chat::V1::SpaceNotificationSetting::NotificationSetting
The notification setting.
Instance Attribute Details
#mute_setting ⇒ ::Google::Apps::Chat::V1::SpaceNotificationSetting::MuteSetting
Returns The space notification mute setting.
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 |
# File 'proto_docs/google/chat/v1/space_notification_setting.rb', line 35 class SpaceNotificationSetting include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The notification setting types. Other types might be supported in the # future. module NotificationSetting # Reserved. NOTIFICATION_SETTING_UNSPECIFIED = 0 # Notifications are triggered by @mentions, followed threads, first # message of new threads. All new threads are automatically followed, # unless manually unfollowed by the user. ALL = 1 # The notification is triggered by @mentions, followed threads, first # message of new threads. Not available for 1:1 direct messages. MAIN_CONVERSATIONS = 2 # The notification is triggered by @mentions, followed threads. Not # available for 1:1 direct messages. FOR_YOU = 3 # Notification is off. OFF = 4 end # The space notification mute setting types. module MuteSetting # Reserved. MUTE_SETTING_UNSPECIFIED = 0 # The user will receive notifications for the space based on the # notification setting. UNMUTED = 1 # The user will not receive any notifications for the space, regardless of # the notification setting. MUTED = 2 end end |
#name ⇒ ::String
Returns Identifier. The resource name of the space notification setting.
Format: users/{user}/spaces/{space}/spaceNotificationSetting.
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 |
# File 'proto_docs/google/chat/v1/space_notification_setting.rb', line 35 class SpaceNotificationSetting include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The notification setting types. Other types might be supported in the # future. module NotificationSetting # Reserved. NOTIFICATION_SETTING_UNSPECIFIED = 0 # Notifications are triggered by @mentions, followed threads, first # message of new threads. All new threads are automatically followed, # unless manually unfollowed by the user. ALL = 1 # The notification is triggered by @mentions, followed threads, first # message of new threads. Not available for 1:1 direct messages. MAIN_CONVERSATIONS = 2 # The notification is triggered by @mentions, followed threads. Not # available for 1:1 direct messages. FOR_YOU = 3 # Notification is off. OFF = 4 end # The space notification mute setting types. module MuteSetting # Reserved. MUTE_SETTING_UNSPECIFIED = 0 # The user will receive notifications for the space based on the # notification setting. UNMUTED = 1 # The user will not receive any notifications for the space, regardless of # the notification setting. MUTED = 2 end end |
#notification_setting ⇒ ::Google::Apps::Chat::V1::SpaceNotificationSetting::NotificationSetting
Returns The notification setting.
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 |
# File 'proto_docs/google/chat/v1/space_notification_setting.rb', line 35 class SpaceNotificationSetting include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The notification setting types. Other types might be supported in the # future. module NotificationSetting # Reserved. NOTIFICATION_SETTING_UNSPECIFIED = 0 # Notifications are triggered by @mentions, followed threads, first # message of new threads. All new threads are automatically followed, # unless manually unfollowed by the user. ALL = 1 # The notification is triggered by @mentions, followed threads, first # message of new threads. Not available for 1:1 direct messages. MAIN_CONVERSATIONS = 2 # The notification is triggered by @mentions, followed threads. Not # available for 1:1 direct messages. FOR_YOU = 3 # Notification is off. OFF = 4 end # The space notification mute setting types. module MuteSetting # Reserved. MUTE_SETTING_UNSPECIFIED = 0 # The user will receive notifications for the space based on the # notification setting. UNMUTED = 1 # The user will not receive any notifications for the space, regardless of # the notification setting. MUTED = 2 end end |