@maxim_mazurok/gapi.client.monitoring-v1 0.0.20250116 → 0.0.20250130

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.
Files changed (3) hide show
  1. package/index.d.ts +26 -10
  2. package/package.json +1 -1
  3. package/readme.md +2 -2
package/index.d.ts CHANGED
@@ -9,14 +9,14 @@
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=v1
12
- // Revision: 20250116
12
+ // Revision: 20250130
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
16
16
  declare namespace gapi.client {
17
17
  /** Load Cloud Monitoring API v1 */
18
18
  function load(
19
- urlOrObject: 'https://monitoring.googleapis.com/$discovery/rest?version=v1'
19
+ urlOrObject: 'https://monitoring.googleapis.com/$discovery/rest?version=v1',
20
20
  ): Promise<void>;
21
21
  /** @deprecated Please load APIs with discovery documents. */
22
22
  function load(name: 'monitoring', version: 'v1'): Promise<void>;
@@ -438,6 +438,8 @@ declare namespace gapi.client {
438
438
  interface Scorecard {
439
439
  /** Will cause the Scorecard to show only the value, with no indicator to its value relative to its thresholds. */
440
440
  blankView?: any;
441
+ /** Optional. The collection of breakdowns to be applied to the dataset. A breakdown is a way to slice the data. For example, you can break down the data by region. */
442
+ breakdowns?: Breakdown[];
441
443
  /** Optional. A dimension is a structured label, class, or category for a set of measurements in your data. */
442
444
  dimensions?: Dimension[];
443
445
  /** Will cause the scorecard to show a gauge chart. */
@@ -504,6 +506,14 @@ declare namespace gapi.client {
504
506
  /** Optional. This field is unused and has been replaced by TimeSeriesTable.column_settings */
505
507
  shownColumns?: string[];
506
508
  }
509
+ interface TemplateVariableCondition {
510
+ /** Comparator to use to evaluate whether the value of the template variable matches the template_variable_value. For example, if the comparator is REGEX_FULL_MATCH, template_variable_value would contain a regex that is matched against the value of the template variable. */
511
+ comparator?: string;
512
+ /** The template variable whose value is evaluated. */
513
+ templateVariable?: string;
514
+ /** The value to compare the template variable to. For example, if the comparator is REGEX_FULL_MATCH, this field should contain a regex. */
515
+ templateVariableValue?: string;
516
+ }
507
517
  interface Text {
508
518
  /** The text content to be displayed. */
509
519
  content?: string;
@@ -616,6 +626,10 @@ declare namespace gapi.client {
616
626
  /** The source syntax. */
617
627
  syntax?: string;
618
628
  }
629
+ interface VisibilityCondition {
630
+ /** A condition whose evaluation is based on the value of a template variable. */
631
+ templateVariableCondition?: TemplateVariableCondition;
632
+ }
619
633
  interface Widget {
620
634
  /** A chart of alert policy data. */
621
635
  alertChart?: AlertChart;
@@ -645,6 +659,8 @@ declare namespace gapi.client {
645
659
  timeSeriesTable?: TimeSeriesTable;
646
660
  /** Optional. The title of the widget. */
647
661
  title?: string;
662
+ /** Optional. If set, this widget is rendered only when the condition is evaluated to true. */
663
+ visibilityCondition?: VisibilityCondition;
648
664
  /** A chart of time series data. */
649
665
  xyChart?: XyChart;
650
666
  }
@@ -721,7 +737,7 @@ declare namespace gapi.client {
721
737
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
722
738
  uploadType?: string;
723
739
  },
724
- body: MonitoredProject
740
+ body: MonitoredProject,
725
741
  ): Request<Operation>;
726
742
  /** Deletes a MonitoredProject from the specified Metrics Scope. */
727
743
  delete(request?: {
@@ -904,7 +920,7 @@ declare namespace gapi.client {
904
920
  /** If set, validate the request and preview the review, but do not actually save it. */
905
921
  validateOnly?: boolean;
906
922
  },
907
- body: Dashboard
923
+ body: Dashboard,
908
924
  ): Request<Dashboard>;
909
925
  /** Deletes an existing custom dashboard.This method requires the monitoring.dashboards.delete permission on the specified dashboard. For more information, see Cloud Identity and Access Management (https://cloud.google.com/iam). */
910
926
  delete(request?: {
@@ -1051,7 +1067,7 @@ declare namespace gapi.client {
1051
1067
  /** If set, validate the request and preview the review, but do not actually save it. */
1052
1068
  validateOnly?: boolean;
1053
1069
  },
1054
- body: Dashboard
1070
+ body: Dashboard,
1055
1071
  ): Request<Dashboard>;
1056
1072
  }
1057
1073
  interface LabelResource {
@@ -1189,7 +1205,7 @@ declare namespace gapi.client {
1189
1205
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1190
1206
  uploadType?: string;
1191
1207
  },
1192
- body: QueryLabelsRequest
1208
+ body: QueryLabelsRequest,
1193
1209
  ): Request<HttpBody>;
1194
1210
  /** Evaluate a PromQL query at a single point in time. */
1195
1211
  query(request: {
@@ -1251,7 +1267,7 @@ declare namespace gapi.client {
1251
1267
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1252
1268
  uploadType?: string;
1253
1269
  },
1254
- body: QueryInstantRequest
1270
+ body: QueryInstantRequest,
1255
1271
  ): Request<HttpBody>;
1256
1272
  /** Lists exemplars relevant to a given PromQL query, */
1257
1273
  query_exemplars(request: {
@@ -1313,7 +1329,7 @@ declare namespace gapi.client {
1313
1329
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1314
1330
  uploadType?: string;
1315
1331
  },
1316
- body: QueryExemplarsRequest
1332
+ body: QueryExemplarsRequest,
1317
1333
  ): Request<HttpBody>;
1318
1334
  /** Evaluate a PromQL query with start, end time range. */
1319
1335
  query_range(request: {
@@ -1375,7 +1391,7 @@ declare namespace gapi.client {
1375
1391
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1376
1392
  uploadType?: string;
1377
1393
  },
1378
- body: QueryRangeRequest
1394
+ body: QueryRangeRequest,
1379
1395
  ): Request<HttpBody>;
1380
1396
  /** Lists metadata for metrics. */
1381
1397
  series(request: {
@@ -1437,7 +1453,7 @@ declare namespace gapi.client {
1437
1453
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1438
1454
  uploadType?: string;
1439
1455
  },
1440
- body: QuerySeriesRequest
1456
+ body: QuerySeriesRequest,
1441
1457
  ): Request<HttpBody>;
1442
1458
  label: LabelResource;
1443
1459
  metadata: MetadataResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.monitoring-v1",
3
- "version": "0.0.20250116",
3
+ "version": "0.0.20250130",
4
4
  "description": "TypeScript typings for Cloud Monitoring API v1",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -30,7 +30,7 @@ gapi.client.load(
30
30
  () => {
31
31
  // now we can use:
32
32
  // gapi.client.monitoring
33
- }
33
+ },
34
34
  );
35
35
  ```
36
36
 
@@ -71,7 +71,7 @@ gapi.auth.authorize(
71
71
  } else {
72
72
  /* handle authorization error */
73
73
  }
74
- }
74
+ },
75
75
  );
76
76
  ```
77
77