@maxim_mazurok/gapi.client.containeranalysis-v1beta1 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 +26 -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=v1beta1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240516
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -327,7 +327,7 @@ declare namespace gapi.client {
|
|
|
327
327
|
secrets?: ContaineranalysisGoogleDevtoolsCloudbuildV1Secret[];
|
|
328
328
|
/** 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. */
|
|
329
329
|
serviceAccount?: string;
|
|
330
|
-
/** The location of the source files to build. */
|
|
330
|
+
/** Optional. The location of the source files to build. */
|
|
331
331
|
source?: ContaineranalysisGoogleDevtoolsCloudbuildV1Source;
|
|
332
332
|
/** Output only. A permanent fixed identifier for source. */
|
|
333
333
|
sourceProvenance?: ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance;
|
|
@@ -455,11 +455,11 @@ declare namespace gapi.client {
|
|
|
455
455
|
pushTiming?: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan;
|
|
456
456
|
}
|
|
457
457
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository {
|
|
458
|
-
/** Directory, relative to the source root, in which to run the build. */
|
|
458
|
+
/** Optional. Directory, relative to the source root, in which to run the build. */
|
|
459
459
|
dir?: string;
|
|
460
460
|
/** Required. Name of the Google Cloud Build repository, formatted as `projects/*/locations/*/connections/*/repositories/*`. */
|
|
461
461
|
repository?: string;
|
|
462
|
-
/** The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref. */
|
|
462
|
+
/** Required. The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref. */
|
|
463
463
|
revision?: string;
|
|
464
464
|
}
|
|
465
465
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig {
|
|
@@ -474,6 +474,14 @@ declare namespace gapi.client {
|
|
|
474
474
|
/** Collection of file hashes. */
|
|
475
475
|
fileHash?: ContaineranalysisGoogleDevtoolsCloudbuildV1Hash[];
|
|
476
476
|
}
|
|
477
|
+
interface ContaineranalysisGoogleDevtoolsCloudbuildV1GCSLocation {
|
|
478
|
+
/** Cloud Storage bucket. See https://cloud.google.com/storage/docs/naming#requirements */
|
|
479
|
+
bucket?: string;
|
|
480
|
+
/** Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. */
|
|
481
|
+
generation?: string;
|
|
482
|
+
/** Cloud Storage object. See https://cloud.google.com/storage/docs/naming#objectnames */
|
|
483
|
+
object?: string;
|
|
484
|
+
}
|
|
477
485
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig {
|
|
478
486
|
/** Configuration for HTTP related git operations. */
|
|
479
487
|
http?: ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig;
|
|
@@ -481,13 +489,15 @@ declare namespace gapi.client {
|
|
|
481
489
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig {
|
|
482
490
|
/** SecretVersion resource of the HTTP proxy URL. The proxy URL should be in format protocol://@]proxyhost[:port]. */
|
|
483
491
|
proxySecretVersionName?: string;
|
|
492
|
+
/** Optional. Cloud Storage object storing the certificate to use with the HTTP proxy. */
|
|
493
|
+
proxySslCaInfo?: ContaineranalysisGoogleDevtoolsCloudbuildV1GCSLocation;
|
|
484
494
|
}
|
|
485
495
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource {
|
|
486
|
-
/** 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. */
|
|
496
|
+
/** 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. */
|
|
487
497
|
dir?: string;
|
|
488
|
-
/** 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. */
|
|
498
|
+
/** 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. */
|
|
489
499
|
revision?: string;
|
|
490
|
-
/** Location of the Git repo to build. This will be used as a `git remote`, see https://git-scm.com/docs/git-remote. */
|
|
500
|
+
/** Required. Location of the Git repo to build. This will be used as a `git remote`, see https://git-scm.com/docs/git-remote. */
|
|
491
501
|
url?: string;
|
|
492
502
|
}
|
|
493
503
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1Hash {
|
|
@@ -507,15 +517,15 @@ declare namespace gapi.client {
|
|
|
507
517
|
branchName?: string;
|
|
508
518
|
/** Explicit commit SHA to build. */
|
|
509
519
|
commitSha?: string;
|
|
510
|
-
/** 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. */
|
|
520
|
+
/** 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. */
|
|
511
521
|
dir?: string;
|
|
512
|
-
/** Only trigger a build if the revision regex does NOT match the revision regex. */
|
|
522
|
+
/** Optional. Only trigger a build if the revision regex does NOT match the revision regex. */
|
|
513
523
|
invertRegex?: boolean;
|
|
514
|
-
/** ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed. */
|
|
524
|
+
/** Optional. ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed. */
|
|
515
525
|
projectId?: string;
|
|
516
|
-
/** Name of the Cloud Source Repository. */
|
|
526
|
+
/** Required. Name of the Cloud Source Repository. */
|
|
517
527
|
repoName?: string;
|
|
518
|
-
/** Substitutions to use in a triggered build. Should only be used with RunBuildTrigger */
|
|
528
|
+
/** Optional. Substitutions to use in a triggered build. Should only be used with RunBuildTrigger */
|
|
519
529
|
substitutions?: {[P in string]: string};
|
|
520
530
|
/** 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 */
|
|
521
531
|
tagName?: string;
|
|
@@ -591,19 +601,19 @@ declare namespace gapi.client {
|
|
|
591
601
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource {
|
|
592
602
|
/** Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). */
|
|
593
603
|
bucket?: string;
|
|
594
|
-
/** Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. */
|
|
604
|
+
/** Optional. Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. */
|
|
595
605
|
generation?: string;
|
|
596
|
-
/** Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. */
|
|
606
|
+
/** Required. Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. */
|
|
597
607
|
object?: string;
|
|
598
608
|
/** Optional. Option to specify the tool to fetch the source file for the build. */
|
|
599
609
|
sourceFetcher?: string;
|
|
600
610
|
}
|
|
601
611
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest {
|
|
602
|
-
/** Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). */
|
|
612
|
+
/** Required. Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). */
|
|
603
613
|
bucket?: string;
|
|
604
614
|
/** Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. */
|
|
605
615
|
generation?: string;
|
|
606
|
-
/** Cloud Storage object containing the source manifest. This object must be a JSON file. */
|
|
616
|
+
/** Required. Cloud Storage object containing the source manifest. This object must be a JSON file. */
|
|
607
617
|
object?: string;
|
|
608
618
|
}
|
|
609
619
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan {
|