google-apis-calendar_v3 0.48.0 → 0.50.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: 20821653830a72e7d92a49007a7ca2e4c4328b385c52da811ab4ef51c59c387b
4
- data.tar.gz: 726a11961c768ca4464774abe5a15fe5053e116e07edbfd80abeea69d6f460aa
3
+ metadata.gz: 1f0f1e756795fd39316786e05c21b73db0249491e542361378da8f05c7fc0bf3
4
+ data.tar.gz: 8dd7895f905bcfea82a49a06092c77fcaf252f67df62aad16e4de230b760553a
5
5
  SHA512:
6
- metadata.gz: 3b6530c33e7ad3133b2b78eaac78d0e36c57c7b5d18f84359bca213304808ced59c78bd9059496a005feb0e0d92b7c08c0b6ee073a94a1609414b633d8e90eb8
7
- data.tar.gz: 38a4194e95b37af1b41d3fefe637fe624aab604689a3b2c1b6e989337a8c2172447eacb7f760c489d95ca6e7e4a271050ea2c8f9cbd6ac7e746433e61eeff2ab
6
+ metadata.gz: 4fd105dd42b06dbaa4600360fea563ba2abbed6a7509a7fad9aa7e476a366ecb2893560e2879c4c09304e43773e023a01b1a8ed0aa41ca6cfe3e98e0aa409a38
7
+ data.tar.gz: 730570bc9509abe85bab9c2a42f8c73ced5de9f318588f96cb4399957ab76b132392913b55271f10de7d8d79ff19317dac5422c309761053718445071405e620
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-calendar_v3
2
2
 
3
+ ### v0.50.0 (2025-12-07)
4
+
5
+ * Regenerated from discovery document revision 20251123
6
+
7
+ ### v0.49.0 (2025-11-09)
8
+
9
+ * Regenerated from discovery document revision 20251028
10
+ * Regenerated using generator version 0.18.0
11
+
3
12
  ### v0.48.0 (2025-05-04)
4
13
 
5
14
  * Regenerated using generator version 0.17.0
@@ -95,8 +95,11 @@ module Google
95
95
  # - "writer" - Provides read and write access to the calendar. Private events
96
96
  # will appear to users with writer access, and event details will be visible.
97
97
  # Provides read access to the calendar's ACLs.
98
- # - "owner" - Provides ownership of the calendar. This role has all of the
99
- # permissions of the writer role with the additional ability to manipulate ACLs.
98
+ # - "owner" - Provides manager access to the calendar. This role has all of the
99
+ # permissions of the writer role with the additional ability to modify access
100
+ # levels of other users.
101
+ # Important: the owner role is different from the calendar's data owner. A
102
+ # calendar has a single data owner, but can have multiple users with owner role.
100
103
  # Corresponds to the JSON property `role`
101
104
  # @return [String]
102
105
  attr_accessor :role
@@ -155,12 +158,25 @@ module Google
155
158
  class Calendar
156
159
  include Google::Apis::Core::Hashable
157
160
 
161
+ # Whether this calendar automatically accepts invitations. Only valid for
162
+ # resource calendars.
163
+ # Corresponds to the JSON property `autoAcceptInvitations`
164
+ # @return [Boolean]
165
+ attr_accessor :auto_accept_invitations
166
+ alias_method :auto_accept_invitations?, :auto_accept_invitations
167
+
158
168
  # Conferencing properties for this calendar, for example what types of
159
169
  # conferences are allowed.
160
170
  # Corresponds to the JSON property `conferenceProperties`
161
171
  # @return [Google::Apis::CalendarV3::ConferenceProperties]
162
172
  attr_accessor :conference_properties
163
173
 
174
+ # The email of the owner of the calendar. Set only for secondary calendars. Read-
175
+ # only.
176
+ # Corresponds to the JSON property `dataOwner`
177
+ # @return [String]
178
+ attr_accessor :data_owner
179
+
164
180
  # Description of the calendar. Optional.
165
181
  # Corresponds to the JSON property `description`
166
182
  # @return [String]
@@ -204,7 +220,9 @@ module Google
204
220
 
205
221
  # Update properties of this object
206
222
  def update!(**args)
223
+ @auto_accept_invitations = args[:auto_accept_invitations] if args.key?(:auto_accept_invitations)
207
224
  @conference_properties = args[:conference_properties] if args.key?(:conference_properties)
225
+ @data_owner = args[:data_owner] if args.key?(:data_owner)
208
226
  @description = args[:description] if args.key?(:description)
209
227
  @etag = args[:etag] if args.key?(:etag)
210
228
  @id = args[:id] if args.key?(:id)
@@ -272,9 +290,11 @@ module Google
272
290
  # to users with reader access, but event details will be hidden.
273
291
  # - "writer" - Provides read and write access to the calendar. Private events
274
292
  # will appear to users with writer access, and event details will be visible.
275
- # - "owner" - Provides ownership of the calendar. This role has all of the
276
- # permissions of the writer role with the additional ability to see and
277
- # manipulate ACLs.
293
+ # - "owner" - Provides manager access to the calendar. This role has all of the
294
+ # permissions of the writer role with the additional ability to see and modify
295
+ # access levels of other users.
296
+ # Important: the owner role is different from the calendar's data owner. A
297
+ # calendar has a single data owner, but can have multiple users with owner role.
278
298
  # Corresponds to the JSON property `accessRole`
279
299
  # @return [String]
280
300
  attr_accessor :access_role
@@ -301,6 +321,12 @@ module Google
301
321
  # @return [Google::Apis::CalendarV3::ConferenceProperties]
302
322
  attr_accessor :conference_properties
303
323
 
324
+ # The email of the owner of the calendar. Set only for secondary calendars. Read-
325
+ # only.
326
+ # Corresponds to the JSON property `dataOwner`
327
+ # @return [String]
328
+ attr_accessor :data_owner
329
+
304
330
  # The default reminders that the authenticated user has for this calendar.
305
331
  # Corresponds to the JSON property `defaultReminders`
306
332
  # @return [Array<Google::Apis::CalendarV3::EventReminder>]
@@ -397,6 +423,7 @@ module Google
397
423
  @background_color = args[:background_color] if args.key?(:background_color)
398
424
  @color_id = args[:color_id] if args.key?(:color_id)
399
425
  @conference_properties = args[:conference_properties] if args.key?(:conference_properties)
426
+ @data_owner = args[:data_owner] if args.key?(:data_owner)
400
427
  @default_reminders = args[:default_reminders] if args.key?(:default_reminders)
401
428
  @deleted = args[:deleted] if args.key?(:deleted)
402
429
  @description = args[:description] if args.key?(:description)
@@ -2088,9 +2115,11 @@ module Google
2088
2115
  # - "writer" - The user has read and write access to the calendar. Private
2089
2116
  # events will appear to users with writer access, and event details will be
2090
2117
  # visible.
2091
- # - "owner" - The user has ownership of the calendar. This role has all of the
2092
- # permissions of the writer role with the additional ability to see and
2093
- # manipulate ACLs.
2118
+ # - "owner" - The user has manager access to the calendar. This role has all of
2119
+ # the permissions of the writer role with the additional ability to see and
2120
+ # modify access levels of other users.
2121
+ # Important: the owner role is different from the calendar's data owner. A
2122
+ # calendar has a single data owner, but can have multiple users with owner role.
2094
2123
  # Corresponds to the JSON property `accessRole`
2095
2124
  # @return [String]
2096
2125
  attr_accessor :access_role
@@ -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.48.0"
19
+ GEM_VERSION = "0.50.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.17.0"
22
+ GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250404"
25
+ REVISION = "20251123"
26
26
  end
27
27
  end
28
28
  end
@@ -339,8 +339,10 @@ module Google
339
339
  class Calendar
340
340
  # @private
341
341
  class Representation < Google::Apis::Core::JsonRepresentation
342
+ property :auto_accept_invitations, as: 'autoAcceptInvitations'
342
343
  property :conference_properties, as: 'conferenceProperties', class: Google::Apis::CalendarV3::ConferenceProperties, decorator: Google::Apis::CalendarV3::ConferenceProperties::Representation
343
344
 
345
+ property :data_owner, as: 'dataOwner'
344
346
  property :description, as: 'description'
345
347
  property :etag, as: 'etag'
346
348
  property :id, as: 'id'
@@ -371,6 +373,7 @@ module Google
371
373
  property :color_id, as: 'colorId'
372
374
  property :conference_properties, as: 'conferenceProperties', class: Google::Apis::CalendarV3::ConferenceProperties, decorator: Google::Apis::CalendarV3::ConferenceProperties::Representation
373
375
 
376
+ property :data_owner, as: 'dataOwner'
374
377
  collection :default_reminders, as: 'defaultReminders', class: Google::Apis::CalendarV3::EventReminder, decorator: Google::Apis::CalendarV3::EventReminder::Representation
375
378
 
376
379
  property :deleted, as: 'deleted'
@@ -813,6 +813,14 @@ module Google
813
813
  end
814
814
 
815
815
  # Creates a secondary calendar.
816
+ # The authenticated user for the request is made the data owner of the new
817
+ # calendar.
818
+ # Note: We recommend to authenticate as the intended data owner of the calendar.
819
+ # You can use domain-wide delegation of authority to allow applications to act
820
+ # on behalf of a specific user. Don't use a service account for authentication.
821
+ # If you use a service account for authentication, the service account is the
822
+ # data owner, which can lead to unexpected behavior. For example, if a service
823
+ # account is the data owner, data ownership cannot be transferred.
816
824
  # @param [Google::Apis::CalendarV3::Calendar] calendar_object
817
825
  # @param [String] fields
818
826
  # Selector specifying which fields to include in a partial response.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-calendar_v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.48.0
4
+ version: 0.50.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-calendar_v3/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-calendar_v3/v0.48.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-calendar_v3/v0.50.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-calendar_v3
62
62
  rdoc_options: []
63
63
  require_paths:
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.8
76
+ rubygems_version: 3.6.9
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Calendar API V3
79
79
  test_files: []