google-apis-calendar_v3 0.33.0 → 0.35.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:
|
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,13 @@
|
|
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
|
+
|
3
11
|
### v0.33.0 (2023-09-03)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230825
|
@@ -1113,8 +1113,10 @@ module Google
|
|
1113
1113
|
# Specific type of the event. This cannot be modified after the event is created.
|
1114
1114
|
# Possible values are:
|
1115
1115
|
# - "default" - A regular event or not further specified.
|
1116
|
-
# - "outOfOffice" - An out-of-office event.
|
1117
|
-
#
|
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).
|
1118
1120
|
# - "workingLocation" - A working location event. Currently, only "default "
|
1119
1121
|
# and "workingLocation" events can be created using the API. Extended support
|
1120
1122
|
# for other event types will be made available in later releases.
|
@@ -1127,6 +1129,11 @@ module Google
|
|
1127
1129
|
# @return [Google::Apis::CalendarV3::Event::ExtendedProperties]
|
1128
1130
|
attr_accessor :extended_properties
|
1129
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
|
+
|
1130
1137
|
# A gadget that extends this event. Gadgets are deprecated; this structure is
|
1131
1138
|
# instead only used for returning birthday calendar metadata.
|
1132
1139
|
# Corresponds to the JSON property `gadget`
|
@@ -1229,6 +1236,11 @@ module Google
|
|
1229
1236
|
# @return [Google::Apis::CalendarV3::EventDateTime]
|
1230
1237
|
attr_accessor :original_start_time
|
1231
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
|
+
|
1232
1244
|
# If set to True, Event propagation is disabled. Note that it is not the same
|
1233
1245
|
# thing as Private event properties. Optional. Immutable. The default is False.
|
1234
1246
|
# Corresponds to the JSON property `privateCopy`
|
@@ -1362,6 +1374,7 @@ module Google
|
|
1362
1374
|
@etag = args[:etag] if args.key?(:etag)
|
1363
1375
|
@event_type = args[:event_type] if args.key?(:event_type)
|
1364
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)
|
1365
1378
|
@gadget = args[:gadget] if args.key?(:gadget)
|
1366
1379
|
@guests_can_invite_others = args[:guests_can_invite_others] if args.key?(:guests_can_invite_others)
|
1367
1380
|
@guests_can_modify = args[:guests_can_modify] if args.key?(:guests_can_modify)
|
@@ -1375,6 +1388,7 @@ module Google
|
|
1375
1388
|
@locked = args[:locked] if args.key?(:locked)
|
1376
1389
|
@organizer = args[:organizer] if args.key?(:organizer)
|
1377
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)
|
1378
1392
|
@private_copy = args[:private_copy] if args.key?(:private_copy)
|
1379
1393
|
@recurrence = args[:recurrence] if args.key?(:recurrence)
|
1380
1394
|
@recurring_event_id = args[:recurring_event_id] if args.key?(:recurring_event_id)
|
@@ -1799,6 +1813,77 @@ module Google
|
|
1799
1813
|
end
|
1800
1814
|
end
|
1801
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
|
+
|
1802
1887
|
#
|
1803
1888
|
class EventReminder
|
1804
1889
|
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
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,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
|
@@ -1284,13 +1284,8 @@ module Google
|
|
1284
1284
|
# - "focusTime"
|
1285
1285
|
# - "outOfOffice"
|
1286
1286
|
# - "workingLocation"This parameter can be repeated multiple times to return
|
1287
|
-
# events of different types.
|
1288
|
-
#
|
1289
|
-
# - ["default", "focusTime", "outOfOffice"]
|
1290
|
-
# - ["default", "focusTime", "outOfOffice", "workingLocation"]
|
1291
|
-
# - ["workingLocation"] The default is ["default", "focusTime", "outOfOffice"].
|
1292
|
-
# Additional combinations of these four event types will be made available in
|
1293
|
-
# later releases.
|
1287
|
+
# events of different types. The default is ["default", "focusTime", "
|
1288
|
+
# outOfOffice"].
|
1294
1289
|
# @param [String] i_cal_uid
|
1295
1290
|
# Specifies an event ID in the iCalendar format to be provided in the response.
|
1296
1291
|
# Optional. Use this if you want to search for an event by its iCalendar ID.
|
@@ -1315,8 +1310,21 @@ module Google
|
|
1315
1310
|
# events that match all given constraints.
|
1316
1311
|
# @param [String] q
|
1317
1312
|
# Free text search terms to find events that match these terms in the following
|
1318
|
-
# fields:
|
1319
|
-
#
|
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.
|
1320
1328
|
# @param [Array<String>, String] shared_extended_property
|
1321
1329
|
# Extended properties constraint specified as propertyName=value. Matches only
|
1322
1330
|
# shared properties. This parameter might be repeated multiple times to return
|
@@ -1425,7 +1433,9 @@ module Google
|
|
1425
1433
|
execute_or_queue_command(command, &block)
|
1426
1434
|
end
|
1427
1435
|
|
1428
|
-
# 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.
|
1429
1439
|
# @param [String] calendar_id
|
1430
1440
|
# Calendar identifier of the source calendar where the event currently is on.
|
1431
1441
|
# @param [String] event_id
|
@@ -1681,13 +1691,8 @@ module Google
|
|
1681
1691
|
# - "focusTime"
|
1682
1692
|
# - "outOfOffice"
|
1683
1693
|
# - "workingLocation"This parameter can be repeated multiple times to return
|
1684
|
-
# events of different types.
|
1685
|
-
#
|
1686
|
-
# - ["default", "focusTime", "outOfOffice"]
|
1687
|
-
# - ["default", "focusTime", "outOfOffice", "workingLocation"]
|
1688
|
-
# - ["workingLocation"] The default is ["default", "focusTime", "outOfOffice"].
|
1689
|
-
# Additional combinations of these four event types will be made available in
|
1690
|
-
# later releases.
|
1694
|
+
# events of different types. The default is ["default", "focusTime", "
|
1695
|
+
# outOfOffice"].
|
1691
1696
|
# @param [String] i_cal_uid
|
1692
1697
|
# Specifies an event ID in the iCalendar format to be provided in the response.
|
1693
1698
|
# Optional. Use this if you want to search for an event by its iCalendar ID.
|
@@ -1712,8 +1717,21 @@ module Google
|
|
1712
1717
|
# events that match all given constraints.
|
1713
1718
|
# @param [String] q
|
1714
1719
|
# Free text search terms to find events that match these terms in the following
|
1715
|
-
# fields:
|
1716
|
-
#
|
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.
|
1717
1735
|
# @param [Array<String>, String] shared_extended_property
|
1718
1736
|
# Extended properties constraint specified as propertyName=value. Matches only
|
1719
1737
|
# 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.
|
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: 2023-
|
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
|
@@ -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: []
|