@maxim_mazurok/gapi.client.containeranalysis-v1beta1 0.0.20250124 → 0.0.20250129
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.
- package/index.d.ts +31 -31
- package/package.json +1 -1
- 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:
|
|
12
|
+
// Revision: 20250129
|
|
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 {
|
|
@@ -1726,7 +1726,7 @@ declare namespace gapi.client {
|
|
|
1726
1726
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1727
1727
|
uploadType?: string;
|
|
1728
1728
|
},
|
|
1729
|
-
body: BatchCreateNotesRequest
|
|
1729
|
+
body: BatchCreateNotesRequest,
|
|
1730
1730
|
): Request<BatchCreateNotesResponse>;
|
|
1731
1731
|
/** Creates a new note. */
|
|
1732
1732
|
create(request: {
|
|
@@ -1788,7 +1788,7 @@ declare namespace gapi.client {
|
|
|
1788
1788
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1789
1789
|
uploadType?: string;
|
|
1790
1790
|
},
|
|
1791
|
-
body: Note
|
|
1791
|
+
body: Note,
|
|
1792
1792
|
): Request<Note>;
|
|
1793
1793
|
/** Deletes the specified note. */
|
|
1794
1794
|
delete(request?: {
|
|
@@ -1872,7 +1872,7 @@ declare namespace gapi.client {
|
|
|
1872
1872
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1873
1873
|
uploadType?: string;
|
|
1874
1874
|
},
|
|
1875
|
-
body: GetIamPolicyRequest
|
|
1875
|
+
body: GetIamPolicyRequest,
|
|
1876
1876
|
): Request<Policy>;
|
|
1877
1877
|
/** Lists notes for the specified project. */
|
|
1878
1878
|
list(request?: {
|
|
@@ -1967,7 +1967,7 @@ declare namespace gapi.client {
|
|
|
1967
1967
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1968
1968
|
uploadType?: string;
|
|
1969
1969
|
},
|
|
1970
|
-
body: Note
|
|
1970
|
+
body: Note,
|
|
1971
1971
|
): Request<Note>;
|
|
1972
1972
|
/** 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
1973
|
setIamPolicy(
|
|
@@ -1997,7 +1997,7 @@ declare namespace gapi.client {
|
|
|
1997
1997
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1998
1998
|
uploadType?: string;
|
|
1999
1999
|
},
|
|
2000
|
-
body: SetIamPolicyRequest
|
|
2000
|
+
body: SetIamPolicyRequest,
|
|
2001
2001
|
): Request<Policy>;
|
|
2002
2002
|
/** 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
2003
|
testIamPermissions(
|
|
@@ -2027,7 +2027,7 @@ declare namespace gapi.client {
|
|
|
2027
2027
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2028
2028
|
uploadType?: string;
|
|
2029
2029
|
},
|
|
2030
|
-
body: TestIamPermissionsRequest
|
|
2030
|
+
body: TestIamPermissionsRequest,
|
|
2031
2031
|
): Request<TestIamPermissionsResponse>;
|
|
2032
2032
|
occurrences: OccurrencesResource;
|
|
2033
2033
|
}
|
|
@@ -2088,7 +2088,7 @@ declare namespace gapi.client {
|
|
|
2088
2088
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2089
2089
|
uploadType?: string;
|
|
2090
2090
|
},
|
|
2091
|
-
body: BatchCreateOccurrencesRequest
|
|
2091
|
+
body: BatchCreateOccurrencesRequest,
|
|
2092
2092
|
): Request<BatchCreateOccurrencesResponse>;
|
|
2093
2093
|
/** Creates a new occurrence. */
|
|
2094
2094
|
create(request: {
|
|
@@ -2146,7 +2146,7 @@ declare namespace gapi.client {
|
|
|
2146
2146
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2147
2147
|
uploadType?: string;
|
|
2148
2148
|
},
|
|
2149
|
-
body: Occurrence
|
|
2149
|
+
body: Occurrence,
|
|
2150
2150
|
): Request<Occurrence>;
|
|
2151
2151
|
/** 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
2152
|
delete(request?: {
|
|
@@ -2230,7 +2230,7 @@ declare namespace gapi.client {
|
|
|
2230
2230
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2231
2231
|
uploadType?: string;
|
|
2232
2232
|
},
|
|
2233
|
-
body: GetIamPolicyRequest
|
|
2233
|
+
body: GetIamPolicyRequest,
|
|
2234
2234
|
): Request<Policy>;
|
|
2235
2235
|
/** 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
2236
|
getNotes(request?: {
|
|
@@ -2381,7 +2381,7 @@ declare namespace gapi.client {
|
|
|
2381
2381
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2382
2382
|
uploadType?: string;
|
|
2383
2383
|
},
|
|
2384
|
-
body: Occurrence
|
|
2384
|
+
body: Occurrence,
|
|
2385
2385
|
): Request<Occurrence>;
|
|
2386
2386
|
/** 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
2387
|
setIamPolicy(
|
|
@@ -2411,7 +2411,7 @@ declare namespace gapi.client {
|
|
|
2411
2411
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2412
2412
|
uploadType?: string;
|
|
2413
2413
|
},
|
|
2414
|
-
body: SetIamPolicyRequest
|
|
2414
|
+
body: SetIamPolicyRequest,
|
|
2415
2415
|
): Request<Policy>;
|
|
2416
2416
|
/** 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
2417
|
testIamPermissions(
|
|
@@ -2441,7 +2441,7 @@ declare namespace gapi.client {
|
|
|
2441
2441
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2442
2442
|
uploadType?: string;
|
|
2443
2443
|
},
|
|
2444
|
-
body: TestIamPermissionsRequest
|
|
2444
|
+
body: TestIamPermissionsRequest,
|
|
2445
2445
|
): Request<TestIamPermissionsResponse>;
|
|
2446
2446
|
}
|
|
2447
2447
|
interface ResourcesResource {
|
|
@@ -2501,7 +2501,7 @@ declare namespace gapi.client {
|
|
|
2501
2501
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2502
2502
|
uploadType?: string;
|
|
2503
2503
|
},
|
|
2504
|
-
body: ExportSBOMRequest
|
|
2504
|
+
body: ExportSBOMRequest,
|
|
2505
2505
|
): Request<ExportSBOMResponse>;
|
|
2506
2506
|
/** Gets a summary of the packages within a given resource. */
|
|
2507
2507
|
generatePackagesSummary(request: {
|
|
@@ -2559,7 +2559,7 @@ declare namespace gapi.client {
|
|
|
2559
2559
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2560
2560
|
uploadType?: string;
|
|
2561
2561
|
},
|
|
2562
|
-
body: GeneratePackagesSummaryRequest
|
|
2562
|
+
body: GeneratePackagesSummaryRequest,
|
|
2563
2563
|
): Request<PackagesSummaryResponse>;
|
|
2564
2564
|
}
|
|
2565
2565
|
interface LocationsResource {
|
|
@@ -2659,7 +2659,7 @@ declare namespace gapi.client {
|
|
|
2659
2659
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2660
2660
|
uploadType?: string;
|
|
2661
2661
|
},
|
|
2662
|
-
body: BatchCreateNotesRequest
|
|
2662
|
+
body: BatchCreateNotesRequest,
|
|
2663
2663
|
): Request<BatchCreateNotesResponse>;
|
|
2664
2664
|
/** Creates a new note. */
|
|
2665
2665
|
create(request: {
|
|
@@ -2721,7 +2721,7 @@ declare namespace gapi.client {
|
|
|
2721
2721
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2722
2722
|
uploadType?: string;
|
|
2723
2723
|
},
|
|
2724
|
-
body: Note
|
|
2724
|
+
body: Note,
|
|
2725
2725
|
): Request<Note>;
|
|
2726
2726
|
/** Deletes the specified note. */
|
|
2727
2727
|
delete(request?: {
|
|
@@ -2805,7 +2805,7 @@ declare namespace gapi.client {
|
|
|
2805
2805
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2806
2806
|
uploadType?: string;
|
|
2807
2807
|
},
|
|
2808
|
-
body: GetIamPolicyRequest
|
|
2808
|
+
body: GetIamPolicyRequest,
|
|
2809
2809
|
): Request<Policy>;
|
|
2810
2810
|
/** Lists notes for the specified project. */
|
|
2811
2811
|
list(request?: {
|
|
@@ -2900,7 +2900,7 @@ declare namespace gapi.client {
|
|
|
2900
2900
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2901
2901
|
uploadType?: string;
|
|
2902
2902
|
},
|
|
2903
|
-
body: Note
|
|
2903
|
+
body: Note,
|
|
2904
2904
|
): Request<Note>;
|
|
2905
2905
|
/** 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
2906
|
setIamPolicy(
|
|
@@ -2930,7 +2930,7 @@ declare namespace gapi.client {
|
|
|
2930
2930
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2931
2931
|
uploadType?: string;
|
|
2932
2932
|
},
|
|
2933
|
-
body: SetIamPolicyRequest
|
|
2933
|
+
body: SetIamPolicyRequest,
|
|
2934
2934
|
): Request<Policy>;
|
|
2935
2935
|
/** 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
2936
|
testIamPermissions(
|
|
@@ -2960,7 +2960,7 @@ declare namespace gapi.client {
|
|
|
2960
2960
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2961
2961
|
uploadType?: string;
|
|
2962
2962
|
},
|
|
2963
|
-
body: TestIamPermissionsRequest
|
|
2963
|
+
body: TestIamPermissionsRequest,
|
|
2964
2964
|
): Request<TestIamPermissionsResponse>;
|
|
2965
2965
|
occurrences: OccurrencesResource;
|
|
2966
2966
|
}
|
|
@@ -3021,7 +3021,7 @@ declare namespace gapi.client {
|
|
|
3021
3021
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3022
3022
|
uploadType?: string;
|
|
3023
3023
|
},
|
|
3024
|
-
body: BatchCreateOccurrencesRequest
|
|
3024
|
+
body: BatchCreateOccurrencesRequest,
|
|
3025
3025
|
): Request<BatchCreateOccurrencesResponse>;
|
|
3026
3026
|
/** Creates a new occurrence. */
|
|
3027
3027
|
create(request: {
|
|
@@ -3079,7 +3079,7 @@ declare namespace gapi.client {
|
|
|
3079
3079
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3080
3080
|
uploadType?: string;
|
|
3081
3081
|
},
|
|
3082
|
-
body: Occurrence
|
|
3082
|
+
body: Occurrence,
|
|
3083
3083
|
): Request<Occurrence>;
|
|
3084
3084
|
/** 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
3085
|
delete(request?: {
|
|
@@ -3163,7 +3163,7 @@ declare namespace gapi.client {
|
|
|
3163
3163
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3164
3164
|
uploadType?: string;
|
|
3165
3165
|
},
|
|
3166
|
-
body: GetIamPolicyRequest
|
|
3166
|
+
body: GetIamPolicyRequest,
|
|
3167
3167
|
): Request<Policy>;
|
|
3168
3168
|
/** 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
3169
|
getNotes(request?: {
|
|
@@ -3314,7 +3314,7 @@ declare namespace gapi.client {
|
|
|
3314
3314
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3315
3315
|
uploadType?: string;
|
|
3316
3316
|
},
|
|
3317
|
-
body: Occurrence
|
|
3317
|
+
body: Occurrence,
|
|
3318
3318
|
): Request<Occurrence>;
|
|
3319
3319
|
/** 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
3320
|
setIamPolicy(
|
|
@@ -3344,7 +3344,7 @@ declare namespace gapi.client {
|
|
|
3344
3344
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3345
3345
|
uploadType?: string;
|
|
3346
3346
|
},
|
|
3347
|
-
body: SetIamPolicyRequest
|
|
3347
|
+
body: SetIamPolicyRequest,
|
|
3348
3348
|
): Request<Policy>;
|
|
3349
3349
|
/** 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
3350
|
testIamPermissions(
|
|
@@ -3374,7 +3374,7 @@ declare namespace gapi.client {
|
|
|
3374
3374
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3375
3375
|
uploadType?: string;
|
|
3376
3376
|
},
|
|
3377
|
-
body: TestIamPermissionsRequest
|
|
3377
|
+
body: TestIamPermissionsRequest,
|
|
3378
3378
|
): Request<TestIamPermissionsResponse>;
|
|
3379
3379
|
}
|
|
3380
3380
|
interface ResourcesResource {
|
|
@@ -3434,7 +3434,7 @@ declare namespace gapi.client {
|
|
|
3434
3434
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3435
3435
|
uploadType?: string;
|
|
3436
3436
|
},
|
|
3437
|
-
body: ExportSBOMRequest
|
|
3437
|
+
body: ExportSBOMRequest,
|
|
3438
3438
|
): Request<ExportSBOMResponse>;
|
|
3439
3439
|
/** Gets a summary of the packages within a given resource. */
|
|
3440
3440
|
generatePackagesSummary(request: {
|
|
@@ -3492,7 +3492,7 @@ declare namespace gapi.client {
|
|
|
3492
3492
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3493
3493
|
uploadType?: string;
|
|
3494
3494
|
},
|
|
3495
|
-
body: GeneratePackagesSummaryRequest
|
|
3495
|
+
body: GeneratePackagesSummaryRequest,
|
|
3496
3496
|
): Request<PackagesSummaryResponse>;
|
|
3497
3497
|
}
|
|
3498
3498
|
interface ProjectsResource {
|
package/package.json
CHANGED
package/readme.md
CHANGED