@maxim_mazurok/gapi.client.workloadmanager-v1 0.1.20260217 → 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 +377 -134
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -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. */
@@ -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,7 +247,10 @@ 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
  }
@@ -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 */
@@ -324,7 +416,11 @@ declare namespace gapi.client {
324
416
  /** Description of the Evaluation. */
325
417
  description?: string;
326
418
  /** Evaluation type. */
327
- evaluationType?: string;
419
+ evaluationType?:
420
+ | 'EVALUATION_TYPE_UNSPECIFIED'
421
+ | 'SAP'
422
+ | 'SQL_SERVER'
423
+ | 'OTHER';
328
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
426
  /** Labels as key value pairs. */
@@ -346,7 +442,7 @@ declare namespace gapi.client {
346
442
  /** Output only. [Output only] End time stamp. */
347
443
  endTime?: string;
348
444
  /** Optional. Engine. */
349
- engine?: string;
445
+ engine?: 'ENGINE_UNSPECIFIED' | 'ENGINE_SCANNER' | 'V2';
350
446
  /** Output only. [Output only] Evaluation ID. */
351
447
  evaluationId?: string;
352
448
  /** Optional. External data sources. */
@@ -364,11 +460,11 @@ declare namespace gapi.client {
364
460
  /** Output only. Execution result summary per rule. */
365
461
  ruleResults?: RuleExecutionResult[];
366
462
  /** Type which represents whether the execution executed directly by user or scheduled according to the `Evaluation.schedule` field. */
367
- runType?: string;
463
+ runType?: 'TYPE_UNSPECIFIED' | 'ONE_TIME' | 'SCHEDULED';
368
464
  /** Output only. [Output only] Start time stamp. */
369
465
  startTime?: string;
370
466
  /** Output only. [Output only] State. */
371
- state?: string;
467
+ state?: 'STATE_UNSPECIFIED' | 'RUNNING' | 'SUCCEEDED' | 'FAILED';
372
468
  }
373
469
  interface ExecutionResult {
374
470
  /** The commands to remediate the violation. */
@@ -382,7 +478,7 @@ declare namespace gapi.client {
382
478
  /** The severity of violation. */
383
479
  severity?: string;
384
480
  /** Execution result type of the scanned resource. */
385
- type?: string;
481
+ type?: 'TYPE_UNSPECIFIED' | 'TYPE_PASSED' | 'TYPE_VIOLATED';
386
482
  /** The details of violation in an evaluation result. */
387
483
  violationDetails?: ViolationDetails;
388
484
  /** The violation message of an execution. */
@@ -394,7 +490,7 @@ declare namespace gapi.client {
394
490
  /** Optional. Name of external data source. The name will be used inside the rego/sql to refer the external data. */
395
491
  name?: string;
396
492
  /** Required. Type of external data source. */
397
- type?: string;
493
+ type?: 'TYPE_UNSPECIFIED' | 'BIG_QUERY_TABLE';
398
494
  /** Required. URI of external data source. example of bq table {project_ID}.{dataset_ID}.{table_ID}. */
399
495
  uri?: string;
400
496
  }
@@ -412,7 +508,13 @@ declare namespace gapi.client {
412
508
  /** Output only. The source of the health check. */
413
509
  source?: string;
414
510
  /** Output only. The state of the health check. */
415
- state?: string;
511
+ state?:
512
+ | 'STATE_UNSPECIFIED'
513
+ | 'PASSED'
514
+ | 'FAILED'
515
+ | 'DEGRADED'
516
+ | 'SKIPPED'
517
+ | 'UNSUPPORTED';
416
518
  }
417
519
  interface IAMPermission {
418
520
  /** Output only. Whether the permission is granted. */
@@ -444,7 +546,13 @@ declare namespace gapi.client {
444
546
  /** Optional. Instance machine type. */
445
547
  machineType?: string;
446
548
  /** Optional. Instance roles. */
447
- 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'[];
448
556
  /** Optional. SAP Instance properties. */
449
557
  sapInstanceProperties?: SapInstanceProperties;
450
558
  /** Optional. Instance status. */
@@ -545,7 +653,10 @@ declare namespace gapi.client {
545
653
  dnsZone?: string;
546
654
  /** Optional. dns_zone_name_suffix */
547
655
  dnsZoneNameSuffix?: string;
548
- internetAccess?: string;
656
+ internetAccess?:
657
+ | 'INTERNETACCESS_UNSPECIFIED'
658
+ | 'ALLOW_EXTERNAL_IP'
659
+ | 'CONFIGURE_NAT';
549
660
  /** Optional. network project */
550
661
  networkProject?: string;
551
662
  /** Required. region_name */
@@ -637,7 +748,7 @@ declare namespace gapi.client {
637
748
  }
638
749
  interface ResourceStatus {
639
750
  /** State of the Evaluation resource. */
640
- state?: string;
751
+ state?: 'STATE_UNSPECIFIED' | 'CREATING' | 'ACTIVE' | 'DELETING';
641
752
  }
642
753
  interface Rule {
643
754
  /** The CAI asset type of the rule is evaluating, for joined asset types, it will be the corresponding primary asset types. */
@@ -657,7 +768,7 @@ declare namespace gapi.client {
657
768
  /** Output only. The version of the rule. */
658
769
  revisionId?: string;
659
770
  /** The type of the rule. */
660
- ruleType?: string;
771
+ ruleType?: 'RULE_TYPE_UNSPECIFIED' | 'BASELINE' | 'CUSTOM';
661
772
  /** The secondary category. */
662
773
  secondaryCategory?: string;
663
774
  /** The severity of the rule. */
@@ -677,7 +788,11 @@ declare namespace gapi.client {
677
788
  /** Number of total scanned resources. */
678
789
  scannedResourceCount?: string;
679
790
  /** Output only. The execution status. */
680
- state?: string;
791
+ state?:
792
+ | 'STATE_UNSPECIFIED'
793
+ | 'STATE_SUCCESS'
794
+ | 'STATE_FAILURE'
795
+ | 'STATE_SKIPPED';
681
796
  }
682
797
  interface RuleOutput {
683
798
  /** Output only. Violation details generated by rule. */
@@ -703,7 +818,10 @@ declare namespace gapi.client {
703
818
  /** Output only. sid is the sap component identificator */
704
819
  sid?: string;
705
820
  /** The detected topology of the component. */
706
- topologyType?: string;
821
+ topologyType?:
822
+ | 'TOPOLOGY_TYPE_UNSPECIFIED'
823
+ | 'TOPOLOGY_SCALE_UP'
824
+ | 'TOPOLOGY_SCALE_OUT';
707
825
  }
708
826
  interface SapDiscovery {
709
827
  /** Optional. An SAP system may run without an application layer. */
@@ -741,7 +859,10 @@ declare namespace gapi.client {
741
859
  /** Optional. The SAP identifier, used by the SAP software and helps differentiate systems for customers. */
742
860
  sid?: string;
743
861
  /** Optional. The detected topology of the component. */
744
- topologyType?: string;
862
+ topologyType?:
863
+ | 'TOPOLOGY_TYPE_UNSPECIFIED'
864
+ | 'TOPOLOGY_SCALE_UP'
865
+ | 'TOPOLOGY_SCALE_OUT';
745
866
  }
746
867
  interface SapDiscoveryComponentApplicationProperties {
747
868
  /** Optional. Deprecated: ApplicationType now tells you whether this is ABAP or Java. */
@@ -749,7 +870,11 @@ declare namespace gapi.client {
749
870
  /** Optional. Instance number of the SAP application instance. */
750
871
  appInstanceNumber?: string;
751
872
  /** Required. Type of the application. Netweaver, etc. */
752
- applicationType?: string;
873
+ applicationType?:
874
+ | 'APPLICATION_TYPE_UNSPECIFIED'
875
+ | 'NETWEAVER'
876
+ | 'NETWEAVER_ABAP'
877
+ | 'NETWEAVER_JAVA';
753
878
  /** Optional. Instance number of the ASCS instance. */
754
879
  ascsInstanceNumber?: string;
755
880
  /** Optional. Resource URI of the recognized ASCS host of the application. */
@@ -765,7 +890,14 @@ declare namespace gapi.client {
765
890
  /** Optional. SID of the system database. */
766
891
  databaseSid?: string;
767
892
  /** Required. Type of the database. HANA, DB2, etc. */
768
- databaseType?: string;
893
+ databaseType?:
894
+ | 'DATABASE_TYPE_UNSPECIFIED'
895
+ | 'HANA'
896
+ | 'MAX_DB'
897
+ | 'DB2'
898
+ | 'ORACLE'
899
+ | 'SQLSERVER'
900
+ | 'ASE';
769
901
  /** Optional. The version of the database software running in the system. */
770
902
  databaseVersion?: string;
771
903
  /** Optional. Instance number of the SAP instance. */
@@ -799,9 +931,25 @@ declare namespace gapi.client {
799
931
  /** Optional. A list of resource URIs related to this resource. */
800
932
  relatedResources?: string[];
801
933
  /** Required. ComputeInstance, ComputeDisk, VPC, Bare Metal server, etc. */
802
- 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';
803
947
  /** Required. The type of this resource. */
804
- resourceType?: string;
948
+ resourceType?:
949
+ | 'RESOURCE_TYPE_UNSPECIFIED'
950
+ | 'RESOURCE_TYPE_COMPUTE'
951
+ | 'RESOURCE_TYPE_STORAGE'
952
+ | 'RESOURCE_TYPE_NETWORK';
805
953
  /** Required. URI of the resource, includes project, location, and name. */
806
954
  resourceUri?: string;
807
955
  /** Required. Unix timestamp of when this resource last had its discovery data updated. */
@@ -817,7 +965,23 @@ declare namespace gapi.client {
817
965
  /** Optional. The VM's instance number. */
818
966
  instanceNumber?: string;
819
967
  /** Optional. Bitmask of instance role, a resource may have multiple roles at once. */
820
- 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';
821
985
  /** Optional. Instance is part of a DR site. */
822
986
  isDrSite?: boolean;
823
987
  /** Optional. The kernel version of the instance. */
@@ -896,9 +1060,15 @@ declare namespace gapi.client {
896
1060
  /** database details */
897
1061
  database?: DatabaseDetails;
898
1062
  /** Required. two model non-HA and HA supported */
899
- deploymentModel?: string;
1063
+ deploymentModel?:
1064
+ | 'DEPLOYMENT_MODEL_UNSPECIFIED'
1065
+ | 'DISTRIBUTED'
1066
+ | 'DISTRIBUTED_HA';
900
1067
  /** Required. deployment environment */
901
- environmentType?: string;
1068
+ environmentType?:
1069
+ | 'ENVIRONMENT_TYPE_UNSPECIFIED'
1070
+ | 'NON_PRODUCTION'
1071
+ | 'PRODUCTION';
902
1072
  /** the project that infrastructure deployed, current only support the same project where the deployment resource exist. */
903
1073
  gcpProjectId?: string;
904
1074
  /** database details */
@@ -908,9 +1078,13 @@ declare namespace gapi.client {
908
1078
  /** Optional. sap_boot_disk_image */
909
1079
  sapBootDiskImage?: string;
910
1080
  /** Required. support scale up and scale out */
911
- scalingMethod?: string;
1081
+ scalingMethod?: 'SCALE_METHOD_UNSPECIFIED' | 'SCALE_UP' | 'SCALE_OUT';
912
1082
  /** Required. sap hana version */
913
- version?: string;
1083
+ version?:
1084
+ | 'VERSION_UNSPECIFIED'
1085
+ | 'S4_HANA_2021'
1086
+ | 'S4_HANA_2022'
1087
+ | 'S4_HANA_2023';
914
1088
  /** vm_prefix */
915
1089
  vmPrefix?: string;
916
1090
  }
@@ -928,13 +1102,28 @@ declare namespace gapi.client {
928
1102
  /** Optional. Was there a SAP system detected for this validation type. */
929
1103
  isPresent?: boolean;
930
1104
  /** Optional. The SAP system that the validation data is from. */
931
- sapValidationType?: string;
1105
+ sapValidationType?:
1106
+ | 'SAP_VALIDATION_TYPE_UNSPECIFIED'
1107
+ | 'SYSTEM'
1108
+ | 'COROSYNC'
1109
+ | 'PACEMAKER'
1110
+ | 'HANA'
1111
+ | 'NETWEAVER'
1112
+ | 'HANA_SECURITY'
1113
+ | 'CUSTOM';
932
1114
  }
933
1115
  interface SapWorkload {
934
1116
  /** Output only. application component */
935
1117
  application?: SapComponent;
936
1118
  /** Output only. The architecture. */
937
- architecture?: string;
1119
+ architecture?:
1120
+ | 'ARCHITECTURE_UNSPECIFIED'
1121
+ | 'INVALID'
1122
+ | 'CENTRALIZED'
1123
+ | 'DISTRIBUTED'
1124
+ | 'DISTRIBUTED_HA'
1125
+ | 'STANDALONE_DATABASE'
1126
+ | 'STANDALONE_DATABASE_HA';
938
1127
  /** Output only. database component */
939
1128
  database?: SapComponent;
940
1129
  /** Output only. The metadata for SAP workload. */
@@ -952,7 +1141,13 @@ declare namespace gapi.client {
952
1141
  /** Optional. Output only. The IAM permissions for the service. */
953
1142
  iamPermissions?: IAMPermission[];
954
1143
  /** Output only. The overall state of the service. */
955
- state?: string;
1144
+ state?:
1145
+ | 'STATE_UNSPECIFIED'
1146
+ | 'CONFIG_FAILURE'
1147
+ | 'IAM_FAILURE'
1148
+ | 'FUNCTIONALITY_FAILURE'
1149
+ | 'ENABLED'
1150
+ | 'DISABLED';
956
1151
  }
957
1152
  interface ShellCommand {
958
1153
  /** Arguments to be passed to the command. */
@@ -968,7 +1163,10 @@ declare namespace gapi.client {
968
1163
  /** Required. the project that infrastructure deployed, currently only supports the same project where the deployment resource exists. */
969
1164
  gcpProjectId?: string;
970
1165
  /** Required. Internet Access */
971
- internetAccess?: string;
1166
+ internetAccess?:
1167
+ | 'INTERNET_ACCESS_UNSPECIFIED'
1168
+ | 'ALLOW_EXTERNAL_IP'
1169
+ | 'CONFIGURE_NAT';
972
1170
  /** Required. network name */
973
1171
  network?: string;
974
1172
  /** Required. primary zone */
@@ -1000,7 +1198,20 @@ declare namespace gapi.client {
1000
1198
  /** Required. Details wraps map that represents collected data names and values. */
1001
1199
  details?: SqlserverValidationDetails[];
1002
1200
  /** Optional. The Sqlserver system that the validation data is from. */
1003
- 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';
1004
1215
  }
1005
1216
  interface SqlServerWorkload {
1006
1217
  /** Required. active directory details */
@@ -1010,13 +1221,19 @@ declare namespace gapi.client {
1010
1221
  /** Required. database details */
1011
1222
  database?: Database;
1012
1223
  /** Required. HIGH_AVAILABILITY or SINGLE_INSTANCE */
1013
- deploymentModel?: string;
1224
+ deploymentModel?:
1225
+ | 'DEPLOYMENT_MODEL_UNSPECIFIED'
1226
+ | 'HIGH_AVAILABILITY'
1227
+ | 'SINGLE_INSTANCE';
1014
1228
  /** Required. deployment environment */
1015
- environmentType?: string;
1229
+ environmentType?:
1230
+ | 'ENVIRONMENT_TYPE_UNSPECIFIED'
1231
+ | 'NON_PRODUCTION'
1232
+ | 'PRODUCTION';
1016
1233
  /** Optional. SHARED_DISK or S2D */
1017
- fciType?: string;
1234
+ fciType?: 'FCI_TYPE_UNSPECIFIED' | 'SHARED_DISK' | 'S2D';
1018
1235
  /** Optional. AOAG or FCI, it is only needed for High Availability deployment mode */
1019
- haType?: string;
1236
+ haType?: 'HA_TYPE_UNSPECIFIED' | 'AOAG' | 'FCI';
1020
1237
  /** Required. SQL licensing type */
1021
1238
  isSqlPayg?: boolean;
1022
1239
  /** Required. location details */
@@ -1024,17 +1241,34 @@ declare namespace gapi.client {
1024
1241
  /** Required. name of the media storing SQL server installation files */
1025
1242
  mediaBucket?: string;
1026
1243
  /** Required. type of the operating system the SQL server is going to run on top of */
1027
- operatingSystemType?: string;
1244
+ operatingSystemType?:
1245
+ | 'OPERATING_SYSTEM_TYPE_UNSPECIFIED'
1246
+ | 'WINDOWS'
1247
+ | 'UBUNTU'
1248
+ | 'RED_HAT_ENTERPRISE_LINUX'
1249
+ | 'SUSE';
1028
1250
  /** Required. the image of the operating system */
1029
1251
  osImage?: string;
1030
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 */
1031
- osImageType?: string;
1253
+ osImageType?:
1254
+ | 'OS_IMAGE_TYPE_UNSPECIFIED'
1255
+ | 'PUBLIC_IMAGE'
1256
+ | 'CUSTOM_IMAGE';
1032
1257
  /** Optional. pacemaker configuration, only applicable for Linux HA deployments */
1033
1258
  pacemaker?: Pacemaker;
1034
1259
  /** Optional. SQL Server Edition type, only applicable when Operating System is Linux */
1035
- 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';
1036
1266
  /** Optional. 2017 or 2019 or 2022 */
1037
- 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';
1038
1272
  /** Required. should be unique in the project */
1039
1273
  vmPrefix?: string;
1040
1274
  }
@@ -1068,7 +1302,7 @@ declare namespace gapi.client {
1068
1302
  /** Required. validation_details contains the pairs of validation data: field name & field value. */
1069
1303
  validationDetails?: {[P in string]: string};
1070
1304
  /** Required. workload_type specifies the type of torso workload. */
1071
- workloadType?: string;
1305
+ workloadType?: 'WORKLOAD_TYPE_UNSPECIFIED' | 'MYSQL' | 'ORACLE' | 'REDIS';
1072
1306
  }
1073
1307
  interface UpcomingMaintenanceEvent {
1074
1308
  /** Optional. End time */
@@ -1102,7 +1336,7 @@ declare namespace gapi.client {
1102
1336
  /** The sap workload content */
1103
1337
  sapWorkload?: SapWorkload;
1104
1338
  /** Required. The type of the workload */
1105
- workloadType?: string;
1339
+ workloadType?: 'WORKLOAD_TYPE_UNSPECIFIED' | 'S4_HANA';
1106
1340
  }
1107
1341
  interface WorkloadProfileHealth {
1108
1342
  /** The time when the health check was performed. */
@@ -1110,7 +1344,12 @@ declare namespace gapi.client {
1110
1344
  /** The detailed condition reports of each component. */
1111
1345
  componentsHealth?: ComponentHealth[];
1112
1346
  /** Output only. The health state of the workload. */
1113
- state?: string;
1347
+ state?:
1348
+ | 'HEALTH_STATE_UNSPECIFIED'
1349
+ | 'HEALTHY'
1350
+ | 'UNHEALTHY'
1351
+ | 'CRITICAL'
1352
+ | 'UNSUPPORTED';
1114
1353
  }
1115
1354
  interface WriteInsightRequest {
1116
1355
  /** Optional. The agent version collected this data point. */
@@ -1125,11 +1364,11 @@ declare namespace gapi.client {
1125
1364
  /** Creates a new actuation for an existing Deployment. */
1126
1365
  create(request: {
1127
1366
  /** V1 error format. */
1128
- '$.xgafv'?: string;
1367
+ '$.xgafv'?: '1' | '2';
1129
1368
  /** OAuth access token. */
1130
1369
  access_token?: string;
1131
1370
  /** Data format for response. */
1132
- alt?: string;
1371
+ alt?: 'json' | 'media' | 'proto';
1133
1372
  /** JSONP */
1134
1373
  callback?: string;
1135
1374
  /** Selector specifying which fields to include in a partial response. */
@@ -1156,11 +1395,11 @@ declare namespace gapi.client {
1156
1395
  create(
1157
1396
  request: {
1158
1397
  /** V1 error format. */
1159
- '$.xgafv'?: string;
1398
+ '$.xgafv'?: '1' | '2';
1160
1399
  /** OAuth access token. */
1161
1400
  access_token?: string;
1162
1401
  /** Data format for response. */
1163
- alt?: string;
1402
+ alt?: 'json' | 'media' | 'proto';
1164
1403
  /** JSONP */
1165
1404
  callback?: string;
1166
1405
  /** Selector specifying which fields to include in a partial response. */
@@ -1187,11 +1426,11 @@ declare namespace gapi.client {
1187
1426
  /** Deletes a single Actuation */
1188
1427
  delete(request?: {
1189
1428
  /** V1 error format. */
1190
- '$.xgafv'?: string;
1429
+ '$.xgafv'?: '1' | '2';
1191
1430
  /** OAuth access token. */
1192
1431
  access_token?: string;
1193
1432
  /** Data format for response. */
1194
- alt?: string;
1433
+ alt?: 'json' | 'media' | 'proto';
1195
1434
  /** JSONP */
1196
1435
  callback?: string;
1197
1436
  /** Selector specifying which fields to include in a partial response. */
@@ -1214,11 +1453,11 @@ declare namespace gapi.client {
1214
1453
  /** Gets details of a single Actuation. */
1215
1454
  get(request?: {
1216
1455
  /** V1 error format. */
1217
- '$.xgafv'?: string;
1456
+ '$.xgafv'?: '1' | '2';
1218
1457
  /** OAuth access token. */
1219
1458
  access_token?: string;
1220
1459
  /** Data format for response. */
1221
- alt?: string;
1460
+ alt?: 'json' | 'media' | 'proto';
1222
1461
  /** JSONP */
1223
1462
  callback?: string;
1224
1463
  /** Selector specifying which fields to include in a partial response. */
@@ -1241,11 +1480,11 @@ declare namespace gapi.client {
1241
1480
  /** Lists Actuations in a given project, location and deployment. */
1242
1481
  list(request?: {
1243
1482
  /** V1 error format. */
1244
- '$.xgafv'?: string;
1483
+ '$.xgafv'?: '1' | '2';
1245
1484
  /** OAuth access token. */
1246
1485
  access_token?: string;
1247
1486
  /** Data format for response. */
1248
- alt?: string;
1487
+ alt?: 'json' | 'media' | 'proto';
1249
1488
  /** JSONP */
1250
1489
  callback?: string;
1251
1490
  /** Selector specifying which fields to include in a partial response. */
@@ -1278,11 +1517,11 @@ declare namespace gapi.client {
1278
1517
  /** Creates a new Deployment in a given project and location. */
1279
1518
  create(request: {
1280
1519
  /** V1 error format. */
1281
- '$.xgafv'?: string;
1520
+ '$.xgafv'?: '1' | '2';
1282
1521
  /** OAuth access token. */
1283
1522
  access_token?: string;
1284
1523
  /** Data format for response. */
1285
- alt?: string;
1524
+ alt?: 'json' | 'media' | 'proto';
1286
1525
  /** JSONP */
1287
1526
  callback?: string;
1288
1527
  /** Required. Id of the deployment */
@@ -1311,11 +1550,11 @@ declare namespace gapi.client {
1311
1550
  create(
1312
1551
  request: {
1313
1552
  /** V1 error format. */
1314
- '$.xgafv'?: string;
1553
+ '$.xgafv'?: '1' | '2';
1315
1554
  /** OAuth access token. */
1316
1555
  access_token?: string;
1317
1556
  /** Data format for response. */
1318
- alt?: string;
1557
+ alt?: 'json' | 'media' | 'proto';
1319
1558
  /** JSONP */
1320
1559
  callback?: string;
1321
1560
  /** Required. Id of the deployment */
@@ -1344,11 +1583,11 @@ declare namespace gapi.client {
1344
1583
  /** Deletes a single Deployment. */
1345
1584
  delete(request?: {
1346
1585
  /** V1 error format. */
1347
- '$.xgafv'?: string;
1586
+ '$.xgafv'?: '1' | '2';
1348
1587
  /** OAuth access token. */
1349
1588
  access_token?: string;
1350
1589
  /** Data format for response. */
1351
- alt?: string;
1590
+ alt?: 'json' | 'media' | 'proto';
1352
1591
  /** JSONP */
1353
1592
  callback?: string;
1354
1593
  /** Selector specifying which fields to include in a partial response. */
@@ -1373,11 +1612,11 @@ declare namespace gapi.client {
1373
1612
  /** Gets details of a single Deployment. */
1374
1613
  get(request?: {
1375
1614
  /** V1 error format. */
1376
- '$.xgafv'?: string;
1615
+ '$.xgafv'?: '1' | '2';
1377
1616
  /** OAuth access token. */
1378
1617
  access_token?: string;
1379
1618
  /** Data format for response. */
1380
- alt?: string;
1619
+ alt?: 'json' | 'media' | 'proto';
1381
1620
  /** JSONP */
1382
1621
  callback?: string;
1383
1622
  /** Selector specifying which fields to include in a partial response. */
@@ -1400,11 +1639,11 @@ declare namespace gapi.client {
1400
1639
  /** Lists Deployments in a given project and location. */
1401
1640
  list(request?: {
1402
1641
  /** V1 error format. */
1403
- '$.xgafv'?: string;
1642
+ '$.xgafv'?: '1' | '2';
1404
1643
  /** OAuth access token. */
1405
1644
  access_token?: string;
1406
1645
  /** Data format for response. */
1407
- alt?: string;
1646
+ alt?: 'json' | 'media' | 'proto';
1408
1647
  /** JSONP */
1409
1648
  callback?: string;
1410
1649
  /** Selector specifying which fields to include in a partial response. */
@@ -1438,11 +1677,11 @@ declare namespace gapi.client {
1438
1677
  /** Get the health of a discovered workload profile. */
1439
1678
  get(request?: {
1440
1679
  /** V1 error format. */
1441
- '$.xgafv'?: string;
1680
+ '$.xgafv'?: '1' | '2';
1442
1681
  /** OAuth access token. */
1443
1682
  access_token?: string;
1444
1683
  /** Data format for response. */
1445
- alt?: string;
1684
+ alt?: 'json' | 'media' | 'proto';
1446
1685
  /** JSONP */
1447
1686
  callback?: string;
1448
1687
  /** Selector specifying which fields to include in a partial response. */
@@ -1467,11 +1706,11 @@ declare namespace gapi.client {
1467
1706
  /** Gets details of a discovered workload profile. */
1468
1707
  get(request?: {
1469
1708
  /** V1 error format. */
1470
- '$.xgafv'?: string;
1709
+ '$.xgafv'?: '1' | '2';
1471
1710
  /** OAuth access token. */
1472
1711
  access_token?: string;
1473
1712
  /** Data format for response. */
1474
- alt?: string;
1713
+ alt?: 'json' | 'media' | 'proto';
1475
1714
  /** JSONP */
1476
1715
  callback?: string;
1477
1716
  /** Selector specifying which fields to include in a partial response. */
@@ -1494,11 +1733,11 @@ declare namespace gapi.client {
1494
1733
  /** List discovered workload profiles */
1495
1734
  list(request?: {
1496
1735
  /** V1 error format. */
1497
- '$.xgafv'?: string;
1736
+ '$.xgafv'?: '1' | '2';
1498
1737
  /** OAuth access token. */
1499
1738
  access_token?: string;
1500
1739
  /** Data format for response. */
1501
- alt?: string;
1740
+ alt?: 'json' | 'media' | 'proto';
1502
1741
  /** JSONP */
1503
1742
  callback?: string;
1504
1743
  /** Selector specifying which fields to include in a partial response. */
@@ -1530,11 +1769,11 @@ declare namespace gapi.client {
1530
1769
  /** Lists the result of a single evaluation. */
1531
1770
  list(request?: {
1532
1771
  /** V1 error format. */
1533
- '$.xgafv'?: string;
1772
+ '$.xgafv'?: '1' | '2';
1534
1773
  /** OAuth access token. */
1535
1774
  access_token?: string;
1536
1775
  /** Data format for response. */
1537
- alt?: string;
1776
+ alt?: 'json' | 'media' | 'proto';
1538
1777
  /** JSONP */
1539
1778
  callback?: string;
1540
1779
  /** Selector specifying which fields to include in a partial response. */
@@ -1565,11 +1804,11 @@ declare namespace gapi.client {
1565
1804
  /** List all scanned resources for a single Execution. */
1566
1805
  list(request?: {
1567
1806
  /** V1 error format. */
1568
- '$.xgafv'?: string;
1807
+ '$.xgafv'?: '1' | '2';
1569
1808
  /** OAuth access token. */
1570
1809
  access_token?: string;
1571
1810
  /** Data format for response. */
1572
- alt?: string;
1811
+ alt?: 'json' | 'media' | 'proto';
1573
1812
  /** JSONP */
1574
1813
  callback?: string;
1575
1814
  /** Selector specifying which fields to include in a partial response. */
@@ -1604,11 +1843,11 @@ declare namespace gapi.client {
1604
1843
  /** Deletes a single Execution. */
1605
1844
  delete(request?: {
1606
1845
  /** V1 error format. */
1607
- '$.xgafv'?: string;
1846
+ '$.xgafv'?: '1' | '2';
1608
1847
  /** OAuth access token. */
1609
1848
  access_token?: string;
1610
1849
  /** Data format for response. */
1611
- alt?: string;
1850
+ alt?: 'json' | 'media' | 'proto';
1612
1851
  /** JSONP */
1613
1852
  callback?: string;
1614
1853
  /** Selector specifying which fields to include in a partial response. */
@@ -1633,11 +1872,11 @@ declare namespace gapi.client {
1633
1872
  /** Gets details of a single Execution. */
1634
1873
  get(request?: {
1635
1874
  /** V1 error format. */
1636
- '$.xgafv'?: string;
1875
+ '$.xgafv'?: '1' | '2';
1637
1876
  /** OAuth access token. */
1638
1877
  access_token?: string;
1639
1878
  /** Data format for response. */
1640
- alt?: string;
1879
+ alt?: 'json' | 'media' | 'proto';
1641
1880
  /** JSONP */
1642
1881
  callback?: string;
1643
1882
  /** Selector specifying which fields to include in a partial response. */
@@ -1660,11 +1899,11 @@ declare namespace gapi.client {
1660
1899
  /** Lists Executions in a given project and location. */
1661
1900
  list(request?: {
1662
1901
  /** V1 error format. */
1663
- '$.xgafv'?: string;
1902
+ '$.xgafv'?: '1' | '2';
1664
1903
  /** OAuth access token. */
1665
1904
  access_token?: string;
1666
1905
  /** Data format for response. */
1667
- alt?: string;
1906
+ alt?: 'json' | 'media' | 'proto';
1668
1907
  /** JSONP */
1669
1908
  callback?: string;
1670
1909
  /** Selector specifying which fields to include in a partial response. */
@@ -1695,11 +1934,11 @@ declare namespace gapi.client {
1695
1934
  /** Creates a new Execution in a given project and location. */
1696
1935
  run(request: {
1697
1936
  /** V1 error format. */
1698
- '$.xgafv'?: string;
1937
+ '$.xgafv'?: '1' | '2';
1699
1938
  /** OAuth access token. */
1700
1939
  access_token?: string;
1701
1940
  /** Data format for response. */
1702
- alt?: string;
1941
+ alt?: 'json' | 'media' | 'proto';
1703
1942
  /** JSONP */
1704
1943
  callback?: string;
1705
1944
  /** Selector specifying which fields to include in a partial response. */
@@ -1724,11 +1963,11 @@ declare namespace gapi.client {
1724
1963
  run(
1725
1964
  request: {
1726
1965
  /** V1 error format. */
1727
- '$.xgafv'?: string;
1966
+ '$.xgafv'?: '1' | '2';
1728
1967
  /** OAuth access token. */
1729
1968
  access_token?: string;
1730
1969
  /** Data format for response. */
1731
- alt?: string;
1970
+ alt?: 'json' | 'media' | 'proto';
1732
1971
  /** JSONP */
1733
1972
  callback?: string;
1734
1973
  /** Selector specifying which fields to include in a partial response. */
@@ -1757,11 +1996,11 @@ declare namespace gapi.client {
1757
1996
  /** Creates a new Evaluation in a given project and location. */
1758
1997
  create(request: {
1759
1998
  /** V1 error format. */
1760
- '$.xgafv'?: string;
1999
+ '$.xgafv'?: '1' | '2';
1761
2000
  /** OAuth access token. */
1762
2001
  access_token?: string;
1763
2002
  /** Data format for response. */
1764
- alt?: string;
2003
+ alt?: 'json' | 'media' | 'proto';
1765
2004
  /** JSONP */
1766
2005
  callback?: string;
1767
2006
  /** Required. Id of the requesting object. */
@@ -1790,11 +2029,11 @@ declare namespace gapi.client {
1790
2029
  create(
1791
2030
  request: {
1792
2031
  /** V1 error format. */
1793
- '$.xgafv'?: string;
2032
+ '$.xgafv'?: '1' | '2';
1794
2033
  /** OAuth access token. */
1795
2034
  access_token?: string;
1796
2035
  /** Data format for response. */
1797
- alt?: string;
2036
+ alt?: 'json' | 'media' | 'proto';
1798
2037
  /** JSONP */
1799
2038
  callback?: string;
1800
2039
  /** Required. Id of the requesting object. */
@@ -1823,11 +2062,11 @@ declare namespace gapi.client {
1823
2062
  /** Deletes a single Evaluation. */
1824
2063
  delete(request?: {
1825
2064
  /** V1 error format. */
1826
- '$.xgafv'?: string;
2065
+ '$.xgafv'?: '1' | '2';
1827
2066
  /** OAuth access token. */
1828
2067
  access_token?: string;
1829
2068
  /** Data format for response. */
1830
- alt?: string;
2069
+ alt?: 'json' | 'media' | 'proto';
1831
2070
  /** JSONP */
1832
2071
  callback?: string;
1833
2072
  /** Selector specifying which fields to include in a partial response. */
@@ -1854,11 +2093,11 @@ declare namespace gapi.client {
1854
2093
  /** Gets details of a single Evaluation. */
1855
2094
  get(request?: {
1856
2095
  /** V1 error format. */
1857
- '$.xgafv'?: string;
2096
+ '$.xgafv'?: '1' | '2';
1858
2097
  /** OAuth access token. */
1859
2098
  access_token?: string;
1860
2099
  /** Data format for response. */
1861
- alt?: string;
2100
+ alt?: 'json' | 'media' | 'proto';
1862
2101
  /** JSONP */
1863
2102
  callback?: string;
1864
2103
  /** Selector specifying which fields to include in a partial response. */
@@ -1881,11 +2120,11 @@ declare namespace gapi.client {
1881
2120
  /** Lists Evaluations in a given project and location. */
1882
2121
  list(request?: {
1883
2122
  /** V1 error format. */
1884
- '$.xgafv'?: string;
2123
+ '$.xgafv'?: '1' | '2';
1885
2124
  /** OAuth access token. */
1886
2125
  access_token?: string;
1887
2126
  /** Data format for response. */
1888
- alt?: string;
2127
+ alt?: 'json' | 'media' | 'proto';
1889
2128
  /** JSONP */
1890
2129
  callback?: string;
1891
2130
  /** Selector specifying which fields to include in a partial response. */
@@ -1916,11 +2155,11 @@ declare namespace gapi.client {
1916
2155
  /** Updates the parameters of a single Evaluation. */
1917
2156
  patch(request: {
1918
2157
  /** V1 error format. */
1919
- '$.xgafv'?: string;
2158
+ '$.xgafv'?: '1' | '2';
1920
2159
  /** OAuth access token. */
1921
2160
  access_token?: string;
1922
2161
  /** Data format for response. */
1923
- alt?: string;
2162
+ alt?: 'json' | 'media' | 'proto';
1924
2163
  /** JSONP */
1925
2164
  callback?: string;
1926
2165
  /** Selector specifying which fields to include in a partial response. */
@@ -1949,11 +2188,11 @@ declare namespace gapi.client {
1949
2188
  patch(
1950
2189
  request: {
1951
2190
  /** V1 error format. */
1952
- '$.xgafv'?: string;
2191
+ '$.xgafv'?: '1' | '2';
1953
2192
  /** OAuth access token. */
1954
2193
  access_token?: string;
1955
2194
  /** Data format for response. */
1956
- alt?: string;
2195
+ alt?: 'json' | 'media' | 'proto';
1957
2196
  /** JSONP */
1958
2197
  callback?: string;
1959
2198
  /** Selector specifying which fields to include in a partial response. */
@@ -1985,11 +2224,11 @@ declare namespace gapi.client {
1985
2224
  /** Delete the data insights from workload manager data warehouse. */
1986
2225
  delete(request?: {
1987
2226
  /** V1 error format. */
1988
- '$.xgafv'?: string;
2227
+ '$.xgafv'?: '1' | '2';
1989
2228
  /** OAuth access token. */
1990
2229
  access_token?: string;
1991
2230
  /** Data format for response. */
1992
- alt?: string;
2231
+ alt?: 'json' | 'media' | 'proto';
1993
2232
  /** JSONP */
1994
2233
  callback?: string;
1995
2234
  /** Selector specifying which fields to include in a partial response. */
@@ -2014,11 +2253,11 @@ declare namespace gapi.client {
2014
2253
  /** Write the data insights to workload manager data warehouse. */
2015
2254
  writeInsight(request: {
2016
2255
  /** V1 error format. */
2017
- '$.xgafv'?: string;
2256
+ '$.xgafv'?: '1' | '2';
2018
2257
  /** OAuth access token. */
2019
2258
  access_token?: string;
2020
2259
  /** Data format for response. */
2021
- alt?: string;
2260
+ alt?: 'json' | 'media' | 'proto';
2022
2261
  /** JSONP */
2023
2262
  callback?: string;
2024
2263
  /** Selector specifying which fields to include in a partial response. */
@@ -2043,11 +2282,11 @@ declare namespace gapi.client {
2043
2282
  writeInsight(
2044
2283
  request: {
2045
2284
  /** V1 error format. */
2046
- '$.xgafv'?: string;
2285
+ '$.xgafv'?: '1' | '2';
2047
2286
  /** OAuth access token. */
2048
2287
  access_token?: string;
2049
2288
  /** Data format for response. */
2050
- alt?: string;
2289
+ alt?: 'json' | 'media' | 'proto';
2051
2290
  /** JSONP */
2052
2291
  callback?: string;
2053
2292
  /** Selector specifying which fields to include in a partial response. */
@@ -2074,11 +2313,11 @@ declare namespace gapi.client {
2074
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`. */
2075
2314
  cancel(request: {
2076
2315
  /** V1 error format. */
2077
- '$.xgafv'?: string;
2316
+ '$.xgafv'?: '1' | '2';
2078
2317
  /** OAuth access token. */
2079
2318
  access_token?: string;
2080
2319
  /** Data format for response. */
2081
- alt?: string;
2320
+ alt?: 'json' | 'media' | 'proto';
2082
2321
  /** JSONP */
2083
2322
  callback?: string;
2084
2323
  /** Selector specifying which fields to include in a partial response. */
@@ -2103,11 +2342,11 @@ declare namespace gapi.client {
2103
2342
  cancel(
2104
2343
  request: {
2105
2344
  /** V1 error format. */
2106
- '$.xgafv'?: string;
2345
+ '$.xgafv'?: '1' | '2';
2107
2346
  /** OAuth access token. */
2108
2347
  access_token?: string;
2109
2348
  /** Data format for response. */
2110
- alt?: string;
2349
+ alt?: 'json' | 'media' | 'proto';
2111
2350
  /** JSONP */
2112
2351
  callback?: string;
2113
2352
  /** Selector specifying which fields to include in a partial response. */
@@ -2132,11 +2371,11 @@ declare namespace gapi.client {
2132
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`. */
2133
2372
  delete(request?: {
2134
2373
  /** V1 error format. */
2135
- '$.xgafv'?: string;
2374
+ '$.xgafv'?: '1' | '2';
2136
2375
  /** OAuth access token. */
2137
2376
  access_token?: string;
2138
2377
  /** Data format for response. */
2139
- alt?: string;
2378
+ alt?: 'json' | 'media' | 'proto';
2140
2379
  /** JSONP */
2141
2380
  callback?: string;
2142
2381
  /** Selector specifying which fields to include in a partial response. */
@@ -2159,11 +2398,11 @@ declare namespace gapi.client {
2159
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. */
2160
2399
  get(request?: {
2161
2400
  /** V1 error format. */
2162
- '$.xgafv'?: string;
2401
+ '$.xgafv'?: '1' | '2';
2163
2402
  /** OAuth access token. */
2164
2403
  access_token?: string;
2165
2404
  /** Data format for response. */
2166
- alt?: string;
2405
+ alt?: 'json' | 'media' | 'proto';
2167
2406
  /** JSONP */
2168
2407
  callback?: string;
2169
2408
  /** Selector specifying which fields to include in a partial response. */
@@ -2186,11 +2425,11 @@ declare namespace gapi.client {
2186
2425
  /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
2187
2426
  list(request?: {
2188
2427
  /** V1 error format. */
2189
- '$.xgafv'?: string;
2428
+ '$.xgafv'?: '1' | '2';
2190
2429
  /** OAuth access token. */
2191
2430
  access_token?: string;
2192
2431
  /** Data format for response. */
2193
- alt?: string;
2432
+ alt?: 'json' | 'media' | 'proto';
2194
2433
  /** JSONP */
2195
2434
  callback?: string;
2196
2435
  /** Selector specifying which fields to include in a partial response. */
@@ -2223,17 +2462,21 @@ declare namespace gapi.client {
2223
2462
  /** Lists rules in a given project. */
2224
2463
  list(request?: {
2225
2464
  /** V1 error format. */
2226
- '$.xgafv'?: string;
2465
+ '$.xgafv'?: '1' | '2';
2227
2466
  /** OAuth access token. */
2228
2467
  access_token?: string;
2229
2468
  /** Data format for response. */
2230
- alt?: string;
2469
+ alt?: 'json' | 'media' | 'proto';
2231
2470
  /** JSONP */
2232
2471
  callback?: string;
2233
2472
  /** The Cloud Storage bucket name for custom rules. */
2234
2473
  customRulesBucket?: string;
2235
2474
  /** Optional. The evaluation type of the rules will be applied to. The Cloud Storage bucket name for custom rules. */
2236
- evaluationType?: string;
2475
+ evaluationType?:
2476
+ | 'EVALUATION_TYPE_UNSPECIFIED'
2477
+ | 'SAP'
2478
+ | 'SQL_SERVER'
2479
+ | 'OTHER';
2237
2480
  /** Selector specifying which fields to include in a partial response. */
2238
2481
  fields?: string;
2239
2482
  /** Filter based on primary_category, secondary_category. */
@@ -2262,11 +2505,11 @@ declare namespace gapi.client {
2262
2505
  /** Gets information about a location. */
2263
2506
  get(request?: {
2264
2507
  /** V1 error format. */
2265
- '$.xgafv'?: string;
2508
+ '$.xgafv'?: '1' | '2';
2266
2509
  /** OAuth access token. */
2267
2510
  access_token?: string;
2268
2511
  /** Data format for response. */
2269
- alt?: string;
2512
+ alt?: 'json' | 'media' | 'proto';
2270
2513
  /** JSONP */
2271
2514
  callback?: string;
2272
2515
  /** Selector specifying which fields to include in a partial response. */
@@ -2289,11 +2532,11 @@ declare namespace gapi.client {
2289
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. */
2290
2533
  list(request?: {
2291
2534
  /** V1 error format. */
2292
- '$.xgafv'?: string;
2535
+ '$.xgafv'?: '1' | '2';
2293
2536
  /** OAuth access token. */
2294
2537
  access_token?: string;
2295
2538
  /** Data format for response. */
2296
- alt?: string;
2539
+ alt?: 'json' | 'media' | 'proto';
2297
2540
  /** JSONP */
2298
2541
  callback?: string;
2299
2542
  /** Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.workloadmanager-v1",
3
- "version": "0.1.20260217",
3
+ "version": "0.2.20260217",
4
4
  "description": "TypeScript typings for Workload Manager API v1",
5
5
  "repository": {
6
6
  "type": "git",