@maxim_mazurok/gapi.client.containeranalysis-v1alpha1 0.0.20230728 → 0.0.20230811

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 +18 -4
  2. package/package.json +2 -2
  3. package/tests.ts +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: 20230728
12
+ // Revision: 20230811
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -842,6 +842,17 @@ declare namespace gapi.client {
842
842
  pushTiming?:
843
843
  ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan;
844
844
  }
845
+ interface ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository {
846
+ /** Directory, relative to the source root, in which to run the build. */
847
+ dir?:
848
+ string;
849
+ /** Required. Name of the Google Cloud Build repository, formatted as `projects/*‍/locations/*‍/connections/*‍/repositories/*`. */
850
+ repository?:
851
+ string;
852
+ /** The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref. */
853
+ revision?:
854
+ string;
855
+ }
845
856
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes {
846
857
  /** Collection of file hashes. */
847
858
  fileHash?:
@@ -973,6 +984,9 @@ declare namespace gapi.client {
973
984
  ContaineranalysisGoogleDevtoolsCloudbuildV1SecretManagerSecret[];
974
985
  }
975
986
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1Source {
987
+ /** Optional. If provided, get the source from this 2nd-gen Google Cloud Build repository resource. */
988
+ connectedRepository?:
989
+ ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository;
976
990
  /** If provided, get the source from this Git repository. */
977
991
  gitSource?:
978
992
  ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource;
@@ -1976,9 +1990,9 @@ declare namespace gapi.client {
1976
1990
  name?:
1977
1991
  string;
1978
1992
  /**
1979
- * The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the
1980
- * original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the
1981
- * original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
1993
+ * The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original
1994
+ * method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original
1995
+ * method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
1982
1996
  */
1983
1997
  response?:
1984
1998
  { [P in string]: any };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.containeranalysis-v1alpha1",
3
- "version": "0.0.20230728",
3
+ "version": "0.0.20230811",
4
4
  "description": "TypeScript typings for Container Analysis API v1alpha1",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -15,6 +15,6 @@
15
15
  "types": "index.d.ts",
16
16
  "dependencies": {
17
17
  "@types/gapi.client": "*",
18
- "@types/gapi.client.discovery": "*"
18
+ "@types/gapi.client.discovery-v1": "*"
19
19
  }
20
20
  }
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: 20230728
6
+ // Revision: 20230811
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */