@maxim_mazurok/gapi.client.containeranalysis-v1alpha1 0.0.20240503 → 0.0.20240516
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 +28 -16
- 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: 20240516
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -245,6 +245,8 @@ declare namespace gapi.client {
|
|
|
245
245
|
nonComplianceReason?: string;
|
|
246
246
|
/** A list of files which are violating compliance checks. */
|
|
247
247
|
nonCompliantFiles?: NonCompliantFile[];
|
|
248
|
+
/** The OS and config version the benchmark was run on. */
|
|
249
|
+
version?: ComplianceVersion;
|
|
248
250
|
}
|
|
249
251
|
interface ComplianceVersion {
|
|
250
252
|
/** The name of the document that defines this benchmark, e.g. "CIS Container-Optimized OS". */
|
|
@@ -353,7 +355,7 @@ declare namespace gapi.client {
|
|
|
353
355
|
secrets?: ContaineranalysisGoogleDevtoolsCloudbuildV1Secret[];
|
|
354
356
|
/** IAM service account whose credentials will be used at build runtime. Must be of the format `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. ACCOUNT can be email address or uniqueId of the service account. */
|
|
355
357
|
serviceAccount?: string;
|
|
356
|
-
/** The location of the source files to build. */
|
|
358
|
+
/** Optional. The location of the source files to build. */
|
|
357
359
|
source?: ContaineranalysisGoogleDevtoolsCloudbuildV1Source;
|
|
358
360
|
/** Output only. A permanent fixed identifier for source. */
|
|
359
361
|
sourceProvenance?: ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance;
|
|
@@ -481,11 +483,11 @@ declare namespace gapi.client {
|
|
|
481
483
|
pushTiming?: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan;
|
|
482
484
|
}
|
|
483
485
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository {
|
|
484
|
-
/** Directory, relative to the source root, in which to run the build. */
|
|
486
|
+
/** Optional. Directory, relative to the source root, in which to run the build. */
|
|
485
487
|
dir?: string;
|
|
486
488
|
/** Required. Name of the Google Cloud Build repository, formatted as `projects/*/locations/*/connections/*/repositories/*`. */
|
|
487
489
|
repository?: string;
|
|
488
|
-
/** The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref. */
|
|
490
|
+
/** Required. The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref. */
|
|
489
491
|
revision?: string;
|
|
490
492
|
}
|
|
491
493
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig {
|
|
@@ -500,6 +502,14 @@ declare namespace gapi.client {
|
|
|
500
502
|
/** Collection of file hashes. */
|
|
501
503
|
fileHash?: ContaineranalysisGoogleDevtoolsCloudbuildV1Hash[];
|
|
502
504
|
}
|
|
505
|
+
interface ContaineranalysisGoogleDevtoolsCloudbuildV1GCSLocation {
|
|
506
|
+
/** Cloud Storage bucket. See https://cloud.google.com/storage/docs/naming#requirements */
|
|
507
|
+
bucket?: string;
|
|
508
|
+
/** Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. */
|
|
509
|
+
generation?: string;
|
|
510
|
+
/** Cloud Storage object. See https://cloud.google.com/storage/docs/naming#objectnames */
|
|
511
|
+
object?: string;
|
|
512
|
+
}
|
|
503
513
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig {
|
|
504
514
|
/** Configuration for HTTP related git operations. */
|
|
505
515
|
http?: ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig;
|
|
@@ -507,13 +517,15 @@ declare namespace gapi.client {
|
|
|
507
517
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig {
|
|
508
518
|
/** SecretVersion resource of the HTTP proxy URL. The proxy URL should be in format protocol://@]proxyhost[:port]. */
|
|
509
519
|
proxySecretVersionName?: string;
|
|
520
|
+
/** Optional. Cloud Storage object storing the certificate to use with the HTTP proxy. */
|
|
521
|
+
proxySslCaInfo?: ContaineranalysisGoogleDevtoolsCloudbuildV1GCSLocation;
|
|
510
522
|
}
|
|
511
523
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource {
|
|
512
|
-
/** 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. */
|
|
524
|
+
/** Optional. 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. */
|
|
513
525
|
dir?: string;
|
|
514
|
-
/** The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref. Cloud Build uses `git fetch` to fetch the revision from the Git repository; therefore make sure that the string you provide for `revision` is parsable by the command. For information on string values accepted by `git fetch`, see https://git-scm.com/docs/gitrevisions#_specifying_revisions. For information on `git fetch`, see https://git-scm.com/docs/git-fetch. */
|
|
526
|
+
/** Optional. The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref. Cloud Build uses `git fetch` to fetch the revision from the Git repository; therefore make sure that the string you provide for `revision` is parsable by the command. For information on string values accepted by `git fetch`, see https://git-scm.com/docs/gitrevisions#_specifying_revisions. For information on `git fetch`, see https://git-scm.com/docs/git-fetch. */
|
|
515
527
|
revision?: string;
|
|
516
|
-
/** Location of the Git repo to build. This will be used as a `git remote`, see https://git-scm.com/docs/git-remote. */
|
|
528
|
+
/** Required. Location of the Git repo to build. This will be used as a `git remote`, see https://git-scm.com/docs/git-remote. */
|
|
517
529
|
url?: string;
|
|
518
530
|
}
|
|
519
531
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1Hash {
|
|
@@ -533,15 +545,15 @@ declare namespace gapi.client {
|
|
|
533
545
|
branchName?: string;
|
|
534
546
|
/** Explicit commit SHA to build. */
|
|
535
547
|
commitSha?: string;
|
|
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. */
|
|
548
|
+
/** Optional. 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. */
|
|
537
549
|
dir?: string;
|
|
538
|
-
/** Only trigger a build if the revision regex does NOT match the revision regex. */
|
|
550
|
+
/** Optional. Only trigger a build if the revision regex does NOT match the revision regex. */
|
|
539
551
|
invertRegex?: boolean;
|
|
540
|
-
/** ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed. */
|
|
552
|
+
/** Optional. ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed. */
|
|
541
553
|
projectId?: string;
|
|
542
|
-
/** Name of the Cloud Source Repository. */
|
|
554
|
+
/** Required. Name of the Cloud Source Repository. */
|
|
543
555
|
repoName?: string;
|
|
544
|
-
/** Substitutions to use in a triggered build. Should only be used with RunBuildTrigger */
|
|
556
|
+
/** Optional. Substitutions to use in a triggered build. Should only be used with RunBuildTrigger */
|
|
545
557
|
substitutions?: {[P in string]: string};
|
|
546
558
|
/** Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax */
|
|
547
559
|
tagName?: string;
|
|
@@ -617,19 +629,19 @@ declare namespace gapi.client {
|
|
|
617
629
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource {
|
|
618
630
|
/** Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). */
|
|
619
631
|
bucket?: string;
|
|
620
|
-
/** Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. */
|
|
632
|
+
/** Optional. Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. */
|
|
621
633
|
generation?: string;
|
|
622
|
-
/** Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. */
|
|
634
|
+
/** Required. Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. */
|
|
623
635
|
object?: string;
|
|
624
636
|
/** Optional. Option to specify the tool to fetch the source file for the build. */
|
|
625
637
|
sourceFetcher?: string;
|
|
626
638
|
}
|
|
627
639
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest {
|
|
628
|
-
/** Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). */
|
|
640
|
+
/** Required. Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). */
|
|
629
641
|
bucket?: string;
|
|
630
642
|
/** Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. */
|
|
631
643
|
generation?: string;
|
|
632
|
-
/** Cloud Storage object containing the source manifest. This object must be a JSON file. */
|
|
644
|
+
/** Required. Cloud Storage object containing the source manifest. This object must be a JSON file. */
|
|
633
645
|
object?: string;
|
|
634
646
|
}
|
|
635
647
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan {
|