@maxim_mazurok/gapi.client.bigquery-v2 0.0.20240714 → 0.0.20240803

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 (2) hide show
  1. package/index.d.ts +7 -1
  2. package/package.json +1 -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: 20240714
12
+ // Revision: 20240803
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -378,6 +378,10 @@ declare namespace gapi.client {
378
378
  /** Whether any accessed data was protected by the data masking. */
379
379
  dataMaskingApplied?: boolean;
380
380
  }
381
+ interface DataPolicyOption {
382
+ /** Data policy resource name in the form of projects/project_id/locations/location_id/dataPolicies/data_policy_id. */
383
+ name?: string;
384
+ }
381
385
  interface Dataset {
382
386
  /** 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 to access the data. If unspecified at dataset creation time, BigQuery adds default dataset access for the following entities: access.specialGroup: projectReaders; access.role: READER; access.specialGroup: projectWriters; access.role: WRITER; access.specialGroup: projectOwners; access.role: OWNER; access.userByEmail: [dataset creator email]; access.role: OWNER; If you patch a dataset, then this field is overwritten by the patched dataset's access field. To add entities, you must supply the entire existing access array in addition to any new entities that you want to add. */
383
387
  access?: Array<{
@@ -2323,6 +2327,8 @@ declare namespace gapi.client {
2323
2327
  };
2324
2328
  /** Optional. Field collation can be set only when the type of field is STRING. The following values are supported: * 'und:ci': undetermined locale, case insensitive. * '': empty string. Default to case-sensitive behavior. */
2325
2329
  collation?: string;
2330
+ /** Optional. Data policy options, will replace the data_policies. */
2331
+ dataPolicies?: DataPolicyOption[];
2326
2332
  /** Optional. A SQL expression to specify the [default value] (https://cloud.google.com/bigquery/docs/default-values) for this field. */
2327
2333
  defaultValueExpression?: string;
2328
2334
  /** Optional. The field description. The maximum length is 1,024 characters. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.bigquery-v2",
3
- "version": "0.0.20240714",
3
+ "version": "0.0.20240803",
4
4
  "description": "TypeScript typings for BigQuery API v2",
5
5
  "repository": {
6
6
  "type": "git",