@maxim_mazurok/gapi.client.containeranalysis-v1alpha1 0.0.20250425 → 0.0.20250528

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 +35 -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=v1alpha1
12
- // Revision: 20250425
12
+ // Revision: 20250528
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -540,7 +540,7 @@ declare namespace gapi.client {
540
540
  revision?: string;
541
541
  }
542
542
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository {
543
- /** The Developer Connect Git repository link or the url that matches a repository link in the current project, formatted as `projects/*‍/locations/*‍/connections/*‍/gitRepositoryLink/*` */
543
+ /** The Developer Connect Git repository link formatted as `projects/*‍/locations/*‍/connections/*‍/gitRepositoryLink/*` */
544
544
  developerConnect?: string;
545
545
  /** Location of the Git repository. */
546
546
  url?: string;
@@ -840,6 +840,8 @@ declare namespace gapi.client {
840
840
  continuousAnalysis?: string;
841
841
  /** The CPE of the resource being scanned. */
842
842
  cpe?: string;
843
+ /** Optional. Files that make up the resource described by the occurrence. */
844
+ files?: File[];
843
845
  /** The last time this resource was scanned. */
844
846
  lastScanTime?: string;
845
847
  /** Output only. An operation that indicates the status of the current scan. This field is deprecated, do not use. */
@@ -941,6 +943,12 @@ declare namespace gapi.client {
941
943
  /** Type of category (e.g. 'npm' for the PACKAGE_MANAGER category) */
942
944
  type?: string;
943
945
  }
946
+ interface File {
947
+ /** Optional. The digest(s) of the file. */
948
+ digest?: {[P in string]: string};
949
+ /** Optional. The name of the file. */
950
+ name?: string;
951
+ }
944
952
  interface FileHashes {
945
953
  /** Collection of file hashes. */
946
954
  fileHash?: Hash[];
@@ -1278,6 +1286,8 @@ declare namespace gapi.client {
1278
1286
  sbom?: DocumentNote;
1279
1287
  /** A note describing a reference to an SBOM. */
1280
1288
  sbomReference?: SBOMReferenceNote;
1289
+ /** A note describing a secret. */
1290
+ secret?: any;
1281
1291
  /** A one sentence description of this `Note`. */
1282
1292
  shortDescription?: string;
1283
1293
  /** A note describing an SPDX File. */
@@ -1332,6 +1342,8 @@ declare namespace gapi.client {
1332
1342
  sbom?: DocumentOccurrence;
1333
1343
  /** This represents an SBOM reference occurrence */
1334
1344
  sbomReference?: SBOMReferenceOccurrence;
1345
+ /** This represents a secret occurrence */
1346
+ secret?: SecretOccurrence;
1335
1347
  /** Describes a specific SPDX File. */
1336
1348
  spdxFile?: FileOccurrence;
1337
1349
  /** Describes a specific SPDX Package. */
@@ -1613,6 +1625,27 @@ declare namespace gapi.client {
1613
1625
  /** Output only. The time this scan config was last updated. */
1614
1626
  updateTime?: string;
1615
1627
  }
1628
+ interface SecretLocation {
1629
+ /** The secret is found from a file. */
1630
+ fileLocation?: FileLocation;
1631
+ }
1632
+ interface SecretNote {}
1633
+ interface SecretOccurrence {
1634
+ /** Required. Type of secret. */
1635
+ kind?: string;
1636
+ /** Optional. Locations where the secret is detected. */
1637
+ locations?: SecretLocation[];
1638
+ /** Optional. Status of the secret. */
1639
+ statuses?: SecretStatus[];
1640
+ }
1641
+ interface SecretStatus {
1642
+ /** Optional. Optional message about the status code. */
1643
+ message?: string;
1644
+ /** Optional. The status of the secret. */
1645
+ status?: string;
1646
+ /** Optional. The time the secret status was last updated. */
1647
+ updateTime?: string;
1648
+ }
1616
1649
  interface SetIamPolicyRequest {
1617
1650
  /** REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them. */
1618
1651
  policy?: Policy;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.containeranalysis-v1alpha1",
3
- "version": "0.0.20250425",
3
+ "version": "0.0.20250528",
4
4
  "description": "TypeScript typings for Container Analysis API v1alpha1",
5
5
  "repository": {
6
6
  "type": "git",