@maxim_mazurok/gapi.client.containeranalysis-v1 0.0.20250129 → 0.0.20250228

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 +56 -2
  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://containeranalysis.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20250129
12
+ // Revision: 20250228
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -77,6 +77,14 @@ declare namespace gapi.client {
77
77
  /** 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. */
78
78
  signatures?: Signature[];
79
79
  }
80
+ interface BaseImage {
81
+ /** The number of layers that the base image is composed of. */
82
+ layerCount?: number;
83
+ /** The name of the base image. */
84
+ name?: string;
85
+ /** The repository name in which the base image is from. */
86
+ repository?: string;
87
+ }
80
88
  interface BatchCreateNotesRequest {
81
89
  /** Required. The notes to create. Max allowed length is 1000. */
82
90
  notes?: {[P in string]: Note};
@@ -182,6 +190,7 @@ declare namespace gapi.client {
182
190
  name?: string;
183
191
  /** Output only. Stores timing information for pulling this build step's builder image only. */
184
192
  pullTiming?: TimeSpan;
193
+ results?: StepResult[];
185
194
  /** A shell script to be executed in the step. When script is provided, the user cannot specify the entrypoint or args. */
186
195
  script?: string;
187
196
  /** A list of environment variables which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`. */
@@ -355,6 +364,8 @@ declare namespace gapi.client {
355
364
  buildTriggerId?: string;
356
365
  /** Output only. Time at which the request to create the build was received. */
357
366
  createTime?: string;
367
+ /** Optional. Dependencies that the Cloud Build worker will fetch before executing user steps. */
368
+ dependencies?: ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency[];
358
369
  /** Output only. Contains information about the build when status=FAILURE. */
359
370
  failureInfo?: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo;
360
371
  /** Output only. Time at which execution of the build was finished. The difference between finish_time and start_time is the duration of the build's execution. */
@@ -443,6 +454,8 @@ declare namespace gapi.client {
443
454
  machineType?: string;
444
455
  /** Optional. Specification for execution on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. */
445
456
  pool?: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption;
457
+ /** Optional. Option to specify the Pub/Sub topic to receive build status updates. */
458
+ pubsubTopic?: string;
446
459
  /** Requested verifiability options. */
447
460
  requestedVerifyOption?: string;
448
461
  /** A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`. These variables will be available to all build steps in this build. */
@@ -520,6 +533,30 @@ declare namespace gapi.client {
520
533
  /** Required. The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref. */
521
534
  revision?: string;
522
535
  }
536
+ interface ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency {
537
+ /** If set to true disable all dependency fetching (ignoring the default source as well). */
538
+ empty?: boolean;
539
+ /** Represents a git repository as a build dependency. */
540
+ gitSource?: ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency;
541
+ }
542
+ interface ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency {
543
+ /** Optional. How much history should be fetched for the build (default 1, -1 for all history). */
544
+ depth?: string;
545
+ /** Required. Where should the files be placed on the worker. */
546
+ destPath?: string;
547
+ /** Optional. True if submodules should be fetched too (default false). */
548
+ recurseSubmodules?: boolean;
549
+ /** Required. The kind of repo (url or dev connect). */
550
+ repository?: ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository;
551
+ /** Required. The revision that we will fetch the repo at. */
552
+ revision?: string;
553
+ }
554
+ interface ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository {
555
+ /** The Developer Connect Git repository link or the url that matches a repository link in the current project, formatted as `projects/*‍/locations/*‍/connections/*‍/gitRepositoryLink/*` */
556
+ developerConnect?: string;
557
+ /** Location of the Git repository. */
558
+ url?: string;
559
+ }
523
560
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig {
524
561
  /** Required. Directory, relative to the source root, in which to run the build. */
525
562
  dir?: string;
@@ -858,7 +895,7 @@ declare namespace gapi.client {
858
895
  sig?: string;
859
896
  }
860
897
  interface ExportSBOMRequest {
861
- /** Empty placeholder to denote that this is a Google Cloud Storage export request. */
898
+ /** Optional. Empty placeholder to denote that this is a Google Cloud Storage export request. */
862
899
  cloudStorageLocation?: any;
863
900
  }
864
901
  interface ExportSBOMResponse {
@@ -930,6 +967,8 @@ declare namespace gapi.client {
930
967
  interface GrafeasV1FileLocation {
931
968
  /** For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file. */
932
969
  filePath?: string;
970
+ /** Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package). */
971
+ layerDetails?: LayerDetails;
933
972
  }
934
973
  interface GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder {
935
974
  id?: string;
@@ -1040,6 +1079,16 @@ declare namespace gapi.client {
1040
1079
  /** Required. The recovered Dockerfile directive used to construct this layer. See https://docs.docker.com/engine/reference/builder/ for more information. */
1041
1080
  directive?: string;
1042
1081
  }
1082
+ interface LayerDetails {
1083
+ /** The base images the layer is found within. */
1084
+ baseImages?: BaseImage[];
1085
+ /** 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. */
1086
+ command?: string;
1087
+ /** The diff ID (typically a sha256 hash) of the layer in the container image. */
1088
+ diffId?: string;
1089
+ /** The index of the layer in the container image. */
1090
+ index?: number;
1091
+ }
1043
1092
  interface License {
1044
1093
  /** Comments */
1045
1094
  comments?: string;
@@ -1457,6 +1506,11 @@ declare namespace gapi.client {
1457
1506
  /** A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. */
1458
1507
  message?: string;
1459
1508
  }
1509
+ interface StepResult {
1510
+ attestationContentName?: string;
1511
+ attestationType?: string;
1512
+ name?: string;
1513
+ }
1460
1514
  interface Subject {
1461
1515
  /** `"": ""` Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/field_types.md#DigestSet */
1462
1516
  digest?: {[P in string]: string};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.containeranalysis-v1",
3
- "version": "0.0.20250129",
3
+ "version": "0.0.20250228",
4
4
  "description": "TypeScript typings for Container Analysis API v1",
5
5
  "repository": {
6
6
  "type": "git",