@maxim_mazurok/gapi.client.containeranalysis-v1alpha1 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=v1alpha1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20221001
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -245,12 +245,22 @@ declare namespace gapi.client {
|
|
|
245
245
|
* 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.
|
|
246
246
|
*/
|
|
247
247
|
images?: string[];
|
|
248
|
+
/**
|
|
249
|
+
* 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
|
|
250
|
+
* 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.
|
|
251
|
+
*/
|
|
252
|
+
mavenArtifacts?: ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact[];
|
|
248
253
|
/**
|
|
249
254
|
* 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
|
|
250
255
|
* 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
|
|
251
256
|
* field. If any objects fail to be pushed, the build is marked FAILURE.
|
|
252
257
|
*/
|
|
253
258
|
objects?: ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects;
|
|
259
|
+
/**
|
|
260
|
+
* 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
|
|
261
|
+
* upload. If any objects fail to be pushed, the build is marked FAILURE.
|
|
262
|
+
*/
|
|
263
|
+
pythonPackages?: ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage[];
|
|
254
264
|
}
|
|
255
265
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects {
|
|
256
266
|
/**
|
|
@@ -264,6 +274,33 @@ declare namespace gapi.client {
|
|
|
264
274
|
/** Output only. Stores timing information for pushing all artifact objects. */
|
|
265
275
|
timing?: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan;
|
|
266
276
|
}
|
|
277
|
+
interface ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact {
|
|
278
|
+
/** Maven `artifactId` value used when uploading the artifact to Artifact Registry. */
|
|
279
|
+
artifactId?: string;
|
|
280
|
+
/** Maven `groupId` value used when uploading the artifact to Artifact Registry. */
|
|
281
|
+
groupId?: string;
|
|
282
|
+
/**
|
|
283
|
+
* 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
|
|
284
|
+
* relative path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar.
|
|
285
|
+
*/
|
|
286
|
+
path?: string;
|
|
287
|
+
/**
|
|
288
|
+
* 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
|
|
289
|
+
* this location as a prefix.
|
|
290
|
+
*/
|
|
291
|
+
repository?: string;
|
|
292
|
+
/** Maven `version` value used when uploading the artifact to Artifact Registry. */
|
|
293
|
+
version?: string;
|
|
294
|
+
}
|
|
295
|
+
interface ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage {
|
|
296
|
+
/** Path globs used to match files in the build's workspace. For Python/ Twine, this is usually `dist/*`, and sometimes additionally an `.asc` file. */
|
|
297
|
+
paths?: string[];
|
|
298
|
+
/**
|
|
299
|
+
* 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
|
|
300
|
+
* Registry with this location as a prefix.
|
|
301
|
+
*/
|
|
302
|
+
repository?: string;
|
|
303
|
+
}
|
|
267
304
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1Build {
|
|
268
305
|
/** Output only. Describes this build's approval configuration, status, and result. */
|
|
269
306
|
approval?: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildApproval;
|
|
@@ -338,8 +375,8 @@ declare namespace gapi.client {
|
|
|
338
375
|
*/
|
|
339
376
|
timeout?: string;
|
|
340
377
|
/**
|
|
341
|
-
* 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
|
|
342
|
-
* 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.
|
|
378
|
+
* 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
|
|
379
|
+
* 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.
|
|
343
380
|
*/
|
|
344
381
|
timing?: { [P in string]: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan };
|
|
345
382
|
/** Output only. Non-fatal problems encountered during the execution of the build. */
|
|
@@ -533,9 +570,9 @@ declare namespace gapi.client {
|
|
|
533
570
|
tagName?: string;
|
|
534
571
|
}
|
|
535
572
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1Results {
|
|
536
|
-
/** Path to the artifact manifest. Only populated when artifacts are uploaded. */
|
|
573
|
+
/** Path to the artifact manifest for non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage. */
|
|
537
574
|
artifactManifest?: string;
|
|
538
|
-
/** Time to push all non-container artifacts. */
|
|
575
|
+
/** Time to push all non-container artifacts to Cloud Storage. */
|
|
539
576
|
artifactTiming?: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan;
|
|
540
577
|
/** List of build step digests, in the order corresponding to build step indices. */
|
|
541
578
|
buildStepImages?: string[];
|
|
@@ -546,8 +583,12 @@ declare namespace gapi.client {
|
|
|
546
583
|
buildStepOutputs?: string[];
|
|
547
584
|
/** Container images that were built as a part of the build. */
|
|
548
585
|
images?: ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage[];
|
|
549
|
-
/**
|
|
586
|
+
/** Maven artifacts uploaded to Artifact Registry at the end of the build. */
|
|
587
|
+
mavenArtifacts?: ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact[];
|
|
588
|
+
/** Number of non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage. */
|
|
550
589
|
numArtifacts?: string;
|
|
590
|
+
/** Python artifacts uploaded to Artifact Registry at the end of the build. */
|
|
591
|
+
pythonPackages?: ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage[];
|
|
551
592
|
}
|
|
552
593
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1Secret {
|
|
553
594
|
/** Cloud KMS key name to use to decrypt these envs. */
|
|
@@ -617,6 +658,22 @@ declare namespace gapi.client {
|
|
|
617
658
|
/** Start of time span. */
|
|
618
659
|
startTime?: string;
|
|
619
660
|
}
|
|
661
|
+
interface ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact {
|
|
662
|
+
/** Hash types and values of the Maven Artifact. */
|
|
663
|
+
fileHashes?: ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes;
|
|
664
|
+
/** Output only. Stores timing information for pushing the specified artifact. */
|
|
665
|
+
pushTiming?: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan;
|
|
666
|
+
/** URI of the uploaded artifact. */
|
|
667
|
+
uri?: string;
|
|
668
|
+
}
|
|
669
|
+
interface ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage {
|
|
670
|
+
/** Hash types and values of the Python Artifact. */
|
|
671
|
+
fileHashes?: ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes;
|
|
672
|
+
/** Output only. Stores timing information for pushing the specified artifact. */
|
|
673
|
+
pushTiming?: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan;
|
|
674
|
+
/** URI of the uploaded artifact. */
|
|
675
|
+
uri?: string;
|
|
676
|
+
}
|
|
620
677
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1Volume {
|
|
621
678
|
/** 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. */
|
|
622
679
|
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 */
|