google-apis-calendar_v3 0.32.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: 9bc543d060285e5d5d5c87e2bdddfe01cfe8c6a663861d625dafd5b98bafecf2
4
- data.tar.gz: 2854677002671d794517ce86bc94224d38e91bb8291f78af681d4623e001556b
3
+ metadata.gz: ed5f142958d5c64983e89fe942a3b9808ef082cdfe7c45549f86d5ff43e0133c
4
+ data.tar.gz: 702f8e681739f269154dc258861f372707044e8ee20d07ca8c44132a07b42308
5
5
  SHA512:
6
- metadata.gz: 644352235b31a6e28c2e58a7b73baabf8115b0583738b226b0169b880b4970f6e0f321312248e0abd3f6fdae1598d6876bd057cc6f486f2aa983fd647bb18ed8
7
- data.tar.gz: e6e8b3964880f28b643049e4fb9cc88ec03b81206746338222b0ec2386e0c4038b957a19fc39faf209c3e5660c6c364aa816a7e9d2199fd956e4818cae79ca90
6
+ metadata.gz: b81c944ea2486d2061a040658bc1f6d4bcb757eac05d0fd1e74a2f6432688af0cd8fb7ba7db7975cdf3a1e6ff0cdb2de9b10ed53e3520dc8e6466182d10ac18a
7
+ data.tar.gz: 022cf30ca69a2d8660594b75ebccb06c76da12bd330d7e121dd74a2ae7b6a26b4944dcd378f5bd568c9a2d84dda3c0fdfd07ffa091a348b4c83dbd18b082f3c0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.33.0 (2023-09-03)
8
+
9
+ * Regenerated from discovery document revision 20230825
10
+
3
11
  ### v0.32.0 (2023-07-16)
4
12
 
5
13
  * Regenerated from discovery document revision 20230707
@@ -1110,11 +1110,14 @@ module Google
1110
1110
  # @return [String]
1111
1111
  attr_accessor :etag
1112
1112
 
1113
- # Specific type of the event. Read-only. Possible values are:
1113
+ # Specific type of the event. This cannot be modified after the event is created.
1114
+ # Possible values are:
1114
1115
  # - "default" - A regular event or not further specified.
1115
1116
  # - "outOfOffice" - An out-of-office event.
1116
1117
  # - "focusTime" - A focus-time event.
1117
- # - "workingLocation" - A working location event. Developer Preview.
1118
+ # - "workingLocation" - A working location event. Currently, only "default "
1119
+ # and "workingLocation" events can be created using the API. Extended support
1120
+ # for other event types will be made available in later releases.
1118
1121
  # Corresponds to the JSON property `eventType`
1119
1122
  # @return [String]
1120
1123
  attr_accessor :event_type
@@ -1124,6 +1127,11 @@ module Google
1124
1127
  # @return [Google::Apis::CalendarV3::Event::ExtendedProperties]
1125
1128
  attr_accessor :extended_properties
1126
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
+
1127
1135
  # A gadget that extends this event. Gadgets are deprecated; this structure is
1128
1136
  # instead only used for returning birthday calendar metadata.
1129
1137
  # Corresponds to the JSON property `gadget`
@@ -1226,6 +1234,11 @@ module Google
1226
1234
  # @return [Google::Apis::CalendarV3::EventDateTime]
1227
1235
  attr_accessor :original_start_time
1228
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
+
1229
1242
  # If set to True, Event propagation is disabled. Note that it is not the same
1230
1243
  # thing as Private event properties. Optional. Immutable. The default is False.
1231
1244
  # Corresponds to the JSON property `privateCopy`
@@ -1334,7 +1347,7 @@ module Google
1334
1347
  # @return [String]
1335
1348
  attr_accessor :visibility
1336
1349
 
1337
- # Working Location event data. Developer Preview.
1350
+ # Working location event data.
1338
1351
  # Corresponds to the JSON property `workingLocationProperties`
1339
1352
  # @return [Google::Apis::CalendarV3::EventWorkingLocationProperties]
1340
1353
  attr_accessor :working_location_properties
@@ -1359,6 +1372,7 @@ module Google
1359
1372
  @etag = args[:etag] if args.key?(:etag)
1360
1373
  @event_type = args[:event_type] if args.key?(:event_type)
1361
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)
1362
1376
  @gadget = args[:gadget] if args.key?(:gadget)
1363
1377
  @guests_can_invite_others = args[:guests_can_invite_others] if args.key?(:guests_can_invite_others)
1364
1378
  @guests_can_modify = args[:guests_can_modify] if args.key?(:guests_can_modify)
@@ -1372,6 +1386,7 @@ module Google
1372
1386
  @locked = args[:locked] if args.key?(:locked)
1373
1387
  @organizer = args[:organizer] if args.key?(:organizer)
1374
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)
1375
1390
  @private_copy = args[:private_copy] if args.key?(:private_copy)
1376
1391
  @recurrence = args[:recurrence] if args.key?(:recurrence)
1377
1392
  @recurring_event_id = args[:recurring_event_id] if args.key?(:recurring_event_id)
@@ -1796,6 +1811,77 @@ module Google
1796
1811
  end
1797
1812
  end
1798
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
+
1799
1885
  #
1800
1886
  class EventReminder
1801
1887
  include Google::Apis::Core::Hashable
