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

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 (3) hide show
  1. package/index.d.ts +612 -243
  2. package/package.json +1 -1
  3. package/readme.md +17 -0
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://datamigration.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20260310
12
+ // Revision: 20260603
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -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,62 @@ 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'
643
+ | 'ISSUE_TYPE_PULL_SCHEMA';
477
644
  }
478
645
  interface EntityMapping {
479
646
  /** Target entity full name. The draft entity can also include a column, index or constraint using the same naming notation schema.table.column. */
480
647
  draftEntity?: string;
481
648
  /** Type of draft entity. */
482
- draftType?: string;
649
+ draftType?:
650
+ | 'DATABASE_ENTITY_TYPE_UNSPECIFIED'
651
+ | 'DATABASE_ENTITY_TYPE_SCHEMA'
652
+ | 'DATABASE_ENTITY_TYPE_TABLE'
653
+ | 'DATABASE_ENTITY_TYPE_COLUMN'
654
+ | 'DATABASE_ENTITY_TYPE_CONSTRAINT'
655
+ | 'DATABASE_ENTITY_TYPE_INDEX'
656
+ | 'DATABASE_ENTITY_TYPE_TRIGGER'
657
+ | 'DATABASE_ENTITY_TYPE_VIEW'
658
+ | 'DATABASE_ENTITY_TYPE_SEQUENCE'
659
+ | 'DATABASE_ENTITY_TYPE_STORED_PROCEDURE'
660
+ | 'DATABASE_ENTITY_TYPE_FUNCTION'
661
+ | 'DATABASE_ENTITY_TYPE_SYNONYM'
662
+ | 'DATABASE_ENTITY_TYPE_DATABASE_PACKAGE'
663
+ | 'DATABASE_ENTITY_TYPE_UDT'
664
+ | 'DATABASE_ENTITY_TYPE_MATERIALIZED_VIEW'
665
+ | 'DATABASE_ENTITY_TYPE_DATABASE';
483
666
  /** 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
667
  mappingLog?: EntityMappingLogEntry[];
485
668
  /** Source entity full name. The source entity can also be a column, index or constraint using the same naming notation schema.table.column. */
486
669
  sourceEntity?: string;
487
670
  /** Type of source entity. */
488
- sourceType?: string;
671
+ sourceType?:
672
+ | 'DATABASE_ENTITY_TYPE_UNSPECIFIED'
673
+ | 'DATABASE_ENTITY_TYPE_SCHEMA'
674
+ | 'DATABASE_ENTITY_TYPE_TABLE'
675
+ | 'DATABASE_ENTITY_TYPE_COLUMN'
676
+ | 'DATABASE_ENTITY_TYPE_CONSTRAINT'
677
+ | 'DATABASE_ENTITY_TYPE_INDEX'
678
+ | 'DATABASE_ENTITY_TYPE_TRIGGER'
679
+ | 'DATABASE_ENTITY_TYPE_VIEW'
680
+ | 'DATABASE_ENTITY_TYPE_SEQUENCE'
681
+ | 'DATABASE_ENTITY_TYPE_STORED_PROCEDURE'
682
+ | 'DATABASE_ENTITY_TYPE_FUNCTION'
683
+ | 'DATABASE_ENTITY_TYPE_SYNONYM'
684
+ | 'DATABASE_ENTITY_TYPE_DATABASE_PACKAGE'
685
+ | 'DATABASE_ENTITY_TYPE_UDT'
686
+ | 'DATABASE_ENTITY_TYPE_MATERIALIZED_VIEW'
687
+ | 'DATABASE_ENTITY_TYPE_DATABASE';
489
688
  }
490
689
  interface EntityMappingLogEntry {
491
690
  /** Comment. */
@@ -526,7 +725,7 @@ declare namespace gapi.client {
526
725
  interface FieldViolation {
527
726
  /** A description of why the request element is bad. */
528
727
  description?: string;
529
- /** A path that leads to a field in the request body. The value will be a sequence of dot-separated identifiers that identify a protocol buffer field. Consider the following: message CreateContactRequest { message EmailAddress { enum Type { TYPE_UNSPECIFIED = 0; HOME = 1; WORK = 2; } optional string email = 1; repeated EmailType type = 2; } string full_name = 1; repeated EmailAddress email_addresses = 2; } In this example, in proto `field` could take one of the following values: * `full_name` for a violation in the `full_name` value * `email_addresses[1].email` for a violation in the `email` field of the first `email_addresses` message * `email_addresses[3].type[2]` for a violation in the second `type` value in the third `email_addresses` message. In JSON, the same values are represented as: * `fullName` for a violation in the `fullName` value * `emailAddresses[1].email` for a violation in the `email` field of the first `emailAddresses` message * `emailAddresses[3].type[2]` for a violation in the second `type` value in the third `emailAddresses` message. */
728
+ /** A path that leads to a field in the request body. The value will be a sequence of dot-separated identifiers that identify a protocol buffer field. Consider the following: message CreateContactRequest { message EmailAddress { enum Type { TYPE_UNSPECIFIED = 0; HOME = 1; WORK = 2; } optional string email = 1; repeated EmailType type = 2; } string full_name = 1; repeated EmailAddress email_addresses = 2; } In this example, in proto `field` could take one of the following values: * `full_name` for a violation in the `full_name` value * `email_addresses[0].email` for a violation in the `email` field of the first `email_addresses` message * `email_addresses[2].type[1]` for a violation in the second `type` value in the third `email_addresses` message. In JSON, the same values are represented as: * `fullName` for a violation in the `fullName` value * `emailAddresses[0].email` for a violation in the `email` field of the first `emailAddresses` message * `emailAddresses[2].type[1]` for a violation in the second `type` value in the third `emailAddresses` message. */
530
729
  field?: string;
531
730
  /** Provides a localized error message for field-level errors that is safe to return to the API consumer. */
532
731
  localizedMessage?: LocalizedMessage;
@@ -609,11 +808,17 @@ declare namespace gapi.client {
609
808
  /** Required. One or more rules files. */
610
809
  rulesFiles?: RulesFile[];
611
810
  /** Required. The format of the rules content file. */
612
- rulesFormat?: string;
811
+ rulesFormat?:
812
+ | 'IMPORT_RULES_FILE_FORMAT_UNSPECIFIED'
813
+ | 'IMPORT_RULES_FILE_FORMAT_HARBOUR_BRIDGE_SESSION_FILE'
814
+ | 'IMPORT_RULES_FILE_FORMAT_ORATOPG_CONFIG_FILE';
613
815
  }
614
816
  interface ImportRulesJobDetails {
615
817
  /** Output only. The requested file format. */
616
- fileFormat?: string;
818
+ fileFormat?:
819
+ | 'IMPORT_RULES_FILE_FORMAT_UNSPECIFIED'
820
+ | 'IMPORT_RULES_FILE_FORMAT_HARBOUR_BRIDGE_SESSION_FILE'
821
+ | 'IMPORT_RULES_FILE_FORMAT_ORATOPG_CONFIG_FILE';
617
822
  /** Output only. File names used for the import rules job. */
618
823
  files?: string[];
619
824
  }
@@ -643,7 +848,12 @@ declare namespace gapi.client {
643
848
  /** Required. Integer compare value to be used */
644
849
  value?: string;
645
850
  /** Required. Relation between source value and compare value */
646
- valueComparison?: string;
851
+ valueComparison?:
852
+ | 'VALUE_COMPARISON_UNSPECIFIED'
853
+ | 'VALUE_COMPARISON_IF_VALUE_SMALLER_THAN'
854
+ | 'VALUE_COMPARISON_IF_VALUE_SMALLER_EQUAL_THAN'
855
+ | 'VALUE_COMPARISON_IF_VALUE_LARGER_THAN'
856
+ | 'VALUE_COMPARISON_IF_VALUE_LARGER_EQUAL_THAN';
647
857
  }
648
858
  interface Link {
649
859
  /** Describes what the link offers. */
@@ -770,7 +980,23 @@ declare namespace gapi.client {
770
980
  /** 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
981
  ruleOrder?: string;
772
982
  /** Required. The rule scope */
773
- ruleScope?: string;
983
+ ruleScope?:
984
+ | 'DATABASE_ENTITY_TYPE_UNSPECIFIED'
985
+ | 'DATABASE_ENTITY_TYPE_SCHEMA'
986
+ | 'DATABASE_ENTITY_TYPE_TABLE'
987
+ | 'DATABASE_ENTITY_TYPE_COLUMN'
988
+ | 'DATABASE_ENTITY_TYPE_CONSTRAINT'
989
+ | 'DATABASE_ENTITY_TYPE_INDEX'
990
+ | 'DATABASE_ENTITY_TYPE_TRIGGER'
991
+ | 'DATABASE_ENTITY_TYPE_VIEW'
992
+ | 'DATABASE_ENTITY_TYPE_SEQUENCE'
993
+ | 'DATABASE_ENTITY_TYPE_STORED_PROCEDURE'
994
+ | 'DATABASE_ENTITY_TYPE_FUNCTION'
995
+ | 'DATABASE_ENTITY_TYPE_SYNONYM'
996
+ | 'DATABASE_ENTITY_TYPE_DATABASE_PACKAGE'
997
+ | 'DATABASE_ENTITY_TYPE_UDT'
998
+ | 'DATABASE_ENTITY_TYPE_MATERIALIZED_VIEW'
999
+ | 'DATABASE_ENTITY_TYPE_DATABASE';
774
1000
  /** Optional. Rule to specify the primary key for a table */
775
1001
  setTablePrimaryKey?: SetTablePrimaryKey;
776
1002
  /** Optional. Rule to specify how a single column is converted. */
@@ -782,7 +1008,7 @@ declare namespace gapi.client {
782
1008
  /** Optional. Rule to change the sql code for an entity, for example, function, procedure. */
783
1009
  sourceSqlChange?: SourceSqlChange;
784
1010
  /** Optional. The mapping rule state */
785
- state?: string;
1011
+ state?: 'STATE_UNSPECIFIED' | 'ENABLED' | 'DISABLED' | 'DELETED';
786
1012
  }
787
1013
  interface MappingRuleFilter {
788
1014
  /** Optional. The rule should be applied to specific entities defined by their fully qualified names. */
@@ -822,7 +1048,7 @@ declare namespace gapi.client {
822
1048
  /** 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
1049
  dumpPath?: string;
824
1050
  /** Optional. The type of the data dump. Supported for MySQL to CloudSQL for MySQL migrations only. */
825
- dumpType?: string;
1051
+ dumpType?: 'DUMP_TYPE_UNSPECIFIED' | 'LOGICAL' | 'PHYSICAL';
826
1052
  /** 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
1053
  duration?: string;
828
1054
  /** Output only. If the migration job is completed, the time when it was completed. */
@@ -844,11 +1070,20 @@ declare namespace gapi.client {
844
1070
  /** Optional. Data dump parallelism settings used by the migration. */
845
1071
  performanceConfig?: PerformanceConfig;
846
1072
  /** Output only. The current migration job phase. */
847
- phase?: string;
1073
+ phase?:
1074
+ | 'PHASE_UNSPECIFIED'
1075
+ | 'FULL_DUMP'
1076
+ | 'CDC'
1077
+ | 'PROMOTE_IN_PROGRESS'
1078
+ | 'WAITING_FOR_SOURCE_WRITES_TO_STOP'
1079
+ | 'PREPARING_THE_DUMP'
1080
+ | 'READY_FOR_PROMOTE';
1081
+ /** Optional. Configuration for PostgreSQL homogeneous migration. */
1082
+ postgresHomogeneousConfig?: PostgresHomogeneousConfig;
848
1083
  /** Configuration for heterogeneous failback migrations from **PostgreSQL to SQL Server**. */
849
1084
  postgresToSqlserverConfig?: PostgresToSqlServerConfig;
850
1085
  /** Output only. Migration job mode. Migration jobs can be standard forward jobs or failback migration jobs. */
851
- purpose?: string;
1086
+ purpose?: 'PURPOSE_UNSPECIFIED' | 'MIGRATE' | 'FAILBACK';
852
1087
  /** The details needed to communicate to the source over Reverse SSH tunnel connectivity. */
853
1088
  reverseSshConnectivity?: ReverseSshConnectivity;
854
1089
  /** Output only. Reserved for future use. */
@@ -864,11 +1099,27 @@ declare namespace gapi.client {
864
1099
  /** Configuration for heterogeneous **SQL Server to Cloud SQL for PostgreSQL** migrations. */
865
1100
  sqlserverToPostgresConfig?: SqlServerToPostgresConfig;
866
1101
  /** The current migration job state. */
867
- state?: string;
1102
+ state?:
1103
+ | 'STATE_UNSPECIFIED'
1104
+ | 'MAINTENANCE'
1105
+ | 'DRAFT'
1106
+ | 'CREATING'
1107
+ | 'NOT_STARTED'
1108
+ | 'RUNNING'
1109
+ | 'FAILED'
1110
+ | 'COMPLETED'
1111
+ | 'DELETING'
1112
+ | 'STOPPING'
1113
+ | 'STOPPED'
1114
+ | 'DELETED'
1115
+ | 'UPDATING'
1116
+ | 'STARTING'
1117
+ | 'RESTARTING'
1118
+ | 'RESUMING';
868
1119
  /** static ip connectivity data (default, no additional details needed). */
869
1120
  staticIpConnectivity?: any;
870
1121
  /** Required. The migration job type. */
871
- type?: string;
1122
+ type?: 'TYPE_UNSPECIFIED' | 'ONE_TIME' | 'CONTINUOUS';
872
1123
  /** 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
1124
  updateTime?: string;
874
1125
  /** The details of the VPC network that the source database is located in. */
@@ -884,11 +1135,28 @@ declare namespace gapi.client {
884
1135
  /** The object's name. */
885
1136
  name?: string;
886
1137
  /** Output only. The phase of the migration job object. */
887
- phase?: string;
1138
+ phase?:
1139
+ | 'PHASE_UNSPECIFIED'
1140
+ | 'FULL_DUMP'
1141
+ | 'CDC'
1142
+ | 'READY_FOR_PROMOTE'
1143
+ | 'PROMOTE_IN_PROGRESS'
1144
+ | 'PROMOTED'
1145
+ | 'DIFF_BACKUP';
888
1146
  /** The object identifier in the data source. */
889
1147
  sourceObject?: SourceObjectIdentifier;
890
1148
  /** The state of the migration job object. */
891
- state?: string;
1149
+ state?:
1150
+ | 'STATE_UNSPECIFIED'
1151
+ | 'NOT_STARTED'
1152
+ | 'RUNNING'
1153
+ | 'STOPPING'
1154
+ | 'STOPPED'
1155
+ | 'RESTARTING'
1156
+ | 'FAILED'
1157
+ | 'REMOVING'
1158
+ | 'NOT_SELECTED'
1159
+ | 'COMPLETED';
892
1160
  /** Output only. The last update time of the migration job object. */
893
1161
  updateTime?: string;
894
1162
  }
@@ -898,7 +1166,37 @@ declare namespace gapi.client {
898
1166
  }
899
1167
  interface MigrationJobVerificationError {
900
1168
  /** Output only. An instance of ErrorCode specifying the error that occurred. */
901
- errorCode?: string;
1169
+ errorCode?:
1170
+ | 'ERROR_CODE_UNSPECIFIED'
1171
+ | 'CONNECTION_FAILURE'
1172
+ | 'AUTHENTICATION_FAILURE'
1173
+ | 'INVALID_CONNECTION_PROFILE_CONFIG'
1174
+ | 'VERSION_INCOMPATIBILITY'
1175
+ | 'CONNECTION_PROFILE_TYPES_INCOMPATIBILITY'
1176
+ | 'NO_PGLOGICAL_INSTALLED'
1177
+ | 'PGLOGICAL_NODE_ALREADY_EXISTS'
1178
+ | 'INVALID_WAL_LEVEL'
1179
+ | 'INVALID_SHARED_PRELOAD_LIBRARY'
1180
+ | 'INSUFFICIENT_MAX_REPLICATION_SLOTS'
1181
+ | 'INSUFFICIENT_MAX_WAL_SENDERS'
1182
+ | 'INSUFFICIENT_MAX_WORKER_PROCESSES'
1183
+ | 'UNSUPPORTED_EXTENSIONS'
1184
+ | 'UNSUPPORTED_MIGRATION_TYPE'
1185
+ | 'INVALID_RDS_LOGICAL_REPLICATION'
1186
+ | 'UNSUPPORTED_GTID_MODE'
1187
+ | 'UNSUPPORTED_TABLE_DEFINITION'
1188
+ | 'UNSUPPORTED_DEFINER'
1189
+ | 'CANT_RESTART_RUNNING_MIGRATION'
1190
+ | 'SOURCE_ALREADY_SETUP'
1191
+ | 'TABLES_WITH_LIMITED_SUPPORT'
1192
+ | 'UNSUPPORTED_DATABASE_LOCALE'
1193
+ | 'UNSUPPORTED_DATABASE_FDW_CONFIG'
1194
+ | 'ERROR_RDBMS'
1195
+ | 'SOURCE_SIZE_EXCEEDS_THRESHOLD'
1196
+ | 'EXISTING_CONFLICTING_DATABASES'
1197
+ | 'PARALLEL_IMPORT_INSUFFICIENT_PRIVILEGE'
1198
+ | 'EXISTING_DATA'
1199
+ | 'SOURCE_MAX_SUBSCRIPTIONS';
902
1200
  /** Output only. A specific detailed error message, if supplied by the engine. */
903
1201
  errorDetailMessage?: string;
904
1202
  /** Output only. A formatted message with further details about the error and a CTA. */
@@ -928,7 +1226,12 @@ declare namespace gapi.client {
928
1226
  /** 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
1227
  newNamePattern?: string;
930
1228
  /** 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;
1229
+ sourceNameTransformation?:
1230
+ | 'ENTITY_NAME_TRANSFORMATION_UNSPECIFIED'
1231
+ | 'ENTITY_NAME_TRANSFORMATION_NO_TRANSFORMATION'
1232
+ | 'ENTITY_NAME_TRANSFORMATION_LOWER_CASE'
1233
+ | 'ENTITY_NAME_TRANSFORMATION_UPPER_CASE'
1234
+ | 'ENTITY_NAME_TRANSFORMATION_CAPITALIZED_CASE';
932
1235
  }
933
1236
  interface MySqlConnectionProfile {
934
1237
  /** If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source. */
@@ -1029,7 +1332,11 @@ declare namespace gapi.client {
1029
1332
  }
1030
1333
  interface PerformanceConfig {
1031
1334
  /** Initial dump parallelism level. */
1032
- dumpParallelLevel?: string;
1335
+ dumpParallelLevel?:
1336
+ | 'DUMP_PARALLEL_LEVEL_UNSPECIFIED'
1337
+ | 'MIN'
1338
+ | 'OPTIMAL'
1339
+ | 'MAX';
1033
1340
  }
1034
1341
  interface Policy {
1035
1342
  /** Specifies cloud audit logging configuration for this policy. */
@@ -1057,6 +1364,12 @@ declare namespace gapi.client {
1057
1364
  /** Optional. Timeout for data migration transactions. */
1058
1365
  transactionTimeout?: string;
1059
1366
  }
1367
+ interface PostgresHomogeneousConfig {
1368
+ /** Required. Whether the migration is native logical. */
1369
+ isNativeLogical?: boolean;
1370
+ /** Optional. Maximum number of additional subscriptions to use for the migration job. */
1371
+ maxAdditionalSubscriptions?: number;
1372
+ }
1060
1373
  interface PostgreSqlConnectionProfile {
1061
1374
  /** Optional. If the destination is an AlloyDB database, use this field to provide the AlloyDB cluster ID. */
1062
1375
  alloydbClusterId?: string;
@@ -1064,12 +1377,17 @@ declare namespace gapi.client {
1064
1377
  cloudSqlId?: string;
1065
1378
  /** Optional. The name of the specific database within the host. */
1066
1379
  database?: string;
1380
+ /** Optional. If true, Database Migration Service will use IAM database authentication to connect to the database. */
1381
+ enableIamAuthentication?: boolean;
1067
1382
  /** Forward SSH tunnel connectivity. */
1068
1383
  forwardSshConnectivity?: ForwardSshTunnelConnectivity;
1069
1384
  /** Required. The IP or hostname of the source PostgreSQL database. */
1070
1385
  host?: string;
1071
1386
  /** Output only. If the source is a Cloud SQL database, this field indicates the network architecture it's associated with. */
1072
- networkArchitecture?: string;
1387
+ networkArchitecture?:
1388
+ | 'NETWORK_ARCHITECTURE_UNSPECIFIED'
1389
+ | 'NETWORK_ARCHITECTURE_OLD_CSQL_PRODUCER'
1390
+ | 'NETWORK_ARCHITECTURE_NEW_CSQL_PRODUCER';
1073
1391
  /** 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
1392
  password?: string;
1075
1393
  /** Output only. Indicates If this connection profile password is stored. */
@@ -1143,7 +1461,14 @@ declare namespace gapi.client {
1143
1461
  /** Output only. Reserved for future use. */
1144
1462
  satisfiesPzs?: boolean;
1145
1463
  /** Output only. The state of the private connection. */
1146
- state?: string;
1464
+ state?:
1465
+ | 'STATE_UNSPECIFIED'
1466
+ | 'CREATING'
1467
+ | 'CREATED'
1468
+ | 'FAILED'
1469
+ | 'DELETING'
1470
+ | 'FAILED_TO_DELETE'
1471
+ | 'DELETED';
1147
1472
  /** Output only. The last update time of the resource. */
1148
1473
  updateTime?: string;
1149
1474
  /** VPC peering configuration. */
@@ -1170,7 +1495,7 @@ declare namespace gapi.client {
1170
1495
  violations?: QuotaFailureViolation[];
1171
1496
  }
1172
1497
  interface QuotaFailureViolation {
1173
- /** The API Service from which the `QuotaFailure.Violation` orginates. In some cases, Quota issues originate from an API Service other than the one that was called. In other words, a dependency of the called API Service could be the cause of the `QuotaFailure`, and this field would have the dependency API service name. For example, if the called API is Kubernetes Engine API (container.googleapis.com), and a quota violation occurs in the Kubernetes Engine API itself, this field would be "container.googleapis.com". On the other hand, if the quota violation occurs when the Kubernetes Engine API creates VMs in the Compute Engine API (compute.googleapis.com), this field would be "compute.googleapis.com". */
1498
+ /** The API Service from which the `QuotaFailure.Violation` originates. In some cases, Quota issues originate from an API Service other than the one that was called. In other words, a dependency of the called API Service could be the cause of the `QuotaFailure`, and this field would have the dependency API service name. For example, if the called API is Kubernetes Engine API (container.googleapis.com), and a quota violation occurs in the Kubernetes Engine API itself, this field would be "container.googleapis.com". On the other hand, if the quota violation occurs when the Kubernetes Engine API creates VMs in the Compute Engine API (compute.googleapis.com), this field would be "compute.googleapis.com". */
1174
1499
  apiService?: string;
1175
1500
  /** A description of how the quota check failed. Clients can use this description to find more about the quota configuration in the service's public documentation, or find the relevant quota limit to adjust through developer console. For example: "Service disabled" or "Daily Limit for read operations exceeded". */
1176
1501
  description?: string;
@@ -1332,7 +1657,11 @@ declare namespace gapi.client {
1332
1657
  }
1333
1658
  interface SourceNumericFilter {
1334
1659
  /** Required. Enum to set the option defining the datatypes numeric filter has to be applied to */
1335
- numericFilterOption?: string;
1660
+ numericFilterOption?:
1661
+ | 'NUMERIC_FILTER_OPTION_UNSPECIFIED'
1662
+ | 'NUMERIC_FILTER_OPTION_ALL'
1663
+ | 'NUMERIC_FILTER_OPTION_LIMIT'
1664
+ | 'NUMERIC_FILTER_OPTION_LIMITLESS';
1336
1665
  /** Optional. The filter will match columns with precision smaller than or equal to this number. */
1337
1666
  sourceMaxPrecisionFilter?: number;
1338
1667
  /** Optional. The filter will match columns with scale smaller than or equal to this number. */
@@ -1354,13 +1683,20 @@ declare namespace gapi.client {
1354
1683
  /** Optional. The table name. This will be required only if the object is a level below database or schema. */
1355
1684
  table?: string;
1356
1685
  /** Required. The type of the migration job object. */
1357
- type?: string;
1686
+ type?:
1687
+ | 'MIGRATION_JOB_OBJECT_TYPE_UNSPECIFIED'
1688
+ | 'DATABASE'
1689
+ | 'SCHEMA'
1690
+ | 'TABLE';
1358
1691
  }
1359
1692
  interface SourceObjectsConfig {
1360
1693
  /** Optional. The list of the objects to be migrated. */
1361
1694
  objectConfigs?: SourceObjectConfig[];
1362
1695
  /** Optional. The objects selection type of the migration job. */
1363
- objectsSelectionType?: string;
1696
+ objectsSelectionType?:
1697
+ | 'OBJECTS_SELECTION_TYPE_UNSPECIFIED'
1698
+ | 'ALL_OBJECTS'
1699
+ | 'SPECIFIED_OBJECTS';
1364
1700
  }
1365
1701
  interface SourceSqlChange {
1366
1702
  /** Required. Sql code for source (stored procedure, function, trigger or view) */
@@ -1500,7 +1836,12 @@ declare namespace gapi.client {
1500
1836
  /** 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
1837
  sslFlags?: {[P in string]: string};
1502
1838
  /** Optional. The ssl config type according to 'client_key', 'client_certificate' and 'ca_certificate'. */
1503
- type?: string;
1839
+ type?:
1840
+ | 'SSL_TYPE_UNSPECIFIED'
1841
+ | 'SERVER_ONLY'
1842
+ | 'SERVER_CLIENT'
1843
+ | 'REQUIRED'
1844
+ | 'NONE';
1504
1845
  }
1505
1846
  interface StartMigrationJobRequest {
1506
1847
  /** Optional. Start the migration job without running prior configuration verification. Defaults to `false`. */
@@ -1512,7 +1853,7 @@ declare namespace gapi.client {
1512
1853
  /** The status code, which should be an enum value of google.rpc.Code. */
1513
1854
  code?: number;
1514
1855
  /** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
1515
- details?: Array<{[P in string]: any}>;
1856
+ details?: {[P in string]: any}[];
1516
1857
  /** A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. */
1517
1858
  message?: string;
1518
1859
  }
@@ -1529,7 +1870,23 @@ declare namespace gapi.client {
1529
1870
  /** The name of the entity for which the synonym is being created (the source). */
1530
1871
  sourceEntity?: string;
1531
1872
  /** The type of the entity for which the synonym is being created (usually a table or a sequence). */
1532
- sourceType?: string;
1873
+ sourceType?:
1874
+ | 'DATABASE_ENTITY_TYPE_UNSPECIFIED'
1875
+ | 'DATABASE_ENTITY_TYPE_SCHEMA'
1876
+ | 'DATABASE_ENTITY_TYPE_TABLE'
1877
+ | 'DATABASE_ENTITY_TYPE_COLUMN'
1878
+ | 'DATABASE_ENTITY_TYPE_CONSTRAINT'
1879
+ | 'DATABASE_ENTITY_TYPE_INDEX'
1880
+ | 'DATABASE_ENTITY_TYPE_TRIGGER'
1881
+ | 'DATABASE_ENTITY_TYPE_VIEW'
1882
+ | 'DATABASE_ENTITY_TYPE_SEQUENCE'
1883
+ | 'DATABASE_ENTITY_TYPE_STORED_PROCEDURE'
1884
+ | 'DATABASE_ENTITY_TYPE_FUNCTION'
1885
+ | 'DATABASE_ENTITY_TYPE_SYNONYM'
1886
+ | 'DATABASE_ENTITY_TYPE_DATABASE_PACKAGE'
1887
+ | 'DATABASE_ENTITY_TYPE_UDT'
1888
+ | 'DATABASE_ENTITY_TYPE_MATERIALIZED_VIEW'
1889
+ | 'DATABASE_ENTITY_TYPE_DATABASE';
1533
1890
  }
1534
1891
  interface TableEntity {
1535
1892
  /** Table columns. */
@@ -1589,7 +1946,10 @@ declare namespace gapi.client {
1589
1946
  /** Required. Whether to ignore case when filtering by values. Defaults to false */
1590
1947
  ignoreCase?: boolean;
1591
1948
  /** 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;
1949
+ valuePresentList?:
1950
+ | 'VALUE_PRESENT_IN_LIST_UNSPECIFIED'
1951
+ | 'VALUE_PRESENT_IN_LIST_IF_VALUE_LIST'
1952
+ | 'VALUE_PRESENT_IN_LIST_IF_VALUE_NOT_LIST';
1593
1953
  /** Required. The list to be used to filter by */
1594
1954
  values?: string[];
1595
1955
  }
@@ -1655,11 +2015,11 @@ declare namespace gapi.client {
1655
2015
  /** Creates a new connection profile in a given project and location. */
1656
2016
  create(request: {
1657
2017
  /** V1 error format. */
1658
- '$.xgafv'?: string;
2018
+ '$.xgafv'?: '1' | '2';
1659
2019
  /** OAuth access token. */
1660
2020
  access_token?: string;
1661
2021
  /** Data format for response. */
1662
- alt?: string;
2022
+ alt?: 'json' | 'media' | 'proto';
1663
2023
  /** JSONP */
1664
2024
  callback?: string;
1665
2025
  /** Required. The connection profile identifier. */
@@ -1692,11 +2052,11 @@ declare namespace gapi.client {
1692
2052
  create(
1693
2053
  request: {
1694
2054
  /** V1 error format. */
1695
- '$.xgafv'?: string;
2055
+ '$.xgafv'?: '1' | '2';
1696
2056
  /** OAuth access token. */
1697
2057
  access_token?: string;
1698
2058
  /** Data format for response. */
1699
- alt?: string;
2059
+ alt?: 'json' | 'media' | 'proto';
1700
2060
  /** JSONP */
1701
2061
  callback?: string;
1702
2062
  /** Required. The connection profile identifier. */
@@ -1729,11 +2089,11 @@ declare namespace gapi.client {
1729
2089
  /** 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
2090
  delete(request?: {
1731
2091
  /** V1 error format. */
1732
- '$.xgafv'?: string;
2092
+ '$.xgafv'?: '1' | '2';
1733
2093
  /** OAuth access token. */
1734
2094
  access_token?: string;
1735
2095
  /** Data format for response. */
1736
- alt?: string;
2096
+ alt?: 'json' | 'media' | 'proto';
1737
2097
  /** JSONP */
1738
2098
  callback?: string;
1739
2099
  /** Selector specifying which fields to include in a partial response. */
@@ -1760,11 +2120,11 @@ declare namespace gapi.client {
1760
2120
  /** Gets details of a single connection profile. */
1761
2121
  get(request?: {
1762
2122
  /** V1 error format. */
1763
- '$.xgafv'?: string;
2123
+ '$.xgafv'?: '1' | '2';
1764
2124
  /** OAuth access token. */
1765
2125
  access_token?: string;
1766
2126
  /** Data format for response. */
1767
- alt?: string;
2127
+ alt?: 'json' | 'media' | 'proto';
1768
2128
  /** JSONP */
1769
2129
  callback?: string;
1770
2130
  /** Selector specifying which fields to include in a partial response. */
@@ -1787,11 +2147,11 @@ declare namespace gapi.client {
1787
2147
  /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
1788
2148
  getIamPolicy(request?: {
1789
2149
  /** V1 error format. */
1790
- '$.xgafv'?: string;
2150
+ '$.xgafv'?: '1' | '2';
1791
2151
  /** OAuth access token. */
1792
2152
  access_token?: string;
1793
2153
  /** Data format for response. */
1794
- alt?: string;
2154
+ alt?: 'json' | 'media' | 'proto';
1795
2155
  /** JSONP */
1796
2156
  callback?: string;
1797
2157
  /** Selector specifying which fields to include in a partial response. */
@@ -1816,11 +2176,11 @@ declare namespace gapi.client {
1816
2176
  /** Retrieves a list of all connection profiles in a given project and location. */
1817
2177
  list(request?: {
1818
2178
  /** V1 error format. */
1819
- '$.xgafv'?: string;
2179
+ '$.xgafv'?: '1' | '2';
1820
2180
  /** OAuth access token. */
1821
2181
  access_token?: string;
1822
2182
  /** Data format for response. */
1823
- alt?: string;
2183
+ alt?: 'json' | 'media' | 'proto';
1824
2184
  /** JSONP */
1825
2185
  callback?: string;
1826
2186
  /** Selector specifying which fields to include in a partial response. */
@@ -1851,11 +2211,11 @@ declare namespace gapi.client {
1851
2211
  /** Update the configuration of a single connection profile. */
1852
2212
  patch(request: {
1853
2213
  /** V1 error format. */
1854
- '$.xgafv'?: string;
2214
+ '$.xgafv'?: '1' | '2';
1855
2215
  /** OAuth access token. */
1856
2216
  access_token?: string;
1857
2217
  /** Data format for response. */
1858
- alt?: string;
2218
+ alt?: 'json' | 'media' | 'proto';
1859
2219
  /** JSONP */
1860
2220
  callback?: string;
1861
2221
  /** Selector specifying which fields to include in a partial response. */
@@ -1888,11 +2248,11 @@ declare namespace gapi.client {
1888
2248
  patch(
1889
2249
  request: {
1890
2250
  /** V1 error format. */
1891
- '$.xgafv'?: string;
2251
+ '$.xgafv'?: '1' | '2';
1892
2252
  /** OAuth access token. */
1893
2253
  access_token?: string;
1894
2254
  /** Data format for response. */
1895
- alt?: string;
2255
+ alt?: 'json' | 'media' | 'proto';
1896
2256
  /** JSONP */
1897
2257
  callback?: string;
1898
2258
  /** Selector specifying which fields to include in a partial response. */
@@ -1926,11 +2286,11 @@ declare namespace gapi.client {
1926
2286
  setIamPolicy(
1927
2287
  request: {
1928
2288
  /** V1 error format. */
1929
- '$.xgafv'?: string;
2289
+ '$.xgafv'?: '1' | '2';
1930
2290
  /** OAuth access token. */
1931
2291
  access_token?: string;
1932
2292
  /** Data format for response. */
1933
- alt?: string;
2293
+ alt?: 'json' | 'media' | 'proto';
1934
2294
  /** JSONP */
1935
2295
  callback?: string;
1936
2296
  /** Selector specifying which fields to include in a partial response. */
@@ -1956,11 +2316,11 @@ declare namespace gapi.client {
1956
2316
  testIamPermissions(
1957
2317
  request: {
1958
2318
  /** V1 error format. */
1959
- '$.xgafv'?: string;
2319
+ '$.xgafv'?: '1' | '2';
1960
2320
  /** OAuth access token. */
1961
2321
  access_token?: string;
1962
2322
  /** Data format for response. */
1963
- alt?: string;
2323
+ alt?: 'json' | 'media' | 'proto';
1964
2324
  /** JSONP */
1965
2325
  callback?: string;
1966
2326
  /** Selector specifying which fields to include in a partial response. */
@@ -1987,11 +2347,11 @@ declare namespace gapi.client {
1987
2347
  /** Creates a new mapping rule for a given conversion workspace. */
1988
2348
  create(request: {
1989
2349
  /** V1 error format. */
1990
- '$.xgafv'?: string;
2350
+ '$.xgafv'?: '1' | '2';
1991
2351
  /** OAuth access token. */
1992
2352
  access_token?: string;
1993
2353
  /** Data format for response. */
1994
- alt?: string;
2354
+ alt?: 'json' | 'media' | 'proto';
1995
2355
  /** JSONP */
1996
2356
  callback?: string;
1997
2357
  /** Selector specifying which fields to include in a partial response. */
@@ -2020,11 +2380,11 @@ declare namespace gapi.client {
2020
2380
  create(
2021
2381
  request: {
2022
2382
  /** V1 error format. */
2023
- '$.xgafv'?: string;
2383
+ '$.xgafv'?: '1' | '2';
2024
2384
  /** OAuth access token. */
2025
2385
  access_token?: string;
2026
2386
  /** Data format for response. */
2027
- alt?: string;
2387
+ alt?: 'json' | 'media' | 'proto';
2028
2388
  /** JSONP */
2029
2389
  callback?: string;
2030
2390
  /** Selector specifying which fields to include in a partial response. */
@@ -2053,11 +2413,11 @@ declare namespace gapi.client {
2053
2413
  /** Deletes a single mapping rule. */
2054
2414
  delete(request?: {
2055
2415
  /** V1 error format. */
2056
- '$.xgafv'?: string;
2416
+ '$.xgafv'?: '1' | '2';
2057
2417
  /** OAuth access token. */
2058
2418
  access_token?: string;
2059
2419
  /** Data format for response. */
2060
- alt?: string;
2420
+ alt?: 'json' | 'media' | 'proto';
2061
2421
  /** JSONP */
2062
2422
  callback?: string;
2063
2423
  /** Selector specifying which fields to include in a partial response. */
@@ -2082,11 +2442,11 @@ declare namespace gapi.client {
2082
2442
  /** Gets the details of a mapping rule. */
2083
2443
  get(request?: {
2084
2444
  /** V1 error format. */
2085
- '$.xgafv'?: string;
2445
+ '$.xgafv'?: '1' | '2';
2086
2446
  /** OAuth access token. */
2087
2447
  access_token?: string;
2088
2448
  /** Data format for response. */
2089
- alt?: string;
2449
+ alt?: 'json' | 'media' | 'proto';
2090
2450
  /** JSONP */
2091
2451
  callback?: string;
2092
2452
  /** Selector specifying which fields to include in a partial response. */
@@ -2109,11 +2469,11 @@ declare namespace gapi.client {
2109
2469
  /** Imports the mapping rules for a given conversion workspace. Supports various formats of external rules files. */
2110
2470
  import(request: {
2111
2471
  /** V1 error format. */
2112
- '$.xgafv'?: string;
2472
+ '$.xgafv'?: '1' | '2';
2113
2473
  /** OAuth access token. */
2114
2474
  access_token?: string;
2115
2475
  /** Data format for response. */
2116
- alt?: string;
2476
+ alt?: 'json' | 'media' | 'proto';
2117
2477
  /** JSONP */
2118
2478
  callback?: string;
2119
2479
  /** Selector specifying which fields to include in a partial response. */
@@ -2138,11 +2498,11 @@ declare namespace gapi.client {
2138
2498
  import(
2139
2499
  request: {
2140
2500
  /** V1 error format. */
2141
- '$.xgafv'?: string;
2501
+ '$.xgafv'?: '1' | '2';
2142
2502
  /** OAuth access token. */
2143
2503
  access_token?: string;
2144
2504
  /** Data format for response. */
2145
- alt?: string;
2505
+ alt?: 'json' | 'media' | 'proto';
2146
2506
  /** JSONP */
2147
2507
  callback?: string;
2148
2508
  /** Selector specifying which fields to include in a partial response. */
@@ -2167,11 +2527,11 @@ declare namespace gapi.client {
2167
2527
  /** Lists the mapping rules for a specific conversion workspace. */
2168
2528
  list(request?: {
2169
2529
  /** V1 error format. */
2170
- '$.xgafv'?: string;
2530
+ '$.xgafv'?: '1' | '2';
2171
2531
  /** OAuth access token. */
2172
2532
  access_token?: string;
2173
2533
  /** Data format for response. */
2174
- alt?: string;
2534
+ alt?: 'json' | 'media' | 'proto';
2175
2535
  /** JSONP */
2176
2536
  callback?: string;
2177
2537
  /** Selector specifying which fields to include in a partial response. */
@@ -2200,11 +2560,11 @@ declare namespace gapi.client {
2200
2560
  /** Applies draft tree onto a specific destination database. */
2201
2561
  apply(request: {
2202
2562
  /** V1 error format. */
2203
- '$.xgafv'?: string;
2563
+ '$.xgafv'?: '1' | '2';
2204
2564
  /** OAuth access token. */
2205
2565
  access_token?: string;
2206
2566
  /** Data format for response. */
2207
- alt?: string;
2567
+ alt?: 'json' | 'media' | 'proto';
2208
2568
  /** JSONP */
2209
2569
  callback?: string;
2210
2570
  /** Selector specifying which fields to include in a partial response. */
@@ -2229,11 +2589,11 @@ declare namespace gapi.client {
2229
2589
  apply(
2230
2590
  request: {
2231
2591
  /** V1 error format. */
2232
- '$.xgafv'?: string;
2592
+ '$.xgafv'?: '1' | '2';
2233
2593
  /** OAuth access token. */
2234
2594
  access_token?: string;
2235
2595
  /** Data format for response. */
2236
- alt?: string;
2596
+ alt?: 'json' | 'media' | 'proto';
2237
2597
  /** JSONP */
2238
2598
  callback?: string;
2239
2599
  /** Selector specifying which fields to include in a partial response. */
@@ -2258,11 +2618,11 @@ declare namespace gapi.client {
2258
2618
  /** Marks all the data in the conversion workspace as committed. */
2259
2619
  commit(request: {
2260
2620
  /** V1 error format. */
2261
- '$.xgafv'?: string;
2621
+ '$.xgafv'?: '1' | '2';
2262
2622
  /** OAuth access token. */
2263
2623
  access_token?: string;
2264
2624
  /** Data format for response. */
2265
- alt?: string;
2625
+ alt?: 'json' | 'media' | 'proto';
2266
2626
  /** JSONP */
2267
2627
  callback?: string;
2268
2628
  /** Selector specifying which fields to include in a partial response. */
@@ -2287,11 +2647,11 @@ declare namespace gapi.client {
2287
2647
  commit(
2288
2648
  request: {
2289
2649
  /** V1 error format. */
2290
- '$.xgafv'?: string;
2650
+ '$.xgafv'?: '1' | '2';
2291
2651
  /** OAuth access token. */
2292
2652
  access_token?: string;
2293
2653
  /** Data format for response. */
2294
- alt?: string;
2654
+ alt?: 'json' | 'media' | 'proto';
2295
2655
  /** JSONP */
2296
2656
  callback?: string;
2297
2657
  /** Selector specifying which fields to include in a partial response. */
@@ -2316,11 +2676,11 @@ declare namespace gapi.client {
2316
2676
  /** Creates a draft tree schema for the destination database. */
2317
2677
  convert(request: {
2318
2678
  /** V1 error format. */
2319
- '$.xgafv'?: string;
2679
+ '$.xgafv'?: '1' | '2';
2320
2680
  /** OAuth access token. */
2321
2681
  access_token?: string;
2322
2682
  /** Data format for response. */
2323
- alt?: string;
2683
+ alt?: 'json' | 'media' | 'proto';
2324
2684
  /** JSONP */
2325
2685
  callback?: string;
2326
2686
  /** Selector specifying which fields to include in a partial response. */
@@ -2345,11 +2705,11 @@ declare namespace gapi.client {
2345
2705
  convert(
2346
2706
  request: {
2347
2707
  /** V1 error format. */
2348
- '$.xgafv'?: string;
2708
+ '$.xgafv'?: '1' | '2';
2349
2709
  /** OAuth access token. */
2350
2710
  access_token?: string;
2351
2711
  /** Data format for response. */
2352
- alt?: string;
2712
+ alt?: 'json' | 'media' | 'proto';
2353
2713
  /** JSONP */
2354
2714
  callback?: string;
2355
2715
  /** Selector specifying which fields to include in a partial response. */
@@ -2374,11 +2734,11 @@ declare namespace gapi.client {
2374
2734
  /** Creates a new conversion workspace in a given project and location. */
2375
2735
  create(request: {
2376
2736
  /** V1 error format. */
2377
- '$.xgafv'?: string;
2737
+ '$.xgafv'?: '1' | '2';
2378
2738
  /** OAuth access token. */
2379
2739
  access_token?: string;
2380
2740
  /** Data format for response. */
2381
- alt?: string;
2741
+ alt?: 'json' | 'media' | 'proto';
2382
2742
  /** JSONP */
2383
2743
  callback?: string;
2384
2744
  /** Required. The ID of the conversion workspace to create. */
@@ -2407,11 +2767,11 @@ declare namespace gapi.client {
2407
2767
  create(
2408
2768
  request: {
2409
2769
  /** V1 error format. */
2410
- '$.xgafv'?: string;
2770
+ '$.xgafv'?: '1' | '2';
2411
2771
  /** OAuth access token. */
2412
2772
  access_token?: string;
2413
2773
  /** Data format for response. */
2414
- alt?: string;
2774
+ alt?: 'json' | 'media' | 'proto';
2415
2775
  /** JSONP */
2416
2776
  callback?: string;
2417
2777
  /** Required. The ID of the conversion workspace to create. */
@@ -2440,11 +2800,11 @@ declare namespace gapi.client {
2440
2800
  /** Deletes a single conversion workspace. */
2441
2801
  delete(request?: {
2442
2802
  /** V1 error format. */
2443
- '$.xgafv'?: string;
2803
+ '$.xgafv'?: '1' | '2';
2444
2804
  /** OAuth access token. */
2445
2805
  access_token?: string;
2446
2806
  /** Data format for response. */
2447
- alt?: string;
2807
+ alt?: 'json' | 'media' | 'proto';
2448
2808
  /** JSONP */
2449
2809
  callback?: string;
2450
2810
  /** Selector specifying which fields to include in a partial response. */
@@ -2471,11 +2831,11 @@ declare namespace gapi.client {
2471
2831
  /** Retrieves a list of committed revisions of a specific conversion workspace. */
2472
2832
  describeConversionWorkspaceRevisions(request?: {
2473
2833
  /** V1 error format. */
2474
- '$.xgafv'?: string;
2834
+ '$.xgafv'?: '1' | '2';
2475
2835
  /** OAuth access token. */
2476
2836
  access_token?: string;
2477
2837
  /** Data format for response. */
2478
- alt?: string;
2838
+ alt?: 'json' | 'media' | 'proto';
2479
2839
  /** JSONP */
2480
2840
  callback?: string;
2481
2841
  /** Optional. Optional filter to request a specific commit ID. */
@@ -2500,11 +2860,11 @@ declare namespace gapi.client {
2500
2860
  /** 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
2861
  describeDatabaseEntities(request?: {
2502
2862
  /** V1 error format. */
2503
- '$.xgafv'?: string;
2863
+ '$.xgafv'?: '1' | '2';
2504
2864
  /** OAuth access token. */
2505
2865
  access_token?: string;
2506
2866
  /** Data format for response. */
2507
- alt?: string;
2867
+ alt?: 'json' | 'media' | 'proto';
2508
2868
  /** JSONP */
2509
2869
  callback?: string;
2510
2870
  /** Optional. Request a specific commit ID. If not specified, the entities from the latest commit are returned. */
@@ -2528,7 +2888,11 @@ declare namespace gapi.client {
2528
2888
  /** 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
2889
  quotaUser?: string;
2530
2890
  /** Required. The tree to fetch. */
2531
- tree?: string;
2891
+ tree?:
2892
+ | 'DB_TREE_TYPE_UNSPECIFIED'
2893
+ | 'SOURCE_TREE'
2894
+ | 'DRAFT_TREE'
2895
+ | 'DESTINATION_TREE';
2532
2896
  /** 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
2897
  uncommitted?: boolean;
2534
2898
  /** Upload protocol for media (e.g. "raw", "multipart"). */
@@ -2536,16 +2900,21 @@ declare namespace gapi.client {
2536
2900
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2537
2901
  uploadType?: string;
2538
2902
  /** Optional. Results view based on AIP-157 */
2539
- view?: string;
2903
+ view?:
2904
+ | 'DATABASE_ENTITY_VIEW_UNSPECIFIED'
2905
+ | 'DATABASE_ENTITY_VIEW_BASIC'
2906
+ | 'DATABASE_ENTITY_VIEW_FULL'
2907
+ | 'DATABASE_ENTITY_VIEW_ROOT_SUMMARY'
2908
+ | 'DATABASE_ENTITY_VIEW_FULL_COMPACT';
2540
2909
  }): Request<DescribeDatabaseEntitiesResponse>;
2541
2910
  /** Gets details of a single conversion workspace. */
2542
2911
  get(request?: {
2543
2912
  /** V1 error format. */
2544
- '$.xgafv'?: string;
2913
+ '$.xgafv'?: '1' | '2';
2545
2914
  /** OAuth access token. */
2546
2915
  access_token?: string;
2547
2916
  /** Data format for response. */
2548
- alt?: string;
2917
+ alt?: 'json' | 'media' | 'proto';
2549
2918
  /** JSONP */
2550
2919
  callback?: string;
2551
2920
  /** Selector specifying which fields to include in a partial response. */
@@ -2568,11 +2937,11 @@ declare namespace gapi.client {
2568
2937
  /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
2569
2938
  getIamPolicy(request?: {
2570
2939
  /** V1 error format. */
2571
- '$.xgafv'?: string;
2940
+ '$.xgafv'?: '1' | '2';
2572
2941
  /** OAuth access token. */
2573
2942
  access_token?: string;
2574
2943
  /** Data format for response. */
2575
- alt?: string;
2944
+ alt?: 'json' | 'media' | 'proto';
2576
2945
  /** JSONP */
2577
2946
  callback?: string;
2578
2947
  /** Selector specifying which fields to include in a partial response. */
@@ -2597,11 +2966,11 @@ declare namespace gapi.client {
2597
2966
  /** Lists conversion workspaces in a given project and location. */
2598
2967
  list(request?: {
2599
2968
  /** V1 error format. */
2600
- '$.xgafv'?: string;
2969
+ '$.xgafv'?: '1' | '2';
2601
2970
  /** OAuth access token. */
2602
2971
  access_token?: string;
2603
2972
  /** Data format for response. */
2604
- alt?: string;
2973
+ alt?: 'json' | 'media' | 'proto';
2605
2974
  /** JSONP */
2606
2975
  callback?: string;
2607
2976
  /** Selector specifying which fields to include in a partial response. */
@@ -2630,11 +2999,11 @@ declare namespace gapi.client {
2630
2999
  /** Updates the parameters of a single conversion workspace. */
2631
3000
  patch(request: {
2632
3001
  /** V1 error format. */
2633
- '$.xgafv'?: string;
3002
+ '$.xgafv'?: '1' | '2';
2634
3003
  /** OAuth access token. */
2635
3004
  access_token?: string;
2636
3005
  /** Data format for response. */
2637
- alt?: string;
3006
+ alt?: 'json' | 'media' | 'proto';
2638
3007
  /** JSONP */
2639
3008
  callback?: string;
2640
3009
  /** Selector specifying which fields to include in a partial response. */
@@ -2663,11 +3032,11 @@ declare namespace gapi.client {
2663
3032
  patch(
2664
3033
  request: {
2665
3034
  /** V1 error format. */
2666
- '$.xgafv'?: string;
3035
+ '$.xgafv'?: '1' | '2';
2667
3036
  /** OAuth access token. */
2668
3037
  access_token?: string;
2669
3038
  /** Data format for response. */
2670
- alt?: string;
3039
+ alt?: 'json' | 'media' | 'proto';
2671
3040
  /** JSONP */
2672
3041
  callback?: string;
2673
3042
  /** Selector specifying which fields to include in a partial response. */
@@ -2696,11 +3065,11 @@ declare namespace gapi.client {
2696
3065
  /** Rolls back a conversion workspace to the last committed snapshot. */
2697
3066
  rollback(request: {
2698
3067
  /** V1 error format. */
2699
- '$.xgafv'?: string;
3068
+ '$.xgafv'?: '1' | '2';
2700
3069
  /** OAuth access token. */
2701
3070
  access_token?: string;
2702
3071
  /** Data format for response. */
2703
- alt?: string;
3072
+ alt?: 'json' | 'media' | 'proto';
2704
3073
  /** JSONP */
2705
3074
  callback?: string;
2706
3075
  /** Selector specifying which fields to include in a partial response. */
@@ -2725,11 +3094,11 @@ declare namespace gapi.client {
2725
3094
  rollback(
2726
3095
  request: {
2727
3096
  /** V1 error format. */
2728
- '$.xgafv'?: string;
3097
+ '$.xgafv'?: '1' | '2';
2729
3098
  /** OAuth access token. */
2730
3099
  access_token?: string;
2731
3100
  /** Data format for response. */
2732
- alt?: string;
3101
+ alt?: 'json' | 'media' | 'proto';
2733
3102
  /** JSONP */
2734
3103
  callback?: string;
2735
3104
  /** Selector specifying which fields to include in a partial response. */
@@ -2754,11 +3123,11 @@ declare namespace gapi.client {
2754
3123
  /** 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
3124
  searchBackgroundJobs(request?: {
2756
3125
  /** V1 error format. */
2757
- '$.xgafv'?: string;
3126
+ '$.xgafv'?: '1' | '2';
2758
3127
  /** OAuth access token. */
2759
3128
  access_token?: string;
2760
3129
  /** Data format for response. */
2761
- alt?: string;
3130
+ alt?: 'json' | 'media' | 'proto';
2762
3131
  /** JSONP */
2763
3132
  callback?: string;
2764
3133
  /** Optional. If provided, only returns jobs that completed until (not including) the given timestamp. */
@@ -2787,11 +3156,11 @@ declare namespace gapi.client {
2787
3156
  /** Imports a snapshot of the source database into the conversion workspace. */
2788
3157
  seed(request: {
2789
3158
  /** V1 error format. */
2790
- '$.xgafv'?: string;
3159
+ '$.xgafv'?: '1' | '2';
2791
3160
  /** OAuth access token. */
2792
3161
  access_token?: string;
2793
3162
  /** Data format for response. */
2794
- alt?: string;
3163
+ alt?: 'json' | 'media' | 'proto';
2795
3164
  /** JSONP */
2796
3165
  callback?: string;
2797
3166
  /** Selector specifying which fields to include in a partial response. */
@@ -2816,11 +3185,11 @@ declare namespace gapi.client {
2816
3185
  seed(
2817
3186
  request: {
2818
3187
  /** V1 error format. */
2819
- '$.xgafv'?: string;
3188
+ '$.xgafv'?: '1' | '2';
2820
3189
  /** OAuth access token. */
2821
3190
  access_token?: string;
2822
3191
  /** Data format for response. */
2823
- alt?: string;
3192
+ alt?: 'json' | 'media' | 'proto';
2824
3193
  /** JSONP */
2825
3194
  callback?: string;
2826
3195
  /** Selector specifying which fields to include in a partial response. */
@@ -2846,11 +3215,11 @@ declare namespace gapi.client {
2846
3215
  setIamPolicy(
2847
3216
  request: {
2848
3217
  /** V1 error format. */
2849
- '$.xgafv'?: string;
3218
+ '$.xgafv'?: '1' | '2';
2850
3219
  /** OAuth access token. */
2851
3220
  access_token?: string;
2852
3221
  /** Data format for response. */
2853
- alt?: string;
3222
+ alt?: 'json' | 'media' | 'proto';
2854
3223
  /** JSONP */
2855
3224
  callback?: string;
2856
3225
  /** Selector specifying which fields to include in a partial response. */
@@ -2876,11 +3245,11 @@ declare namespace gapi.client {
2876
3245
  testIamPermissions(
2877
3246
  request: {
2878
3247
  /** V1 error format. */
2879
- '$.xgafv'?: string;
3248
+ '$.xgafv'?: '1' | '2';
2880
3249
  /** OAuth access token. */
2881
3250
  access_token?: string;
2882
3251
  /** Data format for response. */
2883
- alt?: string;
3252
+ alt?: 'json' | 'media' | 'proto';
2884
3253
  /** JSONP */
2885
3254
  callback?: string;
2886
3255
  /** Selector specifying which fields to include in a partial response. */
@@ -2908,11 +3277,11 @@ declare namespace gapi.client {
2908
3277
  /** Use this method to get details about a migration job object. */
2909
3278
  get(request?: {
2910
3279
  /** V1 error format. */
2911
- '$.xgafv'?: string;
3280
+ '$.xgafv'?: '1' | '2';
2912
3281
  /** OAuth access token. */
2913
3282
  access_token?: string;
2914
3283
  /** Data format for response. */
2915
- alt?: string;
3284
+ alt?: 'json' | 'media' | 'proto';
2916
3285
  /** JSONP */
2917
3286
  callback?: string;
2918
3287
  /** Selector specifying which fields to include in a partial response. */
@@ -2935,11 +3304,11 @@ declare namespace gapi.client {
2935
3304
  /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
2936
3305
  getIamPolicy(request?: {
2937
3306
  /** V1 error format. */
2938
- '$.xgafv'?: string;
3307
+ '$.xgafv'?: '1' | '2';
2939
3308
  /** OAuth access token. */
2940
3309
  access_token?: string;
2941
3310
  /** Data format for response. */
2942
- alt?: string;
3311
+ alt?: 'json' | 'media' | 'proto';
2943
3312
  /** JSONP */
2944
3313
  callback?: string;
2945
3314
  /** Selector specifying which fields to include in a partial response. */
@@ -2964,11 +3333,11 @@ declare namespace gapi.client {
2964
3333
  /** Use this method to list the objects of a specific migration job. */
2965
3334
  list(request?: {
2966
3335
  /** V1 error format. */
2967
- '$.xgafv'?: string;
3336
+ '$.xgafv'?: '1' | '2';
2968
3337
  /** OAuth access token. */
2969
3338
  access_token?: string;
2970
3339
  /** Data format for response. */
2971
- alt?: string;
3340
+ alt?: 'json' | 'media' | 'proto';
2972
3341
  /** JSONP */
2973
3342
  callback?: string;
2974
3343
  /** Selector specifying which fields to include in a partial response. */
@@ -2995,11 +3364,11 @@ declare namespace gapi.client {
2995
3364
  /** Use this method to look up a migration job object by its source object identifier. */
2996
3365
  lookup(request: {
2997
3366
  /** V1 error format. */
2998
- '$.xgafv'?: string;
3367
+ '$.xgafv'?: '1' | '2';
2999
3368
  /** OAuth access token. */
3000
3369
  access_token?: string;
3001
3370
  /** Data format for response. */
3002
- alt?: string;
3371
+ alt?: 'json' | 'media' | 'proto';
3003
3372
  /** JSONP */
3004
3373
  callback?: string;
3005
3374
  /** Selector specifying which fields to include in a partial response. */
@@ -3024,11 +3393,11 @@ declare namespace gapi.client {
3024
3393
  lookup(
3025
3394
  request: {
3026
3395
  /** V1 error format. */
3027
- '$.xgafv'?: string;
3396
+ '$.xgafv'?: '1' | '2';
3028
3397
  /** OAuth access token. */
3029
3398
  access_token?: string;
3030
3399
  /** Data format for response. */
3031
- alt?: string;
3400
+ alt?: 'json' | 'media' | 'proto';
3032
3401
  /** JSONP */
3033
3402
  callback?: string;
3034
3403
  /** Selector specifying which fields to include in a partial response. */
@@ -3054,11 +3423,11 @@ declare namespace gapi.client {
3054
3423
  setIamPolicy(
3055
3424
  request: {
3056
3425
  /** V1 error format. */
3057
- '$.xgafv'?: string;
3426
+ '$.xgafv'?: '1' | '2';
3058
3427
  /** OAuth access token. */
3059
3428
  access_token?: string;
3060
3429
  /** Data format for response. */
3061
- alt?: string;
3430
+ alt?: 'json' | 'media' | 'proto';
3062
3431
  /** JSONP */
3063
3432
  callback?: string;
3064
3433
  /** Selector specifying which fields to include in a partial response. */
@@ -3084,11 +3453,11 @@ declare namespace gapi.client {
3084
3453
  testIamPermissions(
3085
3454
  request: {
3086
3455
  /** V1 error format. */
3087
- '$.xgafv'?: string;
3456
+ '$.xgafv'?: '1' | '2';
3088
3457
  /** OAuth access token. */
3089
3458
  access_token?: string;
3090
3459
  /** Data format for response. */
3091
- alt?: string;
3460
+ alt?: 'json' | 'media' | 'proto';
3092
3461
  /** JSONP */
3093
3462
  callback?: string;
3094
3463
  /** Selector specifying which fields to include in a partial response. */
@@ -3115,11 +3484,11 @@ declare namespace gapi.client {
3115
3484
  /** Creates a new migration job in a given project and location. */
3116
3485
  create(request: {
3117
3486
  /** V1 error format. */
3118
- '$.xgafv'?: string;
3487
+ '$.xgafv'?: '1' | '2';
3119
3488
  /** OAuth access token. */
3120
3489
  access_token?: string;
3121
3490
  /** Data format for response. */
3122
- alt?: string;
3491
+ alt?: 'json' | 'media' | 'proto';
3123
3492
  /** JSONP */
3124
3493
  callback?: string;
3125
3494
  /** Selector specifying which fields to include in a partial response. */
@@ -3148,11 +3517,11 @@ declare namespace gapi.client {
3148
3517
  create(
3149
3518
  request: {
3150
3519
  /** V1 error format. */
3151
- '$.xgafv'?: string;
3520
+ '$.xgafv'?: '1' | '2';
3152
3521
  /** OAuth access token. */
3153
3522
  access_token?: string;
3154
3523
  /** Data format for response. */
3155
- alt?: string;
3524
+ alt?: 'json' | 'media' | 'proto';
3156
3525
  /** JSONP */
3157
3526
  callback?: string;
3158
3527
  /** Selector specifying which fields to include in a partial response. */
@@ -3181,11 +3550,11 @@ declare namespace gapi.client {
3181
3550
  /** Deletes a single migration job. */
3182
3551
  delete(request?: {
3183
3552
  /** V1 error format. */
3184
- '$.xgafv'?: string;
3553
+ '$.xgafv'?: '1' | '2';
3185
3554
  /** OAuth access token. */
3186
3555
  access_token?: string;
3187
3556
  /** Data format for response. */
3188
- alt?: string;
3557
+ alt?: 'json' | 'media' | 'proto';
3189
3558
  /** JSONP */
3190
3559
  callback?: string;
3191
3560
  /** Selector specifying which fields to include in a partial response. */
@@ -3212,11 +3581,11 @@ declare namespace gapi.client {
3212
3581
  /** 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
3582
  demoteDestination(request: {
3214
3583
  /** V1 error format. */
3215
- '$.xgafv'?: string;
3584
+ '$.xgafv'?: '1' | '2';
3216
3585
  /** OAuth access token. */
3217
3586
  access_token?: string;
3218
3587
  /** Data format for response. */
3219
- alt?: string;
3588
+ alt?: 'json' | 'media' | 'proto';
3220
3589
  /** JSONP */
3221
3590
  callback?: string;
3222
3591
  /** Selector specifying which fields to include in a partial response. */
@@ -3241,11 +3610,11 @@ declare namespace gapi.client {
3241
3610
  demoteDestination(
3242
3611
  request: {
3243
3612
  /** V1 error format. */
3244
- '$.xgafv'?: string;
3613
+ '$.xgafv'?: '1' | '2';
3245
3614
  /** OAuth access token. */
3246
3615
  access_token?: string;
3247
3616
  /** Data format for response. */
3248
- alt?: string;
3617
+ alt?: 'json' | 'media' | 'proto';
3249
3618
  /** JSONP */
3250
3619
  callback?: string;
3251
3620
  /** Selector specifying which fields to include in a partial response. */
@@ -3270,11 +3639,11 @@ declare namespace gapi.client {
3270
3639
  /** 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
3640
  fetchSourceObjects(request?: {
3272
3641
  /** V1 error format. */
3273
- '$.xgafv'?: string;
3642
+ '$.xgafv'?: '1' | '2';
3274
3643
  /** OAuth access token. */
3275
3644
  access_token?: string;
3276
3645
  /** Data format for response. */
3277
- alt?: string;
3646
+ alt?: 'json' | 'media' | 'proto';
3278
3647
  /** JSONP */
3279
3648
  callback?: string;
3280
3649
  /** Selector specifying which fields to include in a partial response. */
@@ -3297,11 +3666,11 @@ declare namespace gapi.client {
3297
3666
  /** Generate a SSH configuration script to configure the reverse SSH connectivity. */
3298
3667
  generateSshScript(request: {
3299
3668
  /** V1 error format. */
3300
- '$.xgafv'?: string;
3669
+ '$.xgafv'?: '1' | '2';
3301
3670
  /** OAuth access token. */
3302
3671
  access_token?: string;
3303
3672
  /** Data format for response. */
3304
- alt?: string;
3673
+ alt?: 'json' | 'media' | 'proto';
3305
3674
  /** JSONP */
3306
3675
  callback?: string;
3307
3676
  /** Selector specifying which fields to include in a partial response. */
@@ -3326,11 +3695,11 @@ declare namespace gapi.client {
3326
3695
  generateSshScript(
3327
3696
  request: {
3328
3697
  /** V1 error format. */
3329
- '$.xgafv'?: string;
3698
+ '$.xgafv'?: '1' | '2';
3330
3699
  /** OAuth access token. */
3331
3700
  access_token?: string;
3332
3701
  /** Data format for response. */
3333
- alt?: string;
3702
+ alt?: 'json' | 'media' | 'proto';
3334
3703
  /** JSONP */
3335
3704
  callback?: string;
3336
3705
  /** Selector specifying which fields to include in a partial response. */
@@ -3355,11 +3724,11 @@ declare namespace gapi.client {
3355
3724
  /** Generate a TCP Proxy configuration script to configure a cloud-hosted VM running a TCP Proxy. */
3356
3725
  generateTcpProxyScript(request: {
3357
3726
  /** V1 error format. */
3358
- '$.xgafv'?: string;
3727
+ '$.xgafv'?: '1' | '2';
3359
3728
  /** OAuth access token. */
3360
3729
  access_token?: string;
3361
3730
  /** Data format for response. */
3362
- alt?: string;
3731
+ alt?: 'json' | 'media' | 'proto';
3363
3732
  /** JSONP */
3364
3733
  callback?: string;
3365
3734
  /** Selector specifying which fields to include in a partial response. */
@@ -3384,11 +3753,11 @@ declare namespace gapi.client {
3384
3753
  generateTcpProxyScript(
3385
3754
  request: {
3386
3755
  /** V1 error format. */
3387
- '$.xgafv'?: string;
3756
+ '$.xgafv'?: '1' | '2';
3388
3757
  /** OAuth access token. */
3389
3758
  access_token?: string;
3390
3759
  /** Data format for response. */
3391
- alt?: string;
3760
+ alt?: 'json' | 'media' | 'proto';
3392
3761
  /** JSONP */
3393
3762
  callback?: string;
3394
3763
  /** Selector specifying which fields to include in a partial response. */
@@ -3413,11 +3782,11 @@ declare namespace gapi.client {
3413
3782
  /** Gets details of a single migration job. */
3414
3783
  get(request?: {
3415
3784
  /** V1 error format. */
3416
- '$.xgafv'?: string;
3785
+ '$.xgafv'?: '1' | '2';
3417
3786
  /** OAuth access token. */
3418
3787
  access_token?: string;
3419
3788
  /** Data format for response. */
3420
- alt?: string;
3789
+ alt?: 'json' | 'media' | 'proto';
3421
3790
  /** JSONP */
3422
3791
  callback?: string;
3423
3792
  /** Selector specifying which fields to include in a partial response. */
@@ -3440,11 +3809,11 @@ declare namespace gapi.client {
3440
3809
  /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
3441
3810
  getIamPolicy(request?: {
3442
3811
  /** V1 error format. */
3443
- '$.xgafv'?: string;
3812
+ '$.xgafv'?: '1' | '2';
3444
3813
  /** OAuth access token. */
3445
3814
  access_token?: string;
3446
3815
  /** Data format for response. */
3447
- alt?: string;
3816
+ alt?: 'json' | 'media' | 'proto';
3448
3817
  /** JSONP */
3449
3818
  callback?: string;
3450
3819
  /** Selector specifying which fields to include in a partial response. */
@@ -3469,11 +3838,11 @@ declare namespace gapi.client {
3469
3838
  /** Lists migration jobs in a given project and location. */
3470
3839
  list(request?: {
3471
3840
  /** V1 error format. */
3472
- '$.xgafv'?: string;
3841
+ '$.xgafv'?: '1' | '2';
3473
3842
  /** OAuth access token. */
3474
3843
  access_token?: string;
3475
3844
  /** Data format for response. */
3476
- alt?: string;
3845
+ alt?: 'json' | 'media' | 'proto';
3477
3846
  /** JSONP */
3478
3847
  callback?: string;
3479
3848
  /** Selector specifying which fields to include in a partial response. */
@@ -3504,11 +3873,11 @@ declare namespace gapi.client {
3504
3873
  /** Updates the parameters of a single migration job. */
3505
3874
  patch(request: {
3506
3875
  /** V1 error format. */
3507
- '$.xgafv'?: string;
3876
+ '$.xgafv'?: '1' | '2';
3508
3877
  /** OAuth access token. */
3509
3878
  access_token?: string;
3510
3879
  /** Data format for response. */
3511
- alt?: string;
3880
+ alt?: 'json' | 'media' | 'proto';
3512
3881
  /** JSONP */
3513
3882
  callback?: string;
3514
3883
  /** Selector specifying which fields to include in a partial response. */
@@ -3537,11 +3906,11 @@ declare namespace gapi.client {
3537
3906
  patch(
3538
3907
  request: {
3539
3908
  /** V1 error format. */
3540
- '$.xgafv'?: string;
3909
+ '$.xgafv'?: '1' | '2';
3541
3910
  /** OAuth access token. */
3542
3911
  access_token?: string;
3543
3912
  /** Data format for response. */
3544
- alt?: string;
3913
+ alt?: 'json' | 'media' | 'proto';
3545
3914
  /** JSONP */
3546
3915
  callback?: string;
3547
3916
  /** Selector specifying which fields to include in a partial response. */
@@ -3570,11 +3939,11 @@ declare namespace gapi.client {
3570
3939
  /** Promote a migration job, stopping replication to the destination and promoting the destination to be a standalone database. */
3571
3940
  promote(request: {
3572
3941
  /** V1 error format. */
3573
- '$.xgafv'?: string;
3942
+ '$.xgafv'?: '1' | '2';
3574
3943
  /** OAuth access token. */
3575
3944
  access_token?: string;
3576
3945
  /** Data format for response. */
3577
- alt?: string;
3946
+ alt?: 'json' | 'media' | 'proto';
3578
3947
  /** JSONP */
3579
3948
  callback?: string;
3580
3949
  /** Selector specifying which fields to include in a partial response. */
@@ -3599,11 +3968,11 @@ declare namespace gapi.client {
3599
3968
  promote(
3600
3969
  request: {
3601
3970
  /** V1 error format. */
3602
- '$.xgafv'?: string;
3971
+ '$.xgafv'?: '1' | '2';
3603
3972
  /** OAuth access token. */
3604
3973
  access_token?: string;
3605
3974
  /** Data format for response. */
3606
- alt?: string;
3975
+ alt?: 'json' | 'media' | 'proto';
3607
3976
  /** JSONP */
3608
3977
  callback?: string;
3609
3978
  /** Selector specifying which fields to include in a partial response. */
@@ -3628,11 +3997,11 @@ declare namespace gapi.client {
3628
3997
  /** Restart a stopped or failed migration job, resetting the destination instance to its original state and starting the migration process from scratch. */
3629
3998
  restart(request: {
3630
3999
  /** V1 error format. */
3631
- '$.xgafv'?: string;
4000
+ '$.xgafv'?: '1' | '2';
3632
4001
  /** OAuth access token. */
3633
4002
  access_token?: string;
3634
4003
  /** Data format for response. */
3635
- alt?: string;
4004
+ alt?: 'json' | 'media' | 'proto';
3636
4005
  /** JSONP */
3637
4006
  callback?: string;
3638
4007
  /** Selector specifying which fields to include in a partial response. */
@@ -3657,11 +4026,11 @@ declare namespace gapi.client {
3657
4026
  restart(
3658
4027
  request: {
3659
4028
  /** V1 error format. */
3660
- '$.xgafv'?: string;
4029
+ '$.xgafv'?: '1' | '2';
3661
4030
  /** OAuth access token. */
3662
4031
  access_token?: string;
3663
4032
  /** Data format for response. */
3664
- alt?: string;
4033
+ alt?: 'json' | 'media' | 'proto';
3665
4034
  /** JSONP */
3666
4035
  callback?: string;
3667
4036
  /** Selector specifying which fields to include in a partial response. */
@@ -3686,11 +4055,11 @@ declare namespace gapi.client {
3686
4055
  /** Resume a migration job that is currently stopped and is resumable (was stopped during CDC phase). */
3687
4056
  resume(request: {
3688
4057
  /** V1 error format. */
3689
- '$.xgafv'?: string;
4058
+ '$.xgafv'?: '1' | '2';
3690
4059
  /** OAuth access token. */
3691
4060
  access_token?: string;
3692
4061
  /** Data format for response. */
3693
- alt?: string;
4062
+ alt?: 'json' | 'media' | 'proto';
3694
4063
  /** JSONP */
3695
4064
  callback?: string;
3696
4065
  /** Selector specifying which fields to include in a partial response. */
@@ -3715,11 +4084,11 @@ declare namespace gapi.client {
3715
4084
  resume(
3716
4085
  request: {
3717
4086
  /** V1 error format. */
3718
- '$.xgafv'?: string;
4087
+ '$.xgafv'?: '1' | '2';
3719
4088
  /** OAuth access token. */
3720
4089
  access_token?: string;
3721
4090
  /** Data format for response. */
3722
- alt?: string;
4091
+ alt?: 'json' | 'media' | 'proto';
3723
4092
  /** JSONP */
3724
4093
  callback?: string;
3725
4094
  /** Selector specifying which fields to include in a partial response. */
@@ -3745,11 +4114,11 @@ declare namespace gapi.client {
3745
4114
  setIamPolicy(
3746
4115
  request: {
3747
4116
  /** V1 error format. */
3748
- '$.xgafv'?: string;
4117
+ '$.xgafv'?: '1' | '2';
3749
4118
  /** OAuth access token. */
3750
4119
  access_token?: string;
3751
4120
  /** Data format for response. */
3752
- alt?: string;
4121
+ alt?: 'json' | 'media' | 'proto';
3753
4122
  /** JSONP */
3754
4123
  callback?: string;
3755
4124
  /** Selector specifying which fields to include in a partial response. */
@@ -3774,11 +4143,11 @@ declare namespace gapi.client {
3774
4143
  /** Start an already created migration job. */
3775
4144
  start(request: {
3776
4145
  /** V1 error format. */
3777
- '$.xgafv'?: string;
4146
+ '$.xgafv'?: '1' | '2';
3778
4147
  /** OAuth access token. */
3779
4148
  access_token?: string;
3780
4149
  /** Data format for response. */
3781
- alt?: string;
4150
+ alt?: 'json' | 'media' | 'proto';
3782
4151
  /** JSONP */
3783
4152
  callback?: string;
3784
4153
  /** Selector specifying which fields to include in a partial response. */
@@ -3803,11 +4172,11 @@ declare namespace gapi.client {
3803
4172
  start(
3804
4173
  request: {
3805
4174
  /** V1 error format. */
3806
- '$.xgafv'?: string;
4175
+ '$.xgafv'?: '1' | '2';
3807
4176
  /** OAuth access token. */
3808
4177
  access_token?: string;
3809
4178
  /** Data format for response. */
3810
- alt?: string;
4179
+ alt?: 'json' | 'media' | 'proto';
3811
4180
  /** JSONP */
3812
4181
  callback?: string;
3813
4182
  /** Selector specifying which fields to include in a partial response. */
@@ -3832,11 +4201,11 @@ declare namespace gapi.client {
3832
4201
  /** Stops a running migration job. */
3833
4202
  stop(request: {
3834
4203
  /** V1 error format. */
3835
- '$.xgafv'?: string;
4204
+ '$.xgafv'?: '1' | '2';
3836
4205
  /** OAuth access token. */
3837
4206
  access_token?: string;
3838
4207
  /** Data format for response. */
3839
- alt?: string;
4208
+ alt?: 'json' | 'media' | 'proto';
3840
4209
  /** JSONP */
3841
4210
  callback?: string;
3842
4211
  /** Selector specifying which fields to include in a partial response. */
@@ -3861,11 +4230,11 @@ declare namespace gapi.client {
3861
4230
  stop(
3862
4231
  request: {
3863
4232
  /** V1 error format. */
3864
- '$.xgafv'?: string;
4233
+ '$.xgafv'?: '1' | '2';
3865
4234
  /** OAuth access token. */
3866
4235
  access_token?: string;
3867
4236
  /** Data format for response. */
3868
- alt?: string;
4237
+ alt?: 'json' | 'media' | 'proto';
3869
4238
  /** JSONP */
3870
4239
  callback?: string;
3871
4240
  /** Selector specifying which fields to include in a partial response. */
@@ -3891,11 +4260,11 @@ declare namespace gapi.client {
3891
4260
  testIamPermissions(
3892
4261
  request: {
3893
4262
  /** V1 error format. */
3894
- '$.xgafv'?: string;
4263
+ '$.xgafv'?: '1' | '2';
3895
4264
  /** OAuth access token. */
3896
4265
  access_token?: string;
3897
4266
  /** Data format for response. */
3898
- alt?: string;
4267
+ alt?: 'json' | 'media' | 'proto';
3899
4268
  /** JSONP */
3900
4269
  callback?: string;
3901
4270
  /** Selector specifying which fields to include in a partial response. */
@@ -3920,11 +4289,11 @@ declare namespace gapi.client {
3920
4289
  /** Verify a migration job, making sure the destination can reach the source and that all configuration and prerequisites are met. */
3921
4290
  verify(request: {
3922
4291
  /** V1 error format. */
3923
- '$.xgafv'?: string;
4292
+ '$.xgafv'?: '1' | '2';
3924
4293
  /** OAuth access token. */
3925
4294
  access_token?: string;
3926
4295
  /** Data format for response. */
3927
- alt?: string;
4296
+ alt?: 'json' | 'media' | 'proto';
3928
4297
  /** JSONP */
3929
4298
  callback?: string;
3930
4299
  /** Selector specifying which fields to include in a partial response. */
@@ -3949,11 +4318,11 @@ declare namespace gapi.client {
3949
4318
  verify(
3950
4319
  request: {
3951
4320
  /** V1 error format. */
3952
- '$.xgafv'?: string;
4321
+ '$.xgafv'?: '1' | '2';
3953
4322
  /** OAuth access token. */
3954
4323
  access_token?: string;
3955
4324
  /** Data format for response. */
3956
- alt?: string;
4325
+ alt?: 'json' | 'media' | 'proto';
3957
4326
  /** JSONP */
3958
4327
  callback?: string;
3959
4328
  /** Selector specifying which fields to include in a partial response. */
@@ -3981,11 +4350,11 @@ declare namespace gapi.client {
3981
4350
  /** 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
4351
  cancel(request: {
3983
4352
  /** V1 error format. */
3984
- '$.xgafv'?: string;
4353
+ '$.xgafv'?: '1' | '2';
3985
4354
  /** OAuth access token. */
3986
4355
  access_token?: string;
3987
4356
  /** Data format for response. */
3988
- alt?: string;
4357
+ alt?: 'json' | 'media' | 'proto';
3989
4358
  /** JSONP */
3990
4359
  callback?: string;
3991
4360
  /** Selector specifying which fields to include in a partial response. */
@@ -4010,11 +4379,11 @@ declare namespace gapi.client {
4010
4379
  cancel(
4011
4380
  request: {
4012
4381
  /** V1 error format. */
4013
- '$.xgafv'?: string;
4382
+ '$.xgafv'?: '1' | '2';
4014
4383
  /** OAuth access token. */
4015
4384
  access_token?: string;
4016
4385
  /** Data format for response. */
4017
- alt?: string;
4386
+ alt?: 'json' | 'media' | 'proto';
4018
4387
  /** JSONP */
4019
4388
  callback?: string;
4020
4389
  /** Selector specifying which fields to include in a partial response. */
@@ -4039,11 +4408,11 @@ declare namespace gapi.client {
4039
4408
  /** 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
4409
  delete(request?: {
4041
4410
  /** V1 error format. */
4042
- '$.xgafv'?: string;
4411
+ '$.xgafv'?: '1' | '2';
4043
4412
  /** OAuth access token. */
4044
4413
  access_token?: string;
4045
4414
  /** Data format for response. */
4046
- alt?: string;
4415
+ alt?: 'json' | 'media' | 'proto';
4047
4416
  /** JSONP */
4048
4417
  callback?: string;
4049
4418
  /** Selector specifying which fields to include in a partial response. */
@@ -4066,11 +4435,11 @@ declare namespace gapi.client {
4066
4435
  /** 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
4436
  get(request?: {
4068
4437
  /** V1 error format. */
4069
- '$.xgafv'?: string;
4438
+ '$.xgafv'?: '1' | '2';
4070
4439
  /** OAuth access token. */
4071
4440
  access_token?: string;
4072
4441
  /** Data format for response. */
4073
- alt?: string;
4442
+ alt?: 'json' | 'media' | 'proto';
4074
4443
  /** JSONP */
4075
4444
  callback?: string;
4076
4445
  /** Selector specifying which fields to include in a partial response. */
@@ -4093,11 +4462,11 @@ declare namespace gapi.client {
4093
4462
  /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
4094
4463
  list(request?: {
4095
4464
  /** V1 error format. */
4096
- '$.xgafv'?: string;
4465
+ '$.xgafv'?: '1' | '2';
4097
4466
  /** OAuth access token. */
4098
4467
  access_token?: string;
4099
4468
  /** Data format for response. */
4100
- alt?: string;
4469
+ alt?: 'json' | 'media' | 'proto';
4101
4470
  /** JSONP */
4102
4471
  callback?: string;
4103
4472
  /** Selector specifying which fields to include in a partial response. */
@@ -4130,11 +4499,11 @@ declare namespace gapi.client {
4130
4499
  /** Creates a new private connection in a given project and location. */
4131
4500
  create(request: {
4132
4501
  /** V1 error format. */
4133
- '$.xgafv'?: string;
4502
+ '$.xgafv'?: '1' | '2';
4134
4503
  /** OAuth access token. */
4135
4504
  access_token?: string;
4136
4505
  /** Data format for response. */
4137
- alt?: string;
4506
+ alt?: 'json' | 'media' | 'proto';
4138
4507
  /** JSONP */
4139
4508
  callback?: string;
4140
4509
  /** Selector specifying which fields to include in a partial response. */
@@ -4167,11 +4536,11 @@ declare namespace gapi.client {
4167
4536
  create(
4168
4537
  request: {
4169
4538
  /** V1 error format. */
4170
- '$.xgafv'?: string;
4539
+ '$.xgafv'?: '1' | '2';
4171
4540
  /** OAuth access token. */
4172
4541
  access_token?: string;
4173
4542
  /** Data format for response. */
4174
- alt?: string;
4543
+ alt?: 'json' | 'media' | 'proto';
4175
4544
  /** JSONP */
4176
4545
  callback?: string;
4177
4546
  /** Selector specifying which fields to include in a partial response. */
@@ -4204,11 +4573,11 @@ declare namespace gapi.client {
4204
4573
  /** Deletes a single Database Migration Service private connection. */
4205
4574
  delete(request?: {
4206
4575
  /** V1 error format. */
4207
- '$.xgafv'?: string;
4576
+ '$.xgafv'?: '1' | '2';
4208
4577
  /** OAuth access token. */
4209
4578
  access_token?: string;
4210
4579
  /** Data format for response. */
4211
- alt?: string;
4580
+ alt?: 'json' | 'media' | 'proto';
4212
4581
  /** JSONP */
4213
4582
  callback?: string;
4214
4583
  /** Selector specifying which fields to include in a partial response. */
@@ -4233,11 +4602,11 @@ declare namespace gapi.client {
4233
4602
  /** Gets details of a single private connection. */
4234
4603
  get(request?: {
4235
4604
  /** V1 error format. */
4236
- '$.xgafv'?: string;
4605
+ '$.xgafv'?: '1' | '2';
4237
4606
  /** OAuth access token. */
4238
4607
  access_token?: string;
4239
4608
  /** Data format for response. */
4240
- alt?: string;
4609
+ alt?: 'json' | 'media' | 'proto';
4241
4610
  /** JSONP */
4242
4611
  callback?: string;
4243
4612
  /** Selector specifying which fields to include in a partial response. */
@@ -4260,11 +4629,11 @@ declare namespace gapi.client {
4260
4629
  /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
4261
4630
  getIamPolicy(request?: {
4262
4631
  /** V1 error format. */
4263
- '$.xgafv'?: string;
4632
+ '$.xgafv'?: '1' | '2';
4264
4633
  /** OAuth access token. */
4265
4634
  access_token?: string;
4266
4635
  /** Data format for response. */
4267
- alt?: string;
4636
+ alt?: 'json' | 'media' | 'proto';
4268
4637
  /** JSONP */
4269
4638
  callback?: string;
4270
4639
  /** Selector specifying which fields to include in a partial response. */
@@ -4289,11 +4658,11 @@ declare namespace gapi.client {
4289
4658
  /** Retrieves a list of private connections in a given project and location. */
4290
4659
  list(request?: {
4291
4660
  /** V1 error format. */
4292
- '$.xgafv'?: string;
4661
+ '$.xgafv'?: '1' | '2';
4293
4662
  /** OAuth access token. */
4294
4663
  access_token?: string;
4295
4664
  /** Data format for response. */
4296
- alt?: string;
4665
+ alt?: 'json' | 'media' | 'proto';
4297
4666
  /** JSONP */
4298
4667
  callback?: string;
4299
4668
  /** Selector specifying which fields to include in a partial response. */
@@ -4325,11 +4694,11 @@ declare namespace gapi.client {
4325
4694
  setIamPolicy(
4326
4695
  request: {
4327
4696
  /** V1 error format. */
4328
- '$.xgafv'?: string;
4697
+ '$.xgafv'?: '1' | '2';
4329
4698
  /** OAuth access token. */
4330
4699
  access_token?: string;
4331
4700
  /** Data format for response. */
4332
- alt?: string;
4701
+ alt?: 'json' | 'media' | 'proto';
4333
4702
  /** JSONP */
4334
4703
  callback?: string;
4335
4704
  /** Selector specifying which fields to include in a partial response. */
@@ -4355,11 +4724,11 @@ declare namespace gapi.client {
4355
4724
  testIamPermissions(
4356
4725
  request: {
4357
4726
  /** V1 error format. */
4358
- '$.xgafv'?: string;
4727
+ '$.xgafv'?: '1' | '2';
4359
4728
  /** OAuth access token. */
4360
4729
  access_token?: string;
4361
4730
  /** Data format for response. */
4362
- alt?: string;
4731
+ alt?: 'json' | 'media' | 'proto';
4363
4732
  /** JSONP */
4364
4733
  callback?: string;
4365
4734
  /** Selector specifying which fields to include in a partial response. */
@@ -4386,11 +4755,11 @@ declare namespace gapi.client {
4386
4755
  /** Fetches a set of static IP addresses that need to be allowlisted by the customer when using the static-IP connectivity method. */
4387
4756
  fetchStaticIps(request?: {
4388
4757
  /** V1 error format. */
4389
- '$.xgafv'?: string;
4758
+ '$.xgafv'?: '1' | '2';
4390
4759
  /** OAuth access token. */
4391
4760
  access_token?: string;
4392
4761
  /** Data format for response. */
4393
- alt?: string;
4762
+ alt?: 'json' | 'media' | 'proto';
4394
4763
  /** JSONP */
4395
4764
  callback?: string;
4396
4765
  /** Selector specifying which fields to include in a partial response. */
@@ -4417,11 +4786,11 @@ declare namespace gapi.client {
4417
4786
  /** Gets information about a location. */
4418
4787
  get(request?: {
4419
4788
  /** V1 error format. */
4420
- '$.xgafv'?: string;
4789
+ '$.xgafv'?: '1' | '2';
4421
4790
  /** OAuth access token. */
4422
4791
  access_token?: string;
4423
4792
  /** Data format for response. */
4424
- alt?: string;
4793
+ alt?: 'json' | 'media' | 'proto';
4425
4794
  /** JSONP */
4426
4795
  callback?: string;
4427
4796
  /** Selector specifying which fields to include in a partial response. */
@@ -4441,17 +4810,17 @@ declare namespace gapi.client {
4441
4810
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4442
4811
  uploadType?: string;
4443
4812
  }): Request<Location>;
4444
- /** 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. */
4813
+ /** Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version. */
4445
4814
  list(request?: {
4446
4815
  /** V1 error format. */
4447
- '$.xgafv'?: string;
4816
+ '$.xgafv'?: '1' | '2';
4448
4817
  /** OAuth access token. */
4449
4818
  access_token?: string;
4450
4819
  /** Data format for response. */
4451
- alt?: string;
4820
+ alt?: 'json' | 'media' | 'proto';
4452
4821
  /** JSONP */
4453
4822
  callback?: string;
4454
- /** Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage. */
4823
+ /** Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. */
4455
4824
  extraLocationTypes?: string | string[];
4456
4825
  /** Selector specifying which fields to include in a partial response. */
4457
4826
  fields?: string;