@maxim_mazurok/gapi.client.ondemandscanning-v1 0.0.20250210 → 0.0.20250217

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.
Files changed (2) hide show
  1. package/index.d.ts +24 -3
  2. package/package.json +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://ondemandscanning.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20250210
12
+ // Revision: 20250217
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -82,10 +82,10 @@ declare namespace gapi.client {
82
82
  signatures?: Signature[];
83
83
  }
84
84
  interface BaseImage {
85
+ /** The number of layers that the base image is composed of. */
86
+ layerCount?: number;
85
87
  /** The name of the base image. */
86
88
  name?: string;
87
- /** The number of layers that the base image is composed of. */
88
- numLayers?: string;
89
89
  /** The repository name in which the base image is from. */
90
90
  repository?: string;
91
91
  }
@@ -272,6 +272,7 @@ declare namespace gapi.client {
272
272
  interface FileLocation {
273
273
  /** For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file. */
274
274
  filePath?: string;
275
+ layerDetails?: LayerDetails;
275
276
  }
276
277
  interface Fingerprint {
277
278
  /** Required. The layer ID of the final layer in the Docker image's v1 representation. */
@@ -297,9 +298,29 @@ declare namespace gapi.client {
297
298
  /** Git repository URL. */
298
299
  url?: string;
299
300
  }
301
+ interface GrafeasV1BaseImage {
302
+ /** The number of layers that the base image is composed of. */
303
+ layerCount?: number;
304
+ /** The name of the base image. */
305
+ name?: string;
306
+ /** The repository name in which the base image is from. */
307
+ repository?: string;
308
+ }
300
309
  interface GrafeasV1FileLocation {
301
310
  /** For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file. */
302
311
  filePath?: string;
312
+ /** Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package). */
313
+ layerDetails?: GrafeasV1LayerDetails;
314
+ }
315
+ interface GrafeasV1LayerDetails {
316
+ /** The base images the layer is found within. */
317
+ baseImages?: GrafeasV1BaseImage[];
318
+ /** The layer build command that was used to build the layer. This may not be found in all layers depending on how the container image is built. */
319
+ command?: string;
320
+ /** The diff ID (typically a sha256 hash) of the layer in the container image. */
321
+ diffId?: string;
322
+ /** The index of the layer in the container image. */
323
+ index?: number;
303
324
  }
304
325
  interface GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder {
305
326
  id?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.ondemandscanning-v1",
3
- "version": "0.0.20250210",
3
+ "version": "0.0.20250217",
4
4
  "description": "TypeScript typings for On-Demand Scanning API v1",
5
5
  "repository": {
6
6
  "type": "git",