@maxim_mazurok/gapi.client.monitoring-v3 0.0.20240609 → 0.0.20240616
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 +13 -5
- package/package.json +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: 20240616
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -251,11 +251,13 @@ declare namespace gapi.client {
|
|
|
251
251
|
range?: GoogleMonitoringV3Range;
|
|
252
252
|
}
|
|
253
253
|
interface Documentation {
|
|
254
|
-
/** The body 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). */
|
|
254
|
+
/** The body 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#doc-vars). */
|
|
255
255
|
content?: string;
|
|
256
|
+
/** Optional. Links to content such as playbooks, repositories, and other resources. This field can contain up to 3 entries. */
|
|
257
|
+
links?: Link[];
|
|
256
258
|
/** The format of the content field. Presently, only the value "text/markdown" is supported. See Markdown (https://en.wikipedia.org/wiki/Markdown) for more information. */
|
|
257
259
|
mimeType?: string;
|
|
258
|
-
/** Optional. The subject line of the notification. The subject line may not exceed 10,240 bytes. In notifications generated by this policy, the contents of the subject line after variable expansion will be truncated to 255 bytes or shorter at the latest UTF-8 character boundary. The 255-byte limit is recommended by this thread (https://stackoverflow.com/questions/1592291/what-is-the-email-subject-length-limit). It is both the limit imposed by some third-party ticketing products and it is common to define textual fields in databases as VARCHAR(255).The contents of the subject line can be templatized by using variables (https://cloud.google.com/monitoring/alerts/doc-variables). If this field is missing or empty, a default subject line will be generated. */
|
|
260
|
+
/** Optional. The subject line of the notification. The subject line may not exceed 10,240 bytes. In notifications generated by this policy, the contents of the subject line after variable expansion will be truncated to 255 bytes or shorter at the latest UTF-8 character boundary. The 255-byte limit is recommended by this thread (https://stackoverflow.com/questions/1592291/what-is-the-email-subject-length-limit). It is both the limit imposed by some third-party ticketing products and it is common to define textual fields in databases as VARCHAR(255).The contents of the subject line can be templatized by using variables (https://cloud.google.com/monitoring/alerts/doc-variables#doc-vars). If this field is missing or empty, a default subject line will be generated. */
|
|
259
261
|
subject?: string;
|
|
260
262
|
}
|
|
261
263
|
interface DroppedLabels {
|
|
@@ -465,6 +467,12 @@ declare namespace gapi.client {
|
|
|
465
467
|
/** Must be greater than 0. */
|
|
466
468
|
width?: number;
|
|
467
469
|
}
|
|
470
|
+
interface Link {
|
|
471
|
+
/** A short display name for the link. The display name must not be empty or exceed 63 characters. Example: "playbook". */
|
|
472
|
+
displayName?: string;
|
|
473
|
+
/** The url of a webpage. A url can be templatized by using variables in the path or the query parameters. The total length of a URL should not exceed 2083 characters before and after variable expansion. Example: "https://my_domain.com/playbook?name=${resource.name}" */
|
|
474
|
+
url?: string;
|
|
475
|
+
}
|
|
468
476
|
interface ListAlertPoliciesResponse {
|
|
469
477
|
/** The returned alert policies. */
|
|
470
478
|
alertPolicies?: AlertPolicy[];
|
|
@@ -780,7 +788,7 @@ declare namespace gapi.client {
|
|
|
780
788
|
duration?: string;
|
|
781
789
|
/** 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 PrometheusQueryLanguageCondition was generated from a Prometheus alerting rule, then this value should be taken from the enclosing rule group. */
|
|
782
790
|
evaluationInterval?: string;
|
|
783
|
-
/** Optional. Labels to add to or overwrite in the PromQL query result. Label names must be valid (https://prometheus.io/docs/concepts/data_model/#metric-names-and-labels). Label values can be templatized by using variables (https://cloud.google.com/monitoring/alerts/doc-variables). The only available variable names are the names of the labels in the PromQL result, including "__name__" and "value". "labels" may be empty. */
|
|
791
|
+
/** Optional. Labels to add to or overwrite in the PromQL query result. Label names must be valid (https://prometheus.io/docs/concepts/data_model/#metric-names-and-labels). Label values can be templatized by using variables (https://cloud.google.com/monitoring/alerts/doc-variables#doc-vars). The only available variable names are the names of the labels in the PromQL result, including "__name__" and "value". "labels" may be empty. */
|
|
784
792
|
labels?: {[P in string]: string};
|
|
785
793
|
/** Required. The PromQL expression to evaluate. Every evaluation cycle this expression is evaluated at the current time, and all resultant time series become pending/firing alerts. This field must not be empty. */
|
|
786
794
|
query?: string;
|
|
@@ -879,7 +887,7 @@ declare namespace gapi.client {
|
|
|
879
887
|
calendarPeriod?: string;
|
|
880
888
|
/** Name used for UI elements listing this SLO. */
|
|
881
889
|
displayName?: string;
|
|
882
|
-
/** The fraction of service that must be good in order for this objective to be met. 0 < goal <= 0.
|
|
890
|
+
/** The fraction of service that must be good in order for this objective to be met. 0 < goal <= 0.9999. */
|
|
883
891
|
goal?: number;
|
|
884
892
|
/** Identifier. Resource name for this ServiceLevelObjective. The format is: projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME] */
|
|
885
893
|
name?: string;
|