@maxim_mazurok/gapi.client.cloudbuild-v1 0.3.20260923 → 0.3.20261010

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 +17 -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://cloudbuild.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20260923
12
+ // Revision: 20261010
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -293,7 +293,7 @@ declare namespace gapi.client {
293
293
  /** Optional. Option to specify the Pub/Sub topic to receive build status updates. */
294
294
  pubsubTopic?: string;
295
295
  /** Requested verifiability options. */
296
- requestedVerifyOption?: 'NOT_VERIFIED' | 'VERIFIED';
296
+ requestedVerifyOption?: 'NOT_VERIFIED' | 'VERIFIED' | 'BEST_EFFORT';
297
297
  /** Output only. Worker release resolved from the release channel. */
298
298
  resolvedWorkerRelease?: string;
299
299
  /** A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`. These variables will be available to all build steps in this build. */
@@ -315,6 +315,18 @@ declare namespace gapi.client {
315
315
  /** Optional. Option to specify which release or release channel (rapid|regular|stable) to use to run this build. */
316
316
  workerRelease?: string;
317
317
  }
318
+ interface BuildResourceUsage {
319
+ /** Output only. The average CPU utilization ratio across all vCPUs over the duration of the build, expressed as a fraction in the range [0.0, 1.0]. */
320
+ averageCpuUtilization?: number;
321
+ /** Output only. The average memory utilization ratio over the duration of the build, expressed as a fraction in the range [0.0, 1.0]. */
322
+ averageMemoryUtilization?: number;
323
+ /** Output only. The highest CPU utilization ratio across all vCPUs observed over the duration of the build, expressed as a fraction in the range [0.0, 1.0]. */
324
+ peakCpuUtilization?: number;
325
+ /** Output only. The highest memory utilization ratio observed over the duration of the build, expressed as a fraction in the range [0.0, 1.0]. */
326
+ peakMemoryUtilization?: number;
327
+ /** Output only. Total CPU execution time consumed across all cores during build execution. */
328
+ totalCpuDuration?: string;
329
+ }
318
330
  interface BuildStep {
319
331
  /** Allow this build step to fail without failing the entire build if and only if the exit code is one of the specified codes. If allow_failure is also specified, this field will take precedence. */
320
332
  allowExitCodes?: number[];
@@ -575,7 +587,7 @@ declare namespace gapi.client {
575
587
  registryPath?: string;
576
588
  }
577
589
  interface GenericArtifactDependency {
578
- /** Required. Where the artifact files should be placed on the worker. */
590
+ /** Optional. Where the artifact files should be placed on the worker. Required when specified in `Build.dependencies`. */
579
591
  destPath?: string;
580
592
  /** Required. The location to download the artifact files from. Ex: projects/p1/locations/us/repositories/r1/packages/p1/versions/v1 */
581
593
  resource?: string;
@@ -980,6 +992,8 @@ declare namespace gapi.client {
980
992
  numArtifacts?: string;
981
993
  /** Python artifacts uploaded to Artifact Registry at the end of the build. */
982
994
  pythonPackages?: UploadedPythonPackage[];
995
+ /** Output only. Aggregated metrics for the build. */
996
+ resourceUsage?: BuildResourceUsage;
983
997
  }
984
998
  interface RetryBuildRequest {
985
999
  /** Required. Build ID of the original build. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudbuild-v1",
3
- "version": "0.3.20260923",
3
+ "version": "0.3.20261010",
4
4
  "description": "TypeScript typings for Cloud Build API v1",
5
5
  "repository": {
6
6
  "type": "git",