@maxim_mazurok/gapi.client.bigquery-v2 0.0.20230506 → 0.0.20230520
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.
- package/index.d.ts +28 -20
- package/package.json +1 -1
- package/tests.ts +31 -19
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:
|
|
12
|
+
// Revision: 20230520
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -885,7 +885,7 @@ declare namespace gapi.client {
|
|
|
885
885
|
}
|
|
886
886
|
interface EncryptionConfiguration {
|
|
887
887
|
/**
|
|
888
|
-
*
|
|
888
|
+
* Optional. Describes the Cloud KMS encryption key that will be used to protect destination BigQuery table. The BigQuery Service Account associated with your project requires access
|
|
889
889
|
* to this encryption key.
|
|
890
890
|
*/
|
|
891
891
|
kmsKeyName?:
|
|
@@ -1106,6 +1106,9 @@ declare namespace gapi.client {
|
|
|
1106
1106
|
*/
|
|
1107
1107
|
ignoreUnknownValues?:
|
|
1108
1108
|
boolean;
|
|
1109
|
+
/** Additional properties to set if `sourceFormat` is set to `NEWLINE_DELIMITED_JSON`. */
|
|
1110
|
+
jsonOptions?:
|
|
1111
|
+
JsonOptions;
|
|
1109
1112
|
/**
|
|
1110
1113
|
* [Optional] The maximum number of bad records that BigQuery can ignore when reading data. If the number of bad records exceeds this value, an invalid error is returned in the job
|
|
1111
1114
|
* result. This is only valid for CSV, JSON, and Google Sheets. The default value is 0, which requires that all records are valid. This setting is ignored for Google Cloud Bigtable,
|
|
@@ -2190,6 +2193,11 @@ declare namespace gapi.client {
|
|
|
2190
2193
|
[key: string]:
|
|
2191
2194
|
any;
|
|
2192
2195
|
}
|
|
2196
|
+
interface JsonOptions {
|
|
2197
|
+
/** [Optional] The character encoding of the data. The supported values are UTF-8, UTF-16BE, UTF-16LE, UTF-32BE, and UTF-32LE. The default value is UTF-8. */
|
|
2198
|
+
encoding?:
|
|
2199
|
+
string;
|
|
2200
|
+
}
|
|
2193
2201
|
// tslint:disable-next-line:no-empty-interface
|
|
2194
2202
|
interface JsonValue {
|
|
2195
2203
|
}
|
|
@@ -2355,13 +2363,13 @@ declare namespace gapi.client {
|
|
|
2355
2363
|
BqmlTrainingRun[];
|
|
2356
2364
|
}
|
|
2357
2365
|
interface ModelReference {
|
|
2358
|
-
/**
|
|
2366
|
+
/** Required. The ID of the dataset containing this model. */
|
|
2359
2367
|
datasetId?:
|
|
2360
2368
|
string;
|
|
2361
|
-
/**
|
|
2369
|
+
/** Required. The ID of the model. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024 characters. */
|
|
2362
2370
|
modelId?:
|
|
2363
2371
|
string;
|
|
2364
|
-
/**
|
|
2372
|
+
/** Required. The ID of the project containing this model. */
|
|
2365
2373
|
projectId?:
|
|
2366
2374
|
string;
|
|
2367
2375
|
}
|
|
@@ -2834,13 +2842,13 @@ declare namespace gapi.client {
|
|
|
2834
2842
|
boolean;
|
|
2835
2843
|
}
|
|
2836
2844
|
interface RoutineReference {
|
|
2837
|
-
/**
|
|
2845
|
+
/** Required. The ID of the dataset containing this routine. */
|
|
2838
2846
|
datasetId?:
|
|
2839
2847
|
string;
|
|
2840
|
-
/**
|
|
2848
|
+
/** Required. The ID of the project containing this routine. */
|
|
2841
2849
|
projectId?:
|
|
2842
2850
|
string;
|
|
2843
|
-
/**
|
|
2851
|
+
/** Required. The ID of the routine. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 256 characters. */
|
|
2844
2852
|
routineId?:
|
|
2845
2853
|
string;
|
|
2846
2854
|
}
|
|
@@ -2874,16 +2882,16 @@ declare namespace gapi.client {
|
|
|
2874
2882
|
RowAccessPolicyReference;
|
|
2875
2883
|
}
|
|
2876
2884
|
interface RowAccessPolicyReference {
|
|
2877
|
-
/**
|
|
2885
|
+
/** Required. The ID of the dataset containing this row access policy. */
|
|
2878
2886
|
datasetId?:
|
|
2879
2887
|
string;
|
|
2880
|
-
/**
|
|
2888
|
+
/** Required. The ID of the row access policy. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 256 characters. */
|
|
2881
2889
|
policyId?:
|
|
2882
2890
|
string;
|
|
2883
|
-
/**
|
|
2891
|
+
/** Required. The ID of the project containing this row access policy. */
|
|
2884
2892
|
projectId?:
|
|
2885
2893
|
string;
|
|
2886
|
-
/**
|
|
2894
|
+
/** Required. The ID of the table containing this row access policy. */
|
|
2887
2895
|
tableId?:
|
|
2888
2896
|
string;
|
|
2889
2897
|
}
|
|
@@ -3235,18 +3243,18 @@ declare namespace gapi.client {
|
|
|
3235
3243
|
}
|
|
3236
3244
|
interface TableConstraints {
|
|
3237
3245
|
/** [Optional] The foreign keys of the tables. */
|
|
3238
|
-
|
|
3246
|
+
foreignKeys?:
|
|
3239
3247
|
Array<{
|
|
3240
|
-
|
|
3248
|
+
columnReferences?:
|
|
3241
3249
|
Array<{
|
|
3242
|
-
|
|
3250
|
+
referencedColumn?:
|
|
3243
3251
|
string;
|
|
3244
|
-
|
|
3252
|
+
referencingColumn?:
|
|
3245
3253
|
string;
|
|
3246
3254
|
}>;
|
|
3247
3255
|
name?:
|
|
3248
3256
|
string;
|
|
3249
|
-
|
|
3257
|
+
referencedTable?:
|
|
3250
3258
|
{
|
|
3251
3259
|
datasetId?:
|
|
3252
3260
|
string;
|
|
@@ -3257,7 +3265,7 @@ declare namespace gapi.client {
|
|
|
3257
3265
|
};
|
|
3258
3266
|
}>;
|
|
3259
3267
|
/** [Optional] The primary key of the table. */
|
|
3260
|
-
|
|
3268
|
+
primaryKey?:
|
|
3261
3269
|
{
|
|
3262
3270
|
columns?:
|
|
3263
3271
|
string[];
|
|
@@ -4813,8 +4821,8 @@ declare namespace gapi.client {
|
|
|
4813
4821
|
fields?:
|
|
4814
4822
|
string;
|
|
4815
4823
|
/**
|
|
4816
|
-
* If set, then only the Routines matching this filter are returned. The
|
|
4817
|
-
*
|
|
4824
|
+
* If set, then only the Routines matching this filter are returned. The supported format is `routineType:{RoutineType}`, where `{RoutineType}` is a RoutineType enum. For example:
|
|
4825
|
+
* `routineType:SCALAR_FUNCTION`.
|
|
4818
4826
|
*/
|
|
4819
4827
|
filter?:
|
|
4820
4828
|
string;
|
package/package.json
CHANGED
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:
|
|
6
|
+
// Revision: 20230520
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -601,6 +601,9 @@ gapi.load('client', async () => {
|
|
|
601
601
|
sourceUriPrefix: "Test string",
|
|
602
602
|
},
|
|
603
603
|
ignoreUnknownValues: true,
|
|
604
|
+
jsonOptions: {
|
|
605
|
+
encoding: "Test string",
|
|
606
|
+
},
|
|
604
607
|
maxBadRecords: 42,
|
|
605
608
|
metadataCacheMode: "Test string",
|
|
606
609
|
objectMetadata: "Test string",
|
|
@@ -2433,6 +2436,9 @@ gapi.load('client', async () => {
|
|
|
2433
2436
|
sourceUriPrefix: "Test string",
|
|
2434
2437
|
},
|
|
2435
2438
|
ignoreUnknownValues: true,
|
|
2439
|
+
jsonOptions: {
|
|
2440
|
+
encoding: "Test string",
|
|
2441
|
+
},
|
|
2436
2442
|
maxBadRecords: 42,
|
|
2437
2443
|
metadataCacheMode: "Test string",
|
|
2438
2444
|
objectMetadata: "Test string",
|
|
@@ -2588,23 +2594,23 @@ gapi.load('client', async () => {
|
|
|
2588
2594
|
oldestEntryTime: "Test string",
|
|
2589
2595
|
},
|
|
2590
2596
|
tableConstraints: {
|
|
2591
|
-
|
|
2597
|
+
foreignKeys: [
|
|
2592
2598
|
{
|
|
2593
|
-
|
|
2599
|
+
columnReferences: [
|
|
2594
2600
|
{
|
|
2595
|
-
|
|
2596
|
-
|
|
2601
|
+
referencedColumn: "Test string",
|
|
2602
|
+
referencingColumn: "Test string",
|
|
2597
2603
|
}
|
|
2598
2604
|
],
|
|
2599
2605
|
name: "Test string",
|
|
2600
|
-
|
|
2606
|
+
referencedTable: {
|
|
2601
2607
|
datasetId: "Test string",
|
|
2602
2608
|
projectId: "Test string",
|
|
2603
2609
|
tableId: "Test string",
|
|
2604
2610
|
},
|
|
2605
2611
|
}
|
|
2606
2612
|
],
|
|
2607
|
-
|
|
2613
|
+
primaryKey: {
|
|
2608
2614
|
columns: [
|
|
2609
2615
|
"Test string"
|
|
2610
2616
|
],
|
|
@@ -2728,6 +2734,9 @@ gapi.load('client', async () => {
|
|
|
2728
2734
|
sourceUriPrefix: "Test string",
|
|
2729
2735
|
},
|
|
2730
2736
|
ignoreUnknownValues: true,
|
|
2737
|
+
jsonOptions: {
|
|
2738
|
+
encoding: "Test string",
|
|
2739
|
+
},
|
|
2731
2740
|
maxBadRecords: 42,
|
|
2732
2741
|
metadataCacheMode: "Test string",
|
|
2733
2742
|
objectMetadata: "Test string",
|
|
@@ -2883,23 +2892,23 @@ gapi.load('client', async () => {
|
|
|
2883
2892
|
oldestEntryTime: "Test string",
|
|
2884
2893
|
},
|
|
2885
2894
|
tableConstraints: {
|
|
2886
|
-
|
|
2895
|
+
foreignKeys: [
|
|
2887
2896
|
{
|
|
2888
|
-
|
|
2897
|
+
columnReferences: [
|
|
2889
2898
|
{
|
|
2890
|
-
|
|
2891
|
-
|
|
2899
|
+
referencedColumn: "Test string",
|
|
2900
|
+
referencingColumn: "Test string",
|
|
2892
2901
|
}
|
|
2893
2902
|
],
|
|
2894
2903
|
name: "Test string",
|
|
2895
|
-
|
|
2904
|
+
referencedTable: {
|
|
2896
2905
|
datasetId: "Test string",
|
|
2897
2906
|
projectId: "Test string",
|
|
2898
2907
|
tableId: "Test string",
|
|
2899
2908
|
},
|
|
2900
2909
|
}
|
|
2901
2910
|
],
|
|
2902
|
-
|
|
2911
|
+
primaryKey: {
|
|
2903
2912
|
columns: [
|
|
2904
2913
|
"Test string"
|
|
2905
2914
|
],
|
|
@@ -3064,6 +3073,9 @@ gapi.load('client', async () => {
|
|
|
3064
3073
|
sourceUriPrefix: "Test string",
|
|
3065
3074
|
},
|
|
3066
3075
|
ignoreUnknownValues: true,
|
|
3076
|
+
jsonOptions: {
|
|
3077
|
+
encoding: "Test string",
|
|
3078
|
+
},
|
|
3067
3079
|
maxBadRecords: 42,
|
|
3068
3080
|
metadataCacheMode: "Test string",
|
|
3069
3081
|
objectMetadata: "Test string",
|
|
@@ -3219,23 +3231,23 @@ gapi.load('client', async () => {
|
|
|
3219
3231
|
oldestEntryTime: "Test string",
|
|
3220
3232
|
},
|
|
3221
3233
|
tableConstraints: {
|
|
3222
|
-
|
|
3234
|
+
foreignKeys: [
|
|
3223
3235
|
{
|
|
3224
|
-
|
|
3236
|
+
columnReferences: [
|
|
3225
3237
|
{
|
|
3226
|
-
|
|
3227
|
-
|
|
3238
|
+
referencedColumn: "Test string",
|
|
3239
|
+
referencingColumn: "Test string",
|
|
3228
3240
|
}
|
|
3229
3241
|
],
|
|
3230
3242
|
name: "Test string",
|
|
3231
|
-
|
|
3243
|
+
referencedTable: {
|
|
3232
3244
|
datasetId: "Test string",
|
|
3233
3245
|
projectId: "Test string",
|
|
3234
3246
|
tableId: "Test string",
|
|
3235
3247
|
},
|
|
3236
3248
|
}
|
|
3237
3249
|
],
|
|
3238
|
-
|
|
3250
|
+
primaryKey: {
|
|
3239
3251
|
columns: [
|
|
3240
3252
|
"Test string"
|
|
3241
3253
|
],
|