google-apis-calendar_v3 0.33.0 → 0.34.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bc314415ed813cac04a7a8998a9938d72c04257aac4114179e398e285c26eb9e
4
- data.tar.gz: 911d47d0c9903c7b1cf6b95c3ee1f57029ba2c676547ad263629172a8168c986
3
+ metadata.gz: ed5f142958d5c64983e89fe942a3b9808ef082cdfe7c45549f86d5ff43e0133c
4
+ data.tar.gz: 702f8e681739f269154dc258861f372707044e8ee20d07ca8c44132a07b42308
5
5
  SHA512:
6
- metadata.gz: 2352f06385c0c608e635f3e87cc742af45c73cdfb75796cfa9f83ee3e1eff945205122c8059be74aa5903144ce8ecf5ed0dbc5d7f2173dded4000fee841ed73d
7
- data.tar.gz: c21422b1305eb092e26c4a9f30c88030b65f13b3500f5e484264cf058ae171ccbeb337863223372d486c28dc1ef7331286c38d8888dc0a556dc35b904fba741e
6
+ metadata.gz: b81c944ea2486d2061a040658bc1f6d4bcb757eac05d0fd1e74a2f6432688af0cd8fb7ba7db7975cdf3a1e6ff0cdb2de9b10ed53e3520dc8e6466182d10ac18a
7
+ data.tar.gz: 022cf30ca69a2d8660594b75ebccb06c76da12bd330d7e121dd74a2ae7b6a26b4944dcd378f5bd568c9a2d84dda3c0fdfd07ffa091a348b4c83dbd18b082f3c0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-calendar_v3
2
2
 
3
+ ### v0.34.0 (2023-11-26)
4
+
5
+ * Regenerated from discovery document revision 20231116
6
+
3
7
  ### v0.33.0 (2023-09-03)
4
8
 
5
9
  * Regenerated from discovery document revision 20230825
@@ -1127,6 +1127,11 @@ module Google
1127
1127
  # @return [Google::Apis::CalendarV3::Event::ExtendedProperties]
1128
1128
  attr_accessor :extended_properties
1129
1129
 
1130
+ # Focus Time event data.
1131
+ # Corresponds to the JSON property `focusTimeProperties`
1132
+ # @return [Google::Apis::CalendarV3::EventFocusTimeProperties]
1133
+ attr_accessor :focus_time_properties
1134
+
1130
1135
  # A gadget that extends this event. Gadgets are deprecated; this structure is
1131
1136
  # instead only used for returning birthday calendar metadata.
1132
1137
  # Corresponds to the JSON property `gadget`
@@ -1229,6 +1234,11 @@ module Google
1229
1234
  # @return [Google::Apis::CalendarV3::EventDateTime]
1230
1235
  attr_accessor :original_start_time
1231
1236
 
1237
+ # Out of office event data.
1238
+ # Corresponds to the JSON property `outOfOfficeProperties`
1239
+ # @return [Google::Apis::CalendarV3::EventOutOfOfficeProperties]
1240
+ attr_accessor :out_of_office_properties
1241
+
1232
1242
  # If set to True, Event propagation is disabled. Note that it is not the same
1233
1243
  # thing as Private event properties. Optional. Immutable. The default is False.
1234
1244
  # Corresponds to the JSON property `privateCopy`
@@ -1362,6 +1372,7 @@ module Google
1362
1372
  @etag = args[:etag] if args.key?(:etag)
1363
1373
  @event_type = args[:event_type] if args.key?(:event_type)
1364
1374
  @extended_properties = args[:extended_properties] if args.key?(:extended_properties)
1375
+ @focus_time_properties = args[:focus_time_properties] if args.key?(:focus_time_properties)
1365
1376
  @gadget = args[:gadget] if args.key?(:gadget)
1366
1377
  @guests_can_invite_others = args[:guests_can_invite_others] if args.key?(:guests_can_invite_others)
1367
1378
  @guests_can_modify = args[:guests_can_modify] if args.key?(:guests_can_modify)
@@ -1375,6 +1386,7 @@ module Google
1375
1386
  @locked = args[:locked] if args.key?(:locked)
1376
1387
  @organizer = args[:organizer] if args.key?(:organizer)
1377
1388
  @original_start_time = args[:original_start_time] if args.key?(:original_start_time)
1389
+ @out_of_office_properties = args[:out_of_office_properties] if args.key?(:out_of_office_properties)
1378
1390
  @private_copy = args[:private_copy] if args.key?(:private_copy)
1379
1391
  @recurrence = args[:recurrence] if args.key?(:recurrence)
1380
1392
  @recurring_event_id = args[:recurring_event_id] if args.key?(:recurring_event_id)
@@ -1799,6 +1811,77 @@ module Google
1799
1811
  end
1800
1812
  end
1801
1813
 
1814
+ #
1815
+ class EventFocusTimeProperties
1816
+ include Google::Apis::Core::Hashable
1817
+
1818
+ # Whether to decline meeting invitations which overlap Focus Time events. Valid
1819
+ # values are declineNone, meaning that no meeting invitations are declined;
1820
+ # declineAllConflictingInvitations, meaning that all conflicting meeting
1821
+ # invitations that conflict with the event are declined; and
1822
+ # declineOnlyNewConflictingInvitations, meaning that only new conflicting
1823
+ # meeting invitations which arrive while the Focus Time event is present are to
1824
+ # be declined.
1825
+ # Corresponds to the JSON property `autoDeclineMode`
1826
+ # @return [String]
1827
+ attr_accessor :auto_decline_mode
1828
+
1829
+ # The status to mark the user in Chat and related products. This can be
1830
+ # available or doNotDisturb.
1831
+ # Corresponds to the JSON property `chatStatus`
1832
+ # @return [String]
1833
+ attr_accessor :chat_status
1834
+
1835
+ # Response message to set if an existing event or new invitation is
1836
+ # automatically declined by Calendar.
1837
+ # Corresponds to the JSON property `declineMessage`
1838
+ # @return [String]
1839
+ attr_accessor :decline_message
1840
+
1841
+ def initialize(**args)
1842
+ update!(**args)
1843
+ end
1844
+
1845
+ # Update properties of this object
1846
+ def update!(**args)
1847
+ @auto_decline_mode = args[:auto_decline_mode] if args.key?(:auto_decline_mode)
1848
+ @chat_status = args[:chat_status] if args.key?(:chat_status)
1849
+ @decline_message = args[:decline_message] if args.key?(:decline_message)
1850
+ end
1851
+ end
1852
+
1853
+ #
1854
+ class EventOutOfOfficeProperties
1855
+ include Google::Apis::Core::Hashable
1856
+
1857
+ # Whether to decline meeting invitations which overlap Out of office events.
1858
+ # Valid values are declineNone, meaning that no meeting invitations are declined;
1859
+ # declineAllConflictingInvitations, meaning that all conflicting meeting
1860
+ # invitations that conflict with the event are declined; and
1861
+ # declineOnlyNewConflictingInvitations, meaning that only new conflicting
1862
+ # meeting invitations which arrive while the Out of office event is present are
1863
+ # to be declined.
1864
+ # Corresponds to the JSON property `autoDeclineMode`
1865
+ # @return [String]
1866
+ attr_accessor :auto_decline_mode
1867
+
1868
+ # Response message to set if an existing event or new invitation is
1869
+ # automatically declined by Calendar.
1870
+ # Corresponds to the JSON property `declineMessage`
1871
+ # @return [String]
1872
+ attr_accessor :decline_message
1873
+
1874
+ def initialize(**args)
1875
+ update!(**args)
1876
+ end
1877
+
1878
+ # Update properties of this object
1879
+ def update!(**args)
1880
+ @auto_decline_mode = args[:auto_decline_mode] if args.key?(:auto_decline_mode)
1881
+ @decline_message = args[:decline_message] if args.key?(:decline_message)
1882
+ end
1883
+ end
1884
+
1802
1885
  #
1803
1886
  class EventReminder
1804
1887
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CalendarV3
18
18
  # Version of the google-apis-calendar_v3 gem
19
- GEM_VERSION = "0.33.0"
19
+ GEM_VERSION = "0.34.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230825"
25
+ REVISION = "20231116"
26
26
  end
27
27
  end
28
28
  end
@@ -208,6 +208,18 @@ module Google
208
208
  include Google::Apis::Core::JsonObjectSupport
209
209
  end
210
210
 
211
+ class EventFocusTimeProperties
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class EventOutOfOfficeProperties
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
211
223
  class EventReminder
212
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
225
 
@@ -548,6 +560,8 @@ module Google
548
560
  property :event_type, as: 'eventType'
549
561
  property :extended_properties, as: 'extendedProperties', class: Google::Apis::CalendarV3::Event::ExtendedProperties, decorator: Google::Apis::CalendarV3::Event::ExtendedProperties::Representation
550
562
 
563
+ property :focus_time_properties, as: 'focusTimeProperties', class: Google::Apis::CalendarV3::EventFocusTimeProperties, decorator: Google::Apis::CalendarV3::EventFocusTimeProperties::Representation
564
+
551
565
  property :gadget, as: 'gadget', class: Google::Apis::CalendarV3::Event::Gadget, decorator: Google::Apis::CalendarV3::Event::Gadget::Representation
552
566
 
553
567
  property :guests_can_invite_others, as: 'guestsCanInviteOthers'
@@ -564,6 +578,8 @@ module Google
564
578
 
565
579
  property :original_start_time, as: 'originalStartTime', class: Google::Apis::CalendarV3::EventDateTime, decorator: Google::Apis::CalendarV3::EventDateTime::Representation
566
580
 
581
+ property :out_of_office_properties, as: 'outOfOfficeProperties', class: Google::Apis::CalendarV3::EventOutOfOfficeProperties, decorator: Google::Apis::CalendarV3::EventOutOfOfficeProperties::Representation
582
+
567
583
  property :private_copy, as: 'privateCopy'
568
584
  collection :recurrence, as: 'recurrence'
569
585
  property :recurring_event_id, as: 'recurringEventId'
@@ -682,6 +698,23 @@ module Google
682
698
  end
683
699
  end
684
700
 
701
+ class EventFocusTimeProperties
702
+ # @private
703
+ class Representation < Google::Apis::Core::JsonRepresentation
704
+ property :auto_decline_mode, as: 'autoDeclineMode'
705
+ property :chat_status, as: 'chatStatus'
706
+ property :decline_message, as: 'declineMessage'
707
+ end
708
+ end
709
+
710
+ class EventOutOfOfficeProperties
711
+ # @private
712
+ class Representation < Google::Apis::Core::JsonRepresentation
713
+ property :auto_decline_mode, as: 'autoDeclineMode'
714
+ property :decline_message, as: 'declineMessage'
715
+ end
716
+ end
717
+
685
718
  class EventReminder
686
719
  # @private
687
720
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1315,8 +1315,21 @@ module Google
1315
1315
  # events that match all given constraints.
1316
1316
  # @param [String] q
1317
1317
  # Free text search terms to find events that match these terms in the following
1318
- # fields: summary, description, location, attendee's displayName, attendee's
1319
- # email. Optional.
1318
+ # fields:
1319
+ # - summary
1320
+ # - description
1321
+ # - location
1322
+ # - attendee's displayName
1323
+ # - attendee's email
1324
+ # - workingLocationProperties.officeLocation.buildingId
1325
+ # - workingLocationProperties.officeLocation.deskId
1326
+ # - workingLocationProperties.officeLocation.label
1327
+ # - workingLocationProperties.customLocation.label
1328
+ # These search terms also match predefined keywords against all display title
1329
+ # translations of working location, out-of-office, and focus-time events. For
1330
+ # example, searching for "Office" or "Bureau" returns working location events of
1331
+ # type officeLocation, whereas searching for "Out of office" or "Abwesend"
1332
+ # returns out-of-office events. Optional.
1320
1333
  # @param [Array<String>, String] shared_extended_property
1321
1334
  # Extended properties constraint specified as propertyName=value. Matches only
1322
1335
  # shared properties. This parameter might be repeated multiple times to return
@@ -1425,7 +1438,9 @@ module Google
1425
1438
  execute_or_queue_command(command, &block)
1426
1439
  end
1427
1440
 
1428
- # Moves an event to another calendar, i.e. changes an event's organizer.
1441
+ # Moves an event to another calendar, i.e. changes an event's organizer. Note
1442
+ # that only default events can be moved; outOfOffice, focusTime and
1443
+ # workingLocation events cannot be moved.
1429
1444
  # @param [String] calendar_id
1430
1445
  # Calendar identifier of the source calendar where the event currently is on.
1431
1446
  # @param [String] event_id
@@ -1712,8 +1727,21 @@ module Google
1712
1727
  # events that match all given constraints.
1713
1728
  # @param [String] q
1714
1729
  # Free text search terms to find events that match these terms in the following
1715
- # fields: summary, description, location, attendee's displayName, attendee's
1716
- # email. Optional.
1730
+ # fields:
1731
+ # - summary
1732
+ # - description
1733
+ # - location
1734
+ # - attendee's displayName
1735
+ # - attendee's email
1736
+ # - workingLocationProperties.officeLocation.buildingId
1737
+ # - workingLocationProperties.officeLocation.deskId
1738
+ # - workingLocationProperties.officeLocation.label
1739
+ # - workingLocationProperties.customLocation.label
1740
+ # These search terms also match predefined keywords against all display title
1741
+ # translations of working location, out-of-office, and focus-time events. For
1742
+ # example, searching for "Office" or "Bureau" returns working location events of
1743
+ # type officeLocation, whereas searching for "Out of office" or "Abwesend"
1744
+ # returns out-of-office events. Optional.
1717
1745
  # @param [Array<String>, String] shared_extended_property
1718
1746
  # Extended properties constraint specified as propertyName=value. Matches only
1719
1747
  # shared properties. This parameter might be repeated multiple times to return
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-calendar_v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.33.0
4
+ version: 0.34.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-03 00:00:00.000000000 Z
11
+ date: 2023-11-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-calendar_v3/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-calendar_v3/v0.33.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-calendar_v3/v0.34.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-calendar_v3
63
63
  post_install_message:
64
64
  rdoc_options: []