Class: Google::Apis::CalendarV3::EventOutOfOfficeProperties
- Inherits:
-
Object
- Object
- Google::Apis::CalendarV3::EventOutOfOfficeProperties
- 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 Out of office events.
-
#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) ⇒ EventOutOfOfficeProperties
constructor
A new instance of EventOutOfOfficeProperties.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EventOutOfOfficeProperties
Returns a new instance of EventOutOfOfficeProperties.
1879 1880 1881 |
# File 'lib/google/apis/calendar_v3/classes.rb', line 1879 def initialize(**args) update!(**args) end |
Instance Attribute Details
#auto_decline_mode ⇒ String
Whether to decline meeting invitations which overlap Out of office 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 Out of office event is present are
to be declined.
Corresponds to the JSON property autoDeclineMode
1871 1872 1873 |
# File 'lib/google/apis/calendar_v3/classes.rb', line 1871 def auto_decline_mode @auto_decline_mode 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
1877 1878 1879 |
# File 'lib/google/apis/calendar_v3/classes.rb', line 1877 def @decline_message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1884 1885 1886 1887 |
# File 'lib/google/apis/calendar_v3/classes.rb', line 1884 def update!(**args) @auto_decline_mode = args[:auto_decline_mode] if args.key?(:auto_decline_mode) @decline_message = args[:decline_message] if args.key?(:decline_message) end |