@maxim_mazurok/gapi.client.containeranalysis-v1 0.0.20230331 → 0.0.20230414

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 (3) hide show
  1. package/index.d.ts +42 -1
  2. package/package.json +1 -1
  3. package/tests.ts +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: 20230331
12
+ // Revision: 20230414
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -339,6 +339,11 @@ declare namespace gapi.client {
339
339
  * uploaded to the specified Artifact Registry repository using the builder service account's credentials. If any artifacts fail to be pushed, the build is marked FAILURE.
340
340
  */
341
341
  mavenArtifacts?: ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact[];
342
+ /**
343
+ * A list of npm packages to be uploaded to Artifact Registry upon successful completion of all build steps. Npm packages in the specified paths will be uploaded to the specified
344
+ * Artifact Registry repository using the builder service account's credentials. If any packages fail to be pushed, the build is marked FAILURE.
345
+ */
346
+ npmPackages?: ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage[];
342
347
  /**
343
348
  * A list of objects to be uploaded to Cloud Storage upon successful completion of all build steps. Files in the workspace matching specified paths globs will be uploaded to the
344
349
  * specified Cloud Storage location using the builder service account's credentials. The location and generation of the uploaded objects will be stored in the Build resource's results
@@ -381,6 +386,15 @@ declare namespace gapi.client {
381
386
  /** Maven `version` value used when uploading the artifact to Artifact Registry. */
382
387
  version?: string;
383
388
  }
389
+ interface ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage {
390
+ /** Path to the package.json. e.g. workspace/path/to/package */
391
+ packagePath?: string;
392
+ /**
393
+ * Artifact Registry repository, in the form "https://$REGION-npm.pkg.dev/$PROJECT/$REPOSITORY" Npm package in the workspace specified by path will be zipped and uploaded to Artifact
394
+ * Registry with this location as a prefix.
395
+ */
396
+ repository?: string;
397
+ }
384
398
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage {
385
399
  /** Path globs used to match files in the build's workspace. For Python/ Twine, this is usually `dist/*`, and sometimes additionally an `.asc` file. */
386
400
  paths?: string[];
@@ -624,6 +638,21 @@ declare namespace gapi.client {
624
638
  /** Collection of file hashes. */
625
639
  fileHash?: ContaineranalysisGoogleDevtoolsCloudbuildV1Hash[];
626
640
  }
641
+ interface ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource {
642
+ /**
643
+ * 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
644
+ * that step's execution.
645
+ */
646
+ dir?: string;
647
+ /**
648
+ * 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;
649
+ * 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
650
+ * https://git-scm.com/docs/gitrevisions#_specifying_revisions. For information on `git fetch`, see https://git-scm.com/docs/git-fetch.
651
+ */
652
+ revision?: string;
653
+ /** Location of the Git repo to build. This will be used as a `git remote`, see https://git-scm.com/docs/git-remote. */
654
+ url?: string;
655
+ }
627
656
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1Hash {
628
657
  /** The type of hash that was performed. */
629
658
  type?: string;
@@ -676,6 +705,8 @@ declare namespace gapi.client {
676
705
  images?: ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage[];
677
706
  /** Maven artifacts uploaded to Artifact Registry at the end of the build. */
678
707
  mavenArtifacts?: ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact[];
708
+ /** Npm packages uploaded to Artifact Registry at the end of the build. */
709
+ npmPackages?: ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage[];
679
710
  /** Number of non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage. */
680
711
  numArtifacts?: string;
681
712
  /** Python artifacts uploaded to Artifact Registry at the end of the build. */
@@ -703,6 +734,8 @@ declare namespace gapi.client {
703
734
  secretManager?: ContaineranalysisGoogleDevtoolsCloudbuildV1SecretManagerSecret[];
704
735
  }
705
736
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1Source {
737
+ /** If provided, get the source from this Git repository. */
738
+ gitSource?: ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource;
706
739
  /** If provided, get the source from this location in a Cloud Source Repository. */
707
740
  repoSource?: ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource;
708
741
  /** If provided, get the source from this location in Google Cloud Storage. */
@@ -757,6 +790,14 @@ declare namespace gapi.client {
757
790
  /** URI of the uploaded artifact. */
758
791
  uri?: string;
759
792
  }
793
+ interface ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage {
794
+ /** Hash types and values of the npm package. */
795
+ fileHashes?: ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes;
796
+ /** Output only. Stores timing information for pushing the specified artifact. */
797
+ pushTiming?: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan;
798
+ /** URI of the uploaded npm package. */
799
+ uri?: string;
800
+ }
760
801
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage {
761
802
  /** Hash types and values of the Python Artifact. */
762
803
  fileHashes?: ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.containeranalysis-v1",
3
- "version": "0.0.20230331",
3
+ "version": "0.0.20230414",
4
4
  "description": "TypeScript typings for Container Analysis API v1",
5
5
  "license": "MIT",
6
6
  "author": {
package/tests.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
4
4
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
5
5
 
6
- // Revision: 20230331
6
+ // Revision: 20230414
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */