@maxim_mazurok/gapi.client.analyticshub-v1beta1 0.0.20230722 → 0.0.20230804

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 +51 -1
  2. package/package.json +2 -2
  3. package/tests.ts +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://analyticshub.googleapis.com/$discovery/rest?version=v1beta1
12
- // Revision: 20230722
12
+ // Revision: 20230804
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -180,6 +180,11 @@ declare namespace gapi.client {
180
180
  requestedPolicyVersion?:
181
181
  number;
182
182
  }
183
+ interface LinkedResource {
184
+ /** Output only. Name of the linked dataset, e.g. projects/subscriberproject/datasets/linked_dataset */
185
+ linkedDataset?:
186
+ string;
187
+ }
183
188
  interface ListDataExchangesResponse {
184
189
  /** The list of data exchanges. */
185
190
  dataExchanges?:
@@ -320,6 +325,11 @@ declare namespace gapi.client {
320
325
  primaryContact?:
321
326
  string;
322
327
  }
328
+ interface RefreshSubscriptionResponse {
329
+ /** The refreshed subscription resource. */
330
+ subscription?:
331
+ Subscription;
332
+ }
323
333
  interface RestrictedExportConfig {
324
334
  /** Optional. If true, enable restricted export. */
325
335
  enabled?:
@@ -345,6 +355,11 @@ declare namespace gapi.client {
345
355
  updateMask?:
346
356
  string;
347
357
  }
358
+ interface SubscribeDataExchangeResponse {
359
+ /** Subscription object created from this subscribe action. */
360
+ subscription?:
361
+ Subscription;
362
+ }
348
363
  interface SubscribeListingRequest {
349
364
  /** BigQuery destination dataset to create for the subscriber. */
350
365
  destinationDataset?:
@@ -353,6 +368,41 @@ declare namespace gapi.client {
353
368
  // tslint:disable-next-line:no-empty-interface
354
369
  interface SubscribeListingResponse {
355
370
  }
371
+ interface Subscription {
372
+ /** Output only. Timestamp when the subscription was created. */
373
+ creationTime?:
374
+ string;
375
+ /** Output only. Resource name of the source Data Exchange. e.g. projects/123/locations/US/dataExchanges/456 */
376
+ dataExchange?:
377
+ string;
378
+ /** Output only. Timestamp when the subscription was last modified. */
379
+ lastModifyTime?:
380
+ string;
381
+ /**
382
+ * Output only. Map of listing resource names to associated linked resource, e.g. projects/123/locations/US/dataExchanges/456/listings/789 -> projects/123/datasets/my_dataset For
383
+ * listing-level subscriptions, this is a map of size 1. Only contains values if state == STATE_ACTIVE.
384
+ */
385
+ linkedDatasetMap?:
386
+ { [P in string]: LinkedResource };
387
+ /** Output only. Resource name of the source Listing. e.g. projects/123/locations/US/dataExchanges/456/listings/789 */
388
+ listing?:
389
+ string;
390
+ /** Output only. The resource name of the subscription. e.g. `projects/myproject/locations/US/subscriptions/123`. */
391
+ name?:
392
+ string;
393
+ /** Output only. Display name of the project of this subscription. */
394
+ organizationDisplayName?:
395
+ string;
396
+ /** Output only. Organization of the project this subscription belongs to. */
397
+ organizationId?:
398
+ string;
399
+ /** Output only. Current state of the subscription. */
400
+ state?:
401
+ string;
402
+ /** Output only. Email of the subscriber. */
403
+ subscriberContact?:
404
+ string;
405
+ }
356
406
  interface TestIamPermissionsRequest {
357
407
  /**
358
408
  * The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.analyticshub-v1beta1",
3
- "version": "0.0.20230722",
3
+ "version": "0.0.20230804",
4
4
  "description": "TypeScript typings for Analytics Hub API v1beta1",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -15,6 +15,6 @@
15
15
  "types": "index.d.ts",
16
16
  "dependencies": {
17
17
  "@types/gapi.client": "*",
18
- "@types/gapi.client.discovery": "*"
18
+ "@types/gapi.client.discovery-v1": "*"
19
19
  }
20
20
  }
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: 20230722
6
+ // Revision: 20230804
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */