@maxim_mazurok/gapi.client.cloudbuild-v1 0.0.20250102 → 0.0.20250114

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 +29 -1
  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: 20250102
12
+ // Revision: 20250114
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -59,6 +59,8 @@ declare namespace gapi.client {
59
59
  location?: string;
60
60
  }
61
61
  interface Artifacts {
62
+ /** Optional. A list of Go modules to be uploaded to Artifact Registry upon successful completion of all build steps. If any objects fail to be pushed, the build is marked FAILURE. */
63
+ goModules?: GoModule[];
62
64
  /** A list of images to be pushed upon the successful completion of all build steps. The images will be pushed using the builder service account's credentials. The digests of the pushed images will be stored in the Build resource's results field. If any of the images fail to be pushed, the build is marked FAILURE. */
63
65
  images?: string[];
64
66
  /** A list of Maven artifacts to be uploaded to Artifact Registry upon successful completion of all build steps. Artifacts in the workspace matching specified paths globs will be uploaded to the specified Artifact Registry repository using the builder service account's credentials. If any artifacts fail to be pushed, the build is marked FAILURE. */
@@ -259,6 +261,8 @@ declare namespace gapi.client {
259
261
  diskSizeGb?: string;
260
262
  /** 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
263
  dynamicSubstitutions?: boolean;
264
+ /** Optional. Option to specify whether structured logging is enabled. If true, JSON-formatted logs are parsed as structured logs. */
265
+ enableStructuredLogging?: boolean;
262
266
  /** A list of global environment variable definitions that will exist for all build steps in this build. If a variable is defined in both globally and in a build step, the variable will use the build step value. The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE". */
263
267
  env?: string[];
264
268
  /** Option to specify the logging mode, which determines if and where build logs are stored. */
@@ -668,6 +672,20 @@ declare namespace gapi.client {
668
672
  /** 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
673
  url?: string;
670
674
  }
675
+ interface GoModule {
676
+ /** Optional. The Go module's "module path". e.g. example.com/foo/v2 */
677
+ modulePath?: string;
678
+ /** Optional. The Go module's semantic version in the form vX.Y.Z. e.g. v0.1.1 Pre-release identifiers can also be added by appending a dash and dot separated ASCII alphanumeric characters and hyphens. e.g. v0.2.3-alpha.x.12m.5 */
679
+ moduleVersion?: string;
680
+ /** Optional. Location of the Artifact Registry repository. i.e. us-east1 Defaults to the build’s location. */
681
+ repositoryLocation?: string;
682
+ /** Optional. Artifact Registry repository name. Specified Go modules will be zipped and uploaded to Artifact Registry with this location as a prefix. e.g. my-go-repo */
683
+ repositoryName?: string;
684
+ /** Optional. Project ID of the Artifact Registry repository. Defaults to the build project. */
685
+ repositoryProjectId?: string;
686
+ /** Optional. Source path of the go.mod file in the build's workspace. If not specified, this will default to the current directory. e.g. ~/code/go/mypackage */
687
+ sourcePath?: string;
688
+ }
671
689
  interface Hash {
672
690
  /** The type of hash that was performed. */
673
691
  type?: string;
@@ -898,6 +916,8 @@ declare namespace gapi.client {
898
916
  buildStepImages?: string[];
899
917
  /** 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. */
900
918
  buildStepOutputs?: string[];
919
+ /** Optional. Go module artifacts uploaded to Artifact Registry at the end of the build. */
920
+ goModules?: UploadedGoModule[];
901
921
  /** Container images that were built as a part of the build. */
902
922
  images?: BuiltImage[];
903
923
  /** Maven artifacts uploaded to Artifact Registry at the end of the build. */
@@ -1039,6 +1059,14 @@ declare namespace gapi.client {
1039
1059
  /** The resource name of the `WorkerPool` being updated. Format: `projects/{project}/locations/{location}/workerPools/{worker_pool}`. */
1040
1060
  workerPool?: string;
1041
1061
  }
1062
+ interface UploadedGoModule {
1063
+ /** Hash types and values of the Go Module Artifact. */
1064
+ fileHashes?: FileHashes;
1065
+ /** Output only. Stores timing information for pushing the specified artifact. */
1066
+ pushTiming?: TimeSpan;
1067
+ /** URI of the uploaded artifact. */
1068
+ uri?: string;
1069
+ }
1042
1070
  interface UploadedMavenArtifact {
1043
1071
  /** Hash types and values of the Maven Artifact. */
1044
1072
  fileHashes?: FileHashes;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudbuild-v1",
3
- "version": "0.0.20250102",
3
+ "version": "0.0.20250114",
4
4
  "description": "TypeScript typings for Cloud Build API v1",
5
5
  "repository": {
6
6
  "type": "git",