@maxim_mazurok/gapi.client.bigquerydatapolicy-v2 0.1.20260304 → 0.1.20260601

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 +9 -1
  2. package/package.json +1 -1
  3. package/readme.md +17 -0
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://bigquerydatapolicy.googleapis.com/$discovery/rest?version=v2
12
- // Revision: 20260304
12
+ // Revision: 20260601
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -62,6 +62,12 @@ declare namespace gapi.client {
62
62
  /** Required. User-assigned (human readable) ID of the data policy that needs to be unique within a project. Used as {data_policy_id} in part of the resource name. */
63
63
  dataPolicyId?: string;
64
64
  }
65
+ interface DataGovernanceTag {
66
+ /** Optional. Tag keys are globally unique. Tag key is expected to be in the namespaced format, for example `parent-id/pii` where `parent-id` is the ID of the parent organization or project resource for this tag key. */
67
+ key?: string;
68
+ /** Optional. Specifies the tag value as the short name, for example `sensitive`. */
69
+ value?: string;
70
+ }
65
71
  interface DataMaskingPolicy {
66
72
  /** Optional. A predefined masking expression. */
67
73
  predefinedExpression?:
@@ -78,6 +84,8 @@ declare namespace gapi.client {
78
84
  routine?: string;
79
85
  }
80
86
  interface DataPolicy {
87
+ /** Optional. Data Governance tag bound to the Data Policy. */
88
+ dataGovernanceTag?: DataGovernanceTag;
81
89
  /** Optional. The data masking policy that specifies the data masking rule to use. It must be set if the data policy type is DATA_MASKING_POLICY. */
82
90
  dataMaskingPolicy?: DataMaskingPolicy;
83
91
  /** Output only. User-assigned (human readable) ID of the data policy that needs to be unique within a project. Used as {data_policy_id} in part of the resource name. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.bigquerydatapolicy-v2",
3
- "version": "0.1.20260304",
3
+ "version": "0.1.20260601",
4
4
  "description": "TypeScript typings for BigQuery Data Policy API v2",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -11,6 +11,23 @@ Install typings for BigQuery Data Policy API:
11
11
  npm install @types/gapi.client.bigquerydatapolicy-v2 --save-dev
12
12
  ```
13
13
 
14
+ ## TypeScript 6.0+
15
+
16
+ TypeScript 6.0 changed `types` to default to `[]`. You must now explicitly list type packages in `tsconfig.json`:
17
+
18
+ ```json
19
+ {
20
+ "compilerOptions": {
21
+ "types": [
22
+ "gapi",
23
+ "gapi.auth2",
24
+ "gapi.client",
25
+ "gapi.client.bigquerydatapolicy-v2"
26
+ ]
27
+ }
28
+ }
29
+ ```
30
+
14
31
  ## Usage
15
32
 
16
33
  You need to initialize Google API client in your code: