@maxim_mazurok/gapi.client.monitoring-v1 0.0.20231009 → 0.0.20231016

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 +28 -7
  2. package/package.json +1 -1
  3. package/tests.ts +97 -17
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=v1
12
- // Revision: 20231009
12
+ // Revision: 20231016
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -256,6 +256,27 @@ declare namespace gapi.client {
256
256
  // tslint:disable-next-line:no-empty-interface
257
257
  interface Empty {
258
258
  }
259
+ interface ErrorReportingPanel {
260
+ /**
261
+ * The resource name of the Google Cloud Platform project. Written as projects/{projectID} or projects/{projectNumber}, where {projectID} and {projectNumber} can be found in the Google
262
+ * Cloud console (https://support.google.com/cloud/answer/6158840).Examples: projects/my-project-123, projects/5551234.
263
+ */
264
+ projectNames?:
265
+ string[];
266
+ /**
267
+ * An identifier of the service, such as the name of the executable, job, or Google App Engine service name. This field is expected to have a low number of values that are relatively
268
+ * stable over time, as opposed to version, which can be changed whenever new code is deployed.Contains the service name for error reports extracted from Google App Engine logs or
269
+ * default if the App Engine default service is used.
270
+ */
271
+ services?:
272
+ string[];
273
+ /**
274
+ * Represents the source code version that the developer provided, which could represent a version label or a Git SHA-1 hash, for example. For App Engine standard environment, the
275
+ * version is set to the version of the app.
276
+ */
277
+ versions?:
278
+ string[];
279
+ }
259
280
  interface Field {
260
281
  /** The field cardinality. */
261
282
  cardinality?:
@@ -501,12 +522,6 @@ declare namespace gapi.client {
501
522
  /** Optional. Indicates whether or not the pie chart should show slices' labels */
502
523
  showLabels?:
503
524
  boolean;
504
- /** Optional. Indicates whether or not donut chart should show the total in the middle */
505
- showTotal?:
506
- boolean;
507
- /** Optional. If slices's values are smaller than this value, they will be combined into other category */
508
- sliceAggregatedThreshold?:
509
- number;
510
525
  }
511
526
  interface PieChartDataSet {
512
527
  /**
@@ -890,6 +905,12 @@ declare namespace gapi.client {
890
905
  /** A widget that groups the other widgets. All widgets that are within the area spanned by the grouping widget are considered member widgets. */
891
906
  collapsibleGroup?:
892
907
  CollapsibleGroup;
908
+ /** A widget that displays a list of error groups. */
909
+ errorReportingPanel?:
910
+ ErrorReportingPanel;
911
+ /** Optional. The widget id. Ids may be made up of alphanumerics, dashes and underscores. Widget ids are optional. */
912
+ id?:
913
+ string;
893
914
  /** A widget that shows list of incidents. */
894
915
  incidentList?:
895
916
  IncidentList;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.monitoring-v1",
3
- "version": "0.0.20231009",
3
+ "version": "0.0.20231016",
4
4
  "description": "TypeScript typings for Cloud Monitoring API v1",
5
5
  "license": "MIT",
6
6
  "author": {
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: 20231009
6
+ // Revision: 20231016
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -84,6 +84,18 @@ gapi.load('client', async () => {
84
84
  collapsibleGroup: {
85
85
  collapsed: true,
86
86
  },
87
+ errorReportingPanel: {
88
+ projectNames: [
89
+ "Test string"
90
+ ],
91
+ services: [
92
+ "Test string"
93
+ ],
94
+ versions: [
95
+ "Test string"
96
+ ],
97
+ },
98
+ id: "Test string",
87
99
  incidentList: {
88
100
  monitoredResources: [
89
101
  {
@@ -190,8 +202,6 @@ gapi.load('client', async () => {
190
202
  }
191
203
  ],
192
204
  showLabels: true,
193
- showTotal: true,
194
- sliceAggregatedThreshold: 42,
195
205
  },
196
206
  scorecard: {
197
207
  blankView: {
@@ -587,6 +597,18 @@ gapi.load('client', async () => {
587
597
  collapsibleGroup: {
588
598
  collapsed: true,
589
599
  },
600
+ errorReportingPanel: {
601
+ projectNames: [
602
+ "Test string"
603
+ ],
604
+ services: [
605
+ "Test string"
606
+ ],
607
+ versions: [
608
+ "Test string"
609
+ ],
610
+ },
611
+ id: "Test string",
590
612
  incidentList: {
591
613
  monitoredResources: [
592
614
  {
@@ -693,8 +715,6 @@ gapi.load('client', async () => {
693
715
  }
694
716
  ],
695
717
  showLabels: true,
696
- showTotal: true,
697
- sliceAggregatedThreshold: 42,
698
718
  },
699
719
  scorecard: {
700
720
  blankView: {
@@ -1083,6 +1103,18 @@ gapi.load('client', async () => {
1083
1103
  collapsibleGroup: {
1084
1104
  collapsed: true,
1085
1105
  },
1106
+ errorReportingPanel: {
1107
+ projectNames: [
1108
+ "Test string"
1109
+ ],
1110
+ services: [
1111
+ "Test string"
1112
+ ],
1113
+ versions: [
1114
+ "Test string"
1115
+ ],
1116
+ },
1117
+ id: "Test string",
1086
1118
  incidentList: {
1087
1119
  monitoredResources: [
1088
1120
  {
@@ -1189,8 +1221,6 @@ gapi.load('client', async () => {
1189
1221
  }
1190
1222
  ],
1191
1223
  showLabels: true,
1192
- showTotal: true,
1193
- sliceAggregatedThreshold: 42,
1194
1224
  },
1195
1225
  scorecard: {
1196
1226
  blankView: {
@@ -1581,6 +1611,18 @@ gapi.load('client', async () => {
1581
1611
  collapsibleGroup: {
1582
1612
  collapsed: true,
1583
1613
  },
1614
+ errorReportingPanel: {
1615
+ projectNames: [
1616
+ "Test string"
1617
+ ],
1618
+ services: [
1619
+ "Test string"
1620
+ ],
1621
+ versions: [
1622
+ "Test string"
1623
+ ],
1624
+ },
1625
+ id: "Test string",
1584
1626
  incidentList: {
1585
1627
  monitoredResources: [
1586
1628
  {
@@ -1687,8 +1729,6 @@ gapi.load('client', async () => {
1687
1729
  }
1688
1730
  ],
1689
1731
  showLabels: true,
1690
- showTotal: true,
1691
- sliceAggregatedThreshold: 42,
1692
1732
  },
1693
1733
  scorecard: {
1694
1734
  blankView: {
@@ -2108,6 +2148,18 @@ gapi.load('client', async () => {
2108
2148
  collapsibleGroup: {
2109
2149
  collapsed: true,
2110
2150
  },
2151
+ errorReportingPanel: {
2152
+ projectNames: [
2153
+ "Test string"
2154
+ ],
2155
+ services: [
2156
+ "Test string"
2157
+ ],
2158
+ versions: [
2159
+ "Test string"
2160
+ ],
2161
+ },
2162
+ id: "Test string",
2111
2163
  incidentList: {
2112
2164
  monitoredResources: [
2113
2165
  {
@@ -2214,8 +2266,6 @@ gapi.load('client', async () => {
2214
2266
  }
2215
2267
  ],
2216
2268
  showLabels: true,
2217
- showTotal: true,
2218
- sliceAggregatedThreshold: 42,
2219
2269
  },
2220
2270
  scorecard: {
2221
2271
  blankView: {
@@ -2611,6 +2661,18 @@ gapi.load('client', async () => {
2611
2661
  collapsibleGroup: {
2612
2662
  collapsed: true,
2613
2663
  },
2664
+ errorReportingPanel: {
2665
+ projectNames: [
2666
+ "Test string"
2667
+ ],
2668
+ services: [
2669
+ "Test string"
2670
+ ],
2671
+ versions: [
2672
+ "Test string"
2673
+ ],
2674
+ },
2675
+ id: "Test string",
2614
2676
  incidentList: {
2615
2677
  monitoredResources: [
2616
2678
  {
@@ -2717,8 +2779,6 @@ gapi.load('client', async () => {
2717
2779
  }
2718
2780
  ],
2719
2781
  showLabels: true,
2720
- showTotal: true,
2721
- sliceAggregatedThreshold: 42,
2722
2782
  },
2723
2783
  scorecard: {
2724
2784
  blankView: {
@@ -3107,6 +3167,18 @@ gapi.load('client', async () => {
3107
3167
  collapsibleGroup: {
3108
3168
  collapsed: true,
3109
3169
  },
3170
+ errorReportingPanel: {
3171
+ projectNames: [
3172
+ "Test string"
3173
+ ],
3174
+ services: [
3175
+ "Test string"
3176
+ ],
3177
+ versions: [
3178
+ "Test string"
3179
+ ],
3180
+ },
3181
+ id: "Test string",
3110
3182
  incidentList: {
3111
3183
  monitoredResources: [
3112
3184
  {
@@ -3213,8 +3285,6 @@ gapi.load('client', async () => {
3213
3285
  }
3214
3286
  ],
3215
3287
  showLabels: true,
3216
- showTotal: true,
3217
- sliceAggregatedThreshold: 42,
3218
3288
  },
3219
3289
  scorecard: {
3220
3290
  blankView: {
@@ -3605,6 +3675,18 @@ gapi.load('client', async () => {
3605
3675
  collapsibleGroup: {
3606
3676
  collapsed: true,
3607
3677
  },
3678
+ errorReportingPanel: {
3679
+ projectNames: [
3680
+ "Test string"
3681
+ ],
3682
+ services: [
3683
+ "Test string"
3684
+ ],
3685
+ versions: [
3686
+ "Test string"
3687
+ ],
3688
+ },
3689
+ id: "Test string",
3608
3690
  incidentList: {
3609
3691
  monitoredResources: [
3610
3692
  {
@@ -3711,8 +3793,6 @@ gapi.load('client', async () => {
3711
3793
  }
3712
3794
  ],
3713
3795
  showLabels: true,
3714
- showTotal: true,
3715
- sliceAggregatedThreshold: 42,
3716
3796
  },
3717
3797
  scorecard: {
3718
3798
  blankView: {