@maxim_mazurok/gapi.client.monitoring-v3 0.0.20230518 → 0.0.20230529
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 +7 -4
- package/package.json +1 -1
- 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: 20230529
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -78,7 +78,8 @@ declare namespace gapi.client {
|
|
|
78
78
|
MutationRecord;
|
|
79
79
|
/**
|
|
80
80
|
* A short name or phrase used to identify the policy in dashboards, notifications, and incidents. To avoid confusion, don't use the same display name for multiple policies in the same
|
|
81
|
-
* project. The name is limited to 512 Unicode characters.
|
|
81
|
+
* project. The name is limited to 512 Unicode characters.The convention for the display_name of a PrometheusQueryLanguageCondition is "/", where the and should be taken from the
|
|
82
|
+
* corresponding Prometheus configuration file. This convention is not enforced. In any case the display_name is not a unique key of the AlertPolicy.
|
|
82
83
|
*/
|
|
83
84
|
displayName?:
|
|
84
85
|
string;
|
|
@@ -112,11 +113,13 @@ declare namespace gapi.client {
|
|
|
112
113
|
string[];
|
|
113
114
|
/**
|
|
114
115
|
* 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
|
|
115
|
-
* 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.
|
|
116
|
+
* 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
|
|
117
|
+
* Prometheus and are valid Prometheus label names (https://prometheus.io/docs/concepts/data_model/#metric-names-and-labels). This means that they cannot be stored as is in user
|
|
118
|
+
* labels, because Prometheus labels may contain upper-case letters.
|
|
116
119
|
*/
|
|
117
120
|
userLabels?:
|
|
118
121
|
{ [P in string]: string };
|
|
119
|
-
/** Read-only description of how the alert policy is invalid.
|
|
122
|
+
/** Read-only description of how the alert policy is invalid. This field is only set when the alert policy is invalid. An invalid alert policy will not generate incidents. */
|
|
120
123
|
validity?:
|
|
121
124
|
Status;
|
|
122
125
|
}
|
package/package.json
CHANGED
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: 20230529
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|