@maxim_mazurok/gapi.client.dataform-v1beta1 0.0.20230121 → 0.0.20230203

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 +14 -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://dataform.googleapis.com/$discovery/rest?version=v1beta1
12
- // Revision: 20230121
12
+ // Revision: 20230203
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -456,6 +456,11 @@ declare namespace gapi.client {
456
456
  * `projects/*‍/secrets/*‍/versions/*`. The file itself must be in a JSON format.
457
457
  */
458
458
  npmrcEnvironmentVariablesSecretVersion?: string;
459
+ /**
460
+ * Optional. If set, fields of `workspace_compilation_overrides` override the default compilation settings that are specified in dataform.json when creating workspace-scoped
461
+ * compilation results. See documentation for `WorkspaceCompilationOverrides` for more information.
462
+ */
463
+ workspaceCompilationOverrides?: WorkspaceCompilationOverrides;
459
464
  }
460
465
  interface ResetWorkspaceChangesRequest {
461
466
  /** Optional. If set to true, untracked files will be deleted. */
@@ -556,6 +561,14 @@ declare namespace gapi.client {
556
561
  /** Output only. The workspace's name. */
557
562
  name?: string;
558
563
  }
564
+ interface WorkspaceCompilationOverrides {
565
+ /** Optional. The default database (Google Cloud project ID). */
566
+ defaultDatabase?: string;
567
+ /** Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names. */
568
+ schemaSuffix?: string;
569
+ /** Optional. The prefix that should be prepended to all table names. */
570
+ tablePrefix?: string;
571
+ }
559
572
  interface WriteFileRequest {
560
573
  /** Required. The file's contents. */
561
574
  contents?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.dataform-v1beta1",
3
- "version": "0.0.20230121",
3
+ "version": "0.0.20230203",
4
4
  "description": "TypeScript typings for Dataform API v1beta1",
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: 20230121
6
+ // Revision: 20230203
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -54,6 +54,11 @@ gapi.load('client', async () => {
54
54
  },
55
55
  name: "Test string",
56
56
  npmrcEnvironmentVariablesSecretVersion: "Test string",
57
+ workspaceCompilationOverrides: {
58
+ defaultDatabase: "Test string",
59
+ schemaSuffix: "Test string",
60
+ tablePrefix: "Test string",
61
+ },
57
62
  });
58
63
  /** Deletes a single Repository. */
59
64
  await gapi.client.dataform.projects.locations.repositories.delete({
@@ -89,6 +94,11 @@ gapi.load('client', async () => {
89
94
  },
90
95
  name: "Test string",
91
96
  npmrcEnvironmentVariablesSecretVersion: "Test string",
97
+ workspaceCompilationOverrides: {
98
+ defaultDatabase: "Test string",
99
+ schemaSuffix: "Test string",
100
+ tablePrefix: "Test string",
101
+ },
92
102
  });
93
103
  /** Creates a new CompilationResult in a given project and location. */
94
104
  await gapi.client.dataform.projects.locations.repositories.compilationResults.create({