From a16f81923bc581c53e481e9b1b5332aa15a03e2c Mon Sep 17 00:00:00 2001 From: yoshi-automation Date: Mon, 3 May 2021 03:23:30 -0700 Subject: [PATCH] fix(calendar): update the API #### calendar:v3 The following keys were changed: - schemas.Colors.properties.calendar.additionalProperties.description - schemas.Colors.properties.calendar.description - schemas.Colors.properties.event.description --- discovery/calendar-v3.json | 8 ++++---- src/apis/calendar/v3.ts | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/discovery/calendar-v3.json b/discovery/calendar-v3.json index 4a1e7e40fe..9c2f82716c 100644 --- a/discovery/calendar-v3.json +++ b/discovery/calendar-v3.json @@ -1723,7 +1723,7 @@ } } }, - "revision": "20210417", + "revision": "20210424", "rootUrl": "https://www.googleapis.com/", "schemas": { "Acl": { @@ -2074,9 +2074,9 @@ "calendar": { "additionalProperties": { "$ref": "ColorDefinition", - "description": "A calendar color defintion." + "description": "A calendar color definition." }, - "description": "A global palette of calendar colors, mapping from the color ID to its definition. A calendarListEntry resource refers to one of these color IDs in its color field. Read-only.", + "description": "A global palette of calendar colors, mapping from the color ID to its definition. A calendarListEntry resource refers to one of these color IDs in its colorId field. Read-only.", "type": "object" }, "event": { @@ -2084,7 +2084,7 @@ "$ref": "ColorDefinition", "description": "An event color definition." }, - "description": "A global palette of event colors, mapping from the color ID to its definition. An event resource may refer to one of these color IDs in its color field. Read-only.", + "description": "A global palette of event colors, mapping from the color ID to its definition. An event resource may refer to one of these color IDs in its colorId field. Read-only.", "type": "object" }, "kind": { diff --git a/src/apis/calendar/v3.ts b/src/apis/calendar/v3.ts index 0a11a10804..2be5ca9b3f 100644 --- a/src/apis/calendar/v3.ts +++ b/src/apis/calendar/v3.ts @@ -384,11 +384,11 @@ export namespace calendar_v3 { } export interface Schema$Colors { /** - * A global palette of calendar colors, mapping from the color ID to its definition. A calendarListEntry resource refers to one of these color IDs in its color field. Read-only. + * A global palette of calendar colors, mapping from the color ID to its definition. A calendarListEntry resource refers to one of these color IDs in its colorId field. Read-only. */ calendar?: {[key: string]: Schema$ColorDefinition} | null; /** - * A global palette of event colors, mapping from the color ID to its definition. An event resource may refer to one of these color IDs in its color field. Read-only. + * A global palette of event colors, mapping from the color ID to its definition. An event resource may refer to one of these color IDs in its colorId field. Read-only. */ event?: {[key: string]: Schema$ColorDefinition} | null; /**