@maxim_mazurok/gapi.client.cloudbuild-v1 0.0.20240427 → 0.0.20240519

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 +28 -18
  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://cloudbuild.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20240427
12
+ // Revision: 20240519
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -215,7 +215,7 @@ declare namespace gapi.client {
215
215
  secrets?: Secret[];
216
216
  /** IAM service account whose credentials will be used at build runtime. Must be of the format `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. ACCOUNT can be email address or uniqueId of the service account. */
217
217
  serviceAccount?: string;
218
- /** The location of the source files to build. */
218
+ /** Optional. The location of the source files to build. */
219
219
  source?: Source;
220
220
  /** Output only. A permanent fixed identifier for source. */
221
221
  sourceProvenance?: SourceProvenance;
@@ -255,7 +255,7 @@ declare namespace gapi.client {
255
255
  automapSubstitutions?: boolean;
256
256
  /** Optional. Option to specify how default logs buckets are setup. */
257
257
  defaultLogsBucketBehavior?: string;
258
- /** Requested disk size for the VM that runs the build. Note that this is *NOT* "disk free"; some of the space will be used by the operating system and build utilities. Also note that this is the minimum disk size that will be allocated for the build -- the build may run with a larger disk than requested. At present, the maximum disk size is 2000GB; builds that request more than the maximum are rejected with an error. */
258
+ /** Requested disk size for the VM that runs the build. Note that this is *NOT* "disk free"; some of the space will be used by the operating system and build utilities. Also note that this is the minimum disk size that will be allocated for the build -- the build may run with a larger disk than requested. At present, the maximum disk size is 4000GB; builds that request more than the maximum are rejected with an error. */
259
259
  diskSizeGb?: string;
260
260
  /** Option to specify whether or not to apply bash style string operations to the substitutions. NOTE: this is always enabled for triggered builds and cannot be overridden in the build configuration file. */
261
261
  dynamicSubstitutions?: boolean;
@@ -394,11 +394,11 @@ declare namespace gapi.client {
394
394
  }
395
395
  interface CancelOperationRequest {}
396
396
  interface ConnectedRepository {
397
- /** Directory, relative to the source root, in which to run the build. */
397
+ /** Optional. Directory, relative to the source root, in which to run the build. */
398
398
  dir?: string;
399
399
  /** Required. Name of the Google Cloud Build repository, formatted as `projects/*‍/locations/*‍/connections/*‍/repositories/*`. */
400
400
  repository?: string;
401
- /** The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref. */
401
+ /** Required. The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref. */
402
402
  revision?: string;
403
403
  }
404
404
  interface CreateBitbucketServerConfigOperationMetadata {
@@ -502,6 +502,14 @@ declare namespace gapi.client {
502
502
  /** Collection of file hashes. */
503
503
  fileHash?: Hash[];
504
504
  }
505
+ interface GCSLocation {
506
+ /** Cloud Storage bucket. See https://cloud.google.com/storage/docs/naming#requirements */
507
+ bucket?: string;
508
+ /** Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. */
509
+ generation?: string;
510
+ /** Cloud Storage object. See https://cloud.google.com/storage/docs/naming#objectnames */
511
+ object?: string;
512
+ }
505
513
  interface GitConfig {
506
514
  /** Configuration for HTTP related git operations. */
507
515
  http?: HttpConfig;
@@ -661,11 +669,11 @@ declare namespace gapi.client {
661
669
  uri?: string;
662
670
  }
663
671
  interface GitSource {
664
- /** Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's `dir` is specified and is an absolute path, this value is ignored for that step's execution. */
672
+ /** Optional. Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's `dir` is specified and is an absolute path, this value is ignored for that step's execution. */
665
673
  dir?: string;
666
- /** The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref. Cloud Build uses `git fetch` to fetch the revision from the Git repository; therefore make sure that the string you provide for `revision` is parsable by the command. For information on string values accepted by `git fetch`, see https://git-scm.com/docs/gitrevisions#_specifying_revisions. For information on `git fetch`, see https://git-scm.com/docs/git-fetch. */
674
+ /** Optional. The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref. Cloud Build uses `git fetch` to fetch the revision from the Git repository; therefore make sure that the string you provide for `revision` is parsable by the command. For information on string values accepted by `git fetch`, see https://git-scm.com/docs/gitrevisions#_specifying_revisions. For information on `git fetch`, see https://git-scm.com/docs/git-fetch. */
667
675
  revision?: string;
668
- /** Location of the Git repo to build. This will be used as a `git remote`, see https://git-scm.com/docs/git-remote. */
676
+ /** Required. Location of the Git repo to build. This will be used as a `git remote`, see https://git-scm.com/docs/git-remote. */
669
677
  url?: string;
670
678
  }
671
679
  interface Hash {
@@ -685,6 +693,8 @@ declare namespace gapi.client {
685
693
  interface HttpConfig {
686
694
  /** SecretVersion resource of the HTTP proxy URL. The proxy URL should be in format protocol://@]proxyhost[:port]. */
687
695
  proxySecretVersionName?: string;
696
+ /** Optional. Cloud Storage object storing the certificate to use with the HTTP proxy. */
697
+ proxySslCaInfo?: GCSLocation;
688
698
  }
689
699
  interface InlineSecret {
690
700
  /** Map of environment variable name to its encrypted value. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step. Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build's secrets. */
@@ -866,15 +876,15 @@ declare namespace gapi.client {
866
876
  branchName?: string;
867
877
  /** Explicit commit SHA to build. */
868
878
  commitSha?: string;
869
- /** Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's `dir` is specified and is an absolute path, this value is ignored for that step's execution. */
879
+ /** Optional. Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's `dir` is specified and is an absolute path, this value is ignored for that step's execution. */
870
880
  dir?: string;
871
- /** Only trigger a build if the revision regex does NOT match the revision regex. */
881
+ /** Optional. Only trigger a build if the revision regex does NOT match the revision regex. */
872
882
  invertRegex?: boolean;
873
- /** ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed. */
883
+ /** Optional. ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed. */
874
884
  projectId?: string;
875
- /** Name of the Cloud Source Repository. */
885
+ /** Required. Name of the Cloud Source Repository. */
876
886
  repoName?: string;
877
- /** Substitutions to use in a triggered build. Should only be used with RunBuildTrigger */
887
+ /** Optional. Substitutions to use in a triggered build. Should only be used with RunBuildTrigger */
878
888
  substitutions?: {[P in string]: string};
879
889
  /** Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax */
880
890
  tagName?: string;
@@ -886,7 +896,7 @@ declare namespace gapi.client {
886
896
  artifactTiming?: TimeSpan;
887
897
  /** List of build step digests, in the order corresponding to build step indices. */
888
898
  buildStepImages?: string[];
889
- /** List of build step outputs, produced by builder images, in the order corresponding to build step indices. [Cloud Builders](https://cloud.google.com/cloud-build/docs/cloud-builders) can produce this output by writing to `$BUILDER_OUTPUT/output`. Only the first 50KB of data is stored. */
899
+ /** List of build step outputs, produced by builder images, in the order corresponding to build step indices. [Cloud Builders](https://cloud.google.com/cloud-build/docs/cloud-builders) can produce this output by writing to `$BUILDER_OUTPUT/output`. Only the first 50KB of data is stored. Note that the `$BUILDER_OUTPUT` variable is read-only and can't be substituted. */
890
900
  buildStepOutputs?: string[];
891
901
  /** Container images that were built as a part of the build. */
892
902
  images?: BuiltImage[];
@@ -976,19 +986,19 @@ declare namespace gapi.client {
976
986
  interface StorageSource {
977
987
  /** Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). */
978
988
  bucket?: string;
979
- /** Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. */
989
+ /** Optional. Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. */
980
990
  generation?: string;
981
- /** Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. */
991
+ /** Required. Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. */
982
992
  object?: string;
983
993
  /** Optional. Option to specify the tool to fetch the source file for the build. */
984
994
  sourceFetcher?: string;
985
995
  }
986
996
  interface StorageSourceManifest {
987
- /** Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). */
997
+ /** Required. Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). */
988
998
  bucket?: string;
989
999
  /** Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. */
990
1000
  generation?: string;
991
- /** Cloud Storage object containing the source manifest. This object must be a JSON file. */
1001
+ /** Required. Cloud Storage object containing the source manifest. This object must be a JSON file. */
992
1002
  object?: string;
993
1003
  }
994
1004
  interface TimeSpan {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudbuild-v1",
3
- "version": "0.0.20240427",
3
+ "version": "0.0.20240519",
4
4
  "description": "TypeScript typings for Cloud Build API v1",
5
5
  "repository": {
6
6
  "type": "git",