Skip to content

Commit d03756e

Browse files
feat(monitoring): update the api
#### monitoring:v1 The following keys were added: - schemas.CollapsibleGroup (Total Keys: 3) - schemas.Widget.properties.collapsibleGroup.$ref (Total Keys: 1) #### monitoring:v3 The following keys were added: - schemas.MetricThreshold.properties.evaluationMissingData.type (Total Keys: 1) - schemas.MonitoringQueryLanguageCondition.properties.evaluationMissingData.type (Total Keys: 1)
1 parent 251a393 commit d03756e

9 files changed

+164
-33
lines changed

docs/dyn/monitoring_v1.projects.dashboards.html

Lines changed: 72 additions & 0 deletions
Large diffs are not rendered by default.

docs/dyn/monitoring_v3.folders.timeSeries.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ <h2>Instance Methods</h2>
7979
<p class="firstline">Close httplib2 connections.</p>
8080
<p class="toc_element">
8181
<code><a href="#list">list(name, aggregation_alignmentPeriod=None, aggregation_crossSeriesReducer=None, aggregation_groupByFields=None, aggregation_perSeriesAligner=None, filter=None, interval_endTime=None, interval_startTime=None, orderBy=None, pageSize=None, pageToken=None, secondaryAggregation_alignmentPeriod=None, secondaryAggregation_crossSeriesReducer=None, secondaryAggregation_groupByFields=None, secondaryAggregation_perSeriesAligner=None, view=None, x__xgafv=None)</a></code></p>
82-
<p class="firstline">Lists time series that match a filter. This method does not require a Workspace.</p>
82+
<p class="firstline">Lists time series that match a filter.</p>
8383
<p class="toc_element">
8484
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
8585
<p class="firstline">Retrieves the next page of results.</p>
@@ -91,7 +91,7 @@ <h3>Method Details</h3>
9191

9292
<div class="method">
9393
<code class="details" id="list">list(name, aggregation_alignmentPeriod=None, aggregation_crossSeriesReducer=None, aggregation_groupByFields=None, aggregation_perSeriesAligner=None, filter=None, interval_endTime=None, interval_startTime=None, orderBy=None, pageSize=None, pageToken=None, secondaryAggregation_alignmentPeriod=None, secondaryAggregation_crossSeriesReducer=None, secondaryAggregation_groupByFields=None, secondaryAggregation_perSeriesAligner=None, view=None, x__xgafv=None)</code>
94-
<pre>Lists time series that match a filter. This method does not require a Workspace.
94+
<pre>Lists time series that match a filter.
9595

9696
Args:
9797
name: string, Required. The project (https://cloud.google.com/monitoring/api/v3#project_name), organization or folder on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER] organizations/[ORGANIZATION_ID] folders/[FOLDER_ID] (required)

docs/dyn/monitoring_v3.organizations.timeSeries.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ <h2>Instance Methods</h2>
7979
<p class="firstline">Close httplib2 connections.</p>
8080
<p class="toc_element">
8181
<code><a href="#list">list(name, aggregation_alignmentPeriod=None, aggregation_crossSeriesReducer=None, aggregation_groupByFields=None, aggregation_perSeriesAligner=None, filter=None, interval_endTime=None, interval_startTime=None, orderBy=None, pageSize=None, pageToken=None, secondaryAggregation_alignmentPeriod=None, secondaryAggregation_crossSeriesReducer=None, secondaryAggregation_groupByFields=None, secondaryAggregation_perSeriesAligner=None, view=None, x__xgafv=None)</a></code></p>
82-
<p class="firstline">Lists time series that match a filter. This method does not require a Workspace.</p>
82+
<p class="firstline">Lists time series that match a filter.</p>
8383
<p class="toc_element">
8484
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
8585
<p class="firstline">Retrieves the next page of results.</p>
@@ -91,7 +91,7 @@ <h3>Method Details</h3>
9191

9292
<div class="method">
9393
<code class="details" id="list">list(name, aggregation_alignmentPeriod=None, aggregation_crossSeriesReducer=None, aggregation_groupByFields=None, aggregation_perSeriesAligner=None, filter=None, interval_endTime=None, interval_startTime=None, orderBy=None, pageSize=None, pageToken=None, secondaryAggregation_alignmentPeriod=None, secondaryAggregation_crossSeriesReducer=None, secondaryAggregation_groupByFields=None, secondaryAggregation_perSeriesAligner=None, view=None, x__xgafv=None)</code>
94-
<pre>Lists time series that match a filter. This method does not require a Workspace.
94+
<pre>Lists time series that match a filter.
9595

9696
Args:
9797
name: string, Required. The project (https://cloud.google.com/monitoring/api/v3#project_name), organization or folder on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER] organizations/[ORGANIZATION_ID] folders/[FOLDER_ID] (required)

docs/dyn/monitoring_v3.projects.alertPolicies.html

Lines changed: 18 additions & 6 deletions
Large diffs are not rendered by default.

docs/dyn/monitoring_v3.projects.metricDescriptors.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,10 @@ <h2>Instance Methods</h2>
8585
<p class="firstline">Deletes a metric descriptor. Only user-created custom metrics (https://cloud.google.com/monitoring/custom-metrics) can be deleted.</p>
8686
<p class="toc_element">
8787
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
88-
<p class="firstline">Gets a single metric descriptor. This method does not require a Workspace.</p>
88+
<p class="firstline">Gets a single metric descriptor.</p>
8989
<p class="toc_element">
9090
<code><a href="#list">list(name, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
91-
<p class="firstline">Lists metric descriptors that match a filter. This method does not require a Workspace.</p>
91+
<p class="firstline">Lists metric descriptors that match a filter.</p>
9292
<p class="toc_element">
9393
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
9494
<p class="firstline">Retrieves the next page of results.</p>
@@ -188,7 +188,7 @@ <h3>Method Details</h3>
188188

189189
<div class="method">
190190
<code class="details" id="get">get(name, x__xgafv=None)</code>
191-
<pre>Gets a single metric descriptor. This method does not require a Workspace.
191+
<pre>Gets a single metric descriptor.
192192

193193
Args:
194194
name: string, Required. The metric descriptor on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID] An example value of [METRIC_ID] is &quot;compute.googleapis.com/instance/disk/read_bytes_count&quot;. (required)
@@ -229,7 +229,7 @@ <h3>Method Details</h3>
229229

230230
<div class="method">
231231
<code class="details" id="list">list(name, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
232-
<pre>Lists metric descriptors that match a filter. This method does not require a Workspace.
232+
<pre>Lists metric descriptors that match a filter.
233233

234234
Args:
235235
name: string, Required. The project (https://cloud.google.com/monitoring/api/v3#project_name) on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER] (required)

docs/dyn/monitoring_v3.projects.monitoredResourceDescriptors.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,10 @@ <h2>Instance Methods</h2>
7979
<p class="firstline">Close httplib2 connections.</p>
8080
<p class="toc_element">
8181
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
82-
<p class="firstline">Gets a single monitored resource descriptor. This method does not require a Workspace.</p>
82+
<p class="firstline">Gets a single monitored resource descriptor.</p>
8383
<p class="toc_element">
8484
<code><a href="#list">list(name, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
85-
<p class="firstline">Lists monitored resource descriptors that match a filter. This method does not require a Workspace.</p>
85+
<p class="firstline">Lists monitored resource descriptors that match a filter.</p>
8686
<p class="toc_element">
8787
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
8888
<p class="firstline">Retrieves the next page of results.</p>
@@ -94,7 +94,7 @@ <h3>Method Details</h3>
9494

9595
<div class="method">
9696
<code class="details" id="get">get(name, x__xgafv=None)</code>
97-
<pre>Gets a single monitored resource descriptor. This method does not require a Workspace.
97+
<pre>Gets a single monitored resource descriptor.
9898

9999
Args:
100100
name: string, Required. The monitored resource descriptor to get. The format is: projects/[PROJECT_ID_OR_NUMBER]/monitoredResourceDescriptors/[RESOURCE_TYPE] The [RESOURCE_TYPE] is a predefined type, such as cloudsql_database. (required)
@@ -124,7 +124,7 @@ <h3>Method Details</h3>
124124

125125
<div class="method">
126126
<code class="details" id="list">list(name, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
127-
<pre>Lists monitored resource descriptors that match a filter. This method does not require a Workspace.
127+
<pre>Lists monitored resource descriptors that match a filter.
128128

129129
Args:
130130
name: string, Required. The project (https://cloud.google.com/monitoring/api/v3#project_name) on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER] (required)

docs/dyn/monitoring_v3.projects.timeSeries.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,13 @@ <h2>Instance Methods</h2>
8585
<p class="firstline">Creates or adds data to one or more service time series. A service time series is a time series for a metric from a Google Cloud service. The response is empty if all time series in the request were written. If any time series could not be written, a corresponding failure message is included in the error response. This endpoint rejects writes to user-defined metrics. This method is only for use by Google Cloud services. Use projects.timeSeries.create instead.</p>
8686
<p class="toc_element">
8787
<code><a href="#list">list(name, aggregation_alignmentPeriod=None, aggregation_crossSeriesReducer=None, aggregation_groupByFields=None, aggregation_perSeriesAligner=None, filter=None, interval_endTime=None, interval_startTime=None, orderBy=None, pageSize=None, pageToken=None, secondaryAggregation_alignmentPeriod=None, secondaryAggregation_crossSeriesReducer=None, secondaryAggregation_groupByFields=None, secondaryAggregation_perSeriesAligner=None, view=None, x__xgafv=None)</a></code></p>
88-
<p class="firstline">Lists time series that match a filter. This method does not require a Workspace.</p>
88+
<p class="firstline">Lists time series that match a filter.</p>
8989
<p class="toc_element">
9090
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
9191
<p class="firstline">Retrieves the next page of results.</p>
9292
<p class="toc_element">
9393
<code><a href="#query">query(name, body=None, x__xgafv=None)</a></code></p>
94-
<p class="firstline">Queries time series using Monitoring Query Language. This method does not require a Workspace.</p>
94+
<p class="firstline">Queries time series using Monitoring Query Language.</p>
9595
<p class="toc_element">
9696
<code><a href="#query_next">query_next(previous_request, previous_response)</a></code></p>
9797
<p class="firstline">Retrieves the next page of results.</p>
@@ -313,7 +313,7 @@ <h3>Method Details</h3>
313313

314314
<div class="method">
315315
<code class="details" id="list">list(name, aggregation_alignmentPeriod=None, aggregation_crossSeriesReducer=None, aggregation_groupByFields=None, aggregation_perSeriesAligner=None, filter=None, interval_endTime=None, interval_startTime=None, orderBy=None, pageSize=None, pageToken=None, secondaryAggregation_alignmentPeriod=None, secondaryAggregation_crossSeriesReducer=None, secondaryAggregation_groupByFields=None, secondaryAggregation_perSeriesAligner=None, view=None, x__xgafv=None)</code>
316-
<pre>Lists time series that match a filter. This method does not require a Workspace.
316+
<pre>Lists time series that match a filter.
317317

318318
Args:
319319
name: string, Required. The project (https://cloud.google.com/monitoring/api/v3#project_name), organization or folder on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER] organizations/[ORGANIZATION_ID] folders/[FOLDER_ID] (required)
@@ -527,7 +527,7 @@ <h3>Method Details</h3>
527527

528528
<div class="method">
529529
<code class="details" id="query">query(name, body=None, x__xgafv=None)</code>
530-
<pre>Queries time series using Monitoring Query Language. This method does not require a Workspace.
530+
<pre>Queries time series using Monitoring Query Language.
531531

532532
Args:
533533
name: string, Required. The project (https://cloud.google.com/monitoring/api/v3#project_name) on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER] (required)

googleapiclient/discovery_cache/documents/monitoring.v1.json

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@
679679
}
680680
}
681681
},
682-
"revision": "20220131",
682+
"revision": "20220214",
683683
"rootUrl": "https://monitoring.googleapis.com/",
684684
"schemas": {
685685
"Aggregation": {
@@ -842,6 +842,17 @@
842842
},
843843
"type": "object"
844844
},
845+
"CollapsibleGroup": {
846+
"description": "A widget that groups the other widgets. All widgets that are within the area spanned by the grouping widget are considered member widgets.",
847+
"id": "CollapsibleGroup",
848+
"properties": {
849+
"collapsed": {
850+
"description": "The collapsed state of the widget on first page load.",
851+
"type": "boolean"
852+
}
853+
},
854+
"type": "object"
855+
},
845856
"Column": {
846857
"description": "Defines the layout properties and content for a column.",
847858
"id": "Column",
@@ -1947,6 +1958,10 @@
19471958
"$ref": "Empty",
19481959
"description": "A blank space."
19491960
},
1961+
"collapsibleGroup": {
1962+
"$ref": "CollapsibleGroup",
1963+
"description": "A widget that groups the other widgets. All widgets that are within the area spanned by the grouping widget are considered member widgets."
1964+
},
19501965
"logsPanel": {
19511966
"$ref": "LogsPanel",
19521967
"description": "A widget that shows a stream of logs."

googleapiclient/discovery_cache/documents/monitoring.v3.json

Lines changed: 42 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119
"timeSeries": {
120120
"methods": {
121121
"list": {
122-
"description": "Lists time series that match a filter. This method does not require a Workspace.",
122+
"description": "Lists time series that match a filter.",
123123
"flatPath": "v3/folders/{foldersId}/timeSeries",
124124
"httpMethod": "GET",
125125
"id": "monitoring.folders.timeSeries.list",
@@ -392,7 +392,7 @@
392392
"timeSeries": {
393393
"methods": {
394394
"list": {
395-
"description": "Lists time series that match a filter. This method does not require a Workspace.",
395+
"description": "Lists time series that match a filter.",
396396
"flatPath": "v3/organizations/{organizationsId}/timeSeries",
397397
"httpMethod": "GET",
398398
"id": "monitoring.organizations.timeSeries.list",
@@ -1168,7 +1168,7 @@
11681168
]
11691169
},
11701170
"get": {
1171-
"description": "Gets a single metric descriptor. This method does not require a Workspace.",
1171+
"description": "Gets a single metric descriptor.",
11721172
"flatPath": "v3/projects/{projectsId}/metricDescriptors/{metricDescriptorsId}",
11731173
"httpMethod": "GET",
11741174
"id": "monitoring.projects.metricDescriptors.get",
@@ -1196,7 +1196,7 @@
11961196
]
11971197
},
11981198
"list": {
1199-
"description": "Lists metric descriptors that match a filter. This method does not require a Workspace.",
1199+
"description": "Lists metric descriptors that match a filter.",
12001200
"flatPath": "v3/projects/{projectsId}/metricDescriptors",
12011201
"httpMethod": "GET",
12021202
"id": "monitoring.projects.metricDescriptors.list",
@@ -1244,7 +1244,7 @@
12441244
"monitoredResourceDescriptors": {
12451245
"methods": {
12461246
"get": {
1247-
"description": "Gets a single monitored resource descriptor. This method does not require a Workspace.",
1247+
"description": "Gets a single monitored resource descriptor.",
12481248
"flatPath": "v3/projects/{projectsId}/monitoredResourceDescriptors/{monitoredResourceDescriptorsId}",
12491249
"httpMethod": "GET",
12501250
"id": "monitoring.projects.monitoredResourceDescriptors.get",
@@ -1272,7 +1272,7 @@
12721272
]
12731273
},
12741274
"list": {
1275-
"description": "Lists monitored resource descriptors that match a filter. This method does not require a Workspace.",
1275+
"description": "Lists monitored resource descriptors that match a filter.",
12761276
"flatPath": "v3/projects/{projectsId}/monitoredResourceDescriptors",
12771277
"httpMethod": "GET",
12781278
"id": "monitoring.projects.monitoredResourceDescriptors.list",
@@ -1710,7 +1710,7 @@
17101710
]
17111711
},
17121712
"list": {
1713-
"description": "Lists time series that match a filter. This method does not require a Workspace.",
1713+
"description": "Lists time series that match a filter.",
17141714
"flatPath": "v3/projects/{projectsId}/timeSeries",
17151715
"httpMethod": "GET",
17161716
"id": "monitoring.projects.timeSeries.list",
@@ -1975,7 +1975,7 @@
19751975
]
19761976
},
19771977
"query": {
1978-
"description": "Queries time series using Monitoring Query Language. This method does not require a Workspace.",
1978+
"description": "Queries time series using Monitoring Query Language.",
19791979
"flatPath": "v3/projects/{projectsId}/timeSeries:query",
19801980
"httpMethod": "POST",
19811981
"id": "monitoring.projects.timeSeries.query",
@@ -2571,7 +2571,7 @@
25712571
}
25722572
}
25732573
},
2574-
"revision": "20220131",
2574+
"revision": "20220214",
25752575
"rootUrl": "https://monitoring.googleapis.com/",
25762576
"schemas": {
25772577
"Aggregation": {
@@ -3216,7 +3216,7 @@
32163216
"id": "Documentation",
32173217
"properties": {
32183218
"content": {
3219-
"description": "The text of the documentation, interpreted according to mime_type. The content may not exceed 8,192 Unicode characters and may not exceed more than 10,240 bytes when encoded in UTF-8 format, whichever is smaller.",
3219+
"description": "The text of the documentation, interpreted according to mime_type. The content may not exceed 8,192 Unicode characters and may not exceed more than 10,240 bytes when encoded in UTF-8 format, whichever is smaller. This text can be templatized by using variables (https://cloud.google.com/monitoring/alerts/doc-variables).",
32203220
"type": "string"
32213221
},
32223222
"mimeType": {
@@ -4259,6 +4259,22 @@
42594259
"format": "google-duration",
42604260
"type": "string"
42614261
},
4262+
"evaluationMissingData": {
4263+
"description": "A condition control that determines how metric-threshold conditions are evaluated when data stops arriving.",
4264+
"enum": [
4265+
"EVALUATION_MISSING_DATA_UNSPECIFIED",
4266+
"EVALUATION_MISSING_DATA_INACTIVE",
4267+
"EVALUATION_MISSING_DATA_ACTIVE",
4268+
"EVALUATION_MISSING_DATA_NO_OP"
4269+
],
4270+
"enumDescriptions": [
4271+
"An unspecified evaluation missing data option, if used, it will default to EVALUATION_MISSING_DATA_ACTIVE.",
4272+
"If there is no data to evaluate the condition, then evaluate the condition as false.",
4273+
"If there is no data to evaluate the condition, then evaluate the condition as true. The default for conditions with a duration value.",
4274+
"Do not evaluate the condition to any value if there is no data."
4275+
],
4276+
"type": "string"
4277+
},
42624278
"filter": {
42634279
"description": "Required. A filter (https://cloud.google.com/monitoring/api/v3/filters) that identifies which time series should be compared with the threshold.The filter is similar to the one that is specified in the ListTimeSeries request (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list) (that call is useful to verify the time series that will be retrieved / processed). The filter must specify the metric type and the resource type. Optionally, it can specify resource labels and metric labels. This field must not exceed 2048 Unicode characters in length.",
42644280
"type": "string"
@@ -4378,6 +4394,22 @@
43784394
"format": "google-duration",
43794395
"type": "string"
43804396
},
4397+
"evaluationMissingData": {
4398+
"description": "A condition control that determines how metric-threshold conditions are evaluated when data stops arriving.",
4399+
"enum": [
4400+
"EVALUATION_MISSING_DATA_UNSPECIFIED",
4401+
"EVALUATION_MISSING_DATA_INACTIVE",
4402+
"EVALUATION_MISSING_DATA_ACTIVE",
4403+
"EVALUATION_MISSING_DATA_NO_OP"
4404+
],
4405+
"enumDescriptions": [
4406+
"An unspecified evaluation missing data option, if used, it will default to EVALUATION_MISSING_DATA_ACTIVE.",
4407+
"If there is no data to evaluate the condition, then evaluate the condition as false.",
4408+
"If there is no data to evaluate the condition, then evaluate the condition as true. The default for conditions with a duration value.",
4409+
"Do not evaluate the condition to any value if there is no data."
4410+
],
4411+
"type": "string"
4412+
},
43814413
"query": {
43824414
"description": "Monitoring Query Language (https://cloud.google.com/monitoring/mql) query that outputs a boolean stream.",
43834415
"type": "string"

0 commit comments

Comments
 (0)