@maxim_mazurok/gapi.client.assuredworkloads-v1 0.3.20261102 → 0.4.20261106
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 +2 -839
- package/package.json +1 -1
- package/readme.md +6 -0
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: 20261106
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -45,16 +45,6 @@ declare namespace gapi.client {
|
|
|
45
45
|
| 'VIOLATION_VIEW_DATA_BOUNDARY';
|
|
46
46
|
}
|
|
47
47
|
interface GoogleCloudAssuredworkloadsV1AcknowledgeViolationResponse {}
|
|
48
|
-
interface GoogleCloudAssuredworkloadsV1AggregateDbFrameworkComplianceReportResponse {
|
|
49
|
-
/** The daily compliance reports for the requested time range. */
|
|
50
|
-
aggregatedComplianceReports?: GoogleCloudAssuredworkloadsV1AggregatedComplianceReport[];
|
|
51
|
-
}
|
|
52
|
-
interface GoogleCloudAssuredworkloadsV1AggregatedComplianceReport {
|
|
53
|
-
/** The number of passing, failing, and not assessed controls in the framework at `report_time`. */
|
|
54
|
-
controlAssessmentDetails?: GoogleCloudAssuredworkloadsV1ControlAssessmentDetails;
|
|
55
|
-
/** The time that the compliance report represents. */
|
|
56
|
-
reportTime?: string;
|
|
57
|
-
}
|
|
58
48
|
interface GoogleCloudAssuredworkloadsV1AnalyzeWorkloadMoveResponse {
|
|
59
49
|
/** List of analysis results for each asset in scope. */
|
|
60
50
|
assetMoveAnalyses?: GoogleCloudAssuredworkloadsV1AssetMoveAnalysis[];
|
|
@@ -85,80 +75,6 @@ declare namespace gapi.client {
|
|
|
85
75
|
/** Type of the asset being analyzed. Possible values will be among the ones listed [here](https://cloud.google.com/asset-inventory/docs/supported-asset-types). */
|
|
86
76
|
assetType?: string;
|
|
87
77
|
}
|
|
88
|
-
interface GoogleCloudAssuredworkloadsV1CELExpression {
|
|
89
|
-
/** Required. The logical expression in CEL. The maximum length of the condition is 1000 characters. For more information, see [CEL expression](https://cloud.google.com/security-command-center/docs/compliance-manager-write-cel-expressions). */
|
|
90
|
-
expression?: string;
|
|
91
|
-
/** The resource instance types on which this expression is defined. The format is `/`. For example: `compute.googleapis.com/Instance` */
|
|
92
|
-
resourceTypesValues?: GoogleCloudAssuredworkloadsV1StringList;
|
|
93
|
-
}
|
|
94
|
-
interface GoogleCloudAssuredworkloadsV1CloudControlAssessmentDetails {
|
|
95
|
-
/** Output only. The evaluation status of the cloud control. */
|
|
96
|
-
evaluationState?:
|
|
97
|
-
| 'EVALUATION_STATE_UNSPECIFIED'
|
|
98
|
-
| 'EVALUATION_STATE_PASSED'
|
|
99
|
-
| 'EVALUATION_STATE_FAILED'
|
|
100
|
-
| 'EVALUATION_STATE_NOT_ASSESSED';
|
|
101
|
-
/** The number of findings for the cloud control. */
|
|
102
|
-
findingsCount?: number;
|
|
103
|
-
/** Output only. Number of organization policy findings for the cloud control. */
|
|
104
|
-
orgPolicyFindingCount?: string;
|
|
105
|
-
/** Output only. Number of resource findings for the cloud control. */
|
|
106
|
-
resourceFindingCount?: string;
|
|
107
|
-
}
|
|
108
|
-
interface GoogleCloudAssuredworkloadsV1CloudControlReport {
|
|
109
|
-
/** The list of categories for the cloud control. */
|
|
110
|
-
categories?: string[];
|
|
111
|
-
/** The name of the cloud control. */
|
|
112
|
-
cloudControl?: string;
|
|
113
|
-
/** The details of a cloud control assessment. */
|
|
114
|
-
cloudControlAssessmentDetails?: GoogleCloudAssuredworkloadsV1CloudControlAssessmentDetails;
|
|
115
|
-
/** The name of the cloud control deployment. */
|
|
116
|
-
cloudControlDeployment?: string;
|
|
117
|
-
/** The type of the cloud control. */
|
|
118
|
-
cloudControlType?: 'TYPE_UNSPECIFIED' | 'CUSTOM' | 'BUILT_IN';
|
|
119
|
-
/** The description of the cloud control. */
|
|
120
|
-
description?: string;
|
|
121
|
-
/** The display name of the cloud control. */
|
|
122
|
-
displayName?: string;
|
|
123
|
-
/** The enforcement mode of the cloud control. */
|
|
124
|
-
enforcementMode?:
|
|
125
|
-
'ENFORCEMENT_MODE_UNSPECIFIED' | 'PREVENTIVE' | 'DETECTIVE' | 'AUDIT';
|
|
126
|
-
/** The category of the finding. */
|
|
127
|
-
findingCategory?: string;
|
|
128
|
-
/** The severity of the finding. */
|
|
129
|
-
findingSeverity?:
|
|
130
|
-
'SEVERITY_UNSPECIFIED' | 'CRITICAL' | 'HIGH' | 'MEDIUM' | 'LOW';
|
|
131
|
-
/** The major revision IDs of the frameworks that the cloud control belongs to. */
|
|
132
|
-
frameworkMajorRevisionIds?: string[];
|
|
133
|
-
/** The major revision ID of the cloud control. */
|
|
134
|
-
majorRevisionId?: string;
|
|
135
|
-
/** The details of a manual cloud control assessment. */
|
|
136
|
-
manualCloudControlAssessmentDetails?: GoogleCloudAssuredworkloadsV1ManualCloudControlAssessmentDetails;
|
|
137
|
-
/** The minor revision ID of the cloud control. */
|
|
138
|
-
minorRevisionId?: string;
|
|
139
|
-
/** The list of rules that correspond to the cloud control. */
|
|
140
|
-
rules?: GoogleCloudAssuredworkloadsV1Rule[];
|
|
141
|
-
/** The list of similar controls. */
|
|
142
|
-
similarControls?: GoogleCloudAssuredworkloadsV1SimilarControls[];
|
|
143
|
-
}
|
|
144
|
-
interface GoogleCloudAssuredworkloadsV1ControlAssessmentDetails {
|
|
145
|
-
/** The list of controls that were assessed and are passing. */
|
|
146
|
-
assessedPassingControlIds?: string[];
|
|
147
|
-
/** The number of controls that were assessed and are passing. */
|
|
148
|
-
assessedPassingControls?: number;
|
|
149
|
-
/** The list of controls that are failing. */
|
|
150
|
-
failingControlIds?: string[];
|
|
151
|
-
/** The number of controls that are failing. */
|
|
152
|
-
failingControls?: number;
|
|
153
|
-
/** The list of controls that aren't assessed because they require manual review. */
|
|
154
|
-
notAssessedControlIds?: string[];
|
|
155
|
-
/** The number of controls that aren't assessed because they require manual review. */
|
|
156
|
-
notAssessedControls?: number;
|
|
157
|
-
/** The list of controls that are passing or not assessed. */
|
|
158
|
-
passingControlIds?: string[];
|
|
159
|
-
/** The number of controls that are passing or not assessed. */
|
|
160
|
-
passingControls?: number;
|
|
161
|
-
}
|
|
162
78
|
interface GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata {
|
|
163
79
|
/** Optional. Compliance controls that should be applied to the resources managed by the workload. */
|
|
164
80
|
complianceRegime?:
|
|
@@ -215,159 +131,8 @@ declare namespace gapi.client {
|
|
|
215
131
|
/** Optional. The parent of the workload. */
|
|
216
132
|
parent?: string;
|
|
217
133
|
}
|
|
218
|
-
interface GoogleCloudAssuredworkloadsV1DbControlComplianceSummary {
|
|
219
|
-
/** The list of cloud control reports. */
|
|
220
|
-
cloudControlReports?: GoogleCloudAssuredworkloadsV1CloudControlReport[];
|
|
221
|
-
/** The list of compliance frameworks that the control belongs to. */
|
|
222
|
-
complianceFrameworks?: string[];
|
|
223
|
-
/** The name of the control. */
|
|
224
|
-
control?: string;
|
|
225
|
-
/** The responsibility type for the control. */
|
|
226
|
-
controlResponsibilityType?:
|
|
227
|
-
| 'REGULATORY_CONTROL_RESPONSIBILITY_TYPE_UNSPECIFIED'
|
|
228
|
-
| 'GOOGLE'
|
|
229
|
-
| 'CUSTOMER'
|
|
230
|
-
| 'SHARED';
|
|
231
|
-
/** The description of the control. */
|
|
232
|
-
description?: string;
|
|
233
|
-
/** The display name of the control. */
|
|
234
|
-
displayName?: string;
|
|
235
|
-
/** Whether the control is a fake control. Fake controls are created and mapped to cloud controls that don't belong to a control group. */
|
|
236
|
-
isFakeControl?: boolean;
|
|
237
|
-
/** Identifier. The resource name of the control compliance summary. Format: `organizations/{organization}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}/dbControlComplianceSummaries/{db_control_compliance_summary}` */
|
|
238
|
-
name?: string;
|
|
239
|
-
/** Output only. Number of organization policy findings for this control. */
|
|
240
|
-
orgPolicyFindingCount?: string;
|
|
241
|
-
/** Output only. The overall evaluation status of the control. */
|
|
242
|
-
overallEvaluationState?:
|
|
243
|
-
| 'EVALUATION_STATE_UNSPECIFIED'
|
|
244
|
-
| 'EVALUATION_STATE_PASSED'
|
|
245
|
-
| 'EVALUATION_STATE_FAILED'
|
|
246
|
-
| 'EVALUATION_STATE_NOT_ASSESSED';
|
|
247
|
-
/** Output only. Number of resource findings for this control. */
|
|
248
|
-
resourceFindingCount?: string;
|
|
249
|
-
/** The list of similar controls. */
|
|
250
|
-
similarControls?: GoogleCloudAssuredworkloadsV1SimilarControls[];
|
|
251
|
-
/** The total number of findings for the control. */
|
|
252
|
-
totalFindingsCount?: number;
|
|
253
|
-
}
|
|
254
|
-
interface GoogleCloudAssuredworkloadsV1DbFindingSummary {
|
|
255
|
-
/** Output only. The category of the findings that are summarized. */
|
|
256
|
-
findingCategory?: string;
|
|
257
|
-
/** Output only. The class of the findings. */
|
|
258
|
-
findingClass?:
|
|
259
|
-
| 'FINDING_CLASS_UNSPECIFIED'
|
|
260
|
-
| 'THREAT'
|
|
261
|
-
| 'VULNERABILITY'
|
|
262
|
-
| 'MISCONFIGURATION'
|
|
263
|
-
| 'OBSERVATION'
|
|
264
|
-
| 'SCC_ERROR'
|
|
265
|
-
| 'POSTURE_VIOLATION'
|
|
266
|
-
| 'TOXIC_COMBINATION'
|
|
267
|
-
| 'SENSITIVE_DATA_RISK'
|
|
268
|
-
| 'CHOKEPOINT';
|
|
269
|
-
/** Output only. The total number of active findings in the category. */
|
|
270
|
-
findingCount?: string;
|
|
271
|
-
/** Identifier. The resource name of the finding summary. */
|
|
272
|
-
name?: string;
|
|
273
|
-
/** Output only. The number of active organization policy findings in the category. */
|
|
274
|
-
organizationPolicyFindingCount?: string;
|
|
275
|
-
/** Optional. The display names of the compliance frameworks that the findings are related to. */
|
|
276
|
-
relatedFrameworks?: string[];
|
|
277
|
-
/** Output only. The number of active resource findings in the category. */
|
|
278
|
-
resourceFindingCount?: string;
|
|
279
|
-
/** Output only. The severity of the findings. */
|
|
280
|
-
severity?:
|
|
281
|
-
'SEVERITY_UNSPECIFIED' | 'CRITICAL' | 'HIGH' | 'MEDIUM' | 'LOW';
|
|
282
|
-
/** Output only. The time when the findings in the category were last updated. */
|
|
283
|
-
updateTime?: string;
|
|
284
|
-
}
|
|
285
|
-
interface GoogleCloudAssuredworkloadsV1DbFrameworkComplianceSummary {
|
|
286
|
-
/** The number of passing, failing, and not assessed controls in the framework. */
|
|
287
|
-
controlAssessmentDetails?: GoogleCloudAssuredworkloadsV1ControlAssessmentDetails;
|
|
288
|
-
/** Output only. The trend of passing controls over the trend duration. This field is only populated when using `FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_FULL`. */
|
|
289
|
-
controlsPassingTrend?: GoogleCloudAssuredworkloadsV1Trend;
|
|
290
|
-
/** Output only. The number of findings that were generated against the framework. This field is only populated when using `FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_FULL`. */
|
|
291
|
-
findingCount?: string;
|
|
292
|
-
/** The resource name of the compliance framework. */
|
|
293
|
-
framework?: string;
|
|
294
|
-
/** The categories of the framework. */
|
|
295
|
-
frameworkCategories?:
|
|
296
|
-
| 'FRAMEWORK_CATEGORY_UNSPECIFIED'
|
|
297
|
-
| 'INDUSTRY_DEFINED_STANDARD'
|
|
298
|
-
| 'ASSURED_WORKLOADS'
|
|
299
|
-
| 'DATA_SECURITY'
|
|
300
|
-
| 'GOOGLE_BEST_PRACTICES'
|
|
301
|
-
| 'CUSTOM_FRAMEWORK'[];
|
|
302
|
-
/** Optional. The display name of the framework. */
|
|
303
|
-
frameworkDisplayName?: string;
|
|
304
|
-
/** The type of the framework. */
|
|
305
|
-
frameworkType?: 'FRAMEWORK_TYPE_UNSPECIFIED' | 'BUILT_IN' | 'CUSTOM';
|
|
306
|
-
/** The major revision ID of the framework. */
|
|
307
|
-
majorRevisionId?: string;
|
|
308
|
-
/** The minor revision ID of the framework. */
|
|
309
|
-
minorRevisionId?: string;
|
|
310
|
-
/** Identifier. The resource name of the framework compliance summary. */
|
|
311
|
-
name?: string;
|
|
312
|
-
/** The cloud providers that are supported by the framework. */
|
|
313
|
-
supportedCloudProviders?:
|
|
314
|
-
'CLOUD_PROVIDER_UNSPECIFIED' | 'AWS' | 'AZURE' | 'GCP'[];
|
|
315
|
-
/** The details of the target resources (organizations, folders, or projects) that the framework is deployed on. */
|
|
316
|
-
targetResourceDetails?: GoogleCloudAssuredworkloadsV1TargetResourceDetails[];
|
|
317
|
-
}
|
|
318
134
|
interface GoogleCloudAssuredworkloadsV1EnableComplianceUpdatesResponse {}
|
|
319
135
|
interface GoogleCloudAssuredworkloadsV1EnableResourceMonitoringResponse {}
|
|
320
|
-
interface GoogleCloudAssuredworkloadsV1FetchDbFrameworkComplianceReportResponse {
|
|
321
|
-
/** The number of passing, failing, and not assessed controls in the framework. */
|
|
322
|
-
controlAssessmentDetails?: GoogleCloudAssuredworkloadsV1ControlAssessmentDetails;
|
|
323
|
-
/** The resource name of the compliance framework. For example, `organizations/{organization}/locations/{location}/frameworks/{framework_id}`. */
|
|
324
|
-
framework?: string;
|
|
325
|
-
/** The categories of the framework. */
|
|
326
|
-
frameworkCategories?:
|
|
327
|
-
| 'FRAMEWORK_CATEGORY_UNSPECIFIED'
|
|
328
|
-
| 'INDUSTRY_DEFINED_STANDARD'
|
|
329
|
-
| 'ASSURED_WORKLOADS'
|
|
330
|
-
| 'DATA_SECURITY'
|
|
331
|
-
| 'GOOGLE_BEST_PRACTICES'
|
|
332
|
-
| 'CUSTOM_FRAMEWORK'[];
|
|
333
|
-
/** The description of the framework. */
|
|
334
|
-
frameworkDescription?: string;
|
|
335
|
-
/** Optional. The display name of the framework. */
|
|
336
|
-
frameworkDisplayName?: string;
|
|
337
|
-
/** The type of the framework. */
|
|
338
|
-
frameworkType?: 'FRAMEWORK_TYPE_UNSPECIFIED' | 'BUILT_IN' | 'CUSTOM';
|
|
339
|
-
/** The latest major revision ID of the framework. */
|
|
340
|
-
majorRevisionId?: string;
|
|
341
|
-
/** The latest minor revision ID of the latest major revision of the framework. */
|
|
342
|
-
minorRevisionId?: string;
|
|
343
|
-
/** The resource name of the framework compliance report. */
|
|
344
|
-
name?: string;
|
|
345
|
-
/** The cloud providers that are supported by the framework. */
|
|
346
|
-
supportedCloudProviders?:
|
|
347
|
-
'CLOUD_PROVIDER_UNSPECIFIED' | 'AWS' | 'AZURE' | 'GCP'[];
|
|
348
|
-
/** The details of the target resources (organizations, folders, or projects) that the framework is deployed on. */
|
|
349
|
-
targetResourceDetails?: GoogleCloudAssuredworkloadsV1TargetResourceDetails[];
|
|
350
|
-
/** Output only. The time when the report was last updated. */
|
|
351
|
-
updateTime?: string;
|
|
352
|
-
}
|
|
353
|
-
interface GoogleCloudAssuredworkloadsV1ListDbControlComplianceSummariesResponse {
|
|
354
|
-
/** The list of control compliance summaries. */
|
|
355
|
-
dbControlComplianceSummaries?: GoogleCloudAssuredworkloadsV1DbControlComplianceSummary[];
|
|
356
|
-
/** Output only. A token that can be sent as `page_token` to retrieve the next page. If this field is empty, there are no subsequent pages. */
|
|
357
|
-
nextPageToken?: string;
|
|
358
|
-
}
|
|
359
|
-
interface GoogleCloudAssuredworkloadsV1ListDbFindingSummariesResponse {
|
|
360
|
-
/** The list of finding summaries, one for each finding category. */
|
|
361
|
-
dbFindingSummaries?: GoogleCloudAssuredworkloadsV1DbFindingSummary[];
|
|
362
|
-
/** Output only. A token that can be sent as `page_token` to retrieve the next page. If this field is empty, there are no subsequent pages. */
|
|
363
|
-
nextPageToken?: string;
|
|
364
|
-
}
|
|
365
|
-
interface GoogleCloudAssuredworkloadsV1ListDbFrameworkComplianceSummariesResponse {
|
|
366
|
-
/** The list of framework compliance summaries. */
|
|
367
|
-
dbFrameworkComplianceSummaries?: GoogleCloudAssuredworkloadsV1DbFrameworkComplianceSummary[];
|
|
368
|
-
/** Output only. A token that can be sent as `page_token` to retrieve the next page. If this field is empty, there are no subsequent pages. */
|
|
369
|
-
nextPageToken?: string;
|
|
370
|
-
}
|
|
371
136
|
interface GoogleCloudAssuredworkloadsV1ListViolationsResponse {
|
|
372
137
|
/** A token that can be sent as `page_token` to retrieve the next page. If this field is empty, there are no subsequent pages. */
|
|
373
138
|
nextPageToken?: string;
|
|
@@ -388,10 +153,6 @@ declare namespace gapi.client {
|
|
|
388
153
|
/** The list of workload updates for a given workload. */
|
|
389
154
|
workloadUpdates?: GoogleCloudAssuredworkloadsV1WorkloadUpdate[];
|
|
390
155
|
}
|
|
391
|
-
interface GoogleCloudAssuredworkloadsV1ManualCloudControlAssessmentDetails {
|
|
392
|
-
/** The guide for assessing a cloud control manually. */
|
|
393
|
-
manualCloudControlGuide?: string[];
|
|
394
|
-
}
|
|
395
156
|
interface GoogleCloudAssuredworkloadsV1MoveAnalysisGroup {
|
|
396
157
|
/** Result of a successful analysis. */
|
|
397
158
|
analysisResult?: GoogleCloudAssuredworkloadsV1MoveAnalysisResult;
|
|
@@ -461,50 +222,6 @@ declare namespace gapi.client {
|
|
|
461
222
|
| 'APPEND_COMPLIANT_RESOURCES';
|
|
462
223
|
}
|
|
463
224
|
interface GoogleCloudAssuredworkloadsV1RestrictAllowedResourcesResponse {}
|
|
464
|
-
interface GoogleCloudAssuredworkloadsV1Rule {
|
|
465
|
-
/** The rule's logic expression in Common Expression Language (CEL). */
|
|
466
|
-
celExpression?: GoogleCloudAssuredworkloadsV1CELExpression;
|
|
467
|
-
/** Optional. The rule description. The maximum length is 2000 characters. */
|
|
468
|
-
description?: string;
|
|
469
|
-
/** Required. The functionality that's enabled by the rule. */
|
|
470
|
-
ruleActionTypes?:
|
|
471
|
-
| 'RULE_ACTION_TYPE_UNSPECIFIED'
|
|
472
|
-
| 'RULE_ACTION_TYPE_PREVENTIVE'
|
|
473
|
-
| 'RULE_ACTION_TYPE_DETECTIVE'
|
|
474
|
-
| 'RULE_ACTION_TYPE_AUDIT'[];
|
|
475
|
-
}
|
|
476
|
-
interface GoogleCloudAssuredworkloadsV1SimilarControls {
|
|
477
|
-
/** The ID of the control. */
|
|
478
|
-
controlId?: string;
|
|
479
|
-
/** The name of the framework. */
|
|
480
|
-
framework?: string;
|
|
481
|
-
}
|
|
482
|
-
interface GoogleCloudAssuredworkloadsV1StringList {
|
|
483
|
-
/** Required. The strings in the list. */
|
|
484
|
-
values?: string[];
|
|
485
|
-
}
|
|
486
|
-
interface GoogleCloudAssuredworkloadsV1TargetResourceDetails {
|
|
487
|
-
/** The create time of the target resource. */
|
|
488
|
-
createTime?: string;
|
|
489
|
-
/** The framework deployment name for the target resource. For example, `organizations/{organization_id}/locations/{location}/frameworkDeployments/{framework_deployment_id}` */
|
|
490
|
-
frameworkDeployment?: string;
|
|
491
|
-
/** The major revision ID of the framework for the target resource. */
|
|
492
|
-
majorRevisionId?: string;
|
|
493
|
-
/** The minor revision ID of the framework for the target resource. */
|
|
494
|
-
minorRevisionId?: string;
|
|
495
|
-
/** The target resource. For example, `organizations/1234567890`, `projects/1234567890`, or `folders/1234567890`. */
|
|
496
|
-
targetResource?: string;
|
|
497
|
-
/** The display name of the target resource. For example, `google.com`, `staging-project`, or `development-folder`. */
|
|
498
|
-
targetResourceDisplayName?: string;
|
|
499
|
-
/** The update time of the target resource. */
|
|
500
|
-
updateTime?: string;
|
|
501
|
-
}
|
|
502
|
-
interface GoogleCloudAssuredworkloadsV1Trend {
|
|
503
|
-
/** Output only. The duration for the trend. */
|
|
504
|
-
duration?: string;
|
|
505
|
-
/** Output only. The trend value as a percentage. The value can be positive or negative. */
|
|
506
|
-
valuePercent?: number;
|
|
507
|
-
}
|
|
508
225
|
interface GoogleCloudAssuredworkloadsV1UpdateDetails {
|
|
509
226
|
/** Update to one org policy, e.g. gcp.resourceLocation. */
|
|
510
227
|
orgPolicyUpdate?: GoogleCloudAssuredworkloadsV1OrgPolicyUpdate;
|
|
@@ -837,368 +554,6 @@ declare namespace gapi.client {
|
|
|
837
554
|
/** A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. */
|
|
838
555
|
message?: string;
|
|
839
556
|
}
|
|
840
|
-
interface DbFindingSummariesResource {
|
|
841
|
-
/** Lists summaries of the active findings in a Data Boundary scope (an organization, folder, or project), with one summary for each finding category. */
|
|
842
|
-
list(request?: {
|
|
843
|
-
/** V1 error format. */
|
|
844
|
-
'$.xgafv'?: '1' | '2';
|
|
845
|
-
/** OAuth access token. */
|
|
846
|
-
access_token?: string;
|
|
847
|
-
/** Data format for response. */
|
|
848
|
-
alt?: 'json' | 'media' | 'proto';
|
|
849
|
-
/** JSONP */
|
|
850
|
-
callback?: string;
|
|
851
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
852
|
-
fields?: string;
|
|
853
|
-
/** Optional. A filter expression that restricts the framework deployments whose findings are summarized. The syntax follows [AIP-160](https://google.aip.dev/160). Supported fields are `framework_deployment`, `framework_name`, and `framework_revision` (the major revision ID of the framework). */
|
|
854
|
-
filter?: string;
|
|
855
|
-
/** 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. */
|
|
856
|
-
key?: string;
|
|
857
|
-
/** OAuth 2.0 token for the current user. */
|
|
858
|
-
oauth_token?: string;
|
|
859
|
-
/** Optional. The requested page size. The server might return fewer items than requested. If unspecified, the server picks an appropriate default. */
|
|
860
|
-
pageSize?: number;
|
|
861
|
-
/** Optional. A token that identifies the page of results that the server should return. Pass the `next_page_token` value from a previous result. */
|
|
862
|
-
pageToken?: string;
|
|
863
|
-
/** Required. The parent scope to list finding summaries for. Formats: * `organizations/{organization}/locations/{location}` * `folders/{folder}/locations/{location}` * `projects/{project}/locations/{location}` */
|
|
864
|
-
parent: string;
|
|
865
|
-
/** Returns response with indentations and line breaks. */
|
|
866
|
-
prettyPrint?: boolean;
|
|
867
|
-
/** 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. */
|
|
868
|
-
quotaUser?: string;
|
|
869
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
870
|
-
upload_protocol?: string;
|
|
871
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
872
|
-
uploadType?: string;
|
|
873
|
-
}): Request<GoogleCloudAssuredworkloadsV1ListDbFindingSummariesResponse>;
|
|
874
|
-
}
|
|
875
|
-
interface DbControlComplianceSummariesResource {
|
|
876
|
-
/** Lists the compliance summaries of the controls in a framework compliance report. */
|
|
877
|
-
list(request?: {
|
|
878
|
-
/** V1 error format. */
|
|
879
|
-
'$.xgafv'?: '1' | '2';
|
|
880
|
-
/** OAuth access token. */
|
|
881
|
-
access_token?: string;
|
|
882
|
-
/** Data format for response. */
|
|
883
|
-
alt?: 'json' | 'media' | 'proto';
|
|
884
|
-
/** JSONP */
|
|
885
|
-
callback?: string;
|
|
886
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
887
|
-
fields?: string;
|
|
888
|
-
/** Optional. A filter expression that restricts the results. The syntax follows [AIP-160](https://google.aip.dev/160). Supported fields are `framework_deployment`, `framework_name`, `framework_revision` (the major revision ID of the framework), and `end_time`. The `end_time` field accepts a single equality comparison with an [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp, for example `end_time = "2026-01-01T00:00:00Z"`. Only findings that were updated at or after this time are counted. */
|
|
889
|
-
filter?: string;
|
|
890
|
-
/** 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. */
|
|
891
|
-
key?: string;
|
|
892
|
-
/** OAuth 2.0 token for the current user. */
|
|
893
|
-
oauth_token?: string;
|
|
894
|
-
/** Optional. The requested page size. The server might return fewer items than requested. If unspecified, the default page size is 50. The maximum value is 1000. */
|
|
895
|
-
pageSize?: number;
|
|
896
|
-
/** Optional. A token that identifies the page of results that the server should return. Pass the `next_page_token` value from a previous result. */
|
|
897
|
-
pageToken?: string;
|
|
898
|
-
/** Required. The framework compliance report to list control compliance summaries for. Formats: * `organizations/{organization}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `folders/{folder}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `projects/{project}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` */
|
|
899
|
-
parent: string;
|
|
900
|
-
/** Returns response with indentations and line breaks. */
|
|
901
|
-
prettyPrint?: boolean;
|
|
902
|
-
/** 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. */
|
|
903
|
-
quotaUser?: string;
|
|
904
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
905
|
-
upload_protocol?: string;
|
|
906
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
907
|
-
uploadType?: string;
|
|
908
|
-
}): Request<GoogleCloudAssuredworkloadsV1ListDbControlComplianceSummariesResponse>;
|
|
909
|
-
}
|
|
910
|
-
interface DbFrameworkComplianceReportsResource {
|
|
911
|
-
/** Gets daily compliance reports over a time range for a framework that's deployed in a Data Boundary scope. */
|
|
912
|
-
aggregate(request?: {
|
|
913
|
-
/** V1 error format. */
|
|
914
|
-
'$.xgafv'?: '1' | '2';
|
|
915
|
-
/** OAuth access token. */
|
|
916
|
-
access_token?: string;
|
|
917
|
-
/** Data format for response. */
|
|
918
|
-
alt?: 'json' | 'media' | 'proto';
|
|
919
|
-
/** JSONP */
|
|
920
|
-
callback?: string;
|
|
921
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
922
|
-
fields?: string;
|
|
923
|
-
/** Optional. A filter expression that restricts the framework deployments that are included in the report. The syntax follows [AIP-160](https://google.aip.dev/160). Supported fields are `framework_deployment`, `framework_name`, and `framework_revision` (the major revision ID of the framework). */
|
|
924
|
-
filter?: string;
|
|
925
|
-
/** Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end. */
|
|
926
|
-
'interval.endTime'?: string;
|
|
927
|
-
/** Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start. */
|
|
928
|
-
'interval.startTime'?: string;
|
|
929
|
-
/** 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. */
|
|
930
|
-
key?: string;
|
|
931
|
-
/** Required. The name of the framework compliance report to aggregate over time. The report ID is the ID of the compliance framework, for example `builtin-fedramp-high`. Format: `organizations/{organization_id}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` */
|
|
932
|
-
name: string;
|
|
933
|
-
/** OAuth 2.0 token for the current user. */
|
|
934
|
-
oauth_token?: string;
|
|
935
|
-
/** Returns response with indentations and line breaks. */
|
|
936
|
-
prettyPrint?: boolean;
|
|
937
|
-
/** 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. */
|
|
938
|
-
quotaUser?: string;
|
|
939
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
940
|
-
upload_protocol?: string;
|
|
941
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
942
|
-
uploadType?: string;
|
|
943
|
-
}): Request<GoogleCloudAssuredworkloadsV1AggregateDbFrameworkComplianceReportResponse>;
|
|
944
|
-
/** Fetches the current compliance report for a framework that's deployed in a Data Boundary scope (an organization, folder, or project). The report includes the number of passing, failing, and not assessed controls in the framework. */
|
|
945
|
-
fetch(request?: {
|
|
946
|
-
/** V1 error format. */
|
|
947
|
-
'$.xgafv'?: '1' | '2';
|
|
948
|
-
/** OAuth access token. */
|
|
949
|
-
access_token?: string;
|
|
950
|
-
/** Data format for response. */
|
|
951
|
-
alt?: 'json' | 'media' | 'proto';
|
|
952
|
-
/** JSONP */
|
|
953
|
-
callback?: string;
|
|
954
|
-
/** Optional. The end time of the report. Reserved for future use. Currently, the report always reflects the current compliance state. */
|
|
955
|
-
endTime?: string;
|
|
956
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
957
|
-
fields?: string;
|
|
958
|
-
/** Optional. A filter expression that restricts the results. Reserved for future use. */
|
|
959
|
-
filter?: string;
|
|
960
|
-
/** 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. */
|
|
961
|
-
key?: string;
|
|
962
|
-
/** Required. The name of the framework compliance report to retrieve. The report ID is the ID of the compliance framework, for example `builtin-fedramp-high`. Formats: * `organizations/{organization}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `folders/{folder}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `projects/{project}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` */
|
|
963
|
-
name: string;
|
|
964
|
-
/** OAuth 2.0 token for the current user. */
|
|
965
|
-
oauth_token?: string;
|
|
966
|
-
/** Returns response with indentations and line breaks. */
|
|
967
|
-
prettyPrint?: boolean;
|
|
968
|
-
/** 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. */
|
|
969
|
-
quotaUser?: string;
|
|
970
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
971
|
-
upload_protocol?: string;
|
|
972
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
973
|
-
uploadType?: string;
|
|
974
|
-
}): Request<GoogleCloudAssuredworkloadsV1FetchDbFrameworkComplianceReportResponse>;
|
|
975
|
-
dbControlComplianceSummaries: DbControlComplianceSummariesResource;
|
|
976
|
-
}
|
|
977
|
-
interface DbFrameworkComplianceSummariesResource {
|
|
978
|
-
/** Lists the compliance summaries of the frameworks that are deployed in a Data Boundary scope (an organization, folder, or project). */
|
|
979
|
-
list(request?: {
|
|
980
|
-
/** V1 error format. */
|
|
981
|
-
'$.xgafv'?: '1' | '2';
|
|
982
|
-
/** OAuth access token. */
|
|
983
|
-
access_token?: string;
|
|
984
|
-
/** Data format for response. */
|
|
985
|
-
alt?: 'json' | 'media' | 'proto';
|
|
986
|
-
/** JSONP */
|
|
987
|
-
callback?: string;
|
|
988
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
989
|
-
fields?: string;
|
|
990
|
-
/** Optional. A filter expression that restricts the results. Reserved for future use. */
|
|
991
|
-
filter?: string;
|
|
992
|
-
/** 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. */
|
|
993
|
-
key?: string;
|
|
994
|
-
/** OAuth 2.0 token for the current user. */
|
|
995
|
-
oauth_token?: string;
|
|
996
|
-
/** Optional. The requested page size. The server might return fewer items than requested. If unspecified, the default page size is 50. The maximum value is 1000. */
|
|
997
|
-
pageSize?: number;
|
|
998
|
-
/** Optional. A token that identifies the page of results that the server should return. Pass the `next_page_token` value from a previous result. */
|
|
999
|
-
pageToken?: string;
|
|
1000
|
-
/** Required. The parent scope to list framework compliance summaries for. Formats: * `organizations/{organization}/locations/{location}` * `folders/{folder}/locations/{location}` * `projects/{project}/locations/{location}` */
|
|
1001
|
-
parent: string;
|
|
1002
|
-
/** Returns response with indentations and line breaks. */
|
|
1003
|
-
prettyPrint?: boolean;
|
|
1004
|
-
/** 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. */
|
|
1005
|
-
quotaUser?: string;
|
|
1006
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1007
|
-
upload_protocol?: string;
|
|
1008
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1009
|
-
uploadType?: string;
|
|
1010
|
-
/** Optional. The level of detail to return for each summary. If not specified, `FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_BASIC` is used. */
|
|
1011
|
-
view?:
|
|
1012
|
-
| 'FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_UNSPECIFIED'
|
|
1013
|
-
| 'FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_BASIC'
|
|
1014
|
-
| 'FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_FULL';
|
|
1015
|
-
}): Request<GoogleCloudAssuredworkloadsV1ListDbFrameworkComplianceSummariesResponse>;
|
|
1016
|
-
}
|
|
1017
|
-
interface LocationsResource {
|
|
1018
|
-
dbFindingSummaries: DbFindingSummariesResource;
|
|
1019
|
-
dbFrameworkComplianceReports: DbFrameworkComplianceReportsResource;
|
|
1020
|
-
dbFrameworkComplianceSummaries: DbFrameworkComplianceSummariesResource;
|
|
1021
|
-
}
|
|
1022
|
-
interface FoldersResource {
|
|
1023
|
-
locations: LocationsResource;
|
|
1024
|
-
}
|
|
1025
|
-
interface DbFindingSummariesResource {
|
|
1026
|
-
/** Lists summaries of the active findings in a Data Boundary scope (an organization, folder, or project), with one summary for each finding category. */
|
|
1027
|
-
list(request?: {
|
|
1028
|
-
/** V1 error format. */
|
|
1029
|
-
'$.xgafv'?: '1' | '2';
|
|
1030
|
-
/** OAuth access token. */
|
|
1031
|
-
access_token?: string;
|
|
1032
|
-
/** Data format for response. */
|
|
1033
|
-
alt?: 'json' | 'media' | 'proto';
|
|
1034
|
-
/** JSONP */
|
|
1035
|
-
callback?: string;
|
|
1036
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1037
|
-
fields?: string;
|
|
1038
|
-
/** Optional. A filter expression that restricts the framework deployments whose findings are summarized. The syntax follows [AIP-160](https://google.aip.dev/160). Supported fields are `framework_deployment`, `framework_name`, and `framework_revision` (the major revision ID of the framework). */
|
|
1039
|
-
filter?: string;
|
|
1040
|
-
/** 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. */
|
|
1041
|
-
key?: string;
|
|
1042
|
-
/** OAuth 2.0 token for the current user. */
|
|
1043
|
-
oauth_token?: string;
|
|
1044
|
-
/** Optional. The requested page size. The server might return fewer items than requested. If unspecified, the server picks an appropriate default. */
|
|
1045
|
-
pageSize?: number;
|
|
1046
|
-
/** Optional. A token that identifies the page of results that the server should return. Pass the `next_page_token` value from a previous result. */
|
|
1047
|
-
pageToken?: string;
|
|
1048
|
-
/** Required. The parent scope to list finding summaries for. Formats: * `organizations/{organization}/locations/{location}` * `folders/{folder}/locations/{location}` * `projects/{project}/locations/{location}` */
|
|
1049
|
-
parent: string;
|
|
1050
|
-
/** Returns response with indentations and line breaks. */
|
|
1051
|
-
prettyPrint?: boolean;
|
|
1052
|
-
/** 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. */
|
|
1053
|
-
quotaUser?: string;
|
|
1054
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1055
|
-
upload_protocol?: string;
|
|
1056
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1057
|
-
uploadType?: string;
|
|
1058
|
-
}): Request<GoogleCloudAssuredworkloadsV1ListDbFindingSummariesResponse>;
|
|
1059
|
-
}
|
|
1060
|
-
interface DbControlComplianceSummariesResource {
|
|
1061
|
-
/** Lists the compliance summaries of the controls in a framework compliance report. */
|
|
1062
|
-
list(request?: {
|
|
1063
|
-
/** V1 error format. */
|
|
1064
|
-
'$.xgafv'?: '1' | '2';
|
|
1065
|
-
/** OAuth access token. */
|
|
1066
|
-
access_token?: string;
|
|
1067
|
-
/** Data format for response. */
|
|
1068
|
-
alt?: 'json' | 'media' | 'proto';
|
|
1069
|
-
/** JSONP */
|
|
1070
|
-
callback?: string;
|
|
1071
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1072
|
-
fields?: string;
|
|
1073
|
-
/** Optional. A filter expression that restricts the results. The syntax follows [AIP-160](https://google.aip.dev/160). Supported fields are `framework_deployment`, `framework_name`, `framework_revision` (the major revision ID of the framework), and `end_time`. The `end_time` field accepts a single equality comparison with an [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp, for example `end_time = "2026-01-01T00:00:00Z"`. Only findings that were updated at or after this time are counted. */
|
|
1074
|
-
filter?: string;
|
|
1075
|
-
/** 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. */
|
|
1076
|
-
key?: string;
|
|
1077
|
-
/** OAuth 2.0 token for the current user. */
|
|
1078
|
-
oauth_token?: string;
|
|
1079
|
-
/** Optional. The requested page size. The server might return fewer items than requested. If unspecified, the default page size is 50. The maximum value is 1000. */
|
|
1080
|
-
pageSize?: number;
|
|
1081
|
-
/** Optional. A token that identifies the page of results that the server should return. Pass the `next_page_token` value from a previous result. */
|
|
1082
|
-
pageToken?: string;
|
|
1083
|
-
/** Required. The framework compliance report to list control compliance summaries for. Formats: * `organizations/{organization}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `folders/{folder}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `projects/{project}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` */
|
|
1084
|
-
parent: string;
|
|
1085
|
-
/** Returns response with indentations and line breaks. */
|
|
1086
|
-
prettyPrint?: boolean;
|
|
1087
|
-
/** 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. */
|
|
1088
|
-
quotaUser?: string;
|
|
1089
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1090
|
-
upload_protocol?: string;
|
|
1091
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1092
|
-
uploadType?: string;
|
|
1093
|
-
}): Request<GoogleCloudAssuredworkloadsV1ListDbControlComplianceSummariesResponse>;
|
|
1094
|
-
}
|
|
1095
|
-
interface DbFrameworkComplianceReportsResource {
|
|
1096
|
-
/** Gets daily compliance reports over a time range for a framework that's deployed in a Data Boundary scope. */
|
|
1097
|
-
aggregate(request?: {
|
|
1098
|
-
/** V1 error format. */
|
|
1099
|
-
'$.xgafv'?: '1' | '2';
|
|
1100
|
-
/** OAuth access token. */
|
|
1101
|
-
access_token?: string;
|
|
1102
|
-
/** Data format for response. */
|
|
1103
|
-
alt?: 'json' | 'media' | 'proto';
|
|
1104
|
-
/** JSONP */
|
|
1105
|
-
callback?: string;
|
|
1106
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1107
|
-
fields?: string;
|
|
1108
|
-
/** Optional. A filter expression that restricts the framework deployments that are included in the report. The syntax follows [AIP-160](https://google.aip.dev/160). Supported fields are `framework_deployment`, `framework_name`, and `framework_revision` (the major revision ID of the framework). */
|
|
1109
|
-
filter?: string;
|
|
1110
|
-
/** Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end. */
|
|
1111
|
-
'interval.endTime'?: string;
|
|
1112
|
-
/** Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start. */
|
|
1113
|
-
'interval.startTime'?: string;
|
|
1114
|
-
/** 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. */
|
|
1115
|
-
key?: string;
|
|
1116
|
-
/** Required. The name of the framework compliance report to aggregate over time. The report ID is the ID of the compliance framework, for example `builtin-fedramp-high`. Format: `organizations/{organization_id}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` */
|
|
1117
|
-
name: string;
|
|
1118
|
-
/** OAuth 2.0 token for the current user. */
|
|
1119
|
-
oauth_token?: string;
|
|
1120
|
-
/** Returns response with indentations and line breaks. */
|
|
1121
|
-
prettyPrint?: boolean;
|
|
1122
|
-
/** 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. */
|
|
1123
|
-
quotaUser?: string;
|
|
1124
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1125
|
-
upload_protocol?: string;
|
|
1126
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1127
|
-
uploadType?: string;
|
|
1128
|
-
}): Request<GoogleCloudAssuredworkloadsV1AggregateDbFrameworkComplianceReportResponse>;
|
|
1129
|
-
/** Fetches the current compliance report for a framework that's deployed in a Data Boundary scope (an organization, folder, or project). The report includes the number of passing, failing, and not assessed controls in the framework. */
|
|
1130
|
-
fetch(request?: {
|
|
1131
|
-
/** V1 error format. */
|
|
1132
|
-
'$.xgafv'?: '1' | '2';
|
|
1133
|
-
/** OAuth access token. */
|
|
1134
|
-
access_token?: string;
|
|
1135
|
-
/** Data format for response. */
|
|
1136
|
-
alt?: 'json' | 'media' | 'proto';
|
|
1137
|
-
/** JSONP */
|
|
1138
|
-
callback?: string;
|
|
1139
|
-
/** Optional. The end time of the report. Reserved for future use. Currently, the report always reflects the current compliance state. */
|
|
1140
|
-
endTime?: string;
|
|
1141
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1142
|
-
fields?: string;
|
|
1143
|
-
/** Optional. A filter expression that restricts the results. Reserved for future use. */
|
|
1144
|
-
filter?: string;
|
|
1145
|
-
/** 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. */
|
|
1146
|
-
key?: string;
|
|
1147
|
-
/** Required. The name of the framework compliance report to retrieve. The report ID is the ID of the compliance framework, for example `builtin-fedramp-high`. Formats: * `organizations/{organization}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `folders/{folder}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `projects/{project}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` */
|
|
1148
|
-
name: string;
|
|
1149
|
-
/** OAuth 2.0 token for the current user. */
|
|
1150
|
-
oauth_token?: string;
|
|
1151
|
-
/** Returns response with indentations and line breaks. */
|
|
1152
|
-
prettyPrint?: boolean;
|
|
1153
|
-
/** 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. */
|
|
1154
|
-
quotaUser?: string;
|
|
1155
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1156
|
-
upload_protocol?: string;
|
|
1157
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1158
|
-
uploadType?: string;
|
|
1159
|
-
}): Request<GoogleCloudAssuredworkloadsV1FetchDbFrameworkComplianceReportResponse>;
|
|
1160
|
-
dbControlComplianceSummaries: DbControlComplianceSummariesResource;
|
|
1161
|
-
}
|
|
1162
|
-
interface DbFrameworkComplianceSummariesResource {
|
|
1163
|
-
/** Lists the compliance summaries of the frameworks that are deployed in a Data Boundary scope (an organization, folder, or project). */
|
|
1164
|
-
list(request?: {
|
|
1165
|
-
/** V1 error format. */
|
|
1166
|
-
'$.xgafv'?: '1' | '2';
|
|
1167
|
-
/** OAuth access token. */
|
|
1168
|
-
access_token?: string;
|
|
1169
|
-
/** Data format for response. */
|
|
1170
|
-
alt?: 'json' | 'media' | 'proto';
|
|
1171
|
-
/** JSONP */
|
|
1172
|
-
callback?: string;
|
|
1173
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1174
|
-
fields?: string;
|
|
1175
|
-
/** Optional. A filter expression that restricts the results. Reserved for future use. */
|
|
1176
|
-
filter?: string;
|
|
1177
|
-
/** 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. */
|
|
1178
|
-
key?: string;
|
|
1179
|
-
/** OAuth 2.0 token for the current user. */
|
|
1180
|
-
oauth_token?: string;
|
|
1181
|
-
/** Optional. The requested page size. The server might return fewer items than requested. If unspecified, the default page size is 50. The maximum value is 1000. */
|
|
1182
|
-
pageSize?: number;
|
|
1183
|
-
/** Optional. A token that identifies the page of results that the server should return. Pass the `next_page_token` value from a previous result. */
|
|
1184
|
-
pageToken?: string;
|
|
1185
|
-
/** Required. The parent scope to list framework compliance summaries for. Formats: * `organizations/{organization}/locations/{location}` * `folders/{folder}/locations/{location}` * `projects/{project}/locations/{location}` */
|
|
1186
|
-
parent: string;
|
|
1187
|
-
/** Returns response with indentations and line breaks. */
|
|
1188
|
-
prettyPrint?: boolean;
|
|
1189
|
-
/** 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. */
|
|
1190
|
-
quotaUser?: string;
|
|
1191
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1192
|
-
upload_protocol?: string;
|
|
1193
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1194
|
-
uploadType?: string;
|
|
1195
|
-
/** Optional. The level of detail to return for each summary. If not specified, `FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_BASIC` is used. */
|
|
1196
|
-
view?:
|
|
1197
|
-
| 'FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_UNSPECIFIED'
|
|
1198
|
-
| 'FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_BASIC'
|
|
1199
|
-
| 'FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_FULL';
|
|
1200
|
-
}): Request<GoogleCloudAssuredworkloadsV1ListDbFrameworkComplianceSummariesResponse>;
|
|
1201
|
-
}
|
|
1202
557
|
interface OperationsResource {
|
|
1203
558
|
/** 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. */
|
|
1204
559
|
get(request?: {
|
|
@@ -1519,7 +874,7 @@ declare namespace gapi.client {
|
|
|
1519
874
|
project?: string;
|
|
1520
875
|
/** 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. */
|
|
1521
876
|
quotaUser?: string;
|
|
1522
|
-
/** Required. The resource
|
|
877
|
+
/** Required. The resource name of the folder-based destination workload. This workload is where the source resource will hypothetically be moved to. Specify the workload's relative resource name, formatted as: "organizations/{ORGANIZATION_ID}/locations/{LOCATION_ID}/workloads/{WORKLOAD_ID}" For example: "organizations/123/locations/us-east1/workloads/assured-workload-2" */
|
|
1523
878
|
target: string;
|
|
1524
879
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1525
880
|
upload_protocol?: string;
|
|
@@ -1913,205 +1268,13 @@ declare namespace gapi.client {
|
|
|
1913
1268
|
violations: ViolationsResource;
|
|
1914
1269
|
}
|
|
1915
1270
|
interface LocationsResource {
|
|
1916
|
-
dbFindingSummaries: DbFindingSummariesResource;
|
|
1917
|
-
dbFrameworkComplianceReports: DbFrameworkComplianceReportsResource;
|
|
1918
|
-
dbFrameworkComplianceSummaries: DbFrameworkComplianceSummariesResource;
|
|
1919
1271
|
operations: OperationsResource;
|
|
1920
1272
|
workloads: WorkloadsResource;
|
|
1921
1273
|
}
|
|
1922
1274
|
interface OrganizationsResource {
|
|
1923
1275
|
locations: LocationsResource;
|
|
1924
1276
|
}
|
|
1925
|
-
interface DbFindingSummariesResource {
|
|
1926
|
-
/** Lists summaries of the active findings in a Data Boundary scope (an organization, folder, or project), with one summary for each finding category. */
|
|
1927
|
-
list(request?: {
|
|
1928
|
-
/** V1 error format. */
|
|
1929
|
-
'$.xgafv'?: '1' | '2';
|
|
1930
|
-
/** OAuth access token. */
|
|
1931
|
-
access_token?: string;
|
|
1932
|
-
/** Data format for response. */
|
|
1933
|
-
alt?: 'json' | 'media' | 'proto';
|
|
1934
|
-
/** JSONP */
|
|
1935
|
-
callback?: string;
|
|
1936
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1937
|
-
fields?: string;
|
|
1938
|
-
/** Optional. A filter expression that restricts the framework deployments whose findings are summarized. The syntax follows [AIP-160](https://google.aip.dev/160). Supported fields are `framework_deployment`, `framework_name`, and `framework_revision` (the major revision ID of the framework). */
|
|
1939
|
-
filter?: string;
|
|
1940
|
-
/** 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. */
|
|
1941
|
-
key?: string;
|
|
1942
|
-
/** OAuth 2.0 token for the current user. */
|
|
1943
|
-
oauth_token?: string;
|
|
1944
|
-
/** Optional. The requested page size. The server might return fewer items than requested. If unspecified, the server picks an appropriate default. */
|
|
1945
|
-
pageSize?: number;
|
|
1946
|
-
/** Optional. A token that identifies the page of results that the server should return. Pass the `next_page_token` value from a previous result. */
|
|
1947
|
-
pageToken?: string;
|
|
1948
|
-
/** Required. The parent scope to list finding summaries for. Formats: * `organizations/{organization}/locations/{location}` * `folders/{folder}/locations/{location}` * `projects/{project}/locations/{location}` */
|
|
1949
|
-
parent: string;
|
|
1950
|
-
/** Returns response with indentations and line breaks. */
|
|
1951
|
-
prettyPrint?: boolean;
|
|
1952
|
-
/** 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. */
|
|
1953
|
-
quotaUser?: string;
|
|
1954
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1955
|
-
upload_protocol?: string;
|
|
1956
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1957
|
-
uploadType?: string;
|
|
1958
|
-
}): Request<GoogleCloudAssuredworkloadsV1ListDbFindingSummariesResponse>;
|
|
1959
|
-
}
|
|
1960
|
-
interface DbControlComplianceSummariesResource {
|
|
1961
|
-
/** Lists the compliance summaries of the controls in a framework compliance report. */
|
|
1962
|
-
list(request?: {
|
|
1963
|
-
/** V1 error format. */
|
|
1964
|
-
'$.xgafv'?: '1' | '2';
|
|
1965
|
-
/** OAuth access token. */
|
|
1966
|
-
access_token?: string;
|
|
1967
|
-
/** Data format for response. */
|
|
1968
|
-
alt?: 'json' | 'media' | 'proto';
|
|
1969
|
-
/** JSONP */
|
|
1970
|
-
callback?: string;
|
|
1971
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1972
|
-
fields?: string;
|
|
1973
|
-
/** Optional. A filter expression that restricts the results. The syntax follows [AIP-160](https://google.aip.dev/160). Supported fields are `framework_deployment`, `framework_name`, `framework_revision` (the major revision ID of the framework), and `end_time`. The `end_time` field accepts a single equality comparison with an [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp, for example `end_time = "2026-01-01T00:00:00Z"`. Only findings that were updated at or after this time are counted. */
|
|
1974
|
-
filter?: string;
|
|
1975
|
-
/** 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. */
|
|
1976
|
-
key?: string;
|
|
1977
|
-
/** OAuth 2.0 token for the current user. */
|
|
1978
|
-
oauth_token?: string;
|
|
1979
|
-
/** Optional. The requested page size. The server might return fewer items than requested. If unspecified, the default page size is 50. The maximum value is 1000. */
|
|
1980
|
-
pageSize?: number;
|
|
1981
|
-
/** Optional. A token that identifies the page of results that the server should return. Pass the `next_page_token` value from a previous result. */
|
|
1982
|
-
pageToken?: string;
|
|
1983
|
-
/** Required. The framework compliance report to list control compliance summaries for. Formats: * `organizations/{organization}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `folders/{folder}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `projects/{project}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` */
|
|
1984
|
-
parent: string;
|
|
1985
|
-
/** Returns response with indentations and line breaks. */
|
|
1986
|
-
prettyPrint?: boolean;
|
|
1987
|
-
/** 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. */
|
|
1988
|
-
quotaUser?: string;
|
|
1989
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1990
|
-
upload_protocol?: string;
|
|
1991
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1992
|
-
uploadType?: string;
|
|
1993
|
-
}): Request<GoogleCloudAssuredworkloadsV1ListDbControlComplianceSummariesResponse>;
|
|
1994
|
-
}
|
|
1995
|
-
interface DbFrameworkComplianceReportsResource {
|
|
1996
|
-
/** Gets daily compliance reports over a time range for a framework that's deployed in a Data Boundary scope. */
|
|
1997
|
-
aggregate(request?: {
|
|
1998
|
-
/** V1 error format. */
|
|
1999
|
-
'$.xgafv'?: '1' | '2';
|
|
2000
|
-
/** OAuth access token. */
|
|
2001
|
-
access_token?: string;
|
|
2002
|
-
/** Data format for response. */
|
|
2003
|
-
alt?: 'json' | 'media' | 'proto';
|
|
2004
|
-
/** JSONP */
|
|
2005
|
-
callback?: string;
|
|
2006
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
2007
|
-
fields?: string;
|
|
2008
|
-
/** Optional. A filter expression that restricts the framework deployments that are included in the report. The syntax follows [AIP-160](https://google.aip.dev/160). Supported fields are `framework_deployment`, `framework_name`, and `framework_revision` (the major revision ID of the framework). */
|
|
2009
|
-
filter?: string;
|
|
2010
|
-
/** Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end. */
|
|
2011
|
-
'interval.endTime'?: string;
|
|
2012
|
-
/** Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start. */
|
|
2013
|
-
'interval.startTime'?: string;
|
|
2014
|
-
/** 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. */
|
|
2015
|
-
key?: string;
|
|
2016
|
-
/** Required. The name of the framework compliance report to aggregate over time. The report ID is the ID of the compliance framework, for example `builtin-fedramp-high`. Format: `organizations/{organization_id}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` */
|
|
2017
|
-
name: string;
|
|
2018
|
-
/** OAuth 2.0 token for the current user. */
|
|
2019
|
-
oauth_token?: string;
|
|
2020
|
-
/** Returns response with indentations and line breaks. */
|
|
2021
|
-
prettyPrint?: boolean;
|
|
2022
|
-
/** 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. */
|
|
2023
|
-
quotaUser?: string;
|
|
2024
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2025
|
-
upload_protocol?: string;
|
|
2026
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2027
|
-
uploadType?: string;
|
|
2028
|
-
}): Request<GoogleCloudAssuredworkloadsV1AggregateDbFrameworkComplianceReportResponse>;
|
|
2029
|
-
/** Fetches the current compliance report for a framework that's deployed in a Data Boundary scope (an organization, folder, or project). The report includes the number of passing, failing, and not assessed controls in the framework. */
|
|
2030
|
-
fetch(request?: {
|
|
2031
|
-
/** V1 error format. */
|
|
2032
|
-
'$.xgafv'?: '1' | '2';
|
|
2033
|
-
/** OAuth access token. */
|
|
2034
|
-
access_token?: string;
|
|
2035
|
-
/** Data format for response. */
|
|
2036
|
-
alt?: 'json' | 'media' | 'proto';
|
|
2037
|
-
/** JSONP */
|
|
2038
|
-
callback?: string;
|
|
2039
|
-
/** Optional. The end time of the report. Reserved for future use. Currently, the report always reflects the current compliance state. */
|
|
2040
|
-
endTime?: string;
|
|
2041
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
2042
|
-
fields?: string;
|
|
2043
|
-
/** Optional. A filter expression that restricts the results. Reserved for future use. */
|
|
2044
|
-
filter?: string;
|
|
2045
|
-
/** 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. */
|
|
2046
|
-
key?: string;
|
|
2047
|
-
/** Required. The name of the framework compliance report to retrieve. The report ID is the ID of the compliance framework, for example `builtin-fedramp-high`. Formats: * `organizations/{organization}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `folders/{folder}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` * `projects/{project}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report}` */
|
|
2048
|
-
name: string;
|
|
2049
|
-
/** OAuth 2.0 token for the current user. */
|
|
2050
|
-
oauth_token?: string;
|
|
2051
|
-
/** Returns response with indentations and line breaks. */
|
|
2052
|
-
prettyPrint?: boolean;
|
|
2053
|
-
/** 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. */
|
|
2054
|
-
quotaUser?: string;
|
|
2055
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2056
|
-
upload_protocol?: string;
|
|
2057
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2058
|
-
uploadType?: string;
|
|
2059
|
-
}): Request<GoogleCloudAssuredworkloadsV1FetchDbFrameworkComplianceReportResponse>;
|
|
2060
|
-
dbControlComplianceSummaries: DbControlComplianceSummariesResource;
|
|
2061
|
-
}
|
|
2062
|
-
interface DbFrameworkComplianceSummariesResource {
|
|
2063
|
-
/** Lists the compliance summaries of the frameworks that are deployed in a Data Boundary scope (an organization, folder, or project). */
|
|
2064
|
-
list(request?: {
|
|
2065
|
-
/** V1 error format. */
|
|
2066
|
-
'$.xgafv'?: '1' | '2';
|
|
2067
|
-
/** OAuth access token. */
|
|
2068
|
-
access_token?: string;
|
|
2069
|
-
/** Data format for response. */
|
|
2070
|
-
alt?: 'json' | 'media' | 'proto';
|
|
2071
|
-
/** JSONP */
|
|
2072
|
-
callback?: string;
|
|
2073
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
2074
|
-
fields?: string;
|
|
2075
|
-
/** Optional. A filter expression that restricts the results. Reserved for future use. */
|
|
2076
|
-
filter?: string;
|
|
2077
|
-
/** 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. */
|
|
2078
|
-
key?: string;
|
|
2079
|
-
/** OAuth 2.0 token for the current user. */
|
|
2080
|
-
oauth_token?: string;
|
|
2081
|
-
/** Optional. The requested page size. The server might return fewer items than requested. If unspecified, the default page size is 50. The maximum value is 1000. */
|
|
2082
|
-
pageSize?: number;
|
|
2083
|
-
/** Optional. A token that identifies the page of results that the server should return. Pass the `next_page_token` value from a previous result. */
|
|
2084
|
-
pageToken?: string;
|
|
2085
|
-
/** Required. The parent scope to list framework compliance summaries for. Formats: * `organizations/{organization}/locations/{location}` * `folders/{folder}/locations/{location}` * `projects/{project}/locations/{location}` */
|
|
2086
|
-
parent: string;
|
|
2087
|
-
/** Returns response with indentations and line breaks. */
|
|
2088
|
-
prettyPrint?: boolean;
|
|
2089
|
-
/** 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. */
|
|
2090
|
-
quotaUser?: string;
|
|
2091
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2092
|
-
upload_protocol?: string;
|
|
2093
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2094
|
-
uploadType?: string;
|
|
2095
|
-
/** Optional. The level of detail to return for each summary. If not specified, `FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_BASIC` is used. */
|
|
2096
|
-
view?:
|
|
2097
|
-
| 'FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_UNSPECIFIED'
|
|
2098
|
-
| 'FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_BASIC'
|
|
2099
|
-
| 'FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_FULL';
|
|
2100
|
-
}): Request<GoogleCloudAssuredworkloadsV1ListDbFrameworkComplianceSummariesResponse>;
|
|
2101
|
-
}
|
|
2102
|
-
interface LocationsResource {
|
|
2103
|
-
dbFindingSummaries: DbFindingSummariesResource;
|
|
2104
|
-
dbFrameworkComplianceReports: DbFrameworkComplianceReportsResource;
|
|
2105
|
-
dbFrameworkComplianceSummaries: DbFrameworkComplianceSummariesResource;
|
|
2106
|
-
}
|
|
2107
|
-
interface ProjectsResource {
|
|
2108
|
-
locations: LocationsResource;
|
|
2109
|
-
}
|
|
2110
|
-
|
|
2111
|
-
const folders: FoldersResource;
|
|
2112
1277
|
|
|
2113
1278
|
const organizations: OrganizationsResource;
|
|
2114
|
-
|
|
2115
|
-
const projects: ProjectsResource;
|
|
2116
1279
|
}
|
|
2117
1280
|
}
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -64,6 +64,12 @@ Don't forget to authenticate your client before sending any request to resources
|
|
|
64
64
|
// declare client_id registered in Google Developers Console
|
|
65
65
|
var client_id = '',
|
|
66
66
|
scope = [
|
|
67
|
+
// See, edit, configure, and delete your Google Cloud Assured Workloads data and see the email address for your Google Account
|
|
68
|
+
'https://www.googleapis.com/auth/assuredworkloads',
|
|
69
|
+
|
|
70
|
+
// See your Google Cloud Assured Workloads data and the email address of your Google Account
|
|
71
|
+
'https://www.googleapis.com/auth/assuredworkloads.readonly',
|
|
72
|
+
|
|
67
73
|
// See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
|
68
74
|
'https://www.googleapis.com/auth/cloud-platform',
|
|
69
75
|
],
|