google-apis-calendar_v3 0.48.0 → 0.49.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: b28f535a13a934fd6bc7e8594521ab908bb87269e70f8cd99e42b1a43764446d
4
+ data.tar.gz: 7da8b0f602f4cafee8568e60b36ef167da9fe7420be351284c189a4c1bd46d69
5
5
  SHA512:
6
- metadata.gz: 3b6530c33e7ad3133b2b78eaac78d0e36c57c7b5d18f84359bca213304808ced59c78bd9059496a005feb0e0d92b7c08c0b6ee073a94a1609414b633d8e90eb8
7
- data.tar.gz: 38a4194e95b37af1b41d3fefe637fe624aab604689a3b2c1b6e989337a8c2172447eacb7f760c489d95ca6e7e4a271050ea2c8f9cbd6ac7e746433e61eeff2ab
6
+ metadata.gz: cc734c67cd4fd789551d2edb6d789d372d159bc2953c65b376688b8ac00cd59fbf7da235764741e3b75d9e40c3187828894a5d705b6e0337ebc42f687f2a7449
7
+ data.tar.gz: c22731bcd253605d78e27ca42b229f423ae6d136f23ca005bf67e4dbe396aafcded51d8594ebc4e03acc9474b2b2ddc1ad54d462ca106f55c3babf7114f1762e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-calendar_v3
2
2
 
3
+ ### v0.49.0 (2025-11-09)
4
+
5
+ * Regenerated from discovery document revision 20251028
6
+ * Regenerated using generator version 0.18.0
7
+
3
8
  ### v0.48.0 (2025-05-04)
4
9
 
5
10
  * 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
@@ -161,6 +164,12 @@ module Google
161
164
  # @return [Google::Apis::CalendarV3::ConferenceProperties]
162
165
  attr_accessor :conference_properties
163
166
 
167
+ # The email of the owner of the calendar. Set only for secondary calendars. Read-
168
+ # only.
169
+ # Corresponds to the JSON property `dataOwner`
170
+ # @return [String]
171
+ attr_accessor :data_owner
172
+
164
173
  # Description of the calendar. Optional.
165
174
  # Corresponds to the JSON property `description`
166
175
  # @return [String]
@@ -205,6 +214,7 @@ module Google
205
214
  # Update properties of this object
206
215
  def update!(**args)
207
216
  @conference_properties = args[:conference_properties] if args.key?(:conference_properties)
217
+ @data_owner = args[:data_owner] if args.key?(:data_owner)
208
218
  @description = args[:description] if args.key?(:description)
209
219
  @etag = args[:etag] if args.key?(:etag)
210
220
  @id = args[:id] if args.key?(:id)
@@ -272,9 +282,11 @@ module Google
272
282
  # to users with reader access, but event details will be hidden.
273
283
  # - "writer" - Provides read and write access to the calendar. Private events
274
284
  # 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.
285
+ # - "owner" - Provides manager access to the calendar. This role has all of the
286
+ # permissions of the writer role with the additional ability to see and modify
287
+ # access levels of other users.
288
+ # Important: the owner role is different from the calendar's data owner. A
289
+ # calendar has a single data owner, but can have multiple users with owner role.
278
290
  # Corresponds to the JSON property `accessRole`
279
291
  # @return [String]
280
292
  attr_accessor :access_role
@@ -301,6 +313,12 @@ module Google
301
313
  # @return [Google::Apis::CalendarV3::ConferenceProperties]
302
314
  attr_accessor :conference_properties
303
315
 
316
+ # The email of the owner of the calendar. Set only for secondary calendars. Read-
317
+ # only.
318
+ # Corresponds to the JSON property `dataOwner`
319
+ # @return [String]
320
+ attr_accessor :data_owner
321
+
304
322
  # The default reminders that the authenticated user has for this calendar.
305
323
  # Corresponds to the JSON property `defaultReminders`
306
324
  # @return [Array<Google::Apis::CalendarV3::EventReminder>]
@@ -397,6 +415,7 @@ module Google
397
415
  @background_color = args[:background_color] if args.key?(:background_color)
398
416
  @color_id = args[:color_id] if args.key?(:color_id)
399
417
  @conference_properties = args[:conference_properties] if args.key?(:conference_properties)
418
+ @data_owner = args[:data_owner] if args.key?(:data_owner)
400
419
  @default_reminders = args[:default_reminders] if args.key?(:default_reminders)
401
420
  @deleted = args[:deleted] if args.key?(:deleted)
402
421
  @description = args[:description] if args.key?(:description)
@@ -2088,9 +2107,11 @@ module Google
2088
2107
  # - "writer" - The user has read and write access to the calendar. Private
2089
2108
  # events will appear to users with writer access, and event details will be
2090
2109
  # 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.
2110
+ # - "owner" - The user has manager access to the calendar. This role has all of
2111
+ # the permissions of the writer role with the additional ability to see and
2112
+ # modify access levels of other users.
2113
+ # Important: the owner role is different from the calendar's data owner. A
2114
+ # calendar has a single data owner, but can have multiple users with owner role.
2094
2115
  # Corresponds to the JSON property `accessRole`
2095
2116
  # @return [String]
2096
2117
  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.49.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 = "20251028"
26
26
  end
27
27
  end
28
28
  end
@@ -341,6 +341,7 @@ module Google
341
341
  class Representation < Google::Apis::Core::JsonRepresentation
342
342
  property :conference_properties, as: 'conferenceProperties', class: Google::Apis::CalendarV3::ConferenceProperties, decorator: Google::Apis::CalendarV3::ConferenceProperties::Representation
343
343
 
344
+ property :data_owner, as: 'dataOwner'
344
345
  property :description, as: 'description'
345
346
  property :etag, as: 'etag'
346
347
  property :id, as: 'id'
@@ -371,6 +372,7 @@ module Google
371
372
  property :color_id, as: 'colorId'
372
373
  property :conference_properties, as: 'conferenceProperties', class: Google::Apis::CalendarV3::ConferenceProperties, decorator: Google::Apis::CalendarV3::ConferenceProperties::Representation
373
374
 
375
+ property :data_owner, as: 'dataOwner'
374
376
  collection :default_reminders, as: 'defaultReminders', class: Google::Apis::CalendarV3::EventReminder, decorator: Google::Apis::CalendarV3::EventReminder::Representation
375
377
 
376
378
  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.49.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.49.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: []