Class: Google::Apis::ChatV1::SpaceNotificationSetting
- Inherits:
-
Object
- Object
- Google::Apis::ChatV1::SpaceNotificationSetting
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/chat_v1/classes.rb,
lib/google/apis/chat_v1/representations.rb,
lib/google/apis/chat_v1/representations.rb
Overview
The notification setting of a user in a space.
Instance Attribute Summary collapse
-
#mute_setting ⇒ String
The space notification mute setting.
-
#name ⇒ String
Identifier.
-
#notification_setting ⇒ String
The notification setting.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SpaceNotificationSetting
constructor
A new instance of SpaceNotificationSetting.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SpaceNotificationSetting
Returns a new instance of SpaceNotificationSetting.
6775 6776 6777 |
# File 'lib/google/apis/chat_v1/classes.rb', line 6775 def initialize(**args) update!(**args) end |
Instance Attribute Details
#mute_setting ⇒ String
The space notification mute setting.
Corresponds to the JSON property muteSetting
6762 6763 6764 |
# File 'lib/google/apis/chat_v1/classes.rb', line 6762 def mute_setting @mute_setting end |
#name ⇒ String
Identifier. The resource name of the space notification setting. Format:
users/user/spaces/space/spaceNotificationSetting.
Corresponds to the JSON property name
6768 6769 6770 |
# File 'lib/google/apis/chat_v1/classes.rb', line 6768 def name @name end |
#notification_setting ⇒ String
The notification setting.
Corresponds to the JSON property notificationSetting
6773 6774 6775 |
# File 'lib/google/apis/chat_v1/classes.rb', line 6773 def notification_setting @notification_setting end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6780 6781 6782 6783 6784 |
# File 'lib/google/apis/chat_v1/classes.rb', line 6780 def update!(**args) @mute_setting = args[:mute_setting] if args.key?(:mute_setting) @name = args[:name] if args.key?(:name) @notification_setting = args[:notification_setting] if args.key?(:notification_setting) end |