google-apis-calendar_v3 0.24.0 → 0.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 78bd7ab63893be38454658abe25ccd31f321a53f93da4eb0e56bfda79275319f
|
4
|
+
data.tar.gz: e40d7b0fe10ce10d16efd10d14b29257b00ecd366c5b3df0be40dad5219f06d2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa8c0f1d47098aa03fef484558a773bf4b2a7ef0df2818ffd4d6e9d61f3ff070b2e4d82ec7983b8db5b87e5b6db0ba20ce8bed3ed65687e6323b3a79fd5c9c76
|
7
|
+
data.tar.gz: f7720d349efbabe402bd6219f2bfbbac1a808f47f9913def2ffa4924bf634f2ead0e5bc072b3923fcfe17e1987f5c5cd30868825beb6aaafccec94477aed7708
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,50 @@
|
|
1
1
|
# Release history for google-apis-calendar_v3
|
2
2
|
|
3
|
+
### v0.35.0 (2023-12-03)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20231123
|
6
|
+
|
7
|
+
### v0.34.0 (2023-11-26)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20231116
|
10
|
+
|
11
|
+
### v0.33.0 (2023-09-03)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20230825
|
14
|
+
|
15
|
+
### v0.32.0 (2023-07-16)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20230707
|
18
|
+
|
19
|
+
### v0.31.0 (2023-07-02)
|
20
|
+
|
21
|
+
* Regenerated from discovery document revision 20230623
|
22
|
+
|
23
|
+
### v0.30.0 (2023-06-25)
|
24
|
+
|
25
|
+
* Regenerated from discovery document revision 20230616
|
26
|
+
|
27
|
+
### v0.29.0 (2023-06-11)
|
28
|
+
|
29
|
+
* Regenerated from discovery document revision 20230602
|
30
|
+
|
31
|
+
### v0.28.0 (2023-04-16)
|
32
|
+
|
33
|
+
* Regenerated from discovery document revision 20230406
|
34
|
+
|
35
|
+
### v0.27.0 (2023-03-26)
|
36
|
+
|
37
|
+
* Regenerated from discovery document revision 20230317
|
38
|
+
|
39
|
+
### v0.26.0 (2023-03-19)
|
40
|
+
|
41
|
+
* Regenerated from discovery document revision 20230313
|
42
|
+
|
43
|
+
### v0.25.0 (2023-02-26)
|
44
|
+
|
45
|
+
* Regenerated from discovery document revision 20230217
|
46
|
+
* Regenerated using generator version 0.12.0
|
47
|
+
|
3
48
|
### v0.24.0 (2022-10-28)
|
4
49
|
|
5
50
|
* Regenerated using generator version 0.11.0
|
@@ -1110,10 +1110,16 @@ module Google
|
|
1110
1110
|
# @return [String]
|
1111
1111
|
attr_accessor :etag
|
1112
1112
|
|
1113
|
-
# Specific type of the event.
|
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
|
-
# - "outOfOffice" - An out-of-office event.
|
1116
|
-
#
|
1116
|
+
# - "outOfOffice" - An out-of-office event. An outOfOfficeProperties parameter
|
1117
|
+
# must be supplied to make a valid event (even if empty).
|
1118
|
+
# - "focusTime" - A focus-time event. A focusTimeProperties parameter must be
|
1119
|
+
# supplied to make a valid event (even if empty).
|
1120
|
+
# - "workingLocation" - A working location event. Currently, only "default "
|
1121
|
+
# and "workingLocation" events can be created using the API. Extended support
|
1122
|
+
# for other event types will be made available in later releases.
|
1117
1123
|
# Corresponds to the JSON property `eventType`
|
1118
1124
|
# @return [String]
|
1119
1125
|
attr_accessor :event_type
|
@@ -1123,6 +1129,11 @@ module Google
|
|
1123
1129
|
# @return [Google::Apis::CalendarV3::Event::ExtendedProperties]
|
1124
1130
|
attr_accessor :extended_properties
|
1125
1131
|
|
1132
|
+
# Focus Time event data. Required if eventType is focusTime.
|
1133
|
+
# Corresponds to the JSON property `focusTimeProperties`
|
1134
|
+
# @return [Google::Apis::CalendarV3::EventFocusTimeProperties]
|
1135
|
+
attr_accessor :focus_time_properties
|
1136
|
+
|
1126
1137
|
# A gadget that extends this event. Gadgets are deprecated; this structure is
|
1127
1138
|
# instead only used for returning birthday calendar metadata.
|
1128
1139
|
# Corresponds to the JSON property `gadget`
|
@@ -1225,6 +1236,11 @@ module Google
|
|
1225
1236
|
# @return [Google::Apis::CalendarV3::EventDateTime]
|
1226
1237
|
attr_accessor :original_start_time
|
1227
1238
|
|
1239
|
+
# Out of office event data. Required if eventType is outOfOffice.
|
1240
|
+
# Corresponds to the JSON property `outOfOfficeProperties`
|
1241
|
+
# @return [Google::Apis::CalendarV3::EventOutOfOfficeProperties]
|
1242
|
+
attr_accessor :out_of_office_properties
|
1243
|
+
|
1228
1244
|
# If set to True, Event propagation is disabled. Note that it is not the same
|
1229
1245
|
# thing as Private event properties. Optional. Immutable. The default is False.
|
1230
1246
|
# Corresponds to the JSON property `privateCopy`
|
@@ -1333,6 +1349,11 @@ module Google
|
|
1333
1349
|
# @return [String]
|
1334
1350
|
attr_accessor :visibility
|
1335
1351
|
|
1352
|
+
# Working location event data.
|
1353
|
+
# Corresponds to the JSON property `workingLocationProperties`
|
1354
|
+
# @return [Google::Apis::CalendarV3::EventWorkingLocationProperties]
|
1355
|
+
attr_accessor :working_location_properties
|
1356
|
+
|
1336
1357
|
def initialize(**args)
|
1337
1358
|
update!(**args)
|
1338
1359
|
end
|
@@ -1353,6 +1374,7 @@ module Google
|
|
1353
1374
|
@etag = args[:etag] if args.key?(:etag)
|
1354
1375
|
@event_type = args[:event_type] if args.key?(:event_type)
|
1355
1376
|
@extended_properties = args[:extended_properties] if args.key?(:extended_properties)
|
1377
|
+
@focus_time_properties = args[:focus_time_properties] if args.key?(:focus_time_properties)
|
1356
1378
|
@gadget = args[:gadget] if args.key?(:gadget)
|
1357
1379
|
@guests_can_invite_others = args[:guests_can_invite_others] if args.key?(:guests_can_invite_others)
|
1358
1380
|
@guests_can_modify = args[:guests_can_modify] if args.key?(:guests_can_modify)
|
@@ -1366,6 +1388,7 @@ module Google
|
|
1366
1388
|
@locked = args[:locked] if args.key?(:locked)
|
1367
1389
|
@organizer = args[:organizer] if args.key?(:organizer)
|
1368
1390
|
@original_start_time = args[:original_start_time] if args.key?(:original_start_time)
|
1391
|
+
@out_of_office_properties = args[:out_of_office_properties] if args.key?(:out_of_office_properties)
|
1369
1392
|
@private_copy = args[:private_copy] if args.key?(:private_copy)
|
1370
1393
|
@recurrence = args[:recurrence] if args.key?(:recurrence)
|
1371
1394
|
@recurring_event_id = args[:recurring_event_id] if args.key?(:recurring_event_id)
|
@@ -1378,6 +1401,7 @@ module Google
|
|
1378
1401
|
@transparency = args[:transparency] if args.key?(:transparency)
|
1379
1402
|
@updated = args[:updated] if args.key?(:updated)
|
1380
1403
|
@visibility = args[:visibility] if args.key?(:visibility)
|
1404
|
+
@working_location_properties = args[:working_location_properties] if args.key?(:working_location_properties)
|
1381
1405
|
end
|
1382
1406
|
|
1383
1407
|
# The creator of the event. Read-only.
|
@@ -1789,6 +1813,77 @@ module Google
|
|
1789
1813
|
end
|
1790
1814
|
end
|
1791
1815
|
|
1816
|
+
#
|
1817
|
+
class EventFocusTimeProperties
|
1818
|
+
include Google::Apis::Core::Hashable
|
1819
|
+
|
1820
|
+
# Whether to decline meeting invitations which overlap Focus Time events. Valid
|
1821
|
+
# values are declineNone, meaning that no meeting invitations are declined;
|
1822
|
+
# declineAllConflictingInvitations, meaning that all conflicting meeting
|
1823
|
+
# invitations that conflict with the event are declined; and
|
1824
|
+
# declineOnlyNewConflictingInvitations, meaning that only new conflicting
|
1825
|
+
# meeting invitations which arrive while the Focus Time event is present are to
|
1826
|
+
# be declined.
|
1827
|
+
# Corresponds to the JSON property `autoDeclineMode`
|
1828
|
+
# @return [String]
|
1829
|
+
attr_accessor :auto_decline_mode
|
1830
|
+
|
1831
|
+
# The status to mark the user in Chat and related products. This can be
|
1832
|
+
# available or doNotDisturb.
|
1833
|
+
# Corresponds to the JSON property `chatStatus`
|
1834
|
+
# @return [String]
|
1835
|
+
attr_accessor :chat_status
|
1836
|
+
|
1837
|
+
# Response message to set if an existing event or new invitation is
|
1838
|
+
# automatically declined by Calendar.
|
1839
|
+
# Corresponds to the JSON property `declineMessage`
|
1840
|
+
# @return [String]
|
1841
|
+
attr_accessor :decline_message
|
1842
|
+
|
1843
|
+
def initialize(**args)
|
1844
|
+
update!(**args)
|
1845
|
+
end
|
1846
|
+
|
1847
|
+
# Update properties of this object
|
1848
|
+
def update!(**args)
|
1849
|
+
@auto_decline_mode = args[:auto_decline_mode] if args.key?(:auto_decline_mode)
|
1850
|
+
@chat_status = args[:chat_status] if args.key?(:chat_status)
|
1851
|
+
@decline_message = args[:decline_message] if args.key?(:decline_message)
|
1852
|
+
end
|
1853
|
+
end
|
1854
|
+
|
1855
|
+
#
|
1856
|
+
class EventOutOfOfficeProperties
|
1857
|
+
include Google::Apis::Core::Hashable
|
1858
|
+
|
1859
|
+
# Whether to decline meeting invitations which overlap Out of office events.
|
1860
|
+
# Valid values are declineNone, meaning that no meeting invitations are declined;
|
1861
|
+
# declineAllConflictingInvitations, meaning that all conflicting meeting
|
1862
|
+
# invitations that conflict with the event are declined; and
|
1863
|
+
# declineOnlyNewConflictingInvitations, meaning that only new conflicting
|
1864
|
+
# meeting invitations which arrive while the Out of office event is present are
|
1865
|
+
# to be declined.
|
1866
|
+
# Corresponds to the JSON property `autoDeclineMode`
|
1867
|
+
# @return [String]
|
1868
|
+
attr_accessor :auto_decline_mode
|
1869
|
+
|
1870
|
+
# Response message to set if an existing event or new invitation is
|
1871
|
+
# automatically declined by Calendar.
|
1872
|
+
# Corresponds to the JSON property `declineMessage`
|
1873
|
+
# @return [String]
|
1874
|
+
attr_accessor :decline_message
|
1875
|
+
|
1876
|
+
def initialize(**args)
|
1877
|
+
update!(**args)
|
1878
|
+
end
|
1879
|
+
|
1880
|
+
# Update properties of this object
|
1881
|
+
def update!(**args)
|
1882
|
+
@auto_decline_mode = args[:auto_decline_mode] if args.key?(:auto_decline_mode)
|
1883
|
+
@decline_message = args[:decline_message] if args.key?(:decline_message)
|
1884
|
+
end
|
1885
|
+
end
|
1886
|
+
|
1792
1887
|
#
|
1793
1888
|
class EventReminder
|
1794
1889
|
include Google::Apis::Core::Hashable
|
@@ -1819,6 +1914,114 @@ module Google
|
|
1819
1914
|
end
|
1820
1915
|
end
|
1821
1916
|
|
1917
|
+
#
|
1918
|
+
class EventWorkingLocationProperties
|
1919
|
+
include Google::Apis::Core::Hashable
|
1920
|
+
|
1921
|
+
# If present, specifies that the user is working from a custom location.
|
1922
|
+
# Corresponds to the JSON property `customLocation`
|
1923
|
+
# @return [Google::Apis::CalendarV3::EventWorkingLocationProperties::CustomLocation]
|
1924
|
+
attr_accessor :custom_location
|
1925
|
+
|
1926
|
+
# If present, specifies that the user is working at home.
|
1927
|
+
# Corresponds to the JSON property `homeOffice`
|
1928
|
+
# @return [Object]
|
1929
|
+
attr_accessor :home_office
|
1930
|
+
|
1931
|
+
# If present, specifies that the user is working from an office.
|
1932
|
+
# Corresponds to the JSON property `officeLocation`
|
1933
|
+
# @return [Google::Apis::CalendarV3::EventWorkingLocationProperties::OfficeLocation]
|
1934
|
+
attr_accessor :office_location
|
1935
|
+
|
1936
|
+
# Type of the working location. Possible values are:
|
1937
|
+
# - "homeOffice" - The user is working at home.
|
1938
|
+
# - "officeLocation" - The user is working from an office.
|
1939
|
+
# - "customLocation" - The user is working from a custom location. Any details
|
1940
|
+
# are specified in a sub-field of the specified name, but this field may be
|
1941
|
+
# missing if empty. Any other fields are ignored.
|
1942
|
+
# Required when adding working location properties.
|
1943
|
+
# Corresponds to the JSON property `type`
|
1944
|
+
# @return [String]
|
1945
|
+
attr_accessor :type
|
1946
|
+
|
1947
|
+
def initialize(**args)
|
1948
|
+
update!(**args)
|
1949
|
+
end
|
1950
|
+
|
1951
|
+
# Update properties of this object
|
1952
|
+
def update!(**args)
|
1953
|
+
@custom_location = args[:custom_location] if args.key?(:custom_location)
|
1954
|
+
@home_office = args[:home_office] if args.key?(:home_office)
|
1955
|
+
@office_location = args[:office_location] if args.key?(:office_location)
|
1956
|
+
@type = args[:type] if args.key?(:type)
|
1957
|
+
end
|
1958
|
+
|
1959
|
+
# If present, specifies that the user is working from a custom location.
|
1960
|
+
class CustomLocation
|
1961
|
+
include Google::Apis::Core::Hashable
|
1962
|
+
|
1963
|
+
# An optional extra label for additional information.
|
1964
|
+
# Corresponds to the JSON property `label`
|
1965
|
+
# @return [String]
|
1966
|
+
attr_accessor :label
|
1967
|
+
|
1968
|
+
def initialize(**args)
|
1969
|
+
update!(**args)
|
1970
|
+
end
|
1971
|
+
|
1972
|
+
# Update properties of this object
|
1973
|
+
def update!(**args)
|
1974
|
+
@label = args[:label] if args.key?(:label)
|
1975
|
+
end
|
1976
|
+
end
|
1977
|
+
|
1978
|
+
# If present, specifies that the user is working from an office.
|
1979
|
+
class OfficeLocation
|
1980
|
+
include Google::Apis::Core::Hashable
|
1981
|
+
|
1982
|
+
# An optional building identifier. This should reference a building ID in the
|
1983
|
+
# organization's Resources database.
|
1984
|
+
# Corresponds to the JSON property `buildingId`
|
1985
|
+
# @return [String]
|
1986
|
+
attr_accessor :building_id
|
1987
|
+
|
1988
|
+
# An optional desk identifier.
|
1989
|
+
# Corresponds to the JSON property `deskId`
|
1990
|
+
# @return [String]
|
1991
|
+
attr_accessor :desk_id
|
1992
|
+
|
1993
|
+
# An optional floor identifier.
|
1994
|
+
# Corresponds to the JSON property `floorId`
|
1995
|
+
# @return [String]
|
1996
|
+
attr_accessor :floor_id
|
1997
|
+
|
1998
|
+
# An optional floor section identifier.
|
1999
|
+
# Corresponds to the JSON property `floorSectionId`
|
2000
|
+
# @return [String]
|
2001
|
+
attr_accessor :floor_section_id
|
2002
|
+
|
2003
|
+
# The office name that's displayed in Calendar Web and Mobile clients. We
|
2004
|
+
# recommend you reference a building name in the organization's Resources
|
2005
|
+
# database.
|
2006
|
+
# Corresponds to the JSON property `label`
|
2007
|
+
# @return [String]
|
2008
|
+
attr_accessor :label
|
2009
|
+
|
2010
|
+
def initialize(**args)
|
2011
|
+
update!(**args)
|
2012
|
+
end
|
2013
|
+
|
2014
|
+
# Update properties of this object
|
2015
|
+
def update!(**args)
|
2016
|
+
@building_id = args[:building_id] if args.key?(:building_id)
|
2017
|
+
@desk_id = args[:desk_id] if args.key?(:desk_id)
|
2018
|
+
@floor_id = args[:floor_id] if args.key?(:floor_id)
|
2019
|
+
@floor_section_id = args[:floor_section_id] if args.key?(:floor_section_id)
|
2020
|
+
@label = args[:label] if args.key?(:label)
|
2021
|
+
end
|
2022
|
+
end
|
2023
|
+
end
|
2024
|
+
|
1822
2025
|
#
|
1823
2026
|
class Events
|
1824
2027
|
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.
|
19
|
+
GEM_VERSION = "0.35.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20231123"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -208,12 +208,42 @@ 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
|
|
214
226
|
include Google::Apis::Core::JsonObjectSupport
|
215
227
|
end
|
216
228
|
|
229
|
+
class EventWorkingLocationProperties
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
class CustomLocation
|
233
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
234
|
+
|
235
|
+
include Google::Apis::Core::JsonObjectSupport
|
236
|
+
end
|
237
|
+
|
238
|
+
class OfficeLocation
|
239
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
240
|
+
|
241
|
+
include Google::Apis::Core::JsonObjectSupport
|
242
|
+
end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
217
247
|
class Events
|
218
248
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
249
|
|
@@ -530,6 +560,8 @@ module Google
|
|
530
560
|
property :event_type, as: 'eventType'
|
531
561
|
property :extended_properties, as: 'extendedProperties', class: Google::Apis::CalendarV3::Event::ExtendedProperties, decorator: Google::Apis::CalendarV3::Event::ExtendedProperties::Representation
|
532
562
|
|
563
|
+
property :focus_time_properties, as: 'focusTimeProperties', class: Google::Apis::CalendarV3::EventFocusTimeProperties, decorator: Google::Apis::CalendarV3::EventFocusTimeProperties::Representation
|
564
|
+
|
533
565
|
property :gadget, as: 'gadget', class: Google::Apis::CalendarV3::Event::Gadget, decorator: Google::Apis::CalendarV3::Event::Gadget::Representation
|
534
566
|
|
535
567
|
property :guests_can_invite_others, as: 'guestsCanInviteOthers'
|
@@ -546,6 +578,8 @@ module Google
|
|
546
578
|
|
547
579
|
property :original_start_time, as: 'originalStartTime', class: Google::Apis::CalendarV3::EventDateTime, decorator: Google::Apis::CalendarV3::EventDateTime::Representation
|
548
580
|
|
581
|
+
property :out_of_office_properties, as: 'outOfOfficeProperties', class: Google::Apis::CalendarV3::EventOutOfOfficeProperties, decorator: Google::Apis::CalendarV3::EventOutOfOfficeProperties::Representation
|
582
|
+
|
549
583
|
property :private_copy, as: 'privateCopy'
|
550
584
|
collection :recurrence, as: 'recurrence'
|
551
585
|
property :recurring_event_id, as: 'recurringEventId'
|
@@ -562,6 +596,8 @@ module Google
|
|
562
596
|
property :updated, as: 'updated', type: DateTime
|
563
597
|
|
564
598
|
property :visibility, as: 'visibility'
|
599
|
+
property :working_location_properties, as: 'workingLocationProperties', class: Google::Apis::CalendarV3::EventWorkingLocationProperties, decorator: Google::Apis::CalendarV3::EventWorkingLocationProperties::Representation
|
600
|
+
|
565
601
|
end
|
566
602
|
|
567
603
|
class Creator
|
@@ -662,6 +698,23 @@ module Google
|
|
662
698
|
end
|
663
699
|
end
|
664
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
|
+
|
665
718
|
class EventReminder
|
666
719
|
# @private
|
667
720
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -670,6 +723,36 @@ module Google
|
|
670
723
|
end
|
671
724
|
end
|
672
725
|
|
726
|
+
class EventWorkingLocationProperties
|
727
|
+
# @private
|
728
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
729
|
+
property :custom_location, as: 'customLocation', class: Google::Apis::CalendarV3::EventWorkingLocationProperties::CustomLocation, decorator: Google::Apis::CalendarV3::EventWorkingLocationProperties::CustomLocation::Representation
|
730
|
+
|
731
|
+
property :home_office, as: 'homeOffice'
|
732
|
+
property :office_location, as: 'officeLocation', class: Google::Apis::CalendarV3::EventWorkingLocationProperties::OfficeLocation, decorator: Google::Apis::CalendarV3::EventWorkingLocationProperties::OfficeLocation::Representation
|
733
|
+
|
734
|
+
property :type, as: 'type'
|
735
|
+
end
|
736
|
+
|
737
|
+
class CustomLocation
|
738
|
+
# @private
|
739
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
740
|
+
property :label, as: 'label'
|
741
|
+
end
|
742
|
+
end
|
743
|
+
|
744
|
+
class OfficeLocation
|
745
|
+
# @private
|
746
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
747
|
+
property :building_id, as: 'buildingId'
|
748
|
+
property :desk_id, as: 'deskId'
|
749
|
+
property :floor_id, as: 'floorId'
|
750
|
+
property :floor_section_id, as: 'floorSectionId'
|
751
|
+
property :label, as: 'label'
|
752
|
+
end
|
753
|
+
end
|
754
|
+
end
|
755
|
+
|
673
756
|
class Events
|
674
757
|
# @private
|
675
758
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1278,6 +1278,14 @@ module Google
|
|
1278
1278
|
# Deprecated and ignored. A value will always be returned in the email field for
|
1279
1279
|
# the organizer, creator and attendees, even if no real email address is
|
1280
1280
|
# available (i.e. a generated, non-working value will be provided).
|
1281
|
+
# @param [Array<String>, String] event_types
|
1282
|
+
# Event types to return. Optional. Possible values are:
|
1283
|
+
# - "default"
|
1284
|
+
# - "focusTime"
|
1285
|
+
# - "outOfOffice"
|
1286
|
+
# - "workingLocation"This parameter can be repeated multiple times to return
|
1287
|
+
# events of different types. The default is ["default", "focusTime", "
|
1288
|
+
# outOfOffice"].
|
1281
1289
|
# @param [String] i_cal_uid
|
1282
1290
|
# Specifies an event ID in the iCalendar format to be provided in the response.
|
1283
1291
|
# Optional. Use this if you want to search for an event by its iCalendar ID.
|
@@ -1302,8 +1310,21 @@ module Google
|
|
1302
1310
|
# events that match all given constraints.
|
1303
1311
|
# @param [String] q
|
1304
1312
|
# Free text search terms to find events that match these terms in the following
|
1305
|
-
# fields:
|
1306
|
-
#
|
1313
|
+
# fields:
|
1314
|
+
# - summary
|
1315
|
+
# - description
|
1316
|
+
# - location
|
1317
|
+
# - attendee's displayName
|
1318
|
+
# - attendee's email
|
1319
|
+
# - workingLocationProperties.officeLocation.buildingId
|
1320
|
+
# - workingLocationProperties.officeLocation.deskId
|
1321
|
+
# - workingLocationProperties.officeLocation.label
|
1322
|
+
# - workingLocationProperties.customLocation.label
|
1323
|
+
# These search terms also match predefined keywords against all display title
|
1324
|
+
# translations of working location, out-of-office, and focus-time events. For
|
1325
|
+
# example, searching for "Office" or "Bureau" returns working location events of
|
1326
|
+
# type officeLocation, whereas searching for "Out of office" or "Abwesend"
|
1327
|
+
# returns out-of-office events. Optional.
|
1307
1328
|
# @param [Array<String>, String] shared_extended_property
|
1308
1329
|
# Extended properties constraint specified as propertyName=value. Matches only
|
1309
1330
|
# shared properties. This parameter might be repeated multiple times to return
|
@@ -1338,9 +1359,10 @@ module Google
|
|
1338
1359
|
# - sharedExtendedProperty
|
1339
1360
|
# - timeMin
|
1340
1361
|
# - timeMax
|
1341
|
-
# - updatedMin
|
1342
|
-
#
|
1343
|
-
#
|
1362
|
+
# - updatedMin All other query parameters should be the same as for the initial
|
1363
|
+
# synchronization to avoid undefined behavior. If the syncToken expires, the
|
1364
|
+
# server will respond with a 410 GONE response code and the client should clear
|
1365
|
+
# its storage and perform a full synchronization without any syncToken.
|
1344
1366
|
# Learn more about incremental synchronization.
|
1345
1367
|
# Optional. The default is to return all entries.
|
1346
1368
|
# @param [DateTime] time_max
|
@@ -1382,12 +1404,13 @@ module Google
|
|
1382
1404
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1383
1405
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1384
1406
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1385
|
-
def list_events(calendar_id, always_include_email: nil, i_cal_uid: nil, max_attendees: nil, max_results: nil, order_by: nil, page_token: nil, private_extended_property: nil, q: nil, shared_extended_property: nil, show_deleted: nil, show_hidden_invitations: nil, single_events: nil, sync_token: nil, time_max: nil, time_min: nil, time_zone: nil, updated_min: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1407
|
+
def list_events(calendar_id, always_include_email: nil, event_types: nil, i_cal_uid: nil, max_attendees: nil, max_results: nil, order_by: nil, page_token: nil, private_extended_property: nil, q: nil, shared_extended_property: nil, show_deleted: nil, show_hidden_invitations: nil, single_events: nil, sync_token: nil, time_max: nil, time_min: nil, time_zone: nil, updated_min: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1386
1408
|
command = make_simple_command(:get, 'calendars/{calendarId}/events', options)
|
1387
1409
|
command.response_representation = Google::Apis::CalendarV3::Events::Representation
|
1388
1410
|
command.response_class = Google::Apis::CalendarV3::Events
|
1389
1411
|
command.params['calendarId'] = calendar_id unless calendar_id.nil?
|
1390
1412
|
command.query['alwaysIncludeEmail'] = always_include_email unless always_include_email.nil?
|
1413
|
+
command.query['eventTypes'] = event_types unless event_types.nil?
|
1391
1414
|
command.query['iCalUID'] = i_cal_uid unless i_cal_uid.nil?
|
1392
1415
|
command.query['maxAttendees'] = max_attendees unless max_attendees.nil?
|
1393
1416
|
command.query['maxResults'] = max_results unless max_results.nil?
|
@@ -1410,7 +1433,9 @@ module Google
|
|
1410
1433
|
execute_or_queue_command(command, &block)
|
1411
1434
|
end
|
1412
1435
|
|
1413
|
-
# Moves an event to another calendar, i.e. changes an event's organizer.
|
1436
|
+
# Moves an event to another calendar, i.e. changes an event's organizer. Note
|
1437
|
+
# that only default events can be moved; outOfOffice, focusTime and
|
1438
|
+
# workingLocation events cannot be moved.
|
1414
1439
|
# @param [String] calendar_id
|
1415
1440
|
# Calendar identifier of the source calendar where the event currently is on.
|
1416
1441
|
# @param [String] event_id
|
@@ -1660,6 +1685,14 @@ module Google
|
|
1660
1685
|
# Deprecated and ignored. A value will always be returned in the email field for
|
1661
1686
|
# the organizer, creator and attendees, even if no real email address is
|
1662
1687
|
# available (i.e. a generated, non-working value will be provided).
|
1688
|
+
# @param [Array<String>, String] event_types
|
1689
|
+
# Event types to return. Optional. Possible values are:
|
1690
|
+
# - "default"
|
1691
|
+
# - "focusTime"
|
1692
|
+
# - "outOfOffice"
|
1693
|
+
# - "workingLocation"This parameter can be repeated multiple times to return
|
1694
|
+
# events of different types. The default is ["default", "focusTime", "
|
1695
|
+
# outOfOffice"].
|
1663
1696
|
# @param [String] i_cal_uid
|
1664
1697
|
# Specifies an event ID in the iCalendar format to be provided in the response.
|
1665
1698
|
# Optional. Use this if you want to search for an event by its iCalendar ID.
|
@@ -1684,8 +1717,21 @@ module Google
|
|
1684
1717
|
# events that match all given constraints.
|
1685
1718
|
# @param [String] q
|
1686
1719
|
# Free text search terms to find events that match these terms in the following
|
1687
|
-
# fields:
|
1688
|
-
#
|
1720
|
+
# fields:
|
1721
|
+
# - summary
|
1722
|
+
# - description
|
1723
|
+
# - location
|
1724
|
+
# - attendee's displayName
|
1725
|
+
# - attendee's email
|
1726
|
+
# - workingLocationProperties.officeLocation.buildingId
|
1727
|
+
# - workingLocationProperties.officeLocation.deskId
|
1728
|
+
# - workingLocationProperties.officeLocation.label
|
1729
|
+
# - workingLocationProperties.customLocation.label
|
1730
|
+
# These search terms also match predefined keywords against all display title
|
1731
|
+
# translations of working location, out-of-office, and focus-time events. For
|
1732
|
+
# example, searching for "Office" or "Bureau" returns working location events of
|
1733
|
+
# type officeLocation, whereas searching for "Out of office" or "Abwesend"
|
1734
|
+
# returns out-of-office events. Optional.
|
1689
1735
|
# @param [Array<String>, String] shared_extended_property
|
1690
1736
|
# Extended properties constraint specified as propertyName=value. Matches only
|
1691
1737
|
# shared properties. This parameter might be repeated multiple times to return
|
@@ -1720,9 +1766,10 @@ module Google
|
|
1720
1766
|
# - sharedExtendedProperty
|
1721
1767
|
# - timeMin
|
1722
1768
|
# - timeMax
|
1723
|
-
# - updatedMin
|
1724
|
-
#
|
1725
|
-
#
|
1769
|
+
# - updatedMin All other query parameters should be the same as for the initial
|
1770
|
+
# synchronization to avoid undefined behavior. If the syncToken expires, the
|
1771
|
+
# server will respond with a 410 GONE response code and the client should clear
|
1772
|
+
# its storage and perform a full synchronization without any syncToken.
|
1726
1773
|
# Learn more about incremental synchronization.
|
1727
1774
|
# Optional. The default is to return all entries.
|
1728
1775
|
# @param [DateTime] time_max
|
@@ -1764,7 +1811,7 @@ module Google
|
|
1764
1811
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1765
1812
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1766
1813
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1767
|
-
def watch_event(calendar_id, channel_object = nil, always_include_email: nil, i_cal_uid: nil, max_attendees: nil, max_results: nil, order_by: nil, page_token: nil, private_extended_property: nil, q: nil, shared_extended_property: nil, show_deleted: nil, show_hidden_invitations: nil, single_events: nil, sync_token: nil, time_max: nil, time_min: nil, time_zone: nil, updated_min: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1814
|
+
def watch_event(calendar_id, channel_object = nil, always_include_email: nil, event_types: nil, i_cal_uid: nil, max_attendees: nil, max_results: nil, order_by: nil, page_token: nil, private_extended_property: nil, q: nil, shared_extended_property: nil, show_deleted: nil, show_hidden_invitations: nil, single_events: nil, sync_token: nil, time_max: nil, time_min: nil, time_zone: nil, updated_min: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1768
1815
|
command = make_simple_command(:post, 'calendars/{calendarId}/events/watch', options)
|
1769
1816
|
command.request_representation = Google::Apis::CalendarV3::Channel::Representation
|
1770
1817
|
command.request_object = channel_object
|
@@ -1772,6 +1819,7 @@ module Google
|
|
1772
1819
|
command.response_class = Google::Apis::CalendarV3::Channel
|
1773
1820
|
command.params['calendarId'] = calendar_id unless calendar_id.nil?
|
1774
1821
|
command.query['alwaysIncludeEmail'] = always_include_email unless always_include_email.nil?
|
1822
|
+
command.query['eventTypes'] = event_types unless event_types.nil?
|
1775
1823
|
command.query['iCalUID'] = i_cal_uid unless i_cal_uid.nil?
|
1776
1824
|
command.query['maxAttendees'] = max_attendees unless max_attendees.nil?
|
1777
1825
|
command.query['maxResults'] = max_results unless max_results.nil?
|
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.
|
4
|
+
version: 0.35.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:
|
11
|
+
date: 2023-12-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.11.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.11.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-calendar_v3/v0.35.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.
|
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
|