@maxim_mazurok/gapi.client.assuredworkloads-v1beta1 0.2.20260601 → 0.2.20260623
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 +135 -4
- 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=v1beta1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260623
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -99,7 +99,10 @@ declare namespace gapi.client {
|
|
|
99
99
|
/** Required. The resource names of the Violations to acknowledge. Format for each name: organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation} */
|
|
100
100
|
names?: string[];
|
|
101
101
|
}
|
|
102
|
-
interface GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse {
|
|
102
|
+
interface GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse {
|
|
103
|
+
/** Count of acknowledged violations. */
|
|
104
|
+
acknowledgedViolationsCount?: number;
|
|
105
|
+
}
|
|
103
106
|
interface GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata {
|
|
104
107
|
/** Optional. Compliance controls that should be applied to the resources managed by the workload. */
|
|
105
108
|
complianceRegime?:
|
|
@@ -120,6 +123,7 @@ declare namespace gapi.client {
|
|
|
120
123
|
| 'EU_DATA_BOUNDARY_AND_SUPPORT'
|
|
121
124
|
| 'ISRAEL_DATA_BOUNDARY_AND_SUPPORT'
|
|
122
125
|
| 'JAPAN_DATA_BOUNDARY'
|
|
126
|
+
| 'SWITZERLAND_DATA_BOUNDARY_WITH_ACCESS_JUSTIFICATIONS'
|
|
123
127
|
| 'KSA_DATA_BOUNDARY_WITH_ACCESS_JUSTIFICATIONS'
|
|
124
128
|
| 'REGIONAL_DATA_BOUNDARY'
|
|
125
129
|
| 'US_DATA_BOUNDARY_AND_SUPPORT'
|
|
@@ -162,6 +166,8 @@ declare namespace gapi.client {
|
|
|
162
166
|
interface GoogleCloudAssuredworkloadsV1beta1ListViolationsResponse {
|
|
163
167
|
/** The next page token. Returns empty if reached the last page. */
|
|
164
168
|
nextPageToken?: string;
|
|
169
|
+
/** The total number of violations. */
|
|
170
|
+
totalSize?: number;
|
|
165
171
|
/** List of Violations under a Workload. */
|
|
166
172
|
violations?: GoogleCloudAssuredworkloadsV1beta1Violation[];
|
|
167
173
|
}
|
|
@@ -373,6 +379,7 @@ declare namespace gapi.client {
|
|
|
373
379
|
| 'EU_DATA_BOUNDARY_AND_SUPPORT'
|
|
374
380
|
| 'ISRAEL_DATA_BOUNDARY_AND_SUPPORT'
|
|
375
381
|
| 'JAPAN_DATA_BOUNDARY'
|
|
382
|
+
| 'SWITZERLAND_DATA_BOUNDARY_WITH_ACCESS_JUSTIFICATIONS'
|
|
376
383
|
| 'KSA_DATA_BOUNDARY_WITH_ACCESS_JUSTIFICATIONS'
|
|
377
384
|
| 'REGIONAL_DATA_BOUNDARY'
|
|
378
385
|
| 'US_DATA_BOUNDARY_AND_SUPPORT'
|
|
@@ -786,6 +793,66 @@ declare namespace gapi.client {
|
|
|
786
793
|
uploadType?: string;
|
|
787
794
|
}): Request<GoogleLongrunningListOperationsResponse>;
|
|
788
795
|
}
|
|
796
|
+
interface ViolationsResource {
|
|
797
|
+
/** Acknowledges multiple existing violations. By acknowledging violations, users acknowledge the existence of compliance violations in their workload and decide to ignore them due to a valid business justification. Acknowledgement is a permanent operation and it cannot be reverted. This is a batch version of AcknowledgeViolation. */
|
|
798
|
+
batchAcknowledgeViolations(request: {
|
|
799
|
+
/** V1 error format. */
|
|
800
|
+
'$.xgafv'?: '1' | '2';
|
|
801
|
+
/** OAuth access token. */
|
|
802
|
+
access_token?: string;
|
|
803
|
+
/** Data format for response. */
|
|
804
|
+
alt?: 'json' | 'media' | 'proto';
|
|
805
|
+
/** JSONP */
|
|
806
|
+
callback?: string;
|
|
807
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
808
|
+
fields?: string;
|
|
809
|
+
/** 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. */
|
|
810
|
+
key?: string;
|
|
811
|
+
/** OAuth 2.0 token for the current user. */
|
|
812
|
+
oauth_token?: string;
|
|
813
|
+
/** Optional. The parent resource shared by all violations being acknowledged. Format: organizations/{organization}/locations/{location}/workloads/{workload} */
|
|
814
|
+
parent: string;
|
|
815
|
+
/** Returns response with indentations and line breaks. */
|
|
816
|
+
prettyPrint?: boolean;
|
|
817
|
+
/** 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. */
|
|
818
|
+
quotaUser?: string;
|
|
819
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
820
|
+
upload_protocol?: string;
|
|
821
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
822
|
+
uploadType?: string;
|
|
823
|
+
/** Request body */
|
|
824
|
+
resource: GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest;
|
|
825
|
+
}): Request<GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse>;
|
|
826
|
+
batchAcknowledgeViolations(
|
|
827
|
+
request: {
|
|
828
|
+
/** V1 error format. */
|
|
829
|
+
'$.xgafv'?: '1' | '2';
|
|
830
|
+
/** OAuth access token. */
|
|
831
|
+
access_token?: string;
|
|
832
|
+
/** Data format for response. */
|
|
833
|
+
alt?: 'json' | 'media' | 'proto';
|
|
834
|
+
/** JSONP */
|
|
835
|
+
callback?: string;
|
|
836
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
837
|
+
fields?: string;
|
|
838
|
+
/** 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. */
|
|
839
|
+
key?: string;
|
|
840
|
+
/** OAuth 2.0 token for the current user. */
|
|
841
|
+
oauth_token?: string;
|
|
842
|
+
/** Optional. The parent resource shared by all violations being acknowledged. Format: organizations/{organization}/locations/{location}/workloads/{workload} */
|
|
843
|
+
parent: string;
|
|
844
|
+
/** Returns response with indentations and line breaks. */
|
|
845
|
+
prettyPrint?: boolean;
|
|
846
|
+
/** 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. */
|
|
847
|
+
quotaUser?: string;
|
|
848
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
849
|
+
upload_protocol?: string;
|
|
850
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
851
|
+
uploadType?: string;
|
|
852
|
+
},
|
|
853
|
+
body: GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest,
|
|
854
|
+
): Request<GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse>;
|
|
855
|
+
}
|
|
789
856
|
interface UpdatesResource {
|
|
790
857
|
/** This endpoint creates a new operation to apply the given update. */
|
|
791
858
|
apply(request: {
|
|
@@ -964,7 +1031,7 @@ declare namespace gapi.client {
|
|
|
964
1031
|
uploadType?: string;
|
|
965
1032
|
/** Request body */
|
|
966
1033
|
resource: GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest;
|
|
967
|
-
}): Request<
|
|
1034
|
+
}): Request<GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse>;
|
|
968
1035
|
batchAcknowledgeViolations(
|
|
969
1036
|
request: {
|
|
970
1037
|
/** V1 error format. */
|
|
@@ -993,7 +1060,7 @@ declare namespace gapi.client {
|
|
|
993
1060
|
uploadType?: string;
|
|
994
1061
|
},
|
|
995
1062
|
body: GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest,
|
|
996
|
-
): Request<
|
|
1063
|
+
): Request<GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse>;
|
|
997
1064
|
/** Retrieves Assured Workload Violation based on ID. */
|
|
998
1065
|
get(request?: {
|
|
999
1066
|
/** V1 error format. */
|
|
@@ -1043,6 +1110,8 @@ declare namespace gapi.client {
|
|
|
1043
1110
|
key?: string;
|
|
1044
1111
|
/** OAuth 2.0 token for the current user. */
|
|
1045
1112
|
oauth_token?: string;
|
|
1113
|
+
/** Optional. Actionable sorting delegation. */
|
|
1114
|
+
orderBy?: string;
|
|
1046
1115
|
/** Optional. Page size. */
|
|
1047
1116
|
pageSize?: number;
|
|
1048
1117
|
/** Optional. Page token returned from previous request. */
|
|
@@ -1425,10 +1494,72 @@ declare namespace gapi.client {
|
|
|
1425
1494
|
}
|
|
1426
1495
|
interface LocationsResource {
|
|
1427
1496
|
operations: OperationsResource;
|
|
1497
|
+
violations: ViolationsResource;
|
|
1428
1498
|
workloads: WorkloadsResource;
|
|
1429
1499
|
}
|
|
1500
|
+
interface ViolationsResource {
|
|
1501
|
+
/** Acknowledges multiple existing violations. By acknowledging violations, users acknowledge the existence of compliance violations in their workload and decide to ignore them due to a valid business justification. Acknowledgement is a permanent operation and it cannot be reverted. This is a batch version of AcknowledgeViolation. */
|
|
1502
|
+
batchAcknowledgeViolations(request: {
|
|
1503
|
+
/** V1 error format. */
|
|
1504
|
+
'$.xgafv'?: '1' | '2';
|
|
1505
|
+
/** OAuth access token. */
|
|
1506
|
+
access_token?: string;
|
|
1507
|
+
/** Data format for response. */
|
|
1508
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1509
|
+
/** JSONP */
|
|
1510
|
+
callback?: string;
|
|
1511
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1512
|
+
fields?: string;
|
|
1513
|
+
/** 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. */
|
|
1514
|
+
key?: string;
|
|
1515
|
+
/** OAuth 2.0 token for the current user. */
|
|
1516
|
+
oauth_token?: string;
|
|
1517
|
+
/** Optional. The parent resource shared by all violations being acknowledged. Format: organizations/{organization}/locations/{location}/workloads/{workload} */
|
|
1518
|
+
parent: string;
|
|
1519
|
+
/** Returns response with indentations and line breaks. */
|
|
1520
|
+
prettyPrint?: boolean;
|
|
1521
|
+
/** 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. */
|
|
1522
|
+
quotaUser?: string;
|
|
1523
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1524
|
+
upload_protocol?: string;
|
|
1525
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1526
|
+
uploadType?: string;
|
|
1527
|
+
/** Request body */
|
|
1528
|
+
resource: GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest;
|
|
1529
|
+
}): Request<GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse>;
|
|
1530
|
+
batchAcknowledgeViolations(
|
|
1531
|
+
request: {
|
|
1532
|
+
/** V1 error format. */
|
|
1533
|
+
'$.xgafv'?: '1' | '2';
|
|
1534
|
+
/** OAuth access token. */
|
|
1535
|
+
access_token?: string;
|
|
1536
|
+
/** Data format for response. */
|
|
1537
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1538
|
+
/** JSONP */
|
|
1539
|
+
callback?: string;
|
|
1540
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1541
|
+
fields?: string;
|
|
1542
|
+
/** 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. */
|
|
1543
|
+
key?: string;
|
|
1544
|
+
/** OAuth 2.0 token for the current user. */
|
|
1545
|
+
oauth_token?: string;
|
|
1546
|
+
/** Optional. The parent resource shared by all violations being acknowledged. Format: organizations/{organization}/locations/{location}/workloads/{workload} */
|
|
1547
|
+
parent: string;
|
|
1548
|
+
/** Returns response with indentations and line breaks. */
|
|
1549
|
+
prettyPrint?: boolean;
|
|
1550
|
+
/** 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. */
|
|
1551
|
+
quotaUser?: string;
|
|
1552
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1553
|
+
upload_protocol?: string;
|
|
1554
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1555
|
+
uploadType?: string;
|
|
1556
|
+
},
|
|
1557
|
+
body: GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsRequest,
|
|
1558
|
+
): Request<GoogleCloudAssuredworkloadsV1beta1BatchAcknowledgeViolationsResponse>;
|
|
1559
|
+
}
|
|
1430
1560
|
interface OrganizationsResource {
|
|
1431
1561
|
locations: LocationsResource;
|
|
1562
|
+
violations: ViolationsResource;
|
|
1432
1563
|
}
|
|
1433
1564
|
|
|
1434
1565
|
const assuredworkloads: AssuredworkloadsResource;
|