@@ -95,8 +95,11 @@ class AclRule
9595 # - "writer" - Provides read and write access to the calendar. Private events
9696 # will appear to users with writer access, and event details will be visible.
9797 # 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.
100103 # Corresponds to the JSON property `role`
101104 # @return [String]
102105 attr_accessor :role
@@ -161,6 +164,12 @@ class Calendar
161164 # @return [Google::Apis::CalendarV3::ConferenceProperties]
162165 attr_accessor :conference_properties
163166
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+
164173 # Description of the calendar. Optional.
165174 # Corresponds to the JSON property `description`
166175 # @return [String]
@@ -205,6 +214,7 @@ def initialize(**args)
205214 # Update properties of this object
206215 def update! ( **args )
207216 @conference_properties = args [ :conference_properties ] if args . key? ( :conference_properties )
217+ @data_owner = args [ :data_owner ] if args . key? ( :data_owner )
208218 @description = args [ :description ] if args . key? ( :description )
209219 @etag = args [ :etag ] if args . key? ( :etag )
210220 @id = args [ :id ] if args . key? ( :id )
@@ -272,9 +282,11 @@ class CalendarListEntry
272282 # to users with reader access, but event details will be hidden.
273283 # - "writer" - Provides read and write access to the calendar. Private events
274284 # 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.
278290 # Corresponds to the JSON property `accessRole`
279291 # @return [String]
280292 attr_accessor :access_role
@@ -301,6 +313,12 @@ class CalendarListEntry
301313 # @return [Google::Apis::CalendarV3::ConferenceProperties]
302314 attr_accessor :conference_properties
303315
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+
304322 # The default reminders that the authenticated user has for this calendar.
305323 # Corresponds to the JSON property `defaultReminders`
306324 # @return [Array<Google::Apis::CalendarV3::EventReminder>]
@@ -397,6 +415,7 @@ def update!(**args)
397415 @background_color = args [ :background_color ] if args . key? ( :background_color )
398416 @color_id = args [ :color_id ] if args . key? ( :color_id )
399417 @conference_properties = args [ :conference_properties ] if args . key? ( :conference_properties )
418+ @data_owner = args [ :data_owner ] if args . key? ( :data_owner )
400419 @default_reminders = args [ :default_reminders ] if args . key? ( :default_reminders )
401420 @deleted = args [ :deleted ] if args . key? ( :deleted )
402421 @description = args [ :description ] if args . key? ( :description )
@@ -2088,9 +2107,11 @@ class Events
20882107 # - "writer" - The user has read and write access to the calendar. Private
20892108 # events will appear to users with writer access, and event details will be
20902109 # 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.
20942115 # Corresponds to the JSON property `accessRole`
20952116 # @return [String]
20962117 attr_accessor :access_role
0 commit comments