@maxim_mazurok/gapi.client.dataform-v1beta1 0.0.20240323 → 0.0.20240427
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.
- package/index.d.ts +50 -3
- 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:
|
|
12
|
+
// Revision: 20240427
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -43,6 +43,8 @@ declare namespace gapi.client {
|
|
|
43
43
|
tags?: string[];
|
|
44
44
|
}
|
|
45
45
|
interface BigQueryAction {
|
|
46
|
+
/** Output only. The ID of the BigQuery job that executed the SQL in sql_script. Only set once the job has started to run. */
|
|
47
|
+
jobId?: string;
|
|
46
48
|
/** Output only. The generated BigQuery SQL script that will be executed. */
|
|
47
49
|
sqlScript?: string;
|
|
48
50
|
}
|
|
@@ -64,6 +66,7 @@ declare namespace gapi.client {
|
|
|
64
66
|
defaultDatabase?: string;
|
|
65
67
|
/** Optional. The default BigQuery location to use. Defaults to "US". See the BigQuery docs for a full list of locations: https://cloud.google.com/bigquery/docs/locations. */
|
|
66
68
|
defaultLocation?: string;
|
|
69
|
+
defaultNotebookRuntimeOptions?: NotebookRuntimeOptions;
|
|
67
70
|
/** Optional. The default schema (BigQuery dataset ID). */
|
|
68
71
|
defaultSchema?: string;
|
|
69
72
|
/** Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names. */
|
|
@@ -111,6 +114,10 @@ declare namespace gapi.client {
|
|
|
111
114
|
/** Optional. The commit SHA which must be the repository's current HEAD before applying this commit; otherwise this request will fail. If unset, no validation on the current HEAD commit SHA is performed. */
|
|
112
115
|
requiredHeadCommitSha?: string;
|
|
113
116
|
}
|
|
117
|
+
interface CommitRepositoryChangesResponse {
|
|
118
|
+
/** The commit SHA of the current commit. */
|
|
119
|
+
commitSha?: string;
|
|
120
|
+
}
|
|
114
121
|
interface CommitWorkspaceChangesRequest {
|
|
115
122
|
/** Required. The commit's author. */
|
|
116
123
|
author?: CommitAuthor;
|
|
@@ -134,6 +141,8 @@ declare namespace gapi.client {
|
|
|
134
141
|
codeCompilationConfig?: CodeCompilationConfig;
|
|
135
142
|
/** Output only. Errors encountered during project compilation. */
|
|
136
143
|
compilationErrors?: CompilationError[];
|
|
144
|
+
/** Output only. Only set if the repository has a KMS Key. */
|
|
145
|
+
dataEncryptionState?: DataEncryptionState;
|
|
137
146
|
/** Output only. The version of `@dataform/core` that was used for compilation. */
|
|
138
147
|
dataformCoreVersion?: string;
|
|
139
148
|
/** Immutable. Git commit/tag/branch name at which the repository should be compiled. Must exist in the remote repository. Examples: - a commit SHA: `12ade345` - a tag: `tag1` - a branch name: `branch1` */
|
|
@@ -156,6 +165,8 @@ declare namespace gapi.client {
|
|
|
156
165
|
declaration?: Declaration;
|
|
157
166
|
/** The full path including filename in which this action is located, relative to the workspace root. */
|
|
158
167
|
filePath?: string;
|
|
168
|
+
/** The notebook executed by this action. */
|
|
169
|
+
notebook?: Notebook;
|
|
159
170
|
/** The database operations executed by this action. */
|
|
160
171
|
operations?: Operations;
|
|
161
172
|
/** The database relation created/updated by this action. */
|
|
@@ -167,6 +178,10 @@ declare namespace gapi.client {
|
|
|
167
178
|
/** Indicates the status of the Git access token. */
|
|
168
179
|
tokenStatus?: string;
|
|
169
180
|
}
|
|
181
|
+
interface DataEncryptionState {
|
|
182
|
+
/** The KMS key version name with which data of a resource is encrypted. */
|
|
183
|
+
kmsKeyVersionName?: string;
|
|
184
|
+
}
|
|
170
185
|
interface Declaration {
|
|
171
186
|
/** 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. */
|
|
172
187
|
relationDescriptor?: RelationDescriptor;
|
|
@@ -360,6 +375,26 @@ declare namespace gapi.client {
|
|
|
360
375
|
path?: string;
|
|
361
376
|
}
|
|
362
377
|
interface MoveFileResponse {}
|
|
378
|
+
interface Notebook {
|
|
379
|
+
/** The contents of the notebook. */
|
|
380
|
+
contents?: string;
|
|
381
|
+
/** A list of actions that this action depends on. */
|
|
382
|
+
dependencyTargets?: Target[];
|
|
383
|
+
/** Whether this action is disabled (i.e. should not be run). */
|
|
384
|
+
disabled?: boolean;
|
|
385
|
+
/** Arbitrary, user-defined tags on this action. */
|
|
386
|
+
tags?: string[];
|
|
387
|
+
}
|
|
388
|
+
interface NotebookAction {
|
|
389
|
+
/** Output only. The code contents of a Notebook to be run. */
|
|
390
|
+
contents?: string;
|
|
391
|
+
/** Output only. The ID of the Vertex job that executed the notebook in contents and also the ID used for the outputs created in GCS buckets. Only set once the job has started to run. */
|
|
392
|
+
jobId?: string;
|
|
393
|
+
}
|
|
394
|
+
interface NotebookRuntimeOptions {
|
|
395
|
+
/** Optional. The GCS location to upload the result to. Format: `gs://bucket-name`. */
|
|
396
|
+
gcsOutputBucket?: string;
|
|
397
|
+
}
|
|
363
398
|
interface OperationMetadata {
|
|
364
399
|
/** Output only. API version used to start the operation. */
|
|
365
400
|
apiVersion?: string;
|
|
@@ -507,10 +542,14 @@ declare namespace gapi.client {
|
|
|
507
542
|
interface Repository {
|
|
508
543
|
/** Output only. The timestamp of when the repository was created. */
|
|
509
544
|
createTime?: string;
|
|
545
|
+
/** Output only. A data encryption state of a Git repository if this Repository is protected by a KMS key. */
|
|
546
|
+
dataEncryptionState?: DataEncryptionState;
|
|
510
547
|
/** Optional. The repository's user-friendly name. */
|
|
511
548
|
displayName?: string;
|
|
512
549
|
/** Optional. If set, configures this repository to be linked to a Git remote. */
|
|
513
550
|
gitRemoteSettings?: GitRemoteSettings;
|
|
551
|
+
/** Optional. The reference to a KMS encryption key. If provided, it will be used to encrypt user data in the repository and all child resources. It is not possible to add or update the encryption key after the repository is created. Example: `projects/[kms_project_id]/locations/[region]/keyRings/[key_region]/cryptoKeys/[key]` */
|
|
552
|
+
kmsKeyName?: string;
|
|
514
553
|
/** Optional. Repository user labels. */
|
|
515
554
|
labels?: {[P in string]: string};
|
|
516
555
|
/** Identifier. The repository's name. */
|
|
@@ -615,6 +654,8 @@ declare namespace gapi.client {
|
|
|
615
654
|
interface WorkflowInvocation {
|
|
616
655
|
/** Immutable. The name of the compilation result to use for this invocation. Must be in the format `projects/*/locations/*/repositories/*/compilationResults/*`. */
|
|
617
656
|
compilationResult?: string;
|
|
657
|
+
/** Output only. Only set if the repository has a KMS Key. */
|
|
658
|
+
dataEncryptionState?: DataEncryptionState;
|
|
618
659
|
/** Immutable. If left unset, a default InvocationConfig will be used. */
|
|
619
660
|
invocationConfig?: InvocationConfig;
|
|
620
661
|
/** Output only. This workflow invocation's timing details. */
|
|
@@ -637,12 +678,16 @@ declare namespace gapi.client {
|
|
|
637
678
|
failureReason?: string;
|
|
638
679
|
/** Output only. This action's timing details. `start_time` will be set if the action is in [RUNNING, SUCCEEDED, CANCELLED, FAILED] state. `end_time` will be set if the action is in [SUCCEEDED, CANCELLED, FAILED] state. */
|
|
639
680
|
invocationTiming?: Interval;
|
|
681
|
+
/** Output only. The workflow action's notebook action details. */
|
|
682
|
+
notebookAction?: NotebookAction;
|
|
640
683
|
/** Output only. This action's current state. */
|
|
641
684
|
state?: string;
|
|
642
685
|
/** Output only. This action's identifier. Unique within the workflow invocation. */
|
|
643
686
|
target?: Target;
|
|
644
687
|
}
|
|
645
688
|
interface Workspace {
|
|
689
|
+
/** Output only. A data encryption state of a Git repository if this Workspace is protected by a KMS key. */
|
|
690
|
+
dataEncryptionState?: DataEncryptionState;
|
|
646
691
|
/** Identifier. The workspace's name. */
|
|
647
692
|
name?: string;
|
|
648
693
|
}
|
|
@@ -860,6 +905,8 @@ declare namespace gapi.client {
|
|
|
860
905
|
key?: string;
|
|
861
906
|
/** OAuth 2.0 token for the current user. */
|
|
862
907
|
oauth_token?: string;
|
|
908
|
+
/** Optional. This field only supports ordering by `name` and `create_time`. If unspecified, the server will choose the ordering. If specified, the default order is ascending for the `name` field. */
|
|
909
|
+
orderBy?: string;
|
|
863
910
|
/** Optional. Maximum number of compilation results to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default. */
|
|
864
911
|
pageSize?: number;
|
|
865
912
|
/** Optional. Page token received from a previous `ListCompilationResults` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListCompilationResults` must match the call that provided the page token. */
|
|
@@ -2660,7 +2707,7 @@ declare namespace gapi.client {
|
|
|
2660
2707
|
uploadType?: string;
|
|
2661
2708
|
/** Request body */
|
|
2662
2709
|
resource: CommitRepositoryChangesRequest;
|
|
2663
|
-
}): Request<
|
|
2710
|
+
}): Request<CommitRepositoryChangesResponse>;
|
|
2664
2711
|
commit(
|
|
2665
2712
|
request: {
|
|
2666
2713
|
/** V1 error format. */
|
|
@@ -2689,7 +2736,7 @@ declare namespace gapi.client {
|
|
|
2689
2736
|
uploadType?: string;
|
|
2690
2737
|
},
|
|
2691
2738
|
body: CommitRepositoryChangesRequest
|
|
2692
|
-
): Request<
|
|
2739
|
+
): Request<CommitRepositoryChangesResponse>;
|
|
2693
2740
|
/** Computes a Repository's Git access token status. */
|
|
2694
2741
|
computeAccessTokenStatus(request?: {
|
|
2695
2742
|
/** V1 error format. */
|