Class: Google::Apis::CalendarV3::EventFocusTimeProperties
- Inherits:
-
Object
- Object
- Google::Apis::CalendarV3::EventFocusTimeProperties
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/calendar_v3/classes.rb,
lib/google/apis/calendar_v3/representations.rb,
lib/google/apis/calendar_v3/representations.rb
Instance Attribute Summary collapse
-
#auto_decline_mode ⇒ String
Whether to decline meeting invitations which overlap Focus Time events.
-
#chat_status ⇒ String
The status to mark the user in Chat and related products.
-
#decline_message ⇒ String
Response message to set if an existing event or new invitation is automatically declined by Calendar.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EventFocusTimeProperties
constructor
A new instance of EventFocusTimeProperties.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EventFocusTimeProperties
Returns a new instance of EventFocusTimeProperties.
1841 1842 1843 |
# File 'lib/google/apis/calendar_v3/classes.rb', line 1841 def initialize(**args) update!(**args) end |
Instance Attribute Details
#auto_decline_mode ⇒ String
Whether to decline meeting invitations which overlap Focus Time events. Valid
values are declineNone, meaning that no meeting invitations are declined;
declineAllConflictingInvitations, meaning that all conflicting meeting
invitations that conflict with the event are declined; and
declineOnlyNewConflictingInvitations, meaning that only new conflicting
meeting invitations which arrive while the Focus Time event is present are to
be declined.
Corresponds to the JSON property autoDeclineMode
1827 1828 1829 |
# File 'lib/google/apis/calendar_v3/classes.rb', line 1827 def auto_decline_mode @auto_decline_mode end |
#chat_status ⇒ String
The status to mark the user in Chat and related products. This can be
available or doNotDisturb.
Corresponds to the JSON property chatStatus
1833 1834 1835 |
# File 'lib/google/apis/calendar_v3/classes.rb', line 1833 def chat_status @chat_status end |
#decline_message ⇒ String
Response message to set if an existing event or new invitation is
automatically declined by Calendar.
Corresponds to the JSON property declineMessage
1839 1840 1841 |
# File 'lib/google/apis/calendar_v3/classes.rb', line 1839 def @decline_message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1846 1847 1848 1849 1850 |
# File 'lib/google/apis/calendar_v3/classes.rb', line 1846 def update!(**args) @auto_decline_mode = args[:auto_decline_mode] if args.key?(:auto_decline_mode) @chat_status = args[:chat_status] if args.key?(:chat_status) @decline_message = args[:decline_message] if args.key?(:decline_message) end |