@maxim_mazurok/gapi.client.bigquery-v2 0.0.20230422 → 0.0.20230506

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 +57 -21
  2. package/package.json +1 -1
  3. package/tests.ts +96 -25
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: 20230422
12
+ // Revision: 20230506
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -3147,46 +3147,46 @@ declare namespace gapi.client {
3147
3147
  model?:
3148
3148
  ModelDefinition;
3149
3149
  /** [Output-only] Number of logical bytes that are less than 90 days old. */
3150
- num_active_logical_bytes?:
3150
+ numActiveLogicalBytes?:
3151
3151
  string;
3152
3152
  /** [Output-only] Number of physical bytes less than 90 days old. This data is not kept in real time, and might be delayed by a few seconds to a few minutes. */
3153
- num_active_physical_bytes?:
3153
+ numActivePhysicalBytes?:
3154
+ string;
3155
+ /** [Output-only] The size of this table in bytes, excluding any data in the streaming buffer. */
3156
+ numBytes?:
3157
+ string;
3158
+ /** [Output-only] The number of bytes in the table that are considered "long-term storage". */
3159
+ numLongTermBytes?:
3154
3160
  string;
3155
3161
  /** [Output-only] Number of logical bytes that are more than 90 days old. */
3156
- num_long_term_logical_bytes?:
3162
+ numLongTermLogicalBytes?:
3157
3163
  string;
3158
3164
  /** [Output-only] Number of physical bytes more than 90 days old. This data is not kept in real time, and might be delayed by a few seconds to a few minutes. */
3159
- num_long_term_physical_bytes?:
3165
+ numLongTermPhysicalBytes?:
3160
3166
  string;
3161
3167
  /** [Output-only] The number of partitions present in the table or materialized view. This data is not kept in real time, and might be delayed by a few seconds to a few minutes. */
3162
- num_partitions?:
3168
+ numPartitions?:
3169
+ string;
3170
+ /** [Output-only] [TrustedTester] The physical size of this table in bytes, excluding any data in the streaming buffer. This includes compression and storage used for time travel. */
3171
+ numPhysicalBytes?:
3172
+ string;
3173
+ /** [Output-only] The number of rows of data in this table, excluding any data in the streaming buffer. */
3174
+ numRows?:
3163
3175
  string;
3164
3176
  /**
3165
3177
  * [Output-only] Number of physical bytes used by time travel storage (deleted or changed data). This data is not kept in real time, and might be delayed by a few seconds to a few
3166
3178
  * minutes.
3167
3179
  */
3168
- num_time_travel_physical_bytes?:
3180
+ numTimeTravelPhysicalBytes?:
3169
3181
  string;
3170
3182
  /** [Output-only] Total number of logical bytes in the table or materialized view. */
3171
- num_total_logical_bytes?:
3183
+ numTotalLogicalBytes?:
3172
3184
  string;
3173
3185
  /**
3174
3186
  * [Output-only] The physical size of this table in bytes. This also includes storage used for time travel. This data is not kept in real time, and might be delayed by a few seconds to
3175
3187
  * a few minutes.
3176
3188
  */
3177
- num_total_physical_bytes?:
3178
- string;
3179
- /** [Output-only] The size of this table in bytes, excluding any data in the streaming buffer. */
3180
- numBytes?:
3181
- string;
3182
- /** [Output-only] The number of bytes in the table that are considered "long-term storage". */
3183
- numLongTermBytes?:
3184
- string;
3185
- /** [Output-only] [TrustedTester] The physical size of this table in bytes, excluding any data in the streaming buffer. This includes compression and storage used for time travel. */
3186
- numPhysicalBytes?:
3187
- string;
3188
- /** [Output-only] The number of rows of data in this table, excluding any data in the streaming buffer. */
3189
- numRows?:
3189
+ numTotalPhysicalBytes?:
3190
3190
  string;
3191
3191
  /** [TrustedTester] Range partitioning specification for this table. Only one of timePartitioning and rangePartitioning should be specified. */
3192
3192
  rangePartitioning?:
@@ -3209,6 +3209,9 @@ declare namespace gapi.client {
3209
3209
  */
3210
3210
  streamingBuffer?:
3211
3211
  Streamingbuffer;
3212
+ /** [Optional] The table constraints on the table. */
3213
+ tableConstraints?:
3214
+ TableConstraints;
3212
3215
  /** [Required] Reference describing the ID of this table. */
3213
3216
  tableReference?:
3214
3217
  TableReference;
@@ -3230,6 +3233,36 @@ declare namespace gapi.client {
3230
3233
  v?:
3231
3234
  any;
3232
3235
  }
3236
+ interface TableConstraints {
3237
+ /** [Optional] The foreign keys of the tables. */
3238
+ foreign_keys?:
3239
+ Array<{
3240
+ column_references?:
3241
+ Array<{
3242
+ referenced_column?:
3243
+ string;
3244
+ referencing_column?:
3245
+ string;
3246
+ }>;
3247
+ name?:
3248
+ string;
3249
+ referenced_table?:
3250
+ {
3251
+ datasetId?:
3252
+ string;
3253
+ projectId?:
3254
+ string;
3255
+ tableId?:
3256
+ string;
3257
+ };
3258
+ }>;
3259
+ /** [Optional] The primary key of the table. */
3260
+ primary_key?:
3261
+ {
3262
+ columns?:
3263
+ string[];
3264
+ };
3265
+ }
3233
3266
  interface TableDataInsertAllRequest {
3234
3267
  /** [Optional] Accept rows that contain values that do not match the schema. The unknown values are ignored. Default is false, which treats unknown values as errors. */
3235
3268
  ignoreUnknownValues?:
@@ -3482,6 +3515,9 @@ declare namespace gapi.client {
3482
3515
  /** If true, detect step changes and make data adjustment in the input time series. */
3483
3516
  adjustStepChanges?:
3484
3517
  boolean;
3518
+ /** Whether to use approximate feature contribution method in XGBoost model explanation for global explain. */
3519
+ approxGlobalFeatureContrib?:
3520
+ boolean;
3485
3521
  /** Whether to enable auto ARIMA or not. */
3486
3522
  autoArima?:
3487
3523
  boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.bigquery-v2",
3
- "version": "0.0.20230422",
3
+ "version": "0.0.20230506",
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: 20230422
6
+ // Revision: 20230506
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -1451,6 +1451,7 @@ gapi.load('client', async () => {
1451
1451
  },
1452
1452
  hparams: {
1453
1453
  adjustStepChanges: true,
1454
+ approxGlobalFeatureContrib: true,
1454
1455
  autoArima: true,
1455
1456
  autoArimaMaxOrder: "Test string",
1456
1457
  autoArimaMinOrder: "Test string",
@@ -1915,6 +1916,7 @@ gapi.load('client', async () => {
1915
1916
  startTime: "Test string",
1916
1917
  trainingOptions: {
1917
1918
  adjustStepChanges: true,
1919
+ approxGlobalFeatureContrib: true,
1918
1920
  autoArima: true,
1919
1921
  autoArimaMaxOrder: "Test string",
1920
1922
  autoArimaMinOrder: "Test string",
@@ -2523,18 +2525,18 @@ gapi.load('client', async () => {
2523
2525
  }
2524
2526
  ],
2525
2527
  },
2526
- num_active_logical_bytes: "Test string",
2527
- num_active_physical_bytes: "Test string",
2528
- num_long_term_logical_bytes: "Test string",
2529
- num_long_term_physical_bytes: "Test string",
2530
- num_partitions: "Test string",
2531
- num_time_travel_physical_bytes: "Test string",
2532
- num_total_logical_bytes: "Test string",
2533
- num_total_physical_bytes: "Test string",
2528
+ numActiveLogicalBytes: "Test string",
2529
+ numActivePhysicalBytes: "Test string",
2534
2530
  numBytes: "Test string",
2535
2531
  numLongTermBytes: "Test string",
2532
+ numLongTermLogicalBytes: "Test string",
2533
+ numLongTermPhysicalBytes: "Test string",
2534
+ numPartitions: "Test string",
2536
2535
  numPhysicalBytes: "Test string",
2537
2536
  numRows: "Test string",
2537
+ numTimeTravelPhysicalBytes: "Test string",
2538
+ numTotalLogicalBytes: "Test string",
2539
+ numTotalPhysicalBytes: "Test string",
2538
2540
  rangePartitioning: {
2539
2541
  field: "Test string",
2540
2542
  range: {
@@ -2585,6 +2587,29 @@ gapi.load('client', async () => {
2585
2587
  estimatedRows: "Test string",
2586
2588
  oldestEntryTime: "Test string",
2587
2589
  },
2590
+ tableConstraints: {
2591
+ foreign_keys: [
2592
+ {
2593
+ column_references: [
2594
+ {
2595
+ referenced_column: "Test string",
2596
+ referencing_column: "Test string",
2597
+ }
2598
+ ],
2599
+ name: "Test string",
2600
+ referenced_table: {
2601
+ datasetId: "Test string",
2602
+ projectId: "Test string",
2603
+ tableId: "Test string",
2604
+ },
2605
+ }
2606
+ ],
2607
+ primary_key: {
2608
+ columns: [
2609
+ "Test string"
2610
+ ],
2611
+ },
2612
+ },
2588
2613
  tableReference: {
2589
2614
  datasetId: "Test string",
2590
2615
  projectId: "Test string",
@@ -2795,18 +2820,18 @@ gapi.load('client', async () => {
2795
2820
  }
2796
2821
  ],
2797
2822
  },
2798
- num_active_logical_bytes: "Test string",
2799
- num_active_physical_bytes: "Test string",
2800
- num_long_term_logical_bytes: "Test string",
2801
- num_long_term_physical_bytes: "Test string",
2802
- num_partitions: "Test string",
2803
- num_time_travel_physical_bytes: "Test string",
2804
- num_total_logical_bytes: "Test string",
2805
- num_total_physical_bytes: "Test string",
2823
+ numActiveLogicalBytes: "Test string",
2824
+ numActivePhysicalBytes: "Test string",
2806
2825
  numBytes: "Test string",
2807
2826
  numLongTermBytes: "Test string",
2827
+ numLongTermLogicalBytes: "Test string",
2828
+ numLongTermPhysicalBytes: "Test string",
2829
+ numPartitions: "Test string",
2808
2830
  numPhysicalBytes: "Test string",
2809
2831
  numRows: "Test string",
2832
+ numTimeTravelPhysicalBytes: "Test string",
2833
+ numTotalLogicalBytes: "Test string",
2834
+ numTotalPhysicalBytes: "Test string",
2810
2835
  rangePartitioning: {
2811
2836
  field: "Test string",
2812
2837
  range: {
@@ -2857,6 +2882,29 @@ gapi.load('client', async () => {
2857
2882
  estimatedRows: "Test string",
2858
2883
  oldestEntryTime: "Test string",
2859
2884
  },
2885
+ tableConstraints: {
2886
+ foreign_keys: [
2887
+ {
2888
+ column_references: [
2889
+ {
2890
+ referenced_column: "Test string",
2891
+ referencing_column: "Test string",
2892
+ }
2893
+ ],
2894
+ name: "Test string",
2895
+ referenced_table: {
2896
+ datasetId: "Test string",
2897
+ projectId: "Test string",
2898
+ tableId: "Test string",
2899
+ },
2900
+ }
2901
+ ],
2902
+ primary_key: {
2903
+ columns: [
2904
+ "Test string"
2905
+ ],
2906
+ },
2907
+ },
2860
2908
  tableReference: {
2861
2909
  datasetId: "Test string",
2862
2910
  projectId: "Test string",
@@ -3108,18 +3156,18 @@ gapi.load('client', async () => {
3108
3156
  }
3109
3157
  ],
3110
3158
  },
3111
- num_active_logical_bytes: "Test string",
3112
- num_active_physical_bytes: "Test string",
3113
- num_long_term_logical_bytes: "Test string",
3114
- num_long_term_physical_bytes: "Test string",
3115
- num_partitions: "Test string",
3116
- num_time_travel_physical_bytes: "Test string",
3117
- num_total_logical_bytes: "Test string",
3118
- num_total_physical_bytes: "Test string",
3159
+ numActiveLogicalBytes: "Test string",
3160
+ numActivePhysicalBytes: "Test string",
3119
3161
  numBytes: "Test string",
3120
3162
  numLongTermBytes: "Test string",
3163
+ numLongTermLogicalBytes: "Test string",
3164
+ numLongTermPhysicalBytes: "Test string",
3165
+ numPartitions: "Test string",
3121
3166
  numPhysicalBytes: "Test string",
3122
3167
  numRows: "Test string",
3168
+ numTimeTravelPhysicalBytes: "Test string",
3169
+ numTotalLogicalBytes: "Test string",
3170
+ numTotalPhysicalBytes: "Test string",
3123
3171
  rangePartitioning: {
3124
3172
  field: "Test string",
3125
3173
  range: {
@@ -3170,6 +3218,29 @@ gapi.load('client', async () => {
3170
3218
  estimatedRows: "Test string",
3171
3219
  oldestEntryTime: "Test string",
3172
3220
  },
3221
+ tableConstraints: {
3222
+ foreign_keys: [
3223
+ {
3224
+ column_references: [
3225
+ {
3226
+ referenced_column: "Test string",
3227
+ referencing_column: "Test string",
3228
+ }
3229
+ ],
3230
+ name: "Test string",
3231
+ referenced_table: {
3232
+ datasetId: "Test string",
3233
+ projectId: "Test string",
3234
+ tableId: "Test string",
3235
+ },
3236
+ }
3237
+ ],
3238
+ primary_key: {
3239
+ columns: [
3240
+ "Test string"
3241
+ ],
3242
+ },
3243
+ },
3173
3244
  tableReference: {
3174
3245
  datasetId: "Test string",
3175
3246
  projectId: "Test string",