@maxim_mazurok/gapi.client.dataform-v1beta1 0.0.20240420 → 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.
Files changed (2) hide show
  1. package/index.d.ts +21 -3
  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: 20240420
12
+ // Revision: 20240427
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -114,6 +114,10 @@ declare namespace gapi.client {
114
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. */
115
115
  requiredHeadCommitSha?: string;
116
116
  }
117
+ interface CommitRepositoryChangesResponse {
118
+ /** The commit SHA of the current commit. */
119
+ commitSha?: string;
120
+ }
117
121
  interface CommitWorkspaceChangesRequest {
118
122
  /** Required. The commit's author. */
119
123
  author?: CommitAuthor;
@@ -137,6 +141,8 @@ declare namespace gapi.client {
137
141
  codeCompilationConfig?: CodeCompilationConfig;
138
142
  /** Output only. Errors encountered during project compilation. */
139
143
  compilationErrors?: CompilationError[];
144
+ /** Output only. Only set if the repository has a KMS Key. */
145
+ dataEncryptionState?: DataEncryptionState;
140
146
  /** Output only. The version of `@dataform/core` that was used for compilation. */
141
147
  dataformCoreVersion?: string;
142
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` */
@@ -172,6 +178,10 @@ declare namespace gapi.client {
172
178
  /** Indicates the status of the Git access token. */
173
179
  tokenStatus?: string;
174
180
  }
181
+ interface DataEncryptionState {
182
+ /** The KMS key version name with which data of a resource is encrypted. */
183
+ kmsKeyVersionName?: string;
184
+ }
175
185
  interface Declaration {
176
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. */
177
187
  relationDescriptor?: RelationDescriptor;
@@ -532,10 +542,14 @@ declare namespace gapi.client {
532
542
  interface Repository {
533
543
  /** Output only. The timestamp of when the repository was created. */
534
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;
535
547
  /** Optional. The repository's user-friendly name. */
536
548
  displayName?: string;
537
549
  /** Optional. If set, configures this repository to be linked to a Git remote. */
538
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;
539
553
  /** Optional. Repository user labels. */
540
554
  labels?: {[P in string]: string};
541
555
  /** Identifier. The repository's name. */
@@ -640,6 +654,8 @@ declare namespace gapi.client {
640
654
  interface WorkflowInvocation {
641
655
  /** Immutable. The name of the compilation result to use for this invocation. Must be in the format `projects/*‍/locations/*‍/repositories/*‍/compilationResults/*`. */
642
656
  compilationResult?: string;
657
+ /** Output only. Only set if the repository has a KMS Key. */
658
+ dataEncryptionState?: DataEncryptionState;
643
659
  /** Immutable. If left unset, a default InvocationConfig will be used. */
644
660
  invocationConfig?: InvocationConfig;
645
661
  /** Output only. This workflow invocation's timing details. */
@@ -670,6 +686,8 @@ declare namespace gapi.client {
670
686
  target?: Target;
671
687
  }
672
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;
673
691
  /** Identifier. The workspace's name. */
674
692
  name?: string;
675
693
  }
@@ -2689,7 +2707,7 @@ declare namespace gapi.client {
2689
2707
  uploadType?: string;
2690
2708
  /** Request body */
2691
2709
  resource: CommitRepositoryChangesRequest;
2692
- }): Request<{}>;
2710
+ }): Request<CommitRepositoryChangesResponse>;
2693
2711
  commit(
2694
2712
  request: {
2695
2713
  /** V1 error format. */
@@ -2718,7 +2736,7 @@ declare namespace gapi.client {
2718
2736
  uploadType?: string;
2719
2737
  },
2720
2738
  body: CommitRepositoryChangesRequest
2721
- ): Request<{}>;
2739
+ ): Request<CommitRepositoryChangesResponse>;
2722
2740
  /** Computes a Repository's Git access token status. */
2723
2741
  computeAccessTokenStatus(request?: {
2724
2742
  /** V1 error format. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.dataform-v1beta1",
3
- "version": "0.0.20240420",
3
+ "version": "0.0.20240427",
4
4
  "description": "TypeScript typings for Dataform API v1beta1",
5
5
  "repository": {
6
6
  "type": "git",