From 81b47e52f2ea42422b8dbc367bdea13a99a37fe2 Mon Sep 17 00:00:00 2001 From: yoshi-automation Date: Mon, 3 Aug 2020 04:29:04 -0700 Subject: [PATCH] fix(logging): update the API #### logging:v2 The following keys were changed: - schemas.MetricDescriptor.description --- discovery/logging-v2.json | 4 ++-- src/apis/logging/v2.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/discovery/logging-v2.json b/discovery/logging-v2.json index 84158e200b5..adb7321f343 100644 --- a/discovery/logging-v2.json +++ b/discovery/logging-v2.json @@ -3222,7 +3222,7 @@ } } }, - "revision": "20200624", + "revision": "20200724", "rootUrl": "https://logging.googleapis.com/", "schemas": { "BigQueryOptions": { @@ -4008,7 +4008,7 @@ "type": "object" }, "MetricDescriptor": { - "description": "Defines a metric type and its schema. Once a metric descriptor is created, deleting or altering it stops data collection and makes the metric type's existing data unusable.The following are specific rules for service defined Monitoring metric descriptors:\ntype, metric_kind, value_type, description, display_name, launch_stage fields are all required. The unit field must be specified if the value_type is any of DOUBLE, INT64, DISTRIBUTION.\nMaximum of default 500 metric descriptors per service is allowed.\nMaximum of default 10 labels per metric descriptor is allowed.The default maximum limit can be overridden. Please follow https://cloud.google.com/monitoring/quotas", + "description": "Defines a metric type and its schema. Once a metric descriptor is created, deleting or altering it stops data collection and makes the metric type's existing data unusable.The following are specific rules for service defined Monitoring metric descriptors:\ntype, metric_kind, value_type and description fields are all required. The unit field must be specified if the value_type is any of DOUBLE, INT64, DISTRIBUTION.\nMaximum of default 500 metric descriptors per service is allowed.\nMaximum of default 10 labels per metric descriptor is allowed.The default maximum limit can be overridden. Please follow https://cloud.google.com/monitoring/quotas", "id": "MetricDescriptor", "properties": { "description": { diff --git a/src/apis/logging/v2.ts b/src/apis/logging/v2.ts index 538575e3e84..ceaa1f0d3ec 100644 --- a/src/apis/logging/v2.ts +++ b/src/apis/logging/v2.ts @@ -730,7 +730,7 @@ export namespace logging_v2 { writerIdentity?: string | null; } /** - * Defines a metric type and its schema. Once a metric descriptor is created, deleting or altering it stops data collection and makes the metric type's existing data unusable.The following are specific rules for service defined Monitoring metric descriptors: type, metric_kind, value_type, description, display_name, launch_stage fields are all required. The unit field must be specified if the value_type is any of DOUBLE, INT64, DISTRIBUTION. Maximum of default 500 metric descriptors per service is allowed. Maximum of default 10 labels per metric descriptor is allowed.The default maximum limit can be overridden. Please follow https://cloud.google.com/monitoring/quotas + * Defines a metric type and its schema. Once a metric descriptor is created, deleting or altering it stops data collection and makes the metric type's existing data unusable.The following are specific rules for service defined Monitoring metric descriptors: type, metric_kind, value_type and description fields are all required. The unit field must be specified if the value_type is any of DOUBLE, INT64, DISTRIBUTION. Maximum of default 500 metric descriptors per service is allowed. Maximum of default 10 labels per metric descriptor is allowed.The default maximum limit can be overridden. Please follow https://cloud.google.com/monitoring/quotas */ export interface Schema$MetricDescriptor { /**