@maxim_mazurok/gapi.client.containeranalysis-v1beta1 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=v1beta1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230414
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -298,6 +298,11 @@ declare namespace gapi.client {
|
|
|
298
298
|
* 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.
|
|
299
299
|
*/
|
|
300
300
|
mavenArtifacts?: ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact[];
|
|
301
|
+
/**
|
|
302
|
+
* 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
|
|
303
|
+
* Artifact Registry repository using the builder service account's credentials. If any packages fail to be pushed, the build is marked FAILURE.
|
|
304
|
+
*/
|
|
305
|
+
npmPackages?: ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage[];
|
|
301
306
|
/**
|
|
302
307
|
* 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
|
|
303
308
|
* 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
|
|
@@ -340,6 +345,15 @@ declare namespace gapi.client {
|
|
|
340
345
|
/** Maven `version` value used when uploading the artifact to Artifact Registry. */
|
|
341
346
|
version?: string;
|
|
342
347
|
}
|
|
348
|
+
interface ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage {
|
|
349
|
+
/** Path to the package.json. e.g. workspace/path/to/package */
|
|
350
|
+
packagePath?: string;
|
|
351
|
+
/**
|
|
352
|
+
* 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
|
|
353
|
+
* Registry with this location as a prefix.
|
|
354
|
+
*/
|
|
355
|
+
repository?: string;
|
|
356
|
+
}
|
|
343
357
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage {
|
|
344
358
|
/** Path globs used to match files in the build's workspace. For Python/ Twine, this is usually `dist/*`, and sometimes additionally an `.asc` file. */
|
|
345
359
|
paths?: string[];
|
|
@@ -583,6 +597,21 @@ declare namespace gapi.client {
|
|
|
583
597
|
/** Collection of file hashes. */
|
|
584
598
|
fileHash?: ContaineranalysisGoogleDevtoolsCloudbuildV1Hash[];
|
|
585
599
|
}
|
|
600
|
+
interface ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource {
|
|
601
|
+
/**
|
|
602
|
+
* 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
|
|
603
|
+
* that step's execution.
|
|
604
|
+
*/
|
|
605
|
+
dir?: string;
|
|
606
|
+
/**
|
|
607
|
+
* 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;
|
|
608
|
+
* 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
|
|
609
|
+
* https://git-scm.com/docs/gitrevisions#_specifying_revisions. For information on `git fetch`, see https://git-scm.com/docs/git-fetch.
|
|
610
|
+
*/
|
|
611
|
+
revision?: string;
|
|
612
|
+
/** Location of the Git repo to build. This will be used as a `git remote`, see https://git-scm.com/docs/git-remote. */
|
|
613
|
+
url?: string;
|
|
614
|
+
}
|
|
586
615
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1Hash {
|
|
587
616
|
/** The type of hash that was performed. */
|
|
588
617
|
type?: string;
|
|
@@ -635,6 +664,8 @@ declare namespace gapi.client {
|
|
|
635
664
|
images?: ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage[];
|
|
636
665
|
/** Maven artifacts uploaded to Artifact Registry at the end of the build. */
|
|
637
666
|
mavenArtifacts?: ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact[];
|
|
667
|
+
/** Npm packages uploaded to Artifact Registry at the end of the build. */
|
|
668
|
+
npmPackages?: ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage[];
|
|
638
669
|
/** Number of non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage. */
|
|
639
670
|
numArtifacts?: string;
|
|
640
671
|
/** Python artifacts uploaded to Artifact Registry at the end of the build. */
|
|
@@ -662,6 +693,8 @@ declare namespace gapi.client {
|
|
|
662
693
|
secretManager?: ContaineranalysisGoogleDevtoolsCloudbuildV1SecretManagerSecret[];
|
|
663
694
|
}
|
|
664
695
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1Source {
|
|
696
|
+
/** If provided, get the source from this Git repository. */
|
|
697
|
+
gitSource?: ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource;
|
|
665
698
|
/** If provided, get the source from this location in a Cloud Source Repository. */
|
|
666
699
|
repoSource?: ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource;
|
|
667
700
|
/** If provided, get the source from this location in Google Cloud Storage. */
|
|
@@ -716,6 +749,14 @@ declare namespace gapi.client {
|
|
|
716
749
|
/** URI of the uploaded artifact. */
|
|
717
750
|
uri?: string;
|
|
718
751
|
}
|
|
752
|
+
interface ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage {
|
|
753
|
+
/** Hash types and values of the npm package. */
|
|
754
|
+
fileHashes?: ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes;
|
|
755
|
+
/** Output only. Stores timing information for pushing the specified artifact. */
|
|
756
|
+
pushTiming?: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan;
|
|
757
|
+
/** URI of the uploaded npm package. */
|
|
758
|
+
uri?: string;
|
|
759
|
+
}
|
|
719
760
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage {
|
|
720
761
|
/** Hash types and values of the Python Artifact. */
|
|
721
762
|
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 */
|