@maxim_mazurok/gapi.client.containeranalysis-v1alpha1 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.
- package/index.d.ts +49 -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: 20250207
|
|
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 {
|
|
@@ -343,6 +343,8 @@ declare namespace gapi.client {
|
|
|
343
343
|
buildTriggerId?: string;
|
|
344
344
|
/** Output only. Time at which the request to create the build was received. */
|
|
345
345
|
createTime?: string;
|
|
346
|
+
/** Optional. Dependencies that the Cloud Build worker will fetch before executing user steps. */
|
|
347
|
+
dependencies?: ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency[];
|
|
346
348
|
/** Output only. Contains information about the build when status=FAILURE. */
|
|
347
349
|
failureInfo?: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo;
|
|
348
350
|
/** 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. */
|
|
@@ -431,6 +433,8 @@ declare namespace gapi.client {
|
|
|
431
433
|
machineType?: string;
|
|
432
434
|
/** 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. */
|
|
433
435
|
pool?: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption;
|
|
436
|
+
/** Optional. Option to specify the Pub/Sub topic to receive build status updates. */
|
|
437
|
+
pubsubTopic?: string;
|
|
434
438
|
/** Requested verifiability options. */
|
|
435
439
|
requestedVerifyOption?: string;
|
|
436
440
|
/** 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. */
|
|
@@ -508,6 +512,30 @@ declare namespace gapi.client {
|
|
|
508
512
|
/** Required. The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref. */
|
|
509
513
|
revision?: string;
|
|
510
514
|
}
|
|
515
|
+
interface ContaineranalysisGoogleDevtoolsCloudbuildV1Dependency {
|
|
516
|
+
/** If set to true disable all dependency fetching (ignoring the default source as well). */
|
|
517
|
+
empty?: boolean;
|
|
518
|
+
/** Represents a git repository as a build dependency. */
|
|
519
|
+
gitSource?: ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency;
|
|
520
|
+
}
|
|
521
|
+
interface ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceDependency {
|
|
522
|
+
/** Optional. How much history should be fetched for the build (default 1, -1 for all history). */
|
|
523
|
+
depth?: string;
|
|
524
|
+
/** Required. Where should the files be placed on the worker. */
|
|
525
|
+
destPath?: string;
|
|
526
|
+
/** Optional. True if submodules should be fetched too (default false). */
|
|
527
|
+
recurseSubmodules?: boolean;
|
|
528
|
+
/** Required. The kind of repo (url or dev connect). */
|
|
529
|
+
repository?: ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository;
|
|
530
|
+
/** Required. The revision that we will fetch the repo at. */
|
|
531
|
+
revision?: string;
|
|
532
|
+
}
|
|
533
|
+
interface ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository {
|
|
534
|
+
/** The Developer Connect Git repository link or the url that matches a repository link in the current project, formatted as `projects/*/locations/*/connections/*/gitRepositoryLink/*` */
|
|
535
|
+
developerConnect?: string;
|
|
536
|
+
/** Location of the Git repository. */
|
|
537
|
+
url?: string;
|
|
538
|
+
}
|
|
511
539
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig {
|
|
512
540
|
/** Required. Directory, relative to the source root, in which to run the build. */
|
|
513
541
|
dir?: string;
|
|
@@ -1932,7 +1960,7 @@ declare namespace gapi.client {
|
|
|
1932
1960
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1933
1961
|
uploadType?: string;
|
|
1934
1962
|
},
|
|
1935
|
-
body: Note
|
|
1963
|
+
body: Note,
|
|
1936
1964
|
): Request<Note>;
|
|
1937
1965
|
/** Deletes the given `Note` from the system. */
|
|
1938
1966
|
delete(request?: {
|
|
@@ -2016,7 +2044,7 @@ declare namespace gapi.client {
|
|
|
2016
2044
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2017
2045
|
uploadType?: string;
|
|
2018
2046
|
},
|
|
2019
|
-
body: GetIamPolicyRequest
|
|
2047
|
+
body: GetIamPolicyRequest,
|
|
2020
2048
|
): Request<Policy>;
|
|
2021
2049
|
/** Lists all `Notes` for a given project. */
|
|
2022
2050
|
list(request?: {
|
|
@@ -2113,7 +2141,7 @@ declare namespace gapi.client {
|
|
|
2113
2141
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2114
2142
|
uploadType?: string;
|
|
2115
2143
|
},
|
|
2116
|
-
body: Note
|
|
2144
|
+
body: Note,
|
|
2117
2145
|
): Request<Note>;
|
|
2118
2146
|
/** 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
2147
|
setIamPolicy(
|
|
@@ -2143,7 +2171,7 @@ declare namespace gapi.client {
|
|
|
2143
2171
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2144
2172
|
uploadType?: string;
|
|
2145
2173
|
},
|
|
2146
|
-
body: SetIamPolicyRequest
|
|
2174
|
+
body: SetIamPolicyRequest,
|
|
2147
2175
|
): Request<Policy>;
|
|
2148
2176
|
/** 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
2177
|
testIamPermissions(
|
|
@@ -2173,7 +2201,7 @@ declare namespace gapi.client {
|
|
|
2173
2201
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2174
2202
|
uploadType?: string;
|
|
2175
2203
|
},
|
|
2176
|
-
body: TestIamPermissionsRequest
|
|
2204
|
+
body: TestIamPermissionsRequest,
|
|
2177
2205
|
): Request<TestIamPermissionsResponse>;
|
|
2178
2206
|
occurrences: OccurrencesResource;
|
|
2179
2207
|
}
|
|
@@ -2238,7 +2266,7 @@ declare namespace gapi.client {
|
|
|
2238
2266
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2239
2267
|
uploadType?: string;
|
|
2240
2268
|
},
|
|
2241
|
-
body: Occurrence
|
|
2269
|
+
body: Occurrence,
|
|
2242
2270
|
): Request<Occurrence>;
|
|
2243
2271
|
/** Deletes the given `Occurrence` from the system. Use this when an `Occurrence` is no longer applicable for the given resource. */
|
|
2244
2272
|
delete(request?: {
|
|
@@ -2322,7 +2350,7 @@ declare namespace gapi.client {
|
|
|
2322
2350
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2323
2351
|
uploadType?: string;
|
|
2324
2352
|
},
|
|
2325
|
-
body: GetIamPolicyRequest
|
|
2353
|
+
body: GetIamPolicyRequest,
|
|
2326
2354
|
): Request<Policy>;
|
|
2327
2355
|
/** Gets the `Note` attached to the given `Occurrence`. */
|
|
2328
2356
|
getNotes(request?: {
|
|
@@ -2477,7 +2505,7 @@ declare namespace gapi.client {
|
|
|
2477
2505
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2478
2506
|
uploadType?: string;
|
|
2479
2507
|
},
|
|
2480
|
-
body: Occurrence
|
|
2508
|
+
body: Occurrence,
|
|
2481
2509
|
): Request<Occurrence>;
|
|
2482
2510
|
/** 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
2511
|
setIamPolicy(
|
|
@@ -2507,7 +2535,7 @@ declare namespace gapi.client {
|
|
|
2507
2535
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2508
2536
|
uploadType?: string;
|
|
2509
2537
|
},
|
|
2510
|
-
body: SetIamPolicyRequest
|
|
2538
|
+
body: SetIamPolicyRequest,
|
|
2511
2539
|
): Request<Policy>;
|
|
2512
2540
|
/** 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
2541
|
testIamPermissions(
|
|
@@ -2537,7 +2565,7 @@ declare namespace gapi.client {
|
|
|
2537
2565
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2538
2566
|
uploadType?: string;
|
|
2539
2567
|
},
|
|
2540
|
-
body: TestIamPermissionsRequest
|
|
2568
|
+
body: TestIamPermissionsRequest,
|
|
2541
2569
|
): Request<TestIamPermissionsResponse>;
|
|
2542
2570
|
}
|
|
2543
2571
|
interface OperationsResource {
|
|
@@ -2597,7 +2625,7 @@ declare namespace gapi.client {
|
|
|
2597
2625
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2598
2626
|
uploadType?: string;
|
|
2599
2627
|
},
|
|
2600
|
-
body: CreateOperationRequest
|
|
2628
|
+
body: CreateOperationRequest,
|
|
2601
2629
|
): Request<Operation>;
|
|
2602
2630
|
/** 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
2631
|
patch(request: {
|
|
@@ -2655,7 +2683,7 @@ declare namespace gapi.client {
|
|
|
2655
2683
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2656
2684
|
uploadType?: string;
|
|
2657
2685
|
},
|
|
2658
|
-
body: UpdateOperationRequest
|
|
2686
|
+
body: UpdateOperationRequest,
|
|
2659
2687
|
): Request<Operation>;
|
|
2660
2688
|
}
|
|
2661
2689
|
interface ScanConfigsResource {
|
|
@@ -2779,7 +2807,7 @@ declare namespace gapi.client {
|
|
|
2779
2807
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2780
2808
|
uploadType?: string;
|
|
2781
2809
|
},
|
|
2782
|
-
body: ScanConfig
|
|
2810
|
+
body: ScanConfig,
|
|
2783
2811
|
): Request<ScanConfig>;
|
|
2784
2812
|
}
|
|
2785
2813
|
interface ProjectsResource {
|
|
@@ -2888,7 +2916,7 @@ declare namespace gapi.client {
|
|
|
2888
2916
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2889
2917
|
uploadType?: string;
|
|
2890
2918
|
},
|
|
2891
|
-
body: Note
|
|
2919
|
+
body: Note,
|
|
2892
2920
|
): Request<Note>;
|
|
2893
2921
|
/** Deletes the given `Note` from the system. */
|
|
2894
2922
|
delete(request?: {
|
|
@@ -2972,7 +3000,7 @@ declare namespace gapi.client {
|
|
|
2972
3000
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2973
3001
|
uploadType?: string;
|
|
2974
3002
|
},
|
|
2975
|
-
body: GetIamPolicyRequest
|
|
3003
|
+
body: GetIamPolicyRequest,
|
|
2976
3004
|
): Request<Policy>;
|
|
2977
3005
|
/** Lists all `Notes` for a given project. */
|
|
2978
3006
|
list(request?: {
|
|
@@ -3069,7 +3097,7 @@ declare namespace gapi.client {
|
|
|
3069
3097
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3070
3098
|
uploadType?: string;
|
|
3071
3099
|
},
|
|
3072
|
-
body: Note
|
|
3100
|
+
body: Note,
|
|
3073
3101
|
): Request<Note>;
|
|
3074
3102
|
/** 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
3103
|
setIamPolicy(
|
|
@@ -3099,7 +3127,7 @@ declare namespace gapi.client {
|
|
|
3099
3127
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3100
3128
|
uploadType?: string;
|
|
3101
3129
|
},
|
|
3102
|
-
body: SetIamPolicyRequest
|
|
3130
|
+
body: SetIamPolicyRequest,
|
|
3103
3131
|
): Request<Policy>;
|
|
3104
3132
|
/** 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
3133
|
testIamPermissions(
|
|
@@ -3129,7 +3157,7 @@ declare namespace gapi.client {
|
|
|
3129
3157
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3130
3158
|
uploadType?: string;
|
|
3131
3159
|
},
|
|
3132
|
-
body: TestIamPermissionsRequest
|
|
3160
|
+
body: TestIamPermissionsRequest,
|
|
3133
3161
|
): Request<TestIamPermissionsResponse>;
|
|
3134
3162
|
occurrences: OccurrencesResource;
|
|
3135
3163
|
}
|
package/package.json
CHANGED
package/readme.md
CHANGED