@maxim_mazurok/gapi.client.bigquery-v2 0.0.20220827 → 0.0.20220910
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 +12 -1
- package/package.json +1 -1
- package/tests.ts +10 -1
package/index.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
11
11
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
12
12
|
// Generated from: https://bigquery.googleapis.com/$discovery/rest?version=v2
|
|
13
|
-
// Revision:
|
|
13
|
+
// Revision: 20220910
|
|
14
14
|
|
|
15
15
|
/// <reference types="gapi.client" />
|
|
16
16
|
|
|
@@ -471,6 +471,13 @@ declare namespace gapi.client {
|
|
|
471
471
|
*/
|
|
472
472
|
skipLeadingRows?: string;
|
|
473
473
|
}
|
|
474
|
+
interface DataMaskingStatistics {
|
|
475
|
+
/**
|
|
476
|
+
* [Output-only] [Preview] Whether any accessed data was protected by data masking. The actual evaluation is done by accessStats.masked_field_count > 0. Since this is only used for the
|
|
477
|
+
* discovery_doc generation purpose, as long as the type (boolean) matches, client library can leverage this. The actual evaluation of the variable is done else-where.
|
|
478
|
+
*/
|
|
479
|
+
dataMaskingApplied?: boolean;
|
|
480
|
+
}
|
|
474
481
|
interface Dataset {
|
|
475
482
|
/**
|
|
476
483
|
* [Optional] An array of objects that define dataset access for one or more entities. You can set this property when inserting or updating a dataset in order to control who is allowed
|
|
@@ -1168,6 +1175,8 @@ declare namespace gapi.client {
|
|
|
1168
1175
|
autodetect?: boolean;
|
|
1169
1176
|
/** [Beta] Clustering specification for the destination table. Must be specified with time-based partitioning, data in the table will be first partitioned and subsequently clustered. */
|
|
1170
1177
|
clustering?: Clustering;
|
|
1178
|
+
/** Connection properties. */
|
|
1179
|
+
connectionProperties?: ConnectionProperty[];
|
|
1171
1180
|
/**
|
|
1172
1181
|
* [Optional] Specifies whether the job is allowed to create new tables. The following values are supported: CREATE_IF_NEEDED: If the table does not exist, BigQuery creates the table.
|
|
1173
1182
|
* CREATE_NEVER: The table must already exist. If it does not, a 'notFound' error is returned in the job result. The default value is CREATE_IF_NEEDED. Creation, truncation and append
|
|
@@ -1456,6 +1465,8 @@ declare namespace gapi.client {
|
|
|
1456
1465
|
copy?: JobStatistics5;
|
|
1457
1466
|
/** [Output-only] Creation time of this job, in milliseconds since the epoch. This field will be present on all jobs. */
|
|
1458
1467
|
creationTime?: string;
|
|
1468
|
+
/** [Output-only] Statistics for data masking. Present only for query and extract jobs. */
|
|
1469
|
+
dataMaskingStatistics?: DataMaskingStatistics;
|
|
1459
1470
|
/** [Output-only] End time of this job, in milliseconds since the epoch. This field will be present whenever a job is in the DONE state. */
|
|
1460
1471
|
endTime?: string;
|
|
1461
1472
|
/** [Output-only] Statistics for an extract job. */
|
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: 20220910
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -367,6 +367,12 @@ gapi.load('client', async () => {
|
|
|
367
367
|
"Test string"
|
|
368
368
|
],
|
|
369
369
|
},
|
|
370
|
+
connectionProperties: [
|
|
371
|
+
{
|
|
372
|
+
key: "Test string",
|
|
373
|
+
value: "Test string",
|
|
374
|
+
}
|
|
375
|
+
],
|
|
370
376
|
createDisposition: "Test string",
|
|
371
377
|
decimalTargetTypes: [
|
|
372
378
|
"Test string"
|
|
@@ -651,6 +657,9 @@ gapi.load('client', async () => {
|
|
|
651
657
|
copied_rows: "Test string",
|
|
652
658
|
},
|
|
653
659
|
creationTime: "Test string",
|
|
660
|
+
dataMaskingStatistics: {
|
|
661
|
+
dataMaskingApplied: true,
|
|
662
|
+
},
|
|
654
663
|
endTime: "Test string",
|
|
655
664
|
extract: {
|
|
656
665
|
destinationUriFileCounts: [
|