@maxim_mazurok/gapi.client.containeranalysis-v1 0.2.20260918 → 0.2.20261002
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.
- package/index.d.ts +16 -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://containeranalysis.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20261002
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -552,7 +552,7 @@ declare namespace gapi.client {
|
|
|
552
552
|
/** Optional. Option to specify the Pub/Sub topic to receive build status updates. */
|
|
553
553
|
pubsubTopic?: string;
|
|
554
554
|
/** Requested verifiability options. */
|
|
555
|
-
requestedVerifyOption?: 'NOT_VERIFIED' | 'VERIFIED';
|
|
555
|
+
requestedVerifyOption?: 'NOT_VERIFIED' | 'VERIFIED' | 'BEST_EFFORT';
|
|
556
556
|
/** Output only. Worker release resolved from the release channel. */
|
|
557
557
|
resolvedWorkerRelease?: string;
|
|
558
558
|
/** 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. */
|
|
@@ -582,6 +582,18 @@ declare namespace gapi.client {
|
|
|
582
582
|
/** Output only. OUTPUT_ONLY. The release or release channel used to run the Build. This is set to the same value as `PrivatePoolV1Config.WorkerConfig.worker_release` for the UI to easily access. */
|
|
583
583
|
workerRelease?: string;
|
|
584
584
|
}
|
|
585
|
+
interface ContaineranalysisGoogleDevtoolsCloudbuildV1BuildResourceUsage {
|
|
586
|
+
/** 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]. */
|
|
587
|
+
averageCpuUtilization?: number;
|
|
588
|
+
/** Output only. The average memory utilization ratio over the duration of the build, expressed as a fraction in the range [0.0, 1.0]. */
|
|
589
|
+
averageMemoryUtilization?: number;
|
|
590
|
+
/** 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]. */
|
|
591
|
+
peakCpuUtilization?: number;
|
|
592
|
+
/** 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]. */
|
|
593
|
+
peakMemoryUtilization?: number;
|
|
594
|
+
/** Output only. Total CPU execution time consumed across all cores during build execution. */
|
|
595
|
+
totalCpuDuration?: string;
|
|
596
|
+
}
|
|
585
597
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep {
|
|
586
598
|
/** 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. */
|
|
587
599
|
allowExitCodes?: number[];
|
|
@@ -785,6 +797,8 @@ declare namespace gapi.client {
|
|
|
785
797
|
numArtifacts?: string;
|
|
786
798
|
/** Python artifacts uploaded to Artifact Registry at the end of the build. */
|
|
787
799
|
pythonPackages?: ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage[];
|
|
800
|
+
/** Output only. Aggregated metrics for the build. */
|
|
801
|
+
resourceUsage?: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildResourceUsage;
|
|
788
802
|
}
|
|
789
803
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1Secret {
|
|
790
804
|
/** Cloud KMS key name to use to decrypt these envs. */
|