Skip to content

Commit 2023330

Browse files
feat(monitoring): update the api
#### monitoring:v1 The following keys were added: - schemas.DashboardFilter.properties.stringArray (Total Keys: 2) - schemas.DashboardFilter.properties.timeSeriesQuery.$ref (Total Keys: 1) - schemas.DashboardFilter.properties.valueType.type (Total Keys: 1) - schemas.StringArray (Total Keys: 4)
1 parent f70a393 commit 2023330

9 files changed

+674
-41
lines changed

docs/dyn/monitoring_v1.projects.dashboards.html

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

docs/dyn/monitoring_v1.projects.location.prometheus.api.v1.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ <h3>Method Details</h3>
113113
<pre>Lists labels for metrics.
114114

115115
Args:
116-
name: string, The workspace on which to execute the request. It is not part of the open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine. The format is: projects/PROJECT_ID_OR_NUMBER. (required)
116+
name: string, Required. The workspace on which to execute the request. It is not part of the open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine. The format is: projects/PROJECT_ID_OR_NUMBER. (required)
117117
location: string, Location of the resource information. Has to be &quot;global&quot; now. (required)
118118
body: object, The request body.
119119
The object takes the form of:
@@ -148,7 +148,7 @@ <h3>Method Details</h3>
148148
<pre>Evaluate a PromQL query at a single point in time.
149149

150150
Args:
151-
name: string, The project on which to execute the request. Data associcated with the project&#x27;s workspace stored under the The format is: projects/PROJECT_ID_OR_NUMBER. Open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine. (required)
151+
name: string, Required. The project on which to execute the request. Data associcated with the project&#x27;s workspace stored under the The format is: projects/PROJECT_ID_OR_NUMBER. Open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine. (required)
152152
location: string, Location of the resource information. Has to be &quot;global&quot; now. (required)
153153
body: object, The request body.
154154
The object takes the form of:
@@ -183,7 +183,7 @@ <h3>Method Details</h3>
183183
<pre>Lists exemplars relevant to a given PromQL query,
184184

185185
Args:
186-
name: string, The project on which to execute the request. Data associcated with the project&#x27;s workspace stored under the The format is: projects/PROJECT_ID_OR_NUMBER. Open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine. (required)
186+
name: string, Required. The project on which to execute the request. Data associcated with the project&#x27;s workspace stored under the The format is: projects/PROJECT_ID_OR_NUMBER. Open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine. (required)
187187
location: string, Location of the resource information. Has to be &quot;global&quot; now. (required)
188188
body: object, The request body.
189189
The object takes the form of:
@@ -218,7 +218,7 @@ <h3>Method Details</h3>
218218
<pre>Evaluate a PromQL query with start, end time range.
219219

220220
Args:
221-
name: string, The project on which to execute the request. Data associcated with the project&#x27;s workspace stored under the The format is: projects/PROJECT_ID_OR_NUMBER. Open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine. (required)
221+
name: string, Required. The project on which to execute the request. Data associcated with the project&#x27;s workspace stored under the The format is: projects/PROJECT_ID_OR_NUMBER. Open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine. (required)
222222
location: string, Location of the resource information. Has to be &quot;global&quot; now. (required)
223223
body: object, The request body.
224224
The object takes the form of:

docs/dyn/monitoring_v1.projects.location.prometheus.api.v1.label.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ <h3>Method Details</h3>
9191
<pre>Lists possible values for a given label name.
9292

9393
Args:
94-
name: string, The workspace on which to execute the request. It is not part of the open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine. The format is: projects/PROJECT_ID_OR_NUMBER. (required)
94+
name: string, Required. The workspace on which to execute the request. It is not part of the open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine. The format is: projects/PROJECT_ID_OR_NUMBER. (required)
9595
location: string, Location of the resource information. Has to be &quot;global&quot; now. (required)
9696
label: string, The label name for which values are queried. (required)
9797
end: string, The end time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp.

docs/dyn/monitoring_v3.folders.timeSeries.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ <h3>Method Details</h3>
206206
&quot;nextPageToken&quot;: &quot;A String&quot;, # If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as page_token in the next call to this method.
207207
&quot;timeSeries&quot;: [ # One or more time series that match the filter included in the request.
208208
{ # A collection of data points that describes the time-varying values of a metric. A time series is identified by a combination of a fully-specified monitored resource and a fully-specified metric. This type is used for both listing and creating time series.
209+
&quot;description&quot;: &quot;A String&quot;, # Input only. A detailed description of the time series that will be associated with the google.api.MetricDescriptor for the metric. Once set, this field cannot be changed through CreateTimeSeries.
209210
&quot;metadata&quot;: { # Auxiliary metadata for a MonitoredResource object. MonitoredResource objects contain the minimum set of information to uniquely identify a monitored resource instance. There is some other useful auxiliary metadata. Monitoring and Logging use an ingestion pipeline to extract metadata for cloud resources of all types, and store the metadata in this message. # Output only. The associated monitored resource metadata. When reading a time series, this field will include metadata labels that are explicitly named in the reduction. When creating a time series, this field is ignored.
210211
&quot;systemLabels&quot;: { # Output only. Values for predefined system metadata labels. System labels are a kind of metadata extracted by Google, including &quot;machine_image&quot;, &quot;vpc&quot;, &quot;subnet_id&quot;, &quot;security_group&quot;, &quot;name&quot;, etc. System label values can be only strings, Boolean values, or a list of strings. For example: { &quot;name&quot;: &quot;my-test-instance&quot;, &quot;security_group&quot;: [&quot;a&quot;, &quot;b&quot;, &quot;c&quot;], &quot;spot_instance&quot;: false }
211212
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
@@ -281,7 +282,7 @@ <h3>Method Details</h3>
281282
},
282283
&quot;type&quot;: &quot;A String&quot;, # Required. The monitored resource type. This field must match the type field of a MonitoredResourceDescriptor object. For example, the type of a Compute Engine VM instance is gce_instance. For a list of types, see Monitoring resource types (https://cloud.google.com/monitoring/api/resources) and Logging resource types (https://cloud.google.com/logging/docs/api/v2/resource-list).
283284
},
284-
&quot;unit&quot;: &quot;A String&quot;, # The units in which the metric value is reported. It is only applicable if the value_type is INT64, DOUBLE, or DISTRIBUTION. The unit defines the representation of the stored metric values.
285+
&quot;unit&quot;: &quot;A String&quot;, # The units in which the metric value is reported. It is only applicable if the value_type is INT64, DOUBLE, or DISTRIBUTION. The unit defines the representation of the stored metric values. This field can only be changed through CreateTimeSeries when it is empty or &quot;1&quot;.
285286
&quot;valueType&quot;: &quot;A String&quot;, # The value type of the time series. When listing time series, this value type might be different from the value type of the associated metric if this time series is an alignment or reduction of other time series.When creating a time series, this field is optional. If present, it must be the same as the type of the data in the points field.
286287
},
287288
],

docs/dyn/monitoring_v3.organizations.timeSeries.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ <h3>Method Details</h3>
206206
&quot;nextPageToken&quot;: &quot;A String&quot;, # If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as page_token in the next call to this method.
207207
&quot;timeSeries&quot;: [ # One or more time series that match the filter included in the request.
208208
{ # A collection of data points that describes the time-varying values of a metric. A time series is identified by a combination of a fully-specified monitored resource and a fully-specified metric. This type is used for both listing and creating time series.
209+
&quot;description&quot;: &quot;A String&quot;, # Input only. A detailed description of the time series that will be associated with the google.api.MetricDescriptor for the metric. Once set, this field cannot be changed through CreateTimeSeries.
209210
&quot;metadata&quot;: { # Auxiliary metadata for a MonitoredResource object. MonitoredResource objects contain the minimum set of information to uniquely identify a monitored resource instance. There is some other useful auxiliary metadata. Monitoring and Logging use an ingestion pipeline to extract metadata for cloud resources of all types, and store the metadata in this message. # Output only. The associated monitored resource metadata. When reading a time series, this field will include metadata labels that are explicitly named in the reduction. When creating a time series, this field is ignored.
210211
&quot;systemLabels&quot;: { # Output only. Values for predefined system metadata labels. System labels are a kind of metadata extracted by Google, including &quot;machine_image&quot;, &quot;vpc&quot;, &quot;subnet_id&quot;, &quot;security_group&quot;, &quot;name&quot;, etc. System label values can be only strings, Boolean values, or a list of strings. For example: { &quot;name&quot;: &quot;my-test-instance&quot;, &quot;security_group&quot;: [&quot;a&quot;, &quot;b&quot;, &quot;c&quot;], &quot;spot_instance&quot;: false }
211212
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
@@ -281,7 +282,7 @@ <h3>Method Details</h3>
281282
},
282283
&quot;type&quot;: &quot;A String&quot;, # Required. The monitored resource type. This field must match the type field of a MonitoredResourceDescriptor object. For example, the type of a Compute Engine VM instance is gce_instance. For a list of types, see Monitoring resource types (https://cloud.google.com/monitoring/api/resources) and Logging resource types (https://cloud.google.com/logging/docs/api/v2/resource-list).
283284
},
284-
&quot;unit&quot;: &quot;A String&quot;, # The units in which the metric value is reported. It is only applicable if the value_type is INT64, DOUBLE, or DISTRIBUTION. The unit defines the representation of the stored metric values.
285+
&quot;unit&quot;: &quot;A String&quot;, # The units in which the metric value is reported. It is only applicable if the value_type is INT64, DOUBLE, or DISTRIBUTION. The unit defines the representation of the stored metric values. This field can only be changed through CreateTimeSeries when it is empty or &quot;1&quot;.
285286
&quot;valueType&quot;: &quot;A String&quot;, # The value type of the time series. When listing time series, this value type might be different from the value type of the associated metric if this time series is an alignment or reduction of other time series.When creating a time series, this field is optional. If present, it must be the same as the type of the data in the points field.
286287
},
287288
],

docs/dyn/monitoring_v3.projects.alertPolicies.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ <h3>Method Details</h3>
121121
&quot;renotifyInterval&quot;: &quot;A String&quot;, # The frequency at which to send reminder notifications for open incidents.
122122
},
123123
],
124-
&quot;notificationRateLimit&quot;: { # Control over the rate of notifications sent to this alert policy&#x27;s notification channels. # Required for alert policies with a LogMatch condition.This limit is not implemented for alert policies that are not log-based.
124+
&quot;notificationRateLimit&quot;: { # Control over the rate of notifications sent to this alert policy&#x27;s notification channels. # Required for log-based alert policies, i.e. policies with a LogMatch condition.This limit is not implemented for alert policies that do not have a LogMatch condition.
125125
&quot;period&quot;: &quot;A String&quot;, # Not more than one notification per period.
126126
},
127127
},
@@ -269,7 +269,7 @@ <h3>Method Details</h3>
269269
&quot;renotifyInterval&quot;: &quot;A String&quot;, # The frequency at which to send reminder notifications for open incidents.
270270
},
271271
],
272-
&quot;notificationRateLimit&quot;: { # Control over the rate of notifications sent to this alert policy&#x27;s notification channels. # Required for alert policies with a LogMatch condition.This limit is not implemented for alert policies that are not log-based.
272+
&quot;notificationRateLimit&quot;: { # Control over the rate of notifications sent to this alert policy&#x27;s notification channels. # Required for log-based alert policies, i.e. policies with a LogMatch condition.This limit is not implemented for alert policies that do not have a LogMatch condition.
273273
&quot;period&quot;: &quot;A String&quot;, # Not more than one notification per period.
274274
},
275275
},
@@ -442,7 +442,7 @@ <h3>Method Details</h3>
442442
&quot;renotifyInterval&quot;: &quot;A String&quot;, # The frequency at which to send reminder notifications for open incidents.
443443
},
444444
],
445-
&quot;notificationRateLimit&quot;: { # Control over the rate of notifications sent to this alert policy&#x27;s notification channels. # Required for alert policies with a LogMatch condition.This limit is not implemented for alert policies that are not log-based.
445+
&quot;notificationRateLimit&quot;: { # Control over the rate of notifications sent to this alert policy&#x27;s notification channels. # Required for log-based alert policies, i.e. policies with a LogMatch condition.This limit is not implemented for alert policies that do not have a LogMatch condition.
446446
&quot;period&quot;: &quot;A String&quot;, # Not more than one notification per period.
447447
},
448448
},
@@ -603,7 +603,7 @@ <h3>Method Details</h3>
603603
&quot;renotifyInterval&quot;: &quot;A String&quot;, # The frequency at which to send reminder notifications for open incidents.
604604
},
605605
],
606-
&quot;notificationRateLimit&quot;: { # Control over the rate of notifications sent to this alert policy&#x27;s notification channels. # Required for alert policies with a LogMatch condition.This limit is not implemented for alert policies that are not log-based.
606+
&quot;notificationRateLimit&quot;: { # Control over the rate of notifications sent to this alert policy&#x27;s notification channels. # Required for log-based alert policies, i.e. policies with a LogMatch condition.This limit is not implemented for alert policies that do not have a LogMatch condition.
607607
&quot;period&quot;: &quot;A String&quot;, # Not more than one notification per period.
608608
},
609609
},
@@ -771,7 +771,7 @@ <h3>Method Details</h3>
771771
&quot;renotifyInterval&quot;: &quot;A String&quot;, # The frequency at which to send reminder notifications for open incidents.
772772
},
773773
],
774-
&quot;notificationRateLimit&quot;: { # Control over the rate of notifications sent to this alert policy&#x27;s notification channels. # Required for alert policies with a LogMatch condition.This limit is not implemented for alert policies that are not log-based.
774+
&quot;notificationRateLimit&quot;: { # Control over the rate of notifications sent to this alert policy&#x27;s notification channels. # Required for log-based alert policies, i.e. policies with a LogMatch condition.This limit is not implemented for alert policies that do not have a LogMatch condition.
775775
&quot;period&quot;: &quot;A String&quot;, # Not more than one notification per period.
776776
},
777777
},
@@ -920,7 +920,7 @@ <h3>Method Details</h3>
920920
&quot;renotifyInterval&quot;: &quot;A String&quot;, # The frequency at which to send reminder notifications for open incidents.
921921
},
922922
],
923-
&quot;notificationRateLimit&quot;: { # Control over the rate of notifications sent to this alert policy&#x27;s notification channels. # Required for alert policies with a LogMatch condition.This limit is not implemented for alert policies that are not log-based.
923+
&quot;notificationRateLimit&quot;: { # Control over the rate of notifications sent to this alert policy&#x27;s notification channels. # Required for log-based alert policies, i.e. policies with a LogMatch condition.This limit is not implemented for alert policies that do not have a LogMatch condition.
924924
&quot;period&quot;: &quot;A String&quot;, # Not more than one notification per period.
925925
},
926926
},

0 commit comments

Comments
 (0)