@maxim_mazurok/gapi.client.bigquery-v2 0.0.20240727 → 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 -11
  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: 20240727
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<{
@@ -927,14 +931,6 @@ declare namespace gapi.client {
927
931
  /** 1-based index of the trial. */
928
932
  trialId?: string;
929
933
  }
930
- interface IdentityColumnInfo {
931
- /** Optional. Dictates when system generated values are used to populate the field. */
932
- generatedMode?: string;
933
- /** Optional. The minimum difference between two successive generated values. Should be INTEGER compatible. Can be negative or positive but not 0. The default value is 1 if the field is not specified. */
934
- increment?: string;
935
- /** Optional. The first generated value. Should be INTEGER compatible. The default value is 1 if the field is not specified. */
936
- start?: string;
937
- }
938
934
  interface IndexUnusedReason {
939
935
  /** Specifies the base table involved in the reason that no search index was used. */
940
936
  baseTable?: TableReference;
@@ -2331,6 +2327,8 @@ declare namespace gapi.client {
2331
2327
  };
2332
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. */
2333
2329
  collation?: string;
2330
+ /** Optional. Data policy options, will replace the data_policies. */
2331
+ dataPolicies?: DataPolicyOption[];
2334
2332
  /** Optional. A SQL expression to specify the [default value] (https://cloud.google.com/bigquery/docs/default-values) for this field. */
2335
2333
  defaultValueExpression?: string;
2336
2334
  /** Optional. The field description. The maximum length is 1,024 characters. */
@@ -2339,8 +2337,6 @@ declare namespace gapi.client {
2339
2337
  fields?: TableFieldSchema[];
2340
2338
  /** Optional. Definition of the foreign data type. Only valid for top-level schema fields (not nested fields). If the type is FOREIGN, this field is required. */
2341
2339
  foreignTypeDefinition?: string;
2342
- /** Optional. Definition of how values are generated for the field. Setting this option means that the field is an identity column. Only valid for top-level schema INTEGER fields (not nested fields). */
2343
- identityColumnInfo?: IdentityColumnInfo;
2344
2340
  /** Optional. Maximum length of values of this field for STRINGS or BYTES. If max_length is not specified, no maximum length constraint is imposed on this field. If type = "STRING", then max_length represents the maximum UTF-8 length of strings in this field. If type = "BYTES", then max_length represents the maximum number of bytes in this field. It is invalid to set this field if type ≠ "STRING" and ≠ "BYTES". */
2345
2341
  maxLength?: string;
2346
2342
  /** Optional. The field mode. Possible values include NULLABLE, REQUIRED and REPEATED. The default value is NULLABLE. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.bigquery-v2",
3
- "version": "0.0.20240727",
3
+ "version": "0.0.20240803",
4
4
  "description": "TypeScript typings for BigQuery API v2",
5
5
  "repository": {
6
6
  "type": "git",