Skip to content

Commit b6b8b99

Browse files
yoshi-automationquirogas
authored andcommitted
feat(calendar): update the API
#### calendar:v3 The following keys were added: - schemas.CalendarListEntry.properties.autoAcceptInvitations.description - schemas.CalendarListEntry.properties.autoAcceptInvitations.type
1 parent fdec0ac commit b6b8b99

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

discovery/calendar-v3.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1890,7 +1890,7 @@
18901890
}
18911891
}
18921892
},
1893-
"revision": "20251123",
1893+
"revision": "20251207",
18941894
"rootUrl": "https://www.googleapis.com/",
18951895
"schemas": {
18961896
"Acl": {
@@ -2066,6 +2066,10 @@
20662066
"description": "The effective access role that the authenticated user has on the calendar. Read-only. Possible values are: \n- \"freeBusyReader\" - Provides read access to free/busy information. \n- \"reader\" - Provides read access to the calendar. Private events will appear to users with reader access, but event details will be hidden. \n- \"writer\" - Provides read and write access to the calendar. Private events will appear to users with writer access, and event details will be visible. \n- \"owner\" - Provides manager access to the calendar. This role has all of the permissions of the writer role with the additional ability to see and modify access levels of other users.\nImportant: the owner role is different from the calendar's data owner. A calendar has a single data owner, but can have multiple users with owner role.",
20672067
"type": "string"
20682068
},
2069+
"autoAcceptInvitations": {
2070+
"description": "Whether this calendar automatically accepts invitations. Only valid for resource calendars. Read-only.",
2071+
"type": "boolean"
2072+
},
20692073
"backgroundColor": {
20702074
"description": "The main color of the calendar in the hexadecimal format \"#0088aa\". This property supersedes the index-based colorId property. To set or change this property, you need to specify colorRgbFormat=true in the parameters of the insert, update and patch methods. Optional.",
20712075
"type": "string"

src/apis/calendar/v3.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,10 @@ export namespace calendar_v3 {
246246
* Important: the owner role is different from the calendar's data owner. A calendar has a single data owner, but can have multiple users with owner role.
247247
*/
248248
accessRole?: string | null;
249+
/**
250+
* Whether this calendar automatically accepts invitations. Only valid for resource calendars. Read-only.
251+
*/
252+
autoAcceptInvitations?: boolean | null;
249253
/**
250254
* The main color of the calendar in the hexadecimal format "#0088aa". This property supersedes the index-based colorId property. To set or change this property, you need to specify colorRgbFormat=true in the parameters of the insert, update and patch methods. Optional.
251255
*/
@@ -2588,6 +2592,7 @@ export namespace calendar_v3 {
25882592
* // Example response
25892593
* // {
25902594
* // "accessRole": "my_accessRole",
2595+
* // "autoAcceptInvitations": false,
25912596
* // "backgroundColor": "my_backgroundColor",
25922597
* // "colorId": "my_colorId",
25932598
* // "conferenceProperties": {},
@@ -2745,6 +2750,7 @@ export namespace calendar_v3 {
27452750
* // request body parameters
27462751
* // {
27472752
* // "accessRole": "my_accessRole",
2753+
* // "autoAcceptInvitations": false,
27482754
* // "backgroundColor": "my_backgroundColor",
27492755
* // "colorId": "my_colorId",
27502756
* // "conferenceProperties": {},
@@ -2772,6 +2778,7 @@ export namespace calendar_v3 {
27722778
* // Example response
27732779
* // {
27742780
* // "accessRole": "my_accessRole",
2781+
* // "autoAcceptInvitations": false,
27752782
* // "backgroundColor": "my_backgroundColor",
27762783
* // "colorId": "my_colorId",
27772784
* // "conferenceProperties": {},
@@ -3094,6 +3101,7 @@ export namespace calendar_v3 {
30943101
* // request body parameters
30953102
* // {
30963103
* // "accessRole": "my_accessRole",
3104+
* // "autoAcceptInvitations": false,
30973105
* // "backgroundColor": "my_backgroundColor",
30983106
* // "colorId": "my_colorId",
30993107
* // "conferenceProperties": {},
@@ -3121,6 +3129,7 @@ export namespace calendar_v3 {
31213129
* // Example response
31223130
* // {
31233131
* // "accessRole": "my_accessRole",
3132+
* // "autoAcceptInvitations": false,
31243133
* // "backgroundColor": "my_backgroundColor",
31253134
* // "colorId": "my_colorId",
31263135
* // "conferenceProperties": {},
@@ -3282,6 +3291,7 @@ export namespace calendar_v3 {
32823291
* // request body parameters
32833292
* // {
32843293
* // "accessRole": "my_accessRole",
3294+
* // "autoAcceptInvitations": false,
32853295
* // "backgroundColor": "my_backgroundColor",
32863296
* // "colorId": "my_colorId",
32873297
* // "conferenceProperties": {},
@@ -3309,6 +3319,7 @@ export namespace calendar_v3 {
33093319
* // Example response
33103320
* // {
33113321
* // "accessRole": "my_accessRole",
3322+
* // "autoAcceptInvitations": false,
33123323
* // "backgroundColor": "my_backgroundColor",
33133324
* // "colorId": "my_colorId",
33143325
* // "conferenceProperties": {},

0 commit comments

Comments
 (0)