From d65b97792581d0da2ed17d504a75b8c6b1dab891 Mon Sep 17 00:00:00 2001 From: yoshi-automation Date: Wed, 21 Oct 2020 09:48:09 -0700 Subject: [PATCH] fix(dlp): update the API #### dlp:v2 The following keys were changed: - schemas.GoogleTypeDate.description - schemas.GoogleTypeDate.properties.day.description - schemas.GoogleTypeDate.properties.month.description - schemas.GoogleTypeDate.properties.year.description --- discovery/dlp-v2.json | 10 +++++----- src/apis/dlp/v2.ts | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/discovery/dlp-v2.json b/discovery/dlp-v2.json index 4b798e2292..831fe8cbcf 100644 --- a/discovery/dlp-v2.json +++ b/discovery/dlp-v2.json @@ -3136,7 +3136,7 @@ } } }, - "revision": "20201009", + "revision": "20201016", "rootUrl": "https://dlp.googleapis.com/", "schemas": { "GooglePrivacyDlpV2Action": { @@ -7251,21 +7251,21 @@ "type": "object" }, "GoogleTypeDate": { - "description": "Represents a whole or partial calendar date, e.g. a birthday. The time of day and time zone are either specified elsewhere or are not significant. The date is relative to the Proleptic Gregorian Calendar. This can represent: * A full date, with non-zero year, month and day values * A month and day value, with a zero year, e.g. an anniversary * A year on its own, with zero month and day values * A year and month value, with a zero day, e.g. a credit card expiration date Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.", + "description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values * A month and day value, with a zero year, such as an anniversary * A year on its own, with zero month and day values * A year and month value, with a zero day, such as a credit card expiration date Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.", "id": "GoogleTypeDate", "properties": { "day": { - "description": "Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a year by itself or a year and month where the day is not significant.", + "description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", "format": "int32", "type": "integer" }, "month": { - "description": "Month of year. Must be from 1 to 12, or 0 if specifying a year without a month and day.", + "description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", "format": "int32", "type": "integer" }, "year": { - "description": "Year of date. Must be from 1 to 9999, or 0 if specifying a date without a year.", + "description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", "format": "int32", "type": "integer" } diff --git a/src/apis/dlp/v2.ts b/src/apis/dlp/v2.ts index 6700cba77f..b33468663f 100644 --- a/src/apis/dlp/v2.ts +++ b/src/apis/dlp/v2.ts @@ -3112,19 +3112,19 @@ export namespace dlp_v2 { message?: string | null; } /** - * Represents a whole or partial calendar date, e.g. a birthday. The time of day and time zone are either specified elsewhere or are not significant. The date is relative to the Proleptic Gregorian Calendar. This can represent: * A full date, with non-zero year, month and day values * A month and day value, with a zero year, e.g. an anniversary * A year on its own, with zero month and day values * A year and month value, with a zero day, e.g. a credit card expiration date Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`. + * Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values * A month and day value, with a zero year, such as an anniversary * A year on its own, with zero month and day values * A year and month value, with a zero day, such as a credit card expiration date Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`. */ export interface Schema$GoogleTypeDate { /** - * Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a year by itself or a year and month where the day is not significant. + * Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. */ day?: number | null; /** - * Month of year. Must be from 1 to 12, or 0 if specifying a year without a month and day. + * Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. */ month?: number | null; /** - * Year of date. Must be from 1 to 9999, or 0 if specifying a date without a year. + * Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. */ year?: number | null; }