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

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 +20 -1
  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: 20250127
12
+ // Revision: 20250210
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -81,6 +81,14 @@ declare namespace gapi.client {
81
81
  /** One or more signatures over `serialized_payload`. Verifier implementations should consider this attestation message verified if at least one `signature` verifies `serialized_payload`. See `Signature` in common.proto for more details on signature structure and verification. */
82
82
  signatures?: Signature[];
83
83
  }
84
+ interface BaseImage {
85
+ /** The name of the base image. */
86
+ name?: string;
87
+ /** The number of layers that the base image is composed of. */
88
+ numLayers?: string;
89
+ /** The repository name in which the base image is from. */
90
+ repository?: string;
91
+ }
84
92
  interface BinarySourceInfo {
85
93
  /** The binary package. This is significant when the source is different than the binary itself. Historically if they've differed, we've stored the name of the source and its version in the package/version fields, but we should also store the binary package info, as that's what's actually installed. See b/175908657#comment15. */
86
94
  binaryVersion?: PackageVersion;
@@ -390,6 +398,16 @@ declare namespace gapi.client {
390
398
  /** Required. The recovered Dockerfile directive used to construct this layer. See https://docs.docker.com/engine/reference/builder/ for more information. */
391
399
  directive?: string;
392
400
  }
401
+ interface LayerDetails {
402
+ /** The base images the layer is found within. */
403
+ baseImages?: BaseImage[];
404
+ /** 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. */
405
+ command?: string;
406
+ /** The diff ID (sha256 hash) of the layer in the container image. */
407
+ diffId?: string;
408
+ /** The index of the layer in the container image. */
409
+ index?: number;
410
+ }
393
411
  interface License {
394
412
  /** Comments */
395
413
  comments?: string;
@@ -513,6 +531,7 @@ declare namespace gapi.client {
513
531
  fileLocation?: FileLocation[];
514
532
  /** HashDigest stores the SHA512 hash digest of the jar file if the package is of type Maven. This field will be unset for non Maven packages. */
515
533
  hashDigest?: string;
534
+ layerDetails?: LayerDetails;
516
535
  /** The list of licenses found that are related to a given package. Note that licenses may also be stored on the BinarySourceInfo. If there is no BinarySourceInfo (because there's no concept of source vs binary), then it will be stored here, while if there are BinarySourceInfos, it will be stored there, as one source can have multiple binaries with different licenses. */
517
536
  licenses?: string[];
518
537
  /** The maintainer of the package. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.ondemandscanning-v1",
3
- "version": "0.0.20250127",
3
+ "version": "0.0.20250210",
4
4
  "description": "TypeScript typings for On-Demand Scanning API v1",
5
5
  "repository": {
6
6
  "type": "git",