@maxim_mazurok/gapi.client.bigquery-v2 0.0.20230805 → 0.0.20230812

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 +22 -1
  2. package/package.json +1 -1
  3. package/tests.ts +40 -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: 20230805
12
+ // Revision: 20230812
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -725,6 +725,9 @@ declare namespace gapi.client {
725
725
  /** [Output-only] A hash of the resource. */
726
726
  etag?:
727
727
  string;
728
+ /** [Optional] Information about the external metadata storage where the dataset is defined. Filled out when the dataset type is EXTERNAL. */
729
+ externalDatasetReference?:
730
+ ExternalDatasetReference;
728
731
  /** [Optional] A descriptive name for the dataset. */
729
732
  friendlyName?:
730
733
  string;
@@ -1171,6 +1174,14 @@ declare namespace gapi.client {
1171
1174
  sourceUris?:
1172
1175
  string[];
1173
1176
  }
1177
+ interface ExternalDatasetReference {
1178
+ /** [Required] The connection id that is used to access the external_source. Format: projects/{project_id}/locations/{location_id}/connections/{connection_id} */
1179
+ connection?:
1180
+ string;
1181
+ /** [Required] External source that backs this dataset. */
1182
+ externalSource?:
1183
+ string;
1184
+ }
1174
1185
  interface FeatureValue {
1175
1186
  /** The categorical feature value. */
1176
1187
  categoricalValue?:
@@ -3436,6 +3447,16 @@ declare namespace gapi.client {
3436
3447
  */
3437
3448
  precision?:
3438
3449
  string;
3450
+ /**
3451
+ * Optional. The subtype of the RANGE, if the type of this field is RANGE. If the type is RANGE, this field is required. Possible values for the field element type of a RANGE include:
3452
+ * - DATE - DATETIME - TIMESTAMP
3453
+ */
3454
+ rangeElementType?:
3455
+ {
3456
+ /** The field element type of a RANGE */
3457
+ type?:
3458
+ string;
3459
+ };
3439
3460
  /** Optional. Rounding Mode specification of the field. It only can be set on NUMERIC or BIGNUMERIC type fields. */
3440
3461
  roundingMode?:
3441
3462
  string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.bigquery-v2",
3
- "version": "0.0.20230805",
3
+ "version": "0.0.20230812",
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: 20230805
6
+ // Revision: 20230812
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -102,6 +102,10 @@ gapi.load('client', async () => {
102
102
  defaultTableExpirationMs: "Test string",
103
103
  description: "Test string",
104
104
  etag: "Test string",
105
+ externalDatasetReference: {
106
+ connection: "Test string",
107
+ externalSource: "Test string",
108
+ },
105
109
  friendlyName: "Test string",
106
110
  id: "Test string",
107
111
  isCaseInsensitive: true,
@@ -181,6 +185,10 @@ gapi.load('client', async () => {
181
185
  defaultTableExpirationMs: "Test string",
182
186
  description: "Test string",
183
187
  etag: "Test string",
188
+ externalDatasetReference: {
189
+ connection: "Test string",
190
+ externalSource: "Test string",
191
+ },
184
192
  friendlyName: "Test string",
185
193
  id: "Test string",
186
194
  isCaseInsensitive: true,
@@ -252,6 +260,10 @@ gapi.load('client', async () => {
252
260
  defaultTableExpirationMs: "Test string",
253
261
  description: "Test string",
254
262
  etag: "Test string",
263
+ externalDatasetReference: {
264
+ connection: "Test string",
265
+ externalSource: "Test string",
266
+ },
255
267
  friendlyName: "Test string",
256
268
  id: "Test string",
257
269
  isCaseInsensitive: true,
@@ -454,6 +466,9 @@ gapi.load('client', async () => {
454
466
  ],
455
467
  },
456
468
  precision: "Test string",
469
+ rangeElementType: {
470
+ type: "Test string",
471
+ },
457
472
  roundingMode: "Test string",
458
473
  scale: "Test string",
459
474
  type: "Test string",
@@ -635,6 +650,9 @@ gapi.load('client', async () => {
635
650
  ],
636
651
  },
637
652
  precision: "Test string",
653
+ rangeElementType: {
654
+ type: "Test string",
655
+ },
638
656
  roundingMode: "Test string",
639
657
  scale: "Test string",
640
658
  type: "Test string",
@@ -848,6 +866,9 @@ gapi.load('client', async () => {
848
866
  ],
849
867
  },
850
868
  precision: "Test string",
869
+ rangeElementType: {
870
+ type: "Test string",
871
+ },
851
872
  roundingMode: "Test string",
852
873
  scale: "Test string",
853
874
  type: "Test string",
@@ -2506,6 +2527,9 @@ gapi.load('client', async () => {
2506
2527
  ],
2507
2528
  },
2508
2529
  precision: "Test string",
2530
+ rangeElementType: {
2531
+ type: "Test string",
2532
+ },
2509
2533
  roundingMode: "Test string",
2510
2534
  scale: "Test string",
2511
2535
  type: "Test string",
@@ -2611,6 +2635,9 @@ gapi.load('client', async () => {
2611
2635
  ],
2612
2636
  },
2613
2637
  precision: "Test string",
2638
+ rangeElementType: {
2639
+ type: "Test string",
2640
+ },
2614
2641
  roundingMode: "Test string",
2615
2642
  scale: "Test string",
2616
2643
  type: "Test string",
@@ -2811,6 +2838,9 @@ gapi.load('client', async () => {
2811
2838
  ],
2812
2839
  },
2813
2840
  precision: "Test string",
2841
+ rangeElementType: {
2842
+ type: "Test string",
2843
+ },
2814
2844
  roundingMode: "Test string",
2815
2845
  scale: "Test string",
2816
2846
  type: "Test string",
@@ -2916,6 +2946,9 @@ gapi.load('client', async () => {
2916
2946
  ],
2917
2947
  },
2918
2948
  precision: "Test string",
2949
+ rangeElementType: {
2950
+ type: "Test string",
2951
+ },
2919
2952
  roundingMode: "Test string",
2920
2953
  scale: "Test string",
2921
2954
  type: "Test string",
@@ -3157,6 +3190,9 @@ gapi.load('client', async () => {
3157
3190
  ],
3158
3191
  },
3159
3192
  precision: "Test string",
3193
+ rangeElementType: {
3194
+ type: "Test string",
3195
+ },
3160
3196
  roundingMode: "Test string",
3161
3197
  scale: "Test string",
3162
3198
  type: "Test string",
@@ -3262,6 +3298,9 @@ gapi.load('client', async () => {
3262
3298
  ],
3263
3299
  },
3264
3300
  precision: "Test string",
3301
+ rangeElementType: {
3302
+ type: "Test string",
3303
+ },
3265
3304
  roundingMode: "Test string",
3266
3305
  scale: "Test string",
3267
3306
  type: "Test string",