@maxim_mazurok/gapi.client.dataform-v1beta1 0.0.20250323 → 0.0.20250420

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 +90 -2
  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://dataform.googleapis.com/$discovery/rest?version=v1beta1
12
- // Revision: 20250323
12
+ // Revision: 20250420
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -28,6 +28,35 @@ declare namespace gapi.client {
28
28
  ): void;
29
29
 
30
30
  namespace dataform {
31
+ interface ActionErrorTable {
32
+ /** Error table partition expiration in days. Only positive values are allowed. */
33
+ retentionDays?: number;
34
+ /** Error Table target. */
35
+ target?: Target;
36
+ }
37
+ interface ActionIncrementalLoadMode {
38
+ /** Column name for incremental load modes */
39
+ column?: string;
40
+ }
41
+ interface ActionLoadConfig {
42
+ /** Append into destination table */
43
+ append?: any;
44
+ /** Insert records where the value exceeds the previous maximum value for a column in the destination table */
45
+ maximum?: ActionIncrementalLoadMode;
46
+ /** Replace destination table */
47
+ replace?: any;
48
+ /** Insert records where the value of a column is not already present in the destination table */
49
+ unique?: ActionIncrementalLoadMode;
50
+ }
51
+ interface ActionSimpleLoadMode {}
52
+ interface ActionSqlDefinition {
53
+ /** Error table configuration, */
54
+ errorTable?: ActionErrorTable;
55
+ /** Load configuration. */
56
+ loadConfig?: ActionLoadConfig;
57
+ /** The SQL query representing the data preparation steps. Formatted as a Pipe SQL query statement. */
58
+ query?: string;
59
+ }
31
60
  interface Assertion {
32
61
  /** A list of actions that this action depends on. */
33
62
  dependencyTargets?: Target[];
@@ -61,6 +90,8 @@ declare namespace gapi.client {
61
90
  interface CodeCompilationConfig {
62
91
  /** Optional. The default schema (BigQuery dataset ID) for assertions. */
63
92
  assertionSchema?: string;
93
+ /** Optional. The prefix to prepend to built-in assertion names. */
94
+ builtinAssertionNamePrefix?: string;
64
95
  /** Optional. The suffix that should be appended to all database (Google Cloud project ID) names. */
65
96
  databaseSuffix?: string;
66
97
  /** Optional. The default database (Google Cloud project ID). */
@@ -168,6 +199,8 @@ declare namespace gapi.client {
168
199
  assertion?: Assertion;
169
200
  /** The action's identifier if the project had been compiled without any overrides configured. Unique within the compilation result. */
170
201
  canonicalTarget?: Target;
202
+ /** The data preparation executed by this action. */
203
+ dataPreparation?: DataPreparation;
171
204
  /** The declaration declared by this action. */
172
205
  declaration?: Declaration;
173
206
  /** The full path including filename in which this action is located, relative to the workspace root. */
@@ -197,6 +230,28 @@ declare namespace gapi.client {
197
230
  /** Required. The KMS key version name with which data of a resource is encrypted. */
198
231
  kmsKeyVersionName?: string;
199
232
  }
233
+ interface DataPreparation {
234
+ /** SQL definition for a Data Preparation. Contains a SQL query and additional context information. */
235
+ contentsSql?: SqlDefinition;
236
+ /** The data preparation definition, stored as a YAML string. */
237
+ contentsYaml?: string;
238
+ /** A list of actions that this action depends on. */
239
+ dependencyTargets?: Target[];
240
+ /** Whether this action is disabled (i.e. should not be run). */
241
+ disabled?: boolean;
242
+ /** Arbitrary, user-defined tags on this action. */
243
+ tags?: string[];
244
+ }
245
+ interface DataPreparationAction {
246
+ /** SQL definition for a Data Preparation. Contains a SQL query and additional context information. */
247
+ contentsSql?: ActionSqlDefinition;
248
+ /** Output only. YAML representing the contents of the data preparation. Can be used to show the customer what the input was to their workflow. */
249
+ contentsYaml?: string;
250
+ /** Output only. The generated BigQuery SQL script that will be executed. For reference only. */
251
+ generatedSql?: string;
252
+ /** Output only. The ID of the BigQuery job that executed the SQL in sql_script. Only set once the job has started to run. */
253
+ jobId?: string;
254
+ }
200
255
  interface Declaration {
201
256
  /** Descriptor for the relation and its columns. Used as documentation only, i.e. values here will result in no changes to the relation's metadata. */
202
257
  relationDescriptor?: RelationDescriptor;
@@ -213,6 +268,12 @@ declare namespace gapi.client {
213
268
  path?: string;
214
269
  }
215
270
  interface Empty {}
271
+ interface ErrorTable {
272
+ /** Error table partition expiration in days. Only positive values are allowed. */
273
+ retentionDays?: number;
274
+ /** Error Table target. */
275
+ target?: Target;
276
+ }
216
277
  interface Expr {
217
278
  /** Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. */
218
279
  description?: string;
@@ -269,6 +330,10 @@ declare namespace gapi.client {
269
330
  /** Required. The Git remote's URL. */
270
331
  url?: string;
271
332
  }
333
+ interface IncrementalLoadMode {
334
+ /** Column name for incremental load modes */
335
+ column?: string;
336
+ }
272
337
  interface IncrementalTableConfig {
273
338
  /** SQL statements to be executed after inserting new rows into the relation. */
274
339
  incrementalPostOperations?: string[];
@@ -359,6 +424,16 @@ declare namespace gapi.client {
359
424
  /** List of workspaces. */
360
425
  workspaces?: Workspace[];
361
426
  }
427
+ interface LoadConfig {
428
+ /** Append into destination table */
429
+ append?: any;
430
+ /** Insert records where the value exceeds the previous maximum value for a column in the destination table */
431
+ maximum?: IncrementalLoadMode;
432
+ /** Replace destination table */
433
+ replace?: any;
434
+ /** Insert records where the value of a column is not already present in the destination table */
435
+ unique?: IncrementalLoadMode;
436
+ }
362
437
  interface Location {
363
438
  /** The friendly name for this location, typically a nearby city name. For example, "Tokyo". */
364
439
  displayName?: string;
@@ -625,6 +700,15 @@ declare namespace gapi.client {
625
700
  /** 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 services (such as Projects) might reject them. */
626
701
  policy?: Policy;
627
702
  }
703
+ interface SimpleLoadMode {}
704
+ interface SqlDefinition {
705
+ /** Error table configuration, */
706
+ errorTable?: ErrorTable;
707
+ /** Load configuration. */
708
+ load?: LoadConfig;
709
+ /** The SQL query representing the data preparation steps. Formatted as a Pipe SQL query statement. */
710
+ query?: string;
711
+ }
628
712
  interface SshAuthenticationConfig {
629
713
  /** Required. Content of a public SSH key to verify an identity of a remote Git host. */
630
714
  hostPublicKey?: string;
@@ -666,6 +750,8 @@ declare namespace gapi.client {
666
750
  createTime?: string;
667
751
  /** Optional. Optional schedule (in cron format) for automatic execution of this workflow config. */
668
752
  cronSchedule?: string;
753
+ /** Optional. Disables automatic creation of workflow invocations. */
754
+ disabled?: boolean;
669
755
  /** Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string. */
670
756
  internalMetadata?: string;
671
757
  /** Optional. If left unset, a default InvocationConfig will be used. */
@@ -706,6 +792,8 @@ declare namespace gapi.client {
706
792
  bigqueryAction?: BigQueryAction;
707
793
  /** Output only. The action's identifier if the project had been compiled without any overrides configured. Unique within the compilation result. */
708
794
  canonicalTarget?: Target;
795
+ /** Output only. The workflow action's data preparation action details. */
796
+ dataPreparationAction?: DataPreparationAction;
709
797
  /** Output only. If and only if action's state is FAILED a failure reason is set. */
710
798
  failureReason?: string;
711
799
  /** Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string. */
@@ -2916,7 +3004,7 @@ declare namespace gapi.client {
2916
3004
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2917
3005
  uploadType?: string;
2918
3006
  }): Request<Policy>;
2919
- /** Lists Repositories in a given project and location. */
3007
+ /** Lists Repositories in a given project and location. **Note:** *This method can return repositories not shown in the [Dataform UI](https://console.cloud.google.com/bigquery/dataform)*. */
2920
3008
  list(request?: {
2921
3009
  /** V1 error format. */
2922
3010
  '$.xgafv'?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.dataform-v1beta1",
3
- "version": "0.0.20250323",
3
+ "version": "0.0.20250420",
4
4
  "description": "TypeScript typings for Dataform API v1beta1",
5
5
  "repository": {
6
6
  "type": "git",