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

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 +12 -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: 20250125
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. */
@@ -721,7 +723,7 @@ declare namespace gapi.client {
721
723
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
722
724
  uploadType?: string;
723
725
  },
724
- body: MonitoredProject
726
+ body: MonitoredProject,
725
727
  ): Request<Operation>;
726
728
  /** Deletes a MonitoredProject from the specified Metrics Scope. */
727
729
  delete(request?: {
@@ -904,7 +906,7 @@ declare namespace gapi.client {
904
906
  /** If set, validate the request and preview the review, but do not actually save it. */
905
907
  validateOnly?: boolean;
906
908
  },
907
- body: Dashboard
909
+ body: Dashboard,
908
910
  ): Request<Dashboard>;
909
911
  /** 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
912
  delete(request?: {
@@ -1051,7 +1053,7 @@ declare namespace gapi.client {
1051
1053
  /** If set, validate the request and preview the review, but do not actually save it. */
1052
1054
  validateOnly?: boolean;
1053
1055
  },
1054
- body: Dashboard
1056
+ body: Dashboard,
1055
1057
  ): Request<Dashboard>;
1056
1058
  }
1057
1059
  interface LabelResource {
@@ -1189,7 +1191,7 @@ declare namespace gapi.client {
1189
1191
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1190
1192
  uploadType?: string;
1191
1193
  },
1192
- body: QueryLabelsRequest
1194
+ body: QueryLabelsRequest,
1193
1195
  ): Request<HttpBody>;
1194
1196
  /** Evaluate a PromQL query at a single point in time. */
1195
1197
  query(request: {
@@ -1251,7 +1253,7 @@ declare namespace gapi.client {
1251
1253
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1252
1254
  uploadType?: string;
1253
1255
  },
1254
- body: QueryInstantRequest
1256
+ body: QueryInstantRequest,
1255
1257
  ): Request<HttpBody>;
1256
1258
  /** Lists exemplars relevant to a given PromQL query, */
1257
1259
  query_exemplars(request: {
@@ -1313,7 +1315,7 @@ declare namespace gapi.client {
1313
1315
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1314
1316
  uploadType?: string;
1315
1317
  },
1316
- body: QueryExemplarsRequest
1318
+ body: QueryExemplarsRequest,
1317
1319
  ): Request<HttpBody>;
1318
1320
  /** Evaluate a PromQL query with start, end time range. */
1319
1321
  query_range(request: {
@@ -1375,7 +1377,7 @@ declare namespace gapi.client {
1375
1377
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1376
1378
  uploadType?: string;
1377
1379
  },
1378
- body: QueryRangeRequest
1380
+ body: QueryRangeRequest,
1379
1381
  ): Request<HttpBody>;
1380
1382
  /** Lists metadata for metrics. */
1381
1383
  series(request: {
@@ -1437,7 +1439,7 @@ declare namespace gapi.client {
1437
1439
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1438
1440
  uploadType?: string;
1439
1441
  },
1440
- body: QuerySeriesRequest
1442
+ body: QuerySeriesRequest,
1441
1443
  ): Request<HttpBody>;
1442
1444
  label: LabelResource;
1443
1445
  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.20250125",
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