@maxim_mazurok/gapi.client.containeranalysis-v1beta1 0.0.20220928 → 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=v1beta1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20221001
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -211,12 +211,22 @@ declare namespace gapi.client {
|
|
|
211
211
|
* 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.
|
|
212
212
|
*/
|
|
213
213
|
images?: string[];
|
|
214
|
+
/**
|
|
215
|
+
* 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
|
|
216
|
+
* 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.
|
|
217
|
+
*/
|
|
218
|
+
mavenArtifacts?: ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact[];
|
|
214
219
|
/**
|
|
215
220
|
* 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
|
|
216
221
|
* 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
|
|
217
222
|
* field. If any objects fail to be pushed, the build is marked FAILURE.
|
|
218
223
|
*/
|
|
219
224
|
objects?: ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects;
|
|
225
|
+
/**
|
|
226
|
+
* 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
|
|
227
|
+
* upload. If any objects fail to be pushed, the build is marked FAILURE.
|
|
228
|
+
*/
|
|
229
|
+
pythonPackages?: ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage[];
|
|
220
230
|
}
|
|
221
231
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects {
|
|
222
232
|
/**
|
|
@@ -230,6 +240,33 @@ declare namespace gapi.client {
|
|
|
230
240
|
/** Output only. Stores timing information for pushing all artifact objects. */
|
|
231
241
|
timing?: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan;
|
|
232
242
|
}
|
|
243
|
+
interface ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact {
|
|
244
|
+
/** Maven `artifactId` value used when uploading the artifact to Artifact Registry. */
|
|
245
|
+
artifactId?: string;
|
|
246
|
+
/** Maven `groupId` value used when uploading the artifact to Artifact Registry. */
|
|
247
|
+
groupId?: string;
|
|
248
|
+
/**
|
|
249
|
+
* 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
|
|
250
|
+
* relative path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar.
|
|
251
|
+
*/
|
|
252
|
+
path?: string;
|
|
253
|
+
/**
|
|
254
|
+
* 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
|
|
255
|
+
* this location as a prefix.
|
|
256
|
+
*/
|
|
257
|
+
repository?: string;
|
|
258
|
+
/** Maven `version` value used when uploading the artifact to Artifact Registry. */
|
|
259
|
+
version?: string;
|
|
260
|
+
}
|
|
261
|
+
interface ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage {
|
|
262
|
+
/** Path globs used to match files in the build's workspace. For Python/ Twine, this is usually `dist/*`, and sometimes additionally an `.asc` file. */
|
|
263
|
+
paths?: string[];
|
|
264
|
+
/**
|
|
265
|
+
* 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
|
|
266
|
+
* Registry with this location as a prefix.
|
|
267
|
+
*/
|
|
268
|
+
repository?: string;
|
|
269
|
+
}
|
|
233
270
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1Build {
|
|
234
271
|
/** Output only. Describes this build's approval configuration, status, and result. */
|
|
235
272
|
approval?: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval;
|
|
@@ -304,8 +341,8 @@ declare namespace gapi.client {
|
|
|
304
341
|
*/
|
|
305
342
|
timeout?: string;
|
|
306
343
|
/**
|
|
307
|
-
* 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
|
|
308
|
-
* 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.
|
|
344
|
+
* 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
|
|
345
|
+
* 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.
|
|
309
346
|
*/
|
|
310
347
|
timing?: { [P in string]: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan };
|
|
311
348
|
/** Output only. Non-fatal problems encountered during the execution of the build. */
|
|
@@ -499,9 +536,9 @@ declare namespace gapi.client {
|
|
|
499
536
|
tagName?: string;
|
|
500
537
|
}
|
|
501
538
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1Results {
|
|
502
|
-
/** Path to the artifact manifest. Only populated when artifacts are uploaded. */
|
|
539
|
+
/** Path to the artifact manifest for non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage. */
|
|
503
540
|
artifactManifest?: string;
|
|
504
|
-
/** Time to push all non-container artifacts. */
|
|
541
|
+
/** Time to push all non-container artifacts to Cloud Storage. */
|
|
505
542
|
artifactTiming?: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan;
|
|
506
543
|
/** List of build step digests, in the order corresponding to build step indices. */
|
|
507
544
|
buildStepImages?: string[];
|
|
@@ -512,8 +549,12 @@ declare namespace gapi.client {
|
|
|
512
549
|
buildStepOutputs?: string[];
|
|
513
550
|
/** Container images that were built as a part of the build. */
|
|
514
551
|
images?: ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage[];
|
|
515
|
-
/**
|
|
552
|
+
/** Maven artifacts uploaded to Artifact Registry at the end of the build. */
|
|
553
|
+
mavenArtifacts?: ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact[];
|
|
554
|
+
/** Number of non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage. */
|
|
516
555
|
numArtifacts?: string;
|
|
556
|
+
/** Python artifacts uploaded to Artifact Registry at the end of the build. */
|
|
557
|
+
pythonPackages?: ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage[];
|
|
517
558
|
}
|
|
518
559
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1Secret {
|
|
519
560
|
/** Cloud KMS key name to use to decrypt these envs. */
|
|
@@ -583,6 +624,22 @@ declare namespace gapi.client {
|
|
|
583
624
|
/** Start of time span. */
|
|
584
625
|
startTime?: string;
|
|
585
626
|
}
|
|
627
|
+
interface ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact {
|
|
628
|
+
/** Hash types and values of the Maven Artifact. */
|
|
629
|
+
fileHashes?: ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes;
|
|
630
|
+
/** Output only. Stores timing information for pushing the specified artifact. */
|
|
631
|
+
pushTiming?: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan;
|
|
632
|
+
/** URI of the uploaded artifact. */
|
|
633
|
+
uri?: string;
|
|
634
|
+
}
|
|
635
|
+
interface ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage {
|
|
636
|
+
/** Hash types and values of the Python Artifact. */
|
|
637
|
+
fileHashes?: ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes;
|
|
638
|
+
/** Output only. Stores timing information for pushing the specified artifact. */
|
|
639
|
+
pushTiming?: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan;
|
|
640
|
+
/** URI of the uploaded artifact. */
|
|
641
|
+
uri?: string;
|
|
642
|
+
}
|
|
586
643
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1Volume {
|
|
587
644
|
/** 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. */
|
|
588
645
|
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 */
|