@@ -1845,9 +1931,13 @@ module Google
1845
1931
  # @return [Google::Apis::CalendarV3::EventWorkingLocationProperties::OfficeLocation]
1846
1932
  attr_accessor :office_location
1847
1933
 
1848
- # Indicates what kind of location this is. Any details are specified in a sub-
1849
- # field of the specified name (but which may be missing if empty). Any other
1850
- # fields are ignored.
1934
+ # Type of the working location. Possible values are:
1935
+ # - "homeOffice" - The user is working at home.
1936
+ # - "officeLocation" - The user is working from an office.
1937
+ # - "customLocation" - The user is working from a custom location. Any details
1938
+ # are specified in a sub-field of the specified name, but this field may be
1939
+ # missing if empty. Any other fields are ignored.
1940
+ # Required when adding working location properties.
1851
1941
  # Corresponds to the JSON property `type`
1852
1942
  # @return [String]
1853
1943
  attr_accessor :type
@@ -1893,22 +1983,24 @@ module Google
1893
1983
  # @return [String]
1894
1984
  attr_accessor :building_id
1895
1985
 
1896
- # An optional arbitrary desk identifier.
1986
+ # An optional desk identifier.
1897
1987
  # Corresponds to the JSON property `deskId`
1898
1988
  # @return [String]
1899
1989
  attr_accessor :desk_id
1900
1990
 
1901
- # An optional arbitrary floor identifier.
1991
+ # An optional floor identifier.
1902
1992
  # Corresponds to the JSON property `floorId`
1903
1993
  # @return [String]
1904
1994
  attr_accessor :floor_id
1905
1995
 
1906
- # An optional arbitrary floor section identifier.
1996
+ # An optional floor section identifier.
1907
1997
  # Corresponds to the JSON property `floorSectionId`
1908
1998
  # @return [String]
1909
1999
  attr_accessor :floor_section_id
1910
2000
 
1911
- # An optional extra label for additional information.
2001
+ # The office name that's displayed in Calendar Web and Mobile clients. We
2002
+ # recommend you reference a building name in the organization's Resources
2003
+ # database.
1912
2004
  # Corresponds to the JSON property `label`
1913
2005
  # @return [String]
1914
2006
  attr_accessor :label
@@ -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.32.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 = "20230707"
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
@@ -1282,15 +1282,15 @@ module Google
1282
1282
  # Event types to return. Optional. Possible values are:
1283
1283
  # - "default"
1284
1284
  # - "focusTime"
1285
- # - "outOfOffice"This parameter can be repeated multiple times to return events
1286
- # of different types. Currently, this is the only allowed value for this field:
1287
- # - ["default", "focusTime", "outOfOffice"] This value is the default.
1288
- # If you're enrolled in the Working Location developer preview program, in
1289
- # addition to the default value above you can also set the "workingLocation"
1290
- # event type:
1285
+ # - "outOfOffice"
1286
+ # - "workingLocation"This parameter can be repeated multiple times to return
1287
+ # events of different types. Currently, these are the only allowed values for
1288
+ # this field:
1289
+ # - ["default", "focusTime", "outOfOffice"]
1291
1290
  # - ["default", "focusTime", "outOfOffice", "workingLocation"]
1292
- # - ["workingLocation"] Additional combinations of these four event types will
1293
- # be made available in later releases. Developer Preview.
1291
+ # - ["workingLocation"] The default is ["default", "focusTime", "outOfOffice"].
1292
+ # Additional combinations of these four event types will be made available in
1293
+ # later releases.
1294
1294
  # @param [String] i_cal_uid
1295
1295
  # Specifies an event ID in the iCalendar format to be provided in the response.
1296
1296
  # Optional. Use this if you want to search for an event by its iCalendar ID.
@@ -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
@@ -1679,15 +1694,15 @@ module Google
1679
1694
  # Event types to return. Optional. Possible values are:
1680
1695
  # - "default"
1681
1696
  # - "focusTime"
1682
- # - "outOfOffice"This parameter can be repeated multiple times to return events
1683
- # of different types. Currently, this is the only allowed value for this field:
1684
- # - ["default", "focusTime", "outOfOffice"] This value is the default.
1685
- # If you're enrolled in the Working Location developer preview program, in
1686
- # addition to the default value above you can also set the "workingLocation"
1687
- # event type:
1697
+ # - "outOfOffice"
1698
+ # - "workingLocation"This parameter can be repeated multiple times to return
1699
+ # events of different types. Currently, these are the only allowed values for
1700
+ # this field:
1701
+ # - ["default", "focusTime", "outOfOffice"]
1688
1702
  # - ["default", "focusTime", "outOfOffice", "workingLocation"]
1689
- # - ["workingLocation"] Additional combinations of these four event types will
1690
- # be made available in later releases. Developer Preview.
1703
+ # - ["workingLocation"] The default is ["default", "focusTime", "outOfOffice"].
1704
+ # Additional combinations of these four event types will be made available in
1705
+ # later releases.
1691
1706
  # @param [String] i_cal_uid
1692
1707
  # Specifies an event ID in the iCalendar format to be provided in the response.
1693
1708
  # Optional. Use this if you want to search for an event by its iCalendar 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.32.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-07-16 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.32.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.2
78
+ rubygems_version: 3.4.19
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Calendar API V3