@maxim_mazurok/gapi.client.datamigration-v1 0.0.20230201 → 0.0.20230222

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 +229 -178
  2. package/package.json +1 -1
  3. package/tests.ts +13 -7
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: 20230201
12
+ // Revision: 20230222
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -46,6 +46,12 @@ declare namespace gapi.client {
46
46
  /** Filter which entities to apply. Leaving this field empty will apply all of the entities. Supports Google AIP 160 based filtering. */
47
47
  filter?: string;
48
48
  }
49
+ interface ApplyJobDetails {
50
+ /** The connection profile which was used for the apply job. */
51
+ connectionProfile?: string;
52
+ /** AIP-160 based filter used to specify the entities to apply */
53
+ filter?: string;
54
+ }
49
55
  interface AuditConfig {
50
56
  /** The configuration for logging of each type of permission. */
51
57
  auditLogConfigs?: AuditLogConfig[];
@@ -62,21 +68,25 @@ declare namespace gapi.client {
62
68
  logType?: string;
63
69
  }
64
70
  interface BackgroundJobLogEntry {
65
- /** Job completion comment, such as how many entities were seeded, how many warnings were found during conversion and similar information. */
71
+ /** Apply job details. */
72
+ applyJobDetails?: ApplyJobDetails;
73
+ /** Job completion comment, such as how many entities were seeded, how many warnings were found during conversion, and similar information. */
66
74
  completionComment?: string;
67
75
  /** Job completion state, i.e. the final state after the job completed. */
68
76
  completionState?: string;
77
+ /** Convert job details. */
78
+ convertJobDetails?: ConvertJobDetails;
69
79
  /** The timestamp when the background job was finished. */
70
80
  finishTime?: string;
71
- /** The background job log entry id */
81
+ /** The background job log entry ID. */
72
82
  id?: string;
73
- /** Import rules job details */
83
+ /** Import rules job details. */
74
84
  importRulesJobDetails?: ImportRulesJobDetails;
75
85
  /** The type of job that was executed. */
76
86
  jobType?: string;
77
87
  /** Whether the client requested the conversion workspace to be committed after a successful completion of the job. */
78
88
  requestAutocommit?: boolean;
79
- /** Seed job details */
89
+ /** Seed job details. */
80
90
  seedJobDetails?: SeedJobDetails;
81
91
  /** The timestamp when the background job was started. */
82
92
  startTime?: string;
@@ -183,41 +193,41 @@ declare namespace gapi.client {
183
193
  zone?: string;
184
194
  }
185
195
  interface ColumnEntity {
186
- /** Is the column of array type */
196
+ /** Is the column of array type. */
187
197
  array?: boolean;
188
- /** If the column is array, of which length */
198
+ /** If the column is array, of which length. */
189
199
  arrayLength?: number;
190
- /** Is the column auto-generated/identity */
200
+ /** Is the column auto-generated/identity. */
191
201
  autoGenerated?: boolean;
192
- /** Charset override - instead of table level charset */
202
+ /** Charset override - instead of table level charset. */
193
203
  charset?: string;
194
- /** Collation override - instead of table level collation */
204
+ /** Collation override - instead of table level collation. */
195
205
  collation?: string;
196
- /** Comment associated with the column */
206
+ /** Comment associated with the column. */
197
207
  comment?: string;
198
- /** Custom engine specific features */
208
+ /** Custom engine specific features. */
199
209
  customFeatures?: { [P in string]: any };
200
- /** Column data type */
210
+ /** Column data type. */
201
211
  dataType?: string;
202
- /** Default value of the column */
212
+ /** Default value of the column. */
203
213
  defaultValue?: string;
204
- /** Column fractional second precision - used for timestamp based datatypes */
214
+ /** Column fractional second precision - used for timestamp based datatypes. */
205
215
  fractionalSecondsPrecision?: number;
206
- /** Column length - e.g. varchar (50) */
216
+ /** Column length - e.g. varchar (50). */
207
217
  length?: string;
208
- /** Column name */
218
+ /** Column name. */
209
219
  name?: string;
210
- /** Is the column nullable */
220
+ /** Is the column nullable. */
211
221
  nullable?: boolean;
212
- /** Column order in the table */
222
+ /** Column order in the table. */
213
223
  ordinalPosition?: number;
214
- /** Column precision - when relevant */
224
+ /** Column precision - when relevant. */
215
225
  precision?: number;
216
- /** Column scale - when relevant */
226
+ /** Column scale - when relevant. */
217
227
  scale?: number;
218
- /** Specifies the list of values allowed in the column. List is empty if set values is not required */
228
+ /** Specifies the list of values allowed in the column. List is empty if setValues is not required. */
219
229
  setValues?: string[];
220
- /** Is the column a UDT */
230
+ /** Is the column a UDT. */
221
231
  udt?: boolean;
222
232
  }
223
233
  interface CommitConversionWorkspaceRequest {
@@ -256,28 +266,28 @@ declare namespace gapi.client {
256
266
  updateTime?: string;
257
267
  }
258
268
  interface ConstraintEntity {
259
- /** Custom engine specific features */
269
+ /** Custom engine specific features. */
260
270
  customFeatures?: { [P in string]: any };
261
- /** The name of the table constraint */
271
+ /** The name of the table constraint. */
262
272
  name?: string;
263
273
  /**
264
- * Reference Columns which may be associated with the constraint. eg: if the constraint is a FOREIGN_KEY, this represents the list of full names of referenced columns by the foreign
265
- * key.
274
+ * Reference columns which may be associated with the constraint. For example, if the constraint is a FOREIGN_KEY, this represents the list of full names of referenced columns by the
275
+ * foreign key.
266
276
  */
267
277
  referenceColumns?: string[];
268
278
  /**
269
- * Reference table which may be associated with the constraint. eg: if the constraint is a FOREIGN_KEY, this represents the list of full name of the referenced table by the foreign
270
- * key.
279
+ * Reference table which may be associated with the constraint. For example, if the constraint is a FOREIGN_KEY, this represents the list of full name of the referenced table by the
280
+ * foreign key.
271
281
  */
272
282
  referenceTable?: string;
273
- /** Table columns used as part of the Constraint for e.g. primary key constraint should list the columns which constitutes the key */
283
+ /** Table columns used as part of the Constraint, for example primary key constraint should list the columns which constitutes the key. */
274
284
  tableColumns?: string[];
275
285
  /**
276
286
  * Table which is associated with the constraint. In case the constraint is defined on a table, this field is left empty as this information is stored in parent_name. However, if
277
287
  * constraint is defined on a view, this field stores the table name on which the view is defined.
278
288
  */
279
289
  tableName?: string;
280
- /** Type of constraint - e.g. unique, primary key, foreign key (currently only primary key is supported) */
290
+ /** Type of constraint, for example unique, primary key, foreign key (currently only primary key is supported). */
281
291
  type?: string;
282
292
  }
283
293
  interface ConversionWorkspace {
@@ -285,16 +295,16 @@ declare namespace gapi.client {
285
295
  createTime?: string;
286
296
  /** Required. The destination engine details. */
287
297
  destination?: DatabaseEngineInfo;
288
- /** The display name for the workspace */
298
+ /** The display name for the workspace. */
289
299
  displayName?: string;
290
300
  /**
291
301
  * 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
292
302
  * features. Such examples can be: convert_foreign_key_to_interleave=true, skip_triggers=false, ignore_non_table_synonyms=true
293
303
  */
294
304
  globalSettings?: { [P in string]: string };
295
- /** Output only. Whether the workspace has uncommitted changes (changes which were made after the workspace was committed) */
305
+ /** Output only. Whether the workspace has uncommitted changes (changes which were made after the workspace was committed). */
296
306
  hasUncommittedChanges?: boolean;
297
- /** Output only. The latest commit id */
307
+ /** Output only. The latest commit ID. */
298
308
  latestCommitId?: string;
299
309
  /** Output only. The timestamp when the workspace was committed. */
300
310
  latestCommitTime?: string;
@@ -312,21 +322,25 @@ declare namespace gapi.client {
312
322
  name?: string;
313
323
  }
314
324
  interface ConvertConversionWorkspaceRequest {
315
- /** Should the conversion workspace be committed automatically after the conversion. */
325
+ /** Specifies whether the conversion workspace is to be committed automatically after the conversion. */
316
326
  autoCommit?: boolean;
317
327
  /** Filter the entities to convert. Leaving this field empty will convert all of the entities. Supports Google AIP-160 style filtering. */
318
328
  filter?: string;
319
329
  }
330
+ interface ConvertJobDetails {
331
+ /** AIP-160 based filter used to specify the entities to convert */
332
+ filter?: string;
333
+ }
320
334
  interface DatabaseEngineInfo {
321
- /** Required. Engine Type. */
335
+ /** Required. Engine type. */
322
336
  engine?: string;
323
- /** Required. Engine named version, for e.g. 12.c.1 */
337
+ /** Required. Engine named version, for example 12.c.1. */
324
338
  version?: string;
325
339
  }
326
340
  interface DatabaseEntity {
327
- /** Function */
341
+ /** Function. */
328
342
  databaseFunction?: FunctionEntity;
329
- /** Package */
343
+ /** Package. */
330
344
  databasePackage?: PackageEntity;
331
345
  /** The type of the database entity (table, view, index, ...). */
332
346
  entityType?: string;
@@ -339,19 +353,19 @@ declare namespace gapi.client {
339
353
  parentEntity?: string;
340
354
  /** Schema. */
341
355
  schema?: SchemaEntity;
342
- /** Sequence */
356
+ /** Sequence. */
343
357
  sequence?: SequenceEntity;
344
358
  /** The short name (e.g. table name) of the entity. */
345
359
  shortName?: string;
346
- /** Stored Procedure */
360
+ /** Stored procedure. */
347
361
  storedProcedure?: StoredProcedureEntity;
348
- /** Synonym */
362
+ /** Synonym. */
349
363
  synonym?: SynonymEntity;
350
364
  /** Table. */
351
365
  table?: TableEntity;
352
366
  /** The type of tree the entity belongs to. */
353
367
  tree?: string;
354
- /** View */
368
+ /** View. */
355
369
  view?: ViewEntity;
356
370
  }
357
371
  interface DatabaseType {
@@ -367,7 +381,7 @@ declare namespace gapi.client {
367
381
  interface DescribeDatabaseEntitiesResponse {
368
382
  /** The list of database entities for the conversion workspace. */
369
383
  databaseEntities?: DatabaseEntity[];
370
- /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
384
+ /** A token which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
371
385
  nextPageToken?: string;
372
386
  }
373
387
  interface DumpFlag {
@@ -384,22 +398,22 @@ declare namespace gapi.client {
384
398
  interface Empty {
385
399
  }
386
400
  interface EntityMapping {
387
- /** Target entity full name. The draft entity can also include a column, index or constraint using the same naming notation schema.table.column */
401
+ /** Target entity full name. The draft entity can also include a column, index or constraint using the same naming notation schema.table.column. */
388
402
  draftEntity?: string;
389
403
  /**
390
- * 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
391
- * entity type. In addition, rules which did not change the entity are also logged along the with the reason preventing them to do so.
404
+ * 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
405
+ * entity type. In addition, rules which did not change the entity are also logged along with the reason preventing them to do so.
392
406
  */
393
407
  mappingLog?: EntityMappingLogEntry[];
394
- /** Source entity full name. The source entity can also be a column, index or constraint using the same naming notation schema.table.column */
408
+ /** Source entity full name. The source entity can also be a column, index or constraint using the same naming notation schema.table.column. */
395
409
  sourceEntity?: string;
396
410
  }
397
411
  interface EntityMappingLogEntry {
398
412
  /** Comment. */
399
413
  mappingComment?: string;
400
- /** Which rule caused it. */
414
+ /** Which rule caused this log entry. */
401
415
  ruleId?: string;
402
- /** Rule revision id */
416
+ /** Rule revision ID. */
403
417
  ruleRevisionId?: string;
404
418
  }
405
419
  interface Expr {
@@ -412,6 +426,12 @@ declare namespace gapi.client {
412
426
  /** Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression. */
413
427
  title?: string;
414
428
  }
429
+ interface FetchStaticIpsResponse {
430
+ /** A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
431
+ nextPageToken?: string;
432
+ /** List of static IPs. */
433
+ staticIps?: string[];
434
+ }
415
435
  interface ForwardSshTunnelConnectivity {
416
436
  /** Required. Hostname for the SSH tunnel. */
417
437
  hostname?: string;
@@ -425,9 +445,9 @@ declare namespace gapi.client {
425
445
  username?: string;
426
446
  }
427
447
  interface FunctionEntity {
428
- /** Custom engine specific features */
448
+ /** Custom engine specific features. */
429
449
  customFeatures?: { [P in string]: any };
430
- /** The SQL code which creates the function */
450
+ /** The SQL code which creates the function. */
431
451
  sqlCode?: string;
432
452
  }
433
453
  interface GenerateSshScriptRequest {
@@ -435,7 +455,7 @@ declare namespace gapi.client {
435
455
  vm?: string;
436
456
  /** The VM creation configuration */
437
457
  vmCreationConfig?: VmCreationConfig;
438
- /** The port that will be open on the bastion host */
458
+ /** The port that will be open on the bastion host. */
439
459
  vmPort?: number;
440
460
  /** The VM selection configuration */
441
461
  vmSelectionConfig?: VmSelectionConfig;
@@ -462,33 +482,33 @@ declare namespace gapi.client {
462
482
  interface ImportMappingRulesRequest {
463
483
  /** Should the conversion workspace be committed automatically after the import operation. */
464
484
  autoCommit?: boolean;
465
- /** One or more rules files */
485
+ /** One or more rules files. */
466
486
  rulesFiles?: RulesFile[];
467
487
  /** The format of the rules content file. */
468
488
  rulesFormat?: string;
469
489
  }
470
490
  interface ImportRulesJobDetails {
471
- /** The requested file format */
491
+ /** The requested file format. */
472
492
  fileFormat?: string;
473
- /** File names used for the import rules job */
493
+ /** File names used for the import rules job. */
474
494
  files?: string[];
475
495
  }
476
496
  interface IndexEntity {
477
- /** Custom engine specific features */
497
+ /** Custom engine specific features. */
478
498
  customFeatures?: { [P in string]: any };
479
- /** The name of the index */
499
+ /** The name of the index. */
480
500
  name?: string;
481
- /** Table columns used as part of the Index for e.g. B-TREE index should list the columns which constitutes the index. */
501
+ /** Table columns used as part of the Index, for example B-TREE index should list the columns which constitutes the index. */
482
502
  tableColumns?: string[];
483
- /** Type of index - e.g. B-TREE */
503
+ /** Type of index, for example B-TREE. */
484
504
  type?: string;
485
- /** boolean value indicating whether the index is unique */
505
+ /** Boolean value indicating whether the index is unique. */
486
506
  unique?: boolean;
487
507
  }
488
508
  interface ListConnectionProfilesResponse {
489
509
  /** The response list of connection profiles. */
490
510
  connectionProfiles?: ConnectionProfile[];
491
- /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
511
+ /** A token which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
492
512
  nextPageToken?: string;
493
513
  /** Locations that could not be reached. */
494
514
  unreachable?: string[];
@@ -496,7 +516,7 @@ declare namespace gapi.client {
496
516
  interface ListConversionWorkspacesResponse {
497
517
  /** The list of conversion workspace objects. */
498
518
  conversionWorkspaces?: ConversionWorkspace[];
499
- /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
519
+ /** A token which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
500
520
  nextPageToken?: string;
501
521
  /** Locations that could not be reached. */
502
522
  unreachable?: string[];
@@ -510,7 +530,7 @@ declare namespace gapi.client {
510
530
  interface ListMigrationJobsResponse {
511
531
  /** The list of migration jobs objects. */
512
532
  migrationJobs?: MigrationJob[];
513
- /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
533
+ /** A token which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
514
534
  nextPageToken?: string;
515
535
  /** Locations that could not be reached. */
516
536
  unreachable?: string[];
@@ -522,7 +542,7 @@ declare namespace gapi.client {
522
542
  operations?: Operation[];
523
543
  }
524
544
  interface ListPrivateConnectionsResponse {
525
- /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
545
+ /** A token which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
526
546
  nextPageToken?: string;
527
547
  /** List of private connections. */
528
548
  privateConnections?: PrivateConnection[];
@@ -673,11 +693,11 @@ declare namespace gapi.client {
673
693
  username?: string;
674
694
  }
675
695
  interface PackageEntity {
676
- /** Custom engine specific features */
696
+ /** Custom engine specific features. */
677
697
  customFeatures?: { [P in string]: any };
678
698
  /** The SQL code which creates the package body. If the package specification has cursors or subprograms, then the package body is mandatory. */
679
699
  packageBody?: string;
680
- /** The SQL code which creates the package */
700
+ /** The SQL code which creates the package. */
681
701
  packageSqlCode?: string;
682
702
  }
683
703
  interface Policy {
@@ -757,13 +777,13 @@ declare namespace gapi.client {
757
777
  * Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.
758
778
  */
759
779
  labels?: { [P in string]: string };
760
- /** The resource's name. */
780
+ /** The name of the resource. */
761
781
  name?: string;
762
- /** Output only. The state of the Private Connection. */
782
+ /** Output only. The state of the private connection. */
763
783
  state?: string;
764
784
  /** Output only. The last update time of the resource. */
765
785
  updateTime?: string;
766
- /** VPC Peering Config. */
786
+ /** VPC peering configuration. */
767
787
  vpcPeeringConfig?: VpcPeeringConfig;
768
788
  }
769
789
  interface PrivateConnectivity {
@@ -797,13 +817,13 @@ declare namespace gapi.client {
797
817
  interface RollbackConversionWorkspaceRequest {
798
818
  }
799
819
  interface RulesFile {
800
- /** The text content of the rules that needs to be converted */
820
+ /** The text content of the rules that needs to be converted. */
801
821
  rulesContent?: string;
802
- /** The filename of the rules that needs to be converted. This is used mainly so future logs of the import rules job will contain this detail and can therefore be searched by it later */
822
+ /** The filename of the rules that needs to be converted. The filename is used mainly so that future logs of the import rules job contain it, and can therefore be searched by it. */
803
823
  rulesSourceFilename?: string;
804
824
  }
805
825
  interface SchemaEntity {
806
- /** Custom engine specific features */
826
+ /** Custom engine specific features. */
807
827
  customFeatures?: { [P in string]: any };
808
828
  }
809
829
  interface SearchBackgroundJobsResponse {
@@ -819,23 +839,23 @@ declare namespace gapi.client {
819
839
  sourceConnectionProfile?: string;
820
840
  }
821
841
  interface SeedJobDetails {
822
- /** The connection profile which was used for the seed job */
842
+ /** The connection profile which was used for the seed job. */
823
843
  connectionProfile?: string;
824
844
  }
825
845
  interface SequenceEntity {
826
- /** Indicates number of entries to cache / precreate */
846
+ /** Indicates number of entries to cache / precreate. */
827
847
  cache?: string;
828
- /** Custom engine specific features */
848
+ /** Custom engine specific features. */
829
849
  customFeatures?: { [P in string]: any };
830
- /** Indicates whether the sequence value should cycle through */
850
+ /** Indicates whether the sequence value should cycle through. */
831
851
  cycle?: boolean;
832
- /** Increment value for the sequence */
852
+ /** Increment value for the sequence. */
833
853
  increment?: string;
834
- /** Maximum number for the sequence represented as bytes to accommodate large numbers */
854
+ /** Maximum number for the sequence represented as bytes to accommodate large. numbers */
835
855
  maxValue?: string;
836
- /** Minimum number for the sequence represented as bytes to accommodate large numbers */
856
+ /** Minimum number for the sequence represented as bytes to accommodate large. numbers */
837
857
  minValue?: string;
838
- /** Start number for the sequence represented as bytes to accommodate large numbers */
858
+ /** Start number for the sequence represented as bytes to accommodate large. numbers */
839
859
  startValue?: string;
840
860
  }
841
861
  interface SetIamPolicyRequest {
@@ -920,29 +940,29 @@ declare namespace gapi.client {
920
940
  interface StopMigrationJobRequest {
921
941
  }
922
942
  interface StoredProcedureEntity {
923
- /** Custom engine specific features */
943
+ /** Custom engine specific features. */
924
944
  customFeatures?: { [P in string]: any };
925
- /** The SQL code which creates the stored procedure */
945
+ /** The SQL code which creates the stored procedure. */
926
946
  sqlCode?: string;
927
947
  }
928
948
  interface SynonymEntity {
929
- /** Custom engine specific features */
949
+ /** Custom engine specific features. */
930
950
  customFeatures?: { [P in string]: any };
931
- /** The name of the entity for which the synonym is being created (the source) */
951
+ /** The name of the entity for which the synonym is being created (the source). */
932
952
  sourceEntity?: string;
933
- /** The type of the entity for which the synonym is being created (usually a table or a sequence) */
953
+ /** The type of the entity for which the synonym is being created (usually a table or a sequence). */
934
954
  sourceType?: string;
935
955
  }
936
956
  interface TableEntity {
937
- /** Table Columns. */
957
+ /** Table columns. */
938
958
  columns?: ColumnEntity[];
939
- /** Comment associated with the table */
959
+ /** Comment associated with the table. */
940
960
  comment?: string;
941
- /** Table Constraints. */
961
+ /** Table constraints. */
942
962
  constraints?: ConstraintEntity[];
943
- /** Custom engine specific features */
963
+ /** Custom engine specific features. */
944
964
  customFeatures?: { [P in string]: any };
945
- /** Table Indices. */
965
+ /** Table indices. */
946
966
  indices?: IndexEntity[];
947
967
  /** Table triggers. */
948
968
  triggers?: TriggerEntity[];
@@ -959,15 +979,15 @@ declare namespace gapi.client {
959
979
  permissions?: string[];
960
980
  }
961
981
  interface TriggerEntity {
962
- /** Custom engine specific features */
982
+ /** Custom engine specific features. */
963
983
  customFeatures?: { [P in string]: any };
964
- /** The name of the trigger */
984
+ /** The name of the trigger. */
965
985
  name?: string;
966
- /** The SQL code which creates the trigger */
986
+ /** The SQL code which creates the trigger. */
967
987
  sqlCode?: string;
968
- /** The DML, DDL, or database events that fires the trigger, e.g. INSERT, UPDATE */
988
+ /** The DML, DDL, or database events that fire the trigger, for example INSERT, UPDATE. */
969
989
  triggeringEvents?: string[];
970
- /** Indicates when the trigger fires, e.g. BEFORE STATEMENT, AFTER EACH ROW */
990
+ /** Indicates when the trigger fires, for example BEFORE STATEMENT, AFTER EACH ROW. */
971
991
  triggerType?: string;
972
992
  }
973
993
  interface UserPassword {
@@ -982,9 +1002,9 @@ declare namespace gapi.client {
982
1002
  interface VerifyMigrationJobRequest {
983
1003
  }
984
1004
  interface ViewEntity {
985
- /** View Constraints. */
1005
+ /** View constraints. */
986
1006
  constraints?: ConstraintEntity[];
987
- /** Custom engine specific features */
1007
+ /** Custom engine specific features. */
988
1008
  customFeatures?: { [P in string]: any };
989
1009
  /** The SQL code which creates the view. */
990
1010
  sqlCode?: string;
@@ -1004,7 +1024,7 @@ declare namespace gapi.client {
1004
1024
  interface VpcPeeringConfig {
1005
1025
  /** Required. A free subnet for peering. (CIDR of /29) */
1006
1026
  subnet?: string;
1007
- /** Required. Fully qualified name of the VPC DMS will peer to. */
1027
+ /** Required. Fully qualified name of the VPC that Database Migration Service will peer to. */
1008
1028
  vpcName?: string;
1009
1029
  }
1010
1030
  interface VpcPeeringConnectivity {
@@ -1030,15 +1050,15 @@ declare namespace gapi.client {
1030
1050
  key?: string;
1031
1051
  /** OAuth 2.0 token for the current user. */
1032
1052
  oauth_token?: string;
1033
- /** Required. The parent, which owns this collection of connection profiles. */
1053
+ /** Required. The parent which owns this collection of connection profiles. */
1034
1054
  parent: string;
1035
1055
  /** Returns response with indentations and line breaks. */
1036
1056
  prettyPrint?: boolean;
1037
1057
  /** 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. */
1038
1058
  quotaUser?: string;
1039
1059
  /**
1040
- * Optional. A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always
1041
- * set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
1060
+ * Optional. A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set
1061
+ * this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
1042
1062
  */
1043
1063
  requestId?: string;
1044
1064
  /** Optional. Create the connection profile without validating it. The default is false. Only supported for Oracle connection profiles. */
@@ -1069,15 +1089,15 @@ declare namespace gapi.client {
1069
1089
  key?: string;
1070
1090
  /** OAuth 2.0 token for the current user. */
1071
1091
  oauth_token?: string;
1072
- /** Required. The parent, which owns this collection of connection profiles. */
1092
+ /** Required. The parent which owns this collection of connection profiles. */
1073
1093
  parent: string;
1074
1094
  /** Returns response with indentations and line breaks. */
1075
1095
  prettyPrint?: boolean;
1076
1096
  /** 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. */
1077
1097
  quotaUser?: string;
1078
1098
  /**
1079
- * Optional. A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always
1080
- * set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
1099
+ * Optional. A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set
1100
+ * this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
1081
1101
  */
1082
1102
  requestId?: string;
1083
1103
  /** Optional. Create the connection profile without validating it. The default is false. Only supported for Oracle connection profiles. */
@@ -1115,8 +1135,8 @@ declare namespace gapi.client {
1115
1135
  /** 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. */
1116
1136
  quotaUser?: string;
1117
1137
  /**
1118
- * A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this
1119
- * value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
1138
+ * A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to
1139
+ * a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
1120
1140
  */
1121
1141
  requestId?: string;
1122
1142
  /** Upload protocol for media (e.g. "raw", "multipart"). */
@@ -1216,7 +1236,7 @@ declare namespace gapi.client {
1216
1236
  orderBy?: string;
1217
1237
  /**
1218
1238
  * The maximum number of connection profiles to return. The service may return fewer than this value. If unspecified, at most 50 connection profiles will be returned. The maximum
1219
- * value is 1000; values above 1000 will be coerced to 1000.
1239
+ * value is 1000; values above 1000 are coerced to 1000.
1220
1240
  */
1221
1241
  pageSize?: number;
1222
1242
  /**
@@ -1224,7 +1244,7 @@ declare namespace gapi.client {
1224
1244
  * `ListConnectionProfiles` must match the call that provided the page token.
1225
1245
  */
1226
1246
  pageToken?: string;
1227
- /** Required. The parent, which owns this collection of connection profiles. */
1247
+ /** Required. The parent which owns this collection of connection profiles. */
1228
1248
  parent: string;
1229
1249
  /** Returns response with indentations and line breaks. */
1230
1250
  prettyPrint?: boolean;
@@ -1258,13 +1278,13 @@ declare namespace gapi.client {
1258
1278
  /** 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. */
1259
1279
  quotaUser?: string;
1260
1280
  /**
1261
- * Optional. A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always
1262
- * set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
1281
+ * Optional. A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set
1282
+ * this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
1263
1283
  */
1264
1284
  requestId?: string;
1265
1285
  /** Optional. Update the connection profile without validating it. The default is false. Only supported for Oracle connection profiles. */
1266
1286
  skipValidation?: boolean;
1267
- /** Required. Field mask is used to specify the fields to be overwritten in the connection profile resource by the update. */
1287
+ /** Required. Field mask is used to specify the fields to be overwritten by the update in the conversion workspace resource. */
1268
1288
  updateMask?: string;
1269
1289
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1270
1290
  upload_protocol?: string;
@@ -1297,13 +1317,13 @@ declare namespace gapi.client {
1297
1317
  /** 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. */
1298
1318
  quotaUser?: string;
1299
1319
  /**
1300
- * Optional. A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always
1301
- * set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
1320
+ * Optional. A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set
1321
+ * this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
1302
1322
  */
1303
1323
  requestId?: string;
1304
1324
  /** Optional. Update the connection profile without validating it. The default is false. Only supported for Oracle connection profiles. */
1305
1325
  skipValidation?: boolean;
1306
- /** Required. Field mask is used to specify the fields to be overwritten in the connection profile resource by the update. */
1326
+ /** Required. Field mask is used to specify the fields to be overwritten by the update in the conversion workspace resource. */
1307
1327
  updateMask?: string;
1308
1328
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1309
1329
  upload_protocol?: string;
@@ -1438,7 +1458,7 @@ declare namespace gapi.client {
1438
1458
  body: ImportMappingRulesRequest): Request<Operation>;
1439
1459
  }
1440
1460
  interface ConversionWorkspacesResource {
1441
- /** Apply draft tree onto a specific destination database */
1461
+ /** Applies draft tree onto a specific destination database. */
1442
1462
  apply(request: {
1443
1463
  /** V1 error format. */
1444
1464
  "$.xgafv"?: string;
@@ -1453,7 +1473,7 @@ declare namespace gapi.client {
1453
1473
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1454
1474
  key?: string;
1455
1475
  /**
1456
- * Required. Name of the conversion workspace resource to apply draft to destination for. in the form of:
1476
+ * Required. The name of the conversion workspace resource for which to apply the draft tree. Must be in the form of:
1457
1477
  * projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
1458
1478
  */
1459
1479
  name: string;
@@ -1484,7 +1504,7 @@ declare namespace gapi.client {
1484
1504
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1485
1505
  key?: string;
1486
1506
  /**
1487
- * Required. Name of the conversion workspace resource to apply draft to destination for. in the form of:
1507
+ * Required. The name of the conversion workspace resource for which to apply the draft tree. Must be in the form of:
1488
1508
  * projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
1489
1509
  */
1490
1510
  name: string;
@@ -1630,15 +1650,15 @@ declare namespace gapi.client {
1630
1650
  key?: string;
1631
1651
  /** OAuth 2.0 token for the current user. */
1632
1652
  oauth_token?: string;
1633
- /** Required. The parent, which owns this collection of conversion workspaces. */
1653
+ /** Required. The parent which owns this collection of conversion workspaces. */
1634
1654
  parent: string;
1635
1655
  /** Returns response with indentations and line breaks. */
1636
1656
  prettyPrint?: boolean;
1637
1657
  /** 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. */
1638
1658
  quotaUser?: string;
1639
1659
  /**
1640
- * A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this
1641
- * value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
1660
+ * A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to
1661
+ * a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
1642
1662
  */
1643
1663
  requestId?: string;
1644
1664
  /** Upload protocol for media (e.g. "raw", "multipart"). */
@@ -1665,15 +1685,15 @@ declare namespace gapi.client {
1665
1685
  key?: string;
1666
1686
  /** OAuth 2.0 token for the current user. */
1667
1687
  oauth_token?: string;
1668
- /** Required. The parent, which owns this collection of conversion workspaces. */
1688
+ /** Required. The parent which owns this collection of conversion workspaces. */
1669
1689
  parent: string;
1670
1690
  /** Returns response with indentations and line breaks. */
1671
1691
  prettyPrint?: boolean;
1672
1692
  /** 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. */
1673
1693
  quotaUser?: string;
1674
1694
  /**
1675
- * A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this
1676
- * value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
1695
+ * A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to
1696
+ * a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
1677
1697
  */
1678
1698
  requestId?: string;
1679
1699
  /** Upload protocol for media (e.g. "raw", "multipart"). */
@@ -1705,8 +1725,8 @@ declare namespace gapi.client {
1705
1725
  /** 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. */
1706
1726
  quotaUser?: string;
1707
1727
  /**
1708
- * A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this
1709
- * value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
1728
+ * A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to
1729
+ * a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
1710
1730
  */
1711
1731
  requestId?: string;
1712
1732
  /** Upload protocol for media (e.g. "raw", "multipart"). */
@@ -1724,10 +1744,10 @@ declare namespace gapi.client {
1724
1744
  alt?: string;
1725
1745
  /** JSONP */
1726
1746
  callback?: string;
1727
- /** Optional. Optional filter to request a specific commit id */
1747
+ /** Optional. Optional filter to request a specific commit ID. */
1728
1748
  commitId?: string;
1729
1749
  /**
1730
- * Required. Name of the conversion workspace resource whose revisions are listed. in the form of:
1750
+ * Required. Name of the conversion workspace resource whose revisions are listed. Must be in the form of:
1731
1751
  * projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
1732
1752
  */
1733
1753
  conversionWorkspace: string;
@@ -1747,8 +1767,8 @@ declare namespace gapi.client {
1747
1767
  uploadType?: string;
1748
1768
  }): Request<DescribeConversionWorkspaceRevisionsResponse>;
1749
1769
  /**
1750
- * Use this method to describe the database entities tree for a specific conversion workspace and a specific tree type. The DB Entities are not a resource like conversion workspace or
1751
- * mapping rule, and they can not be created, updated or deleted like one. Instead they are simple data objects describing the structure of the client database.
1770
+ * 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,
1771
+ * and they can't be created, updated or deleted. Instead, they are simple data objects describing the structure of the client database.
1752
1772
  */
1753
1773
  describeDatabaseEntities(request?: {
1754
1774
  /** V1 error format. */
@@ -1759,10 +1779,10 @@ declare namespace gapi.client {
1759
1779
  alt?: string;
1760
1780
  /** JSONP */
1761
1781
  callback?: string;
1762
- /** Request a specific commit id. If not specified, the entities from the latest commit are returned. */
1782
+ /** Request a specific commit ID. If not specified, the entities from the latest commit are returned. */
1763
1783
  commitId?: string;
1764
1784
  /**
1765
- * Required. Name of the conversion workspace resource whose DB entities are described in the form of:
1785
+ * Required. Name of the conversion workspace resource whose database entities are described. Must be in the form of:
1766
1786
  * projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
1767
1787
  */
1768
1788
  conversionWorkspace: string;
@@ -1774,7 +1794,7 @@ declare namespace gapi.client {
1774
1794
  key?: string;
1775
1795
  /** OAuth 2.0 token for the current user. */
1776
1796
  oauth_token?: string;
1777
- /** The maximum number of entities to return. The service may return fewer than this value. */
1797
+ /** The maximum number of entities to return. The service may return fewer entities than the value specifies. */
1778
1798
  pageSize?: number;
1779
1799
  /**
1780
1800
  * The nextPageToken value received in the previous call to conversionWorkspace.describeDatabaseEntities, used in the subsequent request to retrieve the next page of results. On
@@ -1876,21 +1896,21 @@ declare namespace gapi.client {
1876
1896
  * A filter expression that filters conversion workspaces listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to
1877
1897
  * use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <. For example, list conversion workspaces created
1878
1898
  * this year by specifying **createTime %gt; 2020-01-01T00:00:00.000000000Z.** You can also filter nested fields. For example, you could specify **source.version = "12.c.1"** to
1879
- * select all conversion workspaces with source database version equal to 12.c.1
1899
+ * select all conversion workspaces with source database version equal to 12.c.1.
1880
1900
  */
1881
1901
  filter?: string;
1882
1902
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1883
1903
  key?: string;
1884
1904
  /** OAuth 2.0 token for the current user. */
1885
1905
  oauth_token?: string;
1886
- /** The maximum number of conversion workspaces to return. The service may return fewer than this value. If unspecified, at most 50 sets will be returned. */
1906
+ /** The maximum number of conversion workspaces to return. The service may return fewer than this value. If unspecified, at most 50 sets are returned. */
1887
1907
  pageSize?: number;
1888
1908
  /**
1889
1909
  * The nextPageToken value received in the previous call to conversionWorkspaces.list, used in the subsequent request to retrieve the next page of results. On first call this
1890
1910
  * should be left blank. When paginating, all other parameters provided to conversionWorkspaces.list must match the call that provided the page token.
1891
1911
  */
1892
1912
  pageToken?: string;
1893
- /** Required. The parent, which owns this collection of conversion workspaces. */
1913
+ /** Required. The parent which owns this collection of conversion workspaces. */
1894
1914
  parent: string;
1895
1915
  /** Returns response with indentations and line breaks. */
1896
1916
  prettyPrint?: boolean;
@@ -1924,11 +1944,11 @@ declare namespace gapi.client {
1924
1944
  /** 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. */
1925
1945
  quotaUser?: string;
1926
1946
  /**
1927
- * A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this
1928
- * value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
1947
+ * A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to
1948
+ * a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
1929
1949
  */
1930
1950
  requestId?: string;
1931
- /** Required. Field mask is used to specify the fields to be overwritten in the conversion workspace resource by the update. */
1951
+ /** Required. Field mask is used to specify the fields to be overwritten by the update in the conversion workspace resource. */
1932
1952
  updateMask?: string;
1933
1953
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1934
1954
  upload_protocol?: string;
@@ -1959,11 +1979,11 @@ declare namespace gapi.client {
1959
1979
  /** 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. */
1960
1980
  quotaUser?: string;
1961
1981
  /**
1962
- * A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this
1963
- * value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
1982
+ * A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to
1983
+ * a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
1964
1984
  */
1965
1985
  requestId?: string;
1966
- /** Required. Field mask is used to specify the fields to be overwritten in the conversion workspace resource by the update. */
1986
+ /** Required. Field mask is used to specify the fields to be overwritten by the update in the conversion workspace resource. */
1967
1987
  updateMask?: string;
1968
1988
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1969
1989
  upload_protocol?: string;
@@ -1971,7 +1991,7 @@ declare namespace gapi.client {
1971
1991
  uploadType?: string;
1972
1992
  },
1973
1993
  body: ConversionWorkspace): Request<Operation>;
1974
- /** Rollbacks a conversion workspace to the last committed spanshot. */
1994
+ /** Rolls back a conversion workspace to the last committed snapshot. */
1975
1995
  rollback(request: {
1976
1996
  /** V1 error format. */
1977
1997
  "$.xgafv"?: string;
@@ -1985,7 +2005,7 @@ declare namespace gapi.client {
1985
2005
  fields?: string;
1986
2006
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1987
2007
  key?: string;
1988
- /** Required. Name of the conversion workspace resource to rollback to. */
2008
+ /** Required. Name of the conversion workspace resource to roll back to. */
1989
2009
  name: string;
1990
2010
  /** OAuth 2.0 token for the current user. */
1991
2011
  oauth_token?: string;
@@ -2013,7 +2033,7 @@ declare namespace gapi.client {
2013
2033
  fields?: string;
2014
2034
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2015
2035
  key?: string;
2016
- /** Required. Name of the conversion workspace resource to rollback to. */
2036
+ /** Required. Name of the conversion workspace resource to roll back to. */
2017
2037
  name: string;
2018
2038
  /** OAuth 2.0 token for the current user. */
2019
2039
  oauth_token?: string;
@@ -2028,8 +2048,8 @@ declare namespace gapi.client {
2028
2048
  },
2029
2049
  body: RollbackConversionWorkspaceRequest): Request<Operation>;
2030
2050
  /**
2031
- * Use this method to search/list the background jobs for a specific conversion workspace. The background jobs are not a resource like conversion workspace or mapping rule, and they
2032
- * can not be created, updated or deleted like one. Instead they are a way to expose the data plane jobs log.
2051
+ * 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,
2052
+ * updated or deleted. Instead, they are a way to expose the data plane jobs log.
2033
2053
  */
2034
2054
  searchBackgroundJobs(request?: {
2035
2055
  /** V1 error format. */
@@ -2040,17 +2060,17 @@ declare namespace gapi.client {
2040
2060
  alt?: string;
2041
2061
  /** JSONP */
2042
2062
  callback?: string;
2043
- /** Optional. If supplied, will only return jobs that completed until (not including) the given timestamp. */
2063
+ /** Optional. If provided, only returns jobs that completed until (not including) the given timestamp. */
2044
2064
  completedUntilTime?: string;
2045
- /** Required. Name of the conversion workspace resource whos jobs are listed. in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}. */
2065
+ /** Required. Name of the conversion workspace resource whose jobs are listed, in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}. */
2046
2066
  conversionWorkspace: string;
2047
2067
  /** Selector specifying which fields to include in a partial response. */
2048
2068
  fields?: string;
2049
2069
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2050
2070
  key?: string;
2051
2071
  /**
2052
- * Optional. The maximum number of jobs to return. The service may return fewer than this value. If unspecified, at most 100 jobs will be returned. The maximum value is 100; values
2053
- * above 100 will be coerced to 100.
2072
+ * Optional. The maximum number of jobs to return. The service may return fewer than this value. If unspecified, at most 100 jobs are returned. The maximum value is 100; values
2073
+ * above 100 are coerced to 100.
2054
2074
  */
2055
2075
  maxSize?: number;
2056
2076
  /** OAuth 2.0 token for the current user. */
@@ -2059,7 +2079,7 @@ declare namespace gapi.client {
2059
2079
  prettyPrint?: boolean;
2060
2080
  /** 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. */
2061
2081
  quotaUser?: string;
2062
- /** Optional. Whether or not to return just the most recent job per job type */
2082
+ /** Optional. Whether or not to return just the most recent job per job type, */
2063
2083
  returnMostRecentPerJobType?: boolean;
2064
2084
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2065
2085
  upload_protocol?: string;
@@ -2081,7 +2101,7 @@ declare namespace gapi.client {
2081
2101
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2082
2102
  key?: string;
2083
2103
  /**
2084
- * Name of the conversion workspace resource to seed with new database structure. in the form of:
2104
+ * Name of the conversion workspace resource to seed with new database structure, in the form of:
2085
2105
  * projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
2086
2106
  */
2087
2107
  name: string;
@@ -2112,7 +2132,7 @@ declare namespace gapi.client {
2112
2132
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2113
2133
  key?: string;
2114
2134
  /**
2115
- * Name of the conversion workspace resource to seed with new database structure. in the form of:
2135
+ * Name of the conversion workspace resource to seed with new database structure, in the form of:
2116
2136
  * projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
2117
2137
  */
2118
2138
  name: string;
@@ -2214,15 +2234,15 @@ declare namespace gapi.client {
2214
2234
  migrationJobId?: string;
2215
2235
  /** OAuth 2.0 token for the current user. */
2216
2236
  oauth_token?: string;
2217
- /** Required. The parent, which owns this collection of migration jobs. */
2237
+ /** Required. The parent which owns this collection of migration jobs. */
2218
2238
  parent: string;
2219
2239
  /** Returns response with indentations and line breaks. */
2220
2240
  prettyPrint?: boolean;
2221
2241
  /** 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. */
2222
2242
  quotaUser?: string;
2223
2243
  /**
2224
- * A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this
2225
- * value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
2244
+ * A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to
2245
+ * a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
2226
2246
  */
2227
2247
  requestId?: string;
2228
2248
  /** Upload protocol for media (e.g. "raw", "multipart"). */
@@ -2249,15 +2269,15 @@ declare namespace gapi.client {
2249
2269
  migrationJobId?: string;
2250
2270
  /** OAuth 2.0 token for the current user. */
2251
2271
  oauth_token?: string;
2252
- /** Required. The parent, which owns this collection of migration jobs. */
2272
+ /** Required. The parent which owns this collection of migration jobs. */
2253
2273
  parent: string;
2254
2274
  /** Returns response with indentations and line breaks. */
2255
2275
  prettyPrint?: boolean;
2256
2276
  /** 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. */
2257
2277
  quotaUser?: string;
2258
2278
  /**
2259
- * A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this
2260
- * value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
2279
+ * A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to
2280
+ * a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
2261
2281
  */
2262
2282
  requestId?: string;
2263
2283
  /** Upload protocol for media (e.g. "raw", "multipart"). */
@@ -2291,8 +2311,8 @@ declare namespace gapi.client {
2291
2311
  /** 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. */
2292
2312
  quotaUser?: string;
2293
2313
  /**
2294
- * A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this
2295
- * value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
2314
+ * A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to
2315
+ * a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
2296
2316
  */
2297
2317
  requestId?: string;
2298
2318
  /** Upload protocol for media (e.g. "raw", "multipart"). */
@@ -2448,7 +2468,7 @@ declare namespace gapi.client {
2448
2468
  orderBy?: string;
2449
2469
  /**
2450
2470
  * The maximum number of migration jobs to return. The service may return fewer than this value. If unspecified, at most 50 migration jobs will be returned. The maximum value is
2451
- * 1000; values above 1000 will be coerced to 1000.
2471
+ * 1000; values above 1000 are coerced to 1000.
2452
2472
  */
2453
2473
  pageSize?: number;
2454
2474
  /**
@@ -2456,7 +2476,7 @@ declare namespace gapi.client {
2456
2476
  * left blank. When paginating, all other parameters provided to migrationJobs.list must match the call that provided the page token.
2457
2477
  */
2458
2478
  pageToken?: string;
2459
- /** Required. The parent, which owns this collection of migrationJobs. */
2479
+ /** Required. The parent which owns this collection of migrationJobs. */
2460
2480
  parent: string;
2461
2481
  /** Returns response with indentations and line breaks. */
2462
2482
  prettyPrint?: boolean;
@@ -2490,11 +2510,11 @@ declare namespace gapi.client {
2490
2510
  /** 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. */
2491
2511
  quotaUser?: string;
2492
2512
  /**
2493
- * A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this
2494
- * value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
2513
+ * A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to
2514
+ * a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
2495
2515
  */
2496
2516
  requestId?: string;
2497
- /** Required. Field mask is used to specify the fields to be overwritten in the migration job resource by the update. */
2517
+ /** Required. Field mask is used to specify the fields to be overwritten by the update in the conversion workspace resource. */
2498
2518
  updateMask?: string;
2499
2519
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2500
2520
  upload_protocol?: string;
@@ -2525,11 +2545,11 @@ declare namespace gapi.client {
2525
2545
  /** 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. */
2526
2546
  quotaUser?: string;
2527
2547
  /**
2528
- * A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this
2529
- * value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
2548
+ * A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to
2549
+ * a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
2530
2550
  */
2531
2551
  requestId?: string;
2532
- /** Required. Field mask is used to specify the fields to be overwritten in the migration job resource by the update. */
2552
+ /** Required. Field mask is used to specify the fields to be overwritten by the update in the conversion workspace resource. */
2533
2553
  updateMask?: string;
2534
2554
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2535
2555
  upload_protocol?: string;
@@ -3123,8 +3143,8 @@ declare namespace gapi.client {
3123
3143
  /** 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. */
3124
3144
  quotaUser?: string;
3125
3145
  /**
3126
- * Optional. A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always
3127
- * set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
3146
+ * Optional. A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set
3147
+ * this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
3128
3148
  */
3129
3149
  requestId?: string;
3130
3150
  /** Optional. If set to true, will skip validations. */
@@ -3160,8 +3180,8 @@ declare namespace gapi.client {
3160
3180
  /** 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. */
3161
3181
  quotaUser?: string;
3162
3182
  /**
3163
- * Optional. A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always
3164
- * set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
3183
+ * Optional. A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set
3184
+ * this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
3165
3185
  */
3166
3186
  requestId?: string;
3167
3187
  /** Optional. If set to true, will skip validations. */
@@ -3195,8 +3215,8 @@ declare namespace gapi.client {
3195
3215
  /** 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. */
3196
3216
  quotaUser?: string;
3197
3217
  /**
3198
- * Optional. A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always
3199
- * set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
3218
+ * Optional. A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set
3219
+ * this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
3200
3220
  */
3201
3221
  requestId?: string;
3202
3222
  /** Upload protocol for media (e.g. "raw", "multipart"). */
@@ -3256,8 +3276,8 @@ declare namespace gapi.client {
3256
3276
  /** Order by fields for the result. */
3257
3277
  orderBy?: string;
3258
3278
  /**
3259
- * Maximum number of private connections to return. If unspecified, at most 50 private connections that will be returned. The maximum value is 1000; values above 1000 will be
3260
- * coerced to 1000.
3279
+ * Maximum number of private connections to return. If unspecified, at most 50 private connections that are returned. The maximum value is 1000; values above 1000 are coerced to
3280
+ * 1000.
3261
3281
  */
3262
3282
  pageSize?: number;
3263
3283
  /**
@@ -3278,6 +3298,37 @@ declare namespace gapi.client {
3278
3298
  }): Request<ListPrivateConnectionsResponse>;
3279
3299
  }
3280
3300
  interface LocationsResource {
3301
+ /** Fetches a set of static IP addresses that need to be allowlisted by the customer when using the static-IP connectivity method. */
3302
+ fetchStaticIps(request?: {
3303
+ /** V1 error format. */
3304
+ "$.xgafv"?: string;
3305
+ /** OAuth access token. */
3306
+ access_token?: string;
3307
+ /** Data format for response. */
3308
+ alt?: string;
3309
+ /** JSONP */
3310
+ callback?: string;
3311
+ /** Selector specifying which fields to include in a partial response. */
3312
+ fields?: string;
3313
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3314
+ key?: string;
3315
+ /** Required. The resource name for the location for which static IPs should be returned. Must be in the format `projects/*‍/locations/*`. */
3316
+ name: string;
3317
+ /** OAuth 2.0 token for the current user. */
3318
+ oauth_token?: string;
3319
+ /** Maximum number of IPs to return. */
3320
+ pageSize?: number;
3321
+ /** A page token, received from a previous `FetchStaticIps` call. */
3322
+ pageToken?: string;
3323
+ /** Returns response with indentations and line breaks. */
3324
+ prettyPrint?: boolean;
3325
+ /** 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. */
3326
+ quotaUser?: string;
3327
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3328
+ upload_protocol?: string;
3329
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3330
+ uploadType?: string;
3331
+ }): Request<FetchStaticIpsResponse>;
3281
3332
  /** Gets information about a location. */
3282
3333
  get(request?: {
3283
3334
  /** V1 error format. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.datamigration-v1",
3
- "version": "0.0.20230201",
3
+ "version": "0.0.20230222",
4
4
  "description": "TypeScript typings for Database Migration API v1",
5
5
  "license": "MIT",
6
6
  "author": {
package/tests.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
4
4
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
5
5
 
6
- // Revision: 20230201
6
+ // Revision: 20230222
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -29,6 +29,12 @@ gapi.load('client', async () => {
29
29
  });
30
30
 
31
31
  async function run() {
32
+ /** Fetches a set of static IP addresses that need to be allowlisted by the customer when using the static-IP connectivity method. */
33
+ await gapi.client.datamigration.projects.locations.fetchStaticIps({
34
+ name: "Test string",
35
+ pageSize: 42,
36
+ pageToken: "Test string",
37
+ });
32
38
  /** Gets information about a location. */
33
39
  await gapi.client.datamigration.projects.locations.get({
34
40
  name: "Test string",
@@ -411,7 +417,7 @@ gapi.load('client', async () => {
411
417
  "Test string"
412
418
  ],
413
419
  });
414
- /** Apply draft tree onto a specific destination database */
420
+ /** Applies draft tree onto a specific destination database. */
415
421
  await gapi.client.datamigration.projects.locations.conversionWorkspaces.apply({
416
422
  name: "Test string",
417
423
  }, {
@@ -467,8 +473,8 @@ gapi.load('client', async () => {
467
473
  conversionWorkspace: "Test string",
468
474
  });
469
475
  /**
470
- * Use this method to describe the database entities tree for a specific conversion workspace and a specific tree type. The DB Entities are not a resource like conversion workspace or
471
- * mapping rule, and they can not be created, updated or deleted like one. Instead they are simple data objects describing the structure of the client database.
476
+ * 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
477
+ * they can't be created, updated or deleted. Instead, they are simple data objects describing the structure of the client database.
472
478
  */
473
479
  await gapi.client.datamigration.projects.locations.conversionWorkspaces.describeDatabaseEntities({
474
480
  commitId: "Test string",
@@ -520,14 +526,14 @@ gapi.load('client', async () => {
520
526
  },
521
527
  updateTime: "Test string",
522
528
  });
523
- /** Rollbacks a conversion workspace to the last committed spanshot. */
529
+ /** Rolls back a conversion workspace to the last committed snapshot. */
524
530
  await gapi.client.datamigration.projects.locations.conversionWorkspaces.rollback({
525
531
  name: "Test string",
526
532
  }, {
527
533
  });
528
534
  /**
529
- * Use this method to search/list the background jobs for a specific conversion workspace. The background jobs are not a resource like conversion workspace or mapping rule, and they can
530
- * not be created, updated or deleted like one. Instead they are a way to expose the data plane jobs log.
535
+ * 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,
536
+ * updated or deleted. Instead, they are a way to expose the data plane jobs log.
531
537
  */
532
538
  await gapi.client.datamigration.projects.locations.conversionWorkspaces.searchBackgroundJobs({
533
539
  completedUntilTime: "Test string",