@maxim_mazurok/gapi.client.bigquery-v2 0.0.20230204 → 0.0.20230218

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 +7 -1
  2. package/package.json +1 -1
  3. package/tests.ts +16 -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://bigquery.googleapis.com/$discovery/rest?version=v2
12
- // Revision: 20230204
12
+ // Revision: 20230218
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -541,6 +541,8 @@ declare namespace gapi.client {
541
541
  * updating a partitioned table, that value takes precedence over the default partition expiration time indicated by this property.
542
542
  */
543
543
  defaultPartitionExpirationMs?: string;
544
+ /** [Output-only] The default rounding mode of the dataset. */
545
+ defaultRoundingMode?: string;
544
546
  /**
545
547
  * [Optional] The default lifetime of all tables in the dataset, in milliseconds. The minimum value is 3600000 milliseconds (one hour). Once this property is set, all newly-created
546
548
  * tables in the dataset will have an expirationTime property set to the creation time plus the value in this property, and changing the value will only affect new tables, not existing
@@ -2320,6 +2322,8 @@ declare namespace gapi.client {
2320
2322
  creationTime?: string;
2321
2323
  /** [Output-only] The default collation of the table. */
2322
2324
  defaultCollation?: string;
2325
+ /** [Output-only] The default rounding mode of the table. */
2326
+ defaultRoundingMode?: string;
2323
2327
  /** [Optional] A user-friendly description of this table. */
2324
2328
  description?: string;
2325
2329
  /** Custom encryption configuration (e.g., Cloud KMS keys). */
@@ -2512,6 +2516,8 @@ declare namespace gapi.client {
2512
2516
  * type = "BIGNUMERIC": 1 ≤ precision ≤ 38. If scale is specified but not precision, then it is invalid.
2513
2517
  */
2514
2518
  precision?: string;
2519
+ /** Optional. Rounding Mode specification of the field. It only can be set on NUMERIC or BIGNUMERIC type fields. */
2520
+ roundingMode?: string;
2515
2521
  /** [Optional] See documentation for precision. */
2516
2522
  scale?: string;
2517
2523
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.bigquery-v2",
3
- "version": "0.0.20230204",
3
+ "version": "0.0.20230218",
4
4
  "description": "TypeScript typings for BigQuery API v2",
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: 20230204
6
+ // Revision: 20230218
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -98,6 +98,7 @@ gapi.load('client', async () => {
98
98
  kmsKeyName: "Test string",
99
99
  },
100
100
  defaultPartitionExpirationMs: "Test string",
101
+ defaultRoundingMode: "Test string",
101
102
  defaultTableExpirationMs: "Test string",
102
103
  description: "Test string",
103
104
  etag: "Test string",
@@ -176,6 +177,7 @@ gapi.load('client', async () => {
176
177
  kmsKeyName: "Test string",
177
178
  },
178
179
  defaultPartitionExpirationMs: "Test string",
180
+ defaultRoundingMode: "Test string",
179
181
  defaultTableExpirationMs: "Test string",
180
182
  description: "Test string",
181
183
  etag: "Test string",
@@ -246,6 +248,7 @@ gapi.load('client', async () => {
246
248
  kmsKeyName: "Test string",
247
249
  },
248
250
  defaultPartitionExpirationMs: "Test string",
251
+ defaultRoundingMode: "Test string",
249
252
  defaultTableExpirationMs: "Test string",
250
253
  description: "Test string",
251
254
  etag: "Test string",
@@ -447,6 +450,7 @@ gapi.load('client', async () => {
447
450
  ],
448
451
  },
449
452
  precision: "Test string",
453
+ roundingMode: "Test string",
450
454
  scale: "Test string",
451
455
  type: "Test string",
452
456
  }
@@ -619,6 +623,7 @@ gapi.load('client', async () => {
619
623
  ],
620
624
  },
621
625
  precision: "Test string",
626
+ roundingMode: "Test string",
622
627
  scale: "Test string",
623
628
  type: "Test string",
624
629
  }
@@ -831,6 +836,7 @@ gapi.load('client', async () => {
831
836
  ],
832
837
  },
833
838
  precision: "Test string",
839
+ roundingMode: "Test string",
834
840
  scale: "Test string",
835
841
  type: "Test string",
836
842
  }
@@ -2339,6 +2345,7 @@ gapi.load('client', async () => {
2339
2345
  },
2340
2346
  creationTime: "Test string",
2341
2347
  defaultCollation: "Test string",
2348
+ defaultRoundingMode: "Test string",
2342
2349
  description: "Test string",
2343
2350
  encryptionConfiguration: {
2344
2351
  kmsKeyName: "Test string",
@@ -2426,6 +2433,7 @@ gapi.load('client', async () => {
2426
2433
  ],
2427
2434
  },
2428
2435
  precision: "Test string",
2436
+ roundingMode: "Test string",
2429
2437
  scale: "Test string",
2430
2438
  type: "Test string",
2431
2439
  }
@@ -2530,6 +2538,7 @@ gapi.load('client', async () => {
2530
2538
  ],
2531
2539
  },
2532
2540
  precision: "Test string",
2541
+ roundingMode: "Test string",
2533
2542
  scale: "Test string",
2534
2543
  type: "Test string",
2535
2544
  }
@@ -2605,6 +2614,7 @@ gapi.load('client', async () => {
2605
2614
  },
2606
2615
  creationTime: "Test string",
2607
2616
  defaultCollation: "Test string",
2617
+ defaultRoundingMode: "Test string",
2608
2618
  description: "Test string",
2609
2619
  encryptionConfiguration: {
2610
2620
  kmsKeyName: "Test string",
@@ -2692,6 +2702,7 @@ gapi.load('client', async () => {
2692
2702
  ],
2693
2703
  },
2694
2704
  precision: "Test string",
2705
+ roundingMode: "Test string",
2695
2706
  scale: "Test string",
2696
2707
  type: "Test string",
2697
2708
  }
@@ -2796,6 +2807,7 @@ gapi.load('client', async () => {
2796
2807
  ],
2797
2808
  },
2798
2809
  precision: "Test string",
2810
+ roundingMode: "Test string",
2799
2811
  scale: "Test string",
2800
2812
  type: "Test string",
2801
2813
  }
@@ -2912,6 +2924,7 @@ gapi.load('client', async () => {
2912
2924
  },
2913
2925
  creationTime: "Test string",
2914
2926
  defaultCollation: "Test string",
2927
+ defaultRoundingMode: "Test string",
2915
2928
  description: "Test string",
2916
2929
  encryptionConfiguration: {
2917
2930
  kmsKeyName: "Test string",
@@ -2999,6 +3012,7 @@ gapi.load('client', async () => {
2999
3012
  ],
3000
3013
  },
3001
3014
  precision: "Test string",
3015
+ roundingMode: "Test string",
3002
3016
  scale: "Test string",
3003
3017
  type: "Test string",
3004
3018
  }
@@ -3103,6 +3117,7 @@ gapi.load('client', async () => {
3103
3117
  ],
3104
3118
  },
3105
3119
  precision: "Test string",
3120
+ roundingMode: "Test string",
3106
3121
  scale: "Test string",
3107
3122
  type: "Test string",
3108
3123
  }