@maxim_mazurok/gapi.client.containeranalysis-v1alpha1 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.
- package/index.d.ts +42 -1
- package/package.json +1 -1
- 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=v1alpha1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230414
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -332,6 +332,11 @@ declare namespace gapi.client {
|
|
|
332
332
|
* 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.
|
|
333
333
|
*/
|
|
334
334
|
mavenArtifacts?: ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact[];
|
|
335
|
+
/**
|
|
336
|
+
* 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
|
|
337
|
+
* Artifact Registry repository using the builder service account's credentials. If any packages fail to be pushed, the build is marked FAILURE.
|
|
338
|
+
*/
|
|
339
|
+
npmPackages?: ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage[];
|
|
335
340
|
/**
|
|
336
341
|
* 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
|
|
337
342
|
* 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
|
|
@@ -374,6 +379,15 @@ declare namespace gapi.client {
|
|
|
374
379
|
/** Maven `version` value used when uploading the artifact to Artifact Registry. */
|
|
375
380
|
version?: string;
|
|
376
381
|
}
|
|
382
|
+
interface ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage {
|
|
383
|
+
/** Path to the package.json. e.g. workspace/path/to/package */
|
|
384
|
+
packagePath?: string;
|
|
385
|
+
/**
|
|
386
|
+
* 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
|
|
387
|
+
* Registry with this location as a prefix.
|
|
388
|
+
*/
|
|
389
|
+
repository?: string;
|
|
390
|
+
}
|
|
377
391
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage {
|
|
378
392
|
/** Path globs used to match files in the build's workspace. For Python/ Twine, this is usually `dist/*`, and sometimes additionally an `.asc` file. */
|
|
379
393
|
paths?: string[];
|
|
@@ -617,6 +631,21 @@ declare namespace gapi.client {
|
|
|
617
631
|
/** Collection of file hashes. */
|
|
618
632
|
fileHash?: ContaineranalysisGoogleDevtoolsCloudbuildV1Hash[];
|
|
619
633
|
}
|
|
634
|
+
interface ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource {
|
|
635
|
+
/**
|
|
636
|
+
* 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
|
|
637
|
+
* that step's execution.
|
|
638
|
+
*/
|
|
639
|
+
dir?: string;
|
|
640
|
+
/**
|
|
641
|
+
* 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;
|
|
642
|
+
* 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
|
|
643
|
+
* https://git-scm.com/docs/gitrevisions#_specifying_revisions. For information on `git fetch`, see https://git-scm.com/docs/git-fetch.
|
|
644
|
+
*/
|
|
645
|
+
revision?: string;
|
|
646
|
+
/** Location of the Git repo to build. This will be used as a `git remote`, see https://git-scm.com/docs/git-remote. */
|
|
647
|
+
url?: string;
|
|
648
|
+
}
|
|
620
649
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1Hash {
|
|
621
650
|
/** The type of hash that was performed. */
|
|
622
651
|
type?: string;
|
|
@@ -669,6 +698,8 @@ declare namespace gapi.client {
|
|
|
669
698
|
images?: ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage[];
|
|
670
699
|
/** Maven artifacts uploaded to Artifact Registry at the end of the build. */
|
|
671
700
|
mavenArtifacts?: ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact[];
|
|
701
|
+
/** Npm packages uploaded to Artifact Registry at the end of the build. */
|
|
702
|
+
npmPackages?: ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage[];
|
|
672
703
|
/** Number of non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage. */
|
|
673
704
|
numArtifacts?: string;
|
|
674
705
|
/** Python artifacts uploaded to Artifact Registry at the end of the build. */
|
|
@@ -696,6 +727,8 @@ declare namespace gapi.client {
|
|
|
696
727
|
secretManager?: ContaineranalysisGoogleDevtoolsCloudbuildV1SecretManagerSecret[];
|
|
697
728
|
}
|
|
698
729
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1Source {
|
|
730
|
+
/** If provided, get the source from this Git repository. */
|
|
731
|
+
gitSource?: ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource;
|
|
699
732
|
/** If provided, get the source from this location in a Cloud Source Repository. */
|
|
700
733
|
repoSource?: ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource;
|
|
701
734
|
/** If provided, get the source from this location in Google Cloud Storage. */
|
|
@@ -750,6 +783,14 @@ declare namespace gapi.client {
|
|
|
750
783
|
/** URI of the uploaded artifact. */
|
|
751
784
|
uri?: string;
|
|
752
785
|
}
|
|
786
|
+
interface ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage {
|
|
787
|
+
/** Hash types and values of the npm package. */
|
|
788
|
+
fileHashes?: ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes;
|
|
789
|
+
/** Output only. Stores timing information for pushing the specified artifact. */
|
|
790
|
+
pushTiming?: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan;
|
|
791
|
+
/** URI of the uploaded npm package. */
|
|
792
|
+
uri?: string;
|
|
793
|
+
}
|
|
753
794
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage {
|
|
754
795
|
/** Hash types and values of the Python Artifact. */
|
|
755
796
|
fileHashes?: ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes;
|
package/package.json
CHANGED
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:
|
|
6
|
+
// Revision: 20230414
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|