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

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 +24 -1
  2. package/package.json +1 -1
  3. package/tests.ts +65 -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=v1
12
- // Revision: 20230724
12
+ // Revision: 20230731
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -586,6 +586,29 @@ declare namespace gapi.client {
586
586
  /** How the text content is formatted. */
587
587
  format?:
588
588
  string;
589
+ /** How the text is styled */
590
+ style?:
591
+ TextStyle;
592
+ }
593
+ interface TextStyle {
594
+ /** The background color as a hex string. "#RRGGBB" or "#RGB" */
595
+ backgroundColor?:
596
+ string;
597
+ /** Font sizes for both the title and content. The title will still be larger relative to the content. */
598
+ fontSize?:
599
+ string;
600
+ /** The horizontal alignment of both the title and content */
601
+ horizontalAlignment?:
602
+ string;
603
+ /** The amount of padding around the widget */
604
+ padding?:
605
+ string;
606
+ /** The text color as a hex string. "#RRGGBB" or "#RGB" */
607
+ textColor?:
608
+ string;
609
+ /** The vertical alignment of both the title and content */
610
+ verticalAlignment?:
611
+ string;
589
612
  }
590
613
  interface Threshold {
591
614
  /** The state color for this threshold. Color is not allowed in a XyChart. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.monitoring-v1",
3
- "version": "0.0.20230724",
3
+ "version": "0.0.20230731",
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: 20230724
6
+ // Revision: 20230731
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -199,6 +199,14 @@ gapi.load('client', async () => {
199
199
  text: {
200
200
  content: "Test string",
201
201
  format: "Test string",
202
+ style: {
203
+ backgroundColor: "Test string",
204
+ fontSize: "Test string",
205
+ horizontalAlignment: "Test string",
206
+ padding: "Test string",
207
+ textColor: "Test string",
208
+ verticalAlignment: "Test string",
209
+ },
202
210
  },
203
211
  timeSeriesTable: {
204
212
  columnSettings: [
@@ -546,6 +554,14 @@ gapi.load('client', async () => {
546
554
  text: {
547
555
  content: "Test string",
548
556
  format: "Test string",
557
+ style: {
558
+ backgroundColor: "Test string",
559
+ fontSize: "Test string",
560
+ horizontalAlignment: "Test string",
561
+ padding: "Test string",
562
+ textColor: "Test string",
563
+ verticalAlignment: "Test string",
564
+ },
549
565
  },
550
566
  timeSeriesTable: {
551
567
  columnSettings: [
@@ -886,6 +902,14 @@ gapi.load('client', async () => {
886
902
  text: {
887
903
  content: "Test string",
888
904
  format: "Test string",
905
+ style: {
906
+ backgroundColor: "Test string",
907
+ fontSize: "Test string",
908
+ horizontalAlignment: "Test string",
909
+ padding: "Test string",
910
+ textColor: "Test string",
911
+ verticalAlignment: "Test string",
912
+ },
889
913
  },
890
914
  timeSeriesTable: {
891
915
  columnSettings: [
@@ -1228,6 +1252,14 @@ gapi.load('client', async () => {
1228
1252
  text: {
1229
1253
  content: "Test string",
1230
1254
  format: "Test string",
1255
+ style: {
1256
+ backgroundColor: "Test string",
1257
+ fontSize: "Test string",
1258
+ horizontalAlignment: "Test string",
1259
+ padding: "Test string",
1260
+ textColor: "Test string",
1261
+ verticalAlignment: "Test string",
1262
+ },
1231
1263
  },
1232
1264
  timeSeriesTable: {
1233
1265
  columnSettings: [
@@ -1599,6 +1631,14 @@ gapi.load('client', async () => {
1599
1631
  text: {
1600
1632
  content: "Test string",
1601
1633
  format: "Test string",
1634
+ style: {
1635
+ backgroundColor: "Test string",
1636
+ fontSize: "Test string",
1637
+ horizontalAlignment: "Test string",
1638
+ padding: "Test string",
1639
+ textColor: "Test string",
1640
+ verticalAlignment: "Test string",
1641
+ },
1602
1642
  },
1603
1643
  timeSeriesTable: {
1604
1644
  columnSettings: [
@@ -1946,6 +1986,14 @@ gapi.load('client', async () => {
1946
1986
  text: {
1947
1987
  content: "Test string",
1948
1988
  format: "Test string",
1989
+ style: {
1990
+ backgroundColor: "Test string",
1991
+ fontSize: "Test string",
1992
+ horizontalAlignment: "Test string",
1993
+ padding: "Test string",
1994
+ textColor: "Test string",
1995
+ verticalAlignment: "Test string",
1996
+ },
1949
1997
  },
1950
1998
  timeSeriesTable: {
1951
1999
  columnSettings: [
@@ -2286,6 +2334,14 @@ gapi.load('client', async () => {
2286
2334
  text: {
2287
2335
  content: "Test string",
2288
2336
  format: "Test string",
2337
+ style: {
2338
+ backgroundColor: "Test string",
2339
+ fontSize: "Test string",
2340
+ horizontalAlignment: "Test string",
2341
+ padding: "Test string",
2342
+ textColor: "Test string",
2343
+ verticalAlignment: "Test string",
2344
+ },
2289
2345
  },
2290
2346
  timeSeriesTable: {
2291
2347
  columnSettings: [
@@ -2628,6 +2684,14 @@ gapi.load('client', async () => {
2628
2684
  text: {
2629
2685
  content: "Test string",
2630
2686
  format: "Test string",
2687
+ style: {
2688
+ backgroundColor: "Test string",
2689
+ fontSize: "Test string",
2690
+ horizontalAlignment: "Test string",
2691
+ padding: "Test string",
2692
+ textColor: "Test string",
2693
+ verticalAlignment: "Test string",
2694
+ },
2631
2695
  },
2632
2696
  timeSeriesTable: {
2633
2697
  columnSettings: [