@maxim_mazurok/gapi.client.containeranalysis-v1 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.
Files changed (2) hide show
  1. package/index.d.ts +26 -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: 20240503
12
+ // Revision: 20240516
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -367,7 +367,7 @@ declare namespace gapi.client {
367
367
  secrets?: ContaineranalysisGoogleDevtoolsCloudbuildV1Secret[];
368
368
  /** 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. */
369
369
  serviceAccount?: string;
370
- /** The location of the source files to build. */
370
+ /** Optional. The location of the source files to build. */
371
371
  source?: ContaineranalysisGoogleDevtoolsCloudbuildV1Source;
372
372
  /** Output only. A permanent fixed identifier for source. */
373
373
  sourceProvenance?: ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance;
@@ -495,11 +495,11 @@ declare namespace gapi.client {
495
495
  pushTiming?: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan;
496
496
  }
497
497
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository {
498
- /** Directory, relative to the source root, in which to run the build. */
498
+ /** Optional. Directory, relative to the source root, in which to run the build. */
499
499
  dir?: string;
500
500
  /** Required. Name of the Google Cloud Build repository, formatted as `projects/*‍/locations/*‍/connections/*‍/repositories/*`. */
501
501
  repository?: string;
502
- /** The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref. */
502
+ /** Required. The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref. */
503
503
  revision?: string;
504
504
  }
505
505
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig {
@@ -514,6 +514,14 @@ declare namespace gapi.client {
514
514
  /** Collection of file hashes. */
515
515
  fileHash?: ContaineranalysisGoogleDevtoolsCloudbuildV1Hash[];
516
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
+ }
517
525
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig {
518
526
  /** Configuration for HTTP related git operations. */
519
527
  http?: ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig;
@@ -521,13 +529,15 @@ declare namespace gapi.client {
521
529
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig {
522
530
  /** SecretVersion resource of the HTTP proxy URL. The proxy URL should be in format protocol://@]proxyhost[:port]. */
523
531
  proxySecretVersionName?: string;
532
+ /** Optional. Cloud Storage object storing the certificate to use with the HTTP proxy. */
533
+ proxySslCaInfo?: ContaineranalysisGoogleDevtoolsCloudbuildV1GCSLocation;
524
534
  }
525
535
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource {
526
- /** 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. */
536
+ /** 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. */
527
537
  dir?: string;
528
- /** 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. */
538
+ /** 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. */
529
539
  revision?: string;
530
- /** Location of the Git repo to build. This will be used as a `git remote`, see https://git-scm.com/docs/git-remote. */
540
+ /** Required. Location of the Git repo to build. This will be used as a `git remote`, see https://git-scm.com/docs/git-remote. */
531
541
  url?: string;
532
542
  }
533
543
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1Hash {
@@ -547,15 +557,15 @@ declare namespace gapi.client {
547
557
  branchName?: string;
548
558
  /** Explicit commit SHA to build. */
549
559
  commitSha?: string;
550
- /** 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. */
560
+ /** 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. */
551
561
  dir?: string;
552
- /** Only trigger a build if the revision regex does NOT match the revision regex. */
562
+ /** Optional. Only trigger a build if the revision regex does NOT match the revision regex. */
553
563
  invertRegex?: boolean;
554
- /** ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed. */
564
+ /** Optional. ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed. */
555
565
  projectId?: string;
556
- /** Name of the Cloud Source Repository. */
566
+ /** Required. Name of the Cloud Source Repository. */
557
567
  repoName?: string;
558
- /** Substitutions to use in a triggered build. Should only be used with RunBuildTrigger */
568
+ /** Optional. Substitutions to use in a triggered build. Should only be used with RunBuildTrigger */
559
569
  substitutions?: {[P in string]: string};
560
570
  /** 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 */
561
571
  tagName?: string;
@@ -631,19 +641,19 @@ declare namespace gapi.client {
631
641
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource {
632
642
  /** Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). */
633
643
  bucket?: string;
634
- /** Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. */
644
+ /** Optional. Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. */
635
645
  generation?: string;
636
- /** Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. */
646
+ /** Required. Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. */
637
647
  object?: string;
638
648
  /** Optional. Option to specify the tool to fetch the source file for the build. */
639
649
  sourceFetcher?: string;
640
650
  }
641
651
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest {
642
- /** Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). */
652
+ /** Required. Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). */
643
653
  bucket?: string;
644
654
  /** Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. */
645
655
  generation?: string;
646
- /** Cloud Storage object containing the source manifest. This object must be a JSON file. */
656
+ /** Required. Cloud Storage object containing the source manifest. This object must be a JSON file. */
647
657
  object?: string;
648
658
  }
649
659
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.containeranalysis-v1",
3
- "version": "0.0.20240503",
3
+ "version": "0.0.20240516",
4
4
  "description": "TypeScript typings for Container Analysis API v1",
5
5
  "repository": {
6
6
  "type": "git",