Skip to content

Commit cb568e1

Browse files
feat(monitoring): update the api
#### monitoring:v3 The following keys were added: - resources.projects.resources.snoozes.methods.create (Total Keys: 12) - resources.projects.resources.snoozes.methods.get (Total Keys: 11) - resources.projects.resources.snoozes.methods.list (Total Keys: 18) - resources.projects.resources.snoozes.methods.patch (Total Keys: 15) - schemas.Criteria (Total Keys: 4) - schemas.ForecastOptions (Total Keys: 4) - schemas.ListSnoozesResponse (Total Keys: 5) - schemas.MetricThreshold.properties.forecastOptions.$ref (Total Keys: 1) - schemas.Snooze (Total Keys: 6)
1 parent 23ca08a commit cb568e1

File tree

6 files changed

+533
-27
lines changed

6 files changed

+533
-27
lines changed

docs/dyn/monitoring_v1.projects.dashboards.html

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

docs/dyn/monitoring_v3.projects.alertPolicies.html

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,9 @@ <h3>Method Details</h3>
179179
&quot;duration&quot;: &quot;A String&quot;, # 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.
180180
&quot;evaluationMissingData&quot;: &quot;A String&quot;, # A condition control that determines how metric-threshold conditions are evaluated when data stops arriving.
181181
&quot;filter&quot;: &quot;A String&quot;, # 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.
182+
&quot;forecastOptions&quot;: { # Options used when forecasting the time series and testing the predicted value against the threshold. # When this field is present, the MetricThreshold condition forecasts whether the time series is predicted to violate the threshold within the forecast_horizion. When this field is not set, the MetricThreshold tests the current value of the timeseries against the threshold.
183+
&quot;forecastHorizon&quot;: &quot;A String&quot;, # Required. The length of time into the future to forecast whether a time series will violate the threshold. If the predicted value is found to violate the threshold, and the violation is observed in all forecasts made for the configured duration, then the time series is considered to be failing.
184+
},
182185
&quot;thresholdValue&quot;: 3.14, # A value against which to compare the time series.
183186
&quot;trigger&quot;: { # Specifies how many time series must fail a predicate to trigger a condition. If not specified, then a {count: 1} trigger is used. # The number/percent of time series for which the comparison must hold in order for the condition to trigger. If unspecified, then the condition will trigger if the comparison is true for any of the time series that have been identified by filter and aggregations, or by the ratio, if denominator_filter and denominator_aggregations are specified.
184187
&quot;count&quot;: 42, # The absolute number of time series that must fail the predicate for the condition to be triggered.
@@ -298,6 +301,9 @@ <h3>Method Details</h3>
298301
&quot;duration&quot;: &quot;A String&quot;, # 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.
299302
&quot;evaluationMissingData&quot;: &quot;A String&quot;, # A condition control that determines how metric-threshold conditions are evaluated when data stops arriving.
300303
&quot;filter&quot;: &quot;A String&quot;, # 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.
304+
&quot;forecastOptions&quot;: { # Options used when forecasting the time series and testing the predicted value against the threshold. # When this field is present, the MetricThreshold condition forecasts whether the time series is predicted to violate the threshold within the forecast_horizion. When this field is not set, the MetricThreshold tests the current value of the timeseries against the threshold.
305+
&quot;forecastHorizon&quot;: &quot;A String&quot;, # Required. The length of time into the future to forecast whether a time series will violate the threshold. If the predicted value is found to violate the threshold, and the violation is observed in all forecasts made for the configured duration, then the time series is considered to be failing.
306+
},
301307
&quot;thresholdValue&quot;: 3.14, # A value against which to compare the time series.
302308
&quot;trigger&quot;: { # Specifies how many time series must fail a predicate to trigger a condition. If not specified, then a {count: 1} trigger is used. # The number/percent of time series for which the comparison must hold in order for the condition to trigger. If unspecified, then the condition will trigger if the comparison is true for any of the time series that have been identified by filter and aggregations, or by the ratio, if denominator_filter and denominator_aggregations are specified.
303309
&quot;count&quot;: 42, # The absolute number of time series that must fail the predicate for the condition to be triggered.
@@ -442,6 +448,9 @@ <h3>Method Details</h3>
442448
&quot;duration&quot;: &quot;A String&quot;, # 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.
443449
&quot;evaluationMissingData&quot;: &quot;A String&quot;, # A condition control that determines how metric-threshold conditions are evaluated when data stops arriving.
444450
&quot;filter&quot;: &quot;A String&quot;, # 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.
451+
&quot;forecastOptions&quot;: { # Options used when forecasting the time series and testing the predicted value against the threshold. # When this field is present, the MetricThreshold condition forecasts whether the time series is predicted to violate the threshold within the forecast_horizion. When this field is not set, the MetricThreshold tests the current value of the timeseries against the threshold.
452+
&quot;forecastHorizon&quot;: &quot;A String&quot;, # Required. The length of time into the future to forecast whether a time series will violate the threshold. If the predicted value is found to violate the threshold, and the violation is observed in all forecasts made for the configured duration, then the time series is considered to be failing.
453+
},
445454
&quot;thresholdValue&quot;: 3.14, # A value against which to compare the time series.
446455
&quot;trigger&quot;: { # Specifies how many time series must fail a predicate to trigger a condition. If not specified, then a {count: 1} trigger is used. # The number/percent of time series for which the comparison must hold in order for the condition to trigger. If unspecified, then the condition will trigger if the comparison is true for any of the time series that have been identified by filter and aggregations, or by the ratio, if denominator_filter and denominator_aggregations are specified.
447456
&quot;count&quot;: 42, # The absolute number of time series that must fail the predicate for the condition to be triggered.
@@ -574,6 +583,9 @@ <h3>Method Details</h3>
574583
&quot;duration&quot;: &quot;A String&quot;, # 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.
575584
&quot;evaluationMissingData&quot;: &quot;A String&quot;, # A condition control that determines how metric-threshold conditions are evaluated when data stops arriving.
576585
&quot;filter&quot;: &quot;A String&quot;, # 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.
586+
&quot;forecastOptions&quot;: { # Options used when forecasting the time series and testing the predicted value against the threshold. # When this field is present, the MetricThreshold condition forecasts whether the time series is predicted to violate the threshold within the forecast_horizion. When this field is not set, the MetricThreshold tests the current value of the timeseries against the threshold.
587+
&quot;forecastHorizon&quot;: &quot;A String&quot;, # Required. The length of time into the future to forecast whether a time series will violate the threshold. If the predicted value is found to violate the threshold, and the violation is observed in all forecasts made for the configured duration, then the time series is considered to be failing.
588+
},
577589
&quot;thresholdValue&quot;: 3.14, # A value against which to compare the time series.
578590
&quot;trigger&quot;: { # Specifies how many time series must fail a predicate to trigger a condition. If not specified, then a {count: 1} trigger is used. # The number/percent of time series for which the comparison must hold in order for the condition to trigger. If unspecified, then the condition will trigger if the comparison is true for any of the time series that have been identified by filter and aggregations, or by the ratio, if denominator_filter and denominator_aggregations are specified.
579591
&quot;count&quot;: 42, # The absolute number of time series that must fail the predicate for the condition to be triggered.
@@ -713,6 +725,9 @@ <h3>Method Details</h3>
713725
&quot;duration&quot;: &quot;A String&quot;, # 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.
714726
&quot;evaluationMissingData&quot;: &quot;A String&quot;, # A condition control that determines how metric-threshold conditions are evaluated when data stops arriving.
715727
&quot;filter&quot;: &quot;A String&quot;, # 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.
728+
&quot;forecastOptions&quot;: { # Options used when forecasting the time series and testing the predicted value against the threshold. # When this field is present, the MetricThreshold condition forecasts whether the time series is predicted to violate the threshold within the forecast_horizion. When this field is not set, the MetricThreshold tests the current value of the timeseries against the threshold.
729+
&quot;forecastHorizon&quot;: &quot;A String&quot;, # Required. The length of time into the future to forecast whether a time series will violate the threshold. If the predicted value is found to violate the threshold, and the violation is observed in all forecasts made for the configured duration, then the time series is considered to be failing.
730+
},
716731
&quot;thresholdValue&quot;: 3.14, # A value against which to compare the time series.
717732
&quot;trigger&quot;: { # Specifies how many time series must fail a predicate to trigger a condition. If not specified, then a {count: 1} trigger is used. # The number/percent of time series for which the comparison must hold in order for the condition to trigger. If unspecified, then the condition will trigger if the comparison is true for any of the time series that have been identified by filter and aggregations, or by the ratio, if denominator_filter and denominator_aggregations are specified.
718733
&quot;count&quot;: 42, # The absolute number of time series that must fail the predicate for the condition to be triggered.
@@ -833,6 +848,9 @@ <h3>Method Details</h3>
833848
&quot;duration&quot;: &quot;A String&quot;, # 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.
834849
&quot;evaluationMissingData&quot;: &quot;A String&quot;, # A condition control that determines how metric-threshold conditions are evaluated when data stops arriving.
835850
&quot;filter&quot;: &quot;A String&quot;, # 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.
851+
&quot;forecastOptions&quot;: { # Options used when forecasting the time series and testing the predicted value against the threshold. # When this field is present, the MetricThreshold condition forecasts whether the time series is predicted to violate the threshold within the forecast_horizion. When this field is not set, the MetricThreshold tests the current value of the timeseries against the threshold.
852+
&quot;forecastHorizon&quot;: &quot;A String&quot;, # Required. The length of time into the future to forecast whether a time series will violate the threshold. If the predicted value is found to violate the threshold, and the violation is observed in all forecasts made for the configured duration, then the time series is considered to be failing.
853+
},
836854
&quot;thresholdValue&quot;: 3.14, # A value against which to compare the time series.
837855
&quot;trigger&quot;: { # Specifies how many time series must fail a predicate to trigger a condition. If not specified, then a {count: 1} trigger is used. # The number/percent of time series for which the comparison must hold in order for the condition to trigger. If unspecified, then the condition will trigger if the comparison is true for any of the time series that have been identified by filter and aggregations, or by the ratio, if denominator_filter and denominator_aggregations are specified.
838856
&quot;count&quot;: 42, # The absolute number of time series that must fail the predicate for the condition to be triggered.

docs/dyn/monitoring_v3.projects.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,11 @@ <h2>Instance Methods</h2>
109109
</p>
110110
<p class="firstline">Returns the notificationChannels Resource.</p>
111111

112+
<p class="toc_element">
113+
<code><a href="monitoring_v3.projects.snoozes.html">snoozes()</a></code>
114+
</p>
115+
<p class="firstline">Returns the snoozes Resource.</p>
116+
112117
<p class="toc_element">
113118
<code><a href="monitoring_v3.projects.timeSeries.html">timeSeries()</a></code>
114119
</p>

0 commit comments

Comments
 (0)