@maxim_mazurok/gapi.client.datamigration-v1 0.1.20260310 → 0.2.20260310

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 +595 -237
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -36,7 +36,13 @@ declare namespace gapi.client {
36
36
  }
37
37
  interface AlloyDbSettings {
38
38
  /** Optional. The database engine major version. This is an optional field. If a database version is not supplied at cluster creation time, then a default database version will be used. */
39
- databaseVersion?: string;
39
+ databaseVersion?:
40
+ | 'DATABASE_VERSION_UNSPECIFIED'
41
+ | 'POSTGRES_14'
42
+ | 'POSTGRES_15'
43
+ | 'POSTGRES_16'
44
+ | 'POSTGRES_17'
45
+ | 'POSTGRES_18';
40
46
  /** Optional. The encryption config can be specified to encrypt the data disks and other persistent data resources of a cluster with a customer-managed encryption key (CMEK). When this field is not specified, the cluster will then use default encryption scheme to protect the user data. */
41
47
  encryptionConfig?: EncryptionConfig;
42
48
  /** Required. Input only. Initial user to setup during cluster creation. Required. */
@@ -82,7 +88,11 @@ declare namespace gapi.client {
82
88
  /** Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. */
83
89
  exemptedMembers?: string[];
84
90
  /** The log type that this config enables. */
85
- logType?: string;
91
+ logType?:
92
+ | 'LOG_TYPE_UNSPECIFIED'
93
+ | 'ADMIN_READ'
94
+ | 'DATA_WRITE'
95
+ | 'DATA_READ';
86
96
  }
87
97
  interface AuthorizedNetwork {
88
98
  /** Optional. CIDR range for one authorzied network of the instance. */
@@ -94,7 +104,10 @@ declare namespace gapi.client {
94
104
  /** Output only. Job completion comment, such as how many entities were seeded, how many warnings were found during conversion, and similar information. */
95
105
  completionComment?: string;
96
106
  /** Output only. Job completion state, i.e. the final state after the job completed. */
97
- completionState?: string;
107
+ completionState?:
108
+ | 'JOB_COMPLETION_STATE_UNSPECIFIED'
109
+ | 'SUCCEEDED'
110
+ | 'FAILED';
98
111
  /** Output only. Convert job details. */
99
112
  convertJobDetails?: ConvertJobDetails;
100
113
  /** The timestamp when the background job was finished. */
@@ -104,7 +117,12 @@ declare namespace gapi.client {
104
117
  /** Output only. Import rules job details. */
105
118
  importRulesJobDetails?: ImportRulesJobDetails;
106
119
  /** The type of job that was executed. */
107
- jobType?: string;
120
+ jobType?:
121
+ | 'BACKGROUND_JOB_TYPE_UNSPECIFIED'
122
+ | 'BACKGROUND_JOB_TYPE_SOURCE_SEED'
123
+ | 'BACKGROUND_JOB_TYPE_CONVERT'
124
+ | 'BACKGROUND_JOB_TYPE_APPLY_DESTINATION'
125
+ | 'BACKGROUND_JOB_TYPE_IMPORT_RULES_FILE';
108
126
  /** Output only. Whether the client requested the conversion workspace to be committed after a successful completion of the job. */
109
127
  requestAutocommit?: boolean;
110
128
  /** Output only. Seed job details. */
@@ -145,11 +163,17 @@ declare namespace gapi.client {
145
163
  }
146
164
  interface CloudSqlSettings {
147
165
  /** The activation policy specifies when the instance is activated; it is applicable only when the instance state is 'RUNNABLE'. Valid values: 'ALWAYS': The instance is on, and remains so even in the absence of connection requests. `NEVER`: The instance is off; it is not activated, even if a connection request arrives. */
148
- activationPolicy?: string;
166
+ activationPolicy?:
167
+ | 'SQL_ACTIVATION_POLICY_UNSPECIFIED'
168
+ | 'ALWAYS'
169
+ | 'NEVER';
149
170
  /** [default: ON] If you enable this setting, Cloud SQL checks your available storage every 30 seconds. If the available storage falls below a threshold size, Cloud SQL automatically adds additional storage capacity. If the available storage repeatedly falls below the threshold size, Cloud SQL continues to add storage until it reaches the maximum of 30 TB. */
150
171
  autoStorageIncrease?: boolean;
151
172
  /** Optional. Availability type. Potential values: * `ZONAL`: The instance serves data from only one zone. Outages in that zone affect data availability. * `REGIONAL`: The instance can serve data from more than one zone in a region (it is highly available). */
152
- availabilityType?: string;
173
+ availabilityType?:
174
+ | 'SQL_AVAILABILITY_TYPE_UNSPECIFIED'
175
+ | 'ZONAL'
176
+ | 'REGIONAL';
153
177
  /** The KMS key name used for the csql instance. */
154
178
  cmekKeyName?: string;
155
179
  /** The Cloud SQL default instance level collation. */
@@ -157,7 +181,32 @@ declare namespace gapi.client {
157
181
  /** The database flags passed to the Cloud SQL instance at startup. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. */
158
182
  databaseFlags?: {[P in string]: string};
159
183
  /** The database engine type and version. Deprecated. Use database_version_name instead. */
160
- databaseVersion?: string;
184
+ databaseVersion?:
185
+ | 'SQL_DATABASE_VERSION_UNSPECIFIED'
186
+ | 'MYSQL_5_6'
187
+ | 'MYSQL_5_7'
188
+ | 'MYSQL_8_0'
189
+ | 'MYSQL_8_0_18'
190
+ | 'MYSQL_8_0_26'
191
+ | 'MYSQL_8_0_27'
192
+ | 'MYSQL_8_0_28'
193
+ | 'MYSQL_8_0_30'
194
+ | 'MYSQL_8_0_31'
195
+ | 'MYSQL_8_0_32'
196
+ | 'MYSQL_8_0_33'
197
+ | 'MYSQL_8_0_34'
198
+ | 'MYSQL_8_0_35'
199
+ | 'MYSQL_8_0_36'
200
+ | 'MYSQL_8_0_37'
201
+ | 'MYSQL_8_4'
202
+ | 'POSTGRES_9_6'
203
+ | 'POSTGRES_11'
204
+ | 'POSTGRES_10'
205
+ | 'POSTGRES_12'
206
+ | 'POSTGRES_13'
207
+ | 'POSTGRES_14'
208
+ | 'POSTGRES_15'
209
+ | 'POSTGRES_16';
161
210
  /** Optional. The database engine type and version name. */
162
211
  databaseVersionName?: string;
163
212
  /** Optional. Data cache is an optional feature available for Cloud SQL for MySQL Enterprise Plus edition only. For more information on data cache, see [Data cache overview](https://cloud.google.com/sql/help/mysql-data-cache) in Cloud SQL documentation. */
@@ -169,9 +218,13 @@ declare namespace gapi.client {
169
218
  /** The storage capacity available to the database, in GB. The minimum (and default) size is 10GB. */
170
219
  dataDiskSizeGb?: string;
171
220
  /** The type of storage: `PD_SSD` (default) or `PD_HDD` or `HYPERDISK_BALANCED`. */
172
- dataDiskType?: string;
221
+ dataDiskType?:
222
+ | 'SQL_DATA_DISK_TYPE_UNSPECIFIED'
223
+ | 'PD_SSD'
224
+ | 'PD_HDD'
225
+ | 'HYPERDISK_BALANCED';
173
226
  /** Optional. The edition of the given Cloud SQL instance. */
174
- edition?: string;
227
+ edition?: 'EDITION_UNSPECIFIED' | 'ENTERPRISE' | 'ENTERPRISE_PLUS';
175
228
  /** The settings for IP Management. This allows to enable or disable the instance IP and manage which external networks can connect to the instance. The IPv4 address cannot be disabled. */
176
229
  ipConfig?: SqlIpConfig;
177
230
  /** Input only. Initial root password. */
@@ -267,9 +320,15 @@ declare namespace gapi.client {
267
320
  /** A PostgreSQL database connection profile. */
268
321
  postgresql?: PostgreSqlConnectionProfile;
269
322
  /** The database provider. */
270
- provider?: string;
323
+ provider?:
324
+ | 'DATABASE_PROVIDER_UNSPECIFIED'
325
+ | 'CLOUDSQL'
326
+ | 'RDS'
327
+ | 'AURORA'
328
+ | 'ALLOYDB'
329
+ | 'AZURE_DATABASE';
271
330
  /** Optional. The connection profile role. */
272
- role?: string;
331
+ role?: 'ROLE_UNSPECIFIED' | 'SOURCE' | 'DESTINATION';
273
332
  /** Output only. Reserved for future use. */
274
333
  satisfiesPzi?: boolean;
275
334
  /** Output only. Reserved for future use. */
@@ -277,7 +336,15 @@ declare namespace gapi.client {
277
336
  /** Connection profile for a SQL Server data source. */
278
337
  sqlserver?: SqlServerConnectionProfile;
279
338
  /** The current connection profile state (e.g. DRAFT, READY, or FAILED). */
280
- state?: string;
339
+ state?:
340
+ | 'STATE_UNSPECIFIED'
341
+ | 'DRAFT'
342
+ | 'CREATING'
343
+ | 'READY'
344
+ | 'UPDATING'
345
+ | 'DELETING'
346
+ | 'DELETED'
347
+ | 'FAILED';
281
348
  /** Output only. The timestamp when the resource was last updated. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z". */
282
349
  updateTime?: string;
283
350
  }
@@ -303,7 +370,13 @@ declare namespace gapi.client {
303
370
  /** Required. The destination engine details. */
304
371
  destination?: DatabaseEngineInfo;
305
372
  /** Optional. The provider for the destination database. */
306
- destinationProvider?: string;
373
+ destinationProvider?:
374
+ | 'DATABASE_PROVIDER_UNSPECIFIED'
375
+ | 'CLOUDSQL'
376
+ | 'RDS'
377
+ | 'AURORA'
378
+ | 'ALLOYDB'
379
+ | 'AZURE_DATABASE';
307
380
  /** Optional. The display name for the workspace. */
308
381
  displayName?: string;
309
382
  /** Optional. A generic list of settings for the workspace. The settings are database pair dependant and can indicate default behavior for the mapping rules engine or turn on or off specific features. Such examples can be: convert_foreign_key_to_interleave=true, skip_triggers=false, ignore_non_table_synonyms=true */
@@ -319,7 +392,13 @@ declare namespace gapi.client {
319
392
  /** Required. The source engine details. */
320
393
  source?: DatabaseEngineInfo;
321
394
  /** Optional. The provider for the source database. */
322
- sourceProvider?: string;
395
+ sourceProvider?:
396
+ | 'DATABASE_PROVIDER_UNSPECIFIED'
397
+ | 'CLOUDSQL'
398
+ | 'RDS'
399
+ | 'AURORA'
400
+ | 'ALLOYDB'
401
+ | 'AZURE_DATABASE';
323
402
  /** Output only. The timestamp when the workspace resource was last updated. */
324
403
  updateTime?: string;
325
404
  }
@@ -347,7 +426,12 @@ declare namespace gapi.client {
347
426
  }
348
427
  interface DatabaseEngineInfo {
349
428
  /** Required. Engine type. */
350
- engine?: string;
429
+ engine?:
430
+ | 'DATABASE_ENGINE_UNSPECIFIED'
431
+ | 'MYSQL'
432
+ | 'POSTGRESQL'
433
+ | 'SQLSERVER'
434
+ | 'ORACLE';
351
435
  /** Required. Engine version, for example "12.c.1". */
352
436
  version?: string;
353
437
  }
@@ -361,7 +445,23 @@ declare namespace gapi.client {
361
445
  /** Details about the entity DDL script. Multiple DDL scripts are provided for child entities such as a table entity will have one DDL for the table with additional DDLs for each index, constraint and such. */
362
446
  entityDdl?: EntityDdl[];
363
447
  /** The type of the database entity (table, view, index, ...). */
364
- entityType?: string;
448
+ entityType?:
449
+ | 'DATABASE_ENTITY_TYPE_UNSPECIFIED'
450
+ | 'DATABASE_ENTITY_TYPE_SCHEMA'
451
+ | 'DATABASE_ENTITY_TYPE_TABLE'
452
+ | 'DATABASE_ENTITY_TYPE_COLUMN'
453
+ | 'DATABASE_ENTITY_TYPE_CONSTRAINT'
454
+ | 'DATABASE_ENTITY_TYPE_INDEX'
455
+ | 'DATABASE_ENTITY_TYPE_TRIGGER'
456
+ | 'DATABASE_ENTITY_TYPE_VIEW'
457
+ | 'DATABASE_ENTITY_TYPE_SEQUENCE'
458
+ | 'DATABASE_ENTITY_TYPE_STORED_PROCEDURE'
459
+ | 'DATABASE_ENTITY_TYPE_FUNCTION'
460
+ | 'DATABASE_ENTITY_TYPE_SYNONYM'
461
+ | 'DATABASE_ENTITY_TYPE_DATABASE_PACKAGE'
462
+ | 'DATABASE_ENTITY_TYPE_UDT'
463
+ | 'DATABASE_ENTITY_TYPE_MATERIALIZED_VIEW'
464
+ | 'DATABASE_ENTITY_TYPE_DATABASE';
365
465
  /** Details about the various issues found for the entity. */
366
466
  issues?: EntityIssue[];
367
467
  /** Details about entity mappings. For source tree entities, this holds the draft entities which were generated by the mapping rules. For draft tree entities, this holds the source entities which were converted to form the draft entity. Destination entities will have no mapping details. */
@@ -383,7 +483,7 @@ declare namespace gapi.client {
383
483
  /** Table. */
384
484
  table?: TableEntity;
385
485
  /** The type of tree the entity belongs to. */
386
- tree?: string;
486
+ tree?: 'TREE_TYPE_UNSPECIFIED' | 'SOURCE' | 'DRAFT' | 'DESTINATION';
387
487
  /** UDT. */
388
488
  udt?: UDTEntity;
389
489
  /** View. */
@@ -395,9 +495,20 @@ declare namespace gapi.client {
395
495
  }
396
496
  interface DatabaseType {
397
497
  /** The database engine. */
398
- engine?: string;
498
+ engine?:
499
+ | 'DATABASE_ENGINE_UNSPECIFIED'
500
+ | 'MYSQL'
501
+ | 'POSTGRESQL'
502
+ | 'SQLSERVER'
503
+ | 'ORACLE';
399
504
  /** The database provider. */
400
- provider?: string;
505
+ provider?:
506
+ | 'DATABASE_PROVIDER_UNSPECIFIED'
507
+ | 'CLOUDSQL'
508
+ | 'RDS'
509
+ | 'AURORA'
510
+ | 'ALLOYDB'
511
+ | 'AZURE_DATABASE';
401
512
  }
402
513
  interface DataCacheConfig {
403
514
  /** Optional. Whether data cache is enabled for the instance. */
@@ -424,7 +535,12 @@ declare namespace gapi.client {
424
535
  /** Required. Double compare value to be used */
425
536
  value?: number;
426
537
  /** Required. Relation between source value and compare value */
427
- valueComparison?: string;
538
+ valueComparison?:
539
+ | 'VALUE_COMPARISON_UNSPECIFIED'
540
+ | 'VALUE_COMPARISON_IF_VALUE_SMALLER_THAN'
541
+ | 'VALUE_COMPARISON_IF_VALUE_SMALLER_EQUAL_THAN'
542
+ | 'VALUE_COMPARISON_IF_VALUE_LARGER_THAN'
543
+ | 'VALUE_COMPARISON_IF_VALUE_LARGER_EQUAL_THAN';
428
544
  }
429
545
  interface DumpFlag {
430
546
  /** The name of the flag */
@@ -445,15 +561,41 @@ declare namespace gapi.client {
445
561
  /** The actual ddl code. */
446
562
  ddl?: string;
447
563
  /** The DDL Kind selected for apply, or UNSPECIFIED if the entity wasn't converted yet. */
448
- ddlKind?: string;
564
+ ddlKind?:
565
+ | 'DDL_KIND_UNSPECIFIED'
566
+ | 'SOURCE'
567
+ | 'DETERMINISTIC'
568
+ | 'AI'
569
+ | 'USER_EDIT';
449
570
  /** Type of DDL (Create, Alter). */
450
571
  ddlType?: string;
451
572
  /** If ddl_kind is USER_EDIT, this holds the DDL kind of the original content - DETERMINISTIC or AI. Otherwise, this is DDL_KIND_UNSPECIFIED. */
452
- editedDdlKind?: string;
573
+ editedDdlKind?:
574
+ | 'DDL_KIND_UNSPECIFIED'
575
+ | 'SOURCE'
576
+ | 'DETERMINISTIC'
577
+ | 'AI'
578
+ | 'USER_EDIT';
453
579
  /** The name of the database entity the ddl refers to. */
454
580
  entity?: string;
455
581
  /** The entity type (if the DDL is for a sub entity). */
456
- entityType?: string;
582
+ entityType?:
583
+ | 'DATABASE_ENTITY_TYPE_UNSPECIFIED'
584
+ | 'DATABASE_ENTITY_TYPE_SCHEMA'
585
+ | 'DATABASE_ENTITY_TYPE_TABLE'
586
+ | 'DATABASE_ENTITY_TYPE_COLUMN'
587
+ | 'DATABASE_ENTITY_TYPE_CONSTRAINT'
588
+ | 'DATABASE_ENTITY_TYPE_INDEX'
589
+ | 'DATABASE_ENTITY_TYPE_TRIGGER'
590
+ | 'DATABASE_ENTITY_TYPE_VIEW'
591
+ | 'DATABASE_ENTITY_TYPE_SEQUENCE'
592
+ | 'DATABASE_ENTITY_TYPE_STORED_PROCEDURE'
593
+ | 'DATABASE_ENTITY_TYPE_FUNCTION'
594
+ | 'DATABASE_ENTITY_TYPE_SYNONYM'
595
+ | 'DATABASE_ENTITY_TYPE_DATABASE_PACKAGE'
596
+ | 'DATABASE_ENTITY_TYPE_UDT'
597
+ | 'DATABASE_ENTITY_TYPE_MATERIALIZED_VIEW'
598
+ | 'DATABASE_ENTITY_TYPE_DATABASE';
457
599
  /** EntityIssues found for this ddl. */
458
600
  issueId?: string[];
459
601
  }
@@ -463,7 +605,23 @@ declare namespace gapi.client {
463
605
  /** The ddl which caused the issue, if relevant. */
464
606
  ddl?: string;
465
607
  /** The entity type (if the DDL is for a sub entity). */
466
- entityType?: string;
608
+ entityType?:
609
+ | 'DATABASE_ENTITY_TYPE_UNSPECIFIED'
610
+ | 'DATABASE_ENTITY_TYPE_SCHEMA'
611
+ | 'DATABASE_ENTITY_TYPE_TABLE'
612
+ | 'DATABASE_ENTITY_TYPE_COLUMN'
613
+ | 'DATABASE_ENTITY_TYPE_CONSTRAINT'
614
+ | 'DATABASE_ENTITY_TYPE_INDEX'
615
+ | 'DATABASE_ENTITY_TYPE_TRIGGER'
616
+ | 'DATABASE_ENTITY_TYPE_VIEW'
617
+ | 'DATABASE_ENTITY_TYPE_SEQUENCE'
618
+ | 'DATABASE_ENTITY_TYPE_STORED_PROCEDURE'
619
+ | 'DATABASE_ENTITY_TYPE_FUNCTION'
620
+ | 'DATABASE_ENTITY_TYPE_SYNONYM'
621
+ | 'DATABASE_ENTITY_TYPE_DATABASE_PACKAGE'
622
+ | 'DATABASE_ENTITY_TYPE_UDT'
623
+ | 'DATABASE_ENTITY_TYPE_MATERIALIZED_VIEW'
624
+ | 'DATABASE_ENTITY_TYPE_DATABASE';
467
625
  /** Unique Issue ID. */
468
626
  id?: string;
469
627
  /** Issue detailed message */
@@ -471,21 +629,61 @@ declare namespace gapi.client {
471
629
  /** The position of the issue found, if relevant. */
472
630
  position?: Position;
473
631
  /** Severity of the issue */
474
- severity?: string;
632
+ severity?:
633
+ | 'ISSUE_SEVERITY_UNSPECIFIED'
634
+ | 'ISSUE_SEVERITY_INFO'
635
+ | 'ISSUE_SEVERITY_WARNING'
636
+ | 'ISSUE_SEVERITY_ERROR';
475
637
  /** The type of the issue. */
476
- type?: string;
638
+ type?:
639
+ | 'ISSUE_TYPE_UNSPECIFIED'
640
+ | 'ISSUE_TYPE_DDL'
641
+ | 'ISSUE_TYPE_APPLY'
642
+ | 'ISSUE_TYPE_CONVERT';
477
643
  }
478
644
  interface EntityMapping {
479
645
  /** Target entity full name. The draft entity can also include a column, index or constraint using the same naming notation schema.table.column. */
480
646
  draftEntity?: string;
481
647
  /** Type of draft entity. */
482
- draftType?: string;
648
+ draftType?:
649
+ | 'DATABASE_ENTITY_TYPE_UNSPECIFIED'
650
+ | 'DATABASE_ENTITY_TYPE_SCHEMA'
651
+ | 'DATABASE_ENTITY_TYPE_TABLE'
652
+ | 'DATABASE_ENTITY_TYPE_COLUMN'
653
+ | 'DATABASE_ENTITY_TYPE_CONSTRAINT'
654
+ | 'DATABASE_ENTITY_TYPE_INDEX'
655
+ | 'DATABASE_ENTITY_TYPE_TRIGGER'
656
+ | 'DATABASE_ENTITY_TYPE_VIEW'
657
+ | 'DATABASE_ENTITY_TYPE_SEQUENCE'
658
+ | 'DATABASE_ENTITY_TYPE_STORED_PROCEDURE'
659
+ | 'DATABASE_ENTITY_TYPE_FUNCTION'
660
+ | 'DATABASE_ENTITY_TYPE_SYNONYM'
661
+ | 'DATABASE_ENTITY_TYPE_DATABASE_PACKAGE'
662
+ | 'DATABASE_ENTITY_TYPE_UDT'
663
+ | 'DATABASE_ENTITY_TYPE_MATERIALIZED_VIEW'
664
+ | 'DATABASE_ENTITY_TYPE_DATABASE';
483
665
  /** Entity mapping log entries. Multiple rules can be effective and contribute changes to a converted entity, such as a rule can handle the entity name, another rule can handle an entity type. In addition, rules which did not change the entity are also logged along with the reason preventing them to do so. */
484
666
  mappingLog?: EntityMappingLogEntry[];
485
667
  /** Source entity full name. The source entity can also be a column, index or constraint using the same naming notation schema.table.column. */
486
668
  sourceEntity?: string;
487
669
  /** Type of source entity. */
488
- sourceType?: string;
670
+ sourceType?:
671
+ | 'DATABASE_ENTITY_TYPE_UNSPECIFIED'
672
+ | 'DATABASE_ENTITY_TYPE_SCHEMA'
673
+ | 'DATABASE_ENTITY_TYPE_TABLE'
674
+ | 'DATABASE_ENTITY_TYPE_COLUMN'
675
+ | 'DATABASE_ENTITY_TYPE_CONSTRAINT'
676
+ | 'DATABASE_ENTITY_TYPE_INDEX'
677
+ | 'DATABASE_ENTITY_TYPE_TRIGGER'
678
+ | 'DATABASE_ENTITY_TYPE_VIEW'
679
+ | 'DATABASE_ENTITY_TYPE_SEQUENCE'
680
+ | 'DATABASE_ENTITY_TYPE_STORED_PROCEDURE'
681
+ | 'DATABASE_ENTITY_TYPE_FUNCTION'
682
+ | 'DATABASE_ENTITY_TYPE_SYNONYM'
683
+ | 'DATABASE_ENTITY_TYPE_DATABASE_PACKAGE'
684
+ | 'DATABASE_ENTITY_TYPE_UDT'
685
+ | 'DATABASE_ENTITY_TYPE_MATERIALIZED_VIEW'
686
+ | 'DATABASE_ENTITY_TYPE_DATABASE';
489
687
  }
490
688
  interface EntityMappingLogEntry {
491
689
  /** Comment. */
@@ -609,11 +807,17 @@ declare namespace gapi.client {
609
807
  /** Required. One or more rules files. */
610
808
  rulesFiles?: RulesFile[];
611
809
  /** Required. The format of the rules content file. */
612
- rulesFormat?: string;
810
+ rulesFormat?:
811
+ | 'IMPORT_RULES_FILE_FORMAT_UNSPECIFIED'
812
+ | 'IMPORT_RULES_FILE_FORMAT_HARBOUR_BRIDGE_SESSION_FILE'
813
+ | 'IMPORT_RULES_FILE_FORMAT_ORATOPG_CONFIG_FILE';
613
814
  }
614
815
  interface ImportRulesJobDetails {
615
816
  /** Output only. The requested file format. */
616
- fileFormat?: string;
817
+ fileFormat?:
818
+ | 'IMPORT_RULES_FILE_FORMAT_UNSPECIFIED'
819
+ | 'IMPORT_RULES_FILE_FORMAT_HARBOUR_BRIDGE_SESSION_FILE'
820
+ | 'IMPORT_RULES_FILE_FORMAT_ORATOPG_CONFIG_FILE';
617
821
  /** Output only. File names used for the import rules job. */
618
822
  files?: string[];
619
823
  }
@@ -643,7 +847,12 @@ declare namespace gapi.client {
643
847
  /** Required. Integer compare value to be used */
644
848
  value?: string;
645
849
  /** Required. Relation between source value and compare value */
646
- valueComparison?: string;
850
+ valueComparison?:
851
+ | 'VALUE_COMPARISON_UNSPECIFIED'
852
+ | 'VALUE_COMPARISON_IF_VALUE_SMALLER_THAN'
853
+ | 'VALUE_COMPARISON_IF_VALUE_SMALLER_EQUAL_THAN'
854
+ | 'VALUE_COMPARISON_IF_VALUE_LARGER_THAN'
855
+ | 'VALUE_COMPARISON_IF_VALUE_LARGER_EQUAL_THAN';
647
856
  }
648
857
  interface Link {
649
858
  /** Describes what the link offers. */
@@ -770,7 +979,23 @@ declare namespace gapi.client {
770
979
  /** Required. The order in which the rule is applied. Lower order rules are applied before higher value rules so they may end up being overridden. */
771
980
  ruleOrder?: string;
772
981
  /** Required. The rule scope */
773
- ruleScope?: string;
982
+ ruleScope?:
983
+ | 'DATABASE_ENTITY_TYPE_UNSPECIFIED'
984
+ | 'DATABASE_ENTITY_TYPE_SCHEMA'
985
+ | 'DATABASE_ENTITY_TYPE_TABLE'
986
+ | 'DATABASE_ENTITY_TYPE_COLUMN'
987
+ | 'DATABASE_ENTITY_TYPE_CONSTRAINT'
988
+ | 'DATABASE_ENTITY_TYPE_INDEX'
989
+ | 'DATABASE_ENTITY_TYPE_TRIGGER'
990
+ | 'DATABASE_ENTITY_TYPE_VIEW'
991
+ | 'DATABASE_ENTITY_TYPE_SEQUENCE'
992
+ | 'DATABASE_ENTITY_TYPE_STORED_PROCEDURE'
993
+ | 'DATABASE_ENTITY_TYPE_FUNCTION'
994
+ | 'DATABASE_ENTITY_TYPE_SYNONYM'
995
+ | 'DATABASE_ENTITY_TYPE_DATABASE_PACKAGE'
996
+ | 'DATABASE_ENTITY_TYPE_UDT'
997
+ | 'DATABASE_ENTITY_TYPE_MATERIALIZED_VIEW'
998
+ | 'DATABASE_ENTITY_TYPE_DATABASE';
774
999
  /** Optional. Rule to specify the primary key for a table */
775
1000
  setTablePrimaryKey?: SetTablePrimaryKey;
776
1001
  /** Optional. Rule to specify how a single column is converted. */
@@ -782,7 +1007,7 @@ declare namespace gapi.client {
782
1007
  /** Optional. Rule to change the sql code for an entity, for example, function, procedure. */
783
1008
  sourceSqlChange?: SourceSqlChange;
784
1009
  /** Optional. The mapping rule state */
785
- state?: string;
1010
+ state?: 'STATE_UNSPECIFIED' | 'ENABLED' | 'DISABLED' | 'DELETED';
786
1011
  }
787
1012
  interface MappingRuleFilter {
788
1013
  /** Optional. The rule should be applied to specific entities defined by their fully qualified names. */
@@ -822,7 +1047,7 @@ declare namespace gapi.client {
822
1047
  /** The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]). This field and the "dump_flags" field are mutually exclusive. */
823
1048
  dumpPath?: string;
824
1049
  /** Optional. The type of the data dump. Supported for MySQL to CloudSQL for MySQL migrations only. */
825
- dumpType?: string;
1050
+ dumpType?: 'DUMP_TYPE_UNSPECIFIED' | 'LOGICAL' | 'PHYSICAL';
826
1051
  /** Output only. The duration of the migration job (in seconds). A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". */
827
1052
  duration?: string;
828
1053
  /** Output only. If the migration job is completed, the time when it was completed. */
@@ -844,11 +1069,18 @@ declare namespace gapi.client {
844
1069
  /** Optional. Data dump parallelism settings used by the migration. */
845
1070
  performanceConfig?: PerformanceConfig;
846
1071
  /** Output only. The current migration job phase. */
847
- phase?: string;
1072
+ phase?:
1073
+ | 'PHASE_UNSPECIFIED'
1074
+ | 'FULL_DUMP'
1075
+ | 'CDC'
1076
+ | 'PROMOTE_IN_PROGRESS'
1077
+ | 'WAITING_FOR_SOURCE_WRITES_TO_STOP'
1078
+ | 'PREPARING_THE_DUMP'
1079
+ | 'READY_FOR_PROMOTE';
848
1080
  /** Configuration for heterogeneous failback migrations from **PostgreSQL to SQL Server**. */
849
1081
  postgresToSqlserverConfig?: PostgresToSqlServerConfig;
850
1082
  /** Output only. Migration job mode. Migration jobs can be standard forward jobs or failback migration jobs. */
851
- purpose?: string;
1083
+ purpose?: 'PURPOSE_UNSPECIFIED' | 'MIGRATE' | 'FAILBACK';
852
1084
  /** The details needed to communicate to the source over Reverse SSH tunnel connectivity. */
853
1085
  reverseSshConnectivity?: ReverseSshConnectivity;
854
1086
  /** Output only. Reserved for future use. */
@@ -864,11 +1096,27 @@ declare namespace gapi.client {
864
1096
  /** Configuration for heterogeneous **SQL Server to Cloud SQL for PostgreSQL** migrations. */
865
1097
  sqlserverToPostgresConfig?: SqlServerToPostgresConfig;
866
1098
  /** The current migration job state. */
867
- state?: string;
1099
+ state?:
1100
+ | 'STATE_UNSPECIFIED'
1101
+ | 'MAINTENANCE'
1102
+ | 'DRAFT'
1103
+ | 'CREATING'
1104
+ | 'NOT_STARTED'
1105
+ | 'RUNNING'
1106
+ | 'FAILED'
1107
+ | 'COMPLETED'
1108
+ | 'DELETING'
1109
+ | 'STOPPING'
1110
+ | 'STOPPED'
1111
+ | 'DELETED'
1112
+ | 'UPDATING'
1113
+ | 'STARTING'
1114
+ | 'RESTARTING'
1115
+ | 'RESUMING';
868
1116
  /** static ip connectivity data (default, no additional details needed). */
869
1117
  staticIpConnectivity?: any;
870
1118
  /** Required. The migration job type. */
871
- type?: string;
1119
+ type?: 'TYPE_UNSPECIFIED' | 'ONE_TIME' | 'CONTINUOUS';
872
1120
  /** Output only. The timestamp when the migration job resource was last updated. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z". */
873
1121
  updateTime?: string;
874
1122
  /** The details of the VPC network that the source database is located in. */
@@ -884,11 +1132,28 @@ declare namespace gapi.client {
884
1132
  /** The object's name. */
885
1133
  name?: string;
886
1134
  /** Output only. The phase of the migration job object. */
887
- phase?: string;
1135
+ phase?:
1136
+ | 'PHASE_UNSPECIFIED'
1137
+ | 'FULL_DUMP'
1138
+ | 'CDC'
1139
+ | 'READY_FOR_PROMOTE'
1140
+ | 'PROMOTE_IN_PROGRESS'
1141
+ | 'PROMOTED'
1142
+ | 'DIFF_BACKUP';
888
1143
  /** The object identifier in the data source. */
889
1144
  sourceObject?: SourceObjectIdentifier;
890
1145
  /** The state of the migration job object. */
891
- state?: string;
1146
+ state?:
1147
+ | 'STATE_UNSPECIFIED'
1148
+ | 'NOT_STARTED'
1149
+ | 'RUNNING'
1150
+ | 'STOPPING'
1151
+ | 'STOPPED'
1152
+ | 'RESTARTING'
1153
+ | 'FAILED'
1154
+ | 'REMOVING'
1155
+ | 'NOT_SELECTED'
1156
+ | 'COMPLETED';
892
1157
  /** Output only. The last update time of the migration job object. */
893
1158
  updateTime?: string;
894
1159
  }
@@ -898,7 +1163,37 @@ declare namespace gapi.client {
898
1163
  }
899
1164
  interface MigrationJobVerificationError {
900
1165
  /** Output only. An instance of ErrorCode specifying the error that occurred. */
901
- errorCode?: string;
1166
+ errorCode?:
1167
+ | 'ERROR_CODE_UNSPECIFIED'
1168
+ | 'CONNECTION_FAILURE'
1169
+ | 'AUTHENTICATION_FAILURE'
1170
+ | 'INVALID_CONNECTION_PROFILE_CONFIG'
1171
+ | 'VERSION_INCOMPATIBILITY'
1172
+ | 'CONNECTION_PROFILE_TYPES_INCOMPATIBILITY'
1173
+ | 'NO_PGLOGICAL_INSTALLED'
1174
+ | 'PGLOGICAL_NODE_ALREADY_EXISTS'
1175
+ | 'INVALID_WAL_LEVEL'
1176
+ | 'INVALID_SHARED_PRELOAD_LIBRARY'
1177
+ | 'INSUFFICIENT_MAX_REPLICATION_SLOTS'
1178
+ | 'INSUFFICIENT_MAX_WAL_SENDERS'
1179
+ | 'INSUFFICIENT_MAX_WORKER_PROCESSES'
1180
+ | 'UNSUPPORTED_EXTENSIONS'
1181
+ | 'UNSUPPORTED_MIGRATION_TYPE'
1182
+ | 'INVALID_RDS_LOGICAL_REPLICATION'
1183
+ | 'UNSUPPORTED_GTID_MODE'
1184
+ | 'UNSUPPORTED_TABLE_DEFINITION'
1185
+ | 'UNSUPPORTED_DEFINER'
1186
+ | 'CANT_RESTART_RUNNING_MIGRATION'
1187
+ | 'SOURCE_ALREADY_SETUP'
1188
+ | 'TABLES_WITH_LIMITED_SUPPORT'
1189
+ | 'UNSUPPORTED_DATABASE_LOCALE'
1190
+ | 'UNSUPPORTED_DATABASE_FDW_CONFIG'
1191
+ | 'ERROR_RDBMS'
1192
+ | 'SOURCE_SIZE_EXCEEDS_THRESHOLD'
1193
+ | 'EXISTING_CONFLICTING_DATABASES'
1194
+ | 'PARALLEL_IMPORT_INSUFFICIENT_PRIVILEGE'
1195
+ | 'EXISTING_DATA'
1196
+ | 'SOURCE_MAX_SUBSCRIPTIONS';
902
1197
  /** Output only. A specific detailed error message, if supplied by the engine. */
903
1198
  errorDetailMessage?: string;
904
1199
  /** Output only. A formatted message with further details about the error and a CTA. */
@@ -928,7 +1223,12 @@ declare namespace gapi.client {
928
1223
  /** Optional. The pattern used to generate the new entity's name. This pattern must include the characters '{name}', which will be replaced with the name of the original entity. For example, the pattern 't_{name}' for an entity name jobs would be converted to 't_jobs'. If unspecified, the default value for this field is '{name}' */
929
1224
  newNamePattern?: string;
930
1225
  /** Optional. Additional transformation that can be done on the source entity name before it is being used by the new_name_pattern, for example lower case. If no transformation is desired, use NO_TRANSFORMATION */
931
- sourceNameTransformation?: string;
1226
+ sourceNameTransformation?:
1227
+ | 'ENTITY_NAME_TRANSFORMATION_UNSPECIFIED'
1228
+ | 'ENTITY_NAME_TRANSFORMATION_NO_TRANSFORMATION'
1229
+ | 'ENTITY_NAME_TRANSFORMATION_LOWER_CASE'
1230
+ | 'ENTITY_NAME_TRANSFORMATION_UPPER_CASE'
1231
+ | 'ENTITY_NAME_TRANSFORMATION_CAPITALIZED_CASE';
932
1232
  }
933
1233
  interface MySqlConnectionProfile {
934
1234
  /** If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source. */
@@ -1029,7 +1329,11 @@ declare namespace gapi.client {
1029
1329
  }
1030
1330
  interface PerformanceConfig {
1031
1331
  /** Initial dump parallelism level. */
1032
- dumpParallelLevel?: string;
1332
+ dumpParallelLevel?:
1333
+ | 'DUMP_PARALLEL_LEVEL_UNSPECIFIED'
1334
+ | 'MIN'
1335
+ | 'OPTIMAL'
1336
+ | 'MAX';
1033
1337
  }
1034
1338
  interface Policy {
1035
1339
  /** Specifies cloud audit logging configuration for this policy. */
@@ -1069,7 +1373,10 @@ declare namespace gapi.client {
1069
1373
  /** Required. The IP or hostname of the source PostgreSQL database. */
1070
1374
  host?: string;
1071
1375
  /** Output only. If the source is a Cloud SQL database, this field indicates the network architecture it's associated with. */
1072
- networkArchitecture?: string;
1376
+ networkArchitecture?:
1377
+ | 'NETWORK_ARCHITECTURE_UNSPECIFIED'
1378
+ | 'NETWORK_ARCHITECTURE_OLD_CSQL_PRODUCER'
1379
+ | 'NETWORK_ARCHITECTURE_NEW_CSQL_PRODUCER';
1073
1380
  /** Required. Input only. The password for the user that Database Migration Service will be using to connect to the database. This field is not returned on request, and the value is encrypted when stored in Database Migration Service. */
1074
1381
  password?: string;
1075
1382
  /** Output only. Indicates If this connection profile password is stored. */
@@ -1143,7 +1450,14 @@ declare namespace gapi.client {
1143
1450
  /** Output only. Reserved for future use. */
1144
1451
  satisfiesPzs?: boolean;
1145
1452
  /** Output only. The state of the private connection. */
1146
- state?: string;
1453
+ state?:
1454
+ | 'STATE_UNSPECIFIED'
1455
+ | 'CREATING'
1456
+ | 'CREATED'
1457
+ | 'FAILED'
1458
+ | 'DELETING'
1459
+ | 'FAILED_TO_DELETE'
1460
+ | 'DELETED';
1147
1461
  /** Output only. The last update time of the resource. */
1148
1462
  updateTime?: string;
1149
1463
  /** VPC peering configuration. */
@@ -1332,7 +1646,11 @@ declare namespace gapi.client {
1332
1646
  }
1333
1647
  interface SourceNumericFilter {
1334
1648
  /** Required. Enum to set the option defining the datatypes numeric filter has to be applied to */
1335
- numericFilterOption?: string;
1649
+ numericFilterOption?:
1650
+ | 'NUMERIC_FILTER_OPTION_UNSPECIFIED'
1651
+ | 'NUMERIC_FILTER_OPTION_ALL'
1652
+ | 'NUMERIC_FILTER_OPTION_LIMIT'
1653
+ | 'NUMERIC_FILTER_OPTION_LIMITLESS';
1336
1654
  /** Optional. The filter will match columns with precision smaller than or equal to this number. */
1337
1655
  sourceMaxPrecisionFilter?: number;
1338
1656
  /** Optional. The filter will match columns with scale smaller than or equal to this number. */
@@ -1354,13 +1672,20 @@ declare namespace gapi.client {
1354
1672
  /** Optional. The table name. This will be required only if the object is a level below database or schema. */
1355
1673
  table?: string;
1356
1674
  /** Required. The type of the migration job object. */
1357
- type?: string;
1675
+ type?:
1676
+ | 'MIGRATION_JOB_OBJECT_TYPE_UNSPECIFIED'
1677
+ | 'DATABASE'
1678
+ | 'SCHEMA'
1679
+ | 'TABLE';
1358
1680
  }
1359
1681
  interface SourceObjectsConfig {
1360
1682
  /** Optional. The list of the objects to be migrated. */
1361
1683
  objectConfigs?: SourceObjectConfig[];
1362
1684
  /** Optional. The objects selection type of the migration job. */
1363
- objectsSelectionType?: string;
1685
+ objectsSelectionType?:
1686
+ | 'OBJECTS_SELECTION_TYPE_UNSPECIFIED'
1687
+ | 'ALL_OBJECTS'
1688
+ | 'SPECIFIED_OBJECTS';
1364
1689
  }
1365
1690
  interface SourceSqlChange {
1366
1691
  /** Required. Sql code for source (stored procedure, function, trigger or view) */
@@ -1500,7 +1825,12 @@ declare namespace gapi.client {
1500
1825
  /** Optional. SSL flags used for establishing SSL connection to the source database. Only source specific flags are supported. An object containing a list of "key": "value" pairs. Example: { "server_certificate_hostname": "server.com"}. */
1501
1826
  sslFlags?: {[P in string]: string};
1502
1827
  /** Optional. The ssl config type according to 'client_key', 'client_certificate' and 'ca_certificate'. */
1503
- type?: string;
1828
+ type?:
1829
+ | 'SSL_TYPE_UNSPECIFIED'
1830
+ | 'SERVER_ONLY'
1831
+ | 'SERVER_CLIENT'
1832
+ | 'REQUIRED'
1833
+ | 'NONE';
1504
1834
  }
1505
1835
  interface StartMigrationJobRequest {
1506
1836
  /** Optional. Start the migration job without running prior configuration verification. Defaults to `false`. */
@@ -1529,7 +1859,23 @@ declare namespace gapi.client {
1529
1859
  /** The name of the entity for which the synonym is being created (the source). */
1530
1860
  sourceEntity?: string;
1531
1861
  /** The type of the entity for which the synonym is being created (usually a table or a sequence). */
1532
- sourceType?: string;
1862
+ sourceType?:
1863
+ | 'DATABASE_ENTITY_TYPE_UNSPECIFIED'
1864
+ | 'DATABASE_ENTITY_TYPE_SCHEMA'
1865
+ | 'DATABASE_ENTITY_TYPE_TABLE'
1866
+ | 'DATABASE_ENTITY_TYPE_COLUMN'
1867
+ | 'DATABASE_ENTITY_TYPE_CONSTRAINT'
1868
+ | 'DATABASE_ENTITY_TYPE_INDEX'
1869
+ | 'DATABASE_ENTITY_TYPE_TRIGGER'
1870
+ | 'DATABASE_ENTITY_TYPE_VIEW'
1871
+ | 'DATABASE_ENTITY_TYPE_SEQUENCE'
1872
+ | 'DATABASE_ENTITY_TYPE_STORED_PROCEDURE'
1873
+ | 'DATABASE_ENTITY_TYPE_FUNCTION'
1874
+ | 'DATABASE_ENTITY_TYPE_SYNONYM'
1875
+ | 'DATABASE_ENTITY_TYPE_DATABASE_PACKAGE'
1876
+ | 'DATABASE_ENTITY_TYPE_UDT'
1877
+ | 'DATABASE_ENTITY_TYPE_MATERIALIZED_VIEW'
1878
+ | 'DATABASE_ENTITY_TYPE_DATABASE';
1533
1879
  }
1534
1880
  interface TableEntity {
1535
1881
  /** Table columns. */
@@ -1589,7 +1935,10 @@ declare namespace gapi.client {
1589
1935
  /** Required. Whether to ignore case when filtering by values. Defaults to false */
1590
1936
  ignoreCase?: boolean;
1591
1937
  /** Required. Indicates whether the filter matches rows with values that are present in the list or those with values not present in it. */
1592
- valuePresentList?: string;
1938
+ valuePresentList?:
1939
+ | 'VALUE_PRESENT_IN_LIST_UNSPECIFIED'
1940
+ | 'VALUE_PRESENT_IN_LIST_IF_VALUE_LIST'
1941
+ | 'VALUE_PRESENT_IN_LIST_IF_VALUE_NOT_LIST';
1593
1942
  /** Required. The list to be used to filter by */
1594
1943
  values?: string[];
1595
1944
  }
@@ -1655,11 +2004,11 @@ declare namespace gapi.client {
1655
2004
  /** Creates a new connection profile in a given project and location. */
1656
2005
  create(request: {
1657
2006
  /** V1 error format. */
1658
- '$.xgafv'?: string;
2007
+ '$.xgafv'?: '1' | '2';
1659
2008
  /** OAuth access token. */
1660
2009
  access_token?: string;
1661
2010
  /** Data format for response. */
1662
- alt?: string;
2011
+ alt?: 'json' | 'media' | 'proto';
1663
2012
  /** JSONP */
1664
2013
  callback?: string;
1665
2014
  /** Required. The connection profile identifier. */
@@ -1692,11 +2041,11 @@ declare namespace gapi.client {
1692
2041
  create(
1693
2042
  request: {
1694
2043
  /** V1 error format. */
1695
- '$.xgafv'?: string;
2044
+ '$.xgafv'?: '1' | '2';
1696
2045
  /** OAuth access token. */
1697
2046
  access_token?: string;
1698
2047
  /** Data format for response. */
1699
- alt?: string;
2048
+ alt?: 'json' | 'media' | 'proto';
1700
2049
  /** JSONP */
1701
2050
  callback?: string;
1702
2051
  /** Required. The connection profile identifier. */
@@ -1729,11 +2078,11 @@ declare namespace gapi.client {
1729
2078
  /** Deletes a single Database Migration Service connection profile. A connection profile can only be deleted if it is not in use by any active migration jobs. */
1730
2079
  delete(request?: {
1731
2080
  /** V1 error format. */
1732
- '$.xgafv'?: string;
2081
+ '$.xgafv'?: '1' | '2';
1733
2082
  /** OAuth access token. */
1734
2083
  access_token?: string;
1735
2084
  /** Data format for response. */
1736
- alt?: string;
2085
+ alt?: 'json' | 'media' | 'proto';
1737
2086
  /** JSONP */
1738
2087
  callback?: string;
1739
2088
  /** Selector specifying which fields to include in a partial response. */
@@ -1760,11 +2109,11 @@ declare namespace gapi.client {
1760
2109
  /** Gets details of a single connection profile. */
1761
2110
  get(request?: {
1762
2111
  /** V1 error format. */
1763
- '$.xgafv'?: string;
2112
+ '$.xgafv'?: '1' | '2';
1764
2113
  /** OAuth access token. */
1765
2114
  access_token?: string;
1766
2115
  /** Data format for response. */
1767
- alt?: string;
2116
+ alt?: 'json' | 'media' | 'proto';
1768
2117
  /** JSONP */
1769
2118
  callback?: string;
1770
2119
  /** Selector specifying which fields to include in a partial response. */
@@ -1787,11 +2136,11 @@ declare namespace gapi.client {
1787
2136
  /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
1788
2137
  getIamPolicy(request?: {
1789
2138
  /** V1 error format. */
1790
- '$.xgafv'?: string;
2139
+ '$.xgafv'?: '1' | '2';
1791
2140
  /** OAuth access token. */
1792
2141
  access_token?: string;
1793
2142
  /** Data format for response. */
1794
- alt?: string;
2143
+ alt?: 'json' | 'media' | 'proto';
1795
2144
  /** JSONP */
1796
2145
  callback?: string;
1797
2146
  /** Selector specifying which fields to include in a partial response. */
@@ -1816,11 +2165,11 @@ declare namespace gapi.client {
1816
2165
  /** Retrieves a list of all connection profiles in a given project and location. */
1817
2166
  list(request?: {
1818
2167
  /** V1 error format. */
1819
- '$.xgafv'?: string;
2168
+ '$.xgafv'?: '1' | '2';
1820
2169
  /** OAuth access token. */
1821
2170
  access_token?: string;
1822
2171
  /** Data format for response. */
1823
- alt?: string;
2172
+ alt?: 'json' | 'media' | 'proto';
1824
2173
  /** JSONP */
1825
2174
  callback?: string;
1826
2175
  /** Selector specifying which fields to include in a partial response. */
@@ -1851,11 +2200,11 @@ declare namespace gapi.client {
1851
2200
  /** Update the configuration of a single connection profile. */
1852
2201
  patch(request: {
1853
2202
  /** V1 error format. */
1854
- '$.xgafv'?: string;
2203
+ '$.xgafv'?: '1' | '2';
1855
2204
  /** OAuth access token. */
1856
2205
  access_token?: string;
1857
2206
  /** Data format for response. */
1858
- alt?: string;
2207
+ alt?: 'json' | 'media' | 'proto';
1859
2208
  /** JSONP */
1860
2209
  callback?: string;
1861
2210
  /** Selector specifying which fields to include in a partial response. */
@@ -1888,11 +2237,11 @@ declare namespace gapi.client {
1888
2237
  patch(
1889
2238
  request: {
1890
2239
  /** V1 error format. */
1891
- '$.xgafv'?: string;
2240
+ '$.xgafv'?: '1' | '2';
1892
2241
  /** OAuth access token. */
1893
2242
  access_token?: string;
1894
2243
  /** Data format for response. */
1895
- alt?: string;
2244
+ alt?: 'json' | 'media' | 'proto';
1896
2245
  /** JSONP */
1897
2246
  callback?: string;
1898
2247
  /** Selector specifying which fields to include in a partial response. */
@@ -1926,11 +2275,11 @@ declare namespace gapi.client {
1926
2275
  setIamPolicy(
1927
2276
  request: {
1928
2277
  /** V1 error format. */
1929
- '$.xgafv'?: string;
2278
+ '$.xgafv'?: '1' | '2';
1930
2279
  /** OAuth access token. */
1931
2280
  access_token?: string;
1932
2281
  /** Data format for response. */
1933
- alt?: string;
2282
+ alt?: 'json' | 'media' | 'proto';
1934
2283
  /** JSONP */
1935
2284
  callback?: string;
1936
2285
  /** Selector specifying which fields to include in a partial response. */
@@ -1956,11 +2305,11 @@ declare namespace gapi.client {
1956
2305
  testIamPermissions(
1957
2306
  request: {
1958
2307
  /** V1 error format. */
1959
- '$.xgafv'?: string;
2308
+ '$.xgafv'?: '1' | '2';
1960
2309
  /** OAuth access token. */
1961
2310
  access_token?: string;
1962
2311
  /** Data format for response. */
1963
- alt?: string;
2312
+ alt?: 'json' | 'media' | 'proto';
1964
2313
  /** JSONP */
1965
2314
  callback?: string;
1966
2315
  /** Selector specifying which fields to include in a partial response. */
@@ -1987,11 +2336,11 @@ declare namespace gapi.client {
1987
2336
  /** Creates a new mapping rule for a given conversion workspace. */
1988
2337
  create(request: {
1989
2338
  /** V1 error format. */
1990
- '$.xgafv'?: string;
2339
+ '$.xgafv'?: '1' | '2';
1991
2340
  /** OAuth access token. */
1992
2341
  access_token?: string;
1993
2342
  /** Data format for response. */
1994
- alt?: string;
2343
+ alt?: 'json' | 'media' | 'proto';
1995
2344
  /** JSONP */
1996
2345
  callback?: string;
1997
2346
  /** Selector specifying which fields to include in a partial response. */
@@ -2020,11 +2369,11 @@ declare namespace gapi.client {
2020
2369
  create(
2021
2370
  request: {
2022
2371
  /** V1 error format. */
2023
- '$.xgafv'?: string;
2372
+ '$.xgafv'?: '1' | '2';
2024
2373
  /** OAuth access token. */
2025
2374
  access_token?: string;
2026
2375
  /** Data format for response. */
2027
- alt?: string;
2376
+ alt?: 'json' | 'media' | 'proto';
2028
2377
  /** JSONP */
2029
2378
  callback?: string;
2030
2379
  /** Selector specifying which fields to include in a partial response. */
@@ -2053,11 +2402,11 @@ declare namespace gapi.client {
2053
2402
  /** Deletes a single mapping rule. */
2054
2403
  delete(request?: {
2055
2404
  /** V1 error format. */
2056
- '$.xgafv'?: string;
2405
+ '$.xgafv'?: '1' | '2';
2057
2406
  /** OAuth access token. */
2058
2407
  access_token?: string;
2059
2408
  /** Data format for response. */
2060
- alt?: string;
2409
+ alt?: 'json' | 'media' | 'proto';
2061
2410
  /** JSONP */
2062
2411
  callback?: string;
2063
2412
  /** Selector specifying which fields to include in a partial response. */
@@ -2082,11 +2431,11 @@ declare namespace gapi.client {
2082
2431
  /** Gets the details of a mapping rule. */
2083
2432
  get(request?: {
2084
2433
  /** V1 error format. */
2085
- '$.xgafv'?: string;
2434
+ '$.xgafv'?: '1' | '2';
2086
2435
  /** OAuth access token. */
2087
2436
  access_token?: string;
2088
2437
  /** Data format for response. */
2089
- alt?: string;
2438
+ alt?: 'json' | 'media' | 'proto';
2090
2439
  /** JSONP */
2091
2440
  callback?: string;
2092
2441
  /** Selector specifying which fields to include in a partial response. */
@@ -2109,11 +2458,11 @@ declare namespace gapi.client {
2109
2458
  /** Imports the mapping rules for a given conversion workspace. Supports various formats of external rules files. */
2110
2459
  import(request: {
2111
2460
  /** V1 error format. */
2112
- '$.xgafv'?: string;
2461
+ '$.xgafv'?: '1' | '2';
2113
2462
  /** OAuth access token. */
2114
2463
  access_token?: string;
2115
2464
  /** Data format for response. */
2116
- alt?: string;
2465
+ alt?: 'json' | 'media' | 'proto';
2117
2466
  /** JSONP */
2118
2467
  callback?: string;
2119
2468
  /** Selector specifying which fields to include in a partial response. */
@@ -2138,11 +2487,11 @@ declare namespace gapi.client {
2138
2487
  import(
2139
2488
  request: {
2140
2489
  /** V1 error format. */
2141
- '$.xgafv'?: string;
2490
+ '$.xgafv'?: '1' | '2';
2142
2491
  /** OAuth access token. */
2143
2492
  access_token?: string;
2144
2493
  /** Data format for response. */
2145
- alt?: string;
2494
+ alt?: 'json' | 'media' | 'proto';
2146
2495
  /** JSONP */
2147
2496
  callback?: string;
2148
2497
  /** Selector specifying which fields to include in a partial response. */
@@ -2167,11 +2516,11 @@ declare namespace gapi.client {
2167
2516
  /** Lists the mapping rules for a specific conversion workspace. */
2168
2517
  list(request?: {
2169
2518
  /** V1 error format. */
2170
- '$.xgafv'?: string;
2519
+ '$.xgafv'?: '1' | '2';
2171
2520
  /** OAuth access token. */
2172
2521
  access_token?: string;
2173
2522
  /** Data format for response. */
2174
- alt?: string;
2523
+ alt?: 'json' | 'media' | 'proto';
2175
2524
  /** JSONP */
2176
2525
  callback?: string;
2177
2526
  /** Selector specifying which fields to include in a partial response. */
@@ -2200,11 +2549,11 @@ declare namespace gapi.client {
2200
2549
  /** Applies draft tree onto a specific destination database. */
2201
2550
  apply(request: {
2202
2551
  /** V1 error format. */
2203
- '$.xgafv'?: string;
2552
+ '$.xgafv'?: '1' | '2';
2204
2553
  /** OAuth access token. */
2205
2554
  access_token?: string;
2206
2555
  /** Data format for response. */
2207
- alt?: string;
2556
+ alt?: 'json' | 'media' | 'proto';
2208
2557
  /** JSONP */
2209
2558
  callback?: string;
2210
2559
  /** Selector specifying which fields to include in a partial response. */
@@ -2229,11 +2578,11 @@ declare namespace gapi.client {
2229
2578
  apply(
2230
2579
  request: {
2231
2580
  /** V1 error format. */
2232
- '$.xgafv'?: string;
2581
+ '$.xgafv'?: '1' | '2';
2233
2582
  /** OAuth access token. */
2234
2583
  access_token?: string;
2235
2584
  /** Data format for response. */
2236
- alt?: string;
2585
+ alt?: 'json' | 'media' | 'proto';
2237
2586
  /** JSONP */
2238
2587
  callback?: string;
2239
2588
  /** Selector specifying which fields to include in a partial response. */
@@ -2258,11 +2607,11 @@ declare namespace gapi.client {
2258
2607
  /** Marks all the data in the conversion workspace as committed. */
2259
2608
  commit(request: {
2260
2609
  /** V1 error format. */
2261
- '$.xgafv'?: string;
2610
+ '$.xgafv'?: '1' | '2';
2262
2611
  /** OAuth access token. */
2263
2612
  access_token?: string;
2264
2613
  /** Data format for response. */
2265
- alt?: string;
2614
+ alt?: 'json' | 'media' | 'proto';
2266
2615
  /** JSONP */
2267
2616
  callback?: string;
2268
2617
  /** Selector specifying which fields to include in a partial response. */
@@ -2287,11 +2636,11 @@ declare namespace gapi.client {
2287
2636
  commit(
2288
2637
  request: {
2289
2638
  /** V1 error format. */
2290
- '$.xgafv'?: string;
2639
+ '$.xgafv'?: '1' | '2';
2291
2640
  /** OAuth access token. */
2292
2641
  access_token?: string;
2293
2642
  /** Data format for response. */
2294
- alt?: string;
2643
+ alt?: 'json' | 'media' | 'proto';
2295
2644
  /** JSONP */
2296
2645
  callback?: string;
2297
2646
  /** Selector specifying which fields to include in a partial response. */
@@ -2316,11 +2665,11 @@ declare namespace gapi.client {
2316
2665
  /** Creates a draft tree schema for the destination database. */
2317
2666
  convert(request: {
2318
2667
  /** V1 error format. */
2319
- '$.xgafv'?: string;
2668
+ '$.xgafv'?: '1' | '2';
2320
2669
  /** OAuth access token. */
2321
2670
  access_token?: string;
2322
2671
  /** Data format for response. */
2323
- alt?: string;
2672
+ alt?: 'json' | 'media' | 'proto';
2324
2673
  /** JSONP */
2325
2674
  callback?: string;
2326
2675
  /** Selector specifying which fields to include in a partial response. */
@@ -2345,11 +2694,11 @@ declare namespace gapi.client {
2345
2694
  convert(
2346
2695
  request: {
2347
2696
  /** V1 error format. */
2348
- '$.xgafv'?: string;
2697
+ '$.xgafv'?: '1' | '2';
2349
2698
  /** OAuth access token. */
2350
2699
  access_token?: string;
2351
2700
  /** Data format for response. */
2352
- alt?: string;
2701
+ alt?: 'json' | 'media' | 'proto';
2353
2702
  /** JSONP */
2354
2703
  callback?: string;
2355
2704
  /** Selector specifying which fields to include in a partial response. */
@@ -2374,11 +2723,11 @@ declare namespace gapi.client {
2374
2723
  /** Creates a new conversion workspace in a given project and location. */
2375
2724
  create(request: {
2376
2725
  /** V1 error format. */
2377
- '$.xgafv'?: string;
2726
+ '$.xgafv'?: '1' | '2';
2378
2727
  /** OAuth access token. */
2379
2728
  access_token?: string;
2380
2729
  /** Data format for response. */
2381
- alt?: string;
2730
+ alt?: 'json' | 'media' | 'proto';
2382
2731
  /** JSONP */
2383
2732
  callback?: string;
2384
2733
  /** Required. The ID of the conversion workspace to create. */
@@ -2407,11 +2756,11 @@ declare namespace gapi.client {
2407
2756
  create(
2408
2757
  request: {
2409
2758
  /** V1 error format. */
2410
- '$.xgafv'?: string;
2759
+ '$.xgafv'?: '1' | '2';
2411
2760
  /** OAuth access token. */
2412
2761
  access_token?: string;
2413
2762
  /** Data format for response. */
2414
- alt?: string;
2763
+ alt?: 'json' | 'media' | 'proto';
2415
2764
  /** JSONP */
2416
2765
  callback?: string;
2417
2766
  /** Required. The ID of the conversion workspace to create. */
@@ -2440,11 +2789,11 @@ declare namespace gapi.client {
2440
2789
  /** Deletes a single conversion workspace. */
2441
2790
  delete(request?: {
2442
2791
  /** V1 error format. */
2443
- '$.xgafv'?: string;
2792
+ '$.xgafv'?: '1' | '2';
2444
2793
  /** OAuth access token. */
2445
2794
  access_token?: string;
2446
2795
  /** Data format for response. */
2447
- alt?: string;
2796
+ alt?: 'json' | 'media' | 'proto';
2448
2797
  /** JSONP */
2449
2798
  callback?: string;
2450
2799
  /** Selector specifying which fields to include in a partial response. */
@@ -2471,11 +2820,11 @@ declare namespace gapi.client {
2471
2820
  /** Retrieves a list of committed revisions of a specific conversion workspace. */
2472
2821
  describeConversionWorkspaceRevisions(request?: {
2473
2822
  /** V1 error format. */
2474
- '$.xgafv'?: string;
2823
+ '$.xgafv'?: '1' | '2';
2475
2824
  /** OAuth access token. */
2476
2825
  access_token?: string;
2477
2826
  /** Data format for response. */
2478
- alt?: string;
2827
+ alt?: 'json' | 'media' | 'proto';
2479
2828
  /** JSONP */
2480
2829
  callback?: string;
2481
2830
  /** Optional. Optional filter to request a specific commit ID. */
@@ -2500,11 +2849,11 @@ declare namespace gapi.client {
2500
2849
  /** Describes the database entities tree for a specific conversion workspace and a specific tree type. Database entities are not resources like conversion workspaces or mapping rules, and they can't be created, updated or deleted. Instead, they are simple data objects describing the structure of the client database. */
2501
2850
  describeDatabaseEntities(request?: {
2502
2851
  /** V1 error format. */
2503
- '$.xgafv'?: string;
2852
+ '$.xgafv'?: '1' | '2';
2504
2853
  /** OAuth access token. */
2505
2854
  access_token?: string;
2506
2855
  /** Data format for response. */
2507
- alt?: string;
2856
+ alt?: 'json' | 'media' | 'proto';
2508
2857
  /** JSONP */
2509
2858
  callback?: string;
2510
2859
  /** Optional. Request a specific commit ID. If not specified, the entities from the latest commit are returned. */
@@ -2528,7 +2877,11 @@ declare namespace gapi.client {
2528
2877
  /** 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. */
2529
2878
  quotaUser?: string;
2530
2879
  /** Required. The tree to fetch. */
2531
- tree?: string;
2880
+ tree?:
2881
+ | 'DB_TREE_TYPE_UNSPECIFIED'
2882
+ | 'SOURCE_TREE'
2883
+ | 'DRAFT_TREE'
2884
+ | 'DESTINATION_TREE';
2532
2885
  /** Optional. Whether to retrieve the latest committed version of the entities or the latest version. This field is ignored if a specific commit_id is specified. */
2533
2886
  uncommitted?: boolean;
2534
2887
  /** Upload protocol for media (e.g. "raw", "multipart"). */
@@ -2536,16 +2889,21 @@ declare namespace gapi.client {
2536
2889
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2537
2890
  uploadType?: string;
2538
2891
  /** Optional. Results view based on AIP-157 */
2539
- view?: string;
2892
+ view?:
2893
+ | 'DATABASE_ENTITY_VIEW_UNSPECIFIED'
2894
+ | 'DATABASE_ENTITY_VIEW_BASIC'
2895
+ | 'DATABASE_ENTITY_VIEW_FULL'
2896
+ | 'DATABASE_ENTITY_VIEW_ROOT_SUMMARY'
2897
+ | 'DATABASE_ENTITY_VIEW_FULL_COMPACT';
2540
2898
  }): Request<DescribeDatabaseEntitiesResponse>;
2541
2899
  /** Gets details of a single conversion workspace. */
2542
2900
  get(request?: {
2543
2901
  /** V1 error format. */
2544
- '$.xgafv'?: string;
2902
+ '$.xgafv'?: '1' | '2';
2545
2903
  /** OAuth access token. */
2546
2904
  access_token?: string;
2547
2905
  /** Data format for response. */
2548
- alt?: string;
2906
+ alt?: 'json' | 'media' | 'proto';
2549
2907
  /** JSONP */
2550
2908
  callback?: string;
2551
2909
  /** Selector specifying which fields to include in a partial response. */
@@ -2568,11 +2926,11 @@ declare namespace gapi.client {
2568
2926
  /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
2569
2927
  getIamPolicy(request?: {
2570
2928
  /** V1 error format. */
2571
- '$.xgafv'?: string;
2929
+ '$.xgafv'?: '1' | '2';
2572
2930
  /** OAuth access token. */
2573
2931
  access_token?: string;
2574
2932
  /** Data format for response. */
2575
- alt?: string;
2933
+ alt?: 'json' | 'media' | 'proto';
2576
2934
  /** JSONP */
2577
2935
  callback?: string;
2578
2936
  /** Selector specifying which fields to include in a partial response. */
@@ -2597,11 +2955,11 @@ declare namespace gapi.client {
2597
2955
  /** Lists conversion workspaces in a given project and location. */
2598
2956
  list(request?: {
2599
2957
  /** V1 error format. */
2600
- '$.xgafv'?: string;
2958
+ '$.xgafv'?: '1' | '2';
2601
2959
  /** OAuth access token. */
2602
2960
  access_token?: string;
2603
2961
  /** Data format for response. */
2604
- alt?: string;
2962
+ alt?: 'json' | 'media' | 'proto';
2605
2963
  /** JSONP */
2606
2964
  callback?: string;
2607
2965
  /** Selector specifying which fields to include in a partial response. */
@@ -2630,11 +2988,11 @@ declare namespace gapi.client {
2630
2988
  /** Updates the parameters of a single conversion workspace. */
2631
2989
  patch(request: {
2632
2990
  /** V1 error format. */
2633
- '$.xgafv'?: string;
2991
+ '$.xgafv'?: '1' | '2';
2634
2992
  /** OAuth access token. */
2635
2993
  access_token?: string;
2636
2994
  /** Data format for response. */
2637
- alt?: string;
2995
+ alt?: 'json' | 'media' | 'proto';
2638
2996
  /** JSONP */
2639
2997
  callback?: string;
2640
2998
  /** Selector specifying which fields to include in a partial response. */
@@ -2663,11 +3021,11 @@ declare namespace gapi.client {
2663
3021
  patch(
2664
3022
  request: {
2665
3023
  /** V1 error format. */
2666
- '$.xgafv'?: string;
3024
+ '$.xgafv'?: '1' | '2';
2667
3025
  /** OAuth access token. */
2668
3026
  access_token?: string;
2669
3027
  /** Data format for response. */
2670
- alt?: string;
3028
+ alt?: 'json' | 'media' | 'proto';
2671
3029
  /** JSONP */
2672
3030
  callback?: string;
2673
3031
  /** Selector specifying which fields to include in a partial response. */
@@ -2696,11 +3054,11 @@ declare namespace gapi.client {
2696
3054
  /** Rolls back a conversion workspace to the last committed snapshot. */
2697
3055
  rollback(request: {
2698
3056
  /** V1 error format. */
2699
- '$.xgafv'?: string;
3057
+ '$.xgafv'?: '1' | '2';
2700
3058
  /** OAuth access token. */
2701
3059
  access_token?: string;
2702
3060
  /** Data format for response. */
2703
- alt?: string;
3061
+ alt?: 'json' | 'media' | 'proto';
2704
3062
  /** JSONP */
2705
3063
  callback?: string;
2706
3064
  /** Selector specifying which fields to include in a partial response. */
@@ -2725,11 +3083,11 @@ declare namespace gapi.client {
2725
3083
  rollback(
2726
3084
  request: {
2727
3085
  /** V1 error format. */
2728
- '$.xgafv'?: string;
3086
+ '$.xgafv'?: '1' | '2';
2729
3087
  /** OAuth access token. */
2730
3088
  access_token?: string;
2731
3089
  /** Data format for response. */
2732
- alt?: string;
3090
+ alt?: 'json' | 'media' | 'proto';
2733
3091
  /** JSONP */
2734
3092
  callback?: string;
2735
3093
  /** Selector specifying which fields to include in a partial response. */
@@ -2754,11 +3112,11 @@ declare namespace gapi.client {
2754
3112
  /** Searches/lists the background jobs for a specific conversion workspace. The background jobs are not resources like conversion workspaces or mapping rules, and they can't be created, updated or deleted. Instead, they are a way to expose the data plane jobs log. */
2755
3113
  searchBackgroundJobs(request?: {
2756
3114
  /** V1 error format. */
2757
- '$.xgafv'?: string;
3115
+ '$.xgafv'?: '1' | '2';
2758
3116
  /** OAuth access token. */
2759
3117
  access_token?: string;
2760
3118
  /** Data format for response. */
2761
- alt?: string;
3119
+ alt?: 'json' | 'media' | 'proto';
2762
3120
  /** JSONP */
2763
3121
  callback?: string;
2764
3122
  /** Optional. If provided, only returns jobs that completed until (not including) the given timestamp. */
@@ -2787,11 +3145,11 @@ declare namespace gapi.client {
2787
3145
  /** Imports a snapshot of the source database into the conversion workspace. */
2788
3146
  seed(request: {
2789
3147
  /** V1 error format. */
2790
- '$.xgafv'?: string;
3148
+ '$.xgafv'?: '1' | '2';
2791
3149
  /** OAuth access token. */
2792
3150
  access_token?: string;
2793
3151
  /** Data format for response. */
2794
- alt?: string;
3152
+ alt?: 'json' | 'media' | 'proto';
2795
3153
  /** JSONP */
2796
3154
  callback?: string;
2797
3155
  /** Selector specifying which fields to include in a partial response. */
@@ -2816,11 +3174,11 @@ declare namespace gapi.client {
2816
3174
  seed(
2817
3175
  request: {
2818
3176
  /** V1 error format. */
2819
- '$.xgafv'?: string;
3177
+ '$.xgafv'?: '1' | '2';
2820
3178
  /** OAuth access token. */
2821
3179
  access_token?: string;
2822
3180
  /** Data format for response. */
2823
- alt?: string;
3181
+ alt?: 'json' | 'media' | 'proto';
2824
3182
  /** JSONP */
2825
3183
  callback?: string;
2826
3184
  /** Selector specifying which fields to include in a partial response. */
@@ -2846,11 +3204,11 @@ declare namespace gapi.client {
2846
3204
  setIamPolicy(
2847
3205
  request: {
2848
3206
  /** V1 error format. */
2849
- '$.xgafv'?: string;
3207
+ '$.xgafv'?: '1' | '2';
2850
3208
  /** OAuth access token. */
2851
3209
  access_token?: string;
2852
3210
  /** Data format for response. */
2853
- alt?: string;
3211
+ alt?: 'json' | 'media' | 'proto';
2854
3212
  /** JSONP */
2855
3213
  callback?: string;
2856
3214
  /** Selector specifying which fields to include in a partial response. */
@@ -2876,11 +3234,11 @@ declare namespace gapi.client {
2876
3234
  testIamPermissions(
2877
3235
  request: {
2878
3236
  /** V1 error format. */
2879
- '$.xgafv'?: string;
3237
+ '$.xgafv'?: '1' | '2';
2880
3238
  /** OAuth access token. */
2881
3239
  access_token?: string;
2882
3240
  /** Data format for response. */
2883
- alt?: string;
3241
+ alt?: 'json' | 'media' | 'proto';
2884
3242
  /** JSONP */
2885
3243
  callback?: string;
2886
3244
  /** Selector specifying which fields to include in a partial response. */
@@ -2908,11 +3266,11 @@ declare namespace gapi.client {
2908
3266
  /** Use this method to get details about a migration job object. */
2909
3267
  get(request?: {
2910
3268
  /** V1 error format. */
2911
- '$.xgafv'?: string;
3269
+ '$.xgafv'?: '1' | '2';
2912
3270
  /** OAuth access token. */
2913
3271
  access_token?: string;
2914
3272
  /** Data format for response. */
2915
- alt?: string;
3273
+ alt?: 'json' | 'media' | 'proto';
2916
3274
  /** JSONP */
2917
3275
  callback?: string;
2918
3276
  /** Selector specifying which fields to include in a partial response. */
@@ -2935,11 +3293,11 @@ declare namespace gapi.client {
2935
3293
  /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
2936
3294
  getIamPolicy(request?: {
2937
3295
  /** V1 error format. */
2938
- '$.xgafv'?: string;
3296
+ '$.xgafv'?: '1' | '2';
2939
3297
  /** OAuth access token. */
2940
3298
  access_token?: string;
2941
3299
  /** Data format for response. */
2942
- alt?: string;
3300
+ alt?: 'json' | 'media' | 'proto';
2943
3301
  /** JSONP */
2944
3302
  callback?: string;
2945
3303
  /** Selector specifying which fields to include in a partial response. */
@@ -2964,11 +3322,11 @@ declare namespace gapi.client {
2964
3322
  /** Use this method to list the objects of a specific migration job. */
2965
3323
  list(request?: {
2966
3324
  /** V1 error format. */
2967
- '$.xgafv'?: string;
3325
+ '$.xgafv'?: '1' | '2';
2968
3326
  /** OAuth access token. */
2969
3327
  access_token?: string;
2970
3328
  /** Data format for response. */
2971
- alt?: string;
3329
+ alt?: 'json' | 'media' | 'proto';
2972
3330
  /** JSONP */
2973
3331
  callback?: string;
2974
3332
  /** Selector specifying which fields to include in a partial response. */
@@ -2995,11 +3353,11 @@ declare namespace gapi.client {
2995
3353
  /** Use this method to look up a migration job object by its source object identifier. */
2996
3354
  lookup(request: {
2997
3355
  /** V1 error format. */
2998
- '$.xgafv'?: string;
3356
+ '$.xgafv'?: '1' | '2';
2999
3357
  /** OAuth access token. */
3000
3358
  access_token?: string;
3001
3359
  /** Data format for response. */
3002
- alt?: string;
3360
+ alt?: 'json' | 'media' | 'proto';
3003
3361
  /** JSONP */
3004
3362
  callback?: string;
3005
3363
  /** Selector specifying which fields to include in a partial response. */
@@ -3024,11 +3382,11 @@ declare namespace gapi.client {
3024
3382
  lookup(
3025
3383
  request: {
3026
3384
  /** V1 error format. */
3027
- '$.xgafv'?: string;
3385
+ '$.xgafv'?: '1' | '2';
3028
3386
  /** OAuth access token. */
3029
3387
  access_token?: string;
3030
3388
  /** Data format for response. */
3031
- alt?: string;
3389
+ alt?: 'json' | 'media' | 'proto';
3032
3390
  /** JSONP */
3033
3391
  callback?: string;
3034
3392
  /** Selector specifying which fields to include in a partial response. */
@@ -3054,11 +3412,11 @@ declare namespace gapi.client {
3054
3412
  setIamPolicy(
3055
3413
  request: {
3056
3414
  /** V1 error format. */
3057
- '$.xgafv'?: string;
3415
+ '$.xgafv'?: '1' | '2';
3058
3416
  /** OAuth access token. */
3059
3417
  access_token?: string;
3060
3418
  /** Data format for response. */
3061
- alt?: string;
3419
+ alt?: 'json' | 'media' | 'proto';
3062
3420
  /** JSONP */
3063
3421
  callback?: string;
3064
3422
  /** Selector specifying which fields to include in a partial response. */
@@ -3084,11 +3442,11 @@ declare namespace gapi.client {
3084
3442
  testIamPermissions(
3085
3443
  request: {
3086
3444
  /** V1 error format. */
3087
- '$.xgafv'?: string;
3445
+ '$.xgafv'?: '1' | '2';
3088
3446
  /** OAuth access token. */
3089
3447
  access_token?: string;
3090
3448
  /** Data format for response. */
3091
- alt?: string;
3449
+ alt?: 'json' | 'media' | 'proto';
3092
3450
  /** JSONP */
3093
3451
  callback?: string;
3094
3452
  /** Selector specifying which fields to include in a partial response. */
@@ -3115,11 +3473,11 @@ declare namespace gapi.client {
3115
3473
  /** Creates a new migration job in a given project and location. */
3116
3474
  create(request: {
3117
3475
  /** V1 error format. */
3118
- '$.xgafv'?: string;
3476
+ '$.xgafv'?: '1' | '2';
3119
3477
  /** OAuth access token. */
3120
3478
  access_token?: string;
3121
3479
  /** Data format for response. */
3122
- alt?: string;
3480
+ alt?: 'json' | 'media' | 'proto';
3123
3481
  /** JSONP */
3124
3482
  callback?: string;
3125
3483
  /** Selector specifying which fields to include in a partial response. */
@@ -3148,11 +3506,11 @@ declare namespace gapi.client {
3148
3506
  create(
3149
3507
  request: {
3150
3508
  /** V1 error format. */
3151
- '$.xgafv'?: string;
3509
+ '$.xgafv'?: '1' | '2';
3152
3510
  /** OAuth access token. */
3153
3511
  access_token?: string;
3154
3512
  /** Data format for response. */
3155
- alt?: string;
3513
+ alt?: 'json' | 'media' | 'proto';
3156
3514
  /** JSONP */
3157
3515
  callback?: string;
3158
3516
  /** Selector specifying which fields to include in a partial response. */
@@ -3181,11 +3539,11 @@ declare namespace gapi.client {
3181
3539
  /** Deletes a single migration job. */
3182
3540
  delete(request?: {
3183
3541
  /** V1 error format. */
3184
- '$.xgafv'?: string;
3542
+ '$.xgafv'?: '1' | '2';
3185
3543
  /** OAuth access token. */
3186
3544
  access_token?: string;
3187
3545
  /** Data format for response. */
3188
- alt?: string;
3546
+ alt?: 'json' | 'media' | 'proto';
3189
3547
  /** JSONP */
3190
3548
  callback?: string;
3191
3549
  /** Selector specifying which fields to include in a partial response. */
@@ -3212,11 +3570,11 @@ declare namespace gapi.client {
3212
3570
  /** Demotes the destination database to become a read replica of the source. This is applicable for the following migrations: 1. MySQL to Cloud SQL for MySQL 2. PostgreSQL to Cloud SQL for PostgreSQL 3. PostgreSQL to AlloyDB for PostgreSQL. */
3213
3571
  demoteDestination(request: {
3214
3572
  /** V1 error format. */
3215
- '$.xgafv'?: string;
3573
+ '$.xgafv'?: '1' | '2';
3216
3574
  /** OAuth access token. */
3217
3575
  access_token?: string;
3218
3576
  /** Data format for response. */
3219
- alt?: string;
3577
+ alt?: 'json' | 'media' | 'proto';
3220
3578
  /** JSONP */
3221
3579
  callback?: string;
3222
3580
  /** Selector specifying which fields to include in a partial response. */
@@ -3241,11 +3599,11 @@ declare namespace gapi.client {
3241
3599
  demoteDestination(
3242
3600
  request: {
3243
3601
  /** V1 error format. */
3244
- '$.xgafv'?: string;
3602
+ '$.xgafv'?: '1' | '2';
3245
3603
  /** OAuth access token. */
3246
3604
  access_token?: string;
3247
3605
  /** Data format for response. */
3248
- alt?: string;
3606
+ alt?: 'json' | 'media' | 'proto';
3249
3607
  /** JSONP */
3250
3608
  callback?: string;
3251
3609
  /** Selector specifying which fields to include in a partial response. */
@@ -3270,11 +3628,11 @@ declare namespace gapi.client {
3270
3628
  /** Retrieves objects from the source database that can be selected for data migration. This is applicable for the following migrations: 1. PostgreSQL to Cloud SQL for PostgreSQL 2. PostgreSQL to AlloyDB for PostgreSQL. */
3271
3629
  fetchSourceObjects(request?: {
3272
3630
  /** V1 error format. */
3273
- '$.xgafv'?: string;
3631
+ '$.xgafv'?: '1' | '2';
3274
3632
  /** OAuth access token. */
3275
3633
  access_token?: string;
3276
3634
  /** Data format for response. */
3277
- alt?: string;
3635
+ alt?: 'json' | 'media' | 'proto';
3278
3636
  /** JSONP */
3279
3637
  callback?: string;
3280
3638
  /** Selector specifying which fields to include in a partial response. */
@@ -3297,11 +3655,11 @@ declare namespace gapi.client {
3297
3655
  /** Generate a SSH configuration script to configure the reverse SSH connectivity. */
3298
3656
  generateSshScript(request: {
3299
3657
  /** V1 error format. */
3300
- '$.xgafv'?: string;
3658
+ '$.xgafv'?: '1' | '2';
3301
3659
  /** OAuth access token. */
3302
3660
  access_token?: string;
3303
3661
  /** Data format for response. */
3304
- alt?: string;
3662
+ alt?: 'json' | 'media' | 'proto';
3305
3663
  /** JSONP */
3306
3664
  callback?: string;
3307
3665
  /** Selector specifying which fields to include in a partial response. */
@@ -3326,11 +3684,11 @@ declare namespace gapi.client {
3326
3684
  generateSshScript(
3327
3685
  request: {
3328
3686
  /** V1 error format. */
3329
- '$.xgafv'?: string;
3687
+ '$.xgafv'?: '1' | '2';
3330
3688
  /** OAuth access token. */
3331
3689
  access_token?: string;
3332
3690
  /** Data format for response. */
3333
- alt?: string;
3691
+ alt?: 'json' | 'media' | 'proto';
3334
3692
  /** JSONP */
3335
3693
  callback?: string;
3336
3694
  /** Selector specifying which fields to include in a partial response. */
@@ -3355,11 +3713,11 @@ declare namespace gapi.client {
3355
3713
  /** Generate a TCP Proxy configuration script to configure a cloud-hosted VM running a TCP Proxy. */
3356
3714
  generateTcpProxyScript(request: {
3357
3715
  /** V1 error format. */
3358
- '$.xgafv'?: string;
3716
+ '$.xgafv'?: '1' | '2';
3359
3717
  /** OAuth access token. */
3360
3718
  access_token?: string;
3361
3719
  /** Data format for response. */
3362
- alt?: string;
3720
+ alt?: 'json' | 'media' | 'proto';
3363
3721
  /** JSONP */
3364
3722
  callback?: string;
3365
3723
  /** Selector specifying which fields to include in a partial response. */
@@ -3384,11 +3742,11 @@ declare namespace gapi.client {
3384
3742
  generateTcpProxyScript(
3385
3743
  request: {
3386
3744
  /** V1 error format. */
3387
- '$.xgafv'?: string;
3745
+ '$.xgafv'?: '1' | '2';
3388
3746
  /** OAuth access token. */
3389
3747
  access_token?: string;
3390
3748
  /** Data format for response. */
3391
- alt?: string;
3749
+ alt?: 'json' | 'media' | 'proto';
3392
3750
  /** JSONP */
3393
3751
  callback?: string;
3394
3752
  /** Selector specifying which fields to include in a partial response. */
@@ -3413,11 +3771,11 @@ declare namespace gapi.client {
3413
3771
  /** Gets details of a single migration job. */
3414
3772
  get(request?: {
3415
3773
  /** V1 error format. */
3416
- '$.xgafv'?: string;
3774
+ '$.xgafv'?: '1' | '2';
3417
3775
  /** OAuth access token. */
3418
3776
  access_token?: string;
3419
3777
  /** Data format for response. */
3420
- alt?: string;
3778
+ alt?: 'json' | 'media' | 'proto';
3421
3779
  /** JSONP */
3422
3780
  callback?: string;
3423
3781
  /** Selector specifying which fields to include in a partial response. */
@@ -3440,11 +3798,11 @@ declare namespace gapi.client {
3440
3798
  /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
3441
3799
  getIamPolicy(request?: {
3442
3800
  /** V1 error format. */
3443
- '$.xgafv'?: string;
3801
+ '$.xgafv'?: '1' | '2';
3444
3802
  /** OAuth access token. */
3445
3803
  access_token?: string;
3446
3804
  /** Data format for response. */
3447
- alt?: string;
3805
+ alt?: 'json' | 'media' | 'proto';
3448
3806
  /** JSONP */
3449
3807
  callback?: string;
3450
3808
  /** Selector specifying which fields to include in a partial response. */
@@ -3469,11 +3827,11 @@ declare namespace gapi.client {
3469
3827
  /** Lists migration jobs in a given project and location. */
3470
3828
  list(request?: {
3471
3829
  /** V1 error format. */
3472
- '$.xgafv'?: string;
3830
+ '$.xgafv'?: '1' | '2';
3473
3831
  /** OAuth access token. */
3474
3832
  access_token?: string;
3475
3833
  /** Data format for response. */
3476
- alt?: string;
3834
+ alt?: 'json' | 'media' | 'proto';
3477
3835
  /** JSONP */
3478
3836
  callback?: string;
3479
3837
  /** Selector specifying which fields to include in a partial response. */
@@ -3504,11 +3862,11 @@ declare namespace gapi.client {
3504
3862
  /** Updates the parameters of a single migration job. */
3505
3863
  patch(request: {
3506
3864
  /** V1 error format. */
3507
- '$.xgafv'?: string;
3865
+ '$.xgafv'?: '1' | '2';
3508
3866
  /** OAuth access token. */
3509
3867
  access_token?: string;
3510
3868
  /** Data format for response. */
3511
- alt?: string;
3869
+ alt?: 'json' | 'media' | 'proto';
3512
3870
  /** JSONP */
3513
3871
  callback?: string;
3514
3872
  /** Selector specifying which fields to include in a partial response. */
@@ -3537,11 +3895,11 @@ declare namespace gapi.client {
3537
3895
  patch(
3538
3896
  request: {
3539
3897
  /** V1 error format. */
3540
- '$.xgafv'?: string;
3898
+ '$.xgafv'?: '1' | '2';
3541
3899
  /** OAuth access token. */
3542
3900
  access_token?: string;
3543
3901
  /** Data format for response. */
3544
- alt?: string;
3902
+ alt?: 'json' | 'media' | 'proto';
3545
3903
  /** JSONP */
3546
3904
  callback?: string;
3547
3905
  /** Selector specifying which fields to include in a partial response. */
@@ -3570,11 +3928,11 @@ declare namespace gapi.client {
3570
3928
  /** Promote a migration job, stopping replication to the destination and promoting the destination to be a standalone database. */
3571
3929
  promote(request: {
3572
3930
  /** V1 error format. */
3573
- '$.xgafv'?: string;
3931
+ '$.xgafv'?: '1' | '2';
3574
3932
  /** OAuth access token. */
3575
3933
  access_token?: string;
3576
3934
  /** Data format for response. */
3577
- alt?: string;
3935
+ alt?: 'json' | 'media' | 'proto';
3578
3936
  /** JSONP */
3579
3937
  callback?: string;
3580
3938
  /** Selector specifying which fields to include in a partial response. */
@@ -3599,11 +3957,11 @@ declare namespace gapi.client {
3599
3957
  promote(
3600
3958
  request: {
3601
3959
  /** V1 error format. */
3602
- '$.xgafv'?: string;
3960
+ '$.xgafv'?: '1' | '2';
3603
3961
  /** OAuth access token. */
3604
3962
  access_token?: string;
3605
3963
  /** Data format for response. */
3606
- alt?: string;
3964
+ alt?: 'json' | 'media' | 'proto';
3607
3965
  /** JSONP */
3608
3966
  callback?: string;
3609
3967
  /** Selector specifying which fields to include in a partial response. */
@@ -3628,11 +3986,11 @@ declare namespace gapi.client {
3628
3986
  /** Restart a stopped or failed migration job, resetting the destination instance to its original state and starting the migration process from scratch. */
3629
3987
  restart(request: {
3630
3988
  /** V1 error format. */
3631
- '$.xgafv'?: string;
3989
+ '$.xgafv'?: '1' | '2';
3632
3990
  /** OAuth access token. */
3633
3991
  access_token?: string;
3634
3992
  /** Data format for response. */
3635
- alt?: string;
3993
+ alt?: 'json' | 'media' | 'proto';
3636
3994
  /** JSONP */
3637
3995
  callback?: string;
3638
3996
  /** Selector specifying which fields to include in a partial response. */
@@ -3657,11 +4015,11 @@ declare namespace gapi.client {
3657
4015
  restart(
3658
4016
  request: {
3659
4017
  /** V1 error format. */
3660
- '$.xgafv'?: string;
4018
+ '$.xgafv'?: '1' | '2';
3661
4019
  /** OAuth access token. */
3662
4020
  access_token?: string;
3663
4021
  /** Data format for response. */
3664
- alt?: string;
4022
+ alt?: 'json' | 'media' | 'proto';
3665
4023
  /** JSONP */
3666
4024
  callback?: string;
3667
4025
  /** Selector specifying which fields to include in a partial response. */
@@ -3686,11 +4044,11 @@ declare namespace gapi.client {
3686
4044
  /** Resume a migration job that is currently stopped and is resumable (was stopped during CDC phase). */
3687
4045
  resume(request: {
3688
4046
  /** V1 error format. */
3689
- '$.xgafv'?: string;
4047
+ '$.xgafv'?: '1' | '2';
3690
4048
  /** OAuth access token. */
3691
4049
  access_token?: string;
3692
4050
  /** Data format for response. */
3693
- alt?: string;
4051
+ alt?: 'json' | 'media' | 'proto';
3694
4052
  /** JSONP */
3695
4053
  callback?: string;
3696
4054
  /** Selector specifying which fields to include in a partial response. */
@@ -3715,11 +4073,11 @@ declare namespace gapi.client {
3715
4073
  resume(
3716
4074
  request: {
3717
4075
  /** V1 error format. */
3718
- '$.xgafv'?: string;
4076
+ '$.xgafv'?: '1' | '2';
3719
4077
  /** OAuth access token. */
3720
4078
  access_token?: string;
3721
4079
  /** Data format for response. */
3722
- alt?: string;
4080
+ alt?: 'json' | 'media' | 'proto';
3723
4081
  /** JSONP */
3724
4082
  callback?: string;
3725
4083
  /** Selector specifying which fields to include in a partial response. */
@@ -3745,11 +4103,11 @@ declare namespace gapi.client {
3745
4103
  setIamPolicy(
3746
4104
  request: {
3747
4105
  /** V1 error format. */
3748
- '$.xgafv'?: string;
4106
+ '$.xgafv'?: '1' | '2';
3749
4107
  /** OAuth access token. */
3750
4108
  access_token?: string;
3751
4109
  /** Data format for response. */
3752
- alt?: string;
4110
+ alt?: 'json' | 'media' | 'proto';
3753
4111
  /** JSONP */
3754
4112
  callback?: string;
3755
4113
  /** Selector specifying which fields to include in a partial response. */
@@ -3774,11 +4132,11 @@ declare namespace gapi.client {
3774
4132
  /** Start an already created migration job. */
3775
4133
  start(request: {
3776
4134
  /** V1 error format. */
3777
- '$.xgafv'?: string;
4135
+ '$.xgafv'?: '1' | '2';
3778
4136
  /** OAuth access token. */
3779
4137
  access_token?: string;
3780
4138
  /** Data format for response. */
3781
- alt?: string;
4139
+ alt?: 'json' | 'media' | 'proto';
3782
4140
  /** JSONP */
3783
4141
  callback?: string;
3784
4142
  /** Selector specifying which fields to include in a partial response. */
@@ -3803,11 +4161,11 @@ declare namespace gapi.client {
3803
4161
  start(
3804
4162
  request: {
3805
4163
  /** V1 error format. */
3806
- '$.xgafv'?: string;
4164
+ '$.xgafv'?: '1' | '2';
3807
4165
  /** OAuth access token. */
3808
4166
  access_token?: string;
3809
4167
  /** Data format for response. */
3810
- alt?: string;
4168
+ alt?: 'json' | 'media' | 'proto';
3811
4169
  /** JSONP */
3812
4170
  callback?: string;
3813
4171
  /** Selector specifying which fields to include in a partial response. */
@@ -3832,11 +4190,11 @@ declare namespace gapi.client {
3832
4190
  /** Stops a running migration job. */
3833
4191
  stop(request: {
3834
4192
  /** V1 error format. */
3835
- '$.xgafv'?: string;
4193
+ '$.xgafv'?: '1' | '2';
3836
4194
  /** OAuth access token. */
3837
4195
  access_token?: string;
3838
4196
  /** Data format for response. */
3839
- alt?: string;
4197
+ alt?: 'json' | 'media' | 'proto';
3840
4198
  /** JSONP */
3841
4199
  callback?: string;
3842
4200
  /** Selector specifying which fields to include in a partial response. */
@@ -3861,11 +4219,11 @@ declare namespace gapi.client {
3861
4219
  stop(
3862
4220
  request: {
3863
4221
  /** V1 error format. */
3864
- '$.xgafv'?: string;
4222
+ '$.xgafv'?: '1' | '2';
3865
4223
  /** OAuth access token. */
3866
4224
  access_token?: string;
3867
4225
  /** Data format for response. */
3868
- alt?: string;
4226
+ alt?: 'json' | 'media' | 'proto';
3869
4227
  /** JSONP */
3870
4228
  callback?: string;
3871
4229
  /** Selector specifying which fields to include in a partial response. */
@@ -3891,11 +4249,11 @@ declare namespace gapi.client {
3891
4249
  testIamPermissions(
3892
4250
  request: {
3893
4251
  /** V1 error format. */
3894
- '$.xgafv'?: string;
4252
+ '$.xgafv'?: '1' | '2';
3895
4253
  /** OAuth access token. */
3896
4254
  access_token?: string;
3897
4255
  /** Data format for response. */
3898
- alt?: string;
4256
+ alt?: 'json' | 'media' | 'proto';
3899
4257
  /** JSONP */
3900
4258
  callback?: string;
3901
4259
  /** Selector specifying which fields to include in a partial response. */
@@ -3920,11 +4278,11 @@ declare namespace gapi.client {
3920
4278
  /** Verify a migration job, making sure the destination can reach the source and that all configuration and prerequisites are met. */
3921
4279
  verify(request: {
3922
4280
  /** V1 error format. */
3923
- '$.xgafv'?: string;
4281
+ '$.xgafv'?: '1' | '2';
3924
4282
  /** OAuth access token. */
3925
4283
  access_token?: string;
3926
4284
  /** Data format for response. */
3927
- alt?: string;
4285
+ alt?: 'json' | 'media' | 'proto';
3928
4286
  /** JSONP */
3929
4287
  callback?: string;
3930
4288
  /** Selector specifying which fields to include in a partial response. */
@@ -3949,11 +4307,11 @@ declare namespace gapi.client {
3949
4307
  verify(
3950
4308
  request: {
3951
4309
  /** V1 error format. */
3952
- '$.xgafv'?: string;
4310
+ '$.xgafv'?: '1' | '2';
3953
4311
  /** OAuth access token. */
3954
4312
  access_token?: string;
3955
4313
  /** Data format for response. */
3956
- alt?: string;
4314
+ alt?: 'json' | 'media' | 'proto';
3957
4315
  /** JSONP */
3958
4316
  callback?: string;
3959
4317
  /** Selector specifying which fields to include in a partial response. */
@@ -3981,11 +4339,11 @@ declare namespace gapi.client {
3981
4339
  /** 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`. */
3982
4340
  cancel(request: {
3983
4341
  /** V1 error format. */
3984
- '$.xgafv'?: string;
4342
+ '$.xgafv'?: '1' | '2';
3985
4343
  /** OAuth access token. */
3986
4344
  access_token?: string;
3987
4345
  /** Data format for response. */
3988
- alt?: string;
4346
+ alt?: 'json' | 'media' | 'proto';
3989
4347
  /** JSONP */
3990
4348
  callback?: string;
3991
4349
  /** Selector specifying which fields to include in a partial response. */
@@ -4010,11 +4368,11 @@ declare namespace gapi.client {
4010
4368
  cancel(
4011
4369
  request: {
4012
4370
  /** V1 error format. */
4013
- '$.xgafv'?: string;
4371
+ '$.xgafv'?: '1' | '2';
4014
4372
  /** OAuth access token. */
4015
4373
  access_token?: string;
4016
4374
  /** Data format for response. */
4017
- alt?: string;
4375
+ alt?: 'json' | 'media' | 'proto';
4018
4376
  /** JSONP */
4019
4377
  callback?: string;
4020
4378
  /** Selector specifying which fields to include in a partial response. */
@@ -4039,11 +4397,11 @@ declare namespace gapi.client {
4039
4397
  /** 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`. */
4040
4398
  delete(request?: {
4041
4399
  /** V1 error format. */
4042
- '$.xgafv'?: string;
4400
+ '$.xgafv'?: '1' | '2';
4043
4401
  /** OAuth access token. */
4044
4402
  access_token?: string;
4045
4403
  /** Data format for response. */
4046
- alt?: string;
4404
+ alt?: 'json' | 'media' | 'proto';
4047
4405
  /** JSONP */
4048
4406
  callback?: string;
4049
4407
  /** Selector specifying which fields to include in a partial response. */
@@ -4066,11 +4424,11 @@ declare namespace gapi.client {
4066
4424
  /** 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. */
4067
4425
  get(request?: {
4068
4426
  /** V1 error format. */
4069
- '$.xgafv'?: string;
4427
+ '$.xgafv'?: '1' | '2';
4070
4428
  /** OAuth access token. */
4071
4429
  access_token?: string;
4072
4430
  /** Data format for response. */
4073
- alt?: string;
4431
+ alt?: 'json' | 'media' | 'proto';
4074
4432
  /** JSONP */
4075
4433
  callback?: string;
4076
4434
  /** Selector specifying which fields to include in a partial response. */
@@ -4093,11 +4451,11 @@ declare namespace gapi.client {
4093
4451
  /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
4094
4452
  list(request?: {
4095
4453
  /** V1 error format. */
4096
- '$.xgafv'?: string;
4454
+ '$.xgafv'?: '1' | '2';
4097
4455
  /** OAuth access token. */
4098
4456
  access_token?: string;
4099
4457
  /** Data format for response. */
4100
- alt?: string;
4458
+ alt?: 'json' | 'media' | 'proto';
4101
4459
  /** JSONP */
4102
4460
  callback?: string;
4103
4461
  /** Selector specifying which fields to include in a partial response. */
@@ -4130,11 +4488,11 @@ declare namespace gapi.client {
4130
4488
  /** Creates a new private connection in a given project and location. */
4131
4489
  create(request: {
4132
4490
  /** V1 error format. */
4133
- '$.xgafv'?: string;
4491
+ '$.xgafv'?: '1' | '2';
4134
4492
  /** OAuth access token. */
4135
4493
  access_token?: string;
4136
4494
  /** Data format for response. */
4137
- alt?: string;
4495
+ alt?: 'json' | 'media' | 'proto';
4138
4496
  /** JSONP */
4139
4497
  callback?: string;
4140
4498
  /** Selector specifying which fields to include in a partial response. */
@@ -4167,11 +4525,11 @@ declare namespace gapi.client {
4167
4525
  create(
4168
4526
  request: {
4169
4527
  /** V1 error format. */
4170
- '$.xgafv'?: string;
4528
+ '$.xgafv'?: '1' | '2';
4171
4529
  /** OAuth access token. */
4172
4530
  access_token?: string;
4173
4531
  /** Data format for response. */
4174
- alt?: string;
4532
+ alt?: 'json' | 'media' | 'proto';
4175
4533
  /** JSONP */
4176
4534
  callback?: string;
4177
4535
  /** Selector specifying which fields to include in a partial response. */
@@ -4204,11 +4562,11 @@ declare namespace gapi.client {
4204
4562
  /** Deletes a single Database Migration Service private connection. */
4205
4563
  delete(request?: {
4206
4564
  /** V1 error format. */
4207
- '$.xgafv'?: string;
4565
+ '$.xgafv'?: '1' | '2';
4208
4566
  /** OAuth access token. */
4209
4567
  access_token?: string;
4210
4568
  /** Data format for response. */
4211
- alt?: string;
4569
+ alt?: 'json' | 'media' | 'proto';
4212
4570
  /** JSONP */
4213
4571
  callback?: string;
4214
4572
  /** Selector specifying which fields to include in a partial response. */
@@ -4233,11 +4591,11 @@ declare namespace gapi.client {
4233
4591
  /** Gets details of a single private connection. */
4234
4592
  get(request?: {
4235
4593
  /** V1 error format. */
4236
- '$.xgafv'?: string;
4594
+ '$.xgafv'?: '1' | '2';
4237
4595
  /** OAuth access token. */
4238
4596
  access_token?: string;
4239
4597
  /** Data format for response. */
4240
- alt?: string;
4598
+ alt?: 'json' | 'media' | 'proto';
4241
4599
  /** JSONP */
4242
4600
  callback?: string;
4243
4601
  /** Selector specifying which fields to include in a partial response. */
@@ -4260,11 +4618,11 @@ declare namespace gapi.client {
4260
4618
  /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
4261
4619
  getIamPolicy(request?: {
4262
4620
  /** V1 error format. */
4263
- '$.xgafv'?: string;
4621
+ '$.xgafv'?: '1' | '2';
4264
4622
  /** OAuth access token. */
4265
4623
  access_token?: string;
4266
4624
  /** Data format for response. */
4267
- alt?: string;
4625
+ alt?: 'json' | 'media' | 'proto';
4268
4626
  /** JSONP */
4269
4627
  callback?: string;
4270
4628
  /** Selector specifying which fields to include in a partial response. */
@@ -4289,11 +4647,11 @@ declare namespace gapi.client {
4289
4647
  /** Retrieves a list of private connections in a given project and location. */
4290
4648
  list(request?: {
4291
4649
  /** V1 error format. */
4292
- '$.xgafv'?: string;
4650
+ '$.xgafv'?: '1' | '2';
4293
4651
  /** OAuth access token. */
4294
4652
  access_token?: string;
4295
4653
  /** Data format for response. */
4296
- alt?: string;
4654
+ alt?: 'json' | 'media' | 'proto';
4297
4655
  /** JSONP */
4298
4656
  callback?: string;
4299
4657
  /** Selector specifying which fields to include in a partial response. */
@@ -4325,11 +4683,11 @@ declare namespace gapi.client {
4325
4683
  setIamPolicy(
4326
4684
  request: {
4327
4685
  /** V1 error format. */
4328
- '$.xgafv'?: string;
4686
+ '$.xgafv'?: '1' | '2';
4329
4687
  /** OAuth access token. */
4330
4688
  access_token?: string;
4331
4689
  /** Data format for response. */
4332
- alt?: string;
4690
+ alt?: 'json' | 'media' | 'proto';
4333
4691
  /** JSONP */
4334
4692
  callback?: string;
4335
4693
  /** Selector specifying which fields to include in a partial response. */
@@ -4355,11 +4713,11 @@ declare namespace gapi.client {
4355
4713
  testIamPermissions(
4356
4714
  request: {
4357
4715
  /** V1 error format. */
4358
- '$.xgafv'?: string;
4716
+ '$.xgafv'?: '1' | '2';
4359
4717
  /** OAuth access token. */
4360
4718
  access_token?: string;
4361
4719
  /** Data format for response. */
4362
- alt?: string;
4720
+ alt?: 'json' | 'media' | 'proto';
4363
4721
  /** JSONP */
4364
4722
  callback?: string;
4365
4723
  /** Selector specifying which fields to include in a partial response. */
@@ -4386,11 +4744,11 @@ declare namespace gapi.client {
4386
4744
  /** Fetches a set of static IP addresses that need to be allowlisted by the customer when using the static-IP connectivity method. */
4387
4745
  fetchStaticIps(request?: {
4388
4746
  /** V1 error format. */
4389
- '$.xgafv'?: string;
4747
+ '$.xgafv'?: '1' | '2';
4390
4748
  /** OAuth access token. */
4391
4749
  access_token?: string;
4392
4750
  /** Data format for response. */
4393
- alt?: string;
4751
+ alt?: 'json' | 'media' | 'proto';
4394
4752
  /** JSONP */
4395
4753
  callback?: string;
4396
4754
  /** Selector specifying which fields to include in a partial response. */
@@ -4417,11 +4775,11 @@ declare namespace gapi.client {
4417
4775
  /** Gets information about a location. */
4418
4776
  get(request?: {
4419
4777
  /** V1 error format. */
4420
- '$.xgafv'?: string;
4778
+ '$.xgafv'?: '1' | '2';
4421
4779
  /** OAuth access token. */
4422
4780
  access_token?: string;
4423
4781
  /** Data format for response. */
4424
- alt?: string;
4782
+ alt?: 'json' | 'media' | 'proto';
4425
4783
  /** JSONP */
4426
4784
  callback?: string;
4427
4785
  /** Selector specifying which fields to include in a partial response. */
@@ -4444,11 +4802,11 @@ declare namespace gapi.client {
4444
4802
  /** 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. */
4445
4803
  list(request?: {
4446
4804
  /** V1 error format. */
4447
- '$.xgafv'?: string;
4805
+ '$.xgafv'?: '1' | '2';
4448
4806
  /** OAuth access token. */
4449
4807
  access_token?: string;
4450
4808
  /** Data format for response. */
4451
- alt?: string;
4809
+ alt?: 'json' | 'media' | 'proto';
4452
4810
  /** JSONP */
4453
4811
  callback?: string;
4454
4812
  /** Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage. */