@maxim_mazurok/gapi.client.networksecurity-v1beta1 0.0.20230713 → 0.0.20230727
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 +749 -1
- package/package.json +1 -1
- package/tests.ts +121 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
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://networksecurity.googleapis.com/$discovery/rest?version=v1beta1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230727
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -543,6 +543,28 @@ declare namespace gapi.client {
|
|
|
543
543
|
operations?:
|
|
544
544
|
Operation[];
|
|
545
545
|
}
|
|
546
|
+
interface ListSecurityProfileGroupsResponse {
|
|
547
|
+
/**
|
|
548
|
+
* If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of
|
|
549
|
+
* `next_page_token` as `page_token`.
|
|
550
|
+
*/
|
|
551
|
+
nextPageToken?:
|
|
552
|
+
string;
|
|
553
|
+
/** List of SecurityProfileGroups resources. */
|
|
554
|
+
securityProfileGroups?:
|
|
555
|
+
SecurityProfileGroup[];
|
|
556
|
+
}
|
|
557
|
+
interface ListSecurityProfilesResponse {
|
|
558
|
+
/**
|
|
559
|
+
* If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of
|
|
560
|
+
* `next_page_token` as `page_token`.
|
|
561
|
+
*/
|
|
562
|
+
nextPageToken?:
|
|
563
|
+
string;
|
|
564
|
+
/** List of SecurityProfile resources. */
|
|
565
|
+
securityProfiles?:
|
|
566
|
+
SecurityProfile[];
|
|
567
|
+
}
|
|
546
568
|
interface ListServerTlsPoliciesResponse {
|
|
547
569
|
/**
|
|
548
570
|
* If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of
|
|
@@ -700,6 +722,61 @@ declare namespace gapi.client {
|
|
|
700
722
|
sources?:
|
|
701
723
|
Source[];
|
|
702
724
|
}
|
|
725
|
+
interface SecurityProfile {
|
|
726
|
+
/** Output only. Resource creation timestamp. */
|
|
727
|
+
createTime?:
|
|
728
|
+
string;
|
|
729
|
+
/** Optional. An optional description of the profile. Max length 512 characters. */
|
|
730
|
+
description?:
|
|
731
|
+
string;
|
|
732
|
+
/**
|
|
733
|
+
* Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value
|
|
734
|
+
* before proceeding.
|
|
735
|
+
*/
|
|
736
|
+
etag?:
|
|
737
|
+
string;
|
|
738
|
+
/** Optional. Labels as key value pairs. */
|
|
739
|
+
labels?:
|
|
740
|
+
{ [P in string]: string };
|
|
741
|
+
/** Immutable. Name of the SecurityProfile resource. It matches pattern `projects|organizations/*/locations/{location}/securityProfiles/{security_profile}`. */
|
|
742
|
+
name?:
|
|
743
|
+
string;
|
|
744
|
+
/** The threat prevention configuration for the SecurityProfile. */
|
|
745
|
+
threatPreventionProfile?:
|
|
746
|
+
ThreatPreventionProfile;
|
|
747
|
+
/** Immutable. The single ProfileType that the SecurityProfile resource configures. */
|
|
748
|
+
type?:
|
|
749
|
+
string;
|
|
750
|
+
/** Output only. Last resource update timestamp. */
|
|
751
|
+
updateTime?:
|
|
752
|
+
string;
|
|
753
|
+
}
|
|
754
|
+
interface SecurityProfileGroup {
|
|
755
|
+
/** Output only. Resource creation timestamp. */
|
|
756
|
+
createTime?:
|
|
757
|
+
string;
|
|
758
|
+
/** Optional. An optional description of the profile group. Max length 2048 characters. */
|
|
759
|
+
description?:
|
|
760
|
+
string;
|
|
761
|
+
/**
|
|
762
|
+
* Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value
|
|
763
|
+
* before proceeding.
|
|
764
|
+
*/
|
|
765
|
+
etag?:
|
|
766
|
+
string;
|
|
767
|
+
/** Optional. Labels as key value pairs. */
|
|
768
|
+
labels?:
|
|
769
|
+
{ [P in string]: string };
|
|
770
|
+
/** Immutable. Name of the SecurityProfileGroup resource. It matches pattern `projects|organizations/*/locations/{location}/securityProfileGroups/{security_profile_group}`. */
|
|
771
|
+
name?:
|
|
772
|
+
string;
|
|
773
|
+
/** Optional. Reference to a SecurityProfile with the threat prevention configuration for the SecurityProfileGroup. */
|
|
774
|
+
threatPreventionProfile?:
|
|
775
|
+
string;
|
|
776
|
+
/** Output only. Last resource update timestamp. */
|
|
777
|
+
updateTime?:
|
|
778
|
+
string;
|
|
779
|
+
}
|
|
703
780
|
interface ServerTlsPolicy {
|
|
704
781
|
/**
|
|
705
782
|
* This field applies only for Traffic Director policies. It is must be set to false for external HTTPS load balancer policies. Determines if server allows plaintext connections. If
|
|
@@ -738,6 +815,14 @@ declare namespace gapi.client {
|
|
|
738
815
|
updateTime?:
|
|
739
816
|
string;
|
|
740
817
|
}
|
|
818
|
+
interface SeverityOverride {
|
|
819
|
+
/** Required. Threat action override. */
|
|
820
|
+
action?:
|
|
821
|
+
string;
|
|
822
|
+
/** Required. Severity level to match. */
|
|
823
|
+
severity?:
|
|
824
|
+
string;
|
|
825
|
+
}
|
|
741
826
|
interface Source {
|
|
742
827
|
/**
|
|
743
828
|
* Optional. List of CIDR ranges to match based on source IP address. At least one IP block should match. Single IP (e.g., "1.2.3.4") and CIDR (e.g., "1.2.3.0/24") are supported.
|
|
@@ -767,6 +852,28 @@ declare namespace gapi.client {
|
|
|
767
852
|
message?:
|
|
768
853
|
string;
|
|
769
854
|
}
|
|
855
|
+
interface ThreatOverride {
|
|
856
|
+
/** Required. Threat action override. For some threat types, only a subset of actions applies. */
|
|
857
|
+
action?:
|
|
858
|
+
string;
|
|
859
|
+
/** Required. Vendor-specific ID of a threat to override. */
|
|
860
|
+
threatId?:
|
|
861
|
+
string;
|
|
862
|
+
/** Output only. Type of the threat (read only). */
|
|
863
|
+
type?:
|
|
864
|
+
string;
|
|
865
|
+
}
|
|
866
|
+
interface ThreatPreventionProfile {
|
|
867
|
+
/** Optional. Configuration for overriding threats actions by severity match. */
|
|
868
|
+
severityOverrides?:
|
|
869
|
+
SeverityOverride[];
|
|
870
|
+
/**
|
|
871
|
+
* Optional. Configuration for overriding threats actions by threat_id match. If a threat is matched both by configuration provided in severity_overrides and threat_overrides, the
|
|
872
|
+
* threat_overrides action is applied.
|
|
873
|
+
*/
|
|
874
|
+
threatOverrides?:
|
|
875
|
+
ThreatOverride[];
|
|
876
|
+
}
|
|
770
877
|
interface TlsInspectionPolicy {
|
|
771
878
|
/**
|
|
772
879
|
* Required. A CA pool resource used to issue interception certificates. The CA pool string has a relative resource path following the form
|
|
@@ -2077,6 +2184,643 @@ declare namespace gapi.client {
|
|
|
2077
2184
|
string;
|
|
2078
2185
|
}): Request<ListOperationsResponse>;
|
|
2079
2186
|
}
|
|
2187
|
+
interface SecurityProfileGroupsResource {
|
|
2188
|
+
/** Creates a new SecurityProfileGroup in a given organization and location. */
|
|
2189
|
+
create(request: {
|
|
2190
|
+
/** V1 error format. */
|
|
2191
|
+
"$.xgafv"?:
|
|
2192
|
+
string;
|
|
2193
|
+
/** OAuth access token. */
|
|
2194
|
+
access_token?:
|
|
2195
|
+
string;
|
|
2196
|
+
/** Data format for response. */
|
|
2197
|
+
alt?:
|
|
2198
|
+
string;
|
|
2199
|
+
/** JSONP */
|
|
2200
|
+
callback?:
|
|
2201
|
+
string;
|
|
2202
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2203
|
+
fields?:
|
|
2204
|
+
string;
|
|
2205
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2206
|
+
key?:
|
|
2207
|
+
string;
|
|
2208
|
+
/** OAuth 2.0 token for the current user. */
|
|
2209
|
+
oauth_token?:
|
|
2210
|
+
string;
|
|
2211
|
+
/** Required. The parent resource of the SecurityProfileGroup. Must be in the format `projects|organizations/*/locations/{location}`. */
|
|
2212
|
+
parent:
|
|
2213
|
+
string;
|
|
2214
|
+
/** Returns response with indentations and line breaks. */
|
|
2215
|
+
prettyPrint?:
|
|
2216
|
+
boolean;
|
|
2217
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2218
|
+
quotaUser?:
|
|
2219
|
+
string;
|
|
2220
|
+
/**
|
|
2221
|
+
* Required. Short name of the SecurityProfileGroup resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores,
|
|
2222
|
+
* and should not start with a number. E.g. "security_profile_group1".
|
|
2223
|
+
*/
|
|
2224
|
+
securityProfileGroupId?:
|
|
2225
|
+
string;
|
|
2226
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2227
|
+
upload_protocol?:
|
|
2228
|
+
string;
|
|
2229
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2230
|
+
uploadType?:
|
|
2231
|
+
string;
|
|
2232
|
+
/** Request body */
|
|
2233
|
+
resource:
|
|
2234
|
+
SecurityProfileGroup;
|
|
2235
|
+
}): Request<Operation>;
|
|
2236
|
+
create(request: {
|
|
2237
|
+
/** V1 error format. */
|
|
2238
|
+
"$.xgafv"?:
|
|
2239
|
+
string;
|
|
2240
|
+
/** OAuth access token. */
|
|
2241
|
+
access_token?:
|
|
2242
|
+
string;
|
|
2243
|
+
/** Data format for response. */
|
|
2244
|
+
alt?:
|
|
2245
|
+
string;
|
|
2246
|
+
/** JSONP */
|
|
2247
|
+
callback?:
|
|
2248
|
+
string;
|
|
2249
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2250
|
+
fields?:
|
|
2251
|
+
string;
|
|
2252
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2253
|
+
key?:
|
|
2254
|
+
string;
|
|
2255
|
+
/** OAuth 2.0 token for the current user. */
|
|
2256
|
+
oauth_token?:
|
|
2257
|
+
string;
|
|
2258
|
+
/** Required. The parent resource of the SecurityProfileGroup. Must be in the format `projects|organizations/*/locations/{location}`. */
|
|
2259
|
+
parent:
|
|
2260
|
+
string;
|
|
2261
|
+
/** Returns response with indentations and line breaks. */
|
|
2262
|
+
prettyPrint?:
|
|
2263
|
+
boolean;
|
|
2264
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2265
|
+
quotaUser?:
|
|
2266
|
+
string;
|
|
2267
|
+
/**
|
|
2268
|
+
* Required. Short name of the SecurityProfileGroup resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores,
|
|
2269
|
+
* and should not start with a number. E.g. "security_profile_group1".
|
|
2270
|
+
*/
|
|
2271
|
+
securityProfileGroupId?:
|
|
2272
|
+
string;
|
|
2273
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2274
|
+
upload_protocol?:
|
|
2275
|
+
string;
|
|
2276
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2277
|
+
uploadType?:
|
|
2278
|
+
string;
|
|
2279
|
+
},
|
|
2280
|
+
body: SecurityProfileGroup): Request<Operation>;
|
|
2281
|
+
/** Deletes a single SecurityProfileGroup. */
|
|
2282
|
+
delete(request?: {
|
|
2283
|
+
/** V1 error format. */
|
|
2284
|
+
"$.xgafv"?:
|
|
2285
|
+
string;
|
|
2286
|
+
/** OAuth access token. */
|
|
2287
|
+
access_token?:
|
|
2288
|
+
string;
|
|
2289
|
+
/** Data format for response. */
|
|
2290
|
+
alt?:
|
|
2291
|
+
string;
|
|
2292
|
+
/** JSONP */
|
|
2293
|
+
callback?:
|
|
2294
|
+
string;
|
|
2295
|
+
/** Optional. If client provided etag is out of date, delete will return FAILED_PRECONDITION error. */
|
|
2296
|
+
etag?:
|
|
2297
|
+
string;
|
|
2298
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2299
|
+
fields?:
|
|
2300
|
+
string;
|
|
2301
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2302
|
+
key?:
|
|
2303
|
+
string;
|
|
2304
|
+
/** Required. A name of the SecurityProfileGroup to delete. Must be in the format `projects|organizations/*/locations/{location}/securityProfileGroups/{security_profile_group}`. */
|
|
2305
|
+
name:
|
|
2306
|
+
string;
|
|
2307
|
+
/** OAuth 2.0 token for the current user. */
|
|
2308
|
+
oauth_token?:
|
|
2309
|
+
string;
|
|
2310
|
+
/** Returns response with indentations and line breaks. */
|
|
2311
|
+
prettyPrint?:
|
|
2312
|
+
boolean;
|
|
2313
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2314
|
+
quotaUser?:
|
|
2315
|
+
string;
|
|
2316
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2317
|
+
upload_protocol?:
|
|
2318
|
+
string;
|
|
2319
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2320
|
+
uploadType?:
|
|
2321
|
+
string;
|
|
2322
|
+
}): Request<Operation>;
|
|
2323
|
+
/** Gets details of a single SecurityProfileGroup. */
|
|
2324
|
+
get(request?: {
|
|
2325
|
+
/** V1 error format. */
|
|
2326
|
+
"$.xgafv"?:
|
|
2327
|
+
string;
|
|
2328
|
+
/** OAuth access token. */
|
|
2329
|
+
access_token?:
|
|
2330
|
+
string;
|
|
2331
|
+
/** Data format for response. */
|
|
2332
|
+
alt?:
|
|
2333
|
+
string;
|
|
2334
|
+
/** JSONP */
|
|
2335
|
+
callback?:
|
|
2336
|
+
string;
|
|
2337
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2338
|
+
fields?:
|
|
2339
|
+
string;
|
|
2340
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2341
|
+
key?:
|
|
2342
|
+
string;
|
|
2343
|
+
/** Required. A name of the SecurityProfileGroup to get. Must be in the format `projects|organizations/*/locations/{location}/securityProfileGroups/{security_profile_group}`. */
|
|
2344
|
+
name:
|
|
2345
|
+
string;
|
|
2346
|
+
/** OAuth 2.0 token for the current user. */
|
|
2347
|
+
oauth_token?:
|
|
2348
|
+
string;
|
|
2349
|
+
/** Returns response with indentations and line breaks. */
|
|
2350
|
+
prettyPrint?:
|
|
2351
|
+
boolean;
|
|
2352
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2353
|
+
quotaUser?:
|
|
2354
|
+
string;
|
|
2355
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2356
|
+
upload_protocol?:
|
|
2357
|
+
string;
|
|
2358
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2359
|
+
uploadType?:
|
|
2360
|
+
string;
|
|
2361
|
+
}): Request<SecurityProfileGroup>;
|
|
2362
|
+
/** Lists SecurityProfileGroups in a given organization and location. */
|
|
2363
|
+
list(request?: {
|
|
2364
|
+
/** V1 error format. */
|
|
2365
|
+
"$.xgafv"?:
|
|
2366
|
+
string;
|
|
2367
|
+
/** OAuth access token. */
|
|
2368
|
+
access_token?:
|
|
2369
|
+
string;
|
|
2370
|
+
/** Data format for response. */
|
|
2371
|
+
alt?:
|
|
2372
|
+
string;
|
|
2373
|
+
/** JSONP */
|
|
2374
|
+
callback?:
|
|
2375
|
+
string;
|
|
2376
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2377
|
+
fields?:
|
|
2378
|
+
string;
|
|
2379
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2380
|
+
key?:
|
|
2381
|
+
string;
|
|
2382
|
+
/** OAuth 2.0 token for the current user. */
|
|
2383
|
+
oauth_token?:
|
|
2384
|
+
string;
|
|
2385
|
+
/** Maximum number of SecurityProfileGroups to return per call. */
|
|
2386
|
+
pageSize?:
|
|
2387
|
+
number;
|
|
2388
|
+
/**
|
|
2389
|
+
* The value returned by the last `ListSecurityProfileGroupsResponse` Indicates that this is a continuation of a prior `ListSecurityProfileGroups` call, and that the system should
|
|
2390
|
+
* return the next page of data.
|
|
2391
|
+
*/
|
|
2392
|
+
pageToken?:
|
|
2393
|
+
string;
|
|
2394
|
+
/**
|
|
2395
|
+
* Required. The project or organization and location from which the SecurityProfileGroups should be listed, specified in the format
|
|
2396
|
+
* `projects|organizations/*/locations/{location}`.
|
|
2397
|
+
*/
|
|
2398
|
+
parent:
|
|
2399
|
+
string;
|
|
2400
|
+
/** Returns response with indentations and line breaks. */
|
|
2401
|
+
prettyPrint?:
|
|
2402
|
+
boolean;
|
|
2403
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2404
|
+
quotaUser?:
|
|
2405
|
+
string;
|
|
2406
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2407
|
+
upload_protocol?:
|
|
2408
|
+
string;
|
|
2409
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2410
|
+
uploadType?:
|
|
2411
|
+
string;
|
|
2412
|
+
}): Request<ListSecurityProfileGroupsResponse>;
|
|
2413
|
+
/** Updates the parameters of a single SecurityProfileGroup. */
|
|
2414
|
+
patch(request: {
|
|
2415
|
+
/** V1 error format. */
|
|
2416
|
+
"$.xgafv"?:
|
|
2417
|
+
string;
|
|
2418
|
+
/** OAuth access token. */
|
|
2419
|
+
access_token?:
|
|
2420
|
+
string;
|
|
2421
|
+
/** Data format for response. */
|
|
2422
|
+
alt?:
|
|
2423
|
+
string;
|
|
2424
|
+
/** JSONP */
|
|
2425
|
+
callback?:
|
|
2426
|
+
string;
|
|
2427
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2428
|
+
fields?:
|
|
2429
|
+
string;
|
|
2430
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2431
|
+
key?:
|
|
2432
|
+
string;
|
|
2433
|
+
/** Immutable. Name of the SecurityProfileGroup resource. It matches pattern `projects|organizations/*/locations/{location}/securityProfileGroups/{security_profile_group}`. */
|
|
2434
|
+
name:
|
|
2435
|
+
string;
|
|
2436
|
+
/** OAuth 2.0 token for the current user. */
|
|
2437
|
+
oauth_token?:
|
|
2438
|
+
string;
|
|
2439
|
+
/** Returns response with indentations and line breaks. */
|
|
2440
|
+
prettyPrint?:
|
|
2441
|
+
boolean;
|
|
2442
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2443
|
+
quotaUser?:
|
|
2444
|
+
string;
|
|
2445
|
+
/**
|
|
2446
|
+
* Required. Field mask is used to specify the fields to be overwritten in the SecurityProfileGroup resource by the update. The fields specified in the update_mask are relative to
|
|
2447
|
+
* the resource, not the full request. A field will be overwritten if it is in the mask.
|
|
2448
|
+
*/
|
|
2449
|
+
updateMask?:
|
|
2450
|
+
string;
|
|
2451
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2452
|
+
upload_protocol?:
|
|
2453
|
+
string;
|
|
2454
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2455
|
+
uploadType?:
|
|
2456
|
+
string;
|
|
2457
|
+
/** Request body */
|
|
2458
|
+
resource:
|
|
2459
|
+
SecurityProfileGroup;
|
|
2460
|
+
}): Request<Operation>;
|
|
2461
|
+
patch(request: {
|
|
2462
|
+
/** V1 error format. */
|
|
2463
|
+
"$.xgafv"?:
|
|
2464
|
+
string;
|
|
2465
|
+
/** OAuth access token. */
|
|
2466
|
+
access_token?:
|
|
2467
|
+
string;
|
|
2468
|
+
/** Data format for response. */
|
|
2469
|
+
alt?:
|
|
2470
|
+
string;
|
|
2471
|
+
/** JSONP */
|
|
2472
|
+
callback?:
|
|
2473
|
+
string;
|
|
2474
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2475
|
+
fields?:
|
|
2476
|
+
string;
|
|
2477
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2478
|
+
key?:
|
|
2479
|
+
string;
|
|
2480
|
+
/** Immutable. Name of the SecurityProfileGroup resource. It matches pattern `projects|organizations/*/locations/{location}/securityProfileGroups/{security_profile_group}`. */
|
|
2481
|
+
name:
|
|
2482
|
+
string;
|
|
2483
|
+
/** OAuth 2.0 token for the current user. */
|
|
2484
|
+
oauth_token?:
|
|
2485
|
+
string;
|
|
2486
|
+
/** Returns response with indentations and line breaks. */
|
|
2487
|
+
prettyPrint?:
|
|
2488
|
+
boolean;
|
|
2489
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2490
|
+
quotaUser?:
|
|
2491
|
+
string;
|
|
2492
|
+
/**
|
|
2493
|
+
* Required. Field mask is used to specify the fields to be overwritten in the SecurityProfileGroup resource by the update. The fields specified in the update_mask are relative to
|
|
2494
|
+
* the resource, not the full request. A field will be overwritten if it is in the mask.
|
|
2495
|
+
*/
|
|
2496
|
+
updateMask?:
|
|
2497
|
+
string;
|
|
2498
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2499
|
+
upload_protocol?:
|
|
2500
|
+
string;
|
|
2501
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2502
|
+
uploadType?:
|
|
2503
|
+
string;
|
|
2504
|
+
},
|
|
2505
|
+
body: SecurityProfileGroup): Request<Operation>;
|
|
2506
|
+
}
|
|
2507
|
+
interface SecurityProfilesResource {
|
|
2508
|
+
/** Creates a new SecurityProfile in a given organization and location. */
|
|
2509
|
+
create(request: {
|
|
2510
|
+
/** V1 error format. */
|
|
2511
|
+
"$.xgafv"?:
|
|
2512
|
+
string;
|
|
2513
|
+
/** OAuth access token. */
|
|
2514
|
+
access_token?:
|
|
2515
|
+
string;
|
|
2516
|
+
/** Data format for response. */
|
|
2517
|
+
alt?:
|
|
2518
|
+
string;
|
|
2519
|
+
/** JSONP */
|
|
2520
|
+
callback?:
|
|
2521
|
+
string;
|
|
2522
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2523
|
+
fields?:
|
|
2524
|
+
string;
|
|
2525
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2526
|
+
key?:
|
|
2527
|
+
string;
|
|
2528
|
+
/** OAuth 2.0 token for the current user. */
|
|
2529
|
+
oauth_token?:
|
|
2530
|
+
string;
|
|
2531
|
+
/** Required. The parent resource of the SecurityProfile. Must be in the format `projects|organizations/*/locations/{location}`. */
|
|
2532
|
+
parent:
|
|
2533
|
+
string;
|
|
2534
|
+
/** Returns response with indentations and line breaks. */
|
|
2535
|
+
prettyPrint?:
|
|
2536
|
+
boolean;
|
|
2537
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2538
|
+
quotaUser?:
|
|
2539
|
+
string;
|
|
2540
|
+
/**
|
|
2541
|
+
* Required. Short name of the SecurityProfile resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and
|
|
2542
|
+
* should not start with a number. E.g. "security_profile1".
|
|
2543
|
+
*/
|
|
2544
|
+
securityProfileId?:
|
|
2545
|
+
string;
|
|
2546
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2547
|
+
upload_protocol?:
|
|
2548
|
+
string;
|
|
2549
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2550
|
+
uploadType?:
|
|
2551
|
+
string;
|
|
2552
|
+
/** Request body */
|
|
2553
|
+
resource:
|
|
2554
|
+
SecurityProfile;
|
|
2555
|
+
}): Request<Operation>;
|
|
2556
|
+
create(request: {
|
|
2557
|
+
/** V1 error format. */
|
|
2558
|
+
"$.xgafv"?:
|
|
2559
|
+
string;
|
|
2560
|
+
/** OAuth access token. */
|
|
2561
|
+
access_token?:
|
|
2562
|
+
string;
|
|
2563
|
+
/** Data format for response. */
|
|
2564
|
+
alt?:
|
|
2565
|
+
string;
|
|
2566
|
+
/** JSONP */
|
|
2567
|
+
callback?:
|
|
2568
|
+
string;
|
|
2569
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2570
|
+
fields?:
|
|
2571
|
+
string;
|
|
2572
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2573
|
+
key?:
|
|
2574
|
+
string;
|
|
2575
|
+
/** OAuth 2.0 token for the current user. */
|
|
2576
|
+
oauth_token?:
|
|
2577
|
+
string;
|
|
2578
|
+
/** Required. The parent resource of the SecurityProfile. Must be in the format `projects|organizations/*/locations/{location}`. */
|
|
2579
|
+
parent:
|
|
2580
|
+
string;
|
|
2581
|
+
/** Returns response with indentations and line breaks. */
|
|
2582
|
+
prettyPrint?:
|
|
2583
|
+
boolean;
|
|
2584
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2585
|
+
quotaUser?:
|
|
2586
|
+
string;
|
|
2587
|
+
/**
|
|
2588
|
+
* Required. Short name of the SecurityProfile resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and
|
|
2589
|
+
* should not start with a number. E.g. "security_profile1".
|
|
2590
|
+
*/
|
|
2591
|
+
securityProfileId?:
|
|
2592
|
+
string;
|
|
2593
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2594
|
+
upload_protocol?:
|
|
2595
|
+
string;
|
|
2596
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2597
|
+
uploadType?:
|
|
2598
|
+
string;
|
|
2599
|
+
},
|
|
2600
|
+
body: SecurityProfile): Request<Operation>;
|
|
2601
|
+
/** Deletes a single SecurityProfile. */
|
|
2602
|
+
delete(request?: {
|
|
2603
|
+
/** V1 error format. */
|
|
2604
|
+
"$.xgafv"?:
|
|
2605
|
+
string;
|
|
2606
|
+
/** OAuth access token. */
|
|
2607
|
+
access_token?:
|
|
2608
|
+
string;
|
|
2609
|
+
/** Data format for response. */
|
|
2610
|
+
alt?:
|
|
2611
|
+
string;
|
|
2612
|
+
/** JSONP */
|
|
2613
|
+
callback?:
|
|
2614
|
+
string;
|
|
2615
|
+
/** Optional. If client provided etag is out of date, delete will return FAILED_PRECONDITION error. */
|
|
2616
|
+
etag?:
|
|
2617
|
+
string;
|
|
2618
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2619
|
+
fields?:
|
|
2620
|
+
string;
|
|
2621
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2622
|
+
key?:
|
|
2623
|
+
string;
|
|
2624
|
+
/** Required. A name of the SecurityProfile to delete. Must be in the format `projects|organizations/*/locations/{location}/securityProfiles/{security_profile_id}`. */
|
|
2625
|
+
name:
|
|
2626
|
+
string;
|
|
2627
|
+
/** OAuth 2.0 token for the current user. */
|
|
2628
|
+
oauth_token?:
|
|
2629
|
+
string;
|
|
2630
|
+
/** Returns response with indentations and line breaks. */
|
|
2631
|
+
prettyPrint?:
|
|
2632
|
+
boolean;
|
|
2633
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2634
|
+
quotaUser?:
|
|
2635
|
+
string;
|
|
2636
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2637
|
+
upload_protocol?:
|
|
2638
|
+
string;
|
|
2639
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2640
|
+
uploadType?:
|
|
2641
|
+
string;
|
|
2642
|
+
}): Request<Operation>;
|
|
2643
|
+
/** Gets details of a single SecurityProfile. */
|
|
2644
|
+
get(request?: {
|
|
2645
|
+
/** V1 error format. */
|
|
2646
|
+
"$.xgafv"?:
|
|
2647
|
+
string;
|
|
2648
|
+
/** OAuth access token. */
|
|
2649
|
+
access_token?:
|
|
2650
|
+
string;
|
|
2651
|
+
/** Data format for response. */
|
|
2652
|
+
alt?:
|
|
2653
|
+
string;
|
|
2654
|
+
/** JSONP */
|
|
2655
|
+
callback?:
|
|
2656
|
+
string;
|
|
2657
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2658
|
+
fields?:
|
|
2659
|
+
string;
|
|
2660
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2661
|
+
key?:
|
|
2662
|
+
string;
|
|
2663
|
+
/** Required. A name of the SecurityProfile to get. Must be in the format `projects|organizations/*/locations/{location}/securityProfiles/{security_profile_id}`. */
|
|
2664
|
+
name:
|
|
2665
|
+
string;
|
|
2666
|
+
/** OAuth 2.0 token for the current user. */
|
|
2667
|
+
oauth_token?:
|
|
2668
|
+
string;
|
|
2669
|
+
/** Returns response with indentations and line breaks. */
|
|
2670
|
+
prettyPrint?:
|
|
2671
|
+
boolean;
|
|
2672
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2673
|
+
quotaUser?:
|
|
2674
|
+
string;
|
|
2675
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2676
|
+
upload_protocol?:
|
|
2677
|
+
string;
|
|
2678
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2679
|
+
uploadType?:
|
|
2680
|
+
string;
|
|
2681
|
+
}): Request<SecurityProfile>;
|
|
2682
|
+
/** Lists SecurityProfiles in a given organization and location. */
|
|
2683
|
+
list(request?: {
|
|
2684
|
+
/** V1 error format. */
|
|
2685
|
+
"$.xgafv"?:
|
|
2686
|
+
string;
|
|
2687
|
+
/** OAuth access token. */
|
|
2688
|
+
access_token?:
|
|
2689
|
+
string;
|
|
2690
|
+
/** Data format for response. */
|
|
2691
|
+
alt?:
|
|
2692
|
+
string;
|
|
2693
|
+
/** JSONP */
|
|
2694
|
+
callback?:
|
|
2695
|
+
string;
|
|
2696
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2697
|
+
fields?:
|
|
2698
|
+
string;
|
|
2699
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2700
|
+
key?:
|
|
2701
|
+
string;
|
|
2702
|
+
/** OAuth 2.0 token for the current user. */
|
|
2703
|
+
oauth_token?:
|
|
2704
|
+
string;
|
|
2705
|
+
/** Maximum number of SecurityProfiles to return per call. */
|
|
2706
|
+
pageSize?:
|
|
2707
|
+
number;
|
|
2708
|
+
/**
|
|
2709
|
+
* The value returned by the last `ListSecurityProfilesResponse` Indicates that this is a continuation of a prior `ListSecurityProfiles` call, and that the system should return the
|
|
2710
|
+
* next page of data.
|
|
2711
|
+
*/
|
|
2712
|
+
pageToken?:
|
|
2713
|
+
string;
|
|
2714
|
+
/** Required. The project or organization and location from which the SecurityProfiles should be listed, specified in the format `projects|organizations/*/locations/{location}`. */
|
|
2715
|
+
parent:
|
|
2716
|
+
string;
|
|
2717
|
+
/** Returns response with indentations and line breaks. */
|
|
2718
|
+
prettyPrint?:
|
|
2719
|
+
boolean;
|
|
2720
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2721
|
+
quotaUser?:
|
|
2722
|
+
string;
|
|
2723
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2724
|
+
upload_protocol?:
|
|
2725
|
+
string;
|
|
2726
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2727
|
+
uploadType?:
|
|
2728
|
+
string;
|
|
2729
|
+
}): Request<ListSecurityProfilesResponse>;
|
|
2730
|
+
/** Updates the parameters of a single SecurityProfile. */
|
|
2731
|
+
patch(request: {
|
|
2732
|
+
/** V1 error format. */
|
|
2733
|
+
"$.xgafv"?:
|
|
2734
|
+
string;
|
|
2735
|
+
/** OAuth access token. */
|
|
2736
|
+
access_token?:
|
|
2737
|
+
string;
|
|
2738
|
+
/** Data format for response. */
|
|
2739
|
+
alt?:
|
|
2740
|
+
string;
|
|
2741
|
+
/** JSONP */
|
|
2742
|
+
callback?:
|
|
2743
|
+
string;
|
|
2744
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2745
|
+
fields?:
|
|
2746
|
+
string;
|
|
2747
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2748
|
+
key?:
|
|
2749
|
+
string;
|
|
2750
|
+
/** Immutable. Name of the SecurityProfile resource. It matches pattern `projects|organizations/*/locations/{location}/securityProfiles/{security_profile}`. */
|
|
2751
|
+
name:
|
|
2752
|
+
string;
|
|
2753
|
+
/** OAuth 2.0 token for the current user. */
|
|
2754
|
+
oauth_token?:
|
|
2755
|
+
string;
|
|
2756
|
+
/** Returns response with indentations and line breaks. */
|
|
2757
|
+
prettyPrint?:
|
|
2758
|
+
boolean;
|
|
2759
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2760
|
+
quotaUser?:
|
|
2761
|
+
string;
|
|
2762
|
+
/**
|
|
2763
|
+
* Required. Field mask is used to specify the fields to be overwritten in the SecurityProfile resource by the update. The fields specified in the update_mask are relative to the
|
|
2764
|
+
* resource, not the full request. A field will be overwritten if it is in the mask.
|
|
2765
|
+
*/
|
|
2766
|
+
updateMask?:
|
|
2767
|
+
string;
|
|
2768
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2769
|
+
upload_protocol?:
|
|
2770
|
+
string;
|
|
2771
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2772
|
+
uploadType?:
|
|
2773
|
+
string;
|
|
2774
|
+
/** Request body */
|
|
2775
|
+
resource:
|
|
2776
|
+
SecurityProfile;
|
|
2777
|
+
}): Request<Operation>;
|
|
2778
|
+
patch(request: {
|
|
2779
|
+
/** V1 error format. */
|
|
2780
|
+
"$.xgafv"?:
|
|
2781
|
+
string;
|
|
2782
|
+
/** OAuth access token. */
|
|
2783
|
+
access_token?:
|
|
2784
|
+
string;
|
|
2785
|
+
/** Data format for response. */
|
|
2786
|
+
alt?:
|
|
2787
|
+
string;
|
|
2788
|
+
/** JSONP */
|
|
2789
|
+
callback?:
|
|
2790
|
+
string;
|
|
2791
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2792
|
+
fields?:
|
|
2793
|
+
string;
|
|
2794
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2795
|
+
key?:
|
|
2796
|
+
string;
|
|
2797
|
+
/** Immutable. Name of the SecurityProfile resource. It matches pattern `projects|organizations/*/locations/{location}/securityProfiles/{security_profile}`. */
|
|
2798
|
+
name:
|
|
2799
|
+
string;
|
|
2800
|
+
/** OAuth 2.0 token for the current user. */
|
|
2801
|
+
oauth_token?:
|
|
2802
|
+
string;
|
|
2803
|
+
/** Returns response with indentations and line breaks. */
|
|
2804
|
+
prettyPrint?:
|
|
2805
|
+
boolean;
|
|
2806
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2807
|
+
quotaUser?:
|
|
2808
|
+
string;
|
|
2809
|
+
/**
|
|
2810
|
+
* Required. Field mask is used to specify the fields to be overwritten in the SecurityProfile resource by the update. The fields specified in the update_mask are relative to the
|
|
2811
|
+
* resource, not the full request. A field will be overwritten if it is in the mask.
|
|
2812
|
+
*/
|
|
2813
|
+
updateMask?:
|
|
2814
|
+
string;
|
|
2815
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2816
|
+
upload_protocol?:
|
|
2817
|
+
string;
|
|
2818
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2819
|
+
uploadType?:
|
|
2820
|
+
string;
|
|
2821
|
+
},
|
|
2822
|
+
body: SecurityProfile): Request<Operation>;
|
|
2823
|
+
}
|
|
2080
2824
|
interface LocationsResource {
|
|
2081
2825
|
addressGroups:
|
|
2082
2826
|
AddressGroupsResource;
|
|
@@ -2084,6 +2828,10 @@ declare namespace gapi.client {
|
|
|
2084
2828
|
FirewallEndpointsResource;
|
|
2085
2829
|
operations:
|
|
2086
2830
|
OperationsResource;
|
|
2831
|
+
securityProfileGroups:
|
|
2832
|
+
SecurityProfileGroupsResource;
|
|
2833
|
+
securityProfiles:
|
|
2834
|
+
SecurityProfilesResource;
|
|
2087
2835
|
}
|
|
2088
2836
|
interface OrganizationsResource {
|
|
2089
2837
|
locations:
|
package/package.json
CHANGED
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20230727
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -196,6 +196,126 @@ gapi.load('client', async () => {
|
|
|
196
196
|
pageSize: 42,
|
|
197
197
|
pageToken: "Test string",
|
|
198
198
|
});
|
|
199
|
+
/** Creates a new SecurityProfileGroup in a given organization and location. */
|
|
200
|
+
await gapi.client.networksecurity.organizations.locations.securityProfileGroups.create({
|
|
201
|
+
parent: "Test string",
|
|
202
|
+
securityProfileGroupId: "Test string",
|
|
203
|
+
}, {
|
|
204
|
+
createTime: "Test string",
|
|
205
|
+
description: "Test string",
|
|
206
|
+
etag: "Test string",
|
|
207
|
+
labels: {
|
|
208
|
+
A: "Test string"
|
|
209
|
+
},
|
|
210
|
+
name: "Test string",
|
|
211
|
+
threatPreventionProfile: "Test string",
|
|
212
|
+
updateTime: "Test string",
|
|
213
|
+
});
|
|
214
|
+
/** Deletes a single SecurityProfileGroup. */
|
|
215
|
+
await gapi.client.networksecurity.organizations.locations.securityProfileGroups.delete({
|
|
216
|
+
etag: "Test string",
|
|
217
|
+
name: "Test string",
|
|
218
|
+
});
|
|
219
|
+
/** Gets details of a single SecurityProfileGroup. */
|
|
220
|
+
await gapi.client.networksecurity.organizations.locations.securityProfileGroups.get({
|
|
221
|
+
name: "Test string",
|
|
222
|
+
});
|
|
223
|
+
/** Lists SecurityProfileGroups in a given organization and location. */
|
|
224
|
+
await gapi.client.networksecurity.organizations.locations.securityProfileGroups.list({
|
|
225
|
+
pageSize: 42,
|
|
226
|
+
pageToken: "Test string",
|
|
227
|
+
parent: "Test string",
|
|
228
|
+
});
|
|
229
|
+
/** Updates the parameters of a single SecurityProfileGroup. */
|
|
230
|
+
await gapi.client.networksecurity.organizations.locations.securityProfileGroups.patch({
|
|
231
|
+
name: "Test string",
|
|
232
|
+
updateMask: "Test string",
|
|
233
|
+
}, {
|
|
234
|
+
createTime: "Test string",
|
|
235
|
+
description: "Test string",
|
|
236
|
+
etag: "Test string",
|
|
237
|
+
labels: {
|
|
238
|
+
A: "Test string"
|
|
239
|
+
},
|
|
240
|
+
name: "Test string",
|
|
241
|
+
threatPreventionProfile: "Test string",
|
|
242
|
+
updateTime: "Test string",
|
|
243
|
+
});
|
|
244
|
+
/** Creates a new SecurityProfile in a given organization and location. */
|
|
245
|
+
await gapi.client.networksecurity.organizations.locations.securityProfiles.create({
|
|
246
|
+
parent: "Test string",
|
|
247
|
+
securityProfileId: "Test string",
|
|
248
|
+
}, {
|
|
249
|
+
createTime: "Test string",
|
|
250
|
+
description: "Test string",
|
|
251
|
+
etag: "Test string",
|
|
252
|
+
labels: {
|
|
253
|
+
A: "Test string"
|
|
254
|
+
},
|
|
255
|
+
name: "Test string",
|
|
256
|
+
threatPreventionProfile: {
|
|
257
|
+
severityOverrides: [
|
|
258
|
+
{
|
|
259
|
+
action: "Test string",
|
|
260
|
+
severity: "Test string",
|
|
261
|
+
}
|
|
262
|
+
],
|
|
263
|
+
threatOverrides: [
|
|
264
|
+
{
|
|
265
|
+
action: "Test string",
|
|
266
|
+
threatId: "Test string",
|
|
267
|
+
type: "Test string",
|
|
268
|
+
}
|
|
269
|
+
],
|
|
270
|
+
},
|
|
271
|
+
type: "Test string",
|
|
272
|
+
updateTime: "Test string",
|
|
273
|
+
});
|
|
274
|
+
/** Deletes a single SecurityProfile. */
|
|
275
|
+
await gapi.client.networksecurity.organizations.locations.securityProfiles.delete({
|
|
276
|
+
etag: "Test string",
|
|
277
|
+
name: "Test string",
|
|
278
|
+
});
|
|
279
|
+
/** Gets details of a single SecurityProfile. */
|
|
280
|
+
await gapi.client.networksecurity.organizations.locations.securityProfiles.get({
|
|
281
|
+
name: "Test string",
|
|
282
|
+
});
|
|
283
|
+
/** Lists SecurityProfiles in a given organization and location. */
|
|
284
|
+
await gapi.client.networksecurity.organizations.locations.securityProfiles.list({
|
|
285
|
+
pageSize: 42,
|
|
286
|
+
pageToken: "Test string",
|
|
287
|
+
parent: "Test string",
|
|
288
|
+
});
|
|
289
|
+
/** Updates the parameters of a single SecurityProfile. */
|
|
290
|
+
await gapi.client.networksecurity.organizations.locations.securityProfiles.patch({
|
|
291
|
+
name: "Test string",
|
|
292
|
+
updateMask: "Test string",
|
|
293
|
+
}, {
|
|
294
|
+
createTime: "Test string",
|
|
295
|
+
description: "Test string",
|
|
296
|
+
etag: "Test string",
|
|
297
|
+
labels: {
|
|
298
|
+
A: "Test string"
|
|
299
|
+
},
|
|
300
|
+
name: "Test string",
|
|
301
|
+
threatPreventionProfile: {
|
|
302
|
+
severityOverrides: [
|
|
303
|
+
{
|
|
304
|
+
action: "Test string",
|
|
305
|
+
severity: "Test string",
|
|
306
|
+
}
|
|
307
|
+
],
|
|
308
|
+
threatOverrides: [
|
|
309
|
+
{
|
|
310
|
+
action: "Test string",
|
|
311
|
+
threatId: "Test string",
|
|
312
|
+
type: "Test string",
|
|
313
|
+
}
|
|
314
|
+
],
|
|
315
|
+
},
|
|
316
|
+
type: "Test string",
|
|
317
|
+
updateTime: "Test string",
|
|
318
|
+
});
|
|
199
319
|
/** Gets information about a location. */
|
|
200
320
|
await gapi.client.networksecurity.projects.locations.get({
|
|
201
321
|
name: "Test string",
|