@maxim_mazurok/gapi.client.monitoring-v1 0.0.20230731 → 0.0.20230813

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 +50 -4
  2. package/package.json +2 -2
  3. package/tests.ts +747 -11
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: 20230731
12
+ // Revision: 20230813
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -349,9 +349,9 @@ declare namespace gapi.client {
349
349
  name?:
350
350
  string;
351
351
  /**
352
- * The normal response of the operation in case of success. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original
353
- * method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name.
354
- * For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.
352
+ * The normal, successful response of the operation. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is
353
+ * standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For
354
+ * example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.
355
355
  */
356
356
  response?:
357
357
  { [P in string]: any };
@@ -392,6 +392,40 @@ declare namespace gapi.client {
392
392
  rankingMethod?:
393
393
  string;
394
394
  }
395
+ interface PieChart {
396
+ /** Required. Indicates the visualization type for the PieChart. */
397
+ chartType?:
398
+ string;
399
+ /** Required. The queries for the chart's data. */
400
+ dataSets?:
401
+ PieChartDataSet[];
402
+ /** Optional. Indicates whether or not the pie chart should slices' labels */
403
+ showLabels?:
404
+ boolean;
405
+ /** Optional. Indicates whether or not donut chart should show the total in the middle */
406
+ showTotal?:
407
+ boolean;
408
+ /** Optional. If slices's values are smaller than this value, they will be combined into other category */
409
+ sliceAggregatedThreshold?:
410
+ number;
411
+ }
412
+ interface PieChartDataSet {
413
+ /**
414
+ * Optional. The lower bound on data point frequency for this data set, implemented by specifying the minimum alignment period to use in a time series query. For example, if the data
415
+ * is published once every 10 minutes, the min_alignment_period should be at least 10 minutes. It would not make sense to fetch and align data at one minute intervals.
416
+ */
417
+ minAlignmentPeriod?:
418
+ string;
419
+ /**
420
+ * Optional. A template for the name of the slice. This name will be displayed in the legend and the tooltip of the pie chart. It replaces the auto-generated names for the slices. For
421
+ * example, if the template is set to ${resource.labels.zone}, the zone's value will be used for the name instead of the default name.
422
+ */
423
+ sliceNameTemplate?:
424
+ string;
425
+ /** Required. The query for the PieChart. See, google.monitoring.dashboard.v1.TimeSeriesQuery. */
426
+ timeSeriesQuery?:
427
+ TimeSeriesQuery;
428
+ }
395
429
  interface QueryExemplarsRequest {
396
430
  /** The end time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp. */
397
431
  end?:
@@ -484,6 +518,9 @@ declare namespace gapi.client {
484
518
  Row[];
485
519
  }
486
520
  interface Scorecard {
521
+ /** Will cause the Scorecard to show only the value, with no indicator to its value relative to its thresholds. */
522
+ blankView?:
523
+ any;
487
524
  /** Will cause the scorecard to show a gauge chart. */
488
525
  gaugeView?:
489
526
  GaugeView;
@@ -679,6 +716,12 @@ declare namespace gapi.client {
679
716
  StatisticalTimeSeriesFilter;
680
717
  }
681
718
  interface TimeSeriesQuery {
719
+ /**
720
+ * Optional. If set, Cloud Monitoring will treat the full query duration as the alignment period so that there will be only 1 output value.*Note: This could override the configured
721
+ * alignment period except for the cases where a series of data points are expected, like - XyChart - Scorecard's spark chart
722
+ */
723
+ outputFullDuration?:
724
+ boolean;
682
725
  /** A query used to fetch time series with PromQL. */
683
726
  prometheusQuery?:
684
727
  string;
@@ -748,6 +791,9 @@ declare namespace gapi.client {
748
791
  /** A widget that shows a stream of logs. */
749
792
  logsPanel?:
750
793
  LogsPanel;
794
+ /** A widget that displays timeseries data as a pie chart. */
795
+ pieChart?:
796
+ PieChart;
751
797
  /** A scorecard summarizing time series data. */
752
798
  scorecard?:
753
799
  Scorecard;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.monitoring-v1",
3
- "version": "0.0.20230731",
3
+ "version": "0.0.20230813",
4
4
  "description": "TypeScript typings for Cloud Monitoring API v1",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -15,6 +15,6 @@
15
15
  "types": "index.d.ts",
16
16
  "dependencies": {
17
17
  "@types/gapi.client": "*",
18
- "@types/gapi.client.discovery": "*"
18
+ "@types/gapi.client.discovery-v1": "*"
19
19
  }
20
20
  }
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: 20230731
6
+ // Revision: 20230813
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -103,7 +103,96 @@ gapi.load('client', async () => {
103
103
  "Test string"
104
104
  ],
105
105
  },
106
+ pieChart: {
107
+ chartType: "Test string",
108
+ dataSets: [
109
+ {
110
+ minAlignmentPeriod: "Test string",
111
+ sliceNameTemplate: "Test string",
112
+ timeSeriesQuery: {
113
+ outputFullDuration: true,
114
+ prometheusQuery: "Test string",
115
+ timeSeriesFilter: {
116
+ aggregation: {
117
+ alignmentPeriod: "Test string",
118
+ crossSeriesReducer: "Test string",
119
+ groupByFields: [
120
+ "Test string"
121
+ ],
122
+ perSeriesAligner: "Test string",
123
+ },
124
+ filter: "Test string",
125
+ pickTimeSeriesFilter: {
126
+ direction: "Test string",
127
+ numTimeSeries: 42,
128
+ rankingMethod: "Test string",
129
+ },
130
+ secondaryAggregation: {
131
+ alignmentPeriod: "Test string",
132
+ crossSeriesReducer: "Test string",
133
+ groupByFields: [
134
+ "Test string"
135
+ ],
136
+ perSeriesAligner: "Test string",
137
+ },
138
+ statisticalTimeSeriesFilter: {
139
+ numTimeSeries: 42,
140
+ rankingMethod: "Test string",
141
+ },
142
+ },
143
+ timeSeriesFilterRatio: {
144
+ denominator: {
145
+ aggregation: {
146
+ alignmentPeriod: "Test string",
147
+ crossSeriesReducer: "Test string",
148
+ groupByFields: [
149
+ "Test string"
150
+ ],
151
+ perSeriesAligner: "Test string",
152
+ },
153
+ filter: "Test string",
154
+ },
155
+ numerator: {
156
+ aggregation: {
157
+ alignmentPeriod: "Test string",
158
+ crossSeriesReducer: "Test string",
159
+ groupByFields: [
160
+ "Test string"
161
+ ],
162
+ perSeriesAligner: "Test string",
163
+ },
164
+ filter: "Test string",
165
+ },
166
+ pickTimeSeriesFilter: {
167
+ direction: "Test string",
168
+ numTimeSeries: 42,
169
+ rankingMethod: "Test string",
170
+ },
171
+ secondaryAggregation: {
172
+ alignmentPeriod: "Test string",
173
+ crossSeriesReducer: "Test string",
174
+ groupByFields: [
175
+ "Test string"
176
+ ],
177
+ perSeriesAligner: "Test string",
178
+ },
179
+ statisticalTimeSeriesFilter: {
180
+ numTimeSeries: 42,
181
+ rankingMethod: "Test string",
182
+ },
183
+ },
184
+ timeSeriesQueryLanguage: "Test string",
185
+ unitOverride: "Test string",
186
+ },
187
+ }
188
+ ],
189
+ showLabels: true,
190
+ showTotal: true,
191
+ sliceAggregatedThreshold: 42,
192
+ },
106
193
  scorecard: {
194
+ blankView: {
195
+ },
107
196
  gaugeView: {
108
197
  lowerBound: 42,
109
198
  upperBound: 42,
@@ -122,6 +211,7 @@ gapi.load('client', async () => {
122
211
  }
123
212
  ],
124
213
  timeSeriesQuery: {
214
+ outputFullDuration: true,
125
215
  prometheusQuery: "Test string",
126
216
  timeSeriesFilter: {
127
217
  aggregation: {
@@ -225,6 +315,7 @@ gapi.load('client', async () => {
225
315
  },
226
316
  tableTemplate: "Test string",
227
317
  timeSeriesQuery: {
318
+ outputFullDuration: true,
228
319
  prometheusQuery: "Test string",
229
320
  timeSeriesFilter: {
230
321
  aggregation: {
@@ -314,6 +405,7 @@ gapi.load('client', async () => {
314
405
  plotType: "Test string",
315
406
  targetAxis: "Test string",
316
407
  timeSeriesQuery: {
408
+ outputFullDuration: true,
317
409
  prometheusQuery: "Test string",
318
410
  timeSeriesFilter: {
319
411
  aggregation: {
@@ -458,7 +550,96 @@ gapi.load('client', async () => {
458
550
  "Test string"
459
551
  ],
460
552
  },
553
+ pieChart: {
554
+ chartType: "Test string",
555
+ dataSets: [
556
+ {
557
+ minAlignmentPeriod: "Test string",
558
+ sliceNameTemplate: "Test string",
559
+ timeSeriesQuery: {
560
+ outputFullDuration: true,
561
+ prometheusQuery: "Test string",
562
+ timeSeriesFilter: {
563
+ aggregation: {
564
+ alignmentPeriod: "Test string",
565
+ crossSeriesReducer: "Test string",
566
+ groupByFields: [
567
+ "Test string"
568
+ ],
569
+ perSeriesAligner: "Test string",
570
+ },
571
+ filter: "Test string",
572
+ pickTimeSeriesFilter: {
573
+ direction: "Test string",
574
+ numTimeSeries: 42,
575
+ rankingMethod: "Test string",
576
+ },
577
+ secondaryAggregation: {
578
+ alignmentPeriod: "Test string",
579
+ crossSeriesReducer: "Test string",
580
+ groupByFields: [
581
+ "Test string"
582
+ ],
583
+ perSeriesAligner: "Test string",
584
+ },
585
+ statisticalTimeSeriesFilter: {
586
+ numTimeSeries: 42,
587
+ rankingMethod: "Test string",
588
+ },
589
+ },
590
+ timeSeriesFilterRatio: {
591
+ denominator: {
592
+ aggregation: {
593
+ alignmentPeriod: "Test string",
594
+ crossSeriesReducer: "Test string",
595
+ groupByFields: [
596
+ "Test string"
597
+ ],
598
+ perSeriesAligner: "Test string",
599
+ },
600
+ filter: "Test string",
601
+ },
602
+ numerator: {
603
+ aggregation: {
604
+ alignmentPeriod: "Test string",
605
+ crossSeriesReducer: "Test string",
606
+ groupByFields: [
607
+ "Test string"
608
+ ],
609
+ perSeriesAligner: "Test string",
610
+ },
611
+ filter: "Test string",
612
+ },
613
+ pickTimeSeriesFilter: {
614
+ direction: "Test string",
615
+ numTimeSeries: 42,
616
+ rankingMethod: "Test string",
617
+ },
618
+ secondaryAggregation: {
619
+ alignmentPeriod: "Test string",
620
+ crossSeriesReducer: "Test string",
621
+ groupByFields: [
622
+ "Test string"
623
+ ],
624
+ perSeriesAligner: "Test string",
625
+ },
626
+ statisticalTimeSeriesFilter: {
627
+ numTimeSeries: 42,
628
+ rankingMethod: "Test string",
629
+ },
630
+ },
631
+ timeSeriesQueryLanguage: "Test string",
632
+ unitOverride: "Test string",
633
+ },
634
+ }
635
+ ],
636
+ showLabels: true,
637
+ showTotal: true,
638
+ sliceAggregatedThreshold: 42,
639
+ },
461
640
  scorecard: {
641
+ blankView: {
642
+ },
462
643
  gaugeView: {
463
644
  lowerBound: 42,
464
645
  upperBound: 42,
@@ -477,6 +658,7 @@ gapi.load('client', async () => {
477
658
  }
478
659
  ],
479
660
  timeSeriesQuery: {
661
+ outputFullDuration: true,
480
662
  prometheusQuery: "Test string",
481
663
  timeSeriesFilter: {
482
664
  aggregation: {
@@ -580,6 +762,7 @@ gapi.load('client', async () => {
580
762
  },
581
763
  tableTemplate: "Test string",
582
764
  timeSeriesQuery: {
765
+ outputFullDuration: true,
583
766
  prometheusQuery: "Test string",
584
767
  timeSeriesFilter: {
585
768
  aggregation: {
@@ -669,6 +852,7 @@ gapi.load('client', async () => {
669
852
  plotType: "Test string",
670
853
  targetAxis: "Test string",
671
854
  timeSeriesQuery: {
855
+ outputFullDuration: true,
672
856
  prometheusQuery: "Test string",
673
857
  timeSeriesFilter: {
674
858
  aggregation: {
@@ -806,7 +990,96 @@ gapi.load('client', async () => {
806
990
  "Test string"
807
991
  ],
808
992
  },
993
+ pieChart: {
994
+ chartType: "Test string",
995
+ dataSets: [
996
+ {
997
+ minAlignmentPeriod: "Test string",
998
+ sliceNameTemplate: "Test string",
999
+ timeSeriesQuery: {
1000
+ outputFullDuration: true,
1001
+ prometheusQuery: "Test string",
1002
+ timeSeriesFilter: {
1003
+ aggregation: {
1004
+ alignmentPeriod: "Test string",
1005
+ crossSeriesReducer: "Test string",
1006
+ groupByFields: [
1007
+ "Test string"
1008
+ ],
1009
+ perSeriesAligner: "Test string",
1010
+ },
1011
+ filter: "Test string",
1012
+ pickTimeSeriesFilter: {
1013
+ direction: "Test string",
1014
+ numTimeSeries: 42,
1015
+ rankingMethod: "Test string",
1016
+ },
1017
+ secondaryAggregation: {
1018
+ alignmentPeriod: "Test string",
1019
+ crossSeriesReducer: "Test string",
1020
+ groupByFields: [
1021
+ "Test string"
1022
+ ],
1023
+ perSeriesAligner: "Test string",
1024
+ },
1025
+ statisticalTimeSeriesFilter: {
1026
+ numTimeSeries: 42,
1027
+ rankingMethod: "Test string",
1028
+ },
1029
+ },
1030
+ timeSeriesFilterRatio: {
1031
+ denominator: {
1032
+ aggregation: {
1033
+ alignmentPeriod: "Test string",
1034
+ crossSeriesReducer: "Test string",
1035
+ groupByFields: [
1036
+ "Test string"
1037
+ ],
1038
+ perSeriesAligner: "Test string",
1039
+ },
1040
+ filter: "Test string",
1041
+ },
1042
+ numerator: {
1043
+ aggregation: {
1044
+ alignmentPeriod: "Test string",
1045
+ crossSeriesReducer: "Test string",
1046
+ groupByFields: [
1047
+ "Test string"
1048
+ ],
1049
+ perSeriesAligner: "Test string",
1050
+ },
1051
+ filter: "Test string",
1052
+ },
1053
+ pickTimeSeriesFilter: {
1054
+ direction: "Test string",
1055
+ numTimeSeries: 42,
1056
+ rankingMethod: "Test string",
1057
+ },
1058
+ secondaryAggregation: {
1059
+ alignmentPeriod: "Test string",
1060
+ crossSeriesReducer: "Test string",
1061
+ groupByFields: [
1062
+ "Test string"
1063
+ ],
1064
+ perSeriesAligner: "Test string",
1065
+ },
1066
+ statisticalTimeSeriesFilter: {
1067
+ numTimeSeries: 42,
1068
+ rankingMethod: "Test string",
1069
+ },
1070
+ },
1071
+ timeSeriesQueryLanguage: "Test string",
1072
+ unitOverride: "Test string",
1073
+ },
1074
+ }
1075
+ ],
1076
+ showLabels: true,
1077
+ showTotal: true,
1078
+ sliceAggregatedThreshold: 42,
1079
+ },
809
1080
  scorecard: {
1081
+ blankView: {
1082
+ },
810
1083
  gaugeView: {
811
1084
  lowerBound: 42,
812
1085
  upperBound: 42,
@@ -825,6 +1098,7 @@ gapi.load('client', async () => {
825
1098
  }
826
1099
  ],
827
1100
  timeSeriesQuery: {
1101
+ outputFullDuration: true,
828
1102
  prometheusQuery: "Test string",
829
1103
  timeSeriesFilter: {
830
1104
  aggregation: {
@@ -928,6 +1202,7 @@ gapi.load('client', async () => {
928
1202
  },
929
1203
  tableTemplate: "Test string",
930
1204
  timeSeriesQuery: {
1205
+ outputFullDuration: true,
931
1206
  prometheusQuery: "Test string",
932
1207
  timeSeriesFilter: {
933
1208
  aggregation: {
@@ -1017,6 +1292,7 @@ gapi.load('client', async () => {
1017
1292
  plotType: "Test string",
1018
1293
  targetAxis: "Test string",
1019
1294
  timeSeriesQuery: {
1295
+ outputFullDuration: true,
1020
1296
  prometheusQuery: "Test string",
1021
1297
  timeSeriesFilter: {
1022
1298
  aggregation: {
@@ -1156,7 +1432,96 @@ gapi.load('client', async () => {
1156
1432
  "Test string"
1157
1433
  ],
1158
1434
  },
1435
+ pieChart: {
1436
+ chartType: "Test string",
1437
+ dataSets: [
1438
+ {
1439
+ minAlignmentPeriod: "Test string",
1440
+ sliceNameTemplate: "Test string",
1441
+ timeSeriesQuery: {
1442
+ outputFullDuration: true,
1443
+ prometheusQuery: "Test string",
1444
+ timeSeriesFilter: {
1445
+ aggregation: {
1446
+ alignmentPeriod: "Test string",
1447
+ crossSeriesReducer: "Test string",
1448
+ groupByFields: [
1449
+ "Test string"
1450
+ ],
1451
+ perSeriesAligner: "Test string",
1452
+ },
1453
+ filter: "Test string",
1454
+ pickTimeSeriesFilter: {
1455
+ direction: "Test string",
1456
+ numTimeSeries: 42,
1457
+ rankingMethod: "Test string",
1458
+ },
1459
+ secondaryAggregation: {
1460
+ alignmentPeriod: "Test string",
1461
+ crossSeriesReducer: "Test string",
1462
+ groupByFields: [
1463
+ "Test string"
1464
+ ],
1465
+ perSeriesAligner: "Test string",
1466
+ },
1467
+ statisticalTimeSeriesFilter: {
1468
+ numTimeSeries: 42,
1469
+ rankingMethod: "Test string",
1470
+ },
1471
+ },
1472
+ timeSeriesFilterRatio: {
1473
+ denominator: {
1474
+ aggregation: {
1475
+ alignmentPeriod: "Test string",
1476
+ crossSeriesReducer: "Test string",
1477
+ groupByFields: [
1478
+ "Test string"
1479
+ ],
1480
+ perSeriesAligner: "Test string",
1481
+ },
1482
+ filter: "Test string",
1483
+ },
1484
+ numerator: {
1485
+ aggregation: {
1486
+ alignmentPeriod: "Test string",
1487
+ crossSeriesReducer: "Test string",
1488
+ groupByFields: [
1489
+ "Test string"
1490
+ ],
1491
+ perSeriesAligner: "Test string",
1492
+ },
1493
+ filter: "Test string",
1494
+ },
1495
+ pickTimeSeriesFilter: {
1496
+ direction: "Test string",
1497
+ numTimeSeries: 42,
1498
+ rankingMethod: "Test string",
1499
+ },
1500
+ secondaryAggregation: {
1501
+ alignmentPeriod: "Test string",
1502
+ crossSeriesReducer: "Test string",
1503
+ groupByFields: [
1504
+ "Test string"
1505
+ ],
1506
+ perSeriesAligner: "Test string",
1507
+ },
1508
+ statisticalTimeSeriesFilter: {
1509
+ numTimeSeries: 42,
1510
+ rankingMethod: "Test string",
1511
+ },
1512
+ },
1513
+ timeSeriesQueryLanguage: "Test string",
1514
+ unitOverride: "Test string",
1515
+ },
1516
+ }
1517
+ ],
1518
+ showLabels: true,
1519
+ showTotal: true,
1520
+ sliceAggregatedThreshold: 42,
1521
+ },
1159
1522
  scorecard: {
1523
+ blankView: {
1524
+ },
1160
1525
  gaugeView: {
1161
1526
  lowerBound: 42,
1162
1527
  upperBound: 42,
@@ -1175,6 +1540,7 @@ gapi.load('client', async () => {
1175
1540
  }
1176
1541
  ],
1177
1542
  timeSeriesQuery: {
1543
+ outputFullDuration: true,
1178
1544
  prometheusQuery: "Test string",
1179
1545
  timeSeriesFilter: {
1180
1546
  aggregation: {
@@ -1278,6 +1644,7 @@ gapi.load('client', async () => {
1278
1644
  },
1279
1645
  tableTemplate: "Test string",
1280
1646
  timeSeriesQuery: {
1647
+ outputFullDuration: true,
1281
1648
  prometheusQuery: "Test string",
1282
1649
  timeSeriesFilter: {
1283
1650
  aggregation: {
@@ -1367,6 +1734,7 @@ gapi.load('client', async () => {
1367
1734
  plotType: "Test string",
1368
1735
  targetAxis: "Test string",
1369
1736
  timeSeriesQuery: {
1737
+ outputFullDuration: true,
1370
1738
  prometheusQuery: "Test string",
1371
1739
  timeSeriesFilter: {
1372
1740
  aggregation: {
@@ -1522,20 +1890,109 @@ gapi.load('client', async () => {
1522
1890
  labels: {
1523
1891
  A: "Test string"
1524
1892
  },
1525
- type: "Test string",
1893
+ type: "Test string",
1894
+ }
1895
+ ],
1896
+ policyNames: [
1897
+ "Test string"
1898
+ ],
1899
+ },
1900
+ logsPanel: {
1901
+ filter: "Test string",
1902
+ resourceNames: [
1903
+ "Test string"
1904
+ ],
1905
+ },
1906
+ pieChart: {
1907
+ chartType: "Test string",
1908
+ dataSets: [
1909
+ {
1910
+ minAlignmentPeriod: "Test string",
1911
+ sliceNameTemplate: "Test string",
1912
+ timeSeriesQuery: {
1913
+ outputFullDuration: true,
1914
+ prometheusQuery: "Test string",
1915
+ timeSeriesFilter: {
1916
+ aggregation: {
1917
+ alignmentPeriod: "Test string",
1918
+ crossSeriesReducer: "Test string",
1919
+ groupByFields: [
1920
+ "Test string"
1921
+ ],
1922
+ perSeriesAligner: "Test string",
1923
+ },
1924
+ filter: "Test string",
1925
+ pickTimeSeriesFilter: {
1926
+ direction: "Test string",
1927
+ numTimeSeries: 42,
1928
+ rankingMethod: "Test string",
1929
+ },
1930
+ secondaryAggregation: {
1931
+ alignmentPeriod: "Test string",
1932
+ crossSeriesReducer: "Test string",
1933
+ groupByFields: [
1934
+ "Test string"
1935
+ ],
1936
+ perSeriesAligner: "Test string",
1937
+ },
1938
+ statisticalTimeSeriesFilter: {
1939
+ numTimeSeries: 42,
1940
+ rankingMethod: "Test string",
1941
+ },
1942
+ },
1943
+ timeSeriesFilterRatio: {
1944
+ denominator: {
1945
+ aggregation: {
1946
+ alignmentPeriod: "Test string",
1947
+ crossSeriesReducer: "Test string",
1948
+ groupByFields: [
1949
+ "Test string"
1950
+ ],
1951
+ perSeriesAligner: "Test string",
1952
+ },
1953
+ filter: "Test string",
1954
+ },
1955
+ numerator: {
1956
+ aggregation: {
1957
+ alignmentPeriod: "Test string",
1958
+ crossSeriesReducer: "Test string",
1959
+ groupByFields: [
1960
+ "Test string"
1961
+ ],
1962
+ perSeriesAligner: "Test string",
1963
+ },
1964
+ filter: "Test string",
1965
+ },
1966
+ pickTimeSeriesFilter: {
1967
+ direction: "Test string",
1968
+ numTimeSeries: 42,
1969
+ rankingMethod: "Test string",
1970
+ },
1971
+ secondaryAggregation: {
1972
+ alignmentPeriod: "Test string",
1973
+ crossSeriesReducer: "Test string",
1974
+ groupByFields: [
1975
+ "Test string"
1976
+ ],
1977
+ perSeriesAligner: "Test string",
1978
+ },
1979
+ statisticalTimeSeriesFilter: {
1980
+ numTimeSeries: 42,
1981
+ rankingMethod: "Test string",
1982
+ },
1983
+ },
1984
+ timeSeriesQueryLanguage: "Test string",
1985
+ unitOverride: "Test string",
1986
+ },
1526
1987
  }
1527
1988
  ],
1528
- policyNames: [
1529
- "Test string"
1530
- ],
1531
- },
1532
- logsPanel: {
1533
- filter: "Test string",
1534
- resourceNames: [
1535
- "Test string"
1536
- ],
1989
+ showLabels: true,
1990
+ showTotal: true,
1991
+ sliceAggregatedThreshold: 42,
1537
1992
  },
1538
1993
  scorecard: {
1994
+ blankView: {
1995
+ },
1539
1996
  gaugeView: {
1540
1997
  lowerBound: 42,
1541
1998
  upperBound: 42,
@@ -1554,6 +2011,7 @@ gapi.load('client', async () => {
1554
2011
  }
1555
2012
  ],
1556
2013
  timeSeriesQuery: {
2014
+ outputFullDuration: true,
1557
2015
  prometheusQuery: "Test string",
1558
2016
  timeSeriesFilter: {
1559
2017
  aggregation: {
@@ -1657,6 +2115,7 @@ gapi.load('client', async () => {
1657
2115
  },
1658
2116
  tableTemplate: "Test string",
1659
2117
  timeSeriesQuery: {
2118
+ outputFullDuration: true,
1660
2119
  prometheusQuery: "Test string",
1661
2120
  timeSeriesFilter: {
1662
2121
  aggregation: {
@@ -1746,6 +2205,7 @@ gapi.load('client', async () => {
1746
2205
  plotType: "Test string",
1747
2206
  targetAxis: "Test string",
1748
2207
  timeSeriesQuery: {
2208
+ outputFullDuration: true,
1749
2209
  prometheusQuery: "Test string",
1750
2210
  timeSeriesFilter: {
1751
2211
  aggregation: {
@@ -1890,7 +2350,96 @@ gapi.load('client', async () => {
1890
2350
  "Test string"
1891
2351
  ],
1892
2352
  },
2353
+ pieChart: {
2354
+ chartType: "Test string",
2355
+ dataSets: [
2356
+ {
2357
+ minAlignmentPeriod: "Test string",
2358
+ sliceNameTemplate: "Test string",
2359
+ timeSeriesQuery: {
2360
+ outputFullDuration: true,
2361
+ prometheusQuery: "Test string",
2362
+ timeSeriesFilter: {
2363
+ aggregation: {
2364
+ alignmentPeriod: "Test string",
2365
+ crossSeriesReducer: "Test string",
2366
+ groupByFields: [
2367
+ "Test string"
2368
+ ],
2369
+ perSeriesAligner: "Test string",
2370
+ },
2371
+ filter: "Test string",
2372
+ pickTimeSeriesFilter: {
2373
+ direction: "Test string",
2374
+ numTimeSeries: 42,
2375
+ rankingMethod: "Test string",
2376
+ },
2377
+ secondaryAggregation: {
2378
+ alignmentPeriod: "Test string",
2379
+ crossSeriesReducer: "Test string",
2380
+ groupByFields: [
2381
+ "Test string"
2382
+ ],
2383
+ perSeriesAligner: "Test string",
2384
+ },
2385
+ statisticalTimeSeriesFilter: {
2386
+ numTimeSeries: 42,
2387
+ rankingMethod: "Test string",
2388
+ },
2389
+ },
2390
+ timeSeriesFilterRatio: {
2391
+ denominator: {
2392
+ aggregation: {
2393
+ alignmentPeriod: "Test string",
2394
+ crossSeriesReducer: "Test string",
2395
+ groupByFields: [
2396
+ "Test string"
2397
+ ],
2398
+ perSeriesAligner: "Test string",
2399
+ },
2400
+ filter: "Test string",
2401
+ },
2402
+ numerator: {
2403
+ aggregation: {
2404
+ alignmentPeriod: "Test string",
2405
+ crossSeriesReducer: "Test string",
2406
+ groupByFields: [
2407
+ "Test string"
2408
+ ],
2409
+ perSeriesAligner: "Test string",
2410
+ },
2411
+ filter: "Test string",
2412
+ },
2413
+ pickTimeSeriesFilter: {
2414
+ direction: "Test string",
2415
+ numTimeSeries: 42,
2416
+ rankingMethod: "Test string",
2417
+ },
2418
+ secondaryAggregation: {
2419
+ alignmentPeriod: "Test string",
2420
+ crossSeriesReducer: "Test string",
2421
+ groupByFields: [
2422
+ "Test string"
2423
+ ],
2424
+ perSeriesAligner: "Test string",
2425
+ },
2426
+ statisticalTimeSeriesFilter: {
2427
+ numTimeSeries: 42,
2428
+ rankingMethod: "Test string",
2429
+ },
2430
+ },
2431
+ timeSeriesQueryLanguage: "Test string",
2432
+ unitOverride: "Test string",
2433
+ },
2434
+ }
2435
+ ],
2436
+ showLabels: true,
2437
+ showTotal: true,
2438
+ sliceAggregatedThreshold: 42,
2439
+ },
1893
2440
  scorecard: {
2441
+ blankView: {
2442
+ },
1894
2443
  gaugeView: {
1895
2444
  lowerBound: 42,
1896
2445
  upperBound: 42,
@@ -1909,6 +2458,7 @@ gapi.load('client', async () => {
1909
2458
  }
1910
2459
  ],
1911
2460
  timeSeriesQuery: {
2461
+ outputFullDuration: true,
1912
2462
  prometheusQuery: "Test string",
1913
2463
  timeSeriesFilter: {
1914
2464
  aggregation: {
@@ -2012,6 +2562,7 @@ gapi.load('client', async () => {
2012
2562
  },
2013
2563
  tableTemplate: "Test string",
2014
2564
  timeSeriesQuery: {
2565
+ outputFullDuration: true,
2015
2566
  prometheusQuery: "Test string",
2016
2567
  timeSeriesFilter: {
2017
2568
  aggregation: {
@@ -2101,6 +2652,7 @@ gapi.load('client', async () => {
2101
2652
  plotType: "Test string",
2102
2653
  targetAxis: "Test string",
2103
2654
  timeSeriesQuery: {
2655
+ outputFullDuration: true,
2104
2656
  prometheusQuery: "Test string",
2105
2657
  timeSeriesFilter: {
2106
2658
  aggregation: {
@@ -2238,7 +2790,96 @@ gapi.load('client', async () => {
2238
2790
  "Test string"
2239
2791
  ],
2240
2792
  },
2793
+ pieChart: {
2794
+ chartType: "Test string",
2795
+ dataSets: [
2796
+ {
2797
+ minAlignmentPeriod: "Test string",
2798
+ sliceNameTemplate: "Test string",
2799
+ timeSeriesQuery: {
2800
+ outputFullDuration: true,
2801
+ prometheusQuery: "Test string",
2802
+ timeSeriesFilter: {
2803
+ aggregation: {
2804
+ alignmentPeriod: "Test string",
2805
+ crossSeriesReducer: "Test string",
2806
+ groupByFields: [
2807
+ "Test string"
2808
+ ],
2809
+ perSeriesAligner: "Test string",
2810
+ },
2811
+ filter: "Test string",
2812
+ pickTimeSeriesFilter: {
2813
+ direction: "Test string",
2814
+ numTimeSeries: 42,
2815
+ rankingMethod: "Test string",
2816
+ },
2817
+ secondaryAggregation: {
2818
+ alignmentPeriod: "Test string",
2819
+ crossSeriesReducer: "Test string",
2820
+ groupByFields: [
2821
+ "Test string"
2822
+ ],
2823
+ perSeriesAligner: "Test string",
2824
+ },
2825
+ statisticalTimeSeriesFilter: {
2826
+ numTimeSeries: 42,
2827
+ rankingMethod: "Test string",
2828
+ },
2829
+ },
2830
+ timeSeriesFilterRatio: {
2831
+ denominator: {
2832
+ aggregation: {
2833
+ alignmentPeriod: "Test string",
2834
+ crossSeriesReducer: "Test string",
2835
+ groupByFields: [
2836
+ "Test string"
2837
+ ],
2838
+ perSeriesAligner: "Test string",
2839
+ },
2840
+ filter: "Test string",
2841
+ },
2842
+ numerator: {
2843
+ aggregation: {
2844
+ alignmentPeriod: "Test string",
2845
+ crossSeriesReducer: "Test string",
2846
+ groupByFields: [
2847
+ "Test string"
2848
+ ],
2849
+ perSeriesAligner: "Test string",
2850
+ },
2851
+ filter: "Test string",
2852
+ },
2853
+ pickTimeSeriesFilter: {
2854
+ direction: "Test string",
2855
+ numTimeSeries: 42,
2856
+ rankingMethod: "Test string",
2857
+ },
2858
+ secondaryAggregation: {
2859
+ alignmentPeriod: "Test string",
2860
+ crossSeriesReducer: "Test string",
2861
+ groupByFields: [
2862
+ "Test string"
2863
+ ],
2864
+ perSeriesAligner: "Test string",
2865
+ },
2866
+ statisticalTimeSeriesFilter: {
2867
+ numTimeSeries: 42,
2868
+ rankingMethod: "Test string",
2869
+ },
2870
+ },
2871
+ timeSeriesQueryLanguage: "Test string",
2872
+ unitOverride: "Test string",
2873
+ },
2874
+ }
2875
+ ],
2876
+ showLabels: true,
2877
+ showTotal: true,
2878
+ sliceAggregatedThreshold: 42,
2879
+ },
2241
2880
  scorecard: {
2881
+ blankView: {
2882
+ },
2242
2883
  gaugeView: {
2243
2884
  lowerBound: 42,
2244
2885
  upperBound: 42,
@@ -2257,6 +2898,7 @@ gapi.load('client', async () => {
2257
2898
  }
2258
2899
  ],
2259
2900
  timeSeriesQuery: {
2901
+ outputFullDuration: true,
2260
2902
  prometheusQuery: "Test string",
2261
2903
  timeSeriesFilter: {
2262
2904
  aggregation: {
@@ -2360,6 +3002,7 @@ gapi.load('client', async () => {
2360
3002
  },
2361
3003
  tableTemplate: "Test string",
2362
3004
  timeSeriesQuery: {
3005
+ outputFullDuration: true,
2363
3006
  prometheusQuery: "Test string",
2364
3007
  timeSeriesFilter: {
2365
3008
  aggregation: {
@@ -2449,6 +3092,7 @@ gapi.load('client', async () => {
2449
3092
  plotType: "Test string",
2450
3093
  targetAxis: "Test string",
2451
3094
  timeSeriesQuery: {
3095
+ outputFullDuration: true,
2452
3096
  prometheusQuery: "Test string",
2453
3097
  timeSeriesFilter: {
2454
3098
  aggregation: {
@@ -2588,7 +3232,96 @@ gapi.load('client', async () => {
2588
3232
  "Test string"
2589
3233
  ],
2590
3234
  },
3235
+ pieChart: {
3236
+ chartType: "Test string",
3237
+ dataSets: [
3238
+ {
3239
+ minAlignmentPeriod: "Test string",
3240
+ sliceNameTemplate: "Test string",
3241
+ timeSeriesQuery: {
3242
+ outputFullDuration: true,
3243
+ prometheusQuery: "Test string",
3244
+ timeSeriesFilter: {
3245
+ aggregation: {
3246
+ alignmentPeriod: "Test string",
3247
+ crossSeriesReducer: "Test string",
3248
+ groupByFields: [
3249
+ "Test string"
3250
+ ],
3251
+ perSeriesAligner: "Test string",
3252
+ },
3253
+ filter: "Test string",
3254
+ pickTimeSeriesFilter: {
3255
+ direction: "Test string",
3256
+ numTimeSeries: 42,
3257
+ rankingMethod: "Test string",
3258
+ },
3259
+ secondaryAggregation: {
3260
+ alignmentPeriod: "Test string",
3261
+ crossSeriesReducer: "Test string",
3262
+ groupByFields: [
3263
+ "Test string"
3264
+ ],
3265
+ perSeriesAligner: "Test string",
3266
+ },
3267
+ statisticalTimeSeriesFilter: {
3268
+ numTimeSeries: 42,
3269
+ rankingMethod: "Test string",
3270
+ },
3271
+ },
3272
+ timeSeriesFilterRatio: {
3273
+ denominator: {
3274
+ aggregation: {
3275
+ alignmentPeriod: "Test string",
3276
+ crossSeriesReducer: "Test string",
3277
+ groupByFields: [
3278
+ "Test string"
3279
+ ],
3280
+ perSeriesAligner: "Test string",
3281
+ },
3282
+ filter: "Test string",
3283
+ },
3284
+ numerator: {
3285
+ aggregation: {
3286
+ alignmentPeriod: "Test string",
3287
+ crossSeriesReducer: "Test string",
3288
+ groupByFields: [
3289
+ "Test string"
3290
+ ],
3291
+ perSeriesAligner: "Test string",
3292
+ },
3293
+ filter: "Test string",
3294
+ },
3295
+ pickTimeSeriesFilter: {
3296
+ direction: "Test string",
3297
+ numTimeSeries: 42,
3298
+ rankingMethod: "Test string",
3299
+ },
3300
+ secondaryAggregation: {
3301
+ alignmentPeriod: "Test string",
3302
+ crossSeriesReducer: "Test string",
3303
+ groupByFields: [
3304
+ "Test string"
3305
+ ],
3306
+ perSeriesAligner: "Test string",
3307
+ },
3308
+ statisticalTimeSeriesFilter: {
3309
+ numTimeSeries: 42,
3310
+ rankingMethod: "Test string",
3311
+ },
3312
+ },
3313
+ timeSeriesQueryLanguage: "Test string",
3314
+ unitOverride: "Test string",
3315
+ },
3316
+ }
3317
+ ],
3318
+ showLabels: true,
3319
+ showTotal: true,
3320
+ sliceAggregatedThreshold: 42,
3321
+ },
2591
3322
  scorecard: {
3323
+ blankView: {
3324
+ },
2592
3325
  gaugeView: {
2593
3326
  lowerBound: 42,
2594
3327
  upperBound: 42,
@@ -2607,6 +3340,7 @@ gapi.load('client', async () => {
2607
3340
  }
2608
3341
  ],
2609
3342
  timeSeriesQuery: {
3343
+ outputFullDuration: true,
2610
3344
  prometheusQuery: "Test string",
2611
3345
  timeSeriesFilter: {
2612
3346
  aggregation: {
@@ -2710,6 +3444,7 @@ gapi.load('client', async () => {
2710
3444
  },
2711
3445
  tableTemplate: "Test string",
2712
3446
  timeSeriesQuery: {
3447
+ outputFullDuration: true,
2713
3448
  prometheusQuery: "Test string",
2714
3449
  timeSeriesFilter: {
2715
3450
  aggregation: {
@@ -2799,6 +3534,7 @@ gapi.load('client', async () => {
2799
3534
  plotType: "Test string",
2800
3535
  targetAxis: "Test string",
2801
3536
  timeSeriesQuery: {
3537
+ outputFullDuration: true,
2802
3538
  prometheusQuery: "Test string",
2803
3539
  timeSeriesFilter: {
2804
3540
  aggregation: {