@maxim_mazurok/gapi.client.containeranalysis-v1beta1 0.0.20250124 → 0.0.20250207

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 +59 -31
  2. package/package.json +1 -1
  3. package/readme.md +2 -2
package/index.d.ts CHANGED
@@ -9,14 +9,14 @@
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=v1beta1
12
- // Revision: 20250124
12
+ // Revision: 20250207
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
16
16
  declare namespace gapi.client {
17
17
  /** Load Container Analysis API v1beta1 */
18
18
  function load(
19
- urlOrObject: 'https://containeranalysis.googleapis.com/$discovery/rest?version=v1beta1'
19
+ urlOrObject: 'https://containeranalysis.googleapis.com/$discovery/rest?version=v1beta1',
20
20
  ): Promise<void>;
21
21
  /** @deprecated Please load APIs with discovery documents. */
22
22
  function load(name: 'containeranalysis', version: 'v1beta1'): Promise<void>;
@@ -24,7 +24,7 @@ declare namespace gapi.client {
24
24
  function load(
25
25
  name: 'containeranalysis',
26
26
  version: 'v1beta1',
27
- callback: () => any
27
+ callback: () => any,
28
28
  ): void;
29
29
 
30
30
  namespace containeranalysis {
@@ -315,6 +315,8 @@ declare namespace gapi.client {
315
315
  buildTriggerId?: string;
316
316
  /** Output only. Time at which the request to create the build was received. */
317
317
  createTime?: string;
318
+ /** Optional. Dependencies that the Cloud Build worker will fetch before executing user steps. */
319
+ dependencies?: ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency[];
318
320
  /** Output only. Contains information about the build when status=FAILURE. */
319
321
  failureInfo?: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo;
320
322
  /** 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. */
@@ -403,6 +405,8 @@ declare namespace gapi.client {
403
405
  machineType?: string;
404
406
  /** 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. */
405
407
  pool?: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption;
408
+ /** Optional. Option to specify the Pub/Sub topic to receive build status updates. */
409
+ pubsubTopic?: string;
406
410
  /** Requested verifiability options. */
407
411
  requestedVerifyOption?: string;
408
412
  /** 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. */
@@ -480,6 +484,30 @@ declare namespace gapi.client {
480
484
  /** Required. The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref. */
481
485
  revision?: string;
482
486
  }
487
+ interface ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency {
488
+ /** If set to true disable all dependency fetching (ignoring the default source as well). */
489
+ empty?: boolean;
490
+ /** Represents a git repository as a build dependency. */
491
+ gitSource?: ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency;
492
+ }
493
+ interface ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency {
494
+ /** Optional. How much history should be fetched for the build (default 1, -1 for all history). */
495
+ depth?: string;
496
+ /** Required. Where should the files be placed on the worker. */
497
+ destPath?: string;
498
+ /** Optional. True if submodules should be fetched too (default false). */
499
+ recurseSubmodules?: boolean;
500
+ /** Required. The kind of repo (url or dev connect). */
501
+ repository?: ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository;
502
+ /** Required. The revision that we will fetch the repo at. */
503
+ revision?: string;
504
+ }
505
+ interface ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository {
506
+ /** The Developer Connect Git repository link or the url that matches a repository link in the current project, formatted as `projects/*‍/locations/*‍/connections/*‍/gitRepositoryLink/*` */
507
+ developerConnect?: string;
508
+ /** Location of the Git repository. */
509
+ url?: string;
510
+ }
483
511
  interface ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig {
484
512
  /** Required. Directory, relative to the source root, in which to run the build. */
485
513
  dir?: string;
@@ -1726,7 +1754,7 @@ declare namespace gapi.client {
1726
1754
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1727
1755
  uploadType?: string;
1728
1756
  },
1729
- body: BatchCreateNotesRequest
1757
+ body: BatchCreateNotesRequest,
1730
1758
  ): Request<BatchCreateNotesResponse>;
1731
1759
  /** Creates a new note. */
1732
1760
  create(request: {
@@ -1788,7 +1816,7 @@ declare namespace gapi.client {
1788
1816
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1789
1817
  uploadType?: string;
1790
1818
  },
1791
- body: Note
1819
+ body: Note,
1792
1820
  ): Request<Note>;
1793
1821
  /** Deletes the specified note. */
1794
1822
  delete(request?: {
@@ -1872,7 +1900,7 @@ declare namespace gapi.client {
1872
1900
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1873
1901
  uploadType?: string;
1874
1902
  },
1875
- body: GetIamPolicyRequest
1903
+ body: GetIamPolicyRequest,
1876
1904
  ): Request<Policy>;
1877
1905
  /** Lists notes for the specified project. */
1878
1906
  list(request?: {
@@ -1967,7 +1995,7 @@ declare namespace gapi.client {
1967
1995
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1968
1996
  uploadType?: string;
1969
1997
  },
1970
- body: Note
1998
+ body: Note,
1971
1999
  ): Request<Note>;
1972
2000
  /** Sets the access control policy on the specified note or occurrence. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or an occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences. */
1973
2001
  setIamPolicy(
@@ -1997,7 +2025,7 @@ declare namespace gapi.client {
1997
2025
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1998
2026
  uploadType?: string;
1999
2027
  },
2000
- body: SetIamPolicyRequest
2028
+ body: SetIamPolicyRequest,
2001
2029
  ): Request<Policy>;
2002
2030
  /** Returns the permissions that a caller has on the specified note or occurrence. Requires list permission on the project (for example, `containeranalysis.notes.list`). The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences. */
2003
2031
  testIamPermissions(
@@ -2027,7 +2055,7 @@ declare namespace gapi.client {
2027
2055
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2028
2056
  uploadType?: string;
2029
2057
  },
2030
- body: TestIamPermissionsRequest
2058
+ body: TestIamPermissionsRequest,
2031
2059
  ): Request<TestIamPermissionsResponse>;
2032
2060
  occurrences: OccurrencesResource;
2033
2061
  }
@@ -2088,7 +2116,7 @@ declare namespace gapi.client {
2088
2116
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2089
2117
  uploadType?: string;
2090
2118
  },
2091
- body: BatchCreateOccurrencesRequest
2119
+ body: BatchCreateOccurrencesRequest,
2092
2120
  ): Request<BatchCreateOccurrencesResponse>;
2093
2121
  /** Creates a new occurrence. */
2094
2122
  create(request: {
@@ -2146,7 +2174,7 @@ declare namespace gapi.client {
2146
2174
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2147
2175
  uploadType?: string;
2148
2176
  },
2149
- body: Occurrence
2177
+ body: Occurrence,
2150
2178
  ): Request<Occurrence>;
2151
2179
  /** Deletes the specified occurrence. For example, use this method to delete an occurrence when the occurrence is no longer applicable for the given resource. */
2152
2180
  delete(request?: {
@@ -2230,7 +2258,7 @@ declare namespace gapi.client {
2230
2258
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2231
2259
  uploadType?: string;
2232
2260
  },
2233
- body: GetIamPolicyRequest
2261
+ body: GetIamPolicyRequest,
2234
2262
  ): Request<Policy>;
2235
2263
  /** Gets the note attached to the specified occurrence. Consumer projects can use this method to get a note that belongs to a provider project. */
2236
2264
  getNotes(request?: {
@@ -2381,7 +2409,7 @@ declare namespace gapi.client {
2381
2409
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2382
2410
  uploadType?: string;
2383
2411
  },
2384
- body: Occurrence
2412
+ body: Occurrence,
2385
2413
  ): Request<Occurrence>;
2386
2414
  /** Sets the access control policy on the specified note or occurrence. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or an occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences. */
2387
2415
  setIamPolicy(
@@ -2411,7 +2439,7 @@ declare namespace gapi.client {
2411
2439
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2412
2440
  uploadType?: string;
2413
2441
  },
2414
- body: SetIamPolicyRequest
2442
+ body: SetIamPolicyRequest,
2415
2443
  ): Request<Policy>;
2416
2444
  /** Returns the permissions that a caller has on the specified note or occurrence. Requires list permission on the project (for example, `containeranalysis.notes.list`). The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences. */
2417
2445
  testIamPermissions(
@@ -2441,7 +2469,7 @@ declare namespace gapi.client {
2441
2469
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2442
2470
  uploadType?: string;
2443
2471
  },
2444
- body: TestIamPermissionsRequest
2472
+ body: TestIamPermissionsRequest,
2445
2473
  ): Request<TestIamPermissionsResponse>;
2446
2474
  }
2447
2475
  interface ResourcesResource {
@@ -2501,7 +2529,7 @@ declare namespace gapi.client {
2501
2529
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2502
2530
  uploadType?: string;
2503
2531
  },
2504
- body: ExportSBOMRequest
2532
+ body: ExportSBOMRequest,
2505
2533
  ): Request<ExportSBOMResponse>;
2506
2534
  /** Gets a summary of the packages within a given resource. */
2507
2535
  generatePackagesSummary(request: {
@@ -2559,7 +2587,7 @@ declare namespace gapi.client {
2559
2587
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2560
2588
  uploadType?: string;
2561
2589
  },
2562
- body: GeneratePackagesSummaryRequest
2590
+ body: GeneratePackagesSummaryRequest,
2563
2591
  ): Request<PackagesSummaryResponse>;
2564
2592
  }
2565
2593
  interface LocationsResource {
@@ -2659,7 +2687,7 @@ declare namespace gapi.client {
2659
2687
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2660
2688
  uploadType?: string;
2661
2689
  },
2662
- body: BatchCreateNotesRequest
2690
+ body: BatchCreateNotesRequest,
2663
2691
  ): Request<BatchCreateNotesResponse>;
2664
2692
  /** Creates a new note. */
2665
2693
  create(request: {
@@ -2721,7 +2749,7 @@ declare namespace gapi.client {
2721
2749
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2722
2750
  uploadType?: string;
2723
2751
  },
2724
- body: Note
2752
+ body: Note,
2725
2753
  ): Request<Note>;
2726
2754
  /** Deletes the specified note. */
2727
2755
  delete(request?: {
@@ -2805,7 +2833,7 @@ declare namespace gapi.client {
2805
2833
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2806
2834
  uploadType?: string;
2807
2835
  },
2808
- body: GetIamPolicyRequest
2836
+ body: GetIamPolicyRequest,
2809
2837
  ): Request<Policy>;
2810
2838
  /** Lists notes for the specified project. */
2811
2839
  list(request?: {
@@ -2900,7 +2928,7 @@ declare namespace gapi.client {
2900
2928
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2901
2929
  uploadType?: string;
2902
2930
  },
2903
- body: Note
2931
+ body: Note,
2904
2932
  ): Request<Note>;
2905
2933
  /** Sets the access control policy on the specified note or occurrence. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or an occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences. */
2906
2934
  setIamPolicy(
@@ -2930,7 +2958,7 @@ declare namespace gapi.client {
2930
2958
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2931
2959
  uploadType?: string;
2932
2960
  },
2933
- body: SetIamPolicyRequest
2961
+ body: SetIamPolicyRequest,
2934
2962
  ): Request<Policy>;
2935
2963
  /** Returns the permissions that a caller has on the specified note or occurrence. Requires list permission on the project (for example, `containeranalysis.notes.list`). The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences. */
2936
2964
  testIamPermissions(
@@ -2960,7 +2988,7 @@ declare namespace gapi.client {
2960
2988
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2961
2989
  uploadType?: string;
2962
2990
  },
2963
- body: TestIamPermissionsRequest
2991
+ body: TestIamPermissionsRequest,
2964
2992
  ): Request<TestIamPermissionsResponse>;
2965
2993
  occurrences: OccurrencesResource;
2966
2994
  }
@@ -3021,7 +3049,7 @@ declare namespace gapi.client {
3021
3049
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3022
3050
  uploadType?: string;
3023
3051
  },
3024
- body: BatchCreateOccurrencesRequest
3052
+ body: BatchCreateOccurrencesRequest,
3025
3053
  ): Request<BatchCreateOccurrencesResponse>;
3026
3054
  /** Creates a new occurrence. */
3027
3055
  create(request: {
@@ -3079,7 +3107,7 @@ declare namespace gapi.client {
3079
3107
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3080
3108
  uploadType?: string;
3081
3109
  },
3082
- body: Occurrence
3110
+ body: Occurrence,
3083
3111
  ): Request<Occurrence>;
3084
3112
  /** Deletes the specified occurrence. For example, use this method to delete an occurrence when the occurrence is no longer applicable for the given resource. */
3085
3113
  delete(request?: {
@@ -3163,7 +3191,7 @@ declare namespace gapi.client {
3163
3191
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3164
3192
  uploadType?: string;
3165
3193
  },
3166
- body: GetIamPolicyRequest
3194
+ body: GetIamPolicyRequest,
3167
3195
  ): Request<Policy>;
3168
3196
  /** Gets the note attached to the specified occurrence. Consumer projects can use this method to get a note that belongs to a provider project. */
3169
3197
  getNotes(request?: {
@@ -3314,7 +3342,7 @@ declare namespace gapi.client {
3314
3342
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3315
3343
  uploadType?: string;
3316
3344
  },
3317
- body: Occurrence
3345
+ body: Occurrence,
3318
3346
  ): Request<Occurrence>;
3319
3347
  /** Sets the access control policy on the specified note or occurrence. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or an occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences. */
3320
3348
  setIamPolicy(
@@ -3344,7 +3372,7 @@ declare namespace gapi.client {
3344
3372
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3345
3373
  uploadType?: string;
3346
3374
  },
3347
- body: SetIamPolicyRequest
3375
+ body: SetIamPolicyRequest,
3348
3376
  ): Request<Policy>;
3349
3377
  /** Returns the permissions that a caller has on the specified note or occurrence. Requires list permission on the project (for example, `containeranalysis.notes.list`). The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences. */
3350
3378
  testIamPermissions(
@@ -3374,7 +3402,7 @@ declare namespace gapi.client {
3374
3402
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3375
3403
  uploadType?: string;
3376
3404
  },
3377
- body: TestIamPermissionsRequest
3405
+ body: TestIamPermissionsRequest,
3378
3406
  ): Request<TestIamPermissionsResponse>;
3379
3407
  }
3380
3408
  interface ResourcesResource {
@@ -3434,7 +3462,7 @@ declare namespace gapi.client {
3434
3462
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3435
3463
  uploadType?: string;
3436
3464
  },
3437
- body: ExportSBOMRequest
3465
+ body: ExportSBOMRequest,
3438
3466
  ): Request<ExportSBOMResponse>;
3439
3467
  /** Gets a summary of the packages within a given resource. */
3440
3468
  generatePackagesSummary(request: {
@@ -3492,7 +3520,7 @@ declare namespace gapi.client {
3492
3520
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3493
3521
  uploadType?: string;
3494
3522
  },
3495
- body: GeneratePackagesSummaryRequest
3523
+ body: GeneratePackagesSummaryRequest,
3496
3524
  ): Request<PackagesSummaryResponse>;
3497
3525
  }
3498
3526
  interface ProjectsResource {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.containeranalysis-v1beta1",
3
- "version": "0.0.20250124",
3
+ "version": "0.0.20250207",
4
4
  "description": "TypeScript typings for Container Analysis API v1beta1",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -30,7 +30,7 @@ gapi.client.load(
30
30
  () => {
31
31
  // now we can use:
32
32
  // gapi.client.containeranalysis
33
- }
33
+ },
34
34
  );
35
35
  ```
36
36
 
@@ -62,7 +62,7 @@ gapi.auth.authorize(
62
62
  } else {
63
63
  /* handle authorization error */
64
64
  }
65
- }
65
+ },
66
66
  );
67
67
  ```
68
68