@maxim_mazurok/gapi.client.containeranalysis-v1 0.0.20240412 → 0.0.20240514
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 +34 -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: 20240514
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -257,6 +257,8 @@ declare namespace gapi.client {
|
|
|
257
257
|
interface ComplianceOccurrence {
|
|
258
258
|
nonComplianceReason?: string;
|
|
259
259
|
nonCompliantFiles?: NonCompliantFile[];
|
|
260
|
+
/** The OS and config version the benchmark was run on. */
|
|
261
|
+
version?: ComplianceVersion;
|
|
260
262
|
}
|
|
261
263
|
interface ComplianceVersion {
|
|
262
264
|
/** The name of the document that defines this benchmark, e.g. "CIS Container-Optimized OS". */
|
|
@@ -341,6 +343,8 @@ declare namespace gapi.client {
|
|
|
341
343
|
failureInfo?: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo;
|
|
342
344
|
/** 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. */
|
|
343
345
|
finishTime?: string;
|
|
346
|
+
/** Optional. Configuration for git operations. */
|
|
347
|
+
gitConfig?: ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig;
|
|
344
348
|
/** Output only. Unique identifier of the build. */
|
|
345
349
|
id?: string;
|
|
346
350
|
/** A list of images to be pushed upon the successful completion of all build steps. The images are 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 status is marked `FAILURE`. */
|
|
@@ -498,10 +502,36 @@ declare namespace gapi.client {
|
|
|
498
502
|
/** The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref. */
|
|
499
503
|
revision?: string;
|
|
500
504
|
}
|
|
505
|
+
interface ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig {
|
|
506
|
+
/** Required. Directory, relative to the source root, in which to run the build. */
|
|
507
|
+
dir?: string;
|
|
508
|
+
/** Required. The Developer Connect Git repository link, formatted as `projects/*/locations/*/connections/*/gitRepositoryLink/*`. */
|
|
509
|
+
gitRepositoryLink?: string;
|
|
510
|
+
/** Required. The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref. */
|
|
511
|
+
revision?: string;
|
|
512
|
+
}
|
|
501
513
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes {
|
|
502
514
|
/** Collection of file hashes. */
|
|
503
515
|
fileHash?: ContaineranalysisGoogleDevtoolsCloudbuildV1Hash[];
|
|
504
516
|
}
|
|
517
|
+
interface ContaineranalysisGoogleDevtoolsCloudbuildV1GCSLocation {
|
|
518
|
+
/** Cloud Storage bucket. See https://cloud.google.com/storage/docs/naming#requirements */
|
|
519
|
+
bucket?: string;
|
|
520
|
+
/** Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. */
|
|
521
|
+
generation?: string;
|
|
522
|
+
/** Cloud Storage object. See https://cloud.google.com/storage/docs/naming#objectnames */
|
|
523
|
+
object?: string;
|
|
524
|
+
}
|
|
525
|
+
interface ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig {
|
|
526
|
+
/** Configuration for HTTP related git operations. */
|
|
527
|
+
http?: ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig;
|
|
528
|
+
}
|
|
529
|
+
interface ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig {
|
|
530
|
+
/** SecretVersion resource of the HTTP proxy URL. The proxy URL should be in format protocol://@]proxyhost[:port]. */
|
|
531
|
+
proxySecretVersionName?: string;
|
|
532
|
+
/** Optional. Cloud Storage object storing the certificate to use with the HTTP proxy. */
|
|
533
|
+
proxySslCaInfo?: ContaineranalysisGoogleDevtoolsCloudbuildV1GCSLocation;
|
|
534
|
+
}
|
|
505
535
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource {
|
|
506
536
|
/** 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. */
|
|
507
537
|
dir?: string;
|
|
@@ -547,7 +577,7 @@ declare namespace gapi.client {
|
|
|
547
577
|
artifactTiming?: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan;
|
|
548
578
|
/** List of build step digests, in the order corresponding to build step indices. */
|
|
549
579
|
buildStepImages?: string[];
|
|
550
|
-
/** 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. */
|
|
580
|
+
/** 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. */
|
|
551
581
|
buildStepOutputs?: string[];
|
|
552
582
|
/** Container images that were built as a part of the build. */
|
|
553
583
|
images?: ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage[];
|
|
@@ -581,6 +611,8 @@ declare namespace gapi.client {
|
|
|
581
611
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1Source {
|
|
582
612
|
/** Optional. If provided, get the source from this 2nd-gen Google Cloud Build repository resource. */
|
|
583
613
|
connectedRepository?: ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository;
|
|
614
|
+
/** If provided, get the source from this Developer Connect config. */
|
|
615
|
+
developerConnectConfig?: ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig;
|
|
584
616
|
/** If provided, get the source from this Git repository. */
|
|
585
617
|
gitSource?: ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource;
|
|
586
618
|
/** If provided, get the source from this location in a Cloud Source Repository. */
|