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

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 +215 -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: 20230215
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -62,21 +62,21 @@ declare namespace gapi.client {
62
62
  logType?: string;
63
63
  }
64
64
  interface BackgroundJobLogEntry {
65
- /** Job completion comment, such as how many entities were seeded, how many warnings were found during conversion and similar information. */
65
+ /** Job completion comment, such as how many entities were seeded, how many warnings were found during conversion, and similar information. */
66
66
  completionComment?: string;
67
67
  /** Job completion state, i.e. the final state after the job completed. */
68
68
  completionState?: string;
69
69
  /** The timestamp when the background job was finished. */
70
70
  finishTime?: string;
71
- /** The background job log entry id */
71
+ /** The background job log entry ID. */
72
72
  id?: string;
73
- /** Import rules job details */
73
+ /** Import rules job details. */
74
74
  importRulesJobDetails?: ImportRulesJobDetails;
75
75
  /** The type of job that was executed. */
76
76
  jobType?: string;
77
77
  /** Whether the client requested the conversion workspace to be committed after a successful completion of the job. */
78
78
  requestAutocommit?: boolean;
79
- /** Seed job details */
79
+ /** Seed job details. */
80
80
  seedJobDetails?: SeedJobDetails;
81
81
  /** The timestamp when the background job was started. */
82
82
  startTime?: string;
@@ -183,41 +183,41 @@ declare namespace gapi.client {
183
183
  zone?: string;
184
184
  }
185
185
  interface ColumnEntity {
186
- /** Is the column of array type */
186
+ /** Is the column of array type. */
187
187
  array?: boolean;
188
- /** If the column is array, of which length */
188
+ /** If the column is array, of which length. */
189
189
  arrayLength?: number;
190
- /** Is the column auto-generated/identity */
190
+ /** Is the column auto-generated/identity. */
191
191
  autoGenerated?: boolean;
192
- /** Charset override - instead of table level charset */
192
+ /** Charset override - instead of table level charset. */
193
193
  charset?: string;
194
- /** Collation override - instead of table level collation */
194
+ /** Collation override - instead of table level collation. */
195
195
  collation?: string;
196
- /** Comment associated with the column */
196
+ /** Comment associated with the column. */
197
197
  comment?: string;
198
- /** Custom engine specific features */
198
+ /** Custom engine specific features. */
199
199
  customFeatures?: { [P in string]: any };
200
- /** Column data type */
200
+ /** Column data type. */
201
201
  dataType?: string;
202
- /** Default value of the column */
202
+ /** Default value of the column. */
203
203
  defaultValue?: string;
204
- /** Column fractional second precision - used for timestamp based datatypes */
204
+ /** Column fractional second precision - used for timestamp based datatypes. */
205
205
  fractionalSecondsPrecision?: number;
206
- /** Column length - e.g. varchar (50) */
206
+ /** Column length - e.g. varchar (50). */
207
207
  length?: string;
208
- /** Column name */
208
+ /** Column name. */
209
209
  name?: string;
210
- /** Is the column nullable */
210
+ /** Is the column nullable. */
211
211
  nullable?: boolean;
212
- /** Column order in the table */
212
+ /** Column order in the table. */
213
213
  ordinalPosition?: number;
214
- /** Column precision - when relevant */
214
+ /** Column precision - when relevant. */
215
215
  precision?: number;
216
- /** Column scale - when relevant */
216
+ /** Column scale - when relevant. */
217
217
  scale?: number;
218
- /** Specifies the list of values allowed in the column. List is empty if set values is not required */
218
+ /** Specifies the list of values allowed in the column. List is empty if setValues is not required. */
219
219
  setValues?: string[];
220
- /** Is the column a UDT */
220
+ /** Is the column a UDT. */
221
221
  udt?: boolean;
222
222
  }
223
223
  interface CommitConversionWorkspaceRequest {
@@ -256,28 +256,28 @@ declare namespace gapi.client {
256
256
  updateTime?: string;
257
257
  }
258
258
  interface ConstraintEntity {
259
- /** Custom engine specific features */
259
+ /** Custom engine specific features. */
260
260
  customFeatures?: { [P in string]: any };
261
- /** The name of the table constraint */
261
+ /** The name of the table constraint. */
262
262
  name?: string;
263
263
  /**
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.
264
+ * 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
265
+ * foreign key.
266
266
  */
267
267
  referenceColumns?: string[];
268
268
  /**
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.
269
+ * 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
270
+ * foreign key.
271
271
  */
272
272
  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 */
273
+ /** Table columns used as part of the Constraint, for example primary key constraint should list the columns which constitutes the key. */
274
274
  tableColumns?: string[];
275
275
  /**
276
276
  * 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
277
  * constraint is defined on a view, this field stores the table name on which the view is defined.
278
278
  */
279
279
  tableName?: string;
280
- /** Type of constraint - e.g. unique, primary key, foreign key (currently only primary key is supported) */
280
+ /** Type of constraint, for example unique, primary key, foreign key (currently only primary key is supported). */
281
281
  type?: string;
282
282
  }
283
283
  interface ConversionWorkspace {
@@ -285,16 +285,16 @@ declare namespace gapi.client {
285
285
  createTime?: string;
286
286
  /** Required. The destination engine details. */
287
287
  destination?: DatabaseEngineInfo;
288
- /** The display name for the workspace */
288
+ /** The display name for the workspace. */
289
289
  displayName?: string;
290
290
  /**
291
291
  * 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
292
  * features. Such examples can be: convert_foreign_key_to_interleave=true, skip_triggers=false, ignore_non_table_synonyms=true
293
293
  */
294
294
  globalSettings?: { [P in string]: string };
295
- /** Output only. Whether the workspace has uncommitted changes (changes which were made after the workspace was committed) */
295
+ /** Output only. Whether the workspace has uncommitted changes (changes which were made after the workspace was committed). */
296
296
  hasUncommittedChanges?: boolean;
297
- /** Output only. The latest commit id */
297
+ /** Output only. The latest commit ID. */
298
298
  latestCommitId?: string;
299
299
  /** Output only. The timestamp when the workspace was committed. */
300
300
  latestCommitTime?: string;
@@ -312,21 +312,21 @@ declare namespace gapi.client {
312
312
  name?: string;
313
313
  }
314
314
  interface ConvertConversionWorkspaceRequest {
315
- /** Should the conversion workspace be committed automatically after the conversion. */
315
+ /** Specifies whether the conversion workspace is to be committed automatically after the conversion. */
316
316
  autoCommit?: boolean;
317
317
  /** Filter the entities to convert. Leaving this field empty will convert all of the entities. Supports Google AIP-160 style filtering. */
318
318
  filter?: string;
319
319
  }
320
320
  interface DatabaseEngineInfo {
321
- /** Required. Engine Type. */
321
+ /** Required. Engine type. */
322
322
  engine?: string;
323
- /** Required. Engine named version, for e.g. 12.c.1 */
323
+ /** Required. Engine named version, for example 12.c.1. */
324
324
  version?: string;
325
325
  }
326
326
  interface DatabaseEntity {
327
- /** Function */
327
+ /** Function. */
328
328
  databaseFunction?: FunctionEntity;
329
- /** Package */
329
+ /** Package. */
330
330
  databasePackage?: PackageEntity;
331
331
  /** The type of the database entity (table, view, index, ...). */
332
332
  entityType?: string;
@@ -339,19 +339,19 @@ declare namespace gapi.client {
339
339
  parentEntity?: string;
340
340
  /** Schema. */
341
341
  schema?: SchemaEntity;
342
- /** Sequence */
342
+ /** Sequence. */
343
343
  sequence?: SequenceEntity;
344
344
  /** The short name (e.g. table name) of the entity. */
345
345
  shortName?: string;
346
- /** Stored Procedure */
346
+ /** Stored procedure. */
347
347
  storedProcedure?: StoredProcedureEntity;
348
- /** Synonym */
348
+ /** Synonym. */
349
349
  synonym?: SynonymEntity;
350
350
  /** Table. */
351
351
  table?: TableEntity;
352
352
  /** The type of tree the entity belongs to. */
353
353
  tree?: string;
354
- /** View */
354
+ /** View. */
355
355
  view?: ViewEntity;
356
356
  }
357
357
  interface DatabaseType {
@@ -367,7 +367,7 @@ declare namespace gapi.client {
367
367
  interface DescribeDatabaseEntitiesResponse {
368
368
  /** The list of database entities for the conversion workspace. */
369
369
  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. */
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. */
371
371
  nextPageToken?: string;
372
372
  }
373
373
  interface DumpFlag {
@@ -384,22 +384,22 @@ declare namespace gapi.client {
384
384
  interface Empty {
385
385
  }
386
386
  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 */
387
+ /** Target entity full name. The draft entity can also include a column, index or constraint using the same naming notation schema.table.column. */
388
388
  draftEntity?: string;
389
389
  /**
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.
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 with the reason preventing them to do so.
392
392
  */
393
393
  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 */
394
+ /** Source entity full name. The source entity can also be a column, index or constraint using the same naming notation schema.table.column. */
395
395
  sourceEntity?: string;
396
396
  }
397
397
  interface EntityMappingLogEntry {
398
398
  /** Comment. */
399
399
  mappingComment?: string;
400
- /** Which rule caused it. */
400
+ /** Which rule caused this log entry. */
401
401
  ruleId?: string;
402
- /** Rule revision id */
402
+ /** Rule revision ID. */
403
403
  ruleRevisionId?: string;
404
404
  }
405
405
  interface Expr {
@@ -412,6 +412,12 @@ declare namespace gapi.client {
412
412
  /** 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
413
  title?: string;
414
414
  }
415
+ interface FetchStaticIpsResponse {
416
+ /** A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
417
+ nextPageToken?: string;
418
+ /** List of static IPs. */
419
+ staticIps?: string[];
420
+ }
415
421
  interface ForwardSshTunnelConnectivity {
416
422
  /** Required. Hostname for the SSH tunnel. */
417
423
  hostname?: string;
@@ -425,9 +431,9 @@ declare namespace gapi.client {
425
431
  username?: string;
426
432
  }
427
433
  interface FunctionEntity {
428
- /** Custom engine specific features */
434
+ /** Custom engine specific features. */
429
435
  customFeatures?: { [P in string]: any };
430
- /** The SQL code which creates the function */
436
+ /** The SQL code which creates the function. */
431
437
  sqlCode?: string;
432
438
  }
433
439
  interface GenerateSshScriptRequest {
@@ -435,7 +441,7 @@ declare namespace gapi.client {
435
441
  vm?: string;
436
442
  /** The VM creation configuration */
437
443
  vmCreationConfig?: VmCreationConfig;
438
- /** The port that will be open on the bastion host */
444
+ /** The port that will be open on the bastion host. */
439
445
  vmPort?: number;
440
446
  /** The VM selection configuration */
441
447
  vmSelectionConfig?: VmSelectionConfig;
@@ -462,33 +468,33 @@ declare namespace gapi.client {
462
468
  interface ImportMappingRulesRequest {
463
469
  /** Should the conversion workspace be committed automatically after the import operation. */
464
470
  autoCommit?: boolean;
465
- /** One or more rules files */
471
+ /** One or more rules files. */
466
472
  rulesFiles?: RulesFile[];
467
473
  /** The format of the rules content file. */
468
474
  rulesFormat?: string;
469
475
  }
470
476
  interface ImportRulesJobDetails {
471
- /** The requested file format */
477
+ /** The requested file format. */
472
478
  fileFormat?: string;
473
- /** File names used for the import rules job */
479
+ /** File names used for the import rules job. */
474
480
  files?: string[];
475
481
  }
476
482
  interface IndexEntity {
477
- /** Custom engine specific features */
483
+ /** Custom engine specific features. */
478
484
  customFeatures?: { [P in string]: any };
479
- /** The name of the index */
485
+ /** The name of the index. */
480
486
  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. */
487
+ /** Table columns used as part of the Index, for example B-TREE index should list the columns which constitutes the index. */
482
488
  tableColumns?: string[];
483
- /** Type of index - e.g. B-TREE */
489
+ /** Type of index, for example B-TREE. */
484
490
  type?: string;
485
- /** boolean value indicating whether the index is unique */
491
+ /** Boolean value indicating whether the index is unique. */
486
492
  unique?: boolean;
487
493
  }
488
494
  interface ListConnectionProfilesResponse {
489
495
  /** The response list of connection profiles. */
490
496
  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. */
497
+ /** 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
498
  nextPageToken?: string;
493
499
  /** Locations that could not be reached. */
494
500
  unreachable?: string[];
@@ -496,7 +502,7 @@ declare namespace gapi.client {
496
502
  interface ListConversionWorkspacesResponse {
497
503
  /** The list of conversion workspace objects. */
498
504
  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. */
505
+ /** 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
506
  nextPageToken?: string;
501
507
  /** Locations that could not be reached. */
502
508
  unreachable?: string[];
@@ -510,7 +516,7 @@ declare namespace gapi.client {
510
516
  interface ListMigrationJobsResponse {
511
517
  /** The list of migration jobs objects. */
512
518
  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. */
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. */
514
520
  nextPageToken?: string;
515
521
  /** Locations that could not be reached. */
516
522
  unreachable?: string[];
@@ -522,7 +528,7 @@ declare namespace gapi.client {
522
528
  operations?: Operation[];
523
529
  }
524
530
  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. */
531
+ /** 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
532
  nextPageToken?: string;
527
533
  /** List of private connections. */
528
534
  privateConnections?: PrivateConnection[];
@@ -673,11 +679,11 @@ declare namespace gapi.client {
673
679
  username?: string;
674
680
  }
675
681
  interface PackageEntity {
676
- /** Custom engine specific features */
682
+ /** Custom engine specific features. */
677
683
  customFeatures?: { [P in string]: any };
678
684
  /** The SQL code which creates the package body. If the package specification has cursors or subprograms, then the package body is mandatory. */
679
685
  packageBody?: string;
680
- /** The SQL code which creates the package */
686
+ /** The SQL code which creates the package. */
681
687
  packageSqlCode?: string;
682
688
  }
683
689
  interface Policy {
@@ -757,13 +763,13 @@ declare namespace gapi.client {
757
763
  * Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.
758
764
  */
759
765
  labels?: { [P in string]: string };
760
- /** The resource's name. */
766
+ /** The name of the resource. */
761
767
  name?: string;
762
- /** Output only. The state of the Private Connection. */
768
+ /** Output only. The state of the private connection. */
763
769
  state?: string;
764
770
  /** Output only. The last update time of the resource. */
765
771
  updateTime?: string;
766
- /** VPC Peering Config. */
772
+ /** VPC peering configuration. */
767
773
  vpcPeeringConfig?: VpcPeeringConfig;
768
774
  }
769
775
  interface PrivateConnectivity {
@@ -797,13 +803,13 @@ declare namespace gapi.client {
797
803
  interface RollbackConversionWorkspaceRequest {
798
804
  }
799
805
  interface RulesFile {
800
- /** The text content of the rules that needs to be converted */
806
+ /** The text content of the rules that needs to be converted. */
801
807
  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 */
808
+ /** 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
809
  rulesSourceFilename?: string;
804
810
  }
805
811
  interface SchemaEntity {
806
- /** Custom engine specific features */
812
+ /** Custom engine specific features. */
807
813
  customFeatures?: { [P in string]: any };
808
814
  }
809
815
  interface SearchBackgroundJobsResponse {
@@ -819,23 +825,23 @@ declare namespace gapi.client {
819
825
  sourceConnectionProfile?: string;
820
826
  }
821
827
  interface SeedJobDetails {
822
- /** The connection profile which was used for the seed job */
828
+ /** The connection profile which was used for the seed job. */
823
829
  connectionProfile?: string;
824
830
  }
825
831
  interface SequenceEntity {
826
- /** Indicates number of entries to cache / precreate */
832
+ /** Indicates number of entries to cache / precreate. */
827
833
  cache?: string;
828
- /** Custom engine specific features */
834
+ /** Custom engine specific features. */
829
835
  customFeatures?: { [P in string]: any };
830
- /** Indicates whether the sequence value should cycle through */
836
+ /** Indicates whether the sequence value should cycle through. */
831
837
  cycle?: boolean;
832
- /** Increment value for the sequence */
838
+ /** Increment value for the sequence. */
833
839
  increment?: string;
834
- /** Maximum number for the sequence represented as bytes to accommodate large numbers */
840
+ /** Maximum number for the sequence represented as bytes to accommodate large. numbers */
835
841
  maxValue?: string;
836
- /** Minimum number for the sequence represented as bytes to accommodate large numbers */
842
+ /** Minimum number for the sequence represented as bytes to accommodate large. numbers */
837
843
  minValue?: string;
838
- /** Start number for the sequence represented as bytes to accommodate large numbers */
844
+ /** Start number for the sequence represented as bytes to accommodate large. numbers */
839
845
  startValue?: string;
840
846
  }
841
847
  interface SetIamPolicyRequest {
@@ -920,29 +926,29 @@ declare namespace gapi.client {
920
926
  interface StopMigrationJobRequest {
921
927
  }
922
928
  interface StoredProcedureEntity {
923
- /** Custom engine specific features */
929
+ /** Custom engine specific features. */
924
930
  customFeatures?: { [P in string]: any };
925
- /** The SQL code which creates the stored procedure */
931
+ /** The SQL code which creates the stored procedure. */
926
932
  sqlCode?: string;
927
933
  }
928
934
  interface SynonymEntity {
929
- /** Custom engine specific features */
935
+ /** Custom engine specific features. */
930
936
  customFeatures?: { [P in string]: any };
931
- /** The name of the entity for which the synonym is being created (the source) */
937
+ /** The name of the entity for which the synonym is being created (the source). */
932
938
  sourceEntity?: string;
933
- /** The type of the entity for which the synonym is being created (usually a table or a sequence) */
939
+ /** The type of the entity for which the synonym is being created (usually a table or a sequence). */
934
940
  sourceType?: string;
935
941
  }
936
942
  interface TableEntity {
937
- /** Table Columns. */
943
+ /** Table columns. */
938
944
  columns?: ColumnEntity[];
939
- /** Comment associated with the table */
945
+ /** Comment associated with the table. */
940
946
  comment?: string;
941
- /** Table Constraints. */
947
+ /** Table constraints. */
942
948
  constraints?: ConstraintEntity[];
943
- /** Custom engine specific features */
949
+ /** Custom engine specific features. */
944
950
  customFeatures?: { [P in string]: any };
945
- /** Table Indices. */
951
+ /** Table indices. */
946
952
  indices?: IndexEntity[];
947
953
  /** Table triggers. */
948
954
  triggers?: TriggerEntity[];
@@ -959,15 +965,15 @@ declare namespace gapi.client {
959
965
  permissions?: string[];
960
966
  }
961
967
  interface TriggerEntity {
962
- /** Custom engine specific features */
968
+ /** Custom engine specific features. */
963
969
  customFeatures?: { [P in string]: any };
964
- /** The name of the trigger */
970
+ /** The name of the trigger. */
965
971
  name?: string;
966
- /** The SQL code which creates the trigger */
972
+ /** The SQL code which creates the trigger. */
967
973
  sqlCode?: string;
968
- /** The DML, DDL, or database events that fires the trigger, e.g. INSERT, UPDATE */
974
+ /** The DML, DDL, or database events that fire the trigger, for example INSERT, UPDATE. */
969
975
  triggeringEvents?: string[];
970
- /** Indicates when the trigger fires, e.g. BEFORE STATEMENT, AFTER EACH ROW */
976
+ /** Indicates when the trigger fires, for example BEFORE STATEMENT, AFTER EACH ROW. */
971
977
  triggerType?: string;
972
978
  }
973
979
  interface UserPassword {
@@ -982,9 +988,9 @@ declare namespace gapi.client {
982
988
  interface VerifyMigrationJobRequest {
983
989
  }
984
990
  interface ViewEntity {
985
- /** View Constraints. */
991
+ /** View constraints. */
986
992
  constraints?: ConstraintEntity[];
987
- /** Custom engine specific features */
993
+ /** Custom engine specific features. */
988
994
  customFeatures?: { [P in string]: any };
989
995
  /** The SQL code which creates the view. */
990
996
  sqlCode?: string;
@@ -1004,7 +1010,7 @@ declare namespace gapi.client {
1004
1010
  interface VpcPeeringConfig {
1005
1011
  /** Required. A free subnet for peering. (CIDR of /29) */
1006
1012
  subnet?: string;
1007
- /** Required. Fully qualified name of the VPC DMS will peer to. */
1013
+ /** Required. Fully qualified name of the VPC that Database Migration Service will peer to. */
1008
1014
  vpcName?: string;
1009
1015
  }
1010
1016
  interface VpcPeeringConnectivity {
@@ -1030,15 +1036,15 @@ declare namespace gapi.client {
1030
1036
  key?: string;
1031
1037
  /** OAuth 2.0 token for the current user. */
1032
1038
  oauth_token?: string;
1033
- /** Required. The parent, which owns this collection of connection profiles. */
1039
+ /** Required. The parent which owns this collection of connection profiles. */
1034
1040
  parent: string;
1035
1041
  /** Returns response with indentations and line breaks. */
1036
1042
  prettyPrint?: boolean;
1037
1043
  /** 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
1044
  quotaUser?: string;
1039
1045
  /**
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.
1046
+ * 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
1047
+ * 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
1048
  */
1043
1049
  requestId?: string;
1044
1050
  /** Optional. Create the connection profile without validating it. The default is false. Only supported for Oracle connection profiles. */
@@ -1069,15 +1075,15 @@ declare namespace gapi.client {
1069
1075
  key?: string;
1070
1076
  /** OAuth 2.0 token for the current user. */
1071
1077
  oauth_token?: string;
1072
- /** Required. The parent, which owns this collection of connection profiles. */
1078
+ /** Required. The parent which owns this collection of connection profiles. */
1073
1079
  parent: string;
1074
1080
  /** Returns response with indentations and line breaks. */
1075
1081
  prettyPrint?: boolean;
1076
1082
  /** 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
1083
  quotaUser?: string;
1078
1084
  /**
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.
1085
+ * 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
1086
+ * 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
1087
  */
1082
1088
  requestId?: string;
1083
1089
  /** Optional. Create the connection profile without validating it. The default is false. Only supported for Oracle connection profiles. */
@@ -1115,8 +1121,8 @@ declare namespace gapi.client {
1115
1121
  /** 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
1122
  quotaUser?: string;
1117
1123
  /**
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.
1124
+ * 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
1125
+ * 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
1126
  */
1121
1127
  requestId?: string;
1122
1128
  /** Upload protocol for media (e.g. "raw", "multipart"). */
@@ -1216,7 +1222,7 @@ declare namespace gapi.client {
1216
1222
  orderBy?: string;
1217
1223
  /**
1218
1224
  * 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.
1225
+ * value is 1000; values above 1000 are coerced to 1000.
1220
1226
  */
1221
1227
  pageSize?: number;
1222
1228
  /**
@@ -1224,7 +1230,7 @@ declare namespace gapi.client {
1224
1230
  * `ListConnectionProfiles` must match the call that provided the page token.
1225
1231
  */
1226
1232
  pageToken?: string;
1227
- /** Required. The parent, which owns this collection of connection profiles. */
1233
+ /** Required. The parent which owns this collection of connection profiles. */
1228
1234
  parent: string;
1229
1235
  /** Returns response with indentations and line breaks. */
1230
1236
  prettyPrint?: boolean;
@@ -1258,13 +1264,13 @@ declare namespace gapi.client {
1258
1264
  /** 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
1265
  quotaUser?: string;
1260
1266
  /**
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.
1267
+ * 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
1268
+ * 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
1269
  */
1264
1270
  requestId?: string;
1265
1271
  /** Optional. Update the connection profile without validating it. The default is false. Only supported for Oracle connection profiles. */
1266
1272
  skipValidation?: boolean;
1267
- /** Required. Field mask is used to specify the fields to be overwritten in the connection profile resource by the update. */
1273
+ /** Required. Field mask is used to specify the fields to be overwritten by the update in the conversion workspace resource. */
1268
1274
  updateMask?: string;
1269
1275
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1270
1276
  upload_protocol?: string;
@@ -1297,13 +1303,13 @@ declare namespace gapi.client {
1297
1303
  /** 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
1304
  quotaUser?: string;
1299
1305
  /**
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.
1306
+ * 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
1307
+ * 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
1308
  */
1303
1309
  requestId?: string;
1304
1310
  /** Optional. Update the connection profile without validating it. The default is false. Only supported for Oracle connection profiles. */
1305
1311
  skipValidation?: boolean;
1306
- /** Required. Field mask is used to specify the fields to be overwritten in the connection profile resource by the update. */
1312
+ /** Required. Field mask is used to specify the fields to be overwritten by the update in the conversion workspace resource. */
1307
1313
  updateMask?: string;
1308
1314
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1309
1315
  upload_protocol?: string;
@@ -1438,7 +1444,7 @@ declare namespace gapi.client {
1438
1444
  body: ImportMappingRulesRequest): Request<Operation>;
1439
1445
  }
1440
1446
  interface ConversionWorkspacesResource {
1441
- /** Apply draft tree onto a specific destination database */
1447
+ /** Applies draft tree onto a specific destination database. */
1442
1448
  apply(request: {
1443
1449
  /** V1 error format. */
1444
1450
  "$.xgafv"?: string;
@@ -1453,7 +1459,7 @@ declare namespace gapi.client {
1453
1459
  /** 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
1460
  key?: string;
1455
1461
  /**
1456
- * Required. Name of the conversion workspace resource to apply draft to destination for. in the form of:
1462
+ * Required. The name of the conversion workspace resource for which to apply the draft tree. Must be in the form of:
1457
1463
  * projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
1458
1464
  */
1459
1465
  name: string;
@@ -1484,7 +1490,7 @@ declare namespace gapi.client {
1484
1490
  /** 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
1491
  key?: string;
1486
1492
  /**
1487
- * Required. Name of the conversion workspace resource to apply draft to destination for. in the form of:
1493
+ * Required. The name of the conversion workspace resource for which to apply the draft tree. Must be in the form of:
1488
1494
  * projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
1489
1495
  */
1490
1496
  name: string;
@@ -1630,15 +1636,15 @@ declare namespace gapi.client {
1630
1636
  key?: string;
1631
1637
  /** OAuth 2.0 token for the current user. */
1632
1638
  oauth_token?: string;
1633
- /** Required. The parent, which owns this collection of conversion workspaces. */
1639
+ /** Required. The parent which owns this collection of conversion workspaces. */
1634
1640
  parent: string;
1635
1641
  /** Returns response with indentations and line breaks. */
1636
1642
  prettyPrint?: boolean;
1637
1643
  /** 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
1644
  quotaUser?: string;
1639
1645
  /**
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.
1646
+ * 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
1647
+ * 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
1648
  */
1643
1649
  requestId?: string;
1644
1650
  /** Upload protocol for media (e.g. "raw", "multipart"). */
@@ -1665,15 +1671,15 @@ declare namespace gapi.client {
1665
1671
  key?: string;
1666
1672
  /** OAuth 2.0 token for the current user. */
1667
1673
  oauth_token?: string;
1668
- /** Required. The parent, which owns this collection of conversion workspaces. */
1674
+ /** Required. The parent which owns this collection of conversion workspaces. */
1669
1675
  parent: string;
1670
1676
  /** Returns response with indentations and line breaks. */
1671
1677
  prettyPrint?: boolean;
1672
1678
  /** 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
1679
  quotaUser?: string;
1674
1680
  /**
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.
1681
+ * 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
1682
+ * 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
1683
  */
1678
1684
  requestId?: string;
1679
1685
  /** Upload protocol for media (e.g. "raw", "multipart"). */
@@ -1705,8 +1711,8 @@ declare namespace gapi.client {
1705
1711
  /** 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
1712
  quotaUser?: string;
1707
1713
  /**
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.
1714
+ * 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
1715
+ * 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
1716
  */
1711
1717
  requestId?: string;
1712
1718
  /** Upload protocol for media (e.g. "raw", "multipart"). */
@@ -1724,10 +1730,10 @@ declare namespace gapi.client {
1724
1730
  alt?: string;
1725
1731
  /** JSONP */
1726
1732
  callback?: string;
1727
- /** Optional. Optional filter to request a specific commit id */
1733
+ /** Optional. Optional filter to request a specific commit ID. */
1728
1734
  commitId?: string;
1729
1735
  /**
1730
- * Required. Name of the conversion workspace resource whose revisions are listed. in the form of:
1736
+ * Required. Name of the conversion workspace resource whose revisions are listed. Must be in the form of:
1731
1737
  * projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
1732
1738
  */
1733
1739
  conversionWorkspace: string;
@@ -1747,8 +1753,8 @@ declare namespace gapi.client {
1747
1753
  uploadType?: string;
1748
1754
  }): Request<DescribeConversionWorkspaceRevisionsResponse>;
1749
1755
  /**
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.
1756
+ * 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,
1757
+ * and they can't be created, updated or deleted. Instead, they are simple data objects describing the structure of the client database.
1752
1758
  */
1753
1759
  describeDatabaseEntities(request?: {
1754
1760
  /** V1 error format. */
@@ -1759,10 +1765,10 @@ declare namespace gapi.client {
1759
1765
  alt?: string;
1760
1766
  /** JSONP */
1761
1767
  callback?: string;
1762
- /** Request a specific commit id. If not specified, the entities from the latest commit are returned. */
1768
+ /** Request a specific commit ID. If not specified, the entities from the latest commit are returned. */
1763
1769
  commitId?: string;
1764
1770
  /**
1765
- * Required. Name of the conversion workspace resource whose DB entities are described in the form of:
1771
+ * Required. Name of the conversion workspace resource whose database entities are described. Must be in the form of:
1766
1772
  * projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
1767
1773
  */
1768
1774
  conversionWorkspace: string;
@@ -1774,7 +1780,7 @@ declare namespace gapi.client {
1774
1780
  key?: string;
1775
1781
  /** OAuth 2.0 token for the current user. */
1776
1782
  oauth_token?: string;
1777
- /** The maximum number of entities to return. The service may return fewer than this value. */
1783
+ /** The maximum number of entities to return. The service may return fewer entities than the value specifies. */
1778
1784
  pageSize?: number;
1779
1785
  /**
1780
1786
  * 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 +1882,21 @@ declare namespace gapi.client {
1876
1882
  * 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
1883
  * 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
1884
  * 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
1885
+ * select all conversion workspaces with source database version equal to 12.c.1.
1880
1886
  */
1881
1887
  filter?: string;
1882
1888
  /** 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
1889
  key?: string;
1884
1890
  /** OAuth 2.0 token for the current user. */
1885
1891
  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. */
1892
+ /** 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
1893
  pageSize?: number;
1888
1894
  /**
1889
1895
  * 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
1896
  * should be left blank. When paginating, all other parameters provided to conversionWorkspaces.list must match the call that provided the page token.
1891
1897
  */
1892
1898
  pageToken?: string;
1893
- /** Required. The parent, which owns this collection of conversion workspaces. */
1899
+ /** Required. The parent which owns this collection of conversion workspaces. */
1894
1900
  parent: string;
1895
1901
  /** Returns response with indentations and line breaks. */
1896
1902
  prettyPrint?: boolean;
@@ -1924,11 +1930,11 @@ declare namespace gapi.client {
1924
1930
  /** 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
1931
  quotaUser?: string;
1926
1932
  /**
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.
1933
+ * 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
1934
+ * 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
1935
  */
1930
1936
  requestId?: string;
1931
- /** Required. Field mask is used to specify the fields to be overwritten in the conversion workspace resource by the update. */
1937
+ /** Required. Field mask is used to specify the fields to be overwritten by the update in the conversion workspace resource. */
1932
1938
  updateMask?: string;
1933
1939
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1934
1940
  upload_protocol?: string;
@@ -1959,11 +1965,11 @@ declare namespace gapi.client {
1959
1965
  /** 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
1966
  quotaUser?: string;
1961
1967
  /**
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.
1968
+ * 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
1969
+ * 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
1970
  */
1965
1971
  requestId?: string;
1966
- /** Required. Field mask is used to specify the fields to be overwritten in the conversion workspace resource by the update. */
1972
+ /** Required. Field mask is used to specify the fields to be overwritten by the update in the conversion workspace resource. */
1967
1973
  updateMask?: string;
1968
1974
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1969
1975
  upload_protocol?: string;
@@ -1971,7 +1977,7 @@ declare namespace gapi.client {
1971
1977
  uploadType?: string;
1972
1978
  },
1973
1979
  body: ConversionWorkspace): Request<Operation>;
1974
- /** Rollbacks a conversion workspace to the last committed spanshot. */
1980
+ /** Rolls back a conversion workspace to the last committed snapshot. */
1975
1981
  rollback(request: {
1976
1982
  /** V1 error format. */
1977
1983
  "$.xgafv"?: string;
@@ -1985,7 +1991,7 @@ declare namespace gapi.client {
1985
1991
  fields?: string;
1986
1992
  /** 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
1993
  key?: string;
1988
- /** Required. Name of the conversion workspace resource to rollback to. */
1994
+ /** Required. Name of the conversion workspace resource to roll back to. */
1989
1995
  name: string;
1990
1996
  /** OAuth 2.0 token for the current user. */
1991
1997
  oauth_token?: string;
@@ -2013,7 +2019,7 @@ declare namespace gapi.client {
2013
2019
  fields?: string;
2014
2020
  /** 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
2021
  key?: string;
2016
- /** Required. Name of the conversion workspace resource to rollback to. */
2022
+ /** Required. Name of the conversion workspace resource to roll back to. */
2017
2023
  name: string;
2018
2024
  /** OAuth 2.0 token for the current user. */
2019
2025
  oauth_token?: string;
@@ -2028,8 +2034,8 @@ declare namespace gapi.client {
2028
2034
  },
2029
2035
  body: RollbackConversionWorkspaceRequest): Request<Operation>;
2030
2036
  /**
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.
2037
+ * 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,
2038
+ * updated or deleted. Instead, they are a way to expose the data plane jobs log.
2033
2039
  */
2034
2040
  searchBackgroundJobs(request?: {
2035
2041
  /** V1 error format. */
@@ -2040,17 +2046,17 @@ declare namespace gapi.client {
2040
2046
  alt?: string;
2041
2047
  /** JSONP */
2042
2048
  callback?: string;
2043
- /** Optional. If supplied, will only return jobs that completed until (not including) the given timestamp. */
2049
+ /** Optional. If provided, only returns jobs that completed until (not including) the given timestamp. */
2044
2050
  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}. */
2051
+ /** Required. Name of the conversion workspace resource whose jobs are listed, in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}. */
2046
2052
  conversionWorkspace: string;
2047
2053
  /** Selector specifying which fields to include in a partial response. */
2048
2054
  fields?: string;
2049
2055
  /** 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
2056
  key?: string;
2051
2057
  /**
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.
2058
+ * 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
2059
+ * above 100 are coerced to 100.
2054
2060
  */
2055
2061
  maxSize?: number;
2056
2062
  /** OAuth 2.0 token for the current user. */
@@ -2059,7 +2065,7 @@ declare namespace gapi.client {
2059
2065
  prettyPrint?: boolean;
2060
2066
  /** 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
2067
  quotaUser?: string;
2062
- /** Optional. Whether or not to return just the most recent job per job type */
2068
+ /** Optional. Whether or not to return just the most recent job per job type, */
2063
2069
  returnMostRecentPerJobType?: boolean;
2064
2070
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2065
2071
  upload_protocol?: string;
@@ -2081,7 +2087,7 @@ declare namespace gapi.client {
2081
2087
  /** 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
2088
  key?: string;
2083
2089
  /**
2084
- * Name of the conversion workspace resource to seed with new database structure. in the form of:
2090
+ * Name of the conversion workspace resource to seed with new database structure, in the form of:
2085
2091
  * projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
2086
2092
  */
2087
2093
  name: string;
@@ -2112,7 +2118,7 @@ declare namespace gapi.client {
2112
2118
  /** 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
2119
  key?: string;
2114
2120
  /**
2115
- * Name of the conversion workspace resource to seed with new database structure. in the form of:
2121
+ * Name of the conversion workspace resource to seed with new database structure, in the form of:
2116
2122
  * projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
2117
2123
  */
2118
2124
  name: string;
@@ -2214,15 +2220,15 @@ declare namespace gapi.client {
2214
2220
  migrationJobId?: string;
2215
2221
  /** OAuth 2.0 token for the current user. */
2216
2222
  oauth_token?: string;
2217
- /** Required. The parent, which owns this collection of migration jobs. */
2223
+ /** Required. The parent which owns this collection of migration jobs. */
2218
2224
  parent: string;
2219
2225
  /** Returns response with indentations and line breaks. */
2220
2226
  prettyPrint?: boolean;
2221
2227
  /** 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
2228
  quotaUser?: string;
2223
2229
  /**
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.
2230
+ * 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
2231
+ * 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
2232
  */
2227
2233
  requestId?: string;
2228
2234
  /** Upload protocol for media (e.g. "raw", "multipart"). */
@@ -2249,15 +2255,15 @@ declare namespace gapi.client {
2249
2255
  migrationJobId?: string;
2250
2256
  /** OAuth 2.0 token for the current user. */
2251
2257
  oauth_token?: string;
2252
- /** Required. The parent, which owns this collection of migration jobs. */
2258
+ /** Required. The parent which owns this collection of migration jobs. */
2253
2259
  parent: string;
2254
2260
  /** Returns response with indentations and line breaks. */
2255
2261
  prettyPrint?: boolean;
2256
2262
  /** 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
2263
  quotaUser?: string;
2258
2264
  /**
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.
2265
+ * 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
2266
+ * 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
2267
  */
2262
2268
  requestId?: string;
2263
2269
  /** Upload protocol for media (e.g. "raw", "multipart"). */
@@ -2291,8 +2297,8 @@ declare namespace gapi.client {
2291
2297
  /** 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
2298
  quotaUser?: string;
2293
2299
  /**
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.
2300
+ * 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
2301
+ * 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
2302
  */
2297
2303
  requestId?: string;
2298
2304
  /** Upload protocol for media (e.g. "raw", "multipart"). */
@@ -2448,7 +2454,7 @@ declare namespace gapi.client {
2448
2454
  orderBy?: string;
2449
2455
  /**
2450
2456
  * 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.
2457
+ * 1000; values above 1000 are coerced to 1000.
2452
2458
  */
2453
2459
  pageSize?: number;
2454
2460
  /**
@@ -2456,7 +2462,7 @@ declare namespace gapi.client {
2456
2462
  * left blank. When paginating, all other parameters provided to migrationJobs.list must match the call that provided the page token.
2457
2463
  */
2458
2464
  pageToken?: string;
2459
- /** Required. The parent, which owns this collection of migrationJobs. */
2465
+ /** Required. The parent which owns this collection of migrationJobs. */
2460
2466
  parent: string;
2461
2467
  /** Returns response with indentations and line breaks. */
2462
2468
  prettyPrint?: boolean;
@@ -2490,11 +2496,11 @@ declare namespace gapi.client {
2490
2496
  /** 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
2497
  quotaUser?: string;
2492
2498
  /**
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.
2499
+ * 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
2500
+ * 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
2501
  */
2496
2502
  requestId?: string;
2497
- /** Required. Field mask is used to specify the fields to be overwritten in the migration job resource by the update. */
2503
+ /** Required. Field mask is used to specify the fields to be overwritten by the update in the conversion workspace resource. */
2498
2504
  updateMask?: string;
2499
2505
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2500
2506
  upload_protocol?: string;
@@ -2525,11 +2531,11 @@ declare namespace gapi.client {
2525
2531
  /** 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
2532
  quotaUser?: string;
2527
2533
  /**
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.
2534
+ * 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
2535
+ * 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
2536
  */
2531
2537
  requestId?: string;
2532
- /** Required. Field mask is used to specify the fields to be overwritten in the migration job resource by the update. */
2538
+ /** Required. Field mask is used to specify the fields to be overwritten by the update in the conversion workspace resource. */
2533
2539
  updateMask?: string;
2534
2540
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2535
2541
  upload_protocol?: string;
@@ -3123,8 +3129,8 @@ declare namespace gapi.client {
3123
3129
  /** 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
3130
  quotaUser?: string;
3125
3131
  /**
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.
3132
+ * 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
3133
+ * 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
3134
  */
3129
3135
  requestId?: string;
3130
3136
  /** Optional. If set to true, will skip validations. */
@@ -3160,8 +3166,8 @@ declare namespace gapi.client {
3160
3166
  /** 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
3167
  quotaUser?: string;
3162
3168
  /**
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.
3169
+ * 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
3170
+ * 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
3171
  */
3166
3172
  requestId?: string;
3167
3173
  /** Optional. If set to true, will skip validations. */
@@ -3195,8 +3201,8 @@ declare namespace gapi.client {
3195
3201
  /** 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
3202
  quotaUser?: string;
3197
3203
  /**
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.
3204
+ * 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
3205
+ * 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
3206
  */
3201
3207
  requestId?: string;
3202
3208
  /** Upload protocol for media (e.g. "raw", "multipart"). */
@@ -3256,8 +3262,8 @@ declare namespace gapi.client {
3256
3262
  /** Order by fields for the result. */
3257
3263
  orderBy?: string;
3258
3264
  /**
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.
3265
+ * 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
3266
+ * 1000.
3261
3267
  */
3262
3268
  pageSize?: number;
3263
3269
  /**
@@ -3278,6 +3284,37 @@ declare namespace gapi.client {
3278
3284
  }): Request<ListPrivateConnectionsResponse>;
3279
3285
  }
3280
3286
  interface LocationsResource {
3287
+ /** Fetches a set of static IP addresses that need to be allowlisted by the customer when using the static-IP connectivity method. */
3288
+ fetchStaticIps(request?: {
3289
+ /** V1 error format. */
3290
+ "$.xgafv"?: string;
3291
+ /** OAuth access token. */
3292
+ access_token?: string;
3293
+ /** Data format for response. */
3294
+ alt?: string;
3295
+ /** JSONP */
3296
+ callback?: string;
3297
+ /** Selector specifying which fields to include in a partial response. */
3298
+ fields?: string;
3299
+ /** 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. */
3300
+ key?: string;
3301
+ /** Required. The resource name for the location for which static IPs should be returned. Must be in the format `projects/*‍/locations/*`. */
3302
+ name: string;
3303
+ /** OAuth 2.0 token for the current user. */
3304
+ oauth_token?: string;
3305
+ /** Maximum number of IPs to return. */
3306
+ pageSize?: number;
3307
+ /** A page token, received from a previous `FetchStaticIps` call. */
3308
+ pageToken?: string;
3309
+ /** Returns response with indentations and line breaks. */
3310
+ prettyPrint?: boolean;
3311
+ /** 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. */
3312
+ quotaUser?: string;
3313
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3314
+ upload_protocol?: string;
3315
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3316
+ uploadType?: string;
3317
+ }): Request<FetchStaticIpsResponse>;
3281
3318
  /** Gets information about a location. */
3282
3319
  get(request?: {
3283
3320
  /** 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.20230215",
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: 20230215
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",