google-apis-calendar_v3 0.35.0 → 0.43.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: 78bd7ab63893be38454658abe25ccd31f321a53f93da4eb0e56bfda79275319f
4
- data.tar.gz: e40d7b0fe10ce10d16efd10d14b29257b00ecd366c5b3df0be40dad5219f06d2
3
+ metadata.gz: 9373ec014d935d5c100ae5b7c21cc145813b938d86562395ca00cd3ec02dcc99
4
+ data.tar.gz: 00c2186512cdd1bb61308344aba3069e7e930f3c7794c58ab2c55aa1ecc2135e
5
5
  SHA512:
6
- metadata.gz: aa8c0f1d47098aa03fef484558a773bf4b2a7ef0df2818ffd4d6e9d61f3ff070b2e4d82ec7983b8db5b87e5b6db0ba20ce8bed3ed65687e6323b3a79fd5c9c76
7
- data.tar.gz: f7720d349efbabe402bd6219f2bfbbac1a808f47f9913def2ffa4924bf634f2ead0e5bc072b3923fcfe17e1987f5c5cd30868825beb6aaafccec94477aed7708
6
+ metadata.gz: f9e7c0af373173de1c4ad4961e80f6012083a2c7a9655a01af0efafc751d520a747121ffd34eabe84b8198387d68f0bece80b5e0359c25e9c87a0ebc116ab5e8
7
+ data.tar.gz: 8c4d0fdef92de9dedc73b6a4af83efb8a8c7b634c980859f18c9c2996c331bd169df3b972a87ee5e8d5c5fca1ce4ab0d01c76582a1ec30d1dfb79adb1a028564
data/CHANGELOG.md CHANGED
@@ -1,5 +1,40 @@
1
1
  # Release history for google-apis-calendar_v3
2
2
 
3
+ ### v0.43.0 (2024-09-15)
4
+
5
+ * Regenerated from discovery document revision 20240906
6
+ * Regenerated using generator version 0.15.1
7
+
8
+ ### v0.42.0 (2024-07-25)
9
+
10
+ * Regenerated from discovery document revision 20240705
11
+
12
+ ### v0.41.0 (2024-05-26)
13
+
14
+ * Regenerated from discovery document revision 20240517
15
+ * Regenerated using generator version 0.15.0
16
+
17
+ ### v0.40.0 (2024-04-28)
18
+
19
+ * Regenerated from discovery document revision 20240419
20
+
21
+ ### v0.39.0 (2024-04-07)
22
+
23
+ * Regenerated from discovery document revision 20240328
24
+
25
+ ### v0.38.0 (2024-02-24)
26
+
27
+ * Regenerated using generator version 0.14.0
28
+
29
+ ### v0.37.0 (2024-01-23)
30
+
31
+ * Regenerated from discovery document revision 20240111
32
+ * Regenerated using generator version 0.13.0
33
+
34
+ ### v0.36.0 (2023-12-24)
35
+
36
+ * Regenerated from discovery document revision 20231215
37
+
3
38
  ### v0.35.0 (2023-12-03)
4
39
 
5
40
  * Regenerated from discovery document revision 20231123
data/OVERVIEW.md CHANGED
@@ -83,9 +83,9 @@ The [product documentation](https://developers.google.com/google-apps/calendar/f
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.5+.
86
+ This library is supported on Ruby 2.7+.
87
87
 
88
- Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Currently, this means Ruby 2.5 and later. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
88
+ Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
90
90
  ## License
91
91
 
@@ -1112,14 +1112,12 @@ module Google
1112
1112
 
1113
1113
  # Specific type of the event. This cannot be modified after the event is created.
1114
1114
  # Possible values are:
1115
+ # - "birthday" - A special all-day event with an annual recurrence.
1115
1116
  # - "default" - A regular event or not further specified.
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
+ # - "focusTime" - A focus-time event.
1118
+ # - "fromGmail" - An event from Gmail. This type of event cannot be created.
1119
+ # - "outOfOffice" - An out-of-office event.
1120
+ # - "workingLocation" - A working location event.
1123
1121
  # Corresponds to the JSON property `eventType`
1124
1122
  # @return [String]
1125
1123
  attr_accessor :event_type
@@ -1129,7 +1127,7 @@ module Google
1129
1127
  # @return [Google::Apis::CalendarV3::Event::ExtendedProperties]
1130
1128
  attr_accessor :extended_properties
1131
1129
 
1132
- # Focus Time event data. Required if eventType is focusTime.
1130
+ # Focus Time event data. Used if eventType is focusTime.
1133
1131
  # Corresponds to the JSON property `focusTimeProperties`
1134
1132
  # @return [Google::Apis::CalendarV3::EventFocusTimeProperties]
1135
1133
  attr_accessor :focus_time_properties
@@ -1236,7 +1234,7 @@ module Google
1236
1234
  # @return [Google::Apis::CalendarV3::EventDateTime]
1237
1235
  attr_accessor :original_start_time
1238
1236
 
1239
- # Out of office event data. Required if eventType is outOfOffice.
1237
+ # Out of office event data. Used if eventType is outOfOffice.
1240
1238
  # Corresponds to the JSON property `outOfOfficeProperties`
1241
1239
  # @return [Google::Apis::CalendarV3::EventOutOfOfficeProperties]
1242
1240
  attr_accessor :out_of_office_properties
@@ -1263,7 +1261,9 @@ module Google
1263
1261
  # @return [String]
1264
1262
  attr_accessor :recurring_event_id
1265
1263
 
1266
- # Information about the event's reminders for the authenticated user.
1264
+ # Information about the event's reminders for the authenticated user. Note that
1265
+ # changing reminders does not also change the updated property of the enclosing
1266
+ # event.
1267
1267
  # Corresponds to the JSON property `reminders`
1268
1268
  # @return [Google::Apis::CalendarV3::Event::Reminders]
1269
1269
  attr_accessor :reminders
@@ -1331,7 +1331,8 @@ module Google
1331
1331
  # @return [String]
1332
1332
  attr_accessor :transparency
1333
1333
 
1334
- # Last modification time of the event (as a RFC3339 timestamp). Read-only.
1334
+ # Last modification time of the main event data (as a RFC3339 timestamp).
1335
+ # Updating event reminders will not cause this to change. Read-only.
1335
1336
  # Corresponds to the JSON property `updated`
1336
1337
  # @return [DateTime]
1337
1338
  attr_accessor :updated
@@ -1579,7 +1580,9 @@ module Google
1579
1580
  end
1580
1581
  end
1581
1582
 
1582
- # Information about the event's reminders for the authenticated user.
1583
+ # Information about the event's reminders for the authenticated user. Note that
1584
+ # changing reminders does not also change the updated property of the enclosing
1585
+ # event.
1583
1586
  class Reminders
1584
1587
  include Google::Apis::Core::Hashable
1585
1588
 
@@ -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.35.0"
19
+ GEM_VERSION = "0.43.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.12.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231123"
25
+ REVISION = "20240906"
26
26
  end
27
27
  end
28
28
  end
@@ -32,6 +32,8 @@ module Google
32
32
  #
33
33
  # @see https://developers.google.com/google-apps/calendar/firstapp
34
34
  class CalendarService < Google::Apis::Core::BaseService
35
+ DEFAULT_ENDPOINT_TEMPLATE = "https://www.$UNIVERSE_DOMAIN$/"
36
+
35
37
  # @return [String]
36
38
  # API key. Your API key identifies your project and provides you with API access,
37
39
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -47,7 +49,7 @@ module Google
47
49
  attr_accessor :user_ip
48
50
 
49
51
  def initialize
50
- super('https://www.googleapis.com/', 'calendar/v3/',
52
+ super(DEFAULT_ENDPOINT_TEMPLATE, 'calendar/v3/',
51
53
  client_name: 'google-apis-calendar_v3',
52
54
  client_version: Google::Apis::CalendarV3::GEM_VERSION)
53
55
  @batch_path = 'batch/calendar/v3'
@@ -1079,7 +1081,10 @@ module Google
1079
1081
  end
1080
1082
 
1081
1083
  # Imports an event. This operation is used to add a private copy of an existing
1082
- # event to a calendar.
1084
+ # event to a calendar. Only events with an eventType of default may be imported.
1085
+ # Deprecated behavior: If a non-default event is imported, its type will be
1086
+ # changed to default and any event-type-specific properties it may have will be
1087
+ # dropped.
1083
1088
  # @param [String] calendar_id
1084
1089
  # Calendar identifier. To retrieve calendar IDs call the calendarList.list
1085
1090
  # method. If you want to access the primary calendar of the currently logged in
@@ -1275,17 +1280,10 @@ module Google
1275
1280
  # method. If you want to access the primary calendar of the currently logged in
1276
1281
  # user, use the "primary" keyword.
1277
1282
  # @param [Boolean] always_include_email
1278
- # Deprecated and ignored. A value will always be returned in the email field for
1279
- # the organizer, creator and attendees, even if no real email address is
1280
- # available (i.e. a generated, non-working value will be provided).
1283
+ # Deprecated and ignored.
1281
1284
  # @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"].
1285
+ # Event types to return. Optional. This parameter can be repeated multiple times
1286
+ # to return events of different types. If unset, returns all event types.
1289
1287
  # @param [String] i_cal_uid
1290
1288
  # Specifies an event ID in the iCalendar format to be provided in the response.
1291
1289
  # Optional. Use this if you want to search for an event by its iCalendar ID.
@@ -1316,6 +1314,8 @@ module Google
1316
1314
  # - location
1317
1315
  # - attendee's displayName
1318
1316
  # - attendee's email
1317
+ # - organizer's displayName
1318
+ # - organizer's email
1319
1319
  # - workingLocationProperties.officeLocation.buildingId
1320
1320
  # - workingLocationProperties.officeLocation.deskId
1321
1321
  # - workingLocationProperties.officeLocation.label
@@ -1434,8 +1434,8 @@ module Google
1434
1434
  end
1435
1435
 
1436
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.
1437
+ # that only default events can be moved; birthday, focusTime, fromGmail,
1438
+ # outOfOffice and workingLocation events cannot be moved.
1439
1439
  # @param [String] calendar_id
1440
1440
  # Calendar identifier of the source calendar where the event currently is on.
1441
1441
  # @param [String] event_id
@@ -1682,17 +1682,10 @@ module Google
1682
1682
  # user, use the "primary" keyword.
1683
1683
  # @param [Google::Apis::CalendarV3::Channel] channel_object
1684
1684
  # @param [Boolean] always_include_email
1685
- # Deprecated and ignored. A value will always be returned in the email field for
1686
- # the organizer, creator and attendees, even if no real email address is
1687
- # available (i.e. a generated, non-working value will be provided).
1685
+ # Deprecated and ignored.
1688
1686
  # @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"].
1687
+ # Event types to return. Optional. This parameter can be repeated multiple times
1688
+ # to return events of different types. If unset, returns all event types.
1696
1689
  # @param [String] i_cal_uid
1697
1690
  # Specifies an event ID in the iCalendar format to be provided in the response.
1698
1691
  # Optional. Use this if you want to search for an event by its iCalendar ID.
@@ -1723,6 +1716,8 @@ module Google
1723
1716
  # - location
1724
1717
  # - attendee's displayName
1725
1718
  # - attendee's email
1719
+ # - organizer's displayName
1720
+ # - organizer's email
1726
1721
  # - workingLocationProperties.officeLocation.buildingId
1727
1722
  # - workingLocationProperties.officeLocation.deskId
1728
1723
  # - workingLocationProperties.officeLocation.label
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.35.0
4
+ version: 0.43.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-12-03 00:00:00.000000000 Z
11
+ date: 2024-09-15 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.11.0
19
+ version: 0.15.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.11.0
29
+ version: 0.15.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.35.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-calendar_v3/v0.43.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: []
@@ -68,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
68
68
  requirements:
69
69
  - - ">="
70
70
  - !ruby/object:Gem::Version
71
- version: '2.5'
71
+ version: '2.7'
72
72
  required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - ">="
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.19
78
+ rubygems_version: 3.5.6
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Calendar API V3