@maxim_mazurok/gapi.client.dataform-v1beta1 0.0.20240420 → 0.0.20240504

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 +83 -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: 20240504
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
  }
@@ -783,6 +801,67 @@ declare namespace gapi.client {
783
801
  body: TestIamPermissionsRequest
784
802
  ): Request<TestIamPermissionsResponse>;
785
803
  }
804
+ interface CommentThreadsResource {
805
+ /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
806
+ getIamPolicy(request?: {
807
+ /** V1 error format. */
808
+ '$.xgafv'?: string;
809
+ /** OAuth access token. */
810
+ access_token?: string;
811
+ /** Data format for response. */
812
+ alt?: string;
813
+ /** JSONP */
814
+ callback?: string;
815
+ /** Selector specifying which fields to include in a partial response. */
816
+ fields?: string;
817
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
818
+ key?: string;
819
+ /** OAuth 2.0 token for the current user. */
820
+ oauth_token?: string;
821
+ /** Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
822
+ 'options.requestedPolicyVersion'?: number;
823
+ /** Returns response with indentations and line breaks. */
824
+ prettyPrint?: boolean;
825
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
826
+ quotaUser?: string;
827
+ /** REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
828
+ resource: string;
829
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
830
+ upload_protocol?: string;
831
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
832
+ uploadType?: string;
833
+ }): Request<Policy>;
834
+ /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
835
+ setIamPolicy(
836
+ request: {
837
+ /** V1 error format. */
838
+ '$.xgafv'?: string;
839
+ /** OAuth access token. */
840
+ access_token?: string;
841
+ /** Data format for response. */
842
+ alt?: string;
843
+ /** JSONP */
844
+ callback?: string;
845
+ /** Selector specifying which fields to include in a partial response. */
846
+ fields?: string;
847
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
848
+ key?: string;
849
+ /** OAuth 2.0 token for the current user. */
850
+ oauth_token?: string;
851
+ /** Returns response with indentations and line breaks. */
852
+ prettyPrint?: boolean;
853
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
854
+ quotaUser?: string;
855
+ /** REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
856
+ resource: string;
857
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
858
+ upload_protocol?: string;
859
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
860
+ uploadType?: string;
861
+ },
862
+ body: SetIamPolicyRequest
863
+ ): Request<Policy>;
864
+ }
786
865
  interface CompilationResultsResource {
787
866
  /** Creates a new CompilationResult in a given project and location. */
788
867
  create(request: {
@@ -2689,7 +2768,7 @@ declare namespace gapi.client {
2689
2768
  uploadType?: string;
2690
2769
  /** Request body */
2691
2770
  resource: CommitRepositoryChangesRequest;
2692
- }): Request<{}>;
2771
+ }): Request<CommitRepositoryChangesResponse>;
2693
2772
  commit(
2694
2773
  request: {
2695
2774
  /** V1 error format. */
@@ -2718,7 +2797,7 @@ declare namespace gapi.client {
2718
2797
  uploadType?: string;
2719
2798
  },
2720
2799
  body: CommitRepositoryChangesRequest
2721
- ): Request<{}>;
2800
+ ): Request<CommitRepositoryChangesResponse>;
2722
2801
  /** Computes a Repository's Git access token status. */
2723
2802
  computeAccessTokenStatus(request?: {
2724
2803
  /** V1 error format. */
@@ -3174,6 +3253,7 @@ declare namespace gapi.client {
3174
3253
  },
3175
3254
  body: TestIamPermissionsRequest
3176
3255
  ): Request<TestIamPermissionsResponse>;
3256
+ commentThreads: CommentThreadsResource;
3177
3257
  compilationResults: CompilationResultsResource;
3178
3258
  releaseConfigs: ReleaseConfigsResource;
3179
3259
  workflowConfigs: WorkflowConfigsResource;
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.20240504",
4
4
  "description": "TypeScript typings for Dataform API v1beta1",
5
5
  "repository": {
6
6
  "type": "git",