@maxim_mazurok/gapi.client.containeranalysis-v1 0.0.20220923 → 0.0.20221001
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 +63 -6
- 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=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20221001
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -252,12 +252,22 @@ declare namespace gapi.client {
|
|
|
252
252
|
* images will be stored in the Build resource's results field. If any of the images fail to be pushed, the build is marked FAILURE.
|
|
253
253
|
*/
|
|
254
254
|
images?: string[];
|
|
255
|
+
/**
|
|
256
|
+
* A list of Maven artifacts to be uploaded to Artifact Registry upon successful completion of all build steps. Artifacts in the workspace matching specified paths globs will be
|
|
257
|
+
* 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.
|
|
258
|
+
*/
|
|
259
|
+
mavenArtifacts?: ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact[];
|
|
255
260
|
/**
|
|
256
261
|
* 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
|
|
257
262
|
* 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
|
|
258
263
|
* field. If any objects fail to be pushed, the build is marked FAILURE.
|
|
259
264
|
*/
|
|
260
265
|
objects?: ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects;
|
|
266
|
+
/**
|
|
267
|
+
* A list of Python packages to be uploaded to Artifact Registry upon successful completion of all build steps. The build service account credentials will be used to perform the
|
|
268
|
+
* upload. If any objects fail to be pushed, the build is marked FAILURE.
|
|
269
|
+
*/
|
|
270
|
+
pythonPackages?: ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage[];
|
|
261
271
|
}
|
|
262
272
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects {
|
|
263
273
|
/**
|
|
@@ -271,6 +281,33 @@ declare namespace gapi.client {
|
|
|
271
281
|
/** Output only. Stores timing information for pushing all artifact objects. */
|
|
272
282
|
timing?: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan;
|
|
273
283
|
}
|
|
284
|
+
interface ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact {
|
|
285
|
+
/** Maven `artifactId` value used when uploading the artifact to Artifact Registry. */
|
|
286
|
+
artifactId?: string;
|
|
287
|
+
/** Maven `groupId` value used when uploading the artifact to Artifact Registry. */
|
|
288
|
+
groupId?: string;
|
|
289
|
+
/**
|
|
290
|
+
* Path to an artifact in the build's workspace to be uploaded to Artifact Registry. This can be either an absolute path, e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a
|
|
291
|
+
* relative path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar.
|
|
292
|
+
*/
|
|
293
|
+
path?: string;
|
|
294
|
+
/**
|
|
295
|
+
* Artifact Registry repository, in the form "https://$REGION-maven.pkg.dev/$PROJECT/$REPOSITORY" Artifact in the workspace specified by path will be uploaded to Artifact Registry with
|
|
296
|
+
* this location as a prefix.
|
|
297
|
+
*/
|
|
298
|
+
repository?: string;
|
|
299
|
+
/** Maven `version` value used when uploading the artifact to Artifact Registry. */
|
|
300
|
+
version?: string;
|
|
301
|
+
}
|
|
302
|
+
interface ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage {
|
|
303
|
+
/** Path globs used to match files in the build's workspace. For Python/ Twine, this is usually `dist/*`, and sometimes additionally an `.asc` file. */
|
|
304
|
+
paths?: string[];
|
|
305
|
+
/**
|
|
306
|
+
* Artifact Registry repository, in the form "https://$REGION-python.pkg.dev/$PROJECT/$REPOSITORY" Files in the workspace matching any path pattern will be uploaded to Artifact
|
|
307
|
+
* Registry with this location as a prefix.
|
|
308
|
+
*/
|
|
309
|
+
repository?: string;
|
|
310
|
+
}
|
|
274
311
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1Build {
|
|
275
312
|
/** Output only. Describes this build's approval configuration, status, and result. */
|
|
276
313
|
approval?: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval;
|
|
@@ -345,8 +382,8 @@ declare namespace gapi.client {
|
|
|
345
382
|
*/
|
|
346
383
|
timeout?: string;
|
|
347
384
|
/**
|
|
348
|
-
* Output only. Stores timing information for phases of the build. Valid keys are: * BUILD: time to execute all build steps. * PUSH: time to push all
|
|
349
|
-
* time to fetch source. * SETUPBUILD: time to set up build. If the build does not specify source or images, these keys will not be included.
|
|
385
|
+
* Output only. Stores timing information for phases of the build. Valid keys are: * BUILD: time to execute all build steps. * PUSH: time to push all artifacts including docker images
|
|
386
|
+
* and non docker artifacts. * FETCHSOURCE: time to fetch source. * SETUPBUILD: time to set up build. If the build does not specify source or images, these keys will not be included.
|
|
350
387
|
*/
|
|
351
388
|
timing?: { [P in string]: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan };
|
|
352
389
|
/** Output only. Non-fatal problems encountered during the execution of the build. */
|
|
@@ -540,9 +577,9 @@ declare namespace gapi.client {
|
|
|
540
577
|
tagName?: string;
|
|
541
578
|
}
|
|
542
579
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1Results {
|
|
543
|
-
/** Path to the artifact manifest. Only populated when artifacts are uploaded. */
|
|
580
|
+
/** Path to the artifact manifest for non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage. */
|
|
544
581
|
artifactManifest?: string;
|
|
545
|
-
/** Time to push all non-container artifacts. */
|
|
582
|
+
/** Time to push all non-container artifacts to Cloud Storage. */
|
|
546
583
|
artifactTiming?: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan;
|
|
547
584
|
/** List of build step digests, in the order corresponding to build step indices. */
|
|
548
585
|
buildStepImages?: string[];
|
|
@@ -553,8 +590,12 @@ declare namespace gapi.client {
|
|
|
553
590
|
buildStepOutputs?: string[];
|
|
554
591
|
/** Container images that were built as a part of the build. */
|
|
555
592
|
images?: ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage[];
|
|
556
|
-
/**
|
|
593
|
+
/** Maven artifacts uploaded to Artifact Registry at the end of the build. */
|
|
594
|
+
mavenArtifacts?: ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact[];
|
|
595
|
+
/** Number of non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage. */
|
|
557
596
|
numArtifacts?: string;
|
|
597
|
+
/** Python artifacts uploaded to Artifact Registry at the end of the build. */
|
|
598
|
+
pythonPackages?: ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage[];
|
|
558
599
|
}
|
|
559
600
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1Secret {
|
|
560
601
|
/** Cloud KMS key name to use to decrypt these envs. */
|
|
@@ -624,6 +665,22 @@ declare namespace gapi.client {
|
|
|
624
665
|
/** Start of time span. */
|
|
625
666
|
startTime?: string;
|
|
626
667
|
}
|
|
668
|
+
interface ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact {
|
|
669
|
+
/** Hash types and values of the Maven Artifact. */
|
|
670
|
+
fileHashes?: ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes;
|
|
671
|
+
/** Output only. Stores timing information for pushing the specified artifact. */
|
|
672
|
+
pushTiming?: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan;
|
|
673
|
+
/** URI of the uploaded artifact. */
|
|
674
|
+
uri?: string;
|
|
675
|
+
}
|
|
676
|
+
interface ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage {
|
|
677
|
+
/** Hash types and values of the Python Artifact. */
|
|
678
|
+
fileHashes?: ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes;
|
|
679
|
+
/** Output only. Stores timing information for pushing the specified artifact. */
|
|
680
|
+
pushTiming?: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan;
|
|
681
|
+
/** URI of the uploaded artifact. */
|
|
682
|
+
uri?: string;
|
|
683
|
+
}
|
|
627
684
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1Volume {
|
|
628
685
|
/** Name of the volume to mount. Volume names must be unique per build step and must be valid names for Docker volumes. Each named volume must be used by at least two build steps. */
|
|
629
686
|
name?: string;
|
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: 20221001
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|