@maxim_mazurok/gapi.client.workloadmanager-v1 0.1.20260204 → 0.2.20260217

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 +471 -248
  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://workloadmanager.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20260204
12
+ // Revision: 20260217
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -38,7 +38,10 @@ declare namespace gapi.client {
38
38
  /** Required. secret_manager_secret */
39
39
  secretManagerSecret?: string;
40
40
  /** Required. active directory type */
41
- type?: string;
41
+ type?:
42
+ | 'ACTIVE_DIRECTORY_TYPE_UNSPECIFIED'
43
+ | 'GCP_MANAGED'
44
+ | 'SELF_MANAGED';
42
45
  }
43
46
  interface Actuation {
44
47
  /** Output only. [Output only] Actuation output */
@@ -52,7 +55,14 @@ declare namespace gapi.client {
52
55
  /** Output only. [Output only] Start time stamp */
53
56
  startTime?: string;
54
57
  /** Output only. [Output only] Actuation state */
55
- state?: string;
58
+ state?:
59
+ | 'STATE_UNSPECIFIED'
60
+ | 'INFRA_CREATING'
61
+ | 'SUCCEEDED'
62
+ | 'FAILED'
63
+ | 'POST_INFRA_CONFIGURING'
64
+ | 'INFRA_DESTROYING'
65
+ | 'TIMEOUT';
56
66
  }
57
67
  interface ActuationOutput {
58
68
  /** A link to gcs file that store build logs */
@@ -66,7 +76,20 @@ declare namespace gapi.client {
66
76
  /** Cloud Build instance UUID associated with this revision, without any suffix or prefix */
67
77
  cloudbuildId?: string;
68
78
  /** Output only. Code describing any errors that may have occurred. If not specified, there is no error in actuation. */
69
- errorCode?: string;
79
+ errorCode?:
80
+ | 'ERROR_CODE_UNSPECIFIED'
81
+ | 'TERRAFORM_FAILED'
82
+ | 'PERMISSION_DENIED_IN_TERRAFORM'
83
+ | 'QUOTA_EXCEED_IN_TERRAFORM'
84
+ | 'ANSIBLE_FAILED'
85
+ | 'CONSTRAINT_VIOLATION_IN_TERRAFORM'
86
+ | 'RESOURCE_ALREADY_EXISTS_IN_TERRAFORM'
87
+ | 'RESOURCE_UNAVAILABLE_IN_TERRAFORM'
88
+ | 'PERMISSION_DENIED_IN_ANSIBLE'
89
+ | 'INVALID_SECRET_IN_ANSIBLE'
90
+ | 'TERRAFORM_DELETION_FAILED'
91
+ | 'RESOURCE_IN_USE_IN_TERRAFORM_DELETION'
92
+ | 'ANSIBLE_START_FAILED';
70
93
  /** A link to actuation cloud build log. */
71
94
  errorLogs?: string;
72
95
  /** Output only. whether the error message is user facing. If true, the error message will be shown in the UI. */
@@ -77,9 +100,9 @@ declare namespace gapi.client {
77
100
  terraformTemplate?: string;
78
101
  }
79
102
  interface AgentCommand {
80
- /** command is the name of the agent one-time executable that will be invoked. */
103
+ /** The name of the agent one-time executable that will be invoked. */
81
104
  command?: string;
82
- /** parameters is a map of key/value pairs that can be used to specify additional one-time executable settings. */
105
+ /** A map of key/value pairs that can be used to specify additional one-time executable settings. */
83
106
  parameters?: {[P in string]: string};
84
107
  }
85
108
  interface AgentStates {
@@ -102,13 +125,21 @@ declare namespace gapi.client {
102
125
  /** Output only. The available version of the agent in artifact registry. */
103
126
  availableVersion?: string;
104
127
  /** Output only. Whether the agent has full access to Cloud APIs. */
105
- cloudApiAccessFullScopesGranted?: string;
128
+ cloudApiAccessFullScopesGranted?:
129
+ | 'UNSPECIFIED_STATE'
130
+ | 'SUCCESS_STATE'
131
+ | 'FAILURE_STATE'
132
+ | 'ERROR_STATE';
106
133
  /** Output only. The error message for the agent configuration if invalid. */
107
134
  configurationErrorMessage?: string;
108
135
  /** Output only. The path to the agent configuration file. */
109
136
  configurationFilePath?: string;
110
137
  /** Output only. Whether the agent configuration is valid. */
111
- configurationValid?: string;
138
+ configurationValid?:
139
+ | 'UNSPECIFIED_STATE'
140
+ | 'SUCCESS_STATE'
141
+ | 'FAILURE_STATE'
142
+ | 'ERROR_STATE';
112
143
  /** Output only. The installed version of the agent on the host. */
113
144
  installedVersion?: string;
114
145
  /** Output only. The URI of the instance. Format: projects//zones//instances/ */
@@ -120,9 +151,17 @@ declare namespace gapi.client {
120
151
  /** Output only. The services (process metrics, host metrics, etc.). */
121
152
  services?: AgentStatusServiceStatus[];
122
153
  /** Output only. Whether the agent service is enabled in systemd. */
123
- systemdServiceEnabled?: string;
154
+ systemdServiceEnabled?:
155
+ | 'UNSPECIFIED_STATE'
156
+ | 'SUCCESS_STATE'
157
+ | 'FAILURE_STATE'
158
+ | 'ERROR_STATE';
124
159
  /** Output only. Whether the agent service is running in systemd. */
125
- systemdServiceRunning?: string;
160
+ systemdServiceRunning?:
161
+ | 'UNSPECIFIED_STATE'
162
+ | 'SUCCESS_STATE'
163
+ | 'FAILURE_STATE'
164
+ | 'ERROR_STATE';
126
165
  }
127
166
  interface AgentStatusConfigValue {
128
167
  /** Output only. Whether the configuration value is the default value or overridden. */
@@ -134,7 +173,11 @@ declare namespace gapi.client {
134
173
  }
135
174
  interface AgentStatusIAMPermission {
136
175
  /** Output only. Whether the permission is granted. */
137
- granted?: string;
176
+ granted?:
177
+ | 'UNSPECIFIED_STATE'
178
+ | 'SUCCESS_STATE'
179
+ | 'FAILURE_STATE'
180
+ | 'ERROR_STATE';
138
181
  /** Output only. The name of the permission. */
139
182
  name?: string;
140
183
  }
@@ -150,13 +193,21 @@ declare namespace gapi.client {
150
193
  /** Output only. The error message for the service if it is not fully functional. */
151
194
  errorMessage?: string;
152
195
  /** Output only. Whether the service is fully functional (all checks passed). */
153
- fullyFunctional?: string;
196
+ fullyFunctional?:
197
+ | 'UNSPECIFIED_STATE'
198
+ | 'SUCCESS_STATE'
199
+ | 'FAILURE_STATE'
200
+ | 'ERROR_STATE';
154
201
  /** Output only. The permissions required for the service. */
155
202
  iamPermissions?: AgentStatusIAMPermission[];
156
203
  /** Output only. The name of the service. */
157
204
  name?: string;
158
205
  /** Output only. The state of the service (enabled or disabled in the configuration). */
159
- state?: string;
206
+ state?:
207
+ | 'UNSPECIFIED_STATE'
208
+ | 'SUCCESS_STATE'
209
+ | 'FAILURE_STATE'
210
+ | 'ERROR_STATE';
160
211
  /** Output only. The message to display when the service state is unspecified. */
161
212
  unspecifiedStateMessage?: string;
162
213
  }
@@ -196,14 +247,17 @@ declare namespace gapi.client {
196
247
  }
197
248
  interface BackupProperties {
198
249
  /** Output only. The state of the latest backup. */
199
- latestBackupStatus?: string;
250
+ latestBackupStatus?:
251
+ | 'BACKUP_STATE_UNSPECIFIED'
252
+ | 'BACKUP_STATE_SUCCESS'
253
+ | 'BACKUP_STATE_FAILURE';
200
254
  /** The time when the latest backup was performed. */
201
255
  latestBackupTime?: string;
202
256
  }
203
257
  interface BigQueryDestination {
204
- /** Optional. determine if results will be saved in a new table */
258
+ /** Optional. Determines if a new results table will be created when an Execution is created. */
205
259
  createNewResultsTable?: boolean;
206
- /** Optional. destination dataset to save evaluation results */
260
+ /** Optional. Destination dataset to save evaluation results. */
207
261
  destinationDataset?: string;
208
262
  }
209
263
  interface CancelOperationRequest {}
@@ -211,7 +265,19 @@ declare namespace gapi.client {
211
265
  /** Output only. All instance properties. */
212
266
  instanceProperties?: InstanceProperties;
213
267
  /** Output only. */
214
- kind?: string;
268
+ kind?:
269
+ | 'RESOURCE_KIND_UNSPECIFIED'
270
+ | 'RESOURCE_KIND_INSTANCE'
271
+ | 'RESOURCE_KIND_DISK'
272
+ | 'RESOURCE_KIND_ADDRESS'
273
+ | 'RESOURCE_KIND_FILESTORE'
274
+ | 'RESOURCE_KIND_HEALTH_CHECK'
275
+ | 'RESOURCE_KIND_FORWARDING_RULE'
276
+ | 'RESOURCE_KIND_BACKEND_SERVICE'
277
+ | 'RESOURCE_KIND_SUBNETWORK'
278
+ | 'RESOURCE_KIND_NETWORK'
279
+ | 'RESOURCE_KIND_PUBLIC_ADDRESS'
280
+ | 'RESOURCE_KIND_INSTANCE_GROUP';
215
281
  /** Output only. resource name Example: compute.googleapis.com/projects/wlm-obs-dev/zones/us-central1-a/instances/sap-pri */
216
282
  name?: string;
217
283
  }
@@ -227,9 +293,18 @@ declare namespace gapi.client {
227
293
  /** The detailed health checks of the component. */
228
294
  componentHealthChecks?: HealthCheck[];
229
295
  /** Output only. The type of the component health. */
230
- componentHealthType?: string;
296
+ componentHealthType?:
297
+ | 'TYPE_UNSPECIFIED'
298
+ | 'TYPE_REQUIRED'
299
+ | 'TYPE_OPTIONAL'
300
+ | 'TYPE_SPECIAL';
231
301
  /** Output only. The health state of the component. */
232
- state?: string;
302
+ state?:
303
+ | 'HEALTH_STATE_UNSPECIFIED'
304
+ | 'HEALTHY'
305
+ | 'UNHEALTHY'
306
+ | 'CRITICAL'
307
+ | 'UNSUPPORTED';
233
308
  /** Sub component health. */
234
309
  subComponentsHealth?: ComponentHealth[];
235
310
  }
@@ -255,7 +330,7 @@ declare namespace gapi.client {
255
330
  /** Required. whether to have TempDB on local SSD */
256
331
  tempdbOnSsd?: boolean;
257
332
  /** Required. SHARED or SOLE_TENANT */
258
- tenancyModel?: string;
333
+ tenancyModel?: 'TENANCY_MODEL_UNSPECIFIED' | 'SHARED' | 'SOLE_TENANT';
259
334
  }
260
335
  interface DatabaseDetails {
261
336
  /** Database service account - let custoemrs bring their own SA for database */
@@ -281,7 +356,14 @@ declare namespace gapi.client {
281
356
  /** Output only. Backup properties. */
282
357
  backupProperties?: BackupProperties;
283
358
  /** Output only. Type of the database. `HANA`, `DB2`, etc. */
284
- databaseType?: string;
359
+ databaseType?:
360
+ | 'DATABASE_TYPE_UNSPECIFIED'
361
+ | 'HANA'
362
+ | 'MAX_DB'
363
+ | 'DB2'
364
+ | 'ORACLE'
365
+ | 'SQLSERVER'
366
+ | 'ASE';
285
367
  }
286
368
  interface Deployment {
287
369
  /** Output only. [Output only] Create time stamp */
@@ -297,7 +379,13 @@ declare namespace gapi.client {
297
379
  /** MS SQL workload input */
298
380
  sqlServerWorkload?: SqlServerWorkload;
299
381
  /** Output only. Current state of the deployment. */
300
- state?: string;
382
+ state?:
383
+ | 'STATE_UNSPECIFIED'
384
+ | 'CREATING'
385
+ | 'ACTIVE'
386
+ | 'UPDATING'
387
+ | 'DELETING'
388
+ | 'FAILED';
301
389
  /** Optional. terraform_variables represents all the Terraform variables for the deployment workload. The key is the name of the Terraform variable, and the value is the TerraformVariable. For example: { "project_id": { "input_value": { "string_value": "my-project-id" } }, "zone": { "input_value": { "string_value": "us-central1-a" } } } */
302
390
  terraformVariables?: {[P in string]: TerraformVariable};
303
391
  /** Output only. [Output only] Update time stamp */
@@ -305,7 +393,11 @@ declare namespace gapi.client {
305
393
  /** Optional. The user-specified Cloud Build worker pool resource in which the Cloud Build job will execute. Format: `projects/{project}/locations/{location}/workerPools/{workerPoolId}`. If this field is unspecified, the default Cloud Build worker pool will be used. */
306
394
  workerPool?: string;
307
395
  /** Optional. Workload type of the deployment */
308
- workloadType?: string;
396
+ workloadType?:
397
+ | 'WORKLOAD_TYPE_UNSPECIFIED'
398
+ | 'SAP_S4'
399
+ | 'SQL_SERVER'
400
+ | 'ORACLE';
309
401
  }
310
402
  interface DeploymentOutput {
311
403
  /** name of the resource */
@@ -315,62 +407,64 @@ declare namespace gapi.client {
315
407
  }
316
408
  interface Empty {}
317
409
  interface Evaluation {
318
- /** Optional. BigQuery destination */
410
+ /** Optional. The BigQuery destination for detailed evaluation results. If this field is specified, the results of each evaluation execution are exported to BigQuery. */
319
411
  bigQueryDestination?: BigQueryDestination;
320
- /** Output only. [Output only] Create time stamp */
412
+ /** Output only. [Output only] Create time stamp. */
321
413
  createTime?: string;
322
414
  /** The Cloud Storage bucket name for custom rules. */
323
415
  customRulesBucket?: string;
324
- /** Description of the Evaluation */
416
+ /** Description of the Evaluation. */
325
417
  description?: string;
326
- /** Evaluation type */
327
- evaluationType?: string;
328
- /** Optional. Immutable. Customer-managed encryption key name, in the format projects/*‍/locations/*‍/keyRings/*‍/cryptoKeys/*. */
418
+ /** Evaluation type. */
419
+ evaluationType?:
420
+ | 'EVALUATION_TYPE_UNSPECIFIED'
421
+ | 'SAP'
422
+ | 'SQL_SERVER'
423
+ | 'OTHER';
424
+ /** Optional. Immutable. Customer-managed encryption key name, in the format projects/*‍/locations/*‍/keyRings/*‍/cryptoKeys/*. The key will be used for CMEK encryption of the evaluation resource. */
329
425
  kmsKey?: string;
330
- /** Labels as key value pairs */
426
+ /** Labels as key value pairs. */
331
427
  labels?: {[P in string]: string};
332
- /** name of resource names have the form 'projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}' */
428
+ /** Name of resource that has the form `projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}`. */
333
429
  name?: string;
334
- /** annotations as key value pairs */
430
+ /** Resource filter for an evaluation defining the scope of resources to be evaluated. */
335
431
  resourceFilter?: ResourceFilter;
336
- /** Output only. [Output only] The updated rule ids if exist. */
432
+ /** Output only. [Output only] The current lifecycle state of the evaluation resource. */
337
433
  resourceStatus?: ResourceStatus;
338
- /** the name of the rule */
434
+ /** The names of the rules used for this evaluation. */
339
435
  ruleNames?: string[];
340
- /** Output only. [Output only] The updated rule ids if exist. */
341
- ruleVersions?: string[];
342
- /** crontab format schedule for scheduled evaluation, currently only support the following schedule: "0 *‍/1 * * *", "0 *‍/6 * * *", "0 *‍/12 * * *", "0 0 *‍/1 * *", "0 0 *‍/7 * *", */
436
+ /** Crontab format schedule for scheduled evaluation, currently only supports the following fixed schedules: * `0 *‍/1 * * *` # Hourly * `0 *‍/6 * * *` # Every 6 hours * `0 *‍/12 * * *` # Every 12 hours * `0 0 *‍/1 * *` # Daily * `0 0 *‍/7 * *` # Weekly * `0 0 *‍/14 * *` # Every 14 days * `0 0 1 *‍/1 *` # Monthly */
343
437
  schedule?: string;
344
- /** Output only. [Output only] Update time stamp */
438
+ /** Output only. [Output only] Update time stamp. */
345
439
  updateTime?: string;
346
440
  }
347
441
  interface Execution {
348
- /** Output only. [Output only] End time stamp */
442
+ /** Output only. [Output only] End time stamp. */
349
443
  endTime?: string;
350
- /** Optional. Engine */
351
- engine?: string;
352
- /** Output only. [Output only] Evaluation ID */
444
+ /** Optional. Engine. */
445
+ engine?: 'ENGINE_UNSPECIFIED' | 'ENGINE_SCANNER' | 'V2';
446
+ /** Output only. [Output only] Evaluation ID. */
353
447
  evaluationId?: string;
354
- /** Optional. External data sources */
448
+ /** Optional. External data sources. */
355
449
  externalDataSources?: ExternalDataSources[];
356
- /** Output only. [Output only] Inventory time stamp */
450
+ /** Output only. [Output only] Inventory time stamp. */
357
451
  inventoryTime?: string;
358
- /** Labels as key value pairs */
452
+ /** Labels as key value pairs. */
359
453
  labels?: {[P in string]: string};
360
- /** The name of execution resource. The format is projects/{project}/locations/{location}/evaluations/{evaluation}/executions/{execution} */
454
+ /** The name of execution resource. The format is projects/{project}/locations/{location}/evaluations/{evaluation}/executions/{execution}. */
361
455
  name?: string;
362
- /** Output only. Additional information generated by the execution */
456
+ /** Output only. Additional information generated by the execution. */
363
457
  notices?: Notice[];
364
- /** Output only. [Output only] Result summary for the execution */
458
+ /** Output only. [Output only] Result summary for the execution. */
365
459
  resultSummary?: Summary;
366
- /** Output only. execution result summary per rule */
460
+ /** Output only. Execution result summary per rule. */
367
461
  ruleResults?: RuleExecutionResult[];
368
- /** type represent whether the execution executed directly by user or scheduled according evaluation.schedule field. */
369
- runType?: string;
370
- /** Output only. [Output only] Start time stamp */
462
+ /** Type which represents whether the execution executed directly by user or scheduled according to the `Evaluation.schedule` field. */
463
+ runType?: 'TYPE_UNSPECIFIED' | 'ONE_TIME' | 'SCHEDULED';
464
+ /** Output only. [Output only] Start time stamp. */
371
465
  startTime?: string;
372
- /** Output only. [Output only] State */
373
- state?: string;
466
+ /** Output only. [Output only] State. */
467
+ state?: 'STATE_UNSPECIFIED' | 'RUNNING' | 'SUCCEEDED' | 'FAILED';
374
468
  }
375
469
  interface ExecutionResult {
376
470
  /** The commands to remediate the violation. */
@@ -383,8 +477,8 @@ declare namespace gapi.client {
383
477
  rule?: string;
384
478
  /** The severity of violation. */
385
479
  severity?: string;
386
- /** Execution result type of the scanned resource */
387
- type?: string;
480
+ /** Execution result type of the scanned resource. */
481
+ type?: 'TYPE_UNSPECIFIED' | 'TYPE_PASSED' | 'TYPE_VIOLATED';
388
482
  /** The details of violation in an evaluation result. */
389
483
  violationDetails?: ViolationDetails;
390
484
  /** The violation message of an execution. */
@@ -393,15 +487,15 @@ declare namespace gapi.client {
393
487
  interface ExternalDataSources {
394
488
  /** Required. The asset type of the external data source. This can be a supported Cloud Asset Inventory asset type (see https://cloud.google.com/asset-inventory/docs/supported-asset-types) to override the default asset type, or it can be a custom type defined by the user. */
395
489
  assetType?: string;
396
- /** Optional. Name of external data source. The name will be used inside the rego/sql to refer the external data */
490
+ /** Optional. Name of external data source. The name will be used inside the rego/sql to refer the external data. */
397
491
  name?: string;
398
- /** Required. Type of external data source */
399
- type?: string;
400
- /** Required. URI of external data source. example of bq table {project_ID}.{dataset_ID}.{table_ID} */
492
+ /** Required. Type of external data source. */
493
+ type?: 'TYPE_UNSPECIFIED' | 'BIG_QUERY_TABLE';
494
+ /** Required. URI of external data source. example of bq table {project_ID}.{dataset_ID}.{table_ID}. */
401
495
  uri?: string;
402
496
  }
403
497
  interface GceInstanceFilter {
404
- /** Service account of compute engine */
498
+ /** If non-empty, only Compute Engine instances associated with at least one of the provided service accounts will be included in the evaluation. */
405
499
  serviceAccounts?: string[];
406
500
  }
407
501
  interface HealthCheck {
@@ -414,7 +508,13 @@ declare namespace gapi.client {
414
508
  /** Output only. The source of the health check. */
415
509
  source?: string;
416
510
  /** Output only. The state of the health check. */
417
- state?: string;
511
+ state?:
512
+ | 'STATE_UNSPECIFIED'
513
+ | 'PASSED'
514
+ | 'FAILED'
515
+ | 'DEGRADED'
516
+ | 'SKIPPED'
517
+ | 'UNSUPPORTED';
418
518
  }
419
519
  interface IAMPermission {
420
520
  /** Output only. Whether the permission is granted. */
@@ -446,7 +546,13 @@ declare namespace gapi.client {
446
546
  /** Optional. Instance machine type. */
447
547
  machineType?: string;
448
548
  /** Optional. Instance roles. */
449
- roles?: string[];
549
+ roles?:
550
+ | 'INSTANCE_ROLE_UNSPECIFIED'
551
+ | 'INSTANCE_ROLE_ASCS'
552
+ | 'INSTANCE_ROLE_ERS'
553
+ | 'INSTANCE_ROLE_APP_SERVER'
554
+ | 'INSTANCE_ROLE_HANA_PRIMARY'
555
+ | 'INSTANCE_ROLE_HANA_SECONDARY'[];
450
556
  /** Optional. SAP Instance properties. */
451
557
  sapInstanceProperties?: SapInstanceProperties;
452
558
  /** Optional. Instance status. */
@@ -454,20 +560,6 @@ declare namespace gapi.client {
454
560
  /** Optional. the next maintenance event on VM */
455
561
  upcomingMaintenanceEvent?: UpcomingMaintenanceEvent;
456
562
  }
457
- interface InvalidRule {
458
- /** display name of the invalid rule */
459
- displayName?: string;
460
- /** cloud storage destination of the invalid rule */
461
- gcsUri?: string;
462
- /** name of the invalid rule */
463
- name?: string;
464
- /** The error message of valdating rule formats. */
465
- valiadtionError?: string;
466
- }
467
- interface InvalidRulesWrapper {
468
- /** The invalid rules that failed to be validated. */
469
- invalidRules?: InvalidRule[];
470
- }
471
563
  interface ListActuationsResponse {
472
564
  /** The list of Actuation */
473
565
  actuations?: Actuation[];
@@ -493,7 +585,7 @@ declare namespace gapi.client {
493
585
  workloadProfiles?: WorkloadProfile[];
494
586
  }
495
587
  interface ListEvaluationsResponse {
496
- /** The list of Evaluation */
588
+ /** The list of evaluations. */
497
589
  evaluations?: Evaluation[];
498
590
  /** A token identifying a page of results the server should return. */
499
591
  nextPageToken?: string;
@@ -507,7 +599,7 @@ declare namespace gapi.client {
507
599
  nextPageToken?: string;
508
600
  }
509
601
  interface ListExecutionsResponse {
510
- /** The list of Execution */
602
+ /** The list of Execution. */
511
603
  executions?: Execution[];
512
604
  /** A token identifying a page of results the server should return. */
513
605
  nextPageToken?: string;
@@ -529,15 +621,13 @@ declare namespace gapi.client {
529
621
  unreachable?: string[];
530
622
  }
531
623
  interface ListRulesResponse {
532
- /** A wrapper of the invalid rules that failed to be validated. */
533
- invalidRulesWrapper?: InvalidRulesWrapper;
534
- /** all rules in response */
624
+ /** All rules in response. */
535
625
  rules?: Rule[];
536
626
  }
537
627
  interface ListScannedResourcesResponse {
538
628
  /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
539
629
  nextPageToken?: string;
540
- /** All scanned resources in response */
630
+ /** All scanned resources in response. */
541
631
  scannedResources?: ScannedResource[];
542
632
  }
543
633
  interface Location {
@@ -563,7 +653,10 @@ declare namespace gapi.client {
563
653
  dnsZone?: string;
564
654
  /** Optional. dns_zone_name_suffix */
565
655
  dnsZoneNameSuffix?: string;
566
- internetAccess?: string;
656
+ internetAccess?:
657
+ | 'INTERNETACCESS_UNSPECIFIED'
658
+ | 'ALLOW_EXTERNAL_IP'
659
+ | 'CONFIGURE_NAT';
567
660
  /** Optional. network project */
568
661
  networkProject?: string;
569
662
  /** Required. region_name */
@@ -578,7 +671,7 @@ declare namespace gapi.client {
578
671
  zone2Name?: string;
579
672
  }
580
673
  interface Notice {
581
- /** Output only. Message of the notice */
674
+ /** Output only. Message of the notice. */
582
675
  message?: string;
583
676
  }
584
677
  interface OpenShiftValidation {
@@ -644,60 +737,62 @@ declare namespace gapi.client {
644
737
  type?: string;
645
738
  }
646
739
  interface ResourceFilter {
647
- /** Filter compute engine resource */
740
+ /** Filter compute engine resources. */
648
741
  gceInstanceFilter?: GceInstanceFilter;
649
- /** The label used for filter resource */
742
+ /** Labels to filter resources by. Each key-value pair in the map must exist on the resource for it to be included (e.g. VM instance labels). For example, specifying `{ "env": "prod", "database": "nosql" }` will only include resources that have labels `env=prod` and `database=nosql`. */
650
743
  inclusionLabels?: {[P in string]: string};
651
- /** The id pattern for filter resource */
744
+ /** The pattern to filter resources by their id For example, a pattern of ".*prod-cluster.*" will match all resources that contain "prod-cluster" in their ID. */
652
745
  resourceIdPatterns?: string[];
653
- /** The scopes of evaluation resource */
746
+ /** The scopes of evaluation resource. Format: * `projects/{project_id}` * `folders/{folder_id}` * `organizations/{organization_id}` */
654
747
  scopes?: string[];
655
748
  }
656
749
  interface ResourceStatus {
657
- /** Historical: Used before 2023-05-22 the new version of rule id if exists */
658
- rulesNewerVersions?: string[];
659
- /** State of the resource */
660
- state?: string;
750
+ /** State of the Evaluation resource. */
751
+ state?: 'STATE_UNSPECIFIED' | 'CREATING' | 'ACTIVE' | 'DELETING';
661
752
  }
662
753
  interface Rule {
663
754
  /** The CAI asset type of the rule is evaluating, for joined asset types, it will be the corresponding primary asset types. */
664
755
  assetType?: string;
665
- /** descrite rule in plain language */
756
+ /** Describe rule in plain language. */
666
757
  description?: string;
667
- /** the name display in UI */
758
+ /** The name display in UI. */
668
759
  displayName?: string;
669
- /** the message template for rule */
760
+ /** The message template for rule. */
670
761
  errorMessage?: string;
671
- /** rule name */
762
+ /** Rule name. */
672
763
  name?: string;
673
- /** the primary category */
764
+ /** The primary category. */
674
765
  primaryCategory?: string;
675
- /** the remediation for the rule */
766
+ /** The remediation for the rule. */
676
767
  remediation?: string;
677
- /** Output only. the version of the rule */
768
+ /** Output only. The version of the rule. */
678
769
  revisionId?: string;
679
770
  /** The type of the rule. */
680
- ruleType?: string;
681
- /** the secondary category */
771
+ ruleType?: 'RULE_TYPE_UNSPECIFIED' | 'BASELINE' | 'CUSTOM';
772
+ /** The secondary category. */
682
773
  secondaryCategory?: string;
683
- /** the severity of the rule */
774
+ /** The severity of the rule. */
684
775
  severity?: string;
685
- /** List of user-defined tags */
776
+ /** List of user-defined tags. */
686
777
  tags?: string[];
687
- /** the docuement url for the rule */
778
+ /** The document url for the rule. */
688
779
  uri?: string;
689
780
  }
690
781
  interface RuleExecutionResult {
691
- /** Execution message, if any */
782
+ /** Execution message, if any. */
692
783
  message?: string;
693
- /** Number of violations */
784
+ /** Number of violations. */
694
785
  resultCount?: string;
695
- /** rule name */
786
+ /** Rule name as plain text like `sap-hana-configured`. */
696
787
  rule?: string;
697
- /** Number of total scanned resources */
788
+ /** Number of total scanned resources. */
698
789
  scannedResourceCount?: string;
699
- /** Output only. The execution status */
700
- state?: string;
790
+ /** Output only. The execution status. */
791
+ state?:
792
+ | 'STATE_UNSPECIFIED'
793
+ | 'STATE_SUCCESS'
794
+ | 'STATE_FAILURE'
795
+ | 'STATE_SKIPPED';
701
796
  }
702
797
  interface RuleOutput {
703
798
  /** Output only. Violation details generated by rule. */
@@ -706,9 +801,9 @@ declare namespace gapi.client {
706
801
  message?: string;
707
802
  }
708
803
  interface RunEvaluationRequest {
709
- /** Required. The resource being created */
804
+ /** Required. The resource being created. */
710
805
  execution?: Execution;
711
- /** Required. Id of the requesting object If auto-generating Id server-side, remove this field and execution_id from the method_signature of Create RPC */
806
+ /** Required. ID of the execution which will be created. */
712
807
  executionId?: string;
713
808
  /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
714
809
  requestId?: string;
@@ -723,7 +818,10 @@ declare namespace gapi.client {
723
818
  /** Output only. sid is the sap component identificator */
724
819
  sid?: string;
725
820
  /** The detected topology of the component. */
726
- topologyType?: string;
821
+ topologyType?:
822
+ | 'TOPOLOGY_TYPE_UNSPECIFIED'
823
+ | 'TOPOLOGY_SCALE_UP'
824
+ | 'TOPOLOGY_SCALE_OUT';
727
825
  }
728
826
  interface SapDiscovery {
729
827
  /** Optional. An SAP system may run without an application layer. */
@@ -761,7 +859,10 @@ declare namespace gapi.client {
761
859
  /** Optional. The SAP identifier, used by the SAP software and helps differentiate systems for customers. */
762
860
  sid?: string;
763
861
  /** Optional. The detected topology of the component. */
764
- topologyType?: string;
862
+ topologyType?:
863
+ | 'TOPOLOGY_TYPE_UNSPECIFIED'
864
+ | 'TOPOLOGY_SCALE_UP'
865
+ | 'TOPOLOGY_SCALE_OUT';
765
866
  }
766
867
  interface SapDiscoveryComponentApplicationProperties {
767
868
  /** Optional. Deprecated: ApplicationType now tells you whether this is ABAP or Java. */
@@ -769,7 +870,11 @@ declare namespace gapi.client {
769
870
  /** Optional. Instance number of the SAP application instance. */
770
871
  appInstanceNumber?: string;
771
872
  /** Required. Type of the application. Netweaver, etc. */
772
- applicationType?: string;
873
+ applicationType?:
874
+ | 'APPLICATION_TYPE_UNSPECIFIED'
875
+ | 'NETWEAVER'
876
+ | 'NETWEAVER_ABAP'
877
+ | 'NETWEAVER_JAVA';
773
878
  /** Optional. Instance number of the ASCS instance. */
774
879
  ascsInstanceNumber?: string;
775
880
  /** Optional. Resource URI of the recognized ASCS host of the application. */
@@ -785,7 +890,14 @@ declare namespace gapi.client {
785
890
  /** Optional. SID of the system database. */
786
891
  databaseSid?: string;
787
892
  /** Required. Type of the database. HANA, DB2, etc. */
788
- databaseType?: string;
893
+ databaseType?:
894
+ | 'DATABASE_TYPE_UNSPECIFIED'
895
+ | 'HANA'
896
+ | 'MAX_DB'
897
+ | 'DB2'
898
+ | 'ORACLE'
899
+ | 'SQLSERVER'
900
+ | 'ASE';
789
901
  /** Optional. The version of the database software running in the system. */
790
902
  databaseVersion?: string;
791
903
  /** Optional. Instance number of the SAP instance. */
@@ -819,9 +931,25 @@ declare namespace gapi.client {
819
931
  /** Optional. A list of resource URIs related to this resource. */
820
932
  relatedResources?: string[];
821
933
  /** Required. ComputeInstance, ComputeDisk, VPC, Bare Metal server, etc. */
822
- resourceKind?: string;
934
+ resourceKind?:
935
+ | 'RESOURCE_KIND_UNSPECIFIED'
936
+ | 'RESOURCE_KIND_INSTANCE'
937
+ | 'RESOURCE_KIND_DISK'
938
+ | 'RESOURCE_KIND_ADDRESS'
939
+ | 'RESOURCE_KIND_FILESTORE'
940
+ | 'RESOURCE_KIND_HEALTH_CHECK'
941
+ | 'RESOURCE_KIND_FORWARDING_RULE'
942
+ | 'RESOURCE_KIND_BACKEND_SERVICE'
943
+ | 'RESOURCE_KIND_SUBNETWORK'
944
+ | 'RESOURCE_KIND_NETWORK'
945
+ | 'RESOURCE_KIND_PUBLIC_ADDRESS'
946
+ | 'RESOURCE_KIND_INSTANCE_GROUP';
823
947
  /** Required. The type of this resource. */
824
- resourceType?: string;
948
+ resourceType?:
949
+ | 'RESOURCE_TYPE_UNSPECIFIED'
950
+ | 'RESOURCE_TYPE_COMPUTE'
951
+ | 'RESOURCE_TYPE_STORAGE'
952
+ | 'RESOURCE_TYPE_NETWORK';
825
953
  /** Required. URI of the resource, includes project, location, and name. */
826
954
  resourceUri?: string;
827
955
  /** Required. Unix timestamp of when this resource last had its discovery data updated. */
@@ -837,7 +965,23 @@ declare namespace gapi.client {
837
965
  /** Optional. The VM's instance number. */
838
966
  instanceNumber?: string;
839
967
  /** Optional. Bitmask of instance role, a resource may have multiple roles at once. */
840
- instanceRole?: string;
968
+ instanceRole?:
969
+ | 'INSTANCE_ROLE_UNSPECIFIED'
970
+ | 'INSTANCE_ROLE_ASCS'
971
+ | 'INSTANCE_ROLE_ERS'
972
+ | 'INSTANCE_ROLE_APP_SERVER'
973
+ | 'INSTANCE_ROLE_DATABASE'
974
+ | 'INSTANCE_ROLE_ASCS_ERS'
975
+ | 'INSTANCE_ROLE_ASCS_APP_SERVER'
976
+ | 'INSTANCE_ROLE_ASCS_DATABASE'
977
+ | 'INSTANCE_ROLE_ERS_APP_SERVER'
978
+ | 'INSTANCE_ROLE_ERS_DATABASE'
979
+ | 'INSTANCE_ROLE_APP_SERVER_DATABASE'
980
+ | 'INSTANCE_ROLE_ASCS_ERS_APP_SERVER'
981
+ | 'INSTANCE_ROLE_ASCS_ERS_DATABASE'
982
+ | 'INSTANCE_ROLE_ASCS_APP_SERVER_DATABASE'
983
+ | 'INSTANCE_ROLE_ERS_APP_SERVER_DATABASE'
984
+ | 'INSTANCE_ROLE_ASCS_ERS_APP_SERVER_DATABASE';
841
985
  /** Optional. Instance is part of a DR site. */
842
986
  isDrSite?: boolean;
843
987
  /** Optional. The kernel version of the instance. */
@@ -916,9 +1060,15 @@ declare namespace gapi.client {
916
1060
  /** database details */
917
1061
  database?: DatabaseDetails;
918
1062
  /** Required. two model non-HA and HA supported */
919
- deploymentModel?: string;
1063
+ deploymentModel?:
1064
+ | 'DEPLOYMENT_MODEL_UNSPECIFIED'
1065
+ | 'DISTRIBUTED'
1066
+ | 'DISTRIBUTED_HA';
920
1067
  /** Required. deployment environment */
921
- environmentType?: string;
1068
+ environmentType?:
1069
+ | 'ENVIRONMENT_TYPE_UNSPECIFIED'
1070
+ | 'NON_PRODUCTION'
1071
+ | 'PRODUCTION';
922
1072
  /** the project that infrastructure deployed, current only support the same project where the deployment resource exist. */
923
1073
  gcpProjectId?: string;
924
1074
  /** database details */
@@ -928,9 +1078,13 @@ declare namespace gapi.client {
928
1078
  /** Optional. sap_boot_disk_image */
929
1079
  sapBootDiskImage?: string;
930
1080
  /** Required. support scale up and scale out */
931
- scalingMethod?: string;
1081
+ scalingMethod?: 'SCALE_METHOD_UNSPECIFIED' | 'SCALE_UP' | 'SCALE_OUT';
932
1082
  /** Required. sap hana version */
933
- version?: string;
1083
+ version?:
1084
+ | 'VERSION_UNSPECIFIED'
1085
+ | 'S4_HANA_2021'
1086
+ | 'S4_HANA_2022'
1087
+ | 'S4_HANA_2023';
934
1088
  /** vm_prefix */
935
1089
  vmPrefix?: string;
936
1090
  }
@@ -948,13 +1102,28 @@ declare namespace gapi.client {
948
1102
  /** Optional. Was there a SAP system detected for this validation type. */
949
1103
  isPresent?: boolean;
950
1104
  /** Optional. The SAP system that the validation data is from. */
951
- sapValidationType?: string;
1105
+ sapValidationType?:
1106
+ | 'SAP_VALIDATION_TYPE_UNSPECIFIED'
1107
+ | 'SYSTEM'
1108
+ | 'COROSYNC'
1109
+ | 'PACEMAKER'
1110
+ | 'HANA'
1111
+ | 'NETWEAVER'
1112
+ | 'HANA_SECURITY'
1113
+ | 'CUSTOM';
952
1114
  }
953
1115
  interface SapWorkload {
954
1116
  /** Output only. application component */
955
1117
  application?: SapComponent;
956
1118
  /** Output only. The architecture. */
957
- architecture?: string;
1119
+ architecture?:
1120
+ | 'ARCHITECTURE_UNSPECIFIED'
1121
+ | 'INVALID'
1122
+ | 'CENTRALIZED'
1123
+ | 'DISTRIBUTED'
1124
+ | 'DISTRIBUTED_HA'
1125
+ | 'STANDALONE_DATABASE'
1126
+ | 'STANDALONE_DATABASE_HA';
958
1127
  /** Output only. database component */
959
1128
  database?: SapComponent;
960
1129
  /** Output only. The metadata for SAP workload. */
@@ -963,21 +1132,27 @@ declare namespace gapi.client {
963
1132
  products?: Product[];
964
1133
  }
965
1134
  interface ScannedResource {
966
- /** resource name */
1135
+ /** Resource name. */
967
1136
  resource?: string;
968
- /** resource type */
1137
+ /** Resource type. */
969
1138
  type?: string;
970
1139
  }
971
1140
  interface ServiceStates {
972
1141
  /** Optional. Output only. The IAM permissions for the service. */
973
1142
  iamPermissions?: IAMPermission[];
974
1143
  /** Output only. The overall state of the service. */
975
- state?: string;
1144
+ state?:
1145
+ | 'STATE_UNSPECIFIED'
1146
+ | 'CONFIG_FAILURE'
1147
+ | 'IAM_FAILURE'
1148
+ | 'FUNCTIONALITY_FAILURE'
1149
+ | 'ENABLED'
1150
+ | 'DISABLED';
976
1151
  }
977
1152
  interface ShellCommand {
978
- /** args is a string of arguments to be passed to the command. */
1153
+ /** Arguments to be passed to the command. */
979
1154
  args?: string;
980
- /** command is the name of the command to be executed. */
1155
+ /** The name of the command to be executed. */
981
1156
  command?: string;
982
1157
  /** Optional. If not specified, the default timeout is 60 seconds. */
983
1158
  timeoutSeconds?: number;
@@ -988,7 +1163,10 @@ declare namespace gapi.client {
988
1163
  /** Required. the project that infrastructure deployed, currently only supports the same project where the deployment resource exists. */
989
1164
  gcpProjectId?: string;
990
1165
  /** Required. Internet Access */
991
- internetAccess?: string;
1166
+ internetAccess?:
1167
+ | 'INTERNET_ACCESS_UNSPECIFIED'
1168
+ | 'ALLOW_EXTERNAL_IP'
1169
+ | 'CONFIGURE_NAT';
992
1170
  /** Required. network name */
993
1171
  network?: string;
994
1172
  /** Required. primary zone */
@@ -1020,7 +1198,20 @@ declare namespace gapi.client {
1020
1198
  /** Required. Details wraps map that represents collected data names and values. */
1021
1199
  details?: SqlserverValidationDetails[];
1022
1200
  /** Optional. The Sqlserver system that the validation data is from. */
1023
- type?: string;
1201
+ type?:
1202
+ | 'SQLSERVER_VALIDATION_TYPE_UNSPECIFIED'
1203
+ | 'OS'
1204
+ | 'DB_LOG_DISK_SEPARATION'
1205
+ | 'DB_MAX_PARALLELISM'
1206
+ | 'DB_CXPACKET_WAITS'
1207
+ | 'DB_TRANSACTION_LOG_HANDLING'
1208
+ | 'DB_VIRTUAL_LOG_FILE_COUNT'
1209
+ | 'DB_BUFFER_POOL_EXTENSION'
1210
+ | 'DB_MAX_SERVER_MEMORY'
1211
+ | 'INSTANCE_METRICS'
1212
+ | 'DB_INDEX_FRAGMENTATION'
1213
+ | 'DB_TABLE_INDEX_COMPRESSION'
1214
+ | 'DB_BACKUP_POLICY';
1024
1215
  }
1025
1216
  interface SqlServerWorkload {
1026
1217
  /** Required. active directory details */
@@ -1030,13 +1221,19 @@ declare namespace gapi.client {
1030
1221
  /** Required. database details */
1031
1222
  database?: Database;
1032
1223
  /** Required. HIGH_AVAILABILITY or SINGLE_INSTANCE */
1033
- deploymentModel?: string;
1224
+ deploymentModel?:
1225
+ | 'DEPLOYMENT_MODEL_UNSPECIFIED'
1226
+ | 'HIGH_AVAILABILITY'
1227
+ | 'SINGLE_INSTANCE';
1034
1228
  /** Required. deployment environment */
1035
- environmentType?: string;
1229
+ environmentType?:
1230
+ | 'ENVIRONMENT_TYPE_UNSPECIFIED'
1231
+ | 'NON_PRODUCTION'
1232
+ | 'PRODUCTION';
1036
1233
  /** Optional. SHARED_DISK or S2D */
1037
- fciType?: string;
1234
+ fciType?: 'FCI_TYPE_UNSPECIFIED' | 'SHARED_DISK' | 'S2D';
1038
1235
  /** Optional. AOAG or FCI, it is only needed for High Availability deployment mode */
1039
- haType?: string;
1236
+ haType?: 'HA_TYPE_UNSPECIFIED' | 'AOAG' | 'FCI';
1040
1237
  /** Required. SQL licensing type */
1041
1238
  isSqlPayg?: boolean;
1042
1239
  /** Required. location details */
@@ -1044,17 +1241,34 @@ declare namespace gapi.client {
1044
1241
  /** Required. name of the media storing SQL server installation files */
1045
1242
  mediaBucket?: string;
1046
1243
  /** Required. type of the operating system the SQL server is going to run on top of */
1047
- operatingSystemType?: string;
1244
+ operatingSystemType?:
1245
+ | 'OPERATING_SYSTEM_TYPE_UNSPECIFIED'
1246
+ | 'WINDOWS'
1247
+ | 'UBUNTU'
1248
+ | 'RED_HAT_ENTERPRISE_LINUX'
1249
+ | 'SUSE';
1048
1250
  /** Required. the image of the operating system */
1049
1251
  osImage?: string;
1050
1252
  /** Optional. OS image type, it's used to create boot disks for VM instances When either Windows licensing type or SQL licensing type is BYOL, this option is disabled and default to custom image */
1051
- osImageType?: string;
1253
+ osImageType?:
1254
+ | 'OS_IMAGE_TYPE_UNSPECIFIED'
1255
+ | 'PUBLIC_IMAGE'
1256
+ | 'CUSTOM_IMAGE';
1052
1257
  /** Optional. pacemaker configuration, only applicable for Linux HA deployments */
1053
1258
  pacemaker?: Pacemaker;
1054
1259
  /** Optional. SQL Server Edition type, only applicable when Operating System is Linux */
1055
- sqlServerEdition?: string;
1260
+ sqlServerEdition?:
1261
+ | 'SQL_SERVER_EDITION_TYPE_UNSPECIFIED'
1262
+ | 'SQL_SERVER_EDITION_TYPE_DEVELOPER'
1263
+ | 'SQL_SERVER_EDITION_TYPE_ENTERPRISE'
1264
+ | 'SQL_SERVER_EDITION_TYPE_STANDARD'
1265
+ | 'SQL_SERVER_EDITION_TYPE_WEB';
1056
1266
  /** Optional. 2017 or 2019 or 2022 */
1057
- sqlServerVersion?: string;
1267
+ sqlServerVersion?:
1268
+ | 'SQL_SERVER_VERSION_TYPE_UNSPECIFIED'
1269
+ | 'SQL_SERVER_VERSION_TYPE_2017'
1270
+ | 'SQL_SERVER_VERSION_TYPE_2019'
1271
+ | 'SQL_SERVER_VERSION_TYPE_2022';
1058
1272
  /** Required. should be unique in the project */
1059
1273
  vmPrefix?: string;
1060
1274
  }
@@ -1067,11 +1281,11 @@ declare namespace gapi.client {
1067
1281
  message?: string;
1068
1282
  }
1069
1283
  interface Summary {
1070
- /** Output only. Number of failures */
1284
+ /** Output only. Number of failures. */
1071
1285
  failures?: string;
1072
- /** Output only. Number of new failures compared to the previous execution */
1286
+ /** Output only. Number of new failures compared to the previous execution. */
1073
1287
  newFailures?: string;
1074
- /** Output only. Number of new fixes compared to the previous execution */
1288
+ /** Output only. Number of new fixes compared to the previous execution. */
1075
1289
  newFixes?: string;
1076
1290
  }
1077
1291
  interface TerraformVariable {
@@ -1088,7 +1302,7 @@ declare namespace gapi.client {
1088
1302
  /** Required. validation_details contains the pairs of validation data: field name & field value. */
1089
1303
  validationDetails?: {[P in string]: string};
1090
1304
  /** Required. workload_type specifies the type of torso workload. */
1091
- workloadType?: string;
1305
+ workloadType?: 'WORKLOAD_TYPE_UNSPECIFIED' | 'MYSQL' | 'ORACLE' | 'REDIS';
1092
1306
  }
1093
1307
  interface UpcomingMaintenanceEvent {
1094
1308
  /** Optional. End time */
@@ -1122,7 +1336,7 @@ declare namespace gapi.client {
1122
1336
  /** The sap workload content */
1123
1337
  sapWorkload?: SapWorkload;
1124
1338
  /** Required. The type of the workload */
1125
- workloadType?: string;
1339
+ workloadType?: 'WORKLOAD_TYPE_UNSPECIFIED' | 'S4_HANA';
1126
1340
  }
1127
1341
  interface WorkloadProfileHealth {
1128
1342
  /** The time when the health check was performed. */
@@ -1130,7 +1344,12 @@ declare namespace gapi.client {
1130
1344
  /** The detailed condition reports of each component. */
1131
1345
  componentsHealth?: ComponentHealth[];
1132
1346
  /** Output only. The health state of the workload. */
1133
- state?: string;
1347
+ state?:
1348
+ | 'HEALTH_STATE_UNSPECIFIED'
1349
+ | 'HEALTHY'
1350
+ | 'UNHEALTHY'
1351
+ | 'CRITICAL'
1352
+ | 'UNSUPPORTED';
1134
1353
  }
1135
1354
  interface WriteInsightRequest {
1136
1355
  /** Optional. The agent version collected this data point. */
@@ -1145,11 +1364,11 @@ declare namespace gapi.client {
1145
1364
  /** Creates a new actuation for an existing Deployment. */
1146
1365
  create(request: {
1147
1366
  /** V1 error format. */
1148
- '$.xgafv'?: string;
1367
+ '$.xgafv'?: '1' | '2';
1149
1368
  /** OAuth access token. */
1150
1369
  access_token?: string;
1151
1370
  /** Data format for response. */
1152
- alt?: string;
1371
+ alt?: 'json' | 'media' | 'proto';
1153
1372
  /** JSONP */
1154
1373
  callback?: string;
1155
1374
  /** Selector specifying which fields to include in a partial response. */
@@ -1176,11 +1395,11 @@ declare namespace gapi.client {
1176
1395
  create(
1177
1396
  request: {
1178
1397
  /** V1 error format. */
1179
- '$.xgafv'?: string;
1398
+ '$.xgafv'?: '1' | '2';
1180
1399
  /** OAuth access token. */
1181
1400
  access_token?: string;
1182
1401
  /** Data format for response. */
1183
- alt?: string;
1402
+ alt?: 'json' | 'media' | 'proto';
1184
1403
  /** JSONP */
1185
1404
  callback?: string;
1186
1405
  /** Selector specifying which fields to include in a partial response. */
@@ -1207,11 +1426,11 @@ declare namespace gapi.client {
1207
1426
  /** Deletes a single Actuation */
1208
1427
  delete(request?: {
1209
1428
  /** V1 error format. */
1210
- '$.xgafv'?: string;
1429
+ '$.xgafv'?: '1' | '2';
1211
1430
  /** OAuth access token. */
1212
1431
  access_token?: string;
1213
1432
  /** Data format for response. */
1214
- alt?: string;
1433
+ alt?: 'json' | 'media' | 'proto';
1215
1434
  /** JSONP */
1216
1435
  callback?: string;
1217
1436
  /** Selector specifying which fields to include in a partial response. */
@@ -1234,11 +1453,11 @@ declare namespace gapi.client {
1234
1453
  /** Gets details of a single Actuation. */
1235
1454
  get(request?: {
1236
1455
  /** V1 error format. */
1237
- '$.xgafv'?: string;
1456
+ '$.xgafv'?: '1' | '2';
1238
1457
  /** OAuth access token. */
1239
1458
  access_token?: string;
1240
1459
  /** Data format for response. */
1241
- alt?: string;
1460
+ alt?: 'json' | 'media' | 'proto';
1242
1461
  /** JSONP */
1243
1462
  callback?: string;
1244
1463
  /** Selector specifying which fields to include in a partial response. */
@@ -1261,11 +1480,11 @@ declare namespace gapi.client {
1261
1480
  /** Lists Actuations in a given project, location and deployment. */
1262
1481
  list(request?: {
1263
1482
  /** V1 error format. */
1264
- '$.xgafv'?: string;
1483
+ '$.xgafv'?: '1' | '2';
1265
1484
  /** OAuth access token. */
1266
1485
  access_token?: string;
1267
1486
  /** Data format for response. */
1268
- alt?: string;
1487
+ alt?: 'json' | 'media' | 'proto';
1269
1488
  /** JSONP */
1270
1489
  callback?: string;
1271
1490
  /** Selector specifying which fields to include in a partial response. */
@@ -1298,11 +1517,11 @@ declare namespace gapi.client {
1298
1517
  /** Creates a new Deployment in a given project and location. */
1299
1518
  create(request: {
1300
1519
  /** V1 error format. */
1301
- '$.xgafv'?: string;
1520
+ '$.xgafv'?: '1' | '2';
1302
1521
  /** OAuth access token. */
1303
1522
  access_token?: string;
1304
1523
  /** Data format for response. */
1305
- alt?: string;
1524
+ alt?: 'json' | 'media' | 'proto';
1306
1525
  /** JSONP */
1307
1526
  callback?: string;
1308
1527
  /** Required. Id of the deployment */
@@ -1331,11 +1550,11 @@ declare namespace gapi.client {
1331
1550
  create(
1332
1551
  request: {
1333
1552
  /** V1 error format. */
1334
- '$.xgafv'?: string;
1553
+ '$.xgafv'?: '1' | '2';
1335
1554
  /** OAuth access token. */
1336
1555
  access_token?: string;
1337
1556
  /** Data format for response. */
1338
- alt?: string;
1557
+ alt?: 'json' | 'media' | 'proto';
1339
1558
  /** JSONP */
1340
1559
  callback?: string;
1341
1560
  /** Required. Id of the deployment */
@@ -1364,11 +1583,11 @@ declare namespace gapi.client {
1364
1583
  /** Deletes a single Deployment. */
1365
1584
  delete(request?: {
1366
1585
  /** V1 error format. */
1367
- '$.xgafv'?: string;
1586
+ '$.xgafv'?: '1' | '2';
1368
1587
  /** OAuth access token. */
1369
1588
  access_token?: string;
1370
1589
  /** Data format for response. */
1371
- alt?: string;
1590
+ alt?: 'json' | 'media' | 'proto';
1372
1591
  /** JSONP */
1373
1592
  callback?: string;
1374
1593
  /** Selector specifying which fields to include in a partial response. */
@@ -1393,11 +1612,11 @@ declare namespace gapi.client {
1393
1612
  /** Gets details of a single Deployment. */
1394
1613
  get(request?: {
1395
1614
  /** V1 error format. */
1396
- '$.xgafv'?: string;
1615
+ '$.xgafv'?: '1' | '2';
1397
1616
  /** OAuth access token. */
1398
1617
  access_token?: string;
1399
1618
  /** Data format for response. */
1400
- alt?: string;
1619
+ alt?: 'json' | 'media' | 'proto';
1401
1620
  /** JSONP */
1402
1621
  callback?: string;
1403
1622
  /** Selector specifying which fields to include in a partial response. */
@@ -1420,11 +1639,11 @@ declare namespace gapi.client {
1420
1639
  /** Lists Deployments in a given project and location. */
1421
1640
  list(request?: {
1422
1641
  /** V1 error format. */
1423
- '$.xgafv'?: string;
1642
+ '$.xgafv'?: '1' | '2';
1424
1643
  /** OAuth access token. */
1425
1644
  access_token?: string;
1426
1645
  /** Data format for response. */
1427
- alt?: string;
1646
+ alt?: 'json' | 'media' | 'proto';
1428
1647
  /** JSONP */
1429
1648
  callback?: string;
1430
1649
  /** Selector specifying which fields to include in a partial response. */
@@ -1458,11 +1677,11 @@ declare namespace gapi.client {
1458
1677
  /** Get the health of a discovered workload profile. */
1459
1678
  get(request?: {
1460
1679
  /** V1 error format. */
1461
- '$.xgafv'?: string;
1680
+ '$.xgafv'?: '1' | '2';
1462
1681
  /** OAuth access token. */
1463
1682
  access_token?: string;
1464
1683
  /** Data format for response. */
1465
- alt?: string;
1684
+ alt?: 'json' | 'media' | 'proto';
1466
1685
  /** JSONP */
1467
1686
  callback?: string;
1468
1687
  /** Selector specifying which fields to include in a partial response. */
@@ -1487,11 +1706,11 @@ declare namespace gapi.client {
1487
1706
  /** Gets details of a discovered workload profile. */
1488
1707
  get(request?: {
1489
1708
  /** V1 error format. */
1490
- '$.xgafv'?: string;
1709
+ '$.xgafv'?: '1' | '2';
1491
1710
  /** OAuth access token. */
1492
1711
  access_token?: string;
1493
1712
  /** Data format for response. */
1494
- alt?: string;
1713
+ alt?: 'json' | 'media' | 'proto';
1495
1714
  /** JSONP */
1496
1715
  callback?: string;
1497
1716
  /** Selector specifying which fields to include in a partial response. */
@@ -1514,11 +1733,11 @@ declare namespace gapi.client {
1514
1733
  /** List discovered workload profiles */
1515
1734
  list(request?: {
1516
1735
  /** V1 error format. */
1517
- '$.xgafv'?: string;
1736
+ '$.xgafv'?: '1' | '2';
1518
1737
  /** OAuth access token. */
1519
1738
  access_token?: string;
1520
1739
  /** Data format for response. */
1521
- alt?: string;
1740
+ alt?: 'json' | 'media' | 'proto';
1522
1741
  /** JSONP */
1523
1742
  callback?: string;
1524
1743
  /** Selector specifying which fields to include in a partial response. */
@@ -1550,16 +1769,16 @@ declare namespace gapi.client {
1550
1769
  /** Lists the result of a single evaluation. */
1551
1770
  list(request?: {
1552
1771
  /** V1 error format. */
1553
- '$.xgafv'?: string;
1772
+ '$.xgafv'?: '1' | '2';
1554
1773
  /** OAuth access token. */
1555
1774
  access_token?: string;
1556
1775
  /** Data format for response. */
1557
- alt?: string;
1776
+ alt?: 'json' | 'media' | 'proto';
1558
1777
  /** JSONP */
1559
1778
  callback?: string;
1560
1779
  /** Selector specifying which fields to include in a partial response. */
1561
1780
  fields?: string;
1562
- /** Filtering results */
1781
+ /** Filtering results. */
1563
1782
  filter?: string;
1564
1783
  /** 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. */
1565
1784
  key?: string;
@@ -1569,7 +1788,7 @@ declare namespace gapi.client {
1569
1788
  pageSize?: number;
1570
1789
  /** A token identifying a page of results the server should return. */
1571
1790
  pageToken?: string;
1572
- /** Required. The execution results. Format: {parent}/evaluations/*‍/executions/*‍/results */
1791
+ /** Required. The execution results. Format: {parent}/evaluations/*‍/executions/*‍/results. */
1573
1792
  parent: string;
1574
1793
  /** Returns response with indentations and line breaks. */
1575
1794
  prettyPrint?: boolean;
@@ -1585,16 +1804,16 @@ declare namespace gapi.client {
1585
1804
  /** List all scanned resources for a single Execution. */
1586
1805
  list(request?: {
1587
1806
  /** V1 error format. */
1588
- '$.xgafv'?: string;
1807
+ '$.xgafv'?: '1' | '2';
1589
1808
  /** OAuth access token. */
1590
1809
  access_token?: string;
1591
1810
  /** Data format for response. */
1592
- alt?: string;
1811
+ alt?: 'json' | 'media' | 'proto';
1593
1812
  /** JSONP */
1594
1813
  callback?: string;
1595
1814
  /** Selector specifying which fields to include in a partial response. */
1596
1815
  fields?: string;
1597
- /** Filtering results */
1816
+ /** Filtering results. */
1598
1817
  filter?: string;
1599
1818
  /** 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. */
1600
1819
  key?: string;
@@ -1606,13 +1825,13 @@ declare namespace gapi.client {
1606
1825
  pageSize?: number;
1607
1826
  /** A token identifying a page of results the server should return. */
1608
1827
  pageToken?: string;
1609
- /** Required. parent for ListScannedResourcesRequest */
1828
+ /** Required. Parent for ListScannedResourcesRequest. */
1610
1829
  parent: string;
1611
1830
  /** Returns response with indentations and line breaks. */
1612
1831
  prettyPrint?: boolean;
1613
1832
  /** 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. */
1614
1833
  quotaUser?: string;
1615
- /** rule name */
1834
+ /** Rule name. */
1616
1835
  rule?: string;
1617
1836
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1618
1837
  upload_protocol?: string;
@@ -1624,18 +1843,18 @@ declare namespace gapi.client {
1624
1843
  /** Deletes a single Execution. */
1625
1844
  delete(request?: {
1626
1845
  /** V1 error format. */
1627
- '$.xgafv'?: string;
1846
+ '$.xgafv'?: '1' | '2';
1628
1847
  /** OAuth access token. */
1629
1848
  access_token?: string;
1630
1849
  /** Data format for response. */
1631
- alt?: string;
1850
+ alt?: 'json' | 'media' | 'proto';
1632
1851
  /** JSONP */
1633
1852
  callback?: string;
1634
1853
  /** Selector specifying which fields to include in a partial response. */
1635
1854
  fields?: string;
1636
1855
  /** 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. */
1637
1856
  key?: string;
1638
- /** Required. Name of the resource */
1857
+ /** Required. Name of the resource. */
1639
1858
  name: string;
1640
1859
  /** OAuth 2.0 token for the current user. */
1641
1860
  oauth_token?: string;
@@ -1653,18 +1872,18 @@ declare namespace gapi.client {
1653
1872
  /** Gets details of a single Execution. */
1654
1873
  get(request?: {
1655
1874
  /** V1 error format. */
1656
- '$.xgafv'?: string;
1875
+ '$.xgafv'?: '1' | '2';
1657
1876
  /** OAuth access token. */
1658
1877
  access_token?: string;
1659
1878
  /** Data format for response. */
1660
- alt?: string;
1879
+ alt?: 'json' | 'media' | 'proto';
1661
1880
  /** JSONP */
1662
1881
  callback?: string;
1663
1882
  /** Selector specifying which fields to include in a partial response. */
1664
1883
  fields?: string;
1665
1884
  /** 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. */
1666
1885
  key?: string;
1667
- /** Required. Name of the resource */
1886
+ /** Required. Name of the resource. */
1668
1887
  name: string;
1669
1888
  /** OAuth 2.0 token for the current user. */
1670
1889
  oauth_token?: string;
@@ -1680,16 +1899,16 @@ declare namespace gapi.client {
1680
1899
  /** Lists Executions in a given project and location. */
1681
1900
  list(request?: {
1682
1901
  /** V1 error format. */
1683
- '$.xgafv'?: string;
1902
+ '$.xgafv'?: '1' | '2';
1684
1903
  /** OAuth access token. */
1685
1904
  access_token?: string;
1686
1905
  /** Data format for response. */
1687
- alt?: string;
1906
+ alt?: 'json' | 'media' | 'proto';
1688
1907
  /** JSONP */
1689
1908
  callback?: string;
1690
1909
  /** Selector specifying which fields to include in a partial response. */
1691
1910
  fields?: string;
1692
- /** Filtering results */
1911
+ /** Filtering results. */
1693
1912
  filter?: string;
1694
1913
  /** 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. */
1695
1914
  key?: string;
@@ -1701,7 +1920,7 @@ declare namespace gapi.client {
1701
1920
  pageSize?: number;
1702
1921
  /** A token identifying a page of results the server should return. */
1703
1922
  pageToken?: string;
1704
- /** Required. The resource prefix of the Execution using the form: 'projects/{project}/locations/{location}/evaluations/{evaluation}' */
1923
+ /** Required. The resource prefix of the Execution using the form: `projects/{project}/locations/{location}/evaluations/{evaluation}`. */
1705
1924
  parent: string;
1706
1925
  /** Returns response with indentations and line breaks. */
1707
1926
  prettyPrint?: boolean;
@@ -1715,18 +1934,18 @@ declare namespace gapi.client {
1715
1934
  /** Creates a new Execution in a given project and location. */
1716
1935
  run(request: {
1717
1936
  /** V1 error format. */
1718
- '$.xgafv'?: string;
1937
+ '$.xgafv'?: '1' | '2';
1719
1938
  /** OAuth access token. */
1720
1939
  access_token?: string;
1721
1940
  /** Data format for response. */
1722
- alt?: string;
1941
+ alt?: 'json' | 'media' | 'proto';
1723
1942
  /** JSONP */
1724
1943
  callback?: string;
1725
1944
  /** Selector specifying which fields to include in a partial response. */
1726
1945
  fields?: string;
1727
1946
  /** 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. */
1728
1947
  key?: string;
1729
- /** Required. The resource name of the Execution using the form: 'projects/{project}/locations/{location}/evaluations/{evaluation}/executions/{execution}' */
1948
+ /** Required. The resource name of the Evaluation using the form: `projects/{project}/locations/{location}/evaluations/{evaluation}`. */
1730
1949
  name: string;
1731
1950
  /** OAuth 2.0 token for the current user. */
1732
1951
  oauth_token?: string;
@@ -1744,18 +1963,18 @@ declare namespace gapi.client {
1744
1963
  run(
1745
1964
  request: {
1746
1965
  /** V1 error format. */
1747
- '$.xgafv'?: string;
1966
+ '$.xgafv'?: '1' | '2';
1748
1967
  /** OAuth access token. */
1749
1968
  access_token?: string;
1750
1969
  /** Data format for response. */
1751
- alt?: string;
1970
+ alt?: 'json' | 'media' | 'proto';
1752
1971
  /** JSONP */
1753
1972
  callback?: string;
1754
1973
  /** Selector specifying which fields to include in a partial response. */
1755
1974
  fields?: string;
1756
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. */
1757
1976
  key?: string;
1758
- /** Required. The resource name of the Execution using the form: 'projects/{project}/locations/{location}/evaluations/{evaluation}/executions/{execution}' */
1977
+ /** Required. The resource name of the Evaluation using the form: `projects/{project}/locations/{location}/evaluations/{evaluation}`. */
1759
1978
  name: string;
1760
1979
  /** OAuth 2.0 token for the current user. */
1761
1980
  oauth_token?: string;
@@ -1777,14 +1996,14 @@ declare namespace gapi.client {
1777
1996
  /** Creates a new Evaluation in a given project and location. */
1778
1997
  create(request: {
1779
1998
  /** V1 error format. */
1780
- '$.xgafv'?: string;
1999
+ '$.xgafv'?: '1' | '2';
1781
2000
  /** OAuth access token. */
1782
2001
  access_token?: string;
1783
2002
  /** Data format for response. */
1784
- alt?: string;
2003
+ alt?: 'json' | 'media' | 'proto';
1785
2004
  /** JSONP */
1786
2005
  callback?: string;
1787
- /** Required. Id of the requesting object */
2006
+ /** Required. Id of the requesting object. */
1788
2007
  evaluationId?: string;
1789
2008
  /** Selector specifying which fields to include in a partial response. */
1790
2009
  fields?: string;
@@ -1792,7 +2011,7 @@ declare namespace gapi.client {
1792
2011
  key?: string;
1793
2012
  /** OAuth 2.0 token for the current user. */
1794
2013
  oauth_token?: string;
1795
- /** Required. The resource prefix of the evaluation location using the form: `projects/{project_id}/locations/{location_id}` */
2014
+ /** Required. The resource prefix of the evaluation location using the form: `projects/{project_id}/locations/{location_id}`. */
1796
2015
  parent: string;
1797
2016
  /** Returns response with indentations and line breaks. */
1798
2017
  prettyPrint?: boolean;
@@ -1810,14 +2029,14 @@ declare namespace gapi.client {
1810
2029
  create(
1811
2030
  request: {
1812
2031
  /** V1 error format. */
1813
- '$.xgafv'?: string;
2032
+ '$.xgafv'?: '1' | '2';
1814
2033
  /** OAuth access token. */
1815
2034
  access_token?: string;
1816
2035
  /** Data format for response. */
1817
- alt?: string;
2036
+ alt?: 'json' | 'media' | 'proto';
1818
2037
  /** JSONP */
1819
2038
  callback?: string;
1820
- /** Required. Id of the requesting object */
2039
+ /** Required. Id of the requesting object. */
1821
2040
  evaluationId?: string;
1822
2041
  /** Selector specifying which fields to include in a partial response. */
1823
2042
  fields?: string;
@@ -1825,7 +2044,7 @@ declare namespace gapi.client {
1825
2044
  key?: string;
1826
2045
  /** OAuth 2.0 token for the current user. */
1827
2046
  oauth_token?: string;
1828
- /** Required. The resource prefix of the evaluation location using the form: `projects/{project_id}/locations/{location_id}` */
2047
+ /** Required. The resource prefix of the evaluation location using the form: `projects/{project_id}/locations/{location_id}`. */
1829
2048
  parent: string;
1830
2049
  /** Returns response with indentations and line breaks. */
1831
2050
  prettyPrint?: boolean;
@@ -1843,20 +2062,20 @@ declare namespace gapi.client {
1843
2062
  /** Deletes a single Evaluation. */
1844
2063
  delete(request?: {
1845
2064
  /** V1 error format. */
1846
- '$.xgafv'?: string;
2065
+ '$.xgafv'?: '1' | '2';
1847
2066
  /** OAuth access token. */
1848
2067
  access_token?: string;
1849
2068
  /** Data format for response. */
1850
- alt?: string;
2069
+ alt?: 'json' | 'media' | 'proto';
1851
2070
  /** JSONP */
1852
2071
  callback?: string;
1853
2072
  /** Selector specifying which fields to include in a partial response. */
1854
2073
  fields?: string;
1855
- /** Optional. Followed the best practice from https://aip.dev/135#cascading-delete */
2074
+ /** Optional. Followed the best practice from https://aip.dev/135#cascading-delete. */
1856
2075
  force?: boolean;
1857
2076
  /** 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. */
1858
2077
  key?: string;
1859
- /** Required. Name of the resource */
2078
+ /** Required. Name of the resource. */
1860
2079
  name: string;
1861
2080
  /** OAuth 2.0 token for the current user. */
1862
2081
  oauth_token?: string;
@@ -1874,18 +2093,18 @@ declare namespace gapi.client {
1874
2093
  /** Gets details of a single Evaluation. */
1875
2094
  get(request?: {
1876
2095
  /** V1 error format. */
1877
- '$.xgafv'?: string;
2096
+ '$.xgafv'?: '1' | '2';
1878
2097
  /** OAuth access token. */
1879
2098
  access_token?: string;
1880
2099
  /** Data format for response. */
1881
- alt?: string;
2100
+ alt?: 'json' | 'media' | 'proto';
1882
2101
  /** JSONP */
1883
2102
  callback?: string;
1884
2103
  /** Selector specifying which fields to include in a partial response. */
1885
2104
  fields?: string;
1886
2105
  /** 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. */
1887
2106
  key?: string;
1888
- /** Required. Name of the resource */
2107
+ /** Required. Name of the resource. */
1889
2108
  name: string;
1890
2109
  /** OAuth 2.0 token for the current user. */
1891
2110
  oauth_token?: string;
@@ -1901,11 +2120,11 @@ declare namespace gapi.client {
1901
2120
  /** Lists Evaluations in a given project and location. */
1902
2121
  list(request?: {
1903
2122
  /** V1 error format. */
1904
- '$.xgafv'?: string;
2123
+ '$.xgafv'?: '1' | '2';
1905
2124
  /** OAuth access token. */
1906
2125
  access_token?: string;
1907
2126
  /** Data format for response. */
1908
- alt?: string;
2127
+ alt?: 'json' | 'media' | 'proto';
1909
2128
  /** JSONP */
1910
2129
  callback?: string;
1911
2130
  /** Selector specifying which fields to include in a partial response. */
@@ -1916,13 +2135,13 @@ declare namespace gapi.client {
1916
2135
  key?: string;
1917
2136
  /** OAuth 2.0 token for the current user. */
1918
2137
  oauth_token?: string;
1919
- /** Hint for how to order the results */
2138
+ /** Hint for how to order the results. */
1920
2139
  orderBy?: string;
1921
2140
  /** Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. */
1922
2141
  pageSize?: number;
1923
2142
  /** A token identifying a page of results the server should return. */
1924
2143
  pageToken?: string;
1925
- /** Required. Parent value for ListEvaluationsRequest */
2144
+ /** Required. Parent value for ListEvaluationsRequest. */
1926
2145
  parent: string;
1927
2146
  /** Returns response with indentations and line breaks. */
1928
2147
  prettyPrint?: boolean;
@@ -1936,18 +2155,18 @@ declare namespace gapi.client {
1936
2155
  /** Updates the parameters of a single Evaluation. */
1937
2156
  patch(request: {
1938
2157
  /** V1 error format. */
1939
- '$.xgafv'?: string;
2158
+ '$.xgafv'?: '1' | '2';
1940
2159
  /** OAuth access token. */
1941
2160
  access_token?: string;
1942
2161
  /** Data format for response. */
1943
- alt?: string;
2162
+ alt?: 'json' | 'media' | 'proto';
1944
2163
  /** JSONP */
1945
2164
  callback?: string;
1946
2165
  /** Selector specifying which fields to include in a partial response. */
1947
2166
  fields?: string;
1948
2167
  /** 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. */
1949
2168
  key?: string;
1950
- /** name of resource names have the form 'projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}' */
2169
+ /** Name of resource that has the form `projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}`. */
1951
2170
  name: string;
1952
2171
  /** OAuth 2.0 token for the current user. */
1953
2172
  oauth_token?: string;
@@ -1969,18 +2188,18 @@ declare namespace gapi.client {
1969
2188
  patch(
1970
2189
  request: {
1971
2190
  /** V1 error format. */
1972
- '$.xgafv'?: string;
2191
+ '$.xgafv'?: '1' | '2';
1973
2192
  /** OAuth access token. */
1974
2193
  access_token?: string;
1975
2194
  /** Data format for response. */
1976
- alt?: string;
2195
+ alt?: 'json' | 'media' | 'proto';
1977
2196
  /** JSONP */
1978
2197
  callback?: string;
1979
2198
  /** Selector specifying which fields to include in a partial response. */
1980
2199
  fields?: string;
1981
2200
  /** 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. */
1982
2201
  key?: string;
1983
- /** name of resource names have the form 'projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}' */
2202
+ /** Name of resource that has the form `projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}`. */
1984
2203
  name: string;
1985
2204
  /** OAuth 2.0 token for the current user. */
1986
2205
  oauth_token?: string;
@@ -2005,11 +2224,11 @@ declare namespace gapi.client {
2005
2224
  /** Delete the data insights from workload manager data warehouse. */
2006
2225
  delete(request?: {
2007
2226
  /** V1 error format. */
2008
- '$.xgafv'?: string;
2227
+ '$.xgafv'?: '1' | '2';
2009
2228
  /** OAuth access token. */
2010
2229
  access_token?: string;
2011
2230
  /** Data format for response. */
2012
- alt?: string;
2231
+ alt?: 'json' | 'media' | 'proto';
2013
2232
  /** JSONP */
2014
2233
  callback?: string;
2015
2234
  /** Selector specifying which fields to include in a partial response. */
@@ -2034,11 +2253,11 @@ declare namespace gapi.client {
2034
2253
  /** Write the data insights to workload manager data warehouse. */
2035
2254
  writeInsight(request: {
2036
2255
  /** V1 error format. */
2037
- '$.xgafv'?: string;
2256
+ '$.xgafv'?: '1' | '2';
2038
2257
  /** OAuth access token. */
2039
2258
  access_token?: string;
2040
2259
  /** Data format for response. */
2041
- alt?: string;
2260
+ alt?: 'json' | 'media' | 'proto';
2042
2261
  /** JSONP */
2043
2262
  callback?: string;
2044
2263
  /** Selector specifying which fields to include in a partial response. */
@@ -2063,11 +2282,11 @@ declare namespace gapi.client {
2063
2282
  writeInsight(
2064
2283
  request: {
2065
2284
  /** V1 error format. */
2066
- '$.xgafv'?: string;
2285
+ '$.xgafv'?: '1' | '2';
2067
2286
  /** OAuth access token. */
2068
2287
  access_token?: string;
2069
2288
  /** Data format for response. */
2070
- alt?: string;
2289
+ alt?: 'json' | 'media' | 'proto';
2071
2290
  /** JSONP */
2072
2291
  callback?: string;
2073
2292
  /** Selector specifying which fields to include in a partial response. */
@@ -2094,11 +2313,11 @@ declare namespace gapi.client {
2094
2313
  /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */
2095
2314
  cancel(request: {
2096
2315
  /** V1 error format. */
2097
- '$.xgafv'?: string;
2316
+ '$.xgafv'?: '1' | '2';
2098
2317
  /** OAuth access token. */
2099
2318
  access_token?: string;
2100
2319
  /** Data format for response. */
2101
- alt?: string;
2320
+ alt?: 'json' | 'media' | 'proto';
2102
2321
  /** JSONP */
2103
2322
  callback?: string;
2104
2323
  /** Selector specifying which fields to include in a partial response. */
@@ -2123,11 +2342,11 @@ declare namespace gapi.client {
2123
2342
  cancel(
2124
2343
  request: {
2125
2344
  /** V1 error format. */
2126
- '$.xgafv'?: string;
2345
+ '$.xgafv'?: '1' | '2';
2127
2346
  /** OAuth access token. */
2128
2347
  access_token?: string;
2129
2348
  /** Data format for response. */
2130
- alt?: string;
2349
+ alt?: 'json' | 'media' | 'proto';
2131
2350
  /** JSONP */
2132
2351
  callback?: string;
2133
2352
  /** Selector specifying which fields to include in a partial response. */
@@ -2152,11 +2371,11 @@ declare namespace gapi.client {
2152
2371
  /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */
2153
2372
  delete(request?: {
2154
2373
  /** V1 error format. */
2155
- '$.xgafv'?: string;
2374
+ '$.xgafv'?: '1' | '2';
2156
2375
  /** OAuth access token. */
2157
2376
  access_token?: string;
2158
2377
  /** Data format for response. */
2159
- alt?: string;
2378
+ alt?: 'json' | 'media' | 'proto';
2160
2379
  /** JSONP */
2161
2380
  callback?: string;
2162
2381
  /** Selector specifying which fields to include in a partial response. */
@@ -2179,11 +2398,11 @@ declare namespace gapi.client {
2179
2398
  /** 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. */
2180
2399
  get(request?: {
2181
2400
  /** V1 error format. */
2182
- '$.xgafv'?: string;
2401
+ '$.xgafv'?: '1' | '2';
2183
2402
  /** OAuth access token. */
2184
2403
  access_token?: string;
2185
2404
  /** Data format for response. */
2186
- alt?: string;
2405
+ alt?: 'json' | 'media' | 'proto';
2187
2406
  /** JSONP */
2188
2407
  callback?: string;
2189
2408
  /** Selector specifying which fields to include in a partial response. */
@@ -2206,11 +2425,11 @@ declare namespace gapi.client {
2206
2425
  /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
2207
2426
  list(request?: {
2208
2427
  /** V1 error format. */
2209
- '$.xgafv'?: string;
2428
+ '$.xgafv'?: '1' | '2';
2210
2429
  /** OAuth access token. */
2211
2430
  access_token?: string;
2212
2431
  /** Data format for response. */
2213
- alt?: string;
2432
+ alt?: 'json' | 'media' | 'proto';
2214
2433
  /** JSONP */
2215
2434
  callback?: string;
2216
2435
  /** Selector specifying which fields to include in a partial response. */
@@ -2243,20 +2462,24 @@ declare namespace gapi.client {
2243
2462
  /** Lists rules in a given project. */
2244
2463
  list(request?: {
2245
2464
  /** V1 error format. */
2246
- '$.xgafv'?: string;
2465
+ '$.xgafv'?: '1' | '2';
2247
2466
  /** OAuth access token. */
2248
2467
  access_token?: string;
2249
2468
  /** Data format for response. */
2250
- alt?: string;
2469
+ alt?: 'json' | 'media' | 'proto';
2251
2470
  /** JSONP */
2252
2471
  callback?: string;
2253
2472
  /** The Cloud Storage bucket name for custom rules. */
2254
2473
  customRulesBucket?: string;
2255
2474
  /** Optional. The evaluation type of the rules will be applied to. The Cloud Storage bucket name for custom rules. */
2256
- evaluationType?: string;
2475
+ evaluationType?:
2476
+ | 'EVALUATION_TYPE_UNSPECIFIED'
2477
+ | 'SAP'
2478
+ | 'SQL_SERVER'
2479
+ | 'OTHER';
2257
2480
  /** Selector specifying which fields to include in a partial response. */
2258
2481
  fields?: string;
2259
- /** Filter based on primary_category, secondary_category */
2482
+ /** Filter based on primary_category, secondary_category. */
2260
2483
  filter?: string;
2261
2484
  /** 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. */
2262
2485
  key?: string;
@@ -2266,7 +2489,7 @@ declare namespace gapi.client {
2266
2489
  pageSize?: number;
2267
2490
  /** A token identifying a page of results the server should return. */
2268
2491
  pageToken?: string;
2269
- /** Required. The [project] on which to execute the request. The format is: projects/{project_id}/locations/{location} Currently, the pre-defined rules are global available to all projects and all regions */
2492
+ /** Required. The [project] on which to execute the request. The format is: projects/{project_id}/locations/{location} Currently, the pre-defined rules are global available to all projects and all regions. */
2270
2493
  parent: string;
2271
2494
  /** Returns response with indentations and line breaks. */
2272
2495
  prettyPrint?: boolean;
@@ -2282,11 +2505,11 @@ declare namespace gapi.client {
2282
2505
  /** Gets information about a location. */
2283
2506
  get(request?: {
2284
2507
  /** V1 error format. */
2285
- '$.xgafv'?: string;
2508
+ '$.xgafv'?: '1' | '2';
2286
2509
  /** OAuth access token. */
2287
2510
  access_token?: string;
2288
2511
  /** Data format for response. */
2289
- alt?: string;
2512
+ alt?: 'json' | 'media' | 'proto';
2290
2513
  /** JSONP */
2291
2514
  callback?: string;
2292
2515
  /** Selector specifying which fields to include in a partial response. */
@@ -2309,11 +2532,11 @@ declare namespace gapi.client {
2309
2532
  /** Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project. */
2310
2533
  list(request?: {
2311
2534
  /** V1 error format. */
2312
- '$.xgafv'?: string;
2535
+ '$.xgafv'?: '1' | '2';
2313
2536
  /** OAuth access token. */
2314
2537
  access_token?: string;
2315
2538
  /** Data format for response. */
2316
- alt?: string;
2539
+ alt?: 'json' | 'media' | 'proto';
2317
2540
  /** JSONP */
2318
2541
  callback?: string;
2319
2542
  /** Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage. */