@maxim_mazurok/gapi.client.assuredworkloads-v1 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 +172 -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=v1
|
|
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 GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse {
|
|
102
|
+
interface GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse {
|
|
103
|
+
/** Count of acknowledged violations. */
|
|
104
|
+
acknowledgedViolationsCount?: number;
|
|
105
|
+
}
|
|
103
106
|
interface GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata {
|
|
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'
|
|
@@ -155,11 +159,50 @@ declare namespace gapi.client {
|
|
|
155
159
|
/** Optional. The parent of the workload. */
|
|
156
160
|
parent?: string;
|
|
157
161
|
}
|
|
162
|
+
interface GoogleCloudAssuredworkloadsV1DbFindingSummary {
|
|
163
|
+
/** Output only. The category of the finding. */
|
|
164
|
+
findingCategory?: string;
|
|
165
|
+
/** Output only. The class of the finding. */
|
|
166
|
+
findingClass?:
|
|
167
|
+
| 'FINDING_CLASS_UNSPECIFIED'
|
|
168
|
+
| 'THREAT'
|
|
169
|
+
| 'VULNERABILITY'
|
|
170
|
+
| 'MISCONFIGURATION'
|
|
171
|
+
| 'OBSERVATION'
|
|
172
|
+
| 'SCC_ERROR'
|
|
173
|
+
| 'POSTURE_VIOLATION'
|
|
174
|
+
| 'TOXIC_COMBINATION'
|
|
175
|
+
| 'SENSITIVE_DATA_RISK'
|
|
176
|
+
| 'CHOKEPOINT';
|
|
177
|
+
/** Output only. The count of the finding. */
|
|
178
|
+
findingCount?: string;
|
|
179
|
+
/** Identifier. The name of the finding summary. */
|
|
180
|
+
name?: string;
|
|
181
|
+
/** Optional. The list of compliance frameworks that the finding belongs to. */
|
|
182
|
+
relatedFrameworks?: string[];
|
|
183
|
+
/** Output only. The severity of the finding. */
|
|
184
|
+
severity?:
|
|
185
|
+
| 'SEVERITY_UNSPECIFIED'
|
|
186
|
+
| 'CRITICAL'
|
|
187
|
+
| 'HIGH'
|
|
188
|
+
| 'MEDIUM'
|
|
189
|
+
| 'LOW';
|
|
190
|
+
/** Output only. The last updated time of the finding. */
|
|
191
|
+
updateTime?: string;
|
|
192
|
+
}
|
|
158
193
|
interface GoogleCloudAssuredworkloadsV1EnableComplianceUpdatesResponse {}
|
|
159
194
|
interface GoogleCloudAssuredworkloadsV1EnableResourceMonitoringResponse {}
|
|
195
|
+
interface GoogleCloudAssuredworkloadsV1ListDbFindingSummariesResponse {
|
|
196
|
+
/** List of finding summary by category. */
|
|
197
|
+
dbFindingSummaries?: GoogleCloudAssuredworkloadsV1DbFindingSummary[];
|
|
198
|
+
/** Output only. The token to retrieve the next page of results. */
|
|
199
|
+
nextPageToken?: string;
|
|
200
|
+
}
|
|
160
201
|
interface GoogleCloudAssuredworkloadsV1ListViolationsResponse {
|
|
161
202
|
/** The next page token. Returns empty if reached the last page. */
|
|
162
203
|
nextPageToken?: string;
|
|
204
|
+
/** The total number of violations. */
|
|
205
|
+
totalSize?: number;
|
|
163
206
|
/** List of Violations under a Workload. */
|
|
164
207
|
violations?: GoogleCloudAssuredworkloadsV1Violation[];
|
|
165
208
|
}
|
|
@@ -375,6 +418,7 @@ declare namespace gapi.client {
|
|
|
375
418
|
| 'EU_DATA_BOUNDARY_AND_SUPPORT'
|
|
376
419
|
| 'ISRAEL_DATA_BOUNDARY_AND_SUPPORT'
|
|
377
420
|
| 'JAPAN_DATA_BOUNDARY'
|
|
421
|
+
| 'SWITZERLAND_DATA_BOUNDARY_WITH_ACCESS_JUSTIFICATIONS'
|
|
378
422
|
| 'KSA_DATA_BOUNDARY_WITH_ACCESS_JUSTIFICATIONS'
|
|
379
423
|
| 'REGIONAL_DATA_BOUNDARY'
|
|
380
424
|
| 'US_DATA_BOUNDARY_AND_SUPPORT'
|
|
@@ -700,6 +744,82 @@ declare namespace gapi.client {
|
|
|
700
744
|
body: GoogleCloudAssuredworkloadsV1RevertArchivedResourceEventsRequest,
|
|
701
745
|
): Request<GoogleCloudAssuredworkloadsV1RevertArchivedResourceEventsResponse>;
|
|
702
746
|
}
|
|
747
|
+
interface DbFindingSummariesResource {
|
|
748
|
+
/** Lists the finding summary by category for a given scope. */
|
|
749
|
+
list(request?: {
|
|
750
|
+
/** V1 error format. */
|
|
751
|
+
'$.xgafv'?: '1' | '2';
|
|
752
|
+
/** OAuth access token. */
|
|
753
|
+
access_token?: string;
|
|
754
|
+
/** Data format for response. */
|
|
755
|
+
alt?: 'json' | 'media' | 'proto';
|
|
756
|
+
/** JSONP */
|
|
757
|
+
callback?: string;
|
|
758
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
759
|
+
fields?: string;
|
|
760
|
+
/** Optional. The filtering results. */
|
|
761
|
+
filter?: string;
|
|
762
|
+
/** 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. */
|
|
763
|
+
key?: string;
|
|
764
|
+
/** OAuth 2.0 token for the current user. */
|
|
765
|
+
oauth_token?: string;
|
|
766
|
+
/** Optional. The requested page size. The server might return fewer items than requested. If unspecified, the server picks an appropriate default. */
|
|
767
|
+
pageSize?: number;
|
|
768
|
+
/** Optional. A token that identifies the page of results that the server should return. */
|
|
769
|
+
pageToken?: string;
|
|
770
|
+
/** Required. The parent scope for the framework overview page. Formats: - projects/{project}/locations/{location} - folders/{folder}/locations/{location} - organizations/{organization}/locations/{location} */
|
|
771
|
+
parent: string;
|
|
772
|
+
/** Returns response with indentations and line breaks. */
|
|
773
|
+
prettyPrint?: boolean;
|
|
774
|
+
/** 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. */
|
|
775
|
+
quotaUser?: string;
|
|
776
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
777
|
+
upload_protocol?: string;
|
|
778
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
779
|
+
uploadType?: string;
|
|
780
|
+
}): Request<GoogleCloudAssuredworkloadsV1ListDbFindingSummariesResponse>;
|
|
781
|
+
}
|
|
782
|
+
interface LocationsResource {
|
|
783
|
+
dbFindingSummaries: DbFindingSummariesResource;
|
|
784
|
+
}
|
|
785
|
+
interface FoldersResource {
|
|
786
|
+
locations: LocationsResource;
|
|
787
|
+
}
|
|
788
|
+
interface DbFindingSummariesResource {
|
|
789
|
+
/** Lists the finding summary by category for a given scope. */
|
|
790
|
+
list(request?: {
|
|
791
|
+
/** V1 error format. */
|
|
792
|
+
'$.xgafv'?: '1' | '2';
|
|
793
|
+
/** OAuth access token. */
|
|
794
|
+
access_token?: string;
|
|
795
|
+
/** Data format for response. */
|
|
796
|
+
alt?: 'json' | 'media' | 'proto';
|
|
797
|
+
/** JSONP */
|
|
798
|
+
callback?: string;
|
|
799
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
800
|
+
fields?: string;
|
|
801
|
+
/** Optional. The filtering results. */
|
|
802
|
+
filter?: string;
|
|
803
|
+
/** 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. */
|
|
804
|
+
key?: string;
|
|
805
|
+
/** OAuth 2.0 token for the current user. */
|
|
806
|
+
oauth_token?: string;
|
|
807
|
+
/** Optional. The requested page size. The server might return fewer items than requested. If unspecified, the server picks an appropriate default. */
|
|
808
|
+
pageSize?: number;
|
|
809
|
+
/** Optional. A token that identifies the page of results that the server should return. */
|
|
810
|
+
pageToken?: string;
|
|
811
|
+
/** Required. The parent scope for the framework overview page. Formats: - projects/{project}/locations/{location} - folders/{folder}/locations/{location} - organizations/{organization}/locations/{location} */
|
|
812
|
+
parent: string;
|
|
813
|
+
/** Returns response with indentations and line breaks. */
|
|
814
|
+
prettyPrint?: boolean;
|
|
815
|
+
/** 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. */
|
|
816
|
+
quotaUser?: string;
|
|
817
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
818
|
+
upload_protocol?: string;
|
|
819
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
820
|
+
uploadType?: string;
|
|
821
|
+
}): Request<GoogleCloudAssuredworkloadsV1ListDbFindingSummariesResponse>;
|
|
822
|
+
}
|
|
703
823
|
interface OperationsResource {
|
|
704
824
|
/** 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. */
|
|
705
825
|
get(request?: {
|
|
@@ -942,7 +1062,7 @@ declare namespace gapi.client {
|
|
|
942
1062
|
uploadType?: string;
|
|
943
1063
|
/** Request body */
|
|
944
1064
|
resource: GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsRequest;
|
|
945
|
-
}): Request<
|
|
1065
|
+
}): Request<GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse>;
|
|
946
1066
|
batchAcknowledgeViolations(
|
|
947
1067
|
request: {
|
|
948
1068
|
/** V1 error format. */
|
|
@@ -971,7 +1091,7 @@ declare namespace gapi.client {
|
|
|
971
1091
|
uploadType?: string;
|
|
972
1092
|
},
|
|
973
1093
|
body: GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsRequest,
|
|
974
|
-
): Request<
|
|
1094
|
+
): Request<GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse>;
|
|
975
1095
|
/** Retrieves Assured Workload Violation based on ID. */
|
|
976
1096
|
get(request?: {
|
|
977
1097
|
/** V1 error format. */
|
|
@@ -1021,6 +1141,8 @@ declare namespace gapi.client {
|
|
|
1021
1141
|
key?: string;
|
|
1022
1142
|
/** OAuth 2.0 token for the current user. */
|
|
1023
1143
|
oauth_token?: string;
|
|
1144
|
+
/** Optional. Actionable sorting delegation. */
|
|
1145
|
+
orderBy?: string;
|
|
1024
1146
|
/** Optional. Page size. */
|
|
1025
1147
|
pageSize?: number;
|
|
1026
1148
|
/** Optional. Page token returned from previous request. */
|
|
@@ -1460,15 +1582,61 @@ declare namespace gapi.client {
|
|
|
1460
1582
|
violations: ViolationsResource;
|
|
1461
1583
|
}
|
|
1462
1584
|
interface LocationsResource {
|
|
1585
|
+
dbFindingSummaries: DbFindingSummariesResource;
|
|
1463
1586
|
operations: OperationsResource;
|
|
1464
1587
|
workloads: WorkloadsResource;
|
|
1465
1588
|
}
|
|
1466
1589
|
interface OrganizationsResource {
|
|
1467
1590
|
locations: LocationsResource;
|
|
1468
1591
|
}
|
|
1592
|
+
interface DbFindingSummariesResource {
|
|
1593
|
+
/** Lists the finding summary by category for a given scope. */
|
|
1594
|
+
list(request?: {
|
|
1595
|
+
/** V1 error format. */
|
|
1596
|
+
'$.xgafv'?: '1' | '2';
|
|
1597
|
+
/** OAuth access token. */
|
|
1598
|
+
access_token?: string;
|
|
1599
|
+
/** Data format for response. */
|
|
1600
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1601
|
+
/** JSONP */
|
|
1602
|
+
callback?: string;
|
|
1603
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1604
|
+
fields?: string;
|
|
1605
|
+
/** Optional. The filtering results. */
|
|
1606
|
+
filter?: string;
|
|
1607
|
+
/** 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. */
|
|
1608
|
+
key?: string;
|
|
1609
|
+
/** OAuth 2.0 token for the current user. */
|
|
1610
|
+
oauth_token?: string;
|
|
1611
|
+
/** Optional. The requested page size. The server might return fewer items than requested. If unspecified, the server picks an appropriate default. */
|
|
1612
|
+
pageSize?: number;
|
|
1613
|
+
/** Optional. A token that identifies the page of results that the server should return. */
|
|
1614
|
+
pageToken?: string;
|
|
1615
|
+
/** Required. The parent scope for the framework overview page. Formats: - projects/{project}/locations/{location} - folders/{folder}/locations/{location} - organizations/{organization}/locations/{location} */
|
|
1616
|
+
parent: string;
|
|
1617
|
+
/** Returns response with indentations and line breaks. */
|
|
1618
|
+
prettyPrint?: boolean;
|
|
1619
|
+
/** 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. */
|
|
1620
|
+
quotaUser?: string;
|
|
1621
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1622
|
+
upload_protocol?: string;
|
|
1623
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1624
|
+
uploadType?: string;
|
|
1625
|
+
}): Request<GoogleCloudAssuredworkloadsV1ListDbFindingSummariesResponse>;
|
|
1626
|
+
}
|
|
1627
|
+
interface LocationsResource {
|
|
1628
|
+
dbFindingSummaries: DbFindingSummariesResource;
|
|
1629
|
+
}
|
|
1630
|
+
interface ProjectsResource {
|
|
1631
|
+
locations: LocationsResource;
|
|
1632
|
+
}
|
|
1469
1633
|
|
|
1470
1634
|
const assuredworkloads: AssuredworkloadsResource;
|
|
1471
1635
|
|
|
1636
|
+
const folders: FoldersResource;
|
|
1637
|
+
|
|
1472
1638
|
const organizations: OrganizationsResource;
|
|
1639
|
+
|
|
1640
|
+
const projects: ProjectsResource;
|
|
1473
1641
|
}
|
|
1474
1642
|
}
|