@maxim_mazurok/gapi.client.ondemandscanning-v1beta1 0.0.20250210 → 0.0.20250224

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