@maxim_mazurok/gapi.client.monitoring-v3 0.0.20230731 → 0.0.20230813
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +8 -9
- package/package.json +2 -2
- package/tests.ts +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://monitoring.googleapis.com/$discovery/rest?version=v3
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230813
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -115,8 +115,8 @@ declare namespace gapi.client {
|
|
|
115
115
|
/**
|
|
116
116
|
* User-supplied key/value data to be used for organizing and identifying the AlertPolicy objects.The field can contain up to 64 entries. Each key and value is limited to 63 Unicode
|
|
117
117
|
* characters or 128 bytes, whichever is smaller. Labels and values can contain only lowercase letters, numerals, underscores, and dashes. Keys must begin with a letter.Note that
|
|
118
|
-
* Prometheus {
|
|
119
|
-
* be stored as-is in user labels, because
|
|
118
|
+
* Prometheus {alert name} is a valid Prometheus label names (https://prometheus.io/docs/concepts/data_model/#metric-names-and-labels), whereas Prometheus {rule group} is an
|
|
119
|
+
* unrestricted UTF-8 string. This means that they cannot be stored as-is in user labels, because they may contain characters that are not allowed in user-label values.
|
|
120
120
|
*/
|
|
121
121
|
userLabels?:
|
|
122
122
|
{ [P in string]: string };
|
|
@@ -1467,19 +1467,19 @@ declare namespace gapi.client {
|
|
|
1467
1467
|
* Optional. The alerting rule name of this alert in the corresponding Prometheus configuration file.Some external tools may require this field to be populated correctly in order to
|
|
1468
1468
|
* refer to the original Prometheus configuration file. The rule group name and the alert name are necessary to update the relevant AlertPolicies in case the definition of the rule
|
|
1469
1469
|
* group changes in the future.This field is optional. If this field is not empty, then it must be a valid Prometheus label name
|
|
1470
|
-
* (https://prometheus.io/docs/concepts/data_model/#metric-names-and-labels).
|
|
1470
|
+
* (https://prometheus.io/docs/concepts/data_model/#metric-names-and-labels). This field may not exceed 2048 Unicode characters in length.
|
|
1471
1471
|
*/
|
|
1472
1472
|
alertRule?:
|
|
1473
1473
|
string;
|
|
1474
1474
|
/**
|
|
1475
1475
|
* Optional. Alerts are considered firing once their PromQL expression was evaluated to be "true" for this long. Alerts whose PromQL expression was not evaluated to be "true" for long
|
|
1476
|
-
* enough are considered pending.
|
|
1476
|
+
* enough are considered pending. Must be a non-negative duration or missing. This field is optional. Its default value is zero.
|
|
1477
1477
|
*/
|
|
1478
1478
|
duration?:
|
|
1479
1479
|
string;
|
|
1480
1480
|
/**
|
|
1481
|
-
*
|
|
1482
|
-
* was generated from a Prometheus alerting rule, then this value should be taken from the enclosing rule group.
|
|
1481
|
+
* Optional. How often this rule should be evaluated. Must be a positive multiple of 30 seconds or missing. This field is optional. Its default value is 30 seconds. If this
|
|
1482
|
+
* PrometheusQueryLanguageCondition was generated from a Prometheus alerting rule, then this value should be taken from the enclosing rule group.
|
|
1483
1483
|
*/
|
|
1484
1484
|
evaluationInterval?:
|
|
1485
1485
|
string;
|
|
@@ -1499,8 +1499,7 @@ declare namespace gapi.client {
|
|
|
1499
1499
|
/**
|
|
1500
1500
|
* Optional. The rule group name of this alert in the corresponding Prometheus configuration file.Some external tools may require this field to be populated correctly in order to refer
|
|
1501
1501
|
* to the original Prometheus configuration file. The rule group name and the alert name are necessary to update the relevant AlertPolicies in case the definition of the rule group
|
|
1502
|
-
* changes in the future.This field is optional. If this field is not empty, then it must
|
|
1503
|
-
* (https://prometheus.io/docs/concepts/data_model/#metric-names-and-labels).
|
|
1502
|
+
* changes in the future.This field is optional. If this field is not empty, then it must contain a valid UTF-8 string. This field may not exceed 2048 Unicode characters in length.
|
|
1504
1503
|
*/
|
|
1505
1504
|
ruleGroup?:
|
|
1506
1505
|
string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maxim_mazurok/gapi.client.monitoring-v3",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.20230813",
|
|
4
4
|
"description": "TypeScript typings for Cloud Monitoring API v3",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -15,6 +15,6 @@
|
|
|
15
15
|
"types": "index.d.ts",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@types/gapi.client": "*",
|
|
18
|
-
"@types/gapi.client.discovery": "*"
|
|
18
|
+
"@types/gapi.client.discovery-v1": "*"
|
|
19
19
|
}
|
|
20
20
|
}
|
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20230813
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|