@maxim_mazurok/gapi.client.securityposture-v1 0.0.20241212 → 0.0.20250318
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 +13 -13
- 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://securityposture.googleapis.com/$discovery/rest?version=v1
|
12
|
-
// Revision:
|
12
|
+
// Revision: 20250318
|
13
13
|
|
14
14
|
/// <reference types="gapi.client" />
|
15
15
|
|
16
16
|
declare namespace gapi.client {
|
17
17
|
/** Load Security Posture API v1 */
|
18
18
|
function load(
|
19
|
-
urlOrObject: 'https://securityposture.googleapis.com/$discovery/rest?version=v1'
|
19
|
+
urlOrObject: 'https://securityposture.googleapis.com/$discovery/rest?version=v1',
|
20
20
|
): Promise<void>;
|
21
21
|
/** @deprecated Please load APIs with discovery documents. */
|
22
22
|
function load(name: 'securityposture', version: 'v1'): Promise<void>;
|
@@ -24,7 +24,7 @@ declare namespace gapi.client {
|
|
24
24
|
function load(
|
25
25
|
name: 'securityposture',
|
26
26
|
version: 'v1',
|
27
|
-
callback: () => any
|
27
|
+
callback: () => any,
|
28
28
|
): void;
|
29
29
|
|
30
30
|
namespace securityposture {
|
@@ -117,9 +117,9 @@ declare namespace gapi.client {
|
|
117
117
|
denyAll?: boolean;
|
118
118
|
/** Whether to enforce the constraint. Valid only for boolean constraints. */
|
119
119
|
enforce?: boolean;
|
120
|
-
/** Optional. Required for
|
120
|
+
/** Optional. Required for managed constraints if parameters are defined. Passes parameter values when policy enforcement is enabled. Ensure that parameter value types match those defined in the constraint definition. For example: { "allowedLocations" : ["us-east1", "us-west1"], "allowAll" : true } */
|
121
121
|
parameters?: {[P in string]: any};
|
122
|
-
/** Optional. The resource types
|
122
|
+
/** Optional. The resource types policies can support, only used for managed constraints. Method type is `GOVERN_TAGS`. */
|
123
123
|
resourceTypes?: ResourceTypes;
|
124
124
|
/** The allowed and denied values for a list constraint. Valid only for list constraints. */
|
125
125
|
values?: GoogleCloudSecuritypostureV1PolicyRuleStringValues;
|
@@ -373,7 +373,7 @@ declare namespace gapi.client {
|
|
373
373
|
resourceTypes?: string[];
|
374
374
|
}
|
375
375
|
interface ResourceTypes {
|
376
|
-
/** Optional. The resource
|
376
|
+
/** Optional. The resource types we currently support. cloud/orgpolicy/customconstraintconfig/prod/resource_types.prototext */
|
377
377
|
included?: string[];
|
378
378
|
}
|
379
379
|
interface SecurityHealthAnalyticsCustomModule {
|
@@ -473,7 +473,7 @@ declare namespace gapi.client {
|
|
473
473
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
474
474
|
uploadType?: string;
|
475
475
|
},
|
476
|
-
body: CancelOperationRequest
|
476
|
+
body: CancelOperationRequest,
|
477
477
|
): Request<{}>;
|
478
478
|
/** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */
|
479
479
|
delete(request?: {
|
@@ -624,7 +624,7 @@ declare namespace gapi.client {
|
|
624
624
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
625
625
|
uploadType?: string;
|
626
626
|
},
|
627
|
-
body: PostureDeployment
|
627
|
+
body: PostureDeployment,
|
628
628
|
): Request<Operation>;
|
629
629
|
/** Deletes a PostureDeployment. */
|
630
630
|
delete(request?: {
|
@@ -775,7 +775,7 @@ declare namespace gapi.client {
|
|
775
775
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
776
776
|
uploadType?: string;
|
777
777
|
},
|
778
|
-
body: PostureDeployment
|
778
|
+
body: PostureDeployment,
|
779
779
|
): Request<Operation>;
|
780
780
|
}
|
781
781
|
interface PosturesResource {
|
@@ -839,7 +839,7 @@ declare namespace gapi.client {
|
|
839
839
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
840
840
|
uploadType?: string;
|
841
841
|
},
|
842
|
-
body: Posture
|
842
|
+
body: Posture,
|
843
843
|
): Request<Operation>;
|
844
844
|
/** Deletes all revisions of a Posture. You can only delete a posture if none of its revisions are deployed. */
|
845
845
|
delete(request?: {
|
@@ -926,7 +926,7 @@ declare namespace gapi.client {
|
|
926
926
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
927
927
|
uploadType?: string;
|
928
928
|
},
|
929
|
-
body: ExtractPostureRequest
|
929
|
+
body: ExtractPostureRequest,
|
930
930
|
): Request<Operation>;
|
931
931
|
/** Gets a single revision of a Posture. */
|
932
932
|
get(request?: {
|
@@ -1085,7 +1085,7 @@ declare namespace gapi.client {
|
|
1085
1085
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
1086
1086
|
uploadType?: string;
|
1087
1087
|
},
|
1088
|
-
body: Posture
|
1088
|
+
body: Posture,
|
1089
1089
|
): Request<Operation>;
|
1090
1090
|
}
|
1091
1091
|
interface PostureTemplatesResource {
|
@@ -1209,7 +1209,7 @@ declare namespace gapi.client {
|
|
1209
1209
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
1210
1210
|
uploadType?: string;
|
1211
1211
|
},
|
1212
|
-
body: CreateIaCValidationReportRequest
|
1212
|
+
body: CreateIaCValidationReportRequest,
|
1213
1213
|
): Request<Operation>;
|
1214
1214
|
/** Gets details for a Report. */
|
1215
1215
|
get(request?: {
|
package/package.json
CHANGED
package/readme.md
CHANGED