@maxim_mazurok/gapi.client.containeranalysis-v1alpha1 0.0.20250129 → 0.0.20250228
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 +55 -1
- 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=v1alpha1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20250228
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -72,6 +72,14 @@ declare namespace gapi.client {
|
|
|
72
72
|
/** The human readable name of this Attestation Authority, for example "qa". */
|
|
73
73
|
humanReadableName?: string;
|
|
74
74
|
}
|
|
75
|
+
interface BaseImage {
|
|
76
|
+
/** The number of layers that the base image is composed of. */
|
|
77
|
+
layerCount?: number;
|
|
78
|
+
/** The name of the base image. */
|
|
79
|
+
name?: string;
|
|
80
|
+
/** The repository name in which the base image is from. */
|
|
81
|
+
repository?: string;
|
|
82
|
+
}
|
|
75
83
|
interface Basis {
|
|
76
84
|
/** The fingerprint of the base image. */
|
|
77
85
|
fingerprint?: Fingerprint;
|
|
@@ -173,6 +181,7 @@ declare namespace gapi.client {
|
|
|
173
181
|
name?: string;
|
|
174
182
|
/** Output only. Stores timing information for pulling this build step's builder image only. */
|
|
175
183
|
pullTiming?: TimeSpan;
|
|
184
|
+
results?: StepResult[];
|
|
176
185
|
/** A shell script to be executed in the step. When script is provided, the user cannot specify the entrypoint or args. */
|
|
177
186
|
script?: string;
|
|
178
187
|
/** A list of environment variables which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`. */
|
|
@@ -343,6 +352,8 @@ declare namespace gapi.client {
|
|
|
343
352
|
buildTriggerId?: string;
|
|
344
353
|
/** Output only. Time at which the request to create the build was received. */
|
|
345
354
|
createTime?: string;
|
|
355
|
+
/** Optional. Dependencies that the Cloud Build worker will fetch before executing user steps. */
|
|
356
|
+
dependencies?: ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency[];
|
|
346
357
|
/** Output only. Contains information about the build when status=FAILURE. */
|
|
347
358
|
failureInfo?: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo;
|
|
348
359
|
/** Output only. Time at which execution of the build was finished. The difference between finish_time and start_time is the duration of the build's execution. */
|
|
@@ -431,6 +442,8 @@ declare namespace gapi.client {
|
|
|
431
442
|
machineType?: string;
|
|
432
443
|
/** Optional. Specification for execution on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. */
|
|
433
444
|
pool?: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption;
|
|
445
|
+
/** Optional. Option to specify the Pub/Sub topic to receive build status updates. */
|
|
446
|
+
pubsubTopic?: string;
|
|
434
447
|
/** Requested verifiability options. */
|
|
435
448
|
requestedVerifyOption?: string;
|
|
436
449
|
/** 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. */
|
|
@@ -508,6 +521,30 @@ declare namespace gapi.client {
|
|
|
508
521
|
/** Required. The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref. */
|
|
509
522
|
revision?: string;
|
|
510
523
|
}
|
|
524
|
+
interface ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency {
|
|
525
|
+
/** If set to true disable all dependency fetching (ignoring the default source as well). */
|
|
526
|
+
empty?: boolean;
|
|
527
|
+
/** Represents a git repository as a build dependency. */
|
|
528
|
+
gitSource?: ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency;
|
|
529
|
+
}
|
|
530
|
+
interface ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency {
|
|
531
|
+
/** Optional. How much history should be fetched for the build (default 1, -1 for all history). */
|
|
532
|
+
depth?: string;
|
|
533
|
+
/** Required. Where should the files be placed on the worker. */
|
|
534
|
+
destPath?: string;
|
|
535
|
+
/** Optional. True if submodules should be fetched too (default false). */
|
|
536
|
+
recurseSubmodules?: boolean;
|
|
537
|
+
/** Required. The kind of repo (url or dev connect). */
|
|
538
|
+
repository?: ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository;
|
|
539
|
+
/** Required. The revision that we will fetch the repo at. */
|
|
540
|
+
revision?: string;
|
|
541
|
+
}
|
|
542
|
+
interface ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository {
|
|
543
|
+
/** The Developer Connect Git repository link or the url that matches a repository link in the current project, formatted as `projects/*/locations/*/connections/*/gitRepositoryLink/*` */
|
|
544
|
+
developerConnect?: string;
|
|
545
|
+
/** Location of the Git repository. */
|
|
546
|
+
url?: string;
|
|
547
|
+
}
|
|
511
548
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig {
|
|
512
549
|
/** Required. Directory, relative to the source root, in which to run the build. */
|
|
513
550
|
dir?: string;
|
|
@@ -911,6 +948,8 @@ declare namespace gapi.client {
|
|
|
911
948
|
interface FileLocation {
|
|
912
949
|
/** For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file. */
|
|
913
950
|
filePath?: string;
|
|
951
|
+
/** Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package). */
|
|
952
|
+
layerDetails?: LayerDetails;
|
|
914
953
|
}
|
|
915
954
|
interface FileNote {
|
|
916
955
|
/** Provide a unique identifier to match analysis information on each specific file in a package */
|
|
@@ -1132,6 +1171,16 @@ declare namespace gapi.client {
|
|
|
1132
1171
|
/** The recovered Dockerfile directive used to construct this layer. */
|
|
1133
1172
|
directive?: string;
|
|
1134
1173
|
}
|
|
1174
|
+
interface LayerDetails {
|
|
1175
|
+
/** The base images the layer is found within. */
|
|
1176
|
+
baseImages?: BaseImage[];
|
|
1177
|
+
/** The layer build command that was used to build the layer. This may not be found in all layers depending on how the container image is built. */
|
|
1178
|
+
command?: string;
|
|
1179
|
+
/** The diff ID (sha256 hash) of the layer in the container image. */
|
|
1180
|
+
diffId?: string;
|
|
1181
|
+
/** The index of the layer in the container image. */
|
|
1182
|
+
index?: number;
|
|
1183
|
+
}
|
|
1135
1184
|
interface License {
|
|
1136
1185
|
/** Comments */
|
|
1137
1186
|
comments?: string;
|
|
@@ -1660,6 +1709,11 @@ declare namespace gapi.client {
|
|
|
1660
1709
|
/** A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. */
|
|
1661
1710
|
message?: string;
|
|
1662
1711
|
}
|
|
1712
|
+
interface StepResult {
|
|
1713
|
+
attestationContentName?: string;
|
|
1714
|
+
attestationType?: string;
|
|
1715
|
+
name?: string;
|
|
1716
|
+
}
|
|
1663
1717
|
interface StorageSource {
|
|
1664
1718
|
/** Google Cloud Storage bucket containing source (see [Bucket Name Requirements] (https://cloud.google.com/storage/docs/bucket-naming#requirements)). */
|
|
1665
1719
|
bucket?: string;
|