@maxim_mazurok/gapi.client.assuredworkloads-v1 0.1.20260212 → 0.2.20260223

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.
Files changed (2) hide show
  1. package/index.d.ts +216 -67
  2. package/package.json +1 -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://assuredworkloads.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20260212
12
+ // Revision: 20260223
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -30,7 +30,10 @@ declare namespace gapi.client {
30
30
  namespace assuredworkloads {
31
31
  interface GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest {
32
32
  /** Optional. Acknowledge type of specified violation. */
33
- acknowledgeType?: string;
33
+ acknowledgeType?:
34
+ | 'ACKNOWLEDGE_TYPE_UNSPECIFIED'
35
+ | 'SINGLE_VIOLATION'
36
+ | 'EXISTING_CHILD_RESOURCE_VIOLATIONS';
34
37
  /** Required. Business justification explaining the need for violation acknowledgement */
35
38
  comment?: string;
36
39
  /** Optional. This field is deprecated and will be removed in future version of the API. Name of the OrgPolicy which was modified with non-compliant change and resulted in this violation. Format: projects/{project_number}/policies/{constraint_name} folders/{folder_id}/policies/{constraint_name} organizations/{organization_id}/policies/{constraint_name} */
@@ -45,7 +48,7 @@ declare namespace gapi.client {
45
48
  }
46
49
  interface GoogleCloudAssuredworkloadsV1ApplyWorkloadUpdateOperationMetadata {
47
50
  /** Optional. The time the operation was created. */
48
- action?: string;
51
+ action?: 'WORKLOAD_UPDATE_ACTION_UNSPECIFIED' | 'APPLY';
49
52
  /** Optional. Output only. The time the operation was created. */
50
53
  createTime?: string;
51
54
  /** Required. The resource name of the update */
@@ -53,7 +56,7 @@ declare namespace gapi.client {
53
56
  }
54
57
  interface GoogleCloudAssuredworkloadsV1ApplyWorkloadUpdateRequest {
55
58
  /** The action to be performed on the update. */
56
- action?: string;
59
+ action?: 'WORKLOAD_UPDATE_ACTION_UNSPECIFIED' | 'APPLY';
57
60
  }
58
61
  interface GoogleCloudAssuredworkloadsV1ApplyWorkloadUpdateResponse {
59
62
  /** The update that was applied. */
@@ -69,7 +72,52 @@ declare namespace gapi.client {
69
72
  }
70
73
  interface GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata {
71
74
  /** Optional. Compliance controls that should be applied to the resources managed by the workload. */
72
- complianceRegime?: string;
75
+ complianceRegime?:
76
+ | 'COMPLIANCE_REGIME_UNSPECIFIED'
77
+ | 'IL4'
78
+ | 'CJIS'
79
+ | 'FEDRAMP_HIGH'
80
+ | 'FEDRAMP_MODERATE'
81
+ | 'US_REGIONAL_ACCESS'
82
+ | 'HIPAA'
83
+ | 'HITRUST'
84
+ | 'EU_REGIONS_AND_SUPPORT'
85
+ | 'CA_REGIONS_AND_SUPPORT'
86
+ | 'ITAR'
87
+ | 'AU_REGIONS_AND_US_SUPPORT'
88
+ | 'ASSURED_WORKLOADS_FOR_PARTNERS'
89
+ | 'ISR_REGIONS'
90
+ | 'ISR_REGIONS_AND_SUPPORT'
91
+ | 'CA_PROTECTED_B'
92
+ | 'IL5'
93
+ | 'IL2'
94
+ | 'JP_REGIONS_AND_SUPPORT'
95
+ | 'KSA_REGIONS_AND_SUPPORT_WITH_SOVEREIGNTY_CONTROLS'
96
+ | 'REGIONAL_CONTROLS'
97
+ | 'HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS'
98
+ | 'HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS_US_SUPPORT'
99
+ | 'IRS_1075'
100
+ | 'CANADA_CONTROLLED_GOODS'
101
+ | 'AUSTRALIA_DATA_BOUNDARY_AND_SUPPORT'
102
+ | 'CANADA_DATA_BOUNDARY_AND_SUPPORT'
103
+ | 'DATA_BOUNDARY_FOR_CANADA_CONTROLLED_GOODS'
104
+ | 'DATA_BOUNDARY_FOR_CANADA_PROTECTED_B'
105
+ | 'DATA_BOUNDARY_FOR_CJIS'
106
+ | 'DATA_BOUNDARY_FOR_FEDRAMP_HIGH'
107
+ | 'DATA_BOUNDARY_FOR_FEDRAMP_MODERATE'
108
+ | 'DATA_BOUNDARY_FOR_IL2'
109
+ | 'DATA_BOUNDARY_FOR_IL4'
110
+ | 'DATA_BOUNDARY_FOR_IL5'
111
+ | 'DATA_BOUNDARY_FOR_IRS_PUBLICATION_1075'
112
+ | 'DATA_BOUNDARY_FOR_ITAR'
113
+ | 'EU_DATA_BOUNDARY_AND_SUPPORT'
114
+ | 'ISRAEL_DATA_BOUNDARY_AND_SUPPORT'
115
+ | 'US_DATA_BOUNDARY_AND_SUPPORT'
116
+ | 'US_DATA_BOUNDARY_FOR_HEALTHCARE_AND_LIFE_SCIENCES'
117
+ | 'US_DATA_BOUNDARY_FOR_HEALTHCARE_AND_LIFE_SCIENCES_WITH_SUPPORT'
118
+ | 'KSA_DATA_BOUNDARY_WITH_ACCESS_JUSTIFICATIONS'
119
+ | 'REGIONAL_DATA_BOUNDARY'
120
+ | 'JAPAN_DATA_BOUNDARY';
73
121
  /** Optional. Time when the operation was created. */
74
122
  createTime?: string;
75
123
  /** Optional. The display name of the workload. */
@@ -159,7 +207,11 @@ declare namespace gapi.client {
159
207
  }
160
208
  interface GoogleCloudAssuredworkloadsV1RestrictAllowedResourcesRequest {
161
209
  /** Required. The type of restriction for using gcp products in the Workload environment. */
162
- restrictionType?: string;
210
+ restrictionType?:
211
+ | 'RESTRICTION_TYPE_UNSPECIFIED'
212
+ | 'ALLOW_ALL_GCP_RESOURCES'
213
+ | 'ALLOW_COMPLIANT_RESOURCES'
214
+ | 'APPEND_COMPLIANT_RESOURCES';
163
215
  }
164
216
  interface GoogleCloudAssuredworkloadsV1RestrictAllowedResourcesResponse {}
165
217
  interface GoogleCloudAssuredworkloadsV1UpdateDetails {
@@ -202,11 +254,11 @@ declare namespace gapi.client {
202
254
  /** Optional. Output only. Type of the resource like compute.googleapis.com/Disk, etc. Empty for org-policy violations. */
203
255
  resourceType?: string;
204
256
  /** Output only. State of the violation */
205
- state?: string;
257
+ state?: 'STATE_UNSPECIFIED' | 'RESOLVED' | 'UNRESOLVED' | 'EXCEPTION';
206
258
  /** Output only. The last time when the Violation record was updated. */
207
259
  updateTime?: string;
208
260
  /** Output only. Type of the violation */
209
- violationType?: string;
261
+ violationType?: 'VIOLATION_TYPE_UNSPECIFIED' | 'ORG_POLICY' | 'RESOURCE';
210
262
  }
211
263
  interface GoogleCloudAssuredworkloadsV1ViolationExceptionContext {
212
264
  /** Timestamp when the violation was acknowledged. */
@@ -222,7 +274,14 @@ declare namespace gapi.client {
222
274
  /** Required. Remediation instructions to resolve violations */
223
275
  instructions?: GoogleCloudAssuredworkloadsV1ViolationRemediationInstructions;
224
276
  /** Output only. Reemediation type based on the type of org policy values violated */
225
- remediationType?: string;
277
+ remediationType?:
278
+ | 'REMEDIATION_TYPE_UNSPECIFIED'
279
+ | 'REMEDIATION_BOOLEAN_ORG_POLICY_VIOLATION'
280
+ | 'REMEDIATION_LIST_ALLOWED_VALUES_ORG_POLICY_VIOLATION'
281
+ | 'REMEDIATION_LIST_DENIED_VALUES_ORG_POLICY_VIOLATION'
282
+ | 'REMEDIATION_RESTRICT_CMEK_CRYPTO_KEY_PROJECTS_ORG_POLICY_VIOLATION'
283
+ | 'REMEDIATION_RESOURCE_VIOLATION'
284
+ | 'REMEDIATION_RESOURCE_VIOLATION_NON_CMEK_SERVICES';
226
285
  }
227
286
  interface GoogleCloudAssuredworkloadsV1ViolationRemediationInstructions {
228
287
  /** Remediation instructions to resolve violation via cloud console */
@@ -250,7 +309,52 @@ declare namespace gapi.client {
250
309
  /** Optional. The billing account used for the resources which are direct children of workload. This billing account is initially associated with the resources created as part of Workload creation. After the initial creation of these resources, the customer can change the assigned billing account. The resource name has the form `billingAccounts/{billing_account_id}`. For example, `billingAccounts/012345-567890-ABCDEF`. */
251
310
  billingAccount?: string;
252
311
  /** Required. Immutable. Compliance Regime associated with this workload. */
253
- complianceRegime?: string;
312
+ complianceRegime?:
313
+ | 'COMPLIANCE_REGIME_UNSPECIFIED'
314
+ | 'IL4'
315
+ | 'CJIS'
316
+ | 'FEDRAMP_HIGH'
317
+ | 'FEDRAMP_MODERATE'
318
+ | 'US_REGIONAL_ACCESS'
319
+ | 'HIPAA'
320
+ | 'HITRUST'
321
+ | 'EU_REGIONS_AND_SUPPORT'
322
+ | 'CA_REGIONS_AND_SUPPORT'
323
+ | 'ITAR'
324
+ | 'AU_REGIONS_AND_US_SUPPORT'
325
+ | 'ASSURED_WORKLOADS_FOR_PARTNERS'
326
+ | 'ISR_REGIONS'
327
+ | 'ISR_REGIONS_AND_SUPPORT'
328
+ | 'CA_PROTECTED_B'
329
+ | 'IL5'
330
+ | 'IL2'
331
+ | 'JP_REGIONS_AND_SUPPORT'
332
+ | 'KSA_REGIONS_AND_SUPPORT_WITH_SOVEREIGNTY_CONTROLS'
333
+ | 'REGIONAL_CONTROLS'
334
+ | 'HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS'
335
+ | 'HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS_US_SUPPORT'
336
+ | 'IRS_1075'
337
+ | 'CANADA_CONTROLLED_GOODS'
338
+ | 'AUSTRALIA_DATA_BOUNDARY_AND_SUPPORT'
339
+ | 'CANADA_DATA_BOUNDARY_AND_SUPPORT'
340
+ | 'DATA_BOUNDARY_FOR_CANADA_CONTROLLED_GOODS'
341
+ | 'DATA_BOUNDARY_FOR_CANADA_PROTECTED_B'
342
+ | 'DATA_BOUNDARY_FOR_CJIS'
343
+ | 'DATA_BOUNDARY_FOR_FEDRAMP_HIGH'
344
+ | 'DATA_BOUNDARY_FOR_FEDRAMP_MODERATE'
345
+ | 'DATA_BOUNDARY_FOR_IL2'
346
+ | 'DATA_BOUNDARY_FOR_IL4'
347
+ | 'DATA_BOUNDARY_FOR_IL5'
348
+ | 'DATA_BOUNDARY_FOR_IRS_PUBLICATION_1075'
349
+ | 'DATA_BOUNDARY_FOR_ITAR'
350
+ | 'EU_DATA_BOUNDARY_AND_SUPPORT'
351
+ | 'ISRAEL_DATA_BOUNDARY_AND_SUPPORT'
352
+ | 'US_DATA_BOUNDARY_AND_SUPPORT'
353
+ | 'US_DATA_BOUNDARY_FOR_HEALTHCARE_AND_LIFE_SCIENCES'
354
+ | 'US_DATA_BOUNDARY_FOR_HEALTHCARE_AND_LIFE_SCIENCES_WITH_SUPPORT'
355
+ | 'KSA_DATA_BOUNDARY_WITH_ACCESS_JUSTIFICATIONS'
356
+ | 'REGIONAL_DATA_BOUNDARY'
357
+ | 'JAPAN_DATA_BOUNDARY';
254
358
  /** Output only. Count of active Violations in the Workload. */
255
359
  complianceStatus?: GoogleCloudAssuredworkloadsV1WorkloadComplianceStatus;
256
360
  /** Output only. Urls for services which are compliant for this Assured Workload, but which are currently disallowed by the ResourceUsageRestriction org policy. Invoke RestrictAllowedResources endpoint to allow your project developers to use these services in their environment. */
@@ -266,7 +370,10 @@ declare namespace gapi.client {
266
370
  /** Optional. ETag of the workload, it is calculated on the basis of the Workload contents. It will be used in Update & Delete operations. */
267
371
  etag?: string;
268
372
  /** Output only. Represents the KAJ enrollment state of the given workload. */
269
- kajEnrollmentState?: string;
373
+ kajEnrollmentState?:
374
+ | 'KAJ_ENROLLMENT_STATE_UNSPECIFIED'
375
+ | 'KAJ_ENROLLMENT_STATE_PENDING'
376
+ | 'KAJ_ENROLLMENT_STATE_COMPLETE';
270
377
  /** Input only. Settings used to create a CMEK crypto key. When set, a project with a KMS CMEK key is provisioned. This field is deprecated as of Feb 28, 2022. In order to create a Keyring, callers should specify, ENCRYPTION_KEYS_PROJECT or KEYRING in ResourceSettings.resource_type field. */
271
378
  kmsSettings?: GoogleCloudAssuredworkloadsV1WorkloadKMSSettings;
272
379
  /** Optional. Labels applied to the workload. */
@@ -274,7 +381,15 @@ declare namespace gapi.client {
274
381
  /** Optional. The resource name of the workload. Format: organizations/{organization}/locations/{location}/workloads/{workload} Read-only. */
275
382
  name?: string;
276
383
  /** Optional. Partner regime associated with this workload. */
277
- partner?: string;
384
+ partner?:
385
+ | 'PARTNER_UNSPECIFIED'
386
+ | 'LOCAL_CONTROLS_BY_S3NS'
387
+ | 'SOVEREIGN_CONTROLS_BY_T_SYSTEMS'
388
+ | 'SOVEREIGN_CONTROLS_BY_SIA_MINSAIT'
389
+ | 'SOVEREIGN_CONTROLS_BY_PSN'
390
+ | 'SOVEREIGN_CONTROLS_BY_CNTXT'
391
+ | 'SOVEREIGN_CONTROLS_BY_CNTXT_NO_EKM'
392
+ | 'SPAIN_DATA_BOUNDARY_BY_TELEFONICA';
278
393
  /** Optional. Permissions granted to the AW Partner SA account for the customer workload */
279
394
  partnerPermissions?: GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions;
280
395
  /** Optional. Billing account necessary for purchasing services from Sovereign Partners. This field is required for creating SIA/PSN/CNTXT partner workloads. The caller should have 'billing.resourceAssociations.create' IAM permission on this billing-account. The format of this string is billingAccounts/AAAAAA-BBBBBB-CCCCCC */
@@ -306,11 +421,25 @@ declare namespace gapi.client {
306
421
  }
307
422
  interface GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponse {
308
423
  /** Indicates Ekm provisioning error if any. */
309
- ekmProvisioningErrorDomain?: string;
424
+ ekmProvisioningErrorDomain?:
425
+ | 'EKM_PROVISIONING_ERROR_DOMAIN_UNSPECIFIED'
426
+ | 'UNSPECIFIED_ERROR'
427
+ | 'GOOGLE_SERVER_ERROR'
428
+ | 'EXTERNAL_USER_ERROR'
429
+ | 'EXTERNAL_PARTNER_ERROR'
430
+ | 'TIMEOUT_ERROR';
310
431
  /** Detailed error message if Ekm provisioning fails */
311
- ekmProvisioningErrorMapping?: string;
432
+ ekmProvisioningErrorMapping?:
433
+ | 'EKM_PROVISIONING_ERROR_MAPPING_UNSPECIFIED'
434
+ | 'INVALID_SERVICE_ACCOUNT'
435
+ | 'MISSING_METRICS_SCOPE_ADMIN_PERMISSION'
436
+ | 'MISSING_EKM_CONNECTION_ADMIN_PERMISSION';
312
437
  /** Output only. Indicates Ekm enrollment Provisioning of a given workload. */
313
- ekmProvisioningState?: string;
438
+ ekmProvisioningState?:
439
+ | 'EKM_PROVISIONING_STATE_UNSPECIFIED'
440
+ | 'EKM_PROVISIONING_STATE_PENDING'
441
+ | 'EKM_PROVISIONING_STATE_FAILED'
442
+ | 'EKM_PROVISIONING_STATE_COMPLETED';
314
443
  }
315
444
  interface GoogleCloudAssuredworkloadsV1WorkloadKMSSettings {
316
445
  /** Required. Input only. Immutable. The time at which the Key Management Service will automatically create a new version of the crypto key and mark it as the primary. */
@@ -332,7 +461,12 @@ declare namespace gapi.client {
332
461
  /** Output only. Resource identifier. For a project this represents project_number. */
333
462
  resourceId?: string;
334
463
  /** Indicates the type of resource. */
335
- resourceType?: string;
464
+ resourceType?:
465
+ | 'RESOURCE_TYPE_UNSPECIFIED'
466
+ | 'CONSUMER_PROJECT'
467
+ | 'CONSUMER_FOLDER'
468
+ | 'ENCRYPTION_KEYS_PROJECT'
469
+ | 'KEYRING';
336
470
  }
337
471
  interface GoogleCloudAssuredworkloadsV1WorkloadResourceSettings {
338
472
  /** User-assigned resource display name. If not empty it will be used to create a resource with the specified name. */
@@ -340,13 +474,26 @@ declare namespace gapi.client {
340
474
  /** Resource identifier. For a project this represents project_id. If the project is already taken, the workload creation will fail. For KeyRing, this represents the keyring_id. For a folder, don't set this value as folder_id is assigned by Google. */
341
475
  resourceId?: string;
342
476
  /** Indicates the type of resource. This field should be specified to correspond the id to the right project type (CONSUMER_PROJECT or ENCRYPTION_KEYS_PROJECT) */
343
- resourceType?: string;
477
+ resourceType?:
478
+ | 'RESOURCE_TYPE_UNSPECIFIED'
479
+ | 'CONSUMER_PROJECT'
480
+ | 'CONSUMER_FOLDER'
481
+ | 'ENCRYPTION_KEYS_PROJECT'
482
+ | 'KEYRING';
344
483
  }
345
484
  interface GoogleCloudAssuredworkloadsV1WorkloadSaaEnrollmentResponse {
346
485
  /** Indicates SAA enrollment setup error if any. */
347
- setupErrors?: string[];
486
+ setupErrors?:
487
+ | 'SETUP_ERROR_UNSPECIFIED'
488
+ | 'ERROR_INVALID_BASE_SETUP'
489
+ | 'ERROR_MISSING_EXTERNAL_SIGNING_KEY'
490
+ | 'ERROR_NOT_ALL_SERVICES_ENROLLED'
491
+ | 'ERROR_SETUP_CHECK_FAILED'[];
348
492
  /** Output only. Indicates SAA enrollment status of a given workload. */
349
- setupStatus?: string;
493
+ setupStatus?:
494
+ | 'SETUP_STATE_UNSPECIFIED'
495
+ | 'STATUS_PENDING'
496
+ | 'STATUS_COMPLETE';
350
497
  }
351
498
  interface GoogleCloudAssuredworkloadsV1WorkloadUpdate {
352
499
  /** The time the update was created. */
@@ -356,13 +503,15 @@ declare namespace gapi.client {
356
503
  /** Output only. Immutable. Identifier. Resource name of the WorkloadUpdate. Format: organizations/{organization}/locations/{location}/workloads/{workload}/updates/{update} */
357
504
  name?: string;
358
505
  /** Output only. The state of the update. */
359
- state?: string;
506
+ state?: 'STATE_UNSPECIFIED' | 'AVAILABLE' | 'APPLIED' | 'WITHDRAWN';
360
507
  /** The time the update was last updated. */
361
508
  updateTime?: string;
362
509
  }
363
510
  interface GoogleCloudAssuredworkloadsV1WorkloadWorkloadOptions {
364
511
  /** Optional. Specifies type of KAJ Enrollment if provided. */
365
- kajEnrollmentType?: string;
512
+ kajEnrollmentType?:
513
+ | 'KAJ_ENROLLMENT_TYPE_UNSPECIFIED'
514
+ | 'KEY_ACCESS_TRANSPARENCY_OFF';
366
515
  }
367
516
  interface GoogleLongrunningListOperationsResponse {
368
517
  /** The standard List next-page token. */
@@ -397,11 +546,11 @@ declare namespace gapi.client {
397
546
  /** 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. */
398
547
  get(request?: {
399
548
  /** V1 error format. */
400
- '$.xgafv'?: string;
549
+ '$.xgafv'?: '1' | '2';
401
550
  /** OAuth access token. */
402
551
  access_token?: string;
403
552
  /** Data format for response. */
404
- alt?: string;
553
+ alt?: 'json' | 'media' | 'proto';
405
554
  /** JSONP */
406
555
  callback?: string;
407
556
  /** Selector specifying which fields to include in a partial response. */
@@ -424,11 +573,11 @@ declare namespace gapi.client {
424
573
  /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
425
574
  list(request?: {
426
575
  /** V1 error format. */
427
- '$.xgafv'?: string;
576
+ '$.xgafv'?: '1' | '2';
428
577
  /** OAuth access token. */
429
578
  access_token?: string;
430
579
  /** Data format for response. */
431
- alt?: string;
580
+ alt?: 'json' | 'media' | 'proto';
432
581
  /** JSONP */
433
582
  callback?: string;
434
583
  /** Selector specifying which fields to include in a partial response. */
@@ -461,11 +610,11 @@ declare namespace gapi.client {
461
610
  /** This endpoint creates a new operation to apply the given update. */
462
611
  apply(request: {
463
612
  /** V1 error format. */
464
- '$.xgafv'?: string;
613
+ '$.xgafv'?: '1' | '2';
465
614
  /** OAuth access token. */
466
615
  access_token?: string;
467
616
  /** Data format for response. */
468
- alt?: string;
617
+ alt?: 'json' | 'media' | 'proto';
469
618
  /** JSONP */
470
619
  callback?: string;
471
620
  /** Selector specifying which fields to include in a partial response. */
@@ -490,11 +639,11 @@ declare namespace gapi.client {
490
639
  apply(
491
640
  request: {
492
641
  /** V1 error format. */
493
- '$.xgafv'?: string;
642
+ '$.xgafv'?: '1' | '2';
494
643
  /** OAuth access token. */
495
644
  access_token?: string;
496
645
  /** Data format for response. */
497
- alt?: string;
646
+ alt?: 'json' | 'media' | 'proto';
498
647
  /** JSONP */
499
648
  callback?: string;
500
649
  /** Selector specifying which fields to include in a partial response. */
@@ -519,11 +668,11 @@ declare namespace gapi.client {
519
668
  /** This endpoint lists all updates for the given workload. */
520
669
  list(request?: {
521
670
  /** V1 error format. */
522
- '$.xgafv'?: string;
671
+ '$.xgafv'?: '1' | '2';
523
672
  /** OAuth access token. */
524
673
  access_token?: string;
525
674
  /** Data format for response. */
526
- alt?: string;
675
+ alt?: 'json' | 'media' | 'proto';
527
676
  /** JSONP */
528
677
  callback?: string;
529
678
  /** Selector specifying which fields to include in a partial response. */
@@ -552,11 +701,11 @@ declare namespace gapi.client {
552
701
  /** Acknowledges an existing violation. By acknowledging a violation, users acknowledge the existence of a compliance violation in their workload and decide to ignore it due to a valid business justification. Acknowledgement is a permanent operation and it cannot be reverted. */
553
702
  acknowledge(request: {
554
703
  /** V1 error format. */
555
- '$.xgafv'?: string;
704
+ '$.xgafv'?: '1' | '2';
556
705
  /** OAuth access token. */
557
706
  access_token?: string;
558
707
  /** Data format for response. */
559
- alt?: string;
708
+ alt?: 'json' | 'media' | 'proto';
560
709
  /** JSONP */
561
710
  callback?: string;
562
711
  /** Selector specifying which fields to include in a partial response. */
@@ -581,11 +730,11 @@ declare namespace gapi.client {
581
730
  acknowledge(
582
731
  request: {
583
732
  /** V1 error format. */
584
- '$.xgafv'?: string;
733
+ '$.xgafv'?: '1' | '2';
585
734
  /** OAuth access token. */
586
735
  access_token?: string;
587
736
  /** Data format for response. */
588
- alt?: string;
737
+ alt?: 'json' | 'media' | 'proto';
589
738
  /** JSONP */
590
739
  callback?: string;
591
740
  /** Selector specifying which fields to include in a partial response. */
@@ -610,11 +759,11 @@ declare namespace gapi.client {
610
759
  /** Retrieves Assured Workload Violation based on ID. */
611
760
  get(request?: {
612
761
  /** V1 error format. */
613
- '$.xgafv'?: string;
762
+ '$.xgafv'?: '1' | '2';
614
763
  /** OAuth access token. */
615
764
  access_token?: string;
616
765
  /** Data format for response. */
617
- alt?: string;
766
+ alt?: 'json' | 'media' | 'proto';
618
767
  /** JSONP */
619
768
  callback?: string;
620
769
  /** Selector specifying which fields to include in a partial response. */
@@ -637,11 +786,11 @@ declare namespace gapi.client {
637
786
  /** Lists the Violations in the AssuredWorkload Environment. Callers may also choose to read across multiple Workloads as per [AIP-159](https://google.aip.dev/159) by using '-' (the hyphen or dash character) as a wildcard character instead of workload-id in the parent. Format `organizations/{org_id}/locations/{location}/workloads/-` */
638
787
  list(request?: {
639
788
  /** V1 error format. */
640
- '$.xgafv'?: string;
789
+ '$.xgafv'?: '1' | '2';
641
790
  /** OAuth access token. */
642
791
  access_token?: string;
643
792
  /** Data format for response. */
644
- alt?: string;
793
+ alt?: 'json' | 'media' | 'proto';
645
794
  /** JSONP */
646
795
  callback?: string;
647
796
  /** Selector specifying which fields to include in a partial response. */
@@ -676,11 +825,11 @@ declare namespace gapi.client {
676
825
  /** Analyzes a hypothetical move of a source resource to a target workload to surface compliance risks. The analysis is best effort and is not guaranteed to be exhaustive. */
677
826
  analyzeWorkloadMove(request?: {
678
827
  /** V1 error format. */
679
- '$.xgafv'?: string;
828
+ '$.xgafv'?: '1' | '2';
680
829
  /** OAuth access token. */
681
830
  access_token?: string;
682
831
  /** Data format for response. */
683
- alt?: string;
832
+ alt?: 'json' | 'media' | 'proto';
684
833
  /** Optional. List of asset types to be analyzed, including and under the source resource. If empty, all assets are analyzed. The complete list of asset types is available [here](https://cloud.google.com/asset-inventory/docs/supported-asset-types). */
685
834
  assetTypes?: string | string[];
686
835
  /** JSONP */
@@ -711,11 +860,11 @@ declare namespace gapi.client {
711
860
  /** Creates Assured Workload. */
712
861
  create(request: {
713
862
  /** V1 error format. */
714
- '$.xgafv'?: string;
863
+ '$.xgafv'?: '1' | '2';
715
864
  /** OAuth access token. */
716
865
  access_token?: string;
717
866
  /** Data format for response. */
718
- alt?: string;
867
+ alt?: 'json' | 'media' | 'proto';
719
868
  /** JSONP */
720
869
  callback?: string;
721
870
  /** Optional. A identifier associated with the workload and underlying projects which allows for the break down of billing costs for a workload. The value provided for the identifier will add a label to the workload and contained projects with the identifier as the value. */
@@ -742,11 +891,11 @@ declare namespace gapi.client {
742
891
  create(
743
892
  request: {
744
893
  /** V1 error format. */
745
- '$.xgafv'?: string;
894
+ '$.xgafv'?: '1' | '2';
746
895
  /** OAuth access token. */
747
896
  access_token?: string;
748
897
  /** Data format for response. */
749
- alt?: string;
898
+ alt?: 'json' | 'media' | 'proto';
750
899
  /** JSONP */
751
900
  callback?: string;
752
901
  /** Optional. A identifier associated with the workload and underlying projects which allows for the break down of billing costs for a workload. The value provided for the identifier will add a label to the workload and contained projects with the identifier as the value. */
@@ -773,11 +922,11 @@ declare namespace gapi.client {
773
922
  /** Deletes the workload. Make sure that workload's direct children are already in a deleted state, otherwise the request will fail with a FAILED_PRECONDITION error. In addition to assuredworkloads.workload.delete permission, the user should also have orgpolicy.policy.set permission on the deleted folder to remove Assured Workloads OrgPolicies. */
774
923
  delete(request?: {
775
924
  /** V1 error format. */
776
- '$.xgafv'?: string;
925
+ '$.xgafv'?: '1' | '2';
777
926
  /** OAuth access token. */
778
927
  access_token?: string;
779
928
  /** Data format for response. */
780
- alt?: string;
929
+ alt?: 'json' | 'media' | 'proto';
781
930
  /** JSONP */
782
931
  callback?: string;
783
932
  /** Optional. The etag of the workload. If this is provided, it must match the server's etag. */
@@ -802,11 +951,11 @@ declare namespace gapi.client {
802
951
  /** This endpoint enables Assured Workloads service to offer compliance updates for the folder based assured workload. It sets up an Assured Workloads Service Agent, having permissions to read compliance controls (for example: Org Policies) applied on the workload. The caller must have `resourcemanager.folders.getIamPolicy` and `resourcemanager.folders.setIamPolicy` permissions on the assured workload folder. */
803
952
  enableComplianceUpdates(request?: {
804
953
  /** V1 error format. */
805
- '$.xgafv'?: string;
954
+ '$.xgafv'?: '1' | '2';
806
955
  /** OAuth access token. */
807
956
  access_token?: string;
808
957
  /** Data format for response. */
809
- alt?: string;
958
+ alt?: 'json' | 'media' | 'proto';
810
959
  /** JSONP */
811
960
  callback?: string;
812
961
  /** Selector specifying which fields to include in a partial response. */
@@ -829,11 +978,11 @@ declare namespace gapi.client {
829
978
  /** Enable resource violation monitoring for a workload. */
830
979
  enableResourceMonitoring(request?: {
831
980
  /** V1 error format. */
832
- '$.xgafv'?: string;
981
+ '$.xgafv'?: '1' | '2';
833
982
  /** OAuth access token. */
834
983
  access_token?: string;
835
984
  /** Data format for response. */
836
- alt?: string;
985
+ alt?: 'json' | 'media' | 'proto';
837
986
  /** JSONP */
838
987
  callback?: string;
839
988
  /** Selector specifying which fields to include in a partial response. */
@@ -856,11 +1005,11 @@ declare namespace gapi.client {
856
1005
  /** Gets Assured Workload associated with a CRM Node */
857
1006
  get(request?: {
858
1007
  /** V1 error format. */
859
- '$.xgafv'?: string;
1008
+ '$.xgafv'?: '1' | '2';
860
1009
  /** OAuth access token. */
861
1010
  access_token?: string;
862
1011
  /** Data format for response. */
863
- alt?: string;
1012
+ alt?: 'json' | 'media' | 'proto';
864
1013
  /** JSONP */
865
1014
  callback?: string;
866
1015
  /** Selector specifying which fields to include in a partial response. */
@@ -883,11 +1032,11 @@ declare namespace gapi.client {
883
1032
  /** Lists Assured Workloads under a CRM Node. */
884
1033
  list(request?: {
885
1034
  /** V1 error format. */
886
- '$.xgafv'?: string;
1035
+ '$.xgafv'?: '1' | '2';
887
1036
  /** OAuth access token. */
888
1037
  access_token?: string;
889
1038
  /** Data format for response. */
890
- alt?: string;
1039
+ alt?: 'json' | 'media' | 'proto';
891
1040
  /** JSONP */
892
1041
  callback?: string;
893
1042
  /** Selector specifying which fields to include in a partial response. */
@@ -916,11 +1065,11 @@ declare namespace gapi.client {
916
1065
  /** Update the permissions settings for an existing partner workload. For force updates don't set etag field in the Workload. Only one update operation per workload can be in progress. */
917
1066
  mutatePartnerPermissions(request: {
918
1067
  /** V1 error format. */
919
- '$.xgafv'?: string;
1068
+ '$.xgafv'?: '1' | '2';
920
1069
  /** OAuth access token. */
921
1070
  access_token?: string;
922
1071
  /** Data format for response. */
923
- alt?: string;
1072
+ alt?: 'json' | 'media' | 'proto';
924
1073
  /** JSONP */
925
1074
  callback?: string;
926
1075
  /** Selector specifying which fields to include in a partial response. */
@@ -945,11 +1094,11 @@ declare namespace gapi.client {
945
1094
  mutatePartnerPermissions(
946
1095
  request: {
947
1096
  /** V1 error format. */
948
- '$.xgafv'?: string;
1097
+ '$.xgafv'?: '1' | '2';
949
1098
  /** OAuth access token. */
950
1099
  access_token?: string;
951
1100
  /** Data format for response. */
952
- alt?: string;
1101
+ alt?: 'json' | 'media' | 'proto';
953
1102
  /** JSONP */
954
1103
  callback?: string;
955
1104
  /** Selector specifying which fields to include in a partial response. */
@@ -974,11 +1123,11 @@ declare namespace gapi.client {
974
1123
  /** Updates an existing workload. Currently allows updating of workload display_name and labels. For force updates don't set etag field in the Workload. Only one update operation per workload can be in progress. */
975
1124
  patch(request: {
976
1125
  /** V1 error format. */
977
- '$.xgafv'?: string;
1126
+ '$.xgafv'?: '1' | '2';
978
1127
  /** OAuth access token. */
979
1128
  access_token?: string;
980
1129
  /** Data format for response. */
981
- alt?: string;
1130
+ alt?: 'json' | 'media' | 'proto';
982
1131
  /** JSONP */
983
1132
  callback?: string;
984
1133
  /** Selector specifying which fields to include in a partial response. */
@@ -1005,11 +1154,11 @@ declare namespace gapi.client {
1005
1154
  patch(
1006
1155
  request: {
1007
1156
  /** V1 error format. */
1008
- '$.xgafv'?: string;
1157
+ '$.xgafv'?: '1' | '2';
1009
1158
  /** OAuth access token. */
1010
1159
  access_token?: string;
1011
1160
  /** Data format for response. */
1012
- alt?: string;
1161
+ alt?: 'json' | 'media' | 'proto';
1013
1162
  /** JSONP */
1014
1163
  callback?: string;
1015
1164
  /** Selector specifying which fields to include in a partial response. */
@@ -1036,11 +1185,11 @@ declare namespace gapi.client {
1036
1185
  /** Restrict the list of resources allowed in the Workload environment. The current list of allowed products can be found at https://cloud.google.com/assured-workloads/docs/supported-products In addition to assuredworkloads.workload.update permission, the user should also have orgpolicy.policy.set permission on the folder resource to use this functionality. */
1037
1186
  restrictAllowedResources(request: {
1038
1187
  /** V1 error format. */
1039
- '$.xgafv'?: string;
1188
+ '$.xgafv'?: '1' | '2';
1040
1189
  /** OAuth access token. */
1041
1190
  access_token?: string;
1042
1191
  /** Data format for response. */
1043
- alt?: string;
1192
+ alt?: 'json' | 'media' | 'proto';
1044
1193
  /** JSONP */
1045
1194
  callback?: string;
1046
1195
  /** Selector specifying which fields to include in a partial response. */
@@ -1065,11 +1214,11 @@ declare namespace gapi.client {
1065
1214
  restrictAllowedResources(
1066
1215
  request: {
1067
1216
  /** V1 error format. */
1068
- '$.xgafv'?: string;
1217
+ '$.xgafv'?: '1' | '2';
1069
1218
  /** OAuth access token. */
1070
1219
  access_token?: string;
1071
1220
  /** Data format for response. */
1072
- alt?: string;
1221
+ alt?: 'json' | 'media' | 'proto';
1073
1222
  /** JSONP */
1074
1223
  callback?: string;
1075
1224
  /** Selector specifying which fields to include in a partial response. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.assuredworkloads-v1",
3
- "version": "0.1.20260212",
3
+ "version": "0.2.20260223",
4
4
  "description": "TypeScript typings for Assured Workloads API v1",
5
5
  "repository": {
6
6
  "type": "git",