Skip to content

Commit a23299c

Browse files
1 parent 465d8e8 commit a23299c

File tree

8 files changed

+106
-26
lines changed

8 files changed

+106
-26
lines changed

clients/google-api-services-calendar/v3/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-calendar</artifactId>
25-
<version>v3-rev20250404-2.0.0</version>
25+
<version>v3-rev20251028-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-calendar:v3-rev20250404-2.0.0'
38+
implementation 'com.google.apis:google-api-services-calendar:v3-rev20251028-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-calendar/v3/2.0.0/com/google/api/services/calendar/Calendar.java

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2732,7 +2732,14 @@ public Get set(String parameterName, Object value) {
27322732
}
27332733
}
27342734
/**
2735-
* Creates a secondary calendar.
2735+
* Creates a secondary calendar. The authenticated user for the request is made the data owner of
2736+
* the new calendar.
2737+
*
2738+
* Note: We recommend to authenticate as the intended data owner of the calendar. You can use
2739+
* domain-wide delegation of authority to allow applications to act on behalf of a specific user.
2740+
* Don't use a service account for authentication. If you use a service account for authentication,
2741+
* the service account is the data owner, which can lead to unexpected behavior. For example, if a
2742+
* service account is the data owner, data ownership cannot be transferred.
27362743
*
27372744
* Create a request for the method "calendars.insert".
27382745
*
@@ -2753,7 +2760,14 @@ public class Insert extends CalendarRequest<com.google.api.services.calendar.mod
27532760
private static final String REST_PATH = "calendars";
27542761

27552762
/**
2756-
* Creates a secondary calendar.
2763+
* Creates a secondary calendar. The authenticated user for the request is made the data owner of
2764+
* the new calendar.
2765+
*
2766+
* Note: We recommend to authenticate as the intended data owner of the calendar. You can use
2767+
* domain-wide delegation of authority to allow applications to act on behalf of a specific user.
2768+
* Don't use a service account for authentication. If you use a service account for
2769+
* authentication, the service account is the data owner, which can lead to unexpected behavior.
2770+
* For example, if a service account is the data owner, data ownership cannot be transferred.
27572771
*
27582772
* Create a request for the method "calendars.insert".
27592773
*

clients/google-api-services-calendar/v3/2.0.0/com/google/api/services/calendar/model/AclRule.java

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,10 @@ public final class AclRule extends com.google.api.client.json.GenericJson {
5656
* access to the calendar. Private events will appear to users with reader access, but event
5757
* details will be hidden. - "writer" - Provides read and write access to the calendar. Private
5858
* events will appear to users with writer access, and event details will be visible. Provides
59-
* read access to the calendar's ACLs. - "owner" - Provides ownership of the calendar. This role
60-
* has all of the permissions of the writer role with the additional ability to manipulate ACLs.
59+
* read access to the calendar's ACLs. - "owner" - Provides manager access to the calendar. This
60+
* role has all of the permissions of the writer role with the additional ability to modify access
61+
* levels of other users. Important: the owner role is different from the calendar's data owner. A
62+
* calendar has a single data owner, but can have multiple users with owner role.
6163
* The value may be {@code null}.
6264
*/
6365
@com.google.api.client.util.Key
@@ -127,8 +129,10 @@ public AclRule setKind(java.lang.String kind) {
127129
* access to the calendar. Private events will appear to users with reader access, but event
128130
* details will be hidden. - "writer" - Provides read and write access to the calendar. Private
129131
* events will appear to users with writer access, and event details will be visible. Provides
130-
* read access to the calendar's ACLs. - "owner" - Provides ownership of the calendar. This role
131-
* has all of the permissions of the writer role with the additional ability to manipulate ACLs.
132+
* read access to the calendar's ACLs. - "owner" - Provides manager access to the calendar. This
133+
* role has all of the permissions of the writer role with the additional ability to modify access
134+
* levels of other users. Important: the owner role is different from the calendar's data owner. A
135+
* calendar has a single data owner, but can have multiple users with owner role.
132136
* @return value or {@code null} for none
133137
*/
134138
public java.lang.String getRole() {
@@ -141,8 +145,10 @@ public java.lang.String getRole() {
141145
* access to the calendar. Private events will appear to users with reader access, but event
142146
* details will be hidden. - "writer" - Provides read and write access to the calendar. Private
143147
* events will appear to users with writer access, and event details will be visible. Provides
144-
* read access to the calendar's ACLs. - "owner" - Provides ownership of the calendar. This role
145-
* has all of the permissions of the writer role with the additional ability to manipulate ACLs.
148+
* read access to the calendar's ACLs. - "owner" - Provides manager access to the calendar. This
149+
* role has all of the permissions of the writer role with the additional ability to modify access
150+
* levels of other users. Important: the owner role is different from the calendar's data owner. A
151+
* calendar has a single data owner, but can have multiple users with owner role.
146152
* @param role role or {@code null} for none
147153
*/
148154
public AclRule setRole(java.lang.String role) {

clients/google-api-services-calendar/v3/2.0.0/com/google/api/services/calendar/model/Calendar.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@ public final class Calendar extends com.google.api.client.json.GenericJson {
3636
@com.google.api.client.util.Key
3737
private ConferenceProperties conferenceProperties;
3838

39+
/**
40+
* The email of the owner of the calendar. Set only for secondary calendars. Read-only.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.String dataOwner;
45+
3946
/**
4047
* Description of the calendar. Optional.
4148
* The value may be {@code null}.
@@ -103,6 +110,23 @@ public Calendar setConferenceProperties(ConferenceProperties conferencePropertie
103110
return this;
104111
}
105112

113+
/**
114+
* The email of the owner of the calendar. Set only for secondary calendars. Read-only.
115+
* @return value or {@code null} for none
116+
*/
117+
public java.lang.String getDataOwner() {
118+
return dataOwner;
119+
}
120+
121+
/**
122+
* The email of the owner of the calendar. Set only for secondary calendars. Read-only.
123+
* @param dataOwner dataOwner or {@code null} for none
124+
*/
125+
public Calendar setDataOwner(java.lang.String dataOwner) {
126+
this.dataOwner = dataOwner;
127+
return this;
128+
}
129+
106130
/**
107131
* Description of the calendar. Optional.
108132
* @return value or {@code null} for none

clients/google-api-services-calendar/v3/2.0.0/com/google/api/services/calendar/model/CalendarListEntry.java

Lines changed: 36 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,10 @@ public final class CalendarListEntry extends com.google.api.client.json.GenericJ
3535
* Provides read access to the calendar. Private events will appear to users with reader access,
3636
* but event details will be hidden. - "writer" - Provides read and write access to the calendar.
3737
* Private events will appear to users with writer access, and event details will be visible. -
38-
* "owner" - Provides ownership of the calendar. This role has all of the permissions of the
39-
* writer role with the additional ability to see and manipulate ACLs.
38+
* "owner" - Provides manager access to the calendar. This role has all of the permissions of the
39+
* writer role with the additional ability to see and modify access levels of other users.
40+
* Important: the owner role is different from the calendar's data owner. A calendar has a single
41+
* data owner, but can have multiple users with owner role.
4042
* The value may be {@code null}.
4143
*/
4244
@com.google.api.client.util.Key
@@ -67,6 +69,13 @@ public final class CalendarListEntry extends com.google.api.client.json.GenericJ
6769
@com.google.api.client.util.Key
6870
private ConferenceProperties conferenceProperties;
6971

72+
/**
73+
* The email of the owner of the calendar. Set only for secondary calendars. Read-only.
74+
* The value may be {@code null}.
75+
*/
76+
@com.google.api.client.util.Key
77+
private java.lang.String dataOwner;
78+
7079
/**
7180
* The default reminders that the authenticated user has for this calendar.
7281
* The value may be {@code null}.
@@ -184,8 +193,10 @@ public final class CalendarListEntry extends com.google.api.client.json.GenericJ
184193
* Provides read access to the calendar. Private events will appear to users with reader access,
185194
* but event details will be hidden. - "writer" - Provides read and write access to the calendar.
186195
* Private events will appear to users with writer access, and event details will be visible. -
187-
* "owner" - Provides ownership of the calendar. This role has all of the permissions of the
188-
* writer role with the additional ability to see and manipulate ACLs.
196+
* "owner" - Provides manager access to the calendar. This role has all of the permissions of the
197+
* writer role with the additional ability to see and modify access levels of other users.
198+
* Important: the owner role is different from the calendar's data owner. A calendar has a single
199+
* data owner, but can have multiple users with owner role.
189200
* @return value or {@code null} for none
190201
*/
191202
public java.lang.String getAccessRole() {
@@ -198,8 +209,10 @@ public java.lang.String getAccessRole() {
198209
* Provides read access to the calendar. Private events will appear to users with reader access,
199210
* but event details will be hidden. - "writer" - Provides read and write access to the calendar.
200211
* Private events will appear to users with writer access, and event details will be visible. -
201-
* "owner" - Provides ownership of the calendar. This role has all of the permissions of the
202-
* writer role with the additional ability to see and manipulate ACLs.
212+
* "owner" - Provides manager access to the calendar. This role has all of the permissions of the
213+
* writer role with the additional ability to see and modify access levels of other users.
214+
* Important: the owner role is different from the calendar's data owner. A calendar has a single
215+
* data owner, but can have multiple users with owner role.
203216
* @param accessRole accessRole or {@code null} for none
204217
*/
205218
public CalendarListEntry setAccessRole(java.lang.String accessRole) {
@@ -266,6 +279,23 @@ public CalendarListEntry setConferenceProperties(ConferenceProperties conference
266279
return this;
267280
}
268281

282+
/**
283+
* The email of the owner of the calendar. Set only for secondary calendars. Read-only.
284+
* @return value or {@code null} for none
285+
*/
286+
public java.lang.String getDataOwner() {
287+
return dataOwner;
288+
}
289+
290+
/**
291+
* The email of the owner of the calendar. Set only for secondary calendars. Read-only.
292+
* @param dataOwner dataOwner or {@code null} for none
293+
*/
294+
public CalendarListEntry setDataOwner(java.lang.String dataOwner) {
295+
this.dataOwner = dataOwner;
296+
return this;
297+
}
298+
269299
/**
270300
* The default reminders that the authenticated user has for this calendar.
271301
* @return value or {@code null} for none

clients/google-api-services-calendar/v3/2.0.0/com/google/api/services/calendar/model/Events.java

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,10 @@ public final class Events extends com.google.api.client.json.GenericJson {
3535
* "reader" - The user has read access to the calendar. Private events will appear to users with
3636
* reader access, but event details will be hidden. - "writer" - The user has read and write
3737
* access to the calendar. Private events will appear to users with writer access, and event
38-
* details will be visible. - "owner" - The user has ownership of the calendar. This role has all
39-
* of the permissions of the writer role with the additional ability to see and manipulate ACLs.
38+
* details will be visible. - "owner" - The user has manager access to the calendar. This role
39+
* has all of the permissions of the writer role with the additional ability to see and modify
40+
* access levels of other users. Important: the owner role is different from the calendar's data
41+
* owner. A calendar has a single data owner, but can have multiple users with owner role.
4042
* The value may be {@code null}.
4143
*/
4244
@com.google.api.client.util.Key
@@ -135,8 +137,10 @@ public final class Events extends com.google.api.client.json.GenericJson {
135137
* "reader" - The user has read access to the calendar. Private events will appear to users with
136138
* reader access, but event details will be hidden. - "writer" - The user has read and write
137139
* access to the calendar. Private events will appear to users with writer access, and event
138-
* details will be visible. - "owner" - The user has ownership of the calendar. This role has all
139-
* of the permissions of the writer role with the additional ability to see and manipulate ACLs.
140+
* details will be visible. - "owner" - The user has manager access to the calendar. This role
141+
* has all of the permissions of the writer role with the additional ability to see and modify
142+
* access levels of other users. Important: the owner role is different from the calendar's data
143+
* owner. A calendar has a single data owner, but can have multiple users with owner role.
140144
* @return value or {@code null} for none
141145
*/
142146
public java.lang.String getAccessRole() {
@@ -149,8 +153,10 @@ public java.lang.String getAccessRole() {
149153
* "reader" - The user has read access to the calendar. Private events will appear to users with
150154
* reader access, but event details will be hidden. - "writer" - The user has read and write
151155
* access to the calendar. Private events will appear to users with writer access, and event
152-
* details will be visible. - "owner" - The user has ownership of the calendar. This role has all
153-
* of the permissions of the writer role with the additional ability to see and manipulate ACLs.
156+
* details will be visible. - "owner" - The user has manager access to the calendar. This role
157+
* has all of the permissions of the writer role with the additional ability to see and modify
158+
* access levels of other users. Important: the owner role is different from the calendar's data
159+
* owner. A calendar has a single data owner, but can have multiple users with owner role.
154160
* @param accessRole accessRole or {@code null} for none
155161
*/
156162
public Events setAccessRole(java.lang.String accessRole) {

clients/google-api-services-calendar/v3/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-calendar</artifactId>
11-
<version>v3-rev20250404-2.0.0</version>
12-
<name>Calendar API v3-rev20250404-2.0.0</name>
11+
<version>v3-rev20251028-2.0.0</version>
12+
<name>Calendar API v3-rev20251028-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-calendar/v3/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-calendar</artifactId>
25-
<version>v3-rev20250404-2.0.0</version>
25+
<version>v3-rev20251028-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-calendar:v3-rev20250404-2.0.0'
38+
implementation 'com.google.apis:google-api-services-calendar:v3-rev20251028-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)