@maxim_mazurok/gapi.client.bigquery-v2 0.0.20220903 → 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.
Files changed (3) hide show
  1. package/index.d.ts +10 -1
  2. package/package.json +1 -1
  3. package/tests.ts +4 -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: 20220903
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
@@ -1458,6 +1465,8 @@ declare namespace gapi.client {
1458
1465
  copy?: JobStatistics5;
1459
1466
  /** [Output-only] Creation time of this job, in milliseconds since the epoch. This field will be present on all jobs. */
1460
1467
  creationTime?: string;
1468
+ /** [Output-only] Statistics for data masking. Present only for query and extract jobs. */
1469
+ dataMaskingStatistics?: DataMaskingStatistics;
1461
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. */
1462
1471
  endTime?: string;
1463
1472
  /** [Output-only] Statistics for an extract job. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.bigquery-v2",
3
- "version": "0.0.20220903",
3
+ "version": "0.0.20220910",
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: 20220903
6
+ // Revision: 20220910
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -657,6 +657,9 @@ gapi.load('client', async () => {
657
657
  copied_rows: "Test string",
658
658
  },
659
659
  creationTime: "Test string",
660
+ dataMaskingStatistics: {
661
+ dataMaskingApplied: true,
662
+ },
660
663
  endTime: "Test string",
661
664
  extract: {
662
665
  destinationUriFileCounts: [