@maxim_mazurok/gapi.client.securityposture-v1 0.1.20260317 → 0.2.20260317
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 +107 -73
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -67,7 +67,12 @@ declare namespace gapi.client {
|
|
|
67
67
|
/** Required. The resource types that the custom module operates on. */
|
|
68
68
|
resourceSelector?: ResourceSelector;
|
|
69
69
|
/** Required. The severity of findings generated by the custom module. */
|
|
70
|
-
severity?:
|
|
70
|
+
severity?:
|
|
71
|
+
| 'SEVERITY_UNSPECIFIED'
|
|
72
|
+
| 'CRITICAL'
|
|
73
|
+
| 'HIGH'
|
|
74
|
+
| 'MEDIUM'
|
|
75
|
+
| 'LOW';
|
|
71
76
|
}
|
|
72
77
|
interface CustomOutputSpec {
|
|
73
78
|
/** Optional. The custom source properties that can appear in findings. */
|
|
@@ -92,7 +97,7 @@ declare namespace gapi.client {
|
|
|
92
97
|
}
|
|
93
98
|
interface GoogleCloudSecuritypostureV1CustomConstraint {
|
|
94
99
|
/** Whether to allow or deny the action. */
|
|
95
|
-
actionType?:
|
|
100
|
+
actionType?: 'ACTION_TYPE_UNSPECIFIED' | 'ALLOW' | 'DENY';
|
|
96
101
|
/** A Common Expression Language (CEL) condition expression that must evaluate to `true` for the constraint to be enforced. The maximum length is 1000 characters. For example: + `resource.instanceName.matches('(production|test)_(.+_)?[\d]+')`: Evaluates to `true` if the resource's `instanceName` attribute contains the following: + The prefix `production` or `test` + An underscore (`_`) + Optional: One or more characters, followed by an underscore (`_`) + One or more digits + `resource.management.auto_upgrade == true`: Evaluates to `true` if the resource's `management.auto_upgrade` attribute is `true`. */
|
|
97
102
|
condition?: string;
|
|
98
103
|
/** A description of the constraint. The maximum length is 2000 characters. */
|
|
@@ -100,7 +105,11 @@ declare namespace gapi.client {
|
|
|
100
105
|
/** A display name for the constraint. The maximum length is 200 characters. */
|
|
101
106
|
displayName?: string;
|
|
102
107
|
/** The types of operations that the constraint applies to. */
|
|
103
|
-
methodTypes?:
|
|
108
|
+
methodTypes?:
|
|
109
|
+
| 'METHOD_TYPE_UNSPECIFIED'
|
|
110
|
+
| 'CREATE'
|
|
111
|
+
| 'UPDATE'
|
|
112
|
+
| 'DELETE'[];
|
|
104
113
|
/** Immutable. The name of the constraint, in the format `organizations/{organization_id}/customConstraints/custom.{custom_constraint_id}`. For example, `organizations/123456789012/customConstraints/custom.createOnlyE2TypeVms`. Must contain 1 to 62 characters, excluding the prefix `organizations/{organization_id}/customConstraints/custom.`. */
|
|
105
114
|
name?: string;
|
|
106
115
|
/** Immutable. The resource type that the constraint applies to, in the format `{canonical_service_name}/{resource_type_name}`. For example, `compute.googleapis.com/Instance`. */
|
|
@@ -260,7 +269,13 @@ declare namespace gapi.client {
|
|
|
260
269
|
/** Information about the constraint that was violated. The format of this information can change at any time without prior notice. Your application must not depend on this information in any way. */
|
|
261
270
|
constraint?: string;
|
|
262
271
|
/** The type of constraint that was violated. */
|
|
263
|
-
constraintType?:
|
|
272
|
+
constraintType?:
|
|
273
|
+
| 'CONSTRAINT_TYPE_UNSPECIFIED'
|
|
274
|
+
| 'SECURITY_HEALTH_ANALYTICS_CUSTOM_MODULE'
|
|
275
|
+
| 'ORG_POLICY_CUSTOM'
|
|
276
|
+
| 'SECURITY_HEALTH_ANALYTICS_MODULE'
|
|
277
|
+
| 'ORG_POLICY'
|
|
278
|
+
| 'REGO_POLICY';
|
|
264
279
|
/** A description of the policy. */
|
|
265
280
|
description?: string;
|
|
266
281
|
}
|
|
@@ -276,7 +291,7 @@ declare namespace gapi.client {
|
|
|
276
291
|
/** Optional. The user-specified annotations for the posture. For details about the values you can use in an annotation, see [AIP-148: Standard fields](https://google.aip.dev/148#annotations). */
|
|
277
292
|
annotations?: {[P in string]: string};
|
|
278
293
|
/** Output only. The categories that the posture belongs to, as determined by the Security Posture API. */
|
|
279
|
-
categories?:
|
|
294
|
+
categories?: 'CATEGORY_UNSPECIFIED' | 'AI' | 'AWS' | 'GCP' | 'AZURE'[];
|
|
280
295
|
/** Output only. The time at which the posture was created. */
|
|
281
296
|
createTime?: string;
|
|
282
297
|
/** Optional. A description of the posture. */
|
|
@@ -292,7 +307,7 @@ declare namespace gapi.client {
|
|
|
292
307
|
/** Output only. Immutable. An opaque eight-character string that identifies the revision of the posture. A posture can have multiple revisions; when you deploy a posture, you deploy a specific revision of the posture. */
|
|
293
308
|
revisionId?: string;
|
|
294
309
|
/** Required. The state of the posture at the specified `revision_id`. */
|
|
295
|
-
state?:
|
|
310
|
+
state?: 'STATE_UNSPECIFIED' | 'DEPRECATED' | 'DRAFT' | 'ACTIVE';
|
|
296
311
|
/** Output only. The time at which the posture was last updated. */
|
|
297
312
|
updateTime?: string;
|
|
298
313
|
}
|
|
@@ -300,7 +315,7 @@ declare namespace gapi.client {
|
|
|
300
315
|
/** Optional. The user-specified annotations for the posture deployment. For details about the values you can use in an annotation, see [AIP-148: Standard fields](https://google.aip.dev/148#annotations). */
|
|
301
316
|
annotations?: {[P in string]: string};
|
|
302
317
|
/** Output only. The categories that the posture deployment belongs to, as determined by the Security Posture API. */
|
|
303
|
-
categories?:
|
|
318
|
+
categories?: 'CATEGORY_UNSPECIFIED' | 'AI' | 'AWS' | 'GCP' | 'AZURE'[];
|
|
304
319
|
/** Output only. The time at which the posture deployment was created. */
|
|
305
320
|
createTime?: string;
|
|
306
321
|
/** Optional. A description of the posture deployment. */
|
|
@@ -322,7 +337,15 @@ declare namespace gapi.client {
|
|
|
322
337
|
/** Output only. Whether the posture deployment is in the process of being updated. */
|
|
323
338
|
reconciling?: boolean;
|
|
324
339
|
/** Output only. The state of the posture deployment. */
|
|
325
|
-
state?:
|
|
340
|
+
state?:
|
|
341
|
+
| 'STATE_UNSPECIFIED'
|
|
342
|
+
| 'CREATING'
|
|
343
|
+
| 'DELETING'
|
|
344
|
+
| 'UPDATING'
|
|
345
|
+
| 'ACTIVE'
|
|
346
|
+
| 'CREATE_FAILED'
|
|
347
|
+
| 'UPDATE_FAILED'
|
|
348
|
+
| 'DELETE_FAILED';
|
|
326
349
|
/** Required. The organization, folder, or project where the posture is deployed. Uses one of the following formats: * `organizations/{organization_number}` * `folders/{folder_number}` * `projects/{project_number}` */
|
|
327
350
|
targetResource?: string;
|
|
328
351
|
/** Output only. The time at which the posture deployment was last updated. */
|
|
@@ -342,7 +365,7 @@ declare namespace gapi.client {
|
|
|
342
365
|
}
|
|
343
366
|
interface PostureTemplate {
|
|
344
367
|
/** Output only. The categories that the posture template belongs to, as determined by the Security Posture API. */
|
|
345
|
-
categories?:
|
|
368
|
+
categories?: 'CATEGORY_UNSPECIFIED' | 'AI' | 'AWS' | 'GCP' | 'AZURE'[];
|
|
346
369
|
/** Output only. A description of the posture template. */
|
|
347
370
|
description?: string;
|
|
348
371
|
/** Output only. Identifier. The name of the posture template, in the format `organizations/{organization}/locations/global/postureTemplates/{posture_template}`. */
|
|
@@ -352,7 +375,7 @@ declare namespace gapi.client {
|
|
|
352
375
|
/** Output only. A string that identifies the revision of the posture template. */
|
|
353
376
|
revisionId?: string;
|
|
354
377
|
/** Output only. The state of the posture template at the specified `revision_id`. */
|
|
355
|
-
state?:
|
|
378
|
+
state?: 'STATE_UNSPECIFIED' | 'ACTIVE' | 'DEPRECATED';
|
|
356
379
|
}
|
|
357
380
|
interface Property {
|
|
358
381
|
/** Required. The name of the custom source property. */
|
|
@@ -386,11 +409,17 @@ declare namespace gapi.client {
|
|
|
386
409
|
/** Output only. Immutable. The unique identifier for the custom module. Contains 1 to 20 digits. */
|
|
387
410
|
id?: string;
|
|
388
411
|
/** Whether the custom module is enabled at a specified level of the resource hierarchy. */
|
|
389
|
-
moduleEnablementState?:
|
|
412
|
+
moduleEnablementState?:
|
|
413
|
+
| 'ENABLEMENT_STATE_UNSPECIFIED'
|
|
414
|
+
| 'ENABLED'
|
|
415
|
+
| 'DISABLED';
|
|
390
416
|
}
|
|
391
417
|
interface SecurityHealthAnalyticsModule {
|
|
392
418
|
/** Whether the detector is enabled at a specified level of the resource hierarchy. */
|
|
393
|
-
moduleEnablementState?:
|
|
419
|
+
moduleEnablementState?:
|
|
420
|
+
| 'ENABLEMENT_STATE_UNSPECIFIED'
|
|
421
|
+
| 'ENABLED'
|
|
422
|
+
| 'DISABLED';
|
|
394
423
|
/** Required. The name of the detector. For example, `BIGQUERY_TABLE_CMEK_DISABLED`. This field is also used as the finding category for all the asset violation findings that the detector returns. */
|
|
395
424
|
moduleName?: string;
|
|
396
425
|
}
|
|
@@ -410,7 +439,12 @@ declare namespace gapi.client {
|
|
|
410
439
|
/** The policy that was violated. */
|
|
411
440
|
policyId?: string;
|
|
412
441
|
/** The severity of the violation. */
|
|
413
|
-
severity?:
|
|
442
|
+
severity?:
|
|
443
|
+
| 'SEVERITY_UNSPECIFIED'
|
|
444
|
+
| 'CRITICAL'
|
|
445
|
+
| 'HIGH'
|
|
446
|
+
| 'MEDIUM'
|
|
447
|
+
| 'LOW';
|
|
414
448
|
/** Details of the Cloud Asset Inventory asset that caused the violation. */
|
|
415
449
|
violatedAsset?: AssetDetails;
|
|
416
450
|
/** Details of the policy that was violated. */
|
|
@@ -422,11 +456,11 @@ declare namespace gapi.client {
|
|
|
422
456
|
/** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */
|
|
423
457
|
cancel(request: {
|
|
424
458
|
/** V1 error format. */
|
|
425
|
-
'$.xgafv'?:
|
|
459
|
+
'$.xgafv'?: '1' | '2';
|
|
426
460
|
/** OAuth access token. */
|
|
427
461
|
access_token?: string;
|
|
428
462
|
/** Data format for response. */
|
|
429
|
-
alt?:
|
|
463
|
+
alt?: 'json' | 'media' | 'proto';
|
|
430
464
|
/** JSONP */
|
|
431
465
|
callback?: string;
|
|
432
466
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -451,11 +485,11 @@ declare namespace gapi.client {
|
|
|
451
485
|
cancel(
|
|
452
486
|
request: {
|
|
453
487
|
/** V1 error format. */
|
|
454
|
-
'$.xgafv'?:
|
|
488
|
+
'$.xgafv'?: '1' | '2';
|
|
455
489
|
/** OAuth access token. */
|
|
456
490
|
access_token?: string;
|
|
457
491
|
/** Data format for response. */
|
|
458
|
-
alt?:
|
|
492
|
+
alt?: 'json' | 'media' | 'proto';
|
|
459
493
|
/** JSONP */
|
|
460
494
|
callback?: string;
|
|
461
495
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -480,11 +514,11 @@ declare namespace gapi.client {
|
|
|
480
514
|
/** 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`. */
|
|
481
515
|
delete(request?: {
|
|
482
516
|
/** V1 error format. */
|
|
483
|
-
'$.xgafv'?:
|
|
517
|
+
'$.xgafv'?: '1' | '2';
|
|
484
518
|
/** OAuth access token. */
|
|
485
519
|
access_token?: string;
|
|
486
520
|
/** Data format for response. */
|
|
487
|
-
alt?:
|
|
521
|
+
alt?: 'json' | 'media' | 'proto';
|
|
488
522
|
/** JSONP */
|
|
489
523
|
callback?: string;
|
|
490
524
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -507,11 +541,11 @@ declare namespace gapi.client {
|
|
|
507
541
|
/** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
|
|
508
542
|
get(request?: {
|
|
509
543
|
/** V1 error format. */
|
|
510
|
-
'$.xgafv'?:
|
|
544
|
+
'$.xgafv'?: '1' | '2';
|
|
511
545
|
/** OAuth access token. */
|
|
512
546
|
access_token?: string;
|
|
513
547
|
/** Data format for response. */
|
|
514
|
-
alt?:
|
|
548
|
+
alt?: 'json' | 'media' | 'proto';
|
|
515
549
|
/** JSONP */
|
|
516
550
|
callback?: string;
|
|
517
551
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -534,11 +568,11 @@ declare namespace gapi.client {
|
|
|
534
568
|
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
535
569
|
list(request?: {
|
|
536
570
|
/** V1 error format. */
|
|
537
|
-
'$.xgafv'?:
|
|
571
|
+
'$.xgafv'?: '1' | '2';
|
|
538
572
|
/** OAuth access token. */
|
|
539
573
|
access_token?: string;
|
|
540
574
|
/** Data format for response. */
|
|
541
|
-
alt?:
|
|
575
|
+
alt?: 'json' | 'media' | 'proto';
|
|
542
576
|
/** JSONP */
|
|
543
577
|
callback?: string;
|
|
544
578
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -571,11 +605,11 @@ declare namespace gapi.client {
|
|
|
571
605
|
/** Creates a new PostureDeployment in a given project and location. */
|
|
572
606
|
create(request: {
|
|
573
607
|
/** V1 error format. */
|
|
574
|
-
'$.xgafv'?:
|
|
608
|
+
'$.xgafv'?: '1' | '2';
|
|
575
609
|
/** OAuth access token. */
|
|
576
610
|
access_token?: string;
|
|
577
611
|
/** Data format for response. */
|
|
578
|
-
alt?:
|
|
612
|
+
alt?: 'json' | 'media' | 'proto';
|
|
579
613
|
/** JSONP */
|
|
580
614
|
callback?: string;
|
|
581
615
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -602,11 +636,11 @@ declare namespace gapi.client {
|
|
|
602
636
|
create(
|
|
603
637
|
request: {
|
|
604
638
|
/** V1 error format. */
|
|
605
|
-
'$.xgafv'?:
|
|
639
|
+
'$.xgafv'?: '1' | '2';
|
|
606
640
|
/** OAuth access token. */
|
|
607
641
|
access_token?: string;
|
|
608
642
|
/** Data format for response. */
|
|
609
|
-
alt?:
|
|
643
|
+
alt?: 'json' | 'media' | 'proto';
|
|
610
644
|
/** JSONP */
|
|
611
645
|
callback?: string;
|
|
612
646
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -633,11 +667,11 @@ declare namespace gapi.client {
|
|
|
633
667
|
/** Deletes a PostureDeployment. */
|
|
634
668
|
delete(request?: {
|
|
635
669
|
/** V1 error format. */
|
|
636
|
-
'$.xgafv'?:
|
|
670
|
+
'$.xgafv'?: '1' | '2';
|
|
637
671
|
/** OAuth access token. */
|
|
638
672
|
access_token?: string;
|
|
639
673
|
/** Data format for response. */
|
|
640
|
-
alt?:
|
|
674
|
+
alt?: 'json' | 'media' | 'proto';
|
|
641
675
|
/** JSONP */
|
|
642
676
|
callback?: string;
|
|
643
677
|
/** Optional. An opaque identifier for the current version of the posture deployment. If you provide this value, then it must match the existing value. If the values don't match, then the request fails with an ABORTED error. If you omit this value, then the posture deployment is deleted regardless of its current `etag` value. */
|
|
@@ -662,11 +696,11 @@ declare namespace gapi.client {
|
|
|
662
696
|
/** Gets details for a PostureDeployment. */
|
|
663
697
|
get(request?: {
|
|
664
698
|
/** V1 error format. */
|
|
665
|
-
'$.xgafv'?:
|
|
699
|
+
'$.xgafv'?: '1' | '2';
|
|
666
700
|
/** OAuth access token. */
|
|
667
701
|
access_token?: string;
|
|
668
702
|
/** Data format for response. */
|
|
669
|
-
alt?:
|
|
703
|
+
alt?: 'json' | 'media' | 'proto';
|
|
670
704
|
/** JSONP */
|
|
671
705
|
callback?: string;
|
|
672
706
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -689,11 +723,11 @@ declare namespace gapi.client {
|
|
|
689
723
|
/** Lists every PostureDeployment in a project and location. */
|
|
690
724
|
list(request?: {
|
|
691
725
|
/** V1 error format. */
|
|
692
|
-
'$.xgafv'?:
|
|
726
|
+
'$.xgafv'?: '1' | '2';
|
|
693
727
|
/** OAuth access token. */
|
|
694
728
|
access_token?: string;
|
|
695
729
|
/** Data format for response. */
|
|
696
|
-
alt?:
|
|
730
|
+
alt?: 'json' | 'media' | 'proto';
|
|
697
731
|
/** JSONP */
|
|
698
732
|
callback?: string;
|
|
699
733
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -722,11 +756,11 @@ declare namespace gapi.client {
|
|
|
722
756
|
/** Updates an existing PostureDeployment. To prevent concurrent updates from overwriting each other, always follow the read-modify-write pattern when you update a posture deployment: 1. Call GetPostureDeployment to get the current version of the deployment. 2. Update the fields in the deployment as needed. 3. Call UpdatePostureDeployment to update the deployment. Ensure that your request includes the `etag` value from the GetPostureDeployment response. **Important:** If you omit the `etag` when you call UpdatePostureDeployment, then the updated deployment unconditionally overwrites the existing deployment. */
|
|
723
757
|
patch(request: {
|
|
724
758
|
/** V1 error format. */
|
|
725
|
-
'$.xgafv'?:
|
|
759
|
+
'$.xgafv'?: '1' | '2';
|
|
726
760
|
/** OAuth access token. */
|
|
727
761
|
access_token?: string;
|
|
728
762
|
/** Data format for response. */
|
|
729
|
-
alt?:
|
|
763
|
+
alt?: 'json' | 'media' | 'proto';
|
|
730
764
|
/** JSONP */
|
|
731
765
|
callback?: string;
|
|
732
766
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -753,11 +787,11 @@ declare namespace gapi.client {
|
|
|
753
787
|
patch(
|
|
754
788
|
request: {
|
|
755
789
|
/** V1 error format. */
|
|
756
|
-
'$.xgafv'?:
|
|
790
|
+
'$.xgafv'?: '1' | '2';
|
|
757
791
|
/** OAuth access token. */
|
|
758
792
|
access_token?: string;
|
|
759
793
|
/** Data format for response. */
|
|
760
|
-
alt?:
|
|
794
|
+
alt?: 'json' | 'media' | 'proto';
|
|
761
795
|
/** JSONP */
|
|
762
796
|
callback?: string;
|
|
763
797
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -786,11 +820,11 @@ declare namespace gapi.client {
|
|
|
786
820
|
/** Creates a new Posture. */
|
|
787
821
|
create(request: {
|
|
788
822
|
/** V1 error format. */
|
|
789
|
-
'$.xgafv'?:
|
|
823
|
+
'$.xgafv'?: '1' | '2';
|
|
790
824
|
/** OAuth access token. */
|
|
791
825
|
access_token?: string;
|
|
792
826
|
/** Data format for response. */
|
|
793
|
-
alt?:
|
|
827
|
+
alt?: 'json' | 'media' | 'proto';
|
|
794
828
|
/** JSONP */
|
|
795
829
|
callback?: string;
|
|
796
830
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -817,11 +851,11 @@ declare namespace gapi.client {
|
|
|
817
851
|
create(
|
|
818
852
|
request: {
|
|
819
853
|
/** V1 error format. */
|
|
820
|
-
'$.xgafv'?:
|
|
854
|
+
'$.xgafv'?: '1' | '2';
|
|
821
855
|
/** OAuth access token. */
|
|
822
856
|
access_token?: string;
|
|
823
857
|
/** Data format for response. */
|
|
824
|
-
alt?:
|
|
858
|
+
alt?: 'json' | 'media' | 'proto';
|
|
825
859
|
/** JSONP */
|
|
826
860
|
callback?: string;
|
|
827
861
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -848,11 +882,11 @@ declare namespace gapi.client {
|
|
|
848
882
|
/** Deletes all revisions of a Posture. You can only delete a posture if none of its revisions are deployed. */
|
|
849
883
|
delete(request?: {
|
|
850
884
|
/** V1 error format. */
|
|
851
|
-
'$.xgafv'?:
|
|
885
|
+
'$.xgafv'?: '1' | '2';
|
|
852
886
|
/** OAuth access token. */
|
|
853
887
|
access_token?: string;
|
|
854
888
|
/** Data format for response. */
|
|
855
|
-
alt?:
|
|
889
|
+
alt?: 'json' | 'media' | 'proto';
|
|
856
890
|
/** JSONP */
|
|
857
891
|
callback?: string;
|
|
858
892
|
/** Optional. An opaque identifier for the current version of the posture. If you provide this value, then it must match the existing value. If the values don't match, then the request fails with an ABORTED error. If you omit this value, then the posture is deleted regardless of its current `etag` value. */
|
|
@@ -877,11 +911,11 @@ declare namespace gapi.client {
|
|
|
877
911
|
/** Extracts existing policies from an organization, folder, or project, and applies them to another organization, folder, or project as a Posture. If the other organization, folder, or project already has a posture, then the result of the long-running operation is an ALREADY_EXISTS error. */
|
|
878
912
|
extract(request: {
|
|
879
913
|
/** V1 error format. */
|
|
880
|
-
'$.xgafv'?:
|
|
914
|
+
'$.xgafv'?: '1' | '2';
|
|
881
915
|
/** OAuth access token. */
|
|
882
916
|
access_token?: string;
|
|
883
917
|
/** Data format for response. */
|
|
884
|
-
alt?:
|
|
918
|
+
alt?: 'json' | 'media' | 'proto';
|
|
885
919
|
/** JSONP */
|
|
886
920
|
callback?: string;
|
|
887
921
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -906,11 +940,11 @@ declare namespace gapi.client {
|
|
|
906
940
|
extract(
|
|
907
941
|
request: {
|
|
908
942
|
/** V1 error format. */
|
|
909
|
-
'$.xgafv'?:
|
|
943
|
+
'$.xgafv'?: '1' | '2';
|
|
910
944
|
/** OAuth access token. */
|
|
911
945
|
access_token?: string;
|
|
912
946
|
/** Data format for response. */
|
|
913
|
-
alt?:
|
|
947
|
+
alt?: 'json' | 'media' | 'proto';
|
|
914
948
|
/** JSONP */
|
|
915
949
|
callback?: string;
|
|
916
950
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -935,11 +969,11 @@ declare namespace gapi.client {
|
|
|
935
969
|
/** Gets a single revision of a Posture. */
|
|
936
970
|
get(request?: {
|
|
937
971
|
/** V1 error format. */
|
|
938
|
-
'$.xgafv'?:
|
|
972
|
+
'$.xgafv'?: '1' | '2';
|
|
939
973
|
/** OAuth access token. */
|
|
940
974
|
access_token?: string;
|
|
941
975
|
/** Data format for response. */
|
|
942
|
-
alt?:
|
|
976
|
+
alt?: 'json' | 'media' | 'proto';
|
|
943
977
|
/** JSONP */
|
|
944
978
|
callback?: string;
|
|
945
979
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -964,11 +998,11 @@ declare namespace gapi.client {
|
|
|
964
998
|
/** Lists the most recent revisions of all Posture resources in a specified organization and location. */
|
|
965
999
|
list(request?: {
|
|
966
1000
|
/** V1 error format. */
|
|
967
|
-
'$.xgafv'?:
|
|
1001
|
+
'$.xgafv'?: '1' | '2';
|
|
968
1002
|
/** OAuth access token. */
|
|
969
1003
|
access_token?: string;
|
|
970
1004
|
/** Data format for response. */
|
|
971
|
-
alt?:
|
|
1005
|
+
alt?: 'json' | 'media' | 'proto';
|
|
972
1006
|
/** JSONP */
|
|
973
1007
|
callback?: string;
|
|
974
1008
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -997,11 +1031,11 @@ declare namespace gapi.client {
|
|
|
997
1031
|
/** Lists all revisions of a single Posture. */
|
|
998
1032
|
listRevisions(request?: {
|
|
999
1033
|
/** V1 error format. */
|
|
1000
|
-
'$.xgafv'?:
|
|
1034
|
+
'$.xgafv'?: '1' | '2';
|
|
1001
1035
|
/** OAuth access token. */
|
|
1002
1036
|
access_token?: string;
|
|
1003
1037
|
/** Data format for response. */
|
|
1004
|
-
alt?:
|
|
1038
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1005
1039
|
/** JSONP */
|
|
1006
1040
|
callback?: string;
|
|
1007
1041
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1028,11 +1062,11 @@ declare namespace gapi.client {
|
|
|
1028
1062
|
/** Updates a revision of an existing Posture. If the posture revision that you update is currently deployed, then a new revision of the posture is created. To prevent concurrent updates from overwriting each other, always follow the read-modify-write pattern when you update a posture: 1. Call GetPosture to get the current version of the posture. 2. Update the fields in the posture as needed. 3. Call UpdatePosture to update the posture. Ensure that your request includes the `etag` value from the GetPosture response. **Important:** If you omit the `etag` when you call UpdatePosture, then the updated posture unconditionally overwrites the existing posture. */
|
|
1029
1063
|
patch(request: {
|
|
1030
1064
|
/** V1 error format. */
|
|
1031
|
-
'$.xgafv'?:
|
|
1065
|
+
'$.xgafv'?: '1' | '2';
|
|
1032
1066
|
/** OAuth access token. */
|
|
1033
1067
|
access_token?: string;
|
|
1034
1068
|
/** Data format for response. */
|
|
1035
|
-
alt?:
|
|
1069
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1036
1070
|
/** JSONP */
|
|
1037
1071
|
callback?: string;
|
|
1038
1072
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1061,11 +1095,11 @@ declare namespace gapi.client {
|
|
|
1061
1095
|
patch(
|
|
1062
1096
|
request: {
|
|
1063
1097
|
/** V1 error format. */
|
|
1064
|
-
'$.xgafv'?:
|
|
1098
|
+
'$.xgafv'?: '1' | '2';
|
|
1065
1099
|
/** OAuth access token. */
|
|
1066
1100
|
access_token?: string;
|
|
1067
1101
|
/** Data format for response. */
|
|
1068
|
-
alt?:
|
|
1102
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1069
1103
|
/** JSONP */
|
|
1070
1104
|
callback?: string;
|
|
1071
1105
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1096,11 +1130,11 @@ declare namespace gapi.client {
|
|
|
1096
1130
|
/** Gets a single revision of a PostureTemplate. */
|
|
1097
1131
|
get(request?: {
|
|
1098
1132
|
/** V1 error format. */
|
|
1099
|
-
'$.xgafv'?:
|
|
1133
|
+
'$.xgafv'?: '1' | '2';
|
|
1100
1134
|
/** OAuth access token. */
|
|
1101
1135
|
access_token?: string;
|
|
1102
1136
|
/** Data format for response. */
|
|
1103
|
-
alt?:
|
|
1137
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1104
1138
|
/** JSONP */
|
|
1105
1139
|
callback?: string;
|
|
1106
1140
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1125,11 +1159,11 @@ declare namespace gapi.client {
|
|
|
1125
1159
|
/** Lists every PostureTemplate in a given organization and location. */
|
|
1126
1160
|
list(request?: {
|
|
1127
1161
|
/** V1 error format. */
|
|
1128
|
-
'$.xgafv'?:
|
|
1162
|
+
'$.xgafv'?: '1' | '2';
|
|
1129
1163
|
/** OAuth access token. */
|
|
1130
1164
|
access_token?: string;
|
|
1131
1165
|
/** Data format for response. */
|
|
1132
|
-
alt?:
|
|
1166
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1133
1167
|
/** JSONP */
|
|
1134
1168
|
callback?: string;
|
|
1135
1169
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1160,11 +1194,11 @@ declare namespace gapi.client {
|
|
|
1160
1194
|
/** Validates a specified infrastructure-as-code (IaC) configuration, and creates a Report with the validation results. Only Terraform configurations are supported. Only modified assets are validated. */
|
|
1161
1195
|
createIaCValidationReport(request: {
|
|
1162
1196
|
/** V1 error format. */
|
|
1163
|
-
'$.xgafv'?:
|
|
1197
|
+
'$.xgafv'?: '1' | '2';
|
|
1164
1198
|
/** OAuth access token. */
|
|
1165
1199
|
access_token?: string;
|
|
1166
1200
|
/** Data format for response. */
|
|
1167
|
-
alt?:
|
|
1201
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1168
1202
|
/** JSONP */
|
|
1169
1203
|
callback?: string;
|
|
1170
1204
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1189,11 +1223,11 @@ declare namespace gapi.client {
|
|
|
1189
1223
|
createIaCValidationReport(
|
|
1190
1224
|
request: {
|
|
1191
1225
|
/** V1 error format. */
|
|
1192
|
-
'$.xgafv'?:
|
|
1226
|
+
'$.xgafv'?: '1' | '2';
|
|
1193
1227
|
/** OAuth access token. */
|
|
1194
1228
|
access_token?: string;
|
|
1195
1229
|
/** Data format for response. */
|
|
1196
|
-
alt?:
|
|
1230
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1197
1231
|
/** JSONP */
|
|
1198
1232
|
callback?: string;
|
|
1199
1233
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1218,11 +1252,11 @@ declare namespace gapi.client {
|
|
|
1218
1252
|
/** Gets details for a Report. */
|
|
1219
1253
|
get(request?: {
|
|
1220
1254
|
/** V1 error format. */
|
|
1221
|
-
'$.xgafv'?:
|
|
1255
|
+
'$.xgafv'?: '1' | '2';
|
|
1222
1256
|
/** OAuth access token. */
|
|
1223
1257
|
access_token?: string;
|
|
1224
1258
|
/** Data format for response. */
|
|
1225
|
-
alt?:
|
|
1259
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1226
1260
|
/** JSONP */
|
|
1227
1261
|
callback?: string;
|
|
1228
1262
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1245,11 +1279,11 @@ declare namespace gapi.client {
|
|
|
1245
1279
|
/** Lists every Report in a given organization and location. */
|
|
1246
1280
|
list(request?: {
|
|
1247
1281
|
/** V1 error format. */
|
|
1248
|
-
'$.xgafv'?:
|
|
1282
|
+
'$.xgafv'?: '1' | '2';
|
|
1249
1283
|
/** OAuth access token. */
|
|
1250
1284
|
access_token?: string;
|
|
1251
1285
|
/** Data format for response. */
|
|
1252
|
-
alt?:
|
|
1286
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1253
1287
|
/** JSONP */
|
|
1254
1288
|
callback?: string;
|
|
1255
1289
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1290,11 +1324,11 @@ declare namespace gapi.client {
|
|
|
1290
1324
|
/** Gets information about a location. */
|
|
1291
1325
|
get(request?: {
|
|
1292
1326
|
/** V1 error format. */
|
|
1293
|
-
'$.xgafv'?:
|
|
1327
|
+
'$.xgafv'?: '1' | '2';
|
|
1294
1328
|
/** OAuth access token. */
|
|
1295
1329
|
access_token?: string;
|
|
1296
1330
|
/** Data format for response. */
|
|
1297
|
-
alt?:
|
|
1331
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1298
1332
|
/** JSONP */
|
|
1299
1333
|
callback?: string;
|
|
1300
1334
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1317,11 +1351,11 @@ declare namespace gapi.client {
|
|
|
1317
1351
|
/** Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project. */
|
|
1318
1352
|
list(request?: {
|
|
1319
1353
|
/** V1 error format. */
|
|
1320
|
-
'$.xgafv'?:
|
|
1354
|
+
'$.xgafv'?: '1' | '2';
|
|
1321
1355
|
/** OAuth access token. */
|
|
1322
1356
|
access_token?: string;
|
|
1323
1357
|
/** Data format for response. */
|
|
1324
|
-
alt?:
|
|
1358
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1325
1359
|
/** JSONP */
|
|
1326
1360
|
callback?: string;
|
|
1327
1361
|
/** Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage. */
|