@maxim_mazurok/gapi.client.containeranalysis-v1alpha1 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 +21 -21
- 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=v1alpha1
|
|
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 v1alpha1 */
|
|
18
18
|
function load(
|
|
19
|
-
urlOrObject: 'https://containeranalysis.googleapis.com/$discovery/rest?version=v1alpha1'
|
|
19
|
+
urlOrObject: 'https://containeranalysis.googleapis.com/$discovery/rest?version=v1alpha1',
|
|
20
20
|
): Promise<void>;
|
|
21
21
|
/** @deprecated Please load APIs with discovery documents. */
|
|
22
22
|
function load(name: 'containeranalysis', version: 'v1alpha1'): Promise<void>;
|
|
@@ -24,7 +24,7 @@ declare namespace gapi.client {
|
|
|
24
24
|
function load(
|
|
25
25
|
name: 'containeranalysis',
|
|
26
26
|
version: 'v1alpha1',
|
|
27
|
-
callback: () => any
|
|
27
|
+
callback: () => any,
|
|
28
28
|
): void;
|
|
29
29
|
|
|
30
30
|
namespace containeranalysis {
|
|
@@ -1932,7 +1932,7 @@ declare namespace gapi.client {
|
|
|
1932
1932
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1933
1933
|
uploadType?: string;
|
|
1934
1934
|
},
|
|
1935
|
-
body: Note
|
|
1935
|
+
body: Note,
|
|
1936
1936
|
): Request<Note>;
|
|
1937
1937
|
/** Deletes the given `Note` from the system. */
|
|
1938
1938
|
delete(request?: {
|
|
@@ -2016,7 +2016,7 @@ declare namespace gapi.client {
|
|
|
2016
2016
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2017
2017
|
uploadType?: string;
|
|
2018
2018
|
},
|
|
2019
|
-
body: GetIamPolicyRequest
|
|
2019
|
+
body: GetIamPolicyRequest,
|
|
2020
2020
|
): Request<Policy>;
|
|
2021
2021
|
/** Lists all `Notes` for a given project. */
|
|
2022
2022
|
list(request?: {
|
|
@@ -2113,7 +2113,7 @@ declare namespace gapi.client {
|
|
|
2113
2113
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2114
2114
|
uploadType?: string;
|
|
2115
2115
|
},
|
|
2116
|
-
body: Note
|
|
2116
|
+
body: Note,
|
|
2117
2117
|
): Request<Note>;
|
|
2118
2118
|
/** 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. Attempting to call this method without these permissions will result in a ` `PERMISSION_DENIED` error. Attempting to call this method on a non-existent resource will result in a `NOT_FOUND` error if the user has `containeranalysis.notes.list` permission on a `Note` or `containeranalysis.occurrences.list` on an `Occurrence`, or a `PERMISSION_DENIED` error otherwise. The resource takes the following formats: `projects/{projectid}/occurrences/{occurrenceid}` for occurrences and projects/{projectid}/notes/{noteid} for notes */
|
|
2119
2119
|
setIamPolicy(
|
|
@@ -2143,7 +2143,7 @@ declare namespace gapi.client {
|
|
|
2143
2143
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2144
2144
|
uploadType?: string;
|
|
2145
2145
|
},
|
|
2146
|
-
body: SetIamPolicyRequest
|
|
2146
|
+
body: SetIamPolicyRequest,
|
|
2147
2147
|
): Request<Policy>;
|
|
2148
2148
|
/** Returns the permissions that a caller has on the specified note or occurrence resource. Requires list permission on the project (for example, "storage.objects.list" on the containing bucket for testing permission of an object). Attempting to call this method on a non-existent resource will result in a `NOT_FOUND` error if the user has list permission on the project, or a `PERMISSION_DENIED` error otherwise. The resource takes the following formats: `projects/{PROJECT_ID}/occurrences/{OCCURRENCE_ID}` for `Occurrences` and `projects/{PROJECT_ID}/notes/{NOTE_ID}` for `Notes` */
|
|
2149
2149
|
testIamPermissions(
|
|
@@ -2173,7 +2173,7 @@ declare namespace gapi.client {
|
|
|
2173
2173
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2174
2174
|
uploadType?: string;
|
|
2175
2175
|
},
|
|
2176
|
-
body: TestIamPermissionsRequest
|
|
2176
|
+
body: TestIamPermissionsRequest,
|
|
2177
2177
|
): Request<TestIamPermissionsResponse>;
|
|
2178
2178
|
occurrences: OccurrencesResource;
|
|
2179
2179
|
}
|
|
@@ -2238,7 +2238,7 @@ declare namespace gapi.client {
|
|
|
2238
2238
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2239
2239
|
uploadType?: string;
|
|
2240
2240
|
},
|
|
2241
|
-
body: Occurrence
|
|
2241
|
+
body: Occurrence,
|
|
2242
2242
|
): Request<Occurrence>;
|
|
2243
2243
|
/** Deletes the given `Occurrence` from the system. Use this when an `Occurrence` is no longer applicable for the given resource. */
|
|
2244
2244
|
delete(request?: {
|
|
@@ -2322,7 +2322,7 @@ declare namespace gapi.client {
|
|
|
2322
2322
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2323
2323
|
uploadType?: string;
|
|
2324
2324
|
},
|
|
2325
|
-
body: GetIamPolicyRequest
|
|
2325
|
+
body: GetIamPolicyRequest,
|
|
2326
2326
|
): Request<Policy>;
|
|
2327
2327
|
/** Gets the `Note` attached to the given `Occurrence`. */
|
|
2328
2328
|
getNotes(request?: {
|
|
@@ -2477,7 +2477,7 @@ declare namespace gapi.client {
|
|
|
2477
2477
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2478
2478
|
uploadType?: string;
|
|
2479
2479
|
},
|
|
2480
|
-
body: Occurrence
|
|
2480
|
+
body: Occurrence,
|
|
2481
2481
|
): Request<Occurrence>;
|
|
2482
2482
|
/** 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. Attempting to call this method without these permissions will result in a ` `PERMISSION_DENIED` error. Attempting to call this method on a non-existent resource will result in a `NOT_FOUND` error if the user has `containeranalysis.notes.list` permission on a `Note` or `containeranalysis.occurrences.list` on an `Occurrence`, or a `PERMISSION_DENIED` error otherwise. The resource takes the following formats: `projects/{projectid}/occurrences/{occurrenceid}` for occurrences and projects/{projectid}/notes/{noteid} for notes */
|
|
2483
2483
|
setIamPolicy(
|
|
@@ -2507,7 +2507,7 @@ declare namespace gapi.client {
|
|
|
2507
2507
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2508
2508
|
uploadType?: string;
|
|
2509
2509
|
},
|
|
2510
|
-
body: SetIamPolicyRequest
|
|
2510
|
+
body: SetIamPolicyRequest,
|
|
2511
2511
|
): Request<Policy>;
|
|
2512
2512
|
/** Returns the permissions that a caller has on the specified note or occurrence resource. Requires list permission on the project (for example, "storage.objects.list" on the containing bucket for testing permission of an object). Attempting to call this method on a non-existent resource will result in a `NOT_FOUND` error if the user has list permission on the project, or a `PERMISSION_DENIED` error otherwise. The resource takes the following formats: `projects/{PROJECT_ID}/occurrences/{OCCURRENCE_ID}` for `Occurrences` and `projects/{PROJECT_ID}/notes/{NOTE_ID}` for `Notes` */
|
|
2513
2513
|
testIamPermissions(
|
|
@@ -2537,7 +2537,7 @@ declare namespace gapi.client {
|
|
|
2537
2537
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2538
2538
|
uploadType?: string;
|
|
2539
2539
|
},
|
|
2540
|
-
body: TestIamPermissionsRequest
|
|
2540
|
+
body: TestIamPermissionsRequest,
|
|
2541
2541
|
): Request<TestIamPermissionsResponse>;
|
|
2542
2542
|
}
|
|
2543
2543
|
interface OperationsResource {
|
|
@@ -2597,7 +2597,7 @@ declare namespace gapi.client {
|
|
|
2597
2597
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2598
2598
|
uploadType?: string;
|
|
2599
2599
|
},
|
|
2600
|
-
body: CreateOperationRequest
|
|
2600
|
+
body: CreateOperationRequest,
|
|
2601
2601
|
): Request<Operation>;
|
|
2602
2602
|
/** Updates an existing operation returns an error if operation does not exist. The only valid operations are to update mark the done bit change the result. */
|
|
2603
2603
|
patch(request: {
|
|
@@ -2655,7 +2655,7 @@ declare namespace gapi.client {
|
|
|
2655
2655
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2656
2656
|
uploadType?: string;
|
|
2657
2657
|
},
|
|
2658
|
-
body: UpdateOperationRequest
|
|
2658
|
+
body: UpdateOperationRequest,
|
|
2659
2659
|
): Request<Operation>;
|
|
2660
2660
|
}
|
|
2661
2661
|
interface ScanConfigsResource {
|
|
@@ -2779,7 +2779,7 @@ declare namespace gapi.client {
|
|
|
2779
2779
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2780
2780
|
uploadType?: string;
|
|
2781
2781
|
},
|
|
2782
|
-
body: ScanConfig
|
|
2782
|
+
body: ScanConfig,
|
|
2783
2783
|
): Request<ScanConfig>;
|
|
2784
2784
|
}
|
|
2785
2785
|
interface ProjectsResource {
|
|
@@ -2888,7 +2888,7 @@ declare namespace gapi.client {
|
|
|
2888
2888
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2889
2889
|
uploadType?: string;
|
|
2890
2890
|
},
|
|
2891
|
-
body: Note
|
|
2891
|
+
body: Note,
|
|
2892
2892
|
): Request<Note>;
|
|
2893
2893
|
/** Deletes the given `Note` from the system. */
|
|
2894
2894
|
delete(request?: {
|
|
@@ -2972,7 +2972,7 @@ declare namespace gapi.client {
|
|
|
2972
2972
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2973
2973
|
uploadType?: string;
|
|
2974
2974
|
},
|
|
2975
|
-
body: GetIamPolicyRequest
|
|
2975
|
+
body: GetIamPolicyRequest,
|
|
2976
2976
|
): Request<Policy>;
|
|
2977
2977
|
/** Lists all `Notes` for a given project. */
|
|
2978
2978
|
list(request?: {
|
|
@@ -3069,7 +3069,7 @@ declare namespace gapi.client {
|
|
|
3069
3069
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3070
3070
|
uploadType?: string;
|
|
3071
3071
|
},
|
|
3072
|
-
body: Note
|
|
3072
|
+
body: Note,
|
|
3073
3073
|
): Request<Note>;
|
|
3074
3074
|
/** 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. Attempting to call this method without these permissions will result in a ` `PERMISSION_DENIED` error. Attempting to call this method on a non-existent resource will result in a `NOT_FOUND` error if the user has `containeranalysis.notes.list` permission on a `Note` or `containeranalysis.occurrences.list` on an `Occurrence`, or a `PERMISSION_DENIED` error otherwise. The resource takes the following formats: `projects/{projectid}/occurrences/{occurrenceid}` for occurrences and projects/{projectid}/notes/{noteid} for notes */
|
|
3075
3075
|
setIamPolicy(
|
|
@@ -3099,7 +3099,7 @@ declare namespace gapi.client {
|
|
|
3099
3099
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3100
3100
|
uploadType?: string;
|
|
3101
3101
|
},
|
|
3102
|
-
body: SetIamPolicyRequest
|
|
3102
|
+
body: SetIamPolicyRequest,
|
|
3103
3103
|
): Request<Policy>;
|
|
3104
3104
|
/** Returns the permissions that a caller has on the specified note or occurrence resource. Requires list permission on the project (for example, "storage.objects.list" on the containing bucket for testing permission of an object). Attempting to call this method on a non-existent resource will result in a `NOT_FOUND` error if the user has list permission on the project, or a `PERMISSION_DENIED` error otherwise. The resource takes the following formats: `projects/{PROJECT_ID}/occurrences/{OCCURRENCE_ID}` for `Occurrences` and `projects/{PROJECT_ID}/notes/{NOTE_ID}` for `Notes` */
|
|
3105
3105
|
testIamPermissions(
|
|
@@ -3129,7 +3129,7 @@ declare namespace gapi.client {
|
|
|
3129
3129
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3130
3130
|
uploadType?: string;
|
|
3131
3131
|
},
|
|
3132
|
-
body: TestIamPermissionsRequest
|
|
3132
|
+
body: TestIamPermissionsRequest,
|
|
3133
3133
|
): Request<TestIamPermissionsResponse>;
|
|
3134
3134
|
occurrences: OccurrencesResource;
|
|
3135
3135
|
}
|
package/package.json
CHANGED
package/readme.md
CHANGED