@maxim_mazurok/gapi.client.containeranalysis-v1 0.0.20230623 → 0.0.20230707

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 (3) hide show
  1. package/index.d.ts +12 -1
  2. package/package.json +1 -1
  3. package/tests.ts +13 -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: 20230623
12
+ // Revision: 20230707
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -1227,6 +1227,9 @@ declare namespace gapi.client {
1227
1227
  /** The last time this resource was scanned. */
1228
1228
  lastScanTime?:
1229
1229
  string;
1230
+ /** The status of an SBOM generation. */
1231
+ sbomStatus?:
1232
+ SBOMStatus;
1230
1233
  }
1231
1234
  interface Distribution {
1232
1235
  /** The CPU architecture for which packages in this distribution channel were built. */
@@ -1999,6 +2002,14 @@ declare namespace gapi.client {
1999
2002
  signatures?:
2000
2003
  EnvelopeSignature[];
2001
2004
  }
2005
+ interface SBOMStatus {
2006
+ /** If there was an error generating an SBOM, this will indicate what that error was. */
2007
+ error?:
2008
+ string;
2009
+ /** The progress of the SBOM generation. */
2010
+ sbomState?:
2011
+ string;
2012
+ }
2002
2013
  interface SetIamPolicyRequest {
2003
2014
  /**
2004
2015
  * 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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.containeranalysis-v1",
3
- "version": "0.0.20230623",
3
+ "version": "0.0.20230707",
4
4
  "description": "TypeScript typings for Container Analysis API v1",
5
5
  "license": "MIT",
6
6
  "author": {
package/tests.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
4
4
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
5
5
 
6
- // Revision: 20230623
6
+ // Revision: 20230707
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -1323,6 +1323,10 @@ gapi.load('client', async () => {
1323
1323
  continuousAnalysis: "Test string",
1324
1324
  cpe: "Test string",
1325
1325
  lastScanTime: "Test string",
1326
+ sbomStatus: {
1327
+ error: "Test string",
1328
+ sbomState: "Test string",
1329
+ },
1326
1330
  },
1327
1331
  dsseAttestation: {
1328
1332
  envelope: {
@@ -2049,6 +2053,10 @@ gapi.load('client', async () => {
2049
2053
  continuousAnalysis: "Test string",
2050
2054
  cpe: "Test string",
2051
2055
  lastScanTime: "Test string",
2056
+ sbomStatus: {
2057
+ error: "Test string",
2058
+ sbomState: "Test string",
2059
+ },
2052
2060
  },
2053
2061
  dsseAttestation: {
2054
2062
  envelope: {
@@ -2810,6 +2818,10 @@ gapi.load('client', async () => {
2810
2818
  continuousAnalysis: "Test string",
2811
2819
  cpe: "Test string",
2812
2820
  lastScanTime: "Test string",
2821
+ sbomStatus: {
2822
+ error: "Test string",
2823
+ sbomState: "Test string",
2824
+ },
2813
2825
  },
2814
2826
  dsseAttestation: {
2815
2827
  envelope: {