Skip to content

Commit 7073b5e

Browse files
fix(monitoring): update the API
#### monitoring:v3 The following keys were changed: - schemas.MetricAbsence.properties.duration.description - schemas.MetricThreshold.properties.duration.description - schemas.MonitoringQueryLanguageCondition.properties.duration.description
1 parent 9c2cdde commit 7073b5e

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

discovery/monitoring-v3.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2720,7 +2720,7 @@
27202720
}
27212721
}
27222722
},
2723-
"revision": "20250723",
2723+
"revision": "20250731",
27242724
"rootUrl": "https://monitoring.googleapis.com/",
27252725
"schemas": {
27262726
"Aggregation": {
@@ -4542,7 +4542,7 @@
45424542
"type": "array"
45434543
},
45444544
"duration": {
4545-
"description": "The amount of time that a time series must fail to report new data to be considered failing. The minimum value of this field is 120 seconds. Larger values that are a multiple of a minute--for example, 240 or 300 seconds--are supported. If an invalid value is given, an error will be returned. The Duration.nanos field is ignored.",
4545+
"description": "Required. The amount of time that a time series must fail to report new data to be considered failing. The minimum value of this field is 120 seconds. Larger values that are a multiple of a minute--for example, 240 or 300 seconds--are supported. If an invalid value is given, an error will be returned.",
45464546
"format": "google-duration",
45474547
"type": "string"
45484548
},
@@ -4785,7 +4785,7 @@
47854785
"type": "string"
47864786
},
47874787
"duration": {
4788-
"description": "The amount of time that a time series must violate the threshold to be considered failing. Currently, only values that are a multiple of a minute--e.g., 0, 60, 120, or 300 seconds--are supported. If an invalid value is given, an error will be returned. When choosing a duration, it is useful to keep in mind the frequency of the underlying time series data (which may also be affected by any alignments specified in the aggregations field); a good duration is long enough so that a single outlier does not generate spurious alerts, but short enough that unhealthy states are detected and alerted on quickly.",
4788+
"description": "Required. The amount of time that a time series must violate the threshold to be considered failing. Currently, only values that are a multiple of a minute--e.g., 0, 60, 120, or 300 seconds--are supported. If an invalid value is given, an error will be returned. When choosing a duration, it is useful to keep in mind the frequency of the underlying time series data (which may also be affected by any alignments specified in the aggregations field); a good duration is long enough so that a single outlier does not generate spurious alerts, but short enough that unhealthy states are detected and alerted on quickly.",
47894789
"format": "google-duration",
47904790
"type": "string"
47914791
},
@@ -4936,7 +4936,7 @@
49364936
"id": "MonitoringQueryLanguageCondition",
49374937
"properties": {
49384938
"duration": {
4939-
"description": "The amount of time that a time series must violate the threshold to be considered failing. Currently, only values that are a multiple of a minute--e.g., 0, 60, 120, or 300 seconds--are supported. If an invalid value is given, an error will be returned. When choosing a duration, it is useful to keep in mind the frequency of the underlying time series data (which may also be affected by any alignments specified in the aggregations field); a good duration is long enough so that a single outlier does not generate spurious alerts, but short enough that unhealthy states are detected and alerted on quickly.",
4939+
"description": "Optional. The amount of time that a time series must violate the threshold to be considered failing. Currently, only values that are a multiple of a minute--e.g., 0, 60, 120, or 300 seconds--are supported. If an invalid value is given, an error will be returned. When choosing a duration, it is useful to keep in mind the frequency of the underlying time series data (which may also be affected by any alignments specified in the aggregations field); a good duration is long enough so that a single outlier does not generate spurious alerts, but short enough that unhealthy states are detected and alerted on quickly. The default value is zero.",
49404940
"format": "google-duration",
49414941
"type": "string"
49424942
},

src/apis/monitoring/v3.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1381,7 +1381,7 @@ export namespace monitoring_v3 {
13811381
*/
13821382
aggregations?: Schema$Aggregation[];
13831383
/**
1384-
* The amount of time that a time series must fail to report new data to be considered failing. The minimum value of this field is 120 seconds. Larger values that are a multiple of a minute--for example, 240 or 300 seconds--are supported. If an invalid value is given, an error will be returned. The Duration.nanos field is ignored.
1384+
* Required. The amount of time that a time series must fail to report new data to be considered failing. The minimum value of this field is 120 seconds. Larger values that are a multiple of a minute--for example, 240 or 300 seconds--are supported. If an invalid value is given, an error will be returned.
13851385
*/
13861386
duration?: string | null;
13871387
/**
@@ -1497,7 +1497,7 @@ export namespace monitoring_v3 {
14971497
*/
14981498
denominatorFilter?: string | null;
14991499
/**
1500-
* The amount of time that a time series must violate the threshold to be considered failing. Currently, only values that are a multiple of a minute--e.g., 0, 60, 120, or 300 seconds--are supported. If an invalid value is given, an error will be returned. When choosing a duration, it is useful to keep in mind the frequency of the underlying time series data (which may also be affected by any alignments specified in the aggregations field); a good duration is long enough so that a single outlier does not generate spurious alerts, but short enough that unhealthy states are detected and alerted on quickly.
1500+
* Required. The amount of time that a time series must violate the threshold to be considered failing. Currently, only values that are a multiple of a minute--e.g., 0, 60, 120, or 300 seconds--are supported. If an invalid value is given, an error will be returned. When choosing a duration, it is useful to keep in mind the frequency of the underlying time series data (which may also be affected by any alignments specified in the aggregations field); a good duration is long enough so that a single outlier does not generate spurious alerts, but short enough that unhealthy states are detected and alerted on quickly.
15011501
*/
15021502
duration?: string | null;
15031503
/**
@@ -1590,7 +1590,7 @@ export namespace monitoring_v3 {
15901590
*/
15911591
export interface Schema$MonitoringQueryLanguageCondition {
15921592
/**
1593-
* The amount of time that a time series must violate the threshold to be considered failing. Currently, only values that are a multiple of a minute--e.g., 0, 60, 120, or 300 seconds--are supported. If an invalid value is given, an error will be returned. When choosing a duration, it is useful to keep in mind the frequency of the underlying time series data (which may also be affected by any alignments specified in the aggregations field); a good duration is long enough so that a single outlier does not generate spurious alerts, but short enough that unhealthy states are detected and alerted on quickly.
1593+
* Optional. The amount of time that a time series must violate the threshold to be considered failing. Currently, only values that are a multiple of a minute--e.g., 0, 60, 120, or 300 seconds--are supported. If an invalid value is given, an error will be returned. When choosing a duration, it is useful to keep in mind the frequency of the underlying time series data (which may also be affected by any alignments specified in the aggregations field); a good duration is long enough so that a single outlier does not generate spurious alerts, but short enough that unhealthy states are detected and alerted on quickly. The default value is zero.
15941594
*/
15951595
duration?: string | null;
15961596
/**

0 commit comments

Comments
 (0)