@google-cloud/dms 2.2.1 → 2.3.0

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.
@@ -1,6 +1,6 @@
1
1
  /// <reference types="node" />
2
2
  import type * as gax from 'google-gax';
3
- import type { Callback, CallOptions, Descriptors, ClientOptions, LROperation, PaginationCallback } from 'google-gax';
3
+ import type { Callback, CallOptions, Descriptors, ClientOptions, LROperation, PaginationCallback, IamClient, IamProtos, LocationsClient, LocationProtos } from 'google-gax';
4
4
  import { Transform } from 'stream';
5
5
  import * as protos from '../../protos/protos';
6
6
  /**
@@ -22,6 +22,8 @@ export declare class DataMigrationServiceClient {
22
22
  innerApiCalls: {
23
23
  [name: string]: Function;
24
24
  };
25
+ iamClient: IamClient;
26
+ locationsClient: LocationsClient;
25
27
  pathTemplates: {
26
28
  [name: string]: gax.PathTemplate;
27
29
  };
@@ -147,7 +149,7 @@ export declare class DataMigrationServiceClient {
147
149
  * @param {google.cloud.clouddms.v1.VmSelectionConfig} request.vmSelectionConfig
148
150
  * The VM selection configuration
149
151
  * @param {number} request.vmPort
150
- * The port that will be open on the bastion host
152
+ * The port that will be open on the bastion host.
151
153
  * @param {object} [options]
152
154
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
153
155
  * @returns {Promise} - The promise which resolves to an array.
@@ -189,13 +191,131 @@ export declare class DataMigrationServiceClient {
189
191
  ]>;
190
192
  getConnectionProfile(request: protos.google.cloud.clouddms.v1.IGetConnectionProfileRequest, options: CallOptions, callback: Callback<protos.google.cloud.clouddms.v1.IConnectionProfile, protos.google.cloud.clouddms.v1.IGetConnectionProfileRequest | null | undefined, {} | null | undefined>): void;
191
193
  getConnectionProfile(request: protos.google.cloud.clouddms.v1.IGetConnectionProfileRequest, callback: Callback<protos.google.cloud.clouddms.v1.IConnectionProfile, protos.google.cloud.clouddms.v1.IGetConnectionProfileRequest | null | undefined, {} | null | undefined>): void;
194
+ /**
195
+ * Gets details of a single private connection.
196
+ *
197
+ * @param {Object} request
198
+ * The request object that will be sent.
199
+ * @param {string} request.name
200
+ * Required. The name of the private connection to get.
201
+ * @param {object} [options]
202
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
203
+ * @returns {Promise} - The promise which resolves to an array.
204
+ * The first element of the array is an object representing {@link google.cloud.clouddms.v1.PrivateConnection | PrivateConnection}.
205
+ * Please see the
206
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
207
+ * for more details and examples.
208
+ * @example <caption>include:samples/generated/v1/data_migration_service.get_private_connection.js</caption>
209
+ * region_tag:datamigration_v1_generated_DataMigrationService_GetPrivateConnection_async
210
+ */
211
+ getPrivateConnection(request?: protos.google.cloud.clouddms.v1.IGetPrivateConnectionRequest, options?: CallOptions): Promise<[
212
+ protos.google.cloud.clouddms.v1.IPrivateConnection,
213
+ protos.google.cloud.clouddms.v1.IGetPrivateConnectionRequest | undefined,
214
+ {} | undefined
215
+ ]>;
216
+ getPrivateConnection(request: protos.google.cloud.clouddms.v1.IGetPrivateConnectionRequest, options: CallOptions, callback: Callback<protos.google.cloud.clouddms.v1.IPrivateConnection, protos.google.cloud.clouddms.v1.IGetPrivateConnectionRequest | null | undefined, {} | null | undefined>): void;
217
+ getPrivateConnection(request: protos.google.cloud.clouddms.v1.IGetPrivateConnectionRequest, callback: Callback<protos.google.cloud.clouddms.v1.IPrivateConnection, protos.google.cloud.clouddms.v1.IGetPrivateConnectionRequest | null | undefined, {} | null | undefined>): void;
218
+ /**
219
+ * Gets details of a single conversion workspace.
220
+ *
221
+ * @param {Object} request
222
+ * The request object that will be sent.
223
+ * @param {string} request.name
224
+ * Required. Name of the conversion workspace resource to get.
225
+ * @param {object} [options]
226
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
227
+ * @returns {Promise} - The promise which resolves to an array.
228
+ * The first element of the array is an object representing {@link google.cloud.clouddms.v1.ConversionWorkspace | ConversionWorkspace}.
229
+ * Please see the
230
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
231
+ * for more details and examples.
232
+ * @example <caption>include:samples/generated/v1/data_migration_service.get_conversion_workspace.js</caption>
233
+ * region_tag:datamigration_v1_generated_DataMigrationService_GetConversionWorkspace_async
234
+ */
235
+ getConversionWorkspace(request?: protos.google.cloud.clouddms.v1.IGetConversionWorkspaceRequest, options?: CallOptions): Promise<[
236
+ protos.google.cloud.clouddms.v1.IConversionWorkspace,
237
+ (protos.google.cloud.clouddms.v1.IGetConversionWorkspaceRequest | undefined),
238
+ {} | undefined
239
+ ]>;
240
+ getConversionWorkspace(request: protos.google.cloud.clouddms.v1.IGetConversionWorkspaceRequest, options: CallOptions, callback: Callback<protos.google.cloud.clouddms.v1.IConversionWorkspace, protos.google.cloud.clouddms.v1.IGetConversionWorkspaceRequest | null | undefined, {} | null | undefined>): void;
241
+ getConversionWorkspace(request: protos.google.cloud.clouddms.v1.IGetConversionWorkspaceRequest, callback: Callback<protos.google.cloud.clouddms.v1.IConversionWorkspace, protos.google.cloud.clouddms.v1.IGetConversionWorkspaceRequest | null | undefined, {} | null | undefined>): void;
242
+ /**
243
+ * Searches/lists the background jobs for a specific
244
+ * conversion workspace.
245
+ *
246
+ * The background jobs are not resources like conversion workspaces or
247
+ * mapping rules, and they can't be created, updated or deleted.
248
+ * Instead, they are a way to expose the data plane jobs log.
249
+ *
250
+ * @param {Object} request
251
+ * The request object that will be sent.
252
+ * @param {string} request.conversionWorkspace
253
+ * Required. Name of the conversion workspace resource whose jobs are listed,
254
+ * in the form of:
255
+ * projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
256
+ * @param {boolean} [request.returnMostRecentPerJobType]
257
+ * Optional. Whether or not to return just the most recent job per job type,
258
+ * @param {number} [request.maxSize]
259
+ * Optional. The maximum number of jobs to return. The service may return
260
+ * fewer than this value. If unspecified, at most 100 jobs are
261
+ * returned. The maximum value is 100; values above 100 are coerced to
262
+ * 100.
263
+ * @param {google.protobuf.Timestamp} [request.completedUntilTime]
264
+ * Optional. If provided, only returns jobs that completed until (not
265
+ * including) the given timestamp.
266
+ * @param {object} [options]
267
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
268
+ * @returns {Promise} - The promise which resolves to an array.
269
+ * The first element of the array is an object representing {@link google.cloud.clouddms.v1.SearchBackgroundJobsResponse | SearchBackgroundJobsResponse}.
270
+ * Please see the
271
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
272
+ * for more details and examples.
273
+ * @example <caption>include:samples/generated/v1/data_migration_service.search_background_jobs.js</caption>
274
+ * region_tag:datamigration_v1_generated_DataMigrationService_SearchBackgroundJobs_async
275
+ */
276
+ searchBackgroundJobs(request?: protos.google.cloud.clouddms.v1.ISearchBackgroundJobsRequest, options?: CallOptions): Promise<[
277
+ protos.google.cloud.clouddms.v1.ISearchBackgroundJobsResponse,
278
+ protos.google.cloud.clouddms.v1.ISearchBackgroundJobsRequest | undefined,
279
+ {} | undefined
280
+ ]>;
281
+ searchBackgroundJobs(request: protos.google.cloud.clouddms.v1.ISearchBackgroundJobsRequest, options: CallOptions, callback: Callback<protos.google.cloud.clouddms.v1.ISearchBackgroundJobsResponse, protos.google.cloud.clouddms.v1.ISearchBackgroundJobsRequest | null | undefined, {} | null | undefined>): void;
282
+ searchBackgroundJobs(request: protos.google.cloud.clouddms.v1.ISearchBackgroundJobsRequest, callback: Callback<protos.google.cloud.clouddms.v1.ISearchBackgroundJobsResponse, protos.google.cloud.clouddms.v1.ISearchBackgroundJobsRequest | null | undefined, {} | null | undefined>): void;
283
+ /**
284
+ * Retrieves a list of committed revisions of a specific conversion
285
+ * workspace.
286
+ *
287
+ * @param {Object} request
288
+ * The request object that will be sent.
289
+ * @param {string} request.conversionWorkspace
290
+ * Required. Name of the conversion workspace resource whose revisions are
291
+ * listed. Must be in the form of:
292
+ * projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
293
+ * @param {string} [request.commitId]
294
+ * Optional. Optional filter to request a specific commit ID.
295
+ * @param {object} [options]
296
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
297
+ * @returns {Promise} - The promise which resolves to an array.
298
+ * The first element of the array is an object representing {@link google.cloud.clouddms.v1.DescribeConversionWorkspaceRevisionsResponse | DescribeConversionWorkspaceRevisionsResponse}.
299
+ * Please see the
300
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
301
+ * for more details and examples.
302
+ * @example <caption>include:samples/generated/v1/data_migration_service.describe_conversion_workspace_revisions.js</caption>
303
+ * region_tag:datamigration_v1_generated_DataMigrationService_DescribeConversionWorkspaceRevisions_async
304
+ */
305
+ describeConversionWorkspaceRevisions(request?: protos.google.cloud.clouddms.v1.IDescribeConversionWorkspaceRevisionsRequest, options?: CallOptions): Promise<[
306
+ protos.google.cloud.clouddms.v1.IDescribeConversionWorkspaceRevisionsResponse,
307
+ (protos.google.cloud.clouddms.v1.IDescribeConversionWorkspaceRevisionsRequest | undefined),
308
+ {} | undefined
309
+ ]>;
310
+ describeConversionWorkspaceRevisions(request: protos.google.cloud.clouddms.v1.IDescribeConversionWorkspaceRevisionsRequest, options: CallOptions, callback: Callback<protos.google.cloud.clouddms.v1.IDescribeConversionWorkspaceRevisionsResponse, protos.google.cloud.clouddms.v1.IDescribeConversionWorkspaceRevisionsRequest | null | undefined, {} | null | undefined>): void;
311
+ describeConversionWorkspaceRevisions(request: protos.google.cloud.clouddms.v1.IDescribeConversionWorkspaceRevisionsRequest, callback: Callback<protos.google.cloud.clouddms.v1.IDescribeConversionWorkspaceRevisionsResponse, protos.google.cloud.clouddms.v1.IDescribeConversionWorkspaceRevisionsRequest | null | undefined, {} | null | undefined>): void;
192
312
  /**
193
313
  * Creates a new migration job in a given project and location.
194
314
  *
195
315
  * @param {Object} request
196
316
  * The request object that will be sent.
197
317
  * @param {string} request.parent
198
- * Required. The parent, which owns this collection of migration jobs.
318
+ * Required. The parent which owns this collection of migration jobs.
199
319
  * @param {string} request.migrationJobId
200
320
  * Required. The ID of the instance to create.
201
321
  * @param {google.cloud.clouddms.v1.MigrationJob} request.migrationJob
@@ -203,12 +323,12 @@ export declare class DataMigrationServiceClient {
203
323
  * job](https://cloud.google.com/database-migration/docs/reference/rest/v1/projects.locations.migrationJobs)
204
324
  * object.
205
325
  * @param {string} request.requestId
206
- * A unique id used to identify the request. If the server receives two
207
- * requests with the same id, then the second request will be ignored.
326
+ * A unique ID used to identify the request. If the server receives two
327
+ * requests with the same ID, then the second request is ignored.
208
328
  *
209
329
  * It is recommended to always set this value to a UUID.
210
330
  *
211
- * The id must contain only letters (a-z, A-Z), numbers (0-9), underscores
331
+ * The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
212
332
  * (_), and hyphens (-). The maximum length is 40 characters.
213
333
  * @param {object} [options]
214
334
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
@@ -248,17 +368,17 @@ export declare class DataMigrationServiceClient {
248
368
  * @param {Object} request
249
369
  * The request object that will be sent.
250
370
  * @param {google.protobuf.FieldMask} request.updateMask
251
- * Required. Field mask is used to specify the fields to be overwritten in the
252
- * migration job resource by the update.
371
+ * Required. Field mask is used to specify the fields to be overwritten by the
372
+ * update in the conversion workspace resource.
253
373
  * @param {google.cloud.clouddms.v1.MigrationJob} request.migrationJob
254
374
  * Required. The migration job parameters to update.
255
375
  * @param {string} request.requestId
256
- * A unique id used to identify the request. If the server receives two
257
- * requests with the same id, then the second request will be ignored.
376
+ * A unique ID used to identify the request. If the server receives two
377
+ * requests with the same ID, then the second request is ignored.
258
378
  *
259
379
  * It is recommended to always set this value to a UUID.
260
380
  *
261
- * The id must contain only letters (a-z, A-Z), numbers (0-9), underscores
381
+ * The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
262
382
  * (_), and hyphens (-). The maximum length is 40 characters.
263
383
  * @param {object} [options]
264
384
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
@@ -300,12 +420,12 @@ export declare class DataMigrationServiceClient {
300
420
  * @param {string} request.name
301
421
  * Required. Name of the migration job resource to delete.
302
422
  * @param {string} request.requestId
303
- * A unique id used to identify the request. If the server receives two
304
- * requests with the same id, then the second request will be ignored.
423
+ * A unique ID used to identify the request. If the server receives two
424
+ * requests with the same ID, then the second request is ignored.
305
425
  *
306
426
  * It is recommended to always set this value to a UUID.
307
427
  *
308
- * The id must contain only letters (a-z, A-Z), numbers (0-9), underscores
428
+ * The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
309
429
  * (_), and hyphens (-). The maximum length is 40 characters.
310
430
  * @param {boolean} request.force
311
431
  * The destination CloudSQL connection profile is always deleted with the
@@ -588,19 +708,27 @@ export declare class DataMigrationServiceClient {
588
708
  * @param {Object} request
589
709
  * The request object that will be sent.
590
710
  * @param {string} request.parent
591
- * Required. The parent, which owns this collection of connection profiles.
711
+ * Required. The parent which owns this collection of connection profiles.
592
712
  * @param {string} request.connectionProfileId
593
713
  * Required. The connection profile identifier.
594
714
  * @param {google.cloud.clouddms.v1.ConnectionProfile} request.connectionProfile
595
715
  * Required. The create request body including the connection profile data
596
- * @param {string} request.requestId
597
- * A unique id used to identify the request. If the server receives two
598
- * requests with the same id, then the second request will be ignored.
716
+ * @param {string} [request.requestId]
717
+ * Optional. A unique ID used to identify the request. If the server receives
718
+ * two requests with the same ID, then the second request is ignored.
599
719
  *
600
720
  * It is recommended to always set this value to a UUID.
601
721
  *
602
- * The id must contain only letters (a-z, A-Z), numbers (0-9), underscores
722
+ * The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
603
723
  * (_), and hyphens (-). The maximum length is 40 characters.
724
+ * @param {boolean} [request.validateOnly]
725
+ * Optional. Only validate the connection profile, but don't create any
726
+ * resources. The default is false. Only supported for Oracle connection
727
+ * profiles.
728
+ * @param {boolean} [request.skipValidation]
729
+ * Optional. Create the connection profile without validating it.
730
+ * The default is false.
731
+ * Only supported for Oracle connection profiles.
604
732
  * @param {object} [options]
605
733
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
606
734
  * @returns {Promise} - The promise which resolves to an array.
@@ -639,18 +767,26 @@ export declare class DataMigrationServiceClient {
639
767
  * @param {Object} request
640
768
  * The request object that will be sent.
641
769
  * @param {google.protobuf.FieldMask} request.updateMask
642
- * Required. Field mask is used to specify the fields to be overwritten in the
643
- * connection profile resource by the update.
770
+ * Required. Field mask is used to specify the fields to be overwritten by the
771
+ * update in the conversion workspace resource.
644
772
  * @param {google.cloud.clouddms.v1.ConnectionProfile} request.connectionProfile
645
773
  * Required. The connection profile parameters to update.
646
- * @param {string} request.requestId
647
- * A unique id used to identify the request. If the server receives two
648
- * requests with the same id, then the second request will be ignored.
774
+ * @param {string} [request.requestId]
775
+ * Optional. A unique ID used to identify the request. If the server receives
776
+ * two requests with the same ID, then the second request is ignored.
649
777
  *
650
778
  * It is recommended to always set this value to a UUID.
651
779
  *
652
- * The id must contain only letters (a-z, A-Z), numbers (0-9), underscores
780
+ * The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
653
781
  * (_), and hyphens (-). The maximum length is 40 characters.
782
+ * @param {boolean} [request.validateOnly]
783
+ * Optional. Only validate the connection profile, but don't update any
784
+ * resources. The default is false. Only supported for Oracle connection
785
+ * profiles.
786
+ * @param {boolean} [request.skipValidation]
787
+ * Optional. Update the connection profile without validating it.
788
+ * The default is false.
789
+ * Only supported for Oracle connection profiles.
654
790
  * @param {object} [options]
655
791
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
656
792
  * @returns {Promise} - The promise which resolves to an array.
@@ -693,12 +829,12 @@ export declare class DataMigrationServiceClient {
693
829
  * @param {string} request.name
694
830
  * Required. Name of the connection profile resource to delete.
695
831
  * @param {string} request.requestId
696
- * A unique id used to identify the request. If the server receives two
697
- * requests with the same id, then the second request will be ignored.
832
+ * A unique ID used to identify the request. If the server receives two
833
+ * requests with the same ID, then the second request is ignored.
698
834
  *
699
835
  * It is recommended to always set this value to a UUID.
700
836
  *
701
- * The id must contain only letters (a-z, A-Z), numbers (0-9), underscores
837
+ * The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
702
838
  * (_), and hyphens (-). The maximum length is 40 characters.
703
839
  * @param {boolean} request.force
704
840
  * In case of force delete, the CloudSQL replica database is also deleted
@@ -736,282 +872,1539 @@ export declare class DataMigrationServiceClient {
736
872
  */
737
873
  checkDeleteConnectionProfileProgress(name: string): Promise<LROperation<protos.google.protobuf.Empty, protos.google.cloud.clouddms.v1.OperationMetadata>>;
738
874
  /**
739
- * Lists migration jobs in a given project and location.
875
+ * Creates a new private connection in a given project and location.
740
876
  *
741
877
  * @param {Object} request
742
878
  * The request object that will be sent.
743
879
  * @param {string} request.parent
744
- * Required. The parent, which owns this collection of migrationJobs.
745
- * @param {number} request.pageSize
746
- * The maximum number of migration jobs to return. The service may return
747
- * fewer than this value. If unspecified, at most 50 migration jobs will be
748
- * returned. The maximum value is 1000; values above 1000 will be coerced to
749
- * 1000.
750
- * @param {string} request.pageToken
751
- * The nextPageToken value received in the previous call to
752
- * migrationJobs.list, used in the subsequent request to retrieve the next
753
- * page of results. On first call this should be left blank. When paginating,
754
- * all other parameters provided to migrationJobs.list must match the call
755
- * that provided the page token.
756
- * @param {string} request.filter
757
- * A filter expression that filters migration jobs listed in the response.
758
- * The expression must specify the field name, a comparison operator, and the
759
- * value that you want to use for filtering. The value must be a string,
760
- * a number, or a boolean. The comparison operator must be
761
- * either =, !=, >, or <. For example, list migration jobs created this year
762
- * by specifying **createTime %gt; 2020-01-01T00:00:00.000000000Z.**
763
- * You can also filter nested fields. For example, you could specify
764
- * **reverseSshConnectivity.vmIp = "1.2.3.4"** to select all migration
765
- * jobs connecting through the specific SSH tunnel bastion.
766
- * @param {string} request.orderBy
767
- * Sort the results based on the migration job name.
768
- * Valid values are: "name", "name asc", and "name desc".
880
+ * Required. The parent that owns the collection of PrivateConnections.
881
+ * @param {string} request.privateConnectionId
882
+ * Required. The private connection identifier.
883
+ * @param {google.cloud.clouddms.v1.PrivateConnection} request.privateConnection
884
+ * Required. The private connection resource to create.
885
+ * @param {string} [request.requestId]
886
+ * Optional. A unique ID used to identify the request. If the server receives
887
+ * two requests with the same ID, then the second request is ignored.
888
+ *
889
+ * It is recommended to always set this value to a UUID.
890
+ *
891
+ * The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
892
+ * (_), and hyphens (-). The maximum length is 40 characters.
893
+ * @param {boolean} [request.skipValidation]
894
+ * Optional. If set to true, will skip validations.
769
895
  * @param {object} [options]
770
896
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
771
897
  * @returns {Promise} - The promise which resolves to an array.
772
- * The first element of the array is Array of {@link google.cloud.clouddms.v1.MigrationJob | MigrationJob}.
773
- * The client library will perform auto-pagination by default: it will call the API as many
774
- * times as needed and will merge results from all the pages into this array.
775
- * Note that it can affect your quota.
776
- * We recommend using `listMigrationJobsAsync()`
777
- * method described below for async iteration which you can stop as needed.
898
+ * The first element of the array is an object representing
899
+ * a long running operation. Its `promise()` method returns a promise
900
+ * you can `await` for.
778
901
  * Please see the
779
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
902
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
780
903
  * for more details and examples.
904
+ * @example <caption>include:samples/generated/v1/data_migration_service.create_private_connection.js</caption>
905
+ * region_tag:datamigration_v1_generated_DataMigrationService_CreatePrivateConnection_async
781
906
  */
782
- listMigrationJobs(request?: protos.google.cloud.clouddms.v1.IListMigrationJobsRequest, options?: CallOptions): Promise<[
783
- protos.google.cloud.clouddms.v1.IMigrationJob[],
784
- protos.google.cloud.clouddms.v1.IListMigrationJobsRequest | null,
785
- protos.google.cloud.clouddms.v1.IListMigrationJobsResponse
907
+ createPrivateConnection(request?: protos.google.cloud.clouddms.v1.ICreatePrivateConnectionRequest, options?: CallOptions): Promise<[
908
+ LROperation<protos.google.cloud.clouddms.v1.IPrivateConnection, protos.google.cloud.clouddms.v1.IOperationMetadata>,
909
+ protos.google.longrunning.IOperation | undefined,
910
+ {} | undefined
786
911
  ]>;
787
- listMigrationJobs(request: protos.google.cloud.clouddms.v1.IListMigrationJobsRequest, options: CallOptions, callback: PaginationCallback<protos.google.cloud.clouddms.v1.IListMigrationJobsRequest, protos.google.cloud.clouddms.v1.IListMigrationJobsResponse | null | undefined, protos.google.cloud.clouddms.v1.IMigrationJob>): void;
788
- listMigrationJobs(request: protos.google.cloud.clouddms.v1.IListMigrationJobsRequest, callback: PaginationCallback<protos.google.cloud.clouddms.v1.IListMigrationJobsRequest, protos.google.cloud.clouddms.v1.IListMigrationJobsResponse | null | undefined, protos.google.cloud.clouddms.v1.IMigrationJob>): void;
912
+ createPrivateConnection(request: protos.google.cloud.clouddms.v1.ICreatePrivateConnectionRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.clouddms.v1.IPrivateConnection, protos.google.cloud.clouddms.v1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
913
+ createPrivateConnection(request: protos.google.cloud.clouddms.v1.ICreatePrivateConnectionRequest, callback: Callback<LROperation<protos.google.cloud.clouddms.v1.IPrivateConnection, protos.google.cloud.clouddms.v1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
789
914
  /**
790
- * Equivalent to `method.name.toCamelCase()`, but returns a NodeJS Stream object.
791
- * @param {Object} request
792
- * The request object that will be sent.
793
- * @param {string} request.parent
794
- * Required. The parent, which owns this collection of migrationJobs.
795
- * @param {number} request.pageSize
796
- * The maximum number of migration jobs to return. The service may return
797
- * fewer than this value. If unspecified, at most 50 migration jobs will be
798
- * returned. The maximum value is 1000; values above 1000 will be coerced to
799
- * 1000.
800
- * @param {string} request.pageToken
801
- * The nextPageToken value received in the previous call to
802
- * migrationJobs.list, used in the subsequent request to retrieve the next
803
- * page of results. On first call this should be left blank. When paginating,
804
- * all other parameters provided to migrationJobs.list must match the call
805
- * that provided the page token.
806
- * @param {string} request.filter
807
- * A filter expression that filters migration jobs listed in the response.
808
- * The expression must specify the field name, a comparison operator, and the
809
- * value that you want to use for filtering. The value must be a string,
810
- * a number, or a boolean. The comparison operator must be
811
- * either =, !=, >, or <. For example, list migration jobs created this year
812
- * by specifying **createTime %gt; 2020-01-01T00:00:00.000000000Z.**
813
- * You can also filter nested fields. For example, you could specify
814
- * **reverseSshConnectivity.vmIp = "1.2.3.4"** to select all migration
815
- * jobs connecting through the specific SSH tunnel bastion.
816
- * @param {string} request.orderBy
817
- * Sort the results based on the migration job name.
818
- * Valid values are: "name", "name asc", and "name desc".
819
- * @param {object} [options]
820
- * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
821
- * @returns {Stream}
822
- * An object stream which emits an object representing {@link google.cloud.clouddms.v1.MigrationJob | MigrationJob} on 'data' event.
823
- * The client library will perform auto-pagination by default: it will call the API as many
824
- * times as needed. Note that it can affect your quota.
825
- * We recommend using `listMigrationJobsAsync()`
826
- * method described below for async iteration which you can stop as needed.
915
+ * Check the status of the long running operation returned by `createPrivateConnection()`.
916
+ * @param {String} name
917
+ * The operation name that will be passed.
918
+ * @returns {Promise} - The promise which resolves to an object.
919
+ * The decoded operation object has result and metadata field to get information from.
827
920
  * Please see the
828
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
921
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
829
922
  * for more details and examples.
923
+ * @example <caption>include:samples/generated/v1/data_migration_service.create_private_connection.js</caption>
924
+ * region_tag:datamigration_v1_generated_DataMigrationService_CreatePrivateConnection_async
830
925
  */
831
- listMigrationJobsStream(request?: protos.google.cloud.clouddms.v1.IListMigrationJobsRequest, options?: CallOptions): Transform;
926
+ checkCreatePrivateConnectionProgress(name: string): Promise<LROperation<protos.google.cloud.clouddms.v1.PrivateConnection, protos.google.cloud.clouddms.v1.OperationMetadata>>;
832
927
  /**
833
- * Equivalent to `listMigrationJobs`, but returns an iterable object.
928
+ * Deletes a single Database Migration Service private connection.
834
929
  *
835
- * `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
836
930
  * @param {Object} request
837
931
  * The request object that will be sent.
838
- * @param {string} request.parent
839
- * Required. The parent, which owns this collection of migrationJobs.
840
- * @param {number} request.pageSize
841
- * The maximum number of migration jobs to return. The service may return
842
- * fewer than this value. If unspecified, at most 50 migration jobs will be
843
- * returned. The maximum value is 1000; values above 1000 will be coerced to
844
- * 1000.
845
- * @param {string} request.pageToken
846
- * The nextPageToken value received in the previous call to
847
- * migrationJobs.list, used in the subsequent request to retrieve the next
848
- * page of results. On first call this should be left blank. When paginating,
849
- * all other parameters provided to migrationJobs.list must match the call
850
- * that provided the page token.
851
- * @param {string} request.filter
852
- * A filter expression that filters migration jobs listed in the response.
853
- * The expression must specify the field name, a comparison operator, and the
854
- * value that you want to use for filtering. The value must be a string,
855
- * a number, or a boolean. The comparison operator must be
856
- * either =, !=, >, or <. For example, list migration jobs created this year
857
- * by specifying **createTime %gt; 2020-01-01T00:00:00.000000000Z.**
858
- * You can also filter nested fields. For example, you could specify
859
- * **reverseSshConnectivity.vmIp = "1.2.3.4"** to select all migration
860
- * jobs connecting through the specific SSH tunnel bastion.
861
- * @param {string} request.orderBy
862
- * Sort the results based on the migration job name.
863
- * Valid values are: "name", "name asc", and "name desc".
932
+ * @param {string} request.name
933
+ * Required. The name of the private connection to delete.
934
+ * @param {string} [request.requestId]
935
+ * Optional. A unique ID used to identify the request. If the server receives
936
+ * two requests with the same ID, then the second request is ignored.
937
+ *
938
+ * It is recommended to always set this value to a UUID.
939
+ *
940
+ * The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
941
+ * (_), and hyphens (-). The maximum length is 40 characters.
864
942
  * @param {object} [options]
865
943
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
866
- * @returns {Object}
867
- * An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols).
868
- * When you iterate the returned iterable, each element will be an object representing
869
- * {@link google.cloud.clouddms.v1.MigrationJob | MigrationJob}. The API will be called under the hood as needed, once per the page,
870
- * so you can stop the iteration when you don't need more results.
944
+ * @returns {Promise} - The promise which resolves to an array.
945
+ * The first element of the array is an object representing
946
+ * a long running operation. Its `promise()` method returns a promise
947
+ * you can `await` for.
871
948
  * Please see the
872
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
949
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
873
950
  * for more details and examples.
874
- * @example <caption>include:samples/generated/v1/data_migration_service.list_migration_jobs.js</caption>
875
- * region_tag:datamigration_v1_generated_DataMigrationService_ListMigrationJobs_async
951
+ * @example <caption>include:samples/generated/v1/data_migration_service.delete_private_connection.js</caption>
952
+ * region_tag:datamigration_v1_generated_DataMigrationService_DeletePrivateConnection_async
876
953
  */
877
- listMigrationJobsAsync(request?: protos.google.cloud.clouddms.v1.IListMigrationJobsRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.clouddms.v1.IMigrationJob>;
954
+ deletePrivateConnection(request?: protos.google.cloud.clouddms.v1.IDeletePrivateConnectionRequest, options?: CallOptions): Promise<[
955
+ LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.clouddms.v1.IOperationMetadata>,
956
+ protos.google.longrunning.IOperation | undefined,
957
+ {} | undefined
958
+ ]>;
959
+ deletePrivateConnection(request: protos.google.cloud.clouddms.v1.IDeletePrivateConnectionRequest, options: CallOptions, callback: Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.clouddms.v1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
960
+ deletePrivateConnection(request: protos.google.cloud.clouddms.v1.IDeletePrivateConnectionRequest, callback: Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.clouddms.v1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
961
+ /**
962
+ * Check the status of the long running operation returned by `deletePrivateConnection()`.
963
+ * @param {String} name
964
+ * The operation name that will be passed.
965
+ * @returns {Promise} - The promise which resolves to an object.
966
+ * The decoded operation object has result and metadata field to get information from.
967
+ * Please see the
968
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
969
+ * for more details and examples.
970
+ * @example <caption>include:samples/generated/v1/data_migration_service.delete_private_connection.js</caption>
971
+ * region_tag:datamigration_v1_generated_DataMigrationService_DeletePrivateConnection_async
972
+ */
973
+ checkDeletePrivateConnectionProgress(name: string): Promise<LROperation<protos.google.protobuf.Empty, protos.google.cloud.clouddms.v1.OperationMetadata>>;
878
974
  /**
879
- * Retrieve a list of all connection profiles in a given project and location.
975
+ * Creates a new conversion workspace in a given project and location.
880
976
  *
881
977
  * @param {Object} request
882
978
  * The request object that will be sent.
883
979
  * @param {string} request.parent
884
- * Required. The parent, which owns this collection of connection profiles.
885
- * @param {number} request.pageSize
886
- * The maximum number of connection profiles to return. The service may return
887
- * fewer than this value. If unspecified, at most 50 connection profiles will
888
- * be returned. The maximum value is 1000; values above 1000 will be coerced
889
- * to 1000.
890
- * @param {string} request.pageToken
891
- * A page token, received from a previous `ListConnectionProfiles` call.
892
- * Provide this to retrieve the subsequent page.
980
+ * Required. The parent which owns this collection of conversion workspaces.
981
+ * @param {string} request.conversionWorkspaceId
982
+ * Required. The ID of the conversion workspace to create.
983
+ * @param {google.cloud.clouddms.v1.ConversionWorkspace} request.conversionWorkspace
984
+ * Required. Represents a conversion workspace object.
985
+ * @param {string} request.requestId
986
+ * A unique ID used to identify the request. If the server receives two
987
+ * requests with the same ID, then the second request is ignored.
893
988
  *
894
- * When paginating, all other parameters provided to `ListConnectionProfiles`
895
- * must match the call that provided the page token.
896
- * @param {string} request.filter
897
- * A filter expression that filters connection profiles listed in the
898
- * response. The expression must specify the field name, a comparison
899
- * operator, and the value that you want to use for filtering. The value must
900
- * be a string, a number, or a boolean. The comparison operator must be either
901
- * =, !=, >, or <. For example, list connection profiles created this year by
902
- * specifying **createTime %gt; 2020-01-01T00:00:00.000000000Z**. You can
903
- * also filter nested fields. For example, you could specify **mySql.username
904
- * = %lt;my_username%gt;** to list all connection profiles configured to
905
- * connect with a specific username.
906
- * @param {string} request.orderBy
907
- * the order by fields for the result.
989
+ * It is recommended to always set this value to a UUID.
990
+ *
991
+ * The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
992
+ * (_), and hyphens (-). The maximum length is 40 characters.
908
993
  * @param {object} [options]
909
994
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
910
995
  * @returns {Promise} - The promise which resolves to an array.
911
- * The first element of the array is Array of {@link google.cloud.clouddms.v1.ConnectionProfile | ConnectionProfile}.
912
- * The client library will perform auto-pagination by default: it will call the API as many
913
- * times as needed and will merge results from all the pages into this array.
914
- * Note that it can affect your quota.
915
- * We recommend using `listConnectionProfilesAsync()`
916
- * method described below for async iteration which you can stop as needed.
996
+ * The first element of the array is an object representing
997
+ * a long running operation. Its `promise()` method returns a promise
998
+ * you can `await` for.
917
999
  * Please see the
918
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
1000
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
919
1001
  * for more details and examples.
1002
+ * @example <caption>include:samples/generated/v1/data_migration_service.create_conversion_workspace.js</caption>
1003
+ * region_tag:datamigration_v1_generated_DataMigrationService_CreateConversionWorkspace_async
920
1004
  */
921
- listConnectionProfiles(request?: protos.google.cloud.clouddms.v1.IListConnectionProfilesRequest, options?: CallOptions): Promise<[
922
- protos.google.cloud.clouddms.v1.IConnectionProfile[],
923
- protos.google.cloud.clouddms.v1.IListConnectionProfilesRequest | null,
924
- protos.google.cloud.clouddms.v1.IListConnectionProfilesResponse
1005
+ createConversionWorkspace(request?: protos.google.cloud.clouddms.v1.ICreateConversionWorkspaceRequest, options?: CallOptions): Promise<[
1006
+ LROperation<protos.google.cloud.clouddms.v1.IConversionWorkspace, protos.google.cloud.clouddms.v1.IOperationMetadata>,
1007
+ protos.google.longrunning.IOperation | undefined,
1008
+ {} | undefined
925
1009
  ]>;
926
- listConnectionProfiles(request: protos.google.cloud.clouddms.v1.IListConnectionProfilesRequest, options: CallOptions, callback: PaginationCallback<protos.google.cloud.clouddms.v1.IListConnectionProfilesRequest, protos.google.cloud.clouddms.v1.IListConnectionProfilesResponse | null | undefined, protos.google.cloud.clouddms.v1.IConnectionProfile>): void;
927
- listConnectionProfiles(request: protos.google.cloud.clouddms.v1.IListConnectionProfilesRequest, callback: PaginationCallback<protos.google.cloud.clouddms.v1.IListConnectionProfilesRequest, protos.google.cloud.clouddms.v1.IListConnectionProfilesResponse | null | undefined, protos.google.cloud.clouddms.v1.IConnectionProfile>): void;
1010
+ createConversionWorkspace(request: protos.google.cloud.clouddms.v1.ICreateConversionWorkspaceRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.clouddms.v1.IConversionWorkspace, protos.google.cloud.clouddms.v1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
1011
+ createConversionWorkspace(request: protos.google.cloud.clouddms.v1.ICreateConversionWorkspaceRequest, callback: Callback<LROperation<protos.google.cloud.clouddms.v1.IConversionWorkspace, protos.google.cloud.clouddms.v1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
928
1012
  /**
929
- * Equivalent to `method.name.toCamelCase()`, but returns a NodeJS Stream object.
930
- * @param {Object} request
931
- * The request object that will be sent.
932
- * @param {string} request.parent
933
- * Required. The parent, which owns this collection of connection profiles.
934
- * @param {number} request.pageSize
935
- * The maximum number of connection profiles to return. The service may return
936
- * fewer than this value. If unspecified, at most 50 connection profiles will
937
- * be returned. The maximum value is 1000; values above 1000 will be coerced
938
- * to 1000.
939
- * @param {string} request.pageToken
1013
+ * Check the status of the long running operation returned by `createConversionWorkspace()`.
1014
+ * @param {String} name
1015
+ * The operation name that will be passed.
1016
+ * @returns {Promise} - The promise which resolves to an object.
1017
+ * The decoded operation object has result and metadata field to get information from.
1018
+ * Please see the
1019
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
1020
+ * for more details and examples.
1021
+ * @example <caption>include:samples/generated/v1/data_migration_service.create_conversion_workspace.js</caption>
1022
+ * region_tag:datamigration_v1_generated_DataMigrationService_CreateConversionWorkspace_async
1023
+ */
1024
+ checkCreateConversionWorkspaceProgress(name: string): Promise<LROperation<protos.google.cloud.clouddms.v1.ConversionWorkspace, protos.google.cloud.clouddms.v1.OperationMetadata>>;
1025
+ /**
1026
+ * Updates the parameters of a single conversion workspace.
1027
+ *
1028
+ * @param {Object} request
1029
+ * The request object that will be sent.
1030
+ * @param {google.protobuf.FieldMask} request.updateMask
1031
+ * Required. Field mask is used to specify the fields to be overwritten by the
1032
+ * update in the conversion workspace resource.
1033
+ * @param {google.cloud.clouddms.v1.ConversionWorkspace} request.conversionWorkspace
1034
+ * Required. The conversion workspace parameters to update.
1035
+ * @param {string} request.requestId
1036
+ * A unique ID used to identify the request. If the server receives two
1037
+ * requests with the same ID, then the second request is ignored.
1038
+ *
1039
+ * It is recommended to always set this value to a UUID.
1040
+ *
1041
+ * The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
1042
+ * (_), and hyphens (-). The maximum length is 40 characters.
1043
+ * @param {object} [options]
1044
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
1045
+ * @returns {Promise} - The promise which resolves to an array.
1046
+ * The first element of the array is an object representing
1047
+ * a long running operation. Its `promise()` method returns a promise
1048
+ * you can `await` for.
1049
+ * Please see the
1050
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
1051
+ * for more details and examples.
1052
+ * @example <caption>include:samples/generated/v1/data_migration_service.update_conversion_workspace.js</caption>
1053
+ * region_tag:datamigration_v1_generated_DataMigrationService_UpdateConversionWorkspace_async
1054
+ */
1055
+ updateConversionWorkspace(request?: protos.google.cloud.clouddms.v1.IUpdateConversionWorkspaceRequest, options?: CallOptions): Promise<[
1056
+ LROperation<protos.google.cloud.clouddms.v1.IConversionWorkspace, protos.google.cloud.clouddms.v1.IOperationMetadata>,
1057
+ protos.google.longrunning.IOperation | undefined,
1058
+ {} | undefined
1059
+ ]>;
1060
+ updateConversionWorkspace(request: protos.google.cloud.clouddms.v1.IUpdateConversionWorkspaceRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.clouddms.v1.IConversionWorkspace, protos.google.cloud.clouddms.v1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
1061
+ updateConversionWorkspace(request: protos.google.cloud.clouddms.v1.IUpdateConversionWorkspaceRequest, callback: Callback<LROperation<protos.google.cloud.clouddms.v1.IConversionWorkspace, protos.google.cloud.clouddms.v1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
1062
+ /**
1063
+ * Check the status of the long running operation returned by `updateConversionWorkspace()`.
1064
+ * @param {String} name
1065
+ * The operation name that will be passed.
1066
+ * @returns {Promise} - The promise which resolves to an object.
1067
+ * The decoded operation object has result and metadata field to get information from.
1068
+ * Please see the
1069
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
1070
+ * for more details and examples.
1071
+ * @example <caption>include:samples/generated/v1/data_migration_service.update_conversion_workspace.js</caption>
1072
+ * region_tag:datamigration_v1_generated_DataMigrationService_UpdateConversionWorkspace_async
1073
+ */
1074
+ checkUpdateConversionWorkspaceProgress(name: string): Promise<LROperation<protos.google.cloud.clouddms.v1.ConversionWorkspace, protos.google.cloud.clouddms.v1.OperationMetadata>>;
1075
+ /**
1076
+ * Deletes a single conversion workspace.
1077
+ *
1078
+ * @param {Object} request
1079
+ * The request object that will be sent.
1080
+ * @param {string} request.name
1081
+ * Required. Name of the conversion workspace resource to delete.
1082
+ * @param {string} request.requestId
1083
+ * A unique ID used to identify the request. If the server receives two
1084
+ * requests with the same ID, then the second request is ignored.
1085
+ *
1086
+ * It is recommended to always set this value to a UUID.
1087
+ *
1088
+ * The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
1089
+ * (_), and hyphens (-). The maximum length is 40 characters.
1090
+ * @param {object} [options]
1091
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
1092
+ * @returns {Promise} - The promise which resolves to an array.
1093
+ * The first element of the array is an object representing
1094
+ * a long running operation. Its `promise()` method returns a promise
1095
+ * you can `await` for.
1096
+ * Please see the
1097
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
1098
+ * for more details and examples.
1099
+ * @example <caption>include:samples/generated/v1/data_migration_service.delete_conversion_workspace.js</caption>
1100
+ * region_tag:datamigration_v1_generated_DataMigrationService_DeleteConversionWorkspace_async
1101
+ */
1102
+ deleteConversionWorkspace(request?: protos.google.cloud.clouddms.v1.IDeleteConversionWorkspaceRequest, options?: CallOptions): Promise<[
1103
+ LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.clouddms.v1.IOperationMetadata>,
1104
+ protos.google.longrunning.IOperation | undefined,
1105
+ {} | undefined
1106
+ ]>;
1107
+ deleteConversionWorkspace(request: protos.google.cloud.clouddms.v1.IDeleteConversionWorkspaceRequest, options: CallOptions, callback: Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.clouddms.v1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
1108
+ deleteConversionWorkspace(request: protos.google.cloud.clouddms.v1.IDeleteConversionWorkspaceRequest, callback: Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.clouddms.v1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
1109
+ /**
1110
+ * Check the status of the long running operation returned by `deleteConversionWorkspace()`.
1111
+ * @param {String} name
1112
+ * The operation name that will be passed.
1113
+ * @returns {Promise} - The promise which resolves to an object.
1114
+ * The decoded operation object has result and metadata field to get information from.
1115
+ * Please see the
1116
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
1117
+ * for more details and examples.
1118
+ * @example <caption>include:samples/generated/v1/data_migration_service.delete_conversion_workspace.js</caption>
1119
+ * region_tag:datamigration_v1_generated_DataMigrationService_DeleteConversionWorkspace_async
1120
+ */
1121
+ checkDeleteConversionWorkspaceProgress(name: string): Promise<LROperation<protos.google.protobuf.Empty, protos.google.cloud.clouddms.v1.OperationMetadata>>;
1122
+ /**
1123
+ * Imports a snapshot of the source database into the
1124
+ * conversion workspace.
1125
+ *
1126
+ * @param {Object} request
1127
+ * The request object that will be sent.
1128
+ * @param {string} request.name
1129
+ * Name of the conversion workspace resource to seed with new database
1130
+ * structure, in the form of:
1131
+ * projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
1132
+ * @param {boolean} request.autoCommit
1133
+ * Should the conversion workspace be committed automatically after the
1134
+ * seed operation.
1135
+ * @param {string} request.sourceConnectionProfile
1136
+ * Fully qualified (Uri) name of the source connection profile.
1137
+ * @param {string} request.destinationConnectionProfile
1138
+ * Fully qualified (Uri) name of the destination connection profile.
1139
+ * @param {object} [options]
1140
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
1141
+ * @returns {Promise} - The promise which resolves to an array.
1142
+ * The first element of the array is an object representing
1143
+ * a long running operation. Its `promise()` method returns a promise
1144
+ * you can `await` for.
1145
+ * Please see the
1146
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
1147
+ * for more details and examples.
1148
+ * @example <caption>include:samples/generated/v1/data_migration_service.seed_conversion_workspace.js</caption>
1149
+ * region_tag:datamigration_v1_generated_DataMigrationService_SeedConversionWorkspace_async
1150
+ */
1151
+ seedConversionWorkspace(request?: protos.google.cloud.clouddms.v1.ISeedConversionWorkspaceRequest, options?: CallOptions): Promise<[
1152
+ LROperation<protos.google.cloud.clouddms.v1.IConversionWorkspace, protos.google.cloud.clouddms.v1.IOperationMetadata>,
1153
+ protos.google.longrunning.IOperation | undefined,
1154
+ {} | undefined
1155
+ ]>;
1156
+ seedConversionWorkspace(request: protos.google.cloud.clouddms.v1.ISeedConversionWorkspaceRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.clouddms.v1.IConversionWorkspace, protos.google.cloud.clouddms.v1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
1157
+ seedConversionWorkspace(request: protos.google.cloud.clouddms.v1.ISeedConversionWorkspaceRequest, callback: Callback<LROperation<protos.google.cloud.clouddms.v1.IConversionWorkspace, protos.google.cloud.clouddms.v1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
1158
+ /**
1159
+ * Check the status of the long running operation returned by `seedConversionWorkspace()`.
1160
+ * @param {String} name
1161
+ * The operation name that will be passed.
1162
+ * @returns {Promise} - The promise which resolves to an object.
1163
+ * The decoded operation object has result and metadata field to get information from.
1164
+ * Please see the
1165
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
1166
+ * for more details and examples.
1167
+ * @example <caption>include:samples/generated/v1/data_migration_service.seed_conversion_workspace.js</caption>
1168
+ * region_tag:datamigration_v1_generated_DataMigrationService_SeedConversionWorkspace_async
1169
+ */
1170
+ checkSeedConversionWorkspaceProgress(name: string): Promise<LROperation<protos.google.cloud.clouddms.v1.ConversionWorkspace, protos.google.cloud.clouddms.v1.OperationMetadata>>;
1171
+ /**
1172
+ * Imports the mapping rules for a given conversion workspace.
1173
+ * Supports various formats of external rules files.
1174
+ *
1175
+ * @param {Object} request
1176
+ * The request object that will be sent.
1177
+ * @param {string} request.parent
1178
+ * Required. Name of the conversion workspace resource to import the rules to
1179
+ * in the form of:
1180
+ * projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
1181
+ * @param {google.cloud.clouddms.v1.ImportRulesFileFormat} request.rulesFormat
1182
+ * The format of the rules content file.
1183
+ * @param {number[]} request.rulesFiles
1184
+ * One or more rules files.
1185
+ * @param {boolean} request.autoCommit
1186
+ * Should the conversion workspace be committed automatically after the
1187
+ * import operation.
1188
+ * @param {object} [options]
1189
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
1190
+ * @returns {Promise} - The promise which resolves to an array.
1191
+ * The first element of the array is an object representing
1192
+ * a long running operation. Its `promise()` method returns a promise
1193
+ * you can `await` for.
1194
+ * Please see the
1195
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
1196
+ * for more details and examples.
1197
+ * @example <caption>include:samples/generated/v1/data_migration_service.import_mapping_rules.js</caption>
1198
+ * region_tag:datamigration_v1_generated_DataMigrationService_ImportMappingRules_async
1199
+ */
1200
+ importMappingRules(request?: protos.google.cloud.clouddms.v1.IImportMappingRulesRequest, options?: CallOptions): Promise<[
1201
+ LROperation<protos.google.cloud.clouddms.v1.IConversionWorkspace, protos.google.cloud.clouddms.v1.IOperationMetadata>,
1202
+ protos.google.longrunning.IOperation | undefined,
1203
+ {} | undefined
1204
+ ]>;
1205
+ importMappingRules(request: protos.google.cloud.clouddms.v1.IImportMappingRulesRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.clouddms.v1.IConversionWorkspace, protos.google.cloud.clouddms.v1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
1206
+ importMappingRules(request: protos.google.cloud.clouddms.v1.IImportMappingRulesRequest, callback: Callback<LROperation<protos.google.cloud.clouddms.v1.IConversionWorkspace, protos.google.cloud.clouddms.v1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
1207
+ /**
1208
+ * Check the status of the long running operation returned by `importMappingRules()`.
1209
+ * @param {String} name
1210
+ * The operation name that will be passed.
1211
+ * @returns {Promise} - The promise which resolves to an object.
1212
+ * The decoded operation object has result and metadata field to get information from.
1213
+ * Please see the
1214
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
1215
+ * for more details and examples.
1216
+ * @example <caption>include:samples/generated/v1/data_migration_service.import_mapping_rules.js</caption>
1217
+ * region_tag:datamigration_v1_generated_DataMigrationService_ImportMappingRules_async
1218
+ */
1219
+ checkImportMappingRulesProgress(name: string): Promise<LROperation<protos.google.cloud.clouddms.v1.ConversionWorkspace, protos.google.cloud.clouddms.v1.OperationMetadata>>;
1220
+ /**
1221
+ * Creates a draft tree schema for the destination database.
1222
+ *
1223
+ * @param {Object} request
1224
+ * The request object that will be sent.
1225
+ * @param {string} request.name
1226
+ * Name of the conversion workspace resource to convert in the form of:
1227
+ * projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
1228
+ * @param {boolean} request.autoCommit
1229
+ * Specifies whether the conversion workspace is to be committed automatically
1230
+ * after the conversion.
1231
+ * @param {string} request.filter
1232
+ * Filter the entities to convert. Leaving this field empty will convert all
1233
+ * of the entities. Supports Google AIP-160 style filtering.
1234
+ * @param {object} [options]
1235
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
1236
+ * @returns {Promise} - The promise which resolves to an array.
1237
+ * The first element of the array is an object representing
1238
+ * a long running operation. Its `promise()` method returns a promise
1239
+ * you can `await` for.
1240
+ * Please see the
1241
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
1242
+ * for more details and examples.
1243
+ * @example <caption>include:samples/generated/v1/data_migration_service.convert_conversion_workspace.js</caption>
1244
+ * region_tag:datamigration_v1_generated_DataMigrationService_ConvertConversionWorkspace_async
1245
+ */
1246
+ convertConversionWorkspace(request?: protos.google.cloud.clouddms.v1.IConvertConversionWorkspaceRequest, options?: CallOptions): Promise<[
1247
+ LROperation<protos.google.cloud.clouddms.v1.IConversionWorkspace, protos.google.cloud.clouddms.v1.IOperationMetadata>,
1248
+ protos.google.longrunning.IOperation | undefined,
1249
+ {} | undefined
1250
+ ]>;
1251
+ convertConversionWorkspace(request: protos.google.cloud.clouddms.v1.IConvertConversionWorkspaceRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.clouddms.v1.IConversionWorkspace, protos.google.cloud.clouddms.v1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
1252
+ convertConversionWorkspace(request: protos.google.cloud.clouddms.v1.IConvertConversionWorkspaceRequest, callback: Callback<LROperation<protos.google.cloud.clouddms.v1.IConversionWorkspace, protos.google.cloud.clouddms.v1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
1253
+ /**
1254
+ * Check the status of the long running operation returned by `convertConversionWorkspace()`.
1255
+ * @param {String} name
1256
+ * The operation name that will be passed.
1257
+ * @returns {Promise} - The promise which resolves to an object.
1258
+ * The decoded operation object has result and metadata field to get information from.
1259
+ * Please see the
1260
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
1261
+ * for more details and examples.
1262
+ * @example <caption>include:samples/generated/v1/data_migration_service.convert_conversion_workspace.js</caption>
1263
+ * region_tag:datamigration_v1_generated_DataMigrationService_ConvertConversionWorkspace_async
1264
+ */
1265
+ checkConvertConversionWorkspaceProgress(name: string): Promise<LROperation<protos.google.cloud.clouddms.v1.ConversionWorkspace, protos.google.cloud.clouddms.v1.OperationMetadata>>;
1266
+ /**
1267
+ * Marks all the data in the conversion workspace as committed.
1268
+ *
1269
+ * @param {Object} request
1270
+ * The request object that will be sent.
1271
+ * @param {string} request.name
1272
+ * Required. Name of the conversion workspace resource to commit.
1273
+ * @param {string} [request.commitName]
1274
+ * Optional. Optional name of the commit.
1275
+ * @param {object} [options]
1276
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
1277
+ * @returns {Promise} - The promise which resolves to an array.
1278
+ * The first element of the array is an object representing
1279
+ * a long running operation. Its `promise()` method returns a promise
1280
+ * you can `await` for.
1281
+ * Please see the
1282
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
1283
+ * for more details and examples.
1284
+ * @example <caption>include:samples/generated/v1/data_migration_service.commit_conversion_workspace.js</caption>
1285
+ * region_tag:datamigration_v1_generated_DataMigrationService_CommitConversionWorkspace_async
1286
+ */
1287
+ commitConversionWorkspace(request?: protos.google.cloud.clouddms.v1.ICommitConversionWorkspaceRequest, options?: CallOptions): Promise<[
1288
+ LROperation<protos.google.cloud.clouddms.v1.IConversionWorkspace, protos.google.cloud.clouddms.v1.IOperationMetadata>,
1289
+ protos.google.longrunning.IOperation | undefined,
1290
+ {} | undefined
1291
+ ]>;
1292
+ commitConversionWorkspace(request: protos.google.cloud.clouddms.v1.ICommitConversionWorkspaceRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.clouddms.v1.IConversionWorkspace, protos.google.cloud.clouddms.v1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
1293
+ commitConversionWorkspace(request: protos.google.cloud.clouddms.v1.ICommitConversionWorkspaceRequest, callback: Callback<LROperation<protos.google.cloud.clouddms.v1.IConversionWorkspace, protos.google.cloud.clouddms.v1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
1294
+ /**
1295
+ * Check the status of the long running operation returned by `commitConversionWorkspace()`.
1296
+ * @param {String} name
1297
+ * The operation name that will be passed.
1298
+ * @returns {Promise} - The promise which resolves to an object.
1299
+ * The decoded operation object has result and metadata field to get information from.
1300
+ * Please see the
1301
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
1302
+ * for more details and examples.
1303
+ * @example <caption>include:samples/generated/v1/data_migration_service.commit_conversion_workspace.js</caption>
1304
+ * region_tag:datamigration_v1_generated_DataMigrationService_CommitConversionWorkspace_async
1305
+ */
1306
+ checkCommitConversionWorkspaceProgress(name: string): Promise<LROperation<protos.google.cloud.clouddms.v1.ConversionWorkspace, protos.google.cloud.clouddms.v1.OperationMetadata>>;
1307
+ /**
1308
+ * Rolls back a conversion workspace to the last committed snapshot.
1309
+ *
1310
+ * @param {Object} request
1311
+ * The request object that will be sent.
1312
+ * @param {string} request.name
1313
+ * Required. Name of the conversion workspace resource to roll back to.
1314
+ * @param {object} [options]
1315
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
1316
+ * @returns {Promise} - The promise which resolves to an array.
1317
+ * The first element of the array is an object representing
1318
+ * a long running operation. Its `promise()` method returns a promise
1319
+ * you can `await` for.
1320
+ * Please see the
1321
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
1322
+ * for more details and examples.
1323
+ * @example <caption>include:samples/generated/v1/data_migration_service.rollback_conversion_workspace.js</caption>
1324
+ * region_tag:datamigration_v1_generated_DataMigrationService_RollbackConversionWorkspace_async
1325
+ */
1326
+ rollbackConversionWorkspace(request?: protos.google.cloud.clouddms.v1.IRollbackConversionWorkspaceRequest, options?: CallOptions): Promise<[
1327
+ LROperation<protos.google.cloud.clouddms.v1.IConversionWorkspace, protos.google.cloud.clouddms.v1.IOperationMetadata>,
1328
+ protos.google.longrunning.IOperation | undefined,
1329
+ {} | undefined
1330
+ ]>;
1331
+ rollbackConversionWorkspace(request: protos.google.cloud.clouddms.v1.IRollbackConversionWorkspaceRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.clouddms.v1.IConversionWorkspace, protos.google.cloud.clouddms.v1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
1332
+ rollbackConversionWorkspace(request: protos.google.cloud.clouddms.v1.IRollbackConversionWorkspaceRequest, callback: Callback<LROperation<protos.google.cloud.clouddms.v1.IConversionWorkspace, protos.google.cloud.clouddms.v1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
1333
+ /**
1334
+ * Check the status of the long running operation returned by `rollbackConversionWorkspace()`.
1335
+ * @param {String} name
1336
+ * The operation name that will be passed.
1337
+ * @returns {Promise} - The promise which resolves to an object.
1338
+ * The decoded operation object has result and metadata field to get information from.
1339
+ * Please see the
1340
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
1341
+ * for more details and examples.
1342
+ * @example <caption>include:samples/generated/v1/data_migration_service.rollback_conversion_workspace.js</caption>
1343
+ * region_tag:datamigration_v1_generated_DataMigrationService_RollbackConversionWorkspace_async
1344
+ */
1345
+ checkRollbackConversionWorkspaceProgress(name: string): Promise<LROperation<protos.google.cloud.clouddms.v1.ConversionWorkspace, protos.google.cloud.clouddms.v1.OperationMetadata>>;
1346
+ /**
1347
+ * Applies draft tree onto a specific destination database.
1348
+ *
1349
+ * @param {Object} request
1350
+ * The request object that will be sent.
1351
+ * @param {string} request.name
1352
+ * Required. The name of the conversion workspace resource for which to apply
1353
+ * the draft tree. Must be in the form of:
1354
+ * projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
1355
+ * @param {string} request.filter
1356
+ * Filter which entities to apply. Leaving this field empty will apply all of
1357
+ * the entities. Supports Google AIP 160 based filtering.
1358
+ * @param {string} request.connectionProfile
1359
+ * Fully qualified (Uri) name of the destination connection profile.
1360
+ * @param {object} [options]
1361
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
1362
+ * @returns {Promise} - The promise which resolves to an array.
1363
+ * The first element of the array is an object representing
1364
+ * a long running operation. Its `promise()` method returns a promise
1365
+ * you can `await` for.
1366
+ * Please see the
1367
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
1368
+ * for more details and examples.
1369
+ * @example <caption>include:samples/generated/v1/data_migration_service.apply_conversion_workspace.js</caption>
1370
+ * region_tag:datamigration_v1_generated_DataMigrationService_ApplyConversionWorkspace_async
1371
+ */
1372
+ applyConversionWorkspace(request?: protos.google.cloud.clouddms.v1.IApplyConversionWorkspaceRequest, options?: CallOptions): Promise<[
1373
+ LROperation<protos.google.cloud.clouddms.v1.IConversionWorkspace, protos.google.cloud.clouddms.v1.IOperationMetadata>,
1374
+ protos.google.longrunning.IOperation | undefined,
1375
+ {} | undefined
1376
+ ]>;
1377
+ applyConversionWorkspace(request: protos.google.cloud.clouddms.v1.IApplyConversionWorkspaceRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.clouddms.v1.IConversionWorkspace, protos.google.cloud.clouddms.v1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
1378
+ applyConversionWorkspace(request: protos.google.cloud.clouddms.v1.IApplyConversionWorkspaceRequest, callback: Callback<LROperation<protos.google.cloud.clouddms.v1.IConversionWorkspace, protos.google.cloud.clouddms.v1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
1379
+ /**
1380
+ * Check the status of the long running operation returned by `applyConversionWorkspace()`.
1381
+ * @param {String} name
1382
+ * The operation name that will be passed.
1383
+ * @returns {Promise} - The promise which resolves to an object.
1384
+ * The decoded operation object has result and metadata field to get information from.
1385
+ * Please see the
1386
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
1387
+ * for more details and examples.
1388
+ * @example <caption>include:samples/generated/v1/data_migration_service.apply_conversion_workspace.js</caption>
1389
+ * region_tag:datamigration_v1_generated_DataMigrationService_ApplyConversionWorkspace_async
1390
+ */
1391
+ checkApplyConversionWorkspaceProgress(name: string): Promise<LROperation<protos.google.cloud.clouddms.v1.ConversionWorkspace, protos.google.cloud.clouddms.v1.OperationMetadata>>;
1392
+ /**
1393
+ * Lists migration jobs in a given project and location.
1394
+ *
1395
+ * @param {Object} request
1396
+ * The request object that will be sent.
1397
+ * @param {string} request.parent
1398
+ * Required. The parent which owns this collection of migrationJobs.
1399
+ * @param {number} request.pageSize
1400
+ * The maximum number of migration jobs to return. The service may return
1401
+ * fewer than this value. If unspecified, at most 50 migration jobs will be
1402
+ * returned. The maximum value is 1000; values above 1000 are coerced to
1403
+ * 1000.
1404
+ * @param {string} request.pageToken
1405
+ * The nextPageToken value received in the previous call to
1406
+ * migrationJobs.list, used in the subsequent request to retrieve the next
1407
+ * page of results. On first call this should be left blank. When paginating,
1408
+ * all other parameters provided to migrationJobs.list must match the call
1409
+ * that provided the page token.
1410
+ * @param {string} request.filter
1411
+ * A filter expression that filters migration jobs listed in the response.
1412
+ * The expression must specify the field name, a comparison operator, and the
1413
+ * value that you want to use for filtering. The value must be a string,
1414
+ * a number, or a boolean. The comparison operator must be
1415
+ * either =, !=, >, or <. For example, list migration jobs created this year
1416
+ * by specifying **createTime %gt; 2020-01-01T00:00:00.000000000Z.**
1417
+ * You can also filter nested fields. For example, you could specify
1418
+ * **reverseSshConnectivity.vmIp = "1.2.3.4"** to select all migration
1419
+ * jobs connecting through the specific SSH tunnel bastion.
1420
+ * @param {string} request.orderBy
1421
+ * Sort the results based on the migration job name.
1422
+ * Valid values are: "name", "name asc", and "name desc".
1423
+ * @param {object} [options]
1424
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
1425
+ * @returns {Promise} - The promise which resolves to an array.
1426
+ * The first element of the array is Array of {@link google.cloud.clouddms.v1.MigrationJob | MigrationJob}.
1427
+ * The client library will perform auto-pagination by default: it will call the API as many
1428
+ * times as needed and will merge results from all the pages into this array.
1429
+ * Note that it can affect your quota.
1430
+ * We recommend using `listMigrationJobsAsync()`
1431
+ * method described below for async iteration which you can stop as needed.
1432
+ * Please see the
1433
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
1434
+ * for more details and examples.
1435
+ */
1436
+ listMigrationJobs(request?: protos.google.cloud.clouddms.v1.IListMigrationJobsRequest, options?: CallOptions): Promise<[
1437
+ protos.google.cloud.clouddms.v1.IMigrationJob[],
1438
+ protos.google.cloud.clouddms.v1.IListMigrationJobsRequest | null,
1439
+ protos.google.cloud.clouddms.v1.IListMigrationJobsResponse
1440
+ ]>;
1441
+ listMigrationJobs(request: protos.google.cloud.clouddms.v1.IListMigrationJobsRequest, options: CallOptions, callback: PaginationCallback<protos.google.cloud.clouddms.v1.IListMigrationJobsRequest, protos.google.cloud.clouddms.v1.IListMigrationJobsResponse | null | undefined, protos.google.cloud.clouddms.v1.IMigrationJob>): void;
1442
+ listMigrationJobs(request: protos.google.cloud.clouddms.v1.IListMigrationJobsRequest, callback: PaginationCallback<protos.google.cloud.clouddms.v1.IListMigrationJobsRequest, protos.google.cloud.clouddms.v1.IListMigrationJobsResponse | null | undefined, protos.google.cloud.clouddms.v1.IMigrationJob>): void;
1443
+ /**
1444
+ * Equivalent to `method.name.toCamelCase()`, but returns a NodeJS Stream object.
1445
+ * @param {Object} request
1446
+ * The request object that will be sent.
1447
+ * @param {string} request.parent
1448
+ * Required. The parent which owns this collection of migrationJobs.
1449
+ * @param {number} request.pageSize
1450
+ * The maximum number of migration jobs to return. The service may return
1451
+ * fewer than this value. If unspecified, at most 50 migration jobs will be
1452
+ * returned. The maximum value is 1000; values above 1000 are coerced to
1453
+ * 1000.
1454
+ * @param {string} request.pageToken
1455
+ * The nextPageToken value received in the previous call to
1456
+ * migrationJobs.list, used in the subsequent request to retrieve the next
1457
+ * page of results. On first call this should be left blank. When paginating,
1458
+ * all other parameters provided to migrationJobs.list must match the call
1459
+ * that provided the page token.
1460
+ * @param {string} request.filter
1461
+ * A filter expression that filters migration jobs listed in the response.
1462
+ * The expression must specify the field name, a comparison operator, and the
1463
+ * value that you want to use for filtering. The value must be a string,
1464
+ * a number, or a boolean. The comparison operator must be
1465
+ * either =, !=, >, or <. For example, list migration jobs created this year
1466
+ * by specifying **createTime %gt; 2020-01-01T00:00:00.000000000Z.**
1467
+ * You can also filter nested fields. For example, you could specify
1468
+ * **reverseSshConnectivity.vmIp = "1.2.3.4"** to select all migration
1469
+ * jobs connecting through the specific SSH tunnel bastion.
1470
+ * @param {string} request.orderBy
1471
+ * Sort the results based on the migration job name.
1472
+ * Valid values are: "name", "name asc", and "name desc".
1473
+ * @param {object} [options]
1474
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
1475
+ * @returns {Stream}
1476
+ * An object stream which emits an object representing {@link google.cloud.clouddms.v1.MigrationJob | MigrationJob} on 'data' event.
1477
+ * The client library will perform auto-pagination by default: it will call the API as many
1478
+ * times as needed. Note that it can affect your quota.
1479
+ * We recommend using `listMigrationJobsAsync()`
1480
+ * method described below for async iteration which you can stop as needed.
1481
+ * Please see the
1482
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
1483
+ * for more details and examples.
1484
+ */
1485
+ listMigrationJobsStream(request?: protos.google.cloud.clouddms.v1.IListMigrationJobsRequest, options?: CallOptions): Transform;
1486
+ /**
1487
+ * Equivalent to `listMigrationJobs`, but returns an iterable object.
1488
+ *
1489
+ * `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
1490
+ * @param {Object} request
1491
+ * The request object that will be sent.
1492
+ * @param {string} request.parent
1493
+ * Required. The parent which owns this collection of migrationJobs.
1494
+ * @param {number} request.pageSize
1495
+ * The maximum number of migration jobs to return. The service may return
1496
+ * fewer than this value. If unspecified, at most 50 migration jobs will be
1497
+ * returned. The maximum value is 1000; values above 1000 are coerced to
1498
+ * 1000.
1499
+ * @param {string} request.pageToken
1500
+ * The nextPageToken value received in the previous call to
1501
+ * migrationJobs.list, used in the subsequent request to retrieve the next
1502
+ * page of results. On first call this should be left blank. When paginating,
1503
+ * all other parameters provided to migrationJobs.list must match the call
1504
+ * that provided the page token.
1505
+ * @param {string} request.filter
1506
+ * A filter expression that filters migration jobs listed in the response.
1507
+ * The expression must specify the field name, a comparison operator, and the
1508
+ * value that you want to use for filtering. The value must be a string,
1509
+ * a number, or a boolean. The comparison operator must be
1510
+ * either =, !=, >, or <. For example, list migration jobs created this year
1511
+ * by specifying **createTime %gt; 2020-01-01T00:00:00.000000000Z.**
1512
+ * You can also filter nested fields. For example, you could specify
1513
+ * **reverseSshConnectivity.vmIp = "1.2.3.4"** to select all migration
1514
+ * jobs connecting through the specific SSH tunnel bastion.
1515
+ * @param {string} request.orderBy
1516
+ * Sort the results based on the migration job name.
1517
+ * Valid values are: "name", "name asc", and "name desc".
1518
+ * @param {object} [options]
1519
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
1520
+ * @returns {Object}
1521
+ * An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols).
1522
+ * When you iterate the returned iterable, each element will be an object representing
1523
+ * {@link google.cloud.clouddms.v1.MigrationJob | MigrationJob}. The API will be called under the hood as needed, once per the page,
1524
+ * so you can stop the iteration when you don't need more results.
1525
+ * Please see the
1526
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
1527
+ * for more details and examples.
1528
+ * @example <caption>include:samples/generated/v1/data_migration_service.list_migration_jobs.js</caption>
1529
+ * region_tag:datamigration_v1_generated_DataMigrationService_ListMigrationJobs_async
1530
+ */
1531
+ listMigrationJobsAsync(request?: protos.google.cloud.clouddms.v1.IListMigrationJobsRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.clouddms.v1.IMigrationJob>;
1532
+ /**
1533
+ * Retrieves a list of all connection profiles in a given project and
1534
+ * location.
1535
+ *
1536
+ * @param {Object} request
1537
+ * The request object that will be sent.
1538
+ * @param {string} request.parent
1539
+ * Required. The parent which owns this collection of connection profiles.
1540
+ * @param {number} request.pageSize
1541
+ * The maximum number of connection profiles to return. The service may return
1542
+ * fewer than this value. If unspecified, at most 50 connection profiles will
1543
+ * be returned. The maximum value is 1000; values above 1000 are coerced
1544
+ * to 1000.
1545
+ * @param {string} request.pageToken
1546
+ * A page token, received from a previous `ListConnectionProfiles` call.
1547
+ * Provide this to retrieve the subsequent page.
1548
+ *
1549
+ * When paginating, all other parameters provided to `ListConnectionProfiles`
1550
+ * must match the call that provided the page token.
1551
+ * @param {string} request.filter
1552
+ * A filter expression that filters connection profiles listed in the
1553
+ * response. The expression must specify the field name, a comparison
1554
+ * operator, and the value that you want to use for filtering. The value must
1555
+ * be a string, a number, or a boolean. The comparison operator must be either
1556
+ * =, !=, >, or <. For example, list connection profiles created this year by
1557
+ * specifying **createTime %gt; 2020-01-01T00:00:00.000000000Z**. You can
1558
+ * also filter nested fields. For example, you could specify **mySql.username
1559
+ * = %lt;my_username%gt;** to list all connection profiles configured to
1560
+ * connect with a specific username.
1561
+ * @param {string} request.orderBy
1562
+ * A comma-separated list of fields to order results according to.
1563
+ * @param {object} [options]
1564
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
1565
+ * @returns {Promise} - The promise which resolves to an array.
1566
+ * The first element of the array is Array of {@link google.cloud.clouddms.v1.ConnectionProfile | ConnectionProfile}.
1567
+ * The client library will perform auto-pagination by default: it will call the API as many
1568
+ * times as needed and will merge results from all the pages into this array.
1569
+ * Note that it can affect your quota.
1570
+ * We recommend using `listConnectionProfilesAsync()`
1571
+ * method described below for async iteration which you can stop as needed.
1572
+ * Please see the
1573
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
1574
+ * for more details and examples.
1575
+ */
1576
+ listConnectionProfiles(request?: protos.google.cloud.clouddms.v1.IListConnectionProfilesRequest, options?: CallOptions): Promise<[
1577
+ protos.google.cloud.clouddms.v1.IConnectionProfile[],
1578
+ protos.google.cloud.clouddms.v1.IListConnectionProfilesRequest | null,
1579
+ protos.google.cloud.clouddms.v1.IListConnectionProfilesResponse
1580
+ ]>;
1581
+ listConnectionProfiles(request: protos.google.cloud.clouddms.v1.IListConnectionProfilesRequest, options: CallOptions, callback: PaginationCallback<protos.google.cloud.clouddms.v1.IListConnectionProfilesRequest, protos.google.cloud.clouddms.v1.IListConnectionProfilesResponse | null | undefined, protos.google.cloud.clouddms.v1.IConnectionProfile>): void;
1582
+ listConnectionProfiles(request: protos.google.cloud.clouddms.v1.IListConnectionProfilesRequest, callback: PaginationCallback<protos.google.cloud.clouddms.v1.IListConnectionProfilesRequest, protos.google.cloud.clouddms.v1.IListConnectionProfilesResponse | null | undefined, protos.google.cloud.clouddms.v1.IConnectionProfile>): void;
1583
+ /**
1584
+ * Equivalent to `method.name.toCamelCase()`, but returns a NodeJS Stream object.
1585
+ * @param {Object} request
1586
+ * The request object that will be sent.
1587
+ * @param {string} request.parent
1588
+ * Required. The parent which owns this collection of connection profiles.
1589
+ * @param {number} request.pageSize
1590
+ * The maximum number of connection profiles to return. The service may return
1591
+ * fewer than this value. If unspecified, at most 50 connection profiles will
1592
+ * be returned. The maximum value is 1000; values above 1000 are coerced
1593
+ * to 1000.
1594
+ * @param {string} request.pageToken
1595
+ * A page token, received from a previous `ListConnectionProfiles` call.
1596
+ * Provide this to retrieve the subsequent page.
1597
+ *
1598
+ * When paginating, all other parameters provided to `ListConnectionProfiles`
1599
+ * must match the call that provided the page token.
1600
+ * @param {string} request.filter
1601
+ * A filter expression that filters connection profiles listed in the
1602
+ * response. The expression must specify the field name, a comparison
1603
+ * operator, and the value that you want to use for filtering. The value must
1604
+ * be a string, a number, or a boolean. The comparison operator must be either
1605
+ * =, !=, >, or <. For example, list connection profiles created this year by
1606
+ * specifying **createTime %gt; 2020-01-01T00:00:00.000000000Z**. You can
1607
+ * also filter nested fields. For example, you could specify **mySql.username
1608
+ * = %lt;my_username%gt;** to list all connection profiles configured to
1609
+ * connect with a specific username.
1610
+ * @param {string} request.orderBy
1611
+ * A comma-separated list of fields to order results according to.
1612
+ * @param {object} [options]
1613
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
1614
+ * @returns {Stream}
1615
+ * An object stream which emits an object representing {@link google.cloud.clouddms.v1.ConnectionProfile | ConnectionProfile} on 'data' event.
1616
+ * The client library will perform auto-pagination by default: it will call the API as many
1617
+ * times as needed. Note that it can affect your quota.
1618
+ * We recommend using `listConnectionProfilesAsync()`
1619
+ * method described below for async iteration which you can stop as needed.
1620
+ * Please see the
1621
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
1622
+ * for more details and examples.
1623
+ */
1624
+ listConnectionProfilesStream(request?: protos.google.cloud.clouddms.v1.IListConnectionProfilesRequest, options?: CallOptions): Transform;
1625
+ /**
1626
+ * Equivalent to `listConnectionProfiles`, but returns an iterable object.
1627
+ *
1628
+ * `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
1629
+ * @param {Object} request
1630
+ * The request object that will be sent.
1631
+ * @param {string} request.parent
1632
+ * Required. The parent which owns this collection of connection profiles.
1633
+ * @param {number} request.pageSize
1634
+ * The maximum number of connection profiles to return. The service may return
1635
+ * fewer than this value. If unspecified, at most 50 connection profiles will
1636
+ * be returned. The maximum value is 1000; values above 1000 are coerced
1637
+ * to 1000.
1638
+ * @param {string} request.pageToken
940
1639
  * A page token, received from a previous `ListConnectionProfiles` call.
941
1640
  * Provide this to retrieve the subsequent page.
942
1641
  *
943
1642
  * When paginating, all other parameters provided to `ListConnectionProfiles`
944
1643
  * must match the call that provided the page token.
945
1644
  * @param {string} request.filter
946
- * A filter expression that filters connection profiles listed in the
1645
+ * A filter expression that filters connection profiles listed in the
1646
+ * response. The expression must specify the field name, a comparison
1647
+ * operator, and the value that you want to use for filtering. The value must
1648
+ * be a string, a number, or a boolean. The comparison operator must be either
1649
+ * =, !=, >, or <. For example, list connection profiles created this year by
1650
+ * specifying **createTime %gt; 2020-01-01T00:00:00.000000000Z**. You can
1651
+ * also filter nested fields. For example, you could specify **mySql.username
1652
+ * = %lt;my_username%gt;** to list all connection profiles configured to
1653
+ * connect with a specific username.
1654
+ * @param {string} request.orderBy
1655
+ * A comma-separated list of fields to order results according to.
1656
+ * @param {object} [options]
1657
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
1658
+ * @returns {Object}
1659
+ * An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols).
1660
+ * When you iterate the returned iterable, each element will be an object representing
1661
+ * {@link google.cloud.clouddms.v1.ConnectionProfile | ConnectionProfile}. The API will be called under the hood as needed, once per the page,
1662
+ * so you can stop the iteration when you don't need more results.
1663
+ * Please see the
1664
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
1665
+ * for more details and examples.
1666
+ * @example <caption>include:samples/generated/v1/data_migration_service.list_connection_profiles.js</caption>
1667
+ * region_tag:datamigration_v1_generated_DataMigrationService_ListConnectionProfiles_async
1668
+ */
1669
+ listConnectionProfilesAsync(request?: protos.google.cloud.clouddms.v1.IListConnectionProfilesRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.clouddms.v1.IConnectionProfile>;
1670
+ /**
1671
+ * Retrieves a list of private connections in a given project and location.
1672
+ *
1673
+ * @param {Object} request
1674
+ * The request object that will be sent.
1675
+ * @param {string} request.parent
1676
+ * Required. The parent that owns the collection of private connections.
1677
+ * @param {number} request.pageSize
1678
+ * Maximum number of private connections to return.
1679
+ * If unspecified, at most 50 private connections that are returned.
1680
+ * The maximum value is 1000; values above 1000 are coerced to 1000.
1681
+ * @param {string} request.pageToken
1682
+ * Page token received from a previous `ListPrivateConnections` call.
1683
+ * Provide this to retrieve the subsequent page.
1684
+ *
1685
+ * When paginating, all other parameters provided to
1686
+ * `ListPrivateConnections` must match the call that provided the page
1687
+ * token.
1688
+ * @param {string} request.filter
1689
+ * A filter expression that filters private connections listed in the
1690
+ * response. The expression must specify the field name, a comparison
1691
+ * operator, and the value that you want to use for filtering. The value must
1692
+ * be a string, a number, or a boolean. The comparison operator must be either
1693
+ * =, !=, >, or <. For example, list private connections created this year by
1694
+ * specifying **createTime %gt; 2021-01-01T00:00:00.000000000Z**.
1695
+ * @param {string} request.orderBy
1696
+ * Order by fields for the result.
1697
+ * @param {object} [options]
1698
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
1699
+ * @returns {Promise} - The promise which resolves to an array.
1700
+ * The first element of the array is Array of {@link google.cloud.clouddms.v1.PrivateConnection | PrivateConnection}.
1701
+ * The client library will perform auto-pagination by default: it will call the API as many
1702
+ * times as needed and will merge results from all the pages into this array.
1703
+ * Note that it can affect your quota.
1704
+ * We recommend using `listPrivateConnectionsAsync()`
1705
+ * method described below for async iteration which you can stop as needed.
1706
+ * Please see the
1707
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
1708
+ * for more details and examples.
1709
+ */
1710
+ listPrivateConnections(request?: protos.google.cloud.clouddms.v1.IListPrivateConnectionsRequest, options?: CallOptions): Promise<[
1711
+ protos.google.cloud.clouddms.v1.IPrivateConnection[],
1712
+ protos.google.cloud.clouddms.v1.IListPrivateConnectionsRequest | null,
1713
+ protos.google.cloud.clouddms.v1.IListPrivateConnectionsResponse
1714
+ ]>;
1715
+ listPrivateConnections(request: protos.google.cloud.clouddms.v1.IListPrivateConnectionsRequest, options: CallOptions, callback: PaginationCallback<protos.google.cloud.clouddms.v1.IListPrivateConnectionsRequest, protos.google.cloud.clouddms.v1.IListPrivateConnectionsResponse | null | undefined, protos.google.cloud.clouddms.v1.IPrivateConnection>): void;
1716
+ listPrivateConnections(request: protos.google.cloud.clouddms.v1.IListPrivateConnectionsRequest, callback: PaginationCallback<protos.google.cloud.clouddms.v1.IListPrivateConnectionsRequest, protos.google.cloud.clouddms.v1.IListPrivateConnectionsResponse | null | undefined, protos.google.cloud.clouddms.v1.IPrivateConnection>): void;
1717
+ /**
1718
+ * Equivalent to `method.name.toCamelCase()`, but returns a NodeJS Stream object.
1719
+ * @param {Object} request
1720
+ * The request object that will be sent.
1721
+ * @param {string} request.parent
1722
+ * Required. The parent that owns the collection of private connections.
1723
+ * @param {number} request.pageSize
1724
+ * Maximum number of private connections to return.
1725
+ * If unspecified, at most 50 private connections that are returned.
1726
+ * The maximum value is 1000; values above 1000 are coerced to 1000.
1727
+ * @param {string} request.pageToken
1728
+ * Page token received from a previous `ListPrivateConnections` call.
1729
+ * Provide this to retrieve the subsequent page.
1730
+ *
1731
+ * When paginating, all other parameters provided to
1732
+ * `ListPrivateConnections` must match the call that provided the page
1733
+ * token.
1734
+ * @param {string} request.filter
1735
+ * A filter expression that filters private connections listed in the
1736
+ * response. The expression must specify the field name, a comparison
1737
+ * operator, and the value that you want to use for filtering. The value must
1738
+ * be a string, a number, or a boolean. The comparison operator must be either
1739
+ * =, !=, >, or <. For example, list private connections created this year by
1740
+ * specifying **createTime %gt; 2021-01-01T00:00:00.000000000Z**.
1741
+ * @param {string} request.orderBy
1742
+ * Order by fields for the result.
1743
+ * @param {object} [options]
1744
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
1745
+ * @returns {Stream}
1746
+ * An object stream which emits an object representing {@link google.cloud.clouddms.v1.PrivateConnection | PrivateConnection} on 'data' event.
1747
+ * The client library will perform auto-pagination by default: it will call the API as many
1748
+ * times as needed. Note that it can affect your quota.
1749
+ * We recommend using `listPrivateConnectionsAsync()`
1750
+ * method described below for async iteration which you can stop as needed.
1751
+ * Please see the
1752
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
1753
+ * for more details and examples.
1754
+ */
1755
+ listPrivateConnectionsStream(request?: protos.google.cloud.clouddms.v1.IListPrivateConnectionsRequest, options?: CallOptions): Transform;
1756
+ /**
1757
+ * Equivalent to `listPrivateConnections`, but returns an iterable object.
1758
+ *
1759
+ * `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
1760
+ * @param {Object} request
1761
+ * The request object that will be sent.
1762
+ * @param {string} request.parent
1763
+ * Required. The parent that owns the collection of private connections.
1764
+ * @param {number} request.pageSize
1765
+ * Maximum number of private connections to return.
1766
+ * If unspecified, at most 50 private connections that are returned.
1767
+ * The maximum value is 1000; values above 1000 are coerced to 1000.
1768
+ * @param {string} request.pageToken
1769
+ * Page token received from a previous `ListPrivateConnections` call.
1770
+ * Provide this to retrieve the subsequent page.
1771
+ *
1772
+ * When paginating, all other parameters provided to
1773
+ * `ListPrivateConnections` must match the call that provided the page
1774
+ * token.
1775
+ * @param {string} request.filter
1776
+ * A filter expression that filters private connections listed in the
1777
+ * response. The expression must specify the field name, a comparison
1778
+ * operator, and the value that you want to use for filtering. The value must
1779
+ * be a string, a number, or a boolean. The comparison operator must be either
1780
+ * =, !=, >, or <. For example, list private connections created this year by
1781
+ * specifying **createTime %gt; 2021-01-01T00:00:00.000000000Z**.
1782
+ * @param {string} request.orderBy
1783
+ * Order by fields for the result.
1784
+ * @param {object} [options]
1785
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
1786
+ * @returns {Object}
1787
+ * An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols).
1788
+ * When you iterate the returned iterable, each element will be an object representing
1789
+ * {@link google.cloud.clouddms.v1.PrivateConnection | PrivateConnection}. The API will be called under the hood as needed, once per the page,
1790
+ * so you can stop the iteration when you don't need more results.
1791
+ * Please see the
1792
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
1793
+ * for more details and examples.
1794
+ * @example <caption>include:samples/generated/v1/data_migration_service.list_private_connections.js</caption>
1795
+ * region_tag:datamigration_v1_generated_DataMigrationService_ListPrivateConnections_async
1796
+ */
1797
+ listPrivateConnectionsAsync(request?: protos.google.cloud.clouddms.v1.IListPrivateConnectionsRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.clouddms.v1.IPrivateConnection>;
1798
+ /**
1799
+ * Lists conversion workspaces in a given project and location.
1800
+ *
1801
+ * @param {Object} request
1802
+ * The request object that will be sent.
1803
+ * @param {string} request.parent
1804
+ * Required. The parent which owns this collection of conversion workspaces.
1805
+ * @param {number} request.pageSize
1806
+ * The maximum number of conversion workspaces to return. The service may
1807
+ * return fewer than this value. If unspecified, at most 50 sets are returned.
1808
+ * @param {string} request.pageToken
1809
+ * The nextPageToken value received in the previous call to
1810
+ * conversionWorkspaces.list, used in the subsequent request to retrieve the
1811
+ * next page of results. On first call this should be left blank. When
1812
+ * paginating, all other parameters provided to conversionWorkspaces.list must
1813
+ * match the call that provided the page token.
1814
+ * @param {string} request.filter
1815
+ * A filter expression that filters conversion workspaces listed in the
1816
+ * response. The expression must specify the field name, a comparison
1817
+ * operator, and the value that you want to use for filtering. The value must
1818
+ * be a string, a number, or a boolean. The comparison operator must be either
1819
+ * =, !=, >, or <. For example, list conversion workspaces created this year
1820
+ * by specifying **createTime %gt; 2020-01-01T00:00:00.000000000Z.** You can
1821
+ * also filter nested fields. For example, you could specify
1822
+ * **source.version = "12.c.1"** to select all conversion workspaces with
1823
+ * source database version equal to 12.c.1.
1824
+ * @param {object} [options]
1825
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
1826
+ * @returns {Promise} - The promise which resolves to an array.
1827
+ * The first element of the array is Array of {@link google.cloud.clouddms.v1.ConversionWorkspace | ConversionWorkspace}.
1828
+ * The client library will perform auto-pagination by default: it will call the API as many
1829
+ * times as needed and will merge results from all the pages into this array.
1830
+ * Note that it can affect your quota.
1831
+ * We recommend using `listConversionWorkspacesAsync()`
1832
+ * method described below for async iteration which you can stop as needed.
1833
+ * Please see the
1834
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
1835
+ * for more details and examples.
1836
+ */
1837
+ listConversionWorkspaces(request?: protos.google.cloud.clouddms.v1.IListConversionWorkspacesRequest, options?: CallOptions): Promise<[
1838
+ protos.google.cloud.clouddms.v1.IConversionWorkspace[],
1839
+ protos.google.cloud.clouddms.v1.IListConversionWorkspacesRequest | null,
1840
+ protos.google.cloud.clouddms.v1.IListConversionWorkspacesResponse
1841
+ ]>;
1842
+ listConversionWorkspaces(request: protos.google.cloud.clouddms.v1.IListConversionWorkspacesRequest, options: CallOptions, callback: PaginationCallback<protos.google.cloud.clouddms.v1.IListConversionWorkspacesRequest, protos.google.cloud.clouddms.v1.IListConversionWorkspacesResponse | null | undefined, protos.google.cloud.clouddms.v1.IConversionWorkspace>): void;
1843
+ listConversionWorkspaces(request: protos.google.cloud.clouddms.v1.IListConversionWorkspacesRequest, callback: PaginationCallback<protos.google.cloud.clouddms.v1.IListConversionWorkspacesRequest, protos.google.cloud.clouddms.v1.IListConversionWorkspacesResponse | null | undefined, protos.google.cloud.clouddms.v1.IConversionWorkspace>): void;
1844
+ /**
1845
+ * Equivalent to `method.name.toCamelCase()`, but returns a NodeJS Stream object.
1846
+ * @param {Object} request
1847
+ * The request object that will be sent.
1848
+ * @param {string} request.parent
1849
+ * Required. The parent which owns this collection of conversion workspaces.
1850
+ * @param {number} request.pageSize
1851
+ * The maximum number of conversion workspaces to return. The service may
1852
+ * return fewer than this value. If unspecified, at most 50 sets are returned.
1853
+ * @param {string} request.pageToken
1854
+ * The nextPageToken value received in the previous call to
1855
+ * conversionWorkspaces.list, used in the subsequent request to retrieve the
1856
+ * next page of results. On first call this should be left blank. When
1857
+ * paginating, all other parameters provided to conversionWorkspaces.list must
1858
+ * match the call that provided the page token.
1859
+ * @param {string} request.filter
1860
+ * A filter expression that filters conversion workspaces listed in the
947
1861
  * response. The expression must specify the field name, a comparison
948
1862
  * operator, and the value that you want to use for filtering. The value must
949
1863
  * be a string, a number, or a boolean. The comparison operator must be either
950
- * =, !=, >, or <. For example, list connection profiles created this year by
951
- * specifying **createTime %gt; 2020-01-01T00:00:00.000000000Z**. You can
952
- * also filter nested fields. For example, you could specify **mySql.username
953
- * = %lt;my_username%gt;** to list all connection profiles configured to
954
- * connect with a specific username.
955
- * @param {string} request.orderBy
956
- * the order by fields for the result.
1864
+ * =, !=, >, or <. For example, list conversion workspaces created this year
1865
+ * by specifying **createTime %gt; 2020-01-01T00:00:00.000000000Z.** You can
1866
+ * also filter nested fields. For example, you could specify
1867
+ * **source.version = "12.c.1"** to select all conversion workspaces with
1868
+ * source database version equal to 12.c.1.
957
1869
  * @param {object} [options]
958
1870
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
959
1871
  * @returns {Stream}
960
- * An object stream which emits an object representing {@link google.cloud.clouddms.v1.ConnectionProfile | ConnectionProfile} on 'data' event.
1872
+ * An object stream which emits an object representing {@link google.cloud.clouddms.v1.ConversionWorkspace | ConversionWorkspace} on 'data' event.
961
1873
  * The client library will perform auto-pagination by default: it will call the API as many
962
1874
  * times as needed. Note that it can affect your quota.
963
- * We recommend using `listConnectionProfilesAsync()`
1875
+ * We recommend using `listConversionWorkspacesAsync()`
964
1876
  * method described below for async iteration which you can stop as needed.
965
1877
  * Please see the
966
1878
  * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
967
1879
  * for more details and examples.
968
1880
  */
969
- listConnectionProfilesStream(request?: protos.google.cloud.clouddms.v1.IListConnectionProfilesRequest, options?: CallOptions): Transform;
1881
+ listConversionWorkspacesStream(request?: protos.google.cloud.clouddms.v1.IListConversionWorkspacesRequest, options?: CallOptions): Transform;
970
1882
  /**
971
- * Equivalent to `listConnectionProfiles`, but returns an iterable object.
1883
+ * Equivalent to `listConversionWorkspaces`, but returns an iterable object.
972
1884
  *
973
1885
  * `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
974
1886
  * @param {Object} request
975
1887
  * The request object that will be sent.
976
1888
  * @param {string} request.parent
977
- * Required. The parent, which owns this collection of connection profiles.
1889
+ * Required. The parent which owns this collection of conversion workspaces.
978
1890
  * @param {number} request.pageSize
979
- * The maximum number of connection profiles to return. The service may return
980
- * fewer than this value. If unspecified, at most 50 connection profiles will
981
- * be returned. The maximum value is 1000; values above 1000 will be coerced
982
- * to 1000.
1891
+ * The maximum number of conversion workspaces to return. The service may
1892
+ * return fewer than this value. If unspecified, at most 50 sets are returned.
983
1893
  * @param {string} request.pageToken
984
- * A page token, received from a previous `ListConnectionProfiles` call.
985
- * Provide this to retrieve the subsequent page.
986
- *
987
- * When paginating, all other parameters provided to `ListConnectionProfiles`
988
- * must match the call that provided the page token.
1894
+ * The nextPageToken value received in the previous call to
1895
+ * conversionWorkspaces.list, used in the subsequent request to retrieve the
1896
+ * next page of results. On first call this should be left blank. When
1897
+ * paginating, all other parameters provided to conversionWorkspaces.list must
1898
+ * match the call that provided the page token.
989
1899
  * @param {string} request.filter
990
- * A filter expression that filters connection profiles listed in the
1900
+ * A filter expression that filters conversion workspaces listed in the
991
1901
  * response. The expression must specify the field name, a comparison
992
1902
  * operator, and the value that you want to use for filtering. The value must
993
1903
  * be a string, a number, or a boolean. The comparison operator must be either
994
- * =, !=, >, or <. For example, list connection profiles created this year by
995
- * specifying **createTime %gt; 2020-01-01T00:00:00.000000000Z**. You can
996
- * also filter nested fields. For example, you could specify **mySql.username
997
- * = %lt;my_username%gt;** to list all connection profiles configured to
998
- * connect with a specific username.
999
- * @param {string} request.orderBy
1000
- * the order by fields for the result.
1904
+ * =, !=, >, or <. For example, list conversion workspaces created this year
1905
+ * by specifying **createTime %gt; 2020-01-01T00:00:00.000000000Z.** You can
1906
+ * also filter nested fields. For example, you could specify
1907
+ * **source.version = "12.c.1"** to select all conversion workspaces with
1908
+ * source database version equal to 12.c.1.
1001
1909
  * @param {object} [options]
1002
1910
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
1003
1911
  * @returns {Object}
1004
1912
  * An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols).
1005
1913
  * When you iterate the returned iterable, each element will be an object representing
1006
- * {@link google.cloud.clouddms.v1.ConnectionProfile | ConnectionProfile}. The API will be called under the hood as needed, once per the page,
1914
+ * {@link google.cloud.clouddms.v1.ConversionWorkspace | ConversionWorkspace}. The API will be called under the hood as needed, once per the page,
1007
1915
  * so you can stop the iteration when you don't need more results.
1008
1916
  * Please see the
1009
1917
  * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
1010
1918
  * for more details and examples.
1011
- * @example <caption>include:samples/generated/v1/data_migration_service.list_connection_profiles.js</caption>
1012
- * region_tag:datamigration_v1_generated_DataMigrationService_ListConnectionProfiles_async
1919
+ * @example <caption>include:samples/generated/v1/data_migration_service.list_conversion_workspaces.js</caption>
1920
+ * region_tag:datamigration_v1_generated_DataMigrationService_ListConversionWorkspaces_async
1013
1921
  */
1014
- listConnectionProfilesAsync(request?: protos.google.cloud.clouddms.v1.IListConnectionProfilesRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.clouddms.v1.IConnectionProfile>;
1922
+ listConversionWorkspacesAsync(request?: protos.google.cloud.clouddms.v1.IListConversionWorkspacesRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.clouddms.v1.IConversionWorkspace>;
1923
+ /**
1924
+ * Describes the database entities tree for a specific conversion workspace
1925
+ * and a specific tree type.
1926
+ *
1927
+ * Database entities are not resources like conversion workspaces or mapping
1928
+ * rules, and they can't be created, updated or deleted. Instead, they are
1929
+ * simple data objects describing the structure of the client database.
1930
+ *
1931
+ * @param {Object} request
1932
+ * The request object that will be sent.
1933
+ * @param {string} request.conversionWorkspace
1934
+ * Required. Name of the conversion workspace resource whose database entities
1935
+ * are described. Must be in the form of:
1936
+ * projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
1937
+ * @param {number} request.pageSize
1938
+ * The maximum number of entities to return. The service may return
1939
+ * fewer entities than the value specifies.
1940
+ * @param {string} request.pageToken
1941
+ * The nextPageToken value received in the previous call to
1942
+ * conversionWorkspace.describeDatabaseEntities, used in the subsequent
1943
+ * request to retrieve the next page of results. On first call this should be
1944
+ * left blank. When paginating, all other parameters provided to
1945
+ * conversionWorkspace.describeDatabaseEntities must match the call that
1946
+ * provided the page token.
1947
+ * @param {google.cloud.clouddms.v1.DescribeDatabaseEntitiesRequest.DBTreeType} request.tree
1948
+ * The tree to fetch.
1949
+ * @param {boolean} request.uncommitted
1950
+ * Whether to retrieve the latest committed version of the entities or the
1951
+ * latest version. This field is ignored if a specific commit_id is specified.
1952
+ * @param {string} request.commitId
1953
+ * Request a specific commit ID. If not specified, the entities from the
1954
+ * latest commit are returned.
1955
+ * @param {string} request.filter
1956
+ * Filter the returned entities based on AIP-160 standard.
1957
+ * @param {object} [options]
1958
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
1959
+ * @returns {Promise} - The promise which resolves to an array.
1960
+ * The first element of the array is Array of {@link google.cloud.clouddms.v1.DatabaseEntity | DatabaseEntity}.
1961
+ * The client library will perform auto-pagination by default: it will call the API as many
1962
+ * times as needed and will merge results from all the pages into this array.
1963
+ * Note that it can affect your quota.
1964
+ * We recommend using `describeDatabaseEntitiesAsync()`
1965
+ * method described below for async iteration which you can stop as needed.
1966
+ * Please see the
1967
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
1968
+ * for more details and examples.
1969
+ */
1970
+ describeDatabaseEntities(request?: protos.google.cloud.clouddms.v1.IDescribeDatabaseEntitiesRequest, options?: CallOptions): Promise<[
1971
+ protos.google.cloud.clouddms.v1.IDatabaseEntity[],
1972
+ protos.google.cloud.clouddms.v1.IDescribeDatabaseEntitiesRequest | null,
1973
+ protos.google.cloud.clouddms.v1.IDescribeDatabaseEntitiesResponse
1974
+ ]>;
1975
+ describeDatabaseEntities(request: protos.google.cloud.clouddms.v1.IDescribeDatabaseEntitiesRequest, options: CallOptions, callback: PaginationCallback<protos.google.cloud.clouddms.v1.IDescribeDatabaseEntitiesRequest, protos.google.cloud.clouddms.v1.IDescribeDatabaseEntitiesResponse | null | undefined, protos.google.cloud.clouddms.v1.IDatabaseEntity>): void;
1976
+ describeDatabaseEntities(request: protos.google.cloud.clouddms.v1.IDescribeDatabaseEntitiesRequest, callback: PaginationCallback<protos.google.cloud.clouddms.v1.IDescribeDatabaseEntitiesRequest, protos.google.cloud.clouddms.v1.IDescribeDatabaseEntitiesResponse | null | undefined, protos.google.cloud.clouddms.v1.IDatabaseEntity>): void;
1977
+ /**
1978
+ * Equivalent to `method.name.toCamelCase()`, but returns a NodeJS Stream object.
1979
+ * @param {Object} request
1980
+ * The request object that will be sent.
1981
+ * @param {string} request.conversionWorkspace
1982
+ * Required. Name of the conversion workspace resource whose database entities
1983
+ * are described. Must be in the form of:
1984
+ * projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
1985
+ * @param {number} request.pageSize
1986
+ * The maximum number of entities to return. The service may return
1987
+ * fewer entities than the value specifies.
1988
+ * @param {string} request.pageToken
1989
+ * The nextPageToken value received in the previous call to
1990
+ * conversionWorkspace.describeDatabaseEntities, used in the subsequent
1991
+ * request to retrieve the next page of results. On first call this should be
1992
+ * left blank. When paginating, all other parameters provided to
1993
+ * conversionWorkspace.describeDatabaseEntities must match the call that
1994
+ * provided the page token.
1995
+ * @param {google.cloud.clouddms.v1.DescribeDatabaseEntitiesRequest.DBTreeType} request.tree
1996
+ * The tree to fetch.
1997
+ * @param {boolean} request.uncommitted
1998
+ * Whether to retrieve the latest committed version of the entities or the
1999
+ * latest version. This field is ignored if a specific commit_id is specified.
2000
+ * @param {string} request.commitId
2001
+ * Request a specific commit ID. If not specified, the entities from the
2002
+ * latest commit are returned.
2003
+ * @param {string} request.filter
2004
+ * Filter the returned entities based on AIP-160 standard.
2005
+ * @param {object} [options]
2006
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
2007
+ * @returns {Stream}
2008
+ * An object stream which emits an object representing {@link google.cloud.clouddms.v1.DatabaseEntity | DatabaseEntity} on 'data' event.
2009
+ * The client library will perform auto-pagination by default: it will call the API as many
2010
+ * times as needed. Note that it can affect your quota.
2011
+ * We recommend using `describeDatabaseEntitiesAsync()`
2012
+ * method described below for async iteration which you can stop as needed.
2013
+ * Please see the
2014
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
2015
+ * for more details and examples.
2016
+ */
2017
+ describeDatabaseEntitiesStream(request?: protos.google.cloud.clouddms.v1.IDescribeDatabaseEntitiesRequest, options?: CallOptions): Transform;
2018
+ /**
2019
+ * Equivalent to `describeDatabaseEntities`, but returns an iterable object.
2020
+ *
2021
+ * `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
2022
+ * @param {Object} request
2023
+ * The request object that will be sent.
2024
+ * @param {string} request.conversionWorkspace
2025
+ * Required. Name of the conversion workspace resource whose database entities
2026
+ * are described. Must be in the form of:
2027
+ * projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
2028
+ * @param {number} request.pageSize
2029
+ * The maximum number of entities to return. The service may return
2030
+ * fewer entities than the value specifies.
2031
+ * @param {string} request.pageToken
2032
+ * The nextPageToken value received in the previous call to
2033
+ * conversionWorkspace.describeDatabaseEntities, used in the subsequent
2034
+ * request to retrieve the next page of results. On first call this should be
2035
+ * left blank. When paginating, all other parameters provided to
2036
+ * conversionWorkspace.describeDatabaseEntities must match the call that
2037
+ * provided the page token.
2038
+ * @param {google.cloud.clouddms.v1.DescribeDatabaseEntitiesRequest.DBTreeType} request.tree
2039
+ * The tree to fetch.
2040
+ * @param {boolean} request.uncommitted
2041
+ * Whether to retrieve the latest committed version of the entities or the
2042
+ * latest version. This field is ignored if a specific commit_id is specified.
2043
+ * @param {string} request.commitId
2044
+ * Request a specific commit ID. If not specified, the entities from the
2045
+ * latest commit are returned.
2046
+ * @param {string} request.filter
2047
+ * Filter the returned entities based on AIP-160 standard.
2048
+ * @param {object} [options]
2049
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
2050
+ * @returns {Object}
2051
+ * An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols).
2052
+ * When you iterate the returned iterable, each element will be an object representing
2053
+ * {@link google.cloud.clouddms.v1.DatabaseEntity | DatabaseEntity}. The API will be called under the hood as needed, once per the page,
2054
+ * so you can stop the iteration when you don't need more results.
2055
+ * Please see the
2056
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
2057
+ * for more details and examples.
2058
+ * @example <caption>include:samples/generated/v1/data_migration_service.describe_database_entities.js</caption>
2059
+ * region_tag:datamigration_v1_generated_DataMigrationService_DescribeDatabaseEntities_async
2060
+ */
2061
+ describeDatabaseEntitiesAsync(request?: protos.google.cloud.clouddms.v1.IDescribeDatabaseEntitiesRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.clouddms.v1.IDatabaseEntity>;
2062
+ /**
2063
+ * Fetches a set of static IP addresses that need to be allowlisted by the
2064
+ * customer when using the static-IP connectivity method.
2065
+ *
2066
+ * @param {Object} request
2067
+ * The request object that will be sent.
2068
+ * @param {string} request.name
2069
+ * Required. The resource name for the location for which static IPs should be
2070
+ * returned. Must be in the format `projects/* /locations/*`.
2071
+ * @param {number} request.pageSize
2072
+ * Maximum number of IPs to return.
2073
+ * @param {string} request.pageToken
2074
+ * A page token, received from a previous `FetchStaticIps` call.
2075
+ * @param {object} [options]
2076
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
2077
+ * @returns {Promise} - The promise which resolves to an array.
2078
+ * The first element of the array is Array of string.
2079
+ * The client library will perform auto-pagination by default: it will call the API as many
2080
+ * times as needed and will merge results from all the pages into this array.
2081
+ * Note that it can affect your quota.
2082
+ * We recommend using `fetchStaticIpsAsync()`
2083
+ * method described below for async iteration which you can stop as needed.
2084
+ * Please see the
2085
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
2086
+ * for more details and examples.
2087
+ */
2088
+ fetchStaticIps(request?: protos.google.cloud.clouddms.v1.IFetchStaticIpsRequest, options?: CallOptions): Promise<[
2089
+ string[],
2090
+ protos.google.cloud.clouddms.v1.IFetchStaticIpsRequest | null,
2091
+ protos.google.cloud.clouddms.v1.IFetchStaticIpsResponse
2092
+ ]>;
2093
+ fetchStaticIps(request: protos.google.cloud.clouddms.v1.IFetchStaticIpsRequest, options: CallOptions, callback: PaginationCallback<protos.google.cloud.clouddms.v1.IFetchStaticIpsRequest, protos.google.cloud.clouddms.v1.IFetchStaticIpsResponse | null | undefined, string>): void;
2094
+ fetchStaticIps(request: protos.google.cloud.clouddms.v1.IFetchStaticIpsRequest, callback: PaginationCallback<protos.google.cloud.clouddms.v1.IFetchStaticIpsRequest, protos.google.cloud.clouddms.v1.IFetchStaticIpsResponse | null | undefined, string>): void;
2095
+ /**
2096
+ * Equivalent to `method.name.toCamelCase()`, but returns a NodeJS Stream object.
2097
+ * @param {Object} request
2098
+ * The request object that will be sent.
2099
+ * @param {string} request.name
2100
+ * Required. The resource name for the location for which static IPs should be
2101
+ * returned. Must be in the format `projects/* /locations/*`.
2102
+ * @param {number} request.pageSize
2103
+ * Maximum number of IPs to return.
2104
+ * @param {string} request.pageToken
2105
+ * A page token, received from a previous `FetchStaticIps` call.
2106
+ * @param {object} [options]
2107
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
2108
+ * @returns {Stream}
2109
+ * An object stream which emits an object representing string on 'data' event.
2110
+ * The client library will perform auto-pagination by default: it will call the API as many
2111
+ * times as needed. Note that it can affect your quota.
2112
+ * We recommend using `fetchStaticIpsAsync()`
2113
+ * method described below for async iteration which you can stop as needed.
2114
+ * Please see the
2115
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
2116
+ * for more details and examples.
2117
+ */
2118
+ fetchStaticIpsStream(request?: protos.google.cloud.clouddms.v1.IFetchStaticIpsRequest, options?: CallOptions): Transform;
2119
+ /**
2120
+ * Equivalent to `fetchStaticIps`, but returns an iterable object.
2121
+ *
2122
+ * `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
2123
+ * @param {Object} request
2124
+ * The request object that will be sent.
2125
+ * @param {string} request.name
2126
+ * Required. The resource name for the location for which static IPs should be
2127
+ * returned. Must be in the format `projects/* /locations/*`.
2128
+ * @param {number} request.pageSize
2129
+ * Maximum number of IPs to return.
2130
+ * @param {string} request.pageToken
2131
+ * A page token, received from a previous `FetchStaticIps` call.
2132
+ * @param {object} [options]
2133
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
2134
+ * @returns {Object}
2135
+ * An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols).
2136
+ * When you iterate the returned iterable, each element will be an object representing
2137
+ * string. The API will be called under the hood as needed, once per the page,
2138
+ * so you can stop the iteration when you don't need more results.
2139
+ * Please see the
2140
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
2141
+ * for more details and examples.
2142
+ * @example <caption>include:samples/generated/v1/data_migration_service.fetch_static_ips.js</caption>
2143
+ * region_tag:datamigration_v1_generated_DataMigrationService_FetchStaticIps_async
2144
+ */
2145
+ fetchStaticIpsAsync(request?: protos.google.cloud.clouddms.v1.IFetchStaticIpsRequest, options?: CallOptions): AsyncIterable<string>;
2146
+ /**
2147
+ * Gets the access control policy for a resource. Returns an empty policy
2148
+ * if the resource exists and does not have a policy set.
2149
+ *
2150
+ * @param {Object} request
2151
+ * The request object that will be sent.
2152
+ * @param {string} request.resource
2153
+ * REQUIRED: The resource for which the policy is being requested.
2154
+ * See the operation documentation for the appropriate value for this field.
2155
+ * @param {Object} [request.options]
2156
+ * OPTIONAL: A `GetPolicyOptions` object for specifying options to
2157
+ * `GetIamPolicy`. This field is only used by Cloud IAM.
2158
+ *
2159
+ * This object should have the same structure as {@link google.iam.v1.GetPolicyOptions | GetPolicyOptions}.
2160
+ * @param {Object} [options]
2161
+ * Optional parameters. You can override the default settings for this call, e.g, timeout,
2162
+ * retries, paginations, etc. See {@link https://googleapis.github.io/gax-nodejs/interfaces/CallOptions.html | gax.CallOptions} for the details.
2163
+ * @param {function(?Error, ?Object)} [callback]
2164
+ * The function which will be called with the result of the API call.
2165
+ *
2166
+ * The second parameter to the callback is an object representing {@link google.iam.v1.Policy | Policy}.
2167
+ * @returns {Promise} - The promise which resolves to an array.
2168
+ * The first element of the array is an object representing {@link google.iam.v1.Policy | Policy}.
2169
+ * The promise has a method named "cancel" which cancels the ongoing API call.
2170
+ */
2171
+ getIamPolicy(request: IamProtos.google.iam.v1.GetIamPolicyRequest, options?: gax.CallOptions | Callback<IamProtos.google.iam.v1.Policy, IamProtos.google.iam.v1.GetIamPolicyRequest | null | undefined, {} | null | undefined>, callback?: Callback<IamProtos.google.iam.v1.Policy, IamProtos.google.iam.v1.GetIamPolicyRequest | null | undefined, {} | null | undefined>): Promise<IamProtos.google.iam.v1.Policy>;
2172
+ /**
2173
+ * Returns permissions that a caller has on the specified resource. If the
2174
+ * resource does not exist, this will return an empty set of
2175
+ * permissions, not a NOT_FOUND error.
2176
+ *
2177
+ * Note: This operation is designed to be used for building
2178
+ * permission-aware UIs and command-line tools, not for authorization
2179
+ * checking. This operation may "fail open" without warning.
2180
+ *
2181
+ * @param {Object} request
2182
+ * The request object that will be sent.
2183
+ * @param {string} request.resource
2184
+ * REQUIRED: The resource for which the policy detail is being requested.
2185
+ * See the operation documentation for the appropriate value for this field.
2186
+ * @param {string[]} request.permissions
2187
+ * The set of permissions to check for the `resource`. Permissions with
2188
+ * wildcards (such as '*' or 'storage.*') are not allowed. For more
2189
+ * information see
2190
+ * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
2191
+ * @param {Object} [options]
2192
+ * Optional parameters. You can override the default settings for this call, e.g, timeout,
2193
+ * retries, paginations, etc. See {@link https://googleapis.github.io/gax-nodejs/interfaces/CallOptions.html | gax.CallOptions} for the details.
2194
+ * @param {function(?Error, ?Object)} [callback]
2195
+ * The function which will be called with the result of the API call.
2196
+ *
2197
+ * The second parameter to the callback is an object representing {@link google.iam.v1.TestIamPermissionsResponse | TestIamPermissionsResponse}.
2198
+ * @returns {Promise} - The promise which resolves to an array.
2199
+ * The first element of the array is an object representing {@link google.iam.v1.TestIamPermissionsResponse | TestIamPermissionsResponse}.
2200
+ * The promise has a method named "cancel" which cancels the ongoing API call.
2201
+ */
2202
+ setIamPolicy(request: IamProtos.google.iam.v1.SetIamPolicyRequest, options?: gax.CallOptions | Callback<IamProtos.google.iam.v1.Policy, IamProtos.google.iam.v1.SetIamPolicyRequest | null | undefined, {} | null | undefined>, callback?: Callback<IamProtos.google.iam.v1.Policy, IamProtos.google.iam.v1.SetIamPolicyRequest | null | undefined, {} | null | undefined>): Promise<IamProtos.google.iam.v1.Policy>;
2203
+ /**
2204
+ * Returns permissions that a caller has on the specified resource. If the
2205
+ * resource does not exist, this will return an empty set of
2206
+ * permissions, not a NOT_FOUND error.
2207
+ *
2208
+ * Note: This operation is designed to be used for building
2209
+ * permission-aware UIs and command-line tools, not for authorization
2210
+ * checking. This operation may "fail open" without warning.
2211
+ *
2212
+ * @param {Object} request
2213
+ * The request object that will be sent.
2214
+ * @param {string} request.resource
2215
+ * REQUIRED: The resource for which the policy detail is being requested.
2216
+ * See the operation documentation for the appropriate value for this field.
2217
+ * @param {string[]} request.permissions
2218
+ * The set of permissions to check for the `resource`. Permissions with
2219
+ * wildcards (such as '*' or 'storage.*') are not allowed. For more
2220
+ * information see
2221
+ * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
2222
+ * @param {Object} [options]
2223
+ * Optional parameters. You can override the default settings for this call, e.g, timeout,
2224
+ * retries, paginations, etc. See {@link https://googleapis.github.io/gax-nodejs/interfaces/CallOptions.html | gax.CallOptions} for the details.
2225
+ * @param {function(?Error, ?Object)} [callback]
2226
+ * The function which will be called with the result of the API call.
2227
+ *
2228
+ * The second parameter to the callback is an object representing {@link google.iam.v1.TestIamPermissionsResponse | TestIamPermissionsResponse}.
2229
+ * @returns {Promise} - The promise which resolves to an array.
2230
+ * The first element of the array is an object representing {@link google.iam.v1.TestIamPermissionsResponse | TestIamPermissionsResponse}.
2231
+ * The promise has a method named "cancel" which cancels the ongoing API call.
2232
+ *
2233
+ */
2234
+ testIamPermissions(request: IamProtos.google.iam.v1.TestIamPermissionsRequest, options?: gax.CallOptions | Callback<IamProtos.google.iam.v1.TestIamPermissionsResponse, IamProtos.google.iam.v1.TestIamPermissionsRequest | null | undefined, {} | null | undefined>, callback?: Callback<IamProtos.google.iam.v1.TestIamPermissionsResponse, IamProtos.google.iam.v1.TestIamPermissionsRequest | null | undefined, {} | null | undefined>): Promise<IamProtos.google.iam.v1.TestIamPermissionsResponse>;
2235
+ /**
2236
+ * Gets information about a location.
2237
+ *
2238
+ * @param {Object} request
2239
+ * The request object that will be sent.
2240
+ * @param {string} request.name
2241
+ * Resource name for the location.
2242
+ * @param {object} [options]
2243
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html | CallOptions} for more details.
2244
+ * @returns {Promise} - The promise which resolves to an array.
2245
+ * The first element of the array is an object representing {@link google.cloud.location.Location | Location}.
2246
+ * Please see the
2247
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
2248
+ * for more details and examples.
2249
+ * @example
2250
+ * ```
2251
+ * const [response] = await client.getLocation(request);
2252
+ * ```
2253
+ */
2254
+ getLocation(request: LocationProtos.google.cloud.location.IGetLocationRequest, options?: gax.CallOptions | Callback<LocationProtos.google.cloud.location.ILocation, LocationProtos.google.cloud.location.IGetLocationRequest | null | undefined, {} | null | undefined>, callback?: Callback<LocationProtos.google.cloud.location.ILocation, LocationProtos.google.cloud.location.IGetLocationRequest | null | undefined, {} | null | undefined>): Promise<LocationProtos.google.cloud.location.ILocation>;
2255
+ /**
2256
+ * Lists information about the supported locations for this service. Returns an iterable object.
2257
+ *
2258
+ * `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
2259
+ * @param {Object} request
2260
+ * The request object that will be sent.
2261
+ * @param {string} request.name
2262
+ * The resource that owns the locations collection, if applicable.
2263
+ * @param {string} request.filter
2264
+ * The standard list filter.
2265
+ * @param {number} request.pageSize
2266
+ * The standard list page size.
2267
+ * @param {string} request.pageToken
2268
+ * The standard list page token.
2269
+ * @param {object} [options]
2270
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
2271
+ * @returns {Object}
2272
+ * An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols).
2273
+ * When you iterate the returned iterable, each element will be an object representing
2274
+ * {@link google.cloud.location.Location | Location}. The API will be called under the hood as needed, once per the page,
2275
+ * so you can stop the iteration when you don't need more results.
2276
+ * Please see the
2277
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
2278
+ * for more details and examples.
2279
+ * @example
2280
+ * ```
2281
+ * const iterable = client.listLocationsAsync(request);
2282
+ * for await (const response of iterable) {
2283
+ * // process response
2284
+ * }
2285
+ * ```
2286
+ */
2287
+ listLocationsAsync(request: LocationProtos.google.cloud.location.IListLocationsRequest, options?: CallOptions): AsyncIterable<LocationProtos.google.cloud.location.ILocation>;
2288
+ /**
2289
+ * Gets the latest state of a long-running operation. Clients can use this
2290
+ * method to poll the operation result at intervals as recommended by the API
2291
+ * service.
2292
+ *
2293
+ * @param {Object} request - The request object that will be sent.
2294
+ * @param {string} request.name - The name of the operation resource.
2295
+ * @param {Object=} options
2296
+ * Optional parameters. You can override the default settings for this call,
2297
+ * e.g, timeout, retries, paginations, etc. See {@link
2298
+ * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions}
2299
+ * for the details.
2300
+ * @param {function(?Error, ?Object)=} callback
2301
+ * The function which will be called with the result of the API call.
2302
+ *
2303
+ * The second parameter to the callback is an object representing
2304
+ * {@link google.longrunning.Operation | google.longrunning.Operation}.
2305
+ * @return {Promise} - The promise which resolves to an array.
2306
+ * The first element of the array is an object representing
2307
+ * {@link google.longrunning.Operation | google.longrunning.Operation}.
2308
+ * The promise has a method named "cancel" which cancels the ongoing API call.
2309
+ *
2310
+ * @example
2311
+ * ```
2312
+ * const client = longrunning.operationsClient();
2313
+ * const name = '';
2314
+ * const [response] = await client.getOperation({name});
2315
+ * // doThingsWith(response)
2316
+ * ```
2317
+ */
2318
+ getOperation(request: protos.google.longrunning.GetOperationRequest, options?: gax.CallOptions | Callback<protos.google.longrunning.Operation, protos.google.longrunning.GetOperationRequest, {} | null | undefined>, callback?: Callback<protos.google.longrunning.Operation, protos.google.longrunning.GetOperationRequest, {} | null | undefined>): Promise<[protos.google.longrunning.Operation]>;
2319
+ /**
2320
+ * Lists operations that match the specified filter in the request. If the
2321
+ * server doesn't support this method, it returns `UNIMPLEMENTED`. Returns an iterable object.
2322
+ *
2323
+ * For-await-of syntax is used with the iterable to recursively get response element on-demand.
2324
+ *
2325
+ * @param {Object} request - The request object that will be sent.
2326
+ * @param {string} request.name - The name of the operation collection.
2327
+ * @param {string} request.filter - The standard list filter.
2328
+ * @param {number=} request.pageSize -
2329
+ * The maximum number of resources contained in the underlying API
2330
+ * response. If page streaming is performed per-resource, this
2331
+ * parameter does not affect the return value. If page streaming is
2332
+ * performed per-page, this determines the maximum number of
2333
+ * resources in a page.
2334
+ * @param {Object=} options
2335
+ * Optional parameters. You can override the default settings for this call,
2336
+ * e.g, timeout, retries, paginations, etc. See {@link
2337
+ * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions} for the
2338
+ * details.
2339
+ * @returns {Object}
2340
+ * An iterable Object that conforms to {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | iteration protocols}.
2341
+ *
2342
+ * @example
2343
+ * ```
2344
+ * const client = longrunning.operationsClient();
2345
+ * for await (const response of client.listOperationsAsync(request));
2346
+ * // doThingsWith(response)
2347
+ * ```
2348
+ */
2349
+ listOperationsAsync(request: protos.google.longrunning.ListOperationsRequest, options?: gax.CallOptions): AsyncIterable<protos.google.longrunning.ListOperationsResponse>;
2350
+ /**
2351
+ * Starts asynchronous cancellation on a long-running operation. The server
2352
+ * makes a best effort to cancel the operation, but success is not
2353
+ * guaranteed. If the server doesn't support this method, it returns
2354
+ * `google.rpc.Code.UNIMPLEMENTED`. Clients can use
2355
+ * {@link Operations.GetOperation} or
2356
+ * other methods to check whether the cancellation succeeded or whether the
2357
+ * operation completed despite cancellation. On successful cancellation,
2358
+ * the operation is not deleted; instead, it becomes an operation with
2359
+ * an {@link Operation.error} value with a {@link google.rpc.Status.code} of
2360
+ * 1, corresponding to `Code.CANCELLED`.
2361
+ *
2362
+ * @param {Object} request - The request object that will be sent.
2363
+ * @param {string} request.name - The name of the operation resource to be cancelled.
2364
+ * @param {Object=} options
2365
+ * Optional parameters. You can override the default settings for this call,
2366
+ * e.g, timeout, retries, paginations, etc. See {@link
2367
+ * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions} for the
2368
+ * details.
2369
+ * @param {function(?Error)=} callback
2370
+ * The function which will be called with the result of the API call.
2371
+ * @return {Promise} - The promise which resolves when API call finishes.
2372
+ * The promise has a method named "cancel" which cancels the ongoing API
2373
+ * call.
2374
+ *
2375
+ * @example
2376
+ * ```
2377
+ * const client = longrunning.operationsClient();
2378
+ * await client.cancelOperation({name: ''});
2379
+ * ```
2380
+ */
2381
+ cancelOperation(request: protos.google.longrunning.CancelOperationRequest, options?: gax.CallOptions | Callback<protos.google.protobuf.Empty, protos.google.longrunning.CancelOperationRequest, {} | undefined | null>, callback?: Callback<protos.google.longrunning.CancelOperationRequest, protos.google.protobuf.Empty, {} | undefined | null>): Promise<protos.google.protobuf.Empty>;
2382
+ /**
2383
+ * Deletes a long-running operation. This method indicates that the client is
2384
+ * no longer interested in the operation result. It does not cancel the
2385
+ * operation. If the server doesn't support this method, it returns
2386
+ * `google.rpc.Code.UNIMPLEMENTED`.
2387
+ *
2388
+ * @param {Object} request - The request object that will be sent.
2389
+ * @param {string} request.name - The name of the operation resource to be deleted.
2390
+ * @param {Object=} options
2391
+ * Optional parameters. You can override the default settings for this call,
2392
+ * e.g, timeout, retries, paginations, etc. See {@link
2393
+ * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions}
2394
+ * for the details.
2395
+ * @param {function(?Error)=} callback
2396
+ * The function which will be called with the result of the API call.
2397
+ * @return {Promise} - The promise which resolves when API call finishes.
2398
+ * The promise has a method named "cancel" which cancels the ongoing API
2399
+ * call.
2400
+ *
2401
+ * @example
2402
+ * ```
2403
+ * const client = longrunning.operationsClient();
2404
+ * await client.deleteOperation({name: ''});
2405
+ * ```
2406
+ */
2407
+ deleteOperation(request: protos.google.longrunning.DeleteOperationRequest, options?: gax.CallOptions | Callback<protos.google.protobuf.Empty, protos.google.longrunning.DeleteOperationRequest, {} | null | undefined>, callback?: Callback<protos.google.protobuf.Empty, protos.google.longrunning.DeleteOperationRequest, {} | null | undefined>): Promise<protos.google.protobuf.Empty>;
1015
2408
  /**
1016
2409
  * Return a fully-qualified connectionProfile resource name string.
1017
2410
  *
@@ -1045,6 +2438,39 @@ export declare class DataMigrationServiceClient {
1045
2438
  * @returns {string} A string representing the connection_profile.
1046
2439
  */
1047
2440
  matchConnectionProfileFromConnectionProfileName(connectionProfileName: string): string | number;
2441
+ /**
2442
+ * Return a fully-qualified conversionWorkspace resource name string.
2443
+ *
2444
+ * @param {string} project
2445
+ * @param {string} location
2446
+ * @param {string} conversion_workspace
2447
+ * @returns {string} Resource name string.
2448
+ */
2449
+ conversionWorkspacePath(project: string, location: string, conversionWorkspace: string): string;
2450
+ /**
2451
+ * Parse the project from ConversionWorkspace resource.
2452
+ *
2453
+ * @param {string} conversionWorkspaceName
2454
+ * A fully-qualified path representing ConversionWorkspace resource.
2455
+ * @returns {string} A string representing the project.
2456
+ */
2457
+ matchProjectFromConversionWorkspaceName(conversionWorkspaceName: string): string | number;
2458
+ /**
2459
+ * Parse the location from ConversionWorkspace resource.
2460
+ *
2461
+ * @param {string} conversionWorkspaceName
2462
+ * A fully-qualified path representing ConversionWorkspace resource.
2463
+ * @returns {string} A string representing the location.
2464
+ */
2465
+ matchLocationFromConversionWorkspaceName(conversionWorkspaceName: string): string | number;
2466
+ /**
2467
+ * Parse the conversion_workspace from ConversionWorkspace resource.
2468
+ *
2469
+ * @param {string} conversionWorkspaceName
2470
+ * A fully-qualified path representing ConversionWorkspace resource.
2471
+ * @returns {string} A string representing the conversion_workspace.
2472
+ */
2473
+ matchConversionWorkspaceFromConversionWorkspaceName(conversionWorkspaceName: string): string | number;
1048
2474
  /**
1049
2475
  * Return a fully-qualified location resource name string.
1050
2476
  *
@@ -1102,6 +2528,39 @@ export declare class DataMigrationServiceClient {
1102
2528
  * @returns {string} A string representing the migration_job.
1103
2529
  */
1104
2530
  matchMigrationJobFromMigrationJobName(migrationJobName: string): string | number;
2531
+ /**
2532
+ * Return a fully-qualified privateConnection resource name string.
2533
+ *
2534
+ * @param {string} project
2535
+ * @param {string} location
2536
+ * @param {string} private_connection
2537
+ * @returns {string} Resource name string.
2538
+ */
2539
+ privateConnectionPath(project: string, location: string, privateConnection: string): string;
2540
+ /**
2541
+ * Parse the project from PrivateConnection resource.
2542
+ *
2543
+ * @param {string} privateConnectionName
2544
+ * A fully-qualified path representing PrivateConnection resource.
2545
+ * @returns {string} A string representing the project.
2546
+ */
2547
+ matchProjectFromPrivateConnectionName(privateConnectionName: string): string | number;
2548
+ /**
2549
+ * Parse the location from PrivateConnection resource.
2550
+ *
2551
+ * @param {string} privateConnectionName
2552
+ * A fully-qualified path representing PrivateConnection resource.
2553
+ * @returns {string} A string representing the location.
2554
+ */
2555
+ matchLocationFromPrivateConnectionName(privateConnectionName: string): string | number;
2556
+ /**
2557
+ * Parse the private_connection from PrivateConnection resource.
2558
+ *
2559
+ * @param {string} privateConnectionName
2560
+ * A fully-qualified path representing PrivateConnection resource.
2561
+ * @returns {string} A string representing the private_connection.
2562
+ */
2563
+ matchPrivateConnectionFromPrivateConnectionName(privateConnectionName: string): string | number;
1105
2564
  /**
1106
2565
  * Return a fully-qualified project resource name string.
1107
2566
  *