@maxim_mazurok/gapi.client.analyticshub-v1 0.0.20230626 → 0.0.20230710

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 +15 -1
  2. package/package.json +1 -1
  3. package/tests.ts +11 -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://analyticshub.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20230626
12
+ // Revision: 20230710
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -231,6 +231,9 @@ declare namespace gapi.client {
231
231
  /** Optional. Email or URL of the request access of the listing. Subscribers can use this reference to request access. Max Length: 1000 bytes. */
232
232
  requestAccess?:
233
233
  string;
234
+ /** Optional. If set, restricted export configuration will be propagated and enforced on the linked dataset. */
235
+ restrictedExportConfig?:
236
+ RestrictedExportConfig;
234
237
  /** Output only. Current state of the listing. */
235
238
  state?:
236
239
  string;
@@ -317,6 +320,17 @@ declare namespace gapi.client {
317
320
  primaryContact?:
318
321
  string;
319
322
  }
323
+ interface RestrictedExportConfig {
324
+ /** Optional. If true, enable restricted export. */
325
+ enabled?:
326
+ boolean;
327
+ /** Output only. If true, restrict direct table access(read api/tabledata.list) on linked table. */
328
+ restrictDirectTableAccess?:
329
+ boolean;
330
+ /** Optional. If true, restrict export of query result derived from restricted linked dataset table. */
331
+ restrictQueryResult?:
332
+ boolean;
333
+ }
320
334
  interface SetIamPolicyRequest {
321
335
  /**
322
336
  * REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.analyticshub-v1",
3
- "version": "0.0.20230626",
3
+ "version": "0.0.20230710",
4
4
  "description": "TypeScript typings for Analytics Hub API v1",
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: 20230626
6
+ // Revision: 20230710
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -156,6 +156,11 @@ gapi.load('client', async () => {
156
156
  primaryContact: "Test string",
157
157
  },
158
158
  requestAccess: "Test string",
159
+ restrictedExportConfig: {
160
+ enabled: true,
161
+ restrictDirectTableAccess: true,
162
+ restrictQueryResult: true,
163
+ },
159
164
  state: "Test string",
160
165
  });
161
166
  /** Deletes a listing. */
@@ -206,6 +211,11 @@ gapi.load('client', async () => {
206
211
  primaryContact: "Test string",
207
212
  },
208
213
  requestAccess: "Test string",
214
+ restrictedExportConfig: {
215
+ enabled: true,
216
+ restrictDirectTableAccess: true,
217
+ restrictQueryResult: true,
218
+ },
209
219
  state: "Test string",
210
220
  });
211
221
  /** Sets the IAM policy. */