@google-cloud/dms 3.4.0 → 4.0.1
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.
- package/CHANGELOG.md +23 -0
- package/build/protos/google/cloud/clouddms/v1/clouddms.proto +5 -4
- package/build/protos/google/cloud/clouddms/v1/clouddms_resources.proto +1 -1
- package/build/protos/google/cloud/clouddms/v1/conversionworkspace_resources.proto +1 -1
- package/build/protos/protos.d.ts +1 -1
- package/build/protos/protos.js +1 -1
- package/build/src/index.js +1 -1
- package/build/src/v1/data_migration_service_client.d.ts +13 -13
- package/build/src/v1/data_migration_service_client.js +893 -235
- package/build/src/v1/data_migration_service_proto_list.json +5 -0
- package/build/src/v1/gapic_metadata.json +461 -0
- package/build/src/v1/index.js +1 -1
- package/package.json +17 -17
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [4.0.1](https://github.com/googleapis/google-cloud-node/compare/dms-v4.0.0...dms-v4.0.1) (2025-03-19)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* [Many APIs] await/catch promises, and update listOperationsAsync return type ([#6184](https://github.com/googleapis/google-cloud-node/issues/6184)) ([2fcd202](https://github.com/googleapis/google-cloud-node/commit/2fcd2029c35e8fb2199d03ac6e61e2d821ddf72e))
|
|
9
|
+
|
|
10
|
+
## [4.0.0](https://github.com/googleapis/google-cloud-node/compare/dms-v3.4.0...dms-v4.0.0) (2025-03-18)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### ⚠ BREAKING CHANGES
|
|
14
|
+
|
|
15
|
+
* upgrade to Node 18 ([#6096](https://github.com/googleapis/google-cloud-node/issues/6096))
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* [Many APIs] add request/response debug logging to gapics ([e7409c8](https://github.com/googleapis/google-cloud-node/commit/e7409c87febcf33359a2d36ae4551f502b8a2f93))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Miscellaneous Chores
|
|
23
|
+
|
|
24
|
+
* Upgrade to Node 18 ([#6096](https://github.com/googleapis/google-cloud-node/issues/6096)) ([eadae64](https://github.com/googleapis/google-cloud-node/commit/eadae64d54e07aa2c65097ea52e65008d4e87436))
|
|
25
|
+
|
|
3
26
|
## [3.4.0](https://github.com/googleapis/google-cloud-node/compare/dms-v3.3.0...dms-v3.4.0) (2024-05-21)
|
|
4
27
|
|
|
5
28
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright
|
|
1
|
+
// Copyright 2025 Google LLC
|
|
2
2
|
//
|
|
3
3
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
// you may not use this file except in compliance with the License.
|
|
@@ -1100,9 +1100,10 @@ message OperationMetadata {
|
|
|
1100
1100
|
|
|
1101
1101
|
// Output only. Identifies whether the user has requested cancellation
|
|
1102
1102
|
// of the operation. Operations that have successfully been cancelled
|
|
1103
|
-
// have
|
|
1104
|
-
// [google.
|
|
1105
|
-
//
|
|
1103
|
+
// have
|
|
1104
|
+
// [google.longrunning.Operation.error][google.longrunning.Operation.error]
|
|
1105
|
+
// value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
|
|
1106
|
+
// corresponding to `Code.CANCELLED`.
|
|
1106
1107
|
bool requested_cancellation = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
|
|
1107
1108
|
|
|
1108
1109
|
// Output only. API version used to start the operation.
|
package/build/protos/protos.d.ts
CHANGED
package/build/protos/protos.js
CHANGED
package/build/src/index.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
1
|
import type * as gax from 'google-gax';
|
|
3
2
|
import type { Callback, CallOptions, Descriptors, ClientOptions, LROperation, PaginationCallback, IamClient, IamProtos, LocationsClient, LocationProtos } from 'google-gax';
|
|
4
3
|
import { Transform } from 'stream';
|
|
@@ -18,6 +17,7 @@ export declare class DataMigrationServiceClient {
|
|
|
18
17
|
private _defaults;
|
|
19
18
|
private _universeDomain;
|
|
20
19
|
private _servicePath;
|
|
20
|
+
private _log;
|
|
21
21
|
auth: gax.GoogleAuth;
|
|
22
22
|
descriptors: Descriptors;
|
|
23
23
|
warn: (code: string, message: string, warnType?: string) => void;
|
|
@@ -55,7 +55,7 @@ export declare class DataMigrationServiceClient {
|
|
|
55
55
|
* Developer's Console, e.g. 'grape-spaceship-123'. We will also check
|
|
56
56
|
* the environment variable GCLOUD_PROJECT for your project ID. If your
|
|
57
57
|
* app is running in an environment which supports
|
|
58
|
-
* {@link https://
|
|
58
|
+
* {@link https://cloud.google.com/docs/authentication/application-default-credentials Application Default Credentials},
|
|
59
59
|
* your project ID will be detected automatically.
|
|
60
60
|
* @param {string} [options.apiEndpoint] - The domain name of the
|
|
61
61
|
* API remote host.
|
|
@@ -1558,7 +1558,7 @@ export declare class DataMigrationServiceClient {
|
|
|
1558
1558
|
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;
|
|
1559
1559
|
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;
|
|
1560
1560
|
/**
|
|
1561
|
-
* Equivalent to `
|
|
1561
|
+
* Equivalent to `listMigrationJobs`, but returns a NodeJS Stream object.
|
|
1562
1562
|
* @param {Object} request
|
|
1563
1563
|
* The request object that will be sent.
|
|
1564
1564
|
* @param {string} request.parent
|
|
@@ -1695,7 +1695,7 @@ export declare class DataMigrationServiceClient {
|
|
|
1695
1695
|
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;
|
|
1696
1696
|
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;
|
|
1697
1697
|
/**
|
|
1698
|
-
* Equivalent to `
|
|
1698
|
+
* Equivalent to `listConnectionProfiles`, but returns a NodeJS Stream object.
|
|
1699
1699
|
* @param {Object} request
|
|
1700
1700
|
* The request object that will be sent.
|
|
1701
1701
|
* @param {string} request.parent
|
|
@@ -1826,7 +1826,7 @@ export declare class DataMigrationServiceClient {
|
|
|
1826
1826
|
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;
|
|
1827
1827
|
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;
|
|
1828
1828
|
/**
|
|
1829
|
-
* Equivalent to `
|
|
1829
|
+
* Equivalent to `listPrivateConnections`, but returns a NodeJS Stream object.
|
|
1830
1830
|
* @param {Object} request
|
|
1831
1831
|
* The request object that will be sent.
|
|
1832
1832
|
* @param {string} request.parent
|
|
@@ -1950,7 +1950,7 @@ export declare class DataMigrationServiceClient {
|
|
|
1950
1950
|
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;
|
|
1951
1951
|
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;
|
|
1952
1952
|
/**
|
|
1953
|
-
* Equivalent to `
|
|
1953
|
+
* Equivalent to `listConversionWorkspaces`, but returns a NodeJS Stream object.
|
|
1954
1954
|
* @param {Object} request
|
|
1955
1955
|
* The request object that will be sent.
|
|
1956
1956
|
* @param {string} request.parent
|
|
@@ -2064,7 +2064,7 @@ export declare class DataMigrationServiceClient {
|
|
|
2064
2064
|
listMappingRules(request: protos.google.cloud.clouddms.v1.IListMappingRulesRequest, options: CallOptions, callback: PaginationCallback<protos.google.cloud.clouddms.v1.IListMappingRulesRequest, protos.google.cloud.clouddms.v1.IListMappingRulesResponse | null | undefined, protos.google.cloud.clouddms.v1.IMappingRule>): void;
|
|
2065
2065
|
listMappingRules(request: protos.google.cloud.clouddms.v1.IListMappingRulesRequest, callback: PaginationCallback<protos.google.cloud.clouddms.v1.IListMappingRulesRequest, protos.google.cloud.clouddms.v1.IListMappingRulesResponse | null | undefined, protos.google.cloud.clouddms.v1.IMappingRule>): void;
|
|
2066
2066
|
/**
|
|
2067
|
-
* Equivalent to `
|
|
2067
|
+
* Equivalent to `listMappingRules`, but returns a NodeJS Stream object.
|
|
2068
2068
|
* @param {Object} request
|
|
2069
2069
|
* The request object that will be sent.
|
|
2070
2070
|
* @param {string} request.parent
|
|
@@ -2181,7 +2181,7 @@ export declare class DataMigrationServiceClient {
|
|
|
2181
2181
|
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;
|
|
2182
2182
|
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;
|
|
2183
2183
|
/**
|
|
2184
|
-
* Equivalent to `
|
|
2184
|
+
* Equivalent to `describeDatabaseEntities`, but returns a NodeJS Stream object.
|
|
2185
2185
|
* @param {Object} request
|
|
2186
2186
|
* The request object that will be sent.
|
|
2187
2187
|
* @param {string} request.conversionWorkspace
|
|
@@ -2302,7 +2302,7 @@ export declare class DataMigrationServiceClient {
|
|
|
2302
2302
|
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;
|
|
2303
2303
|
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;
|
|
2304
2304
|
/**
|
|
2305
|
-
* Equivalent to `
|
|
2305
|
+
* Equivalent to `fetchStaticIps`, but returns a NodeJS Stream object.
|
|
2306
2306
|
* @param {Object} request
|
|
2307
2307
|
* The request object that will be sent.
|
|
2308
2308
|
* @param {string} request.name
|
|
@@ -2518,7 +2518,7 @@ export declare class DataMigrationServiceClient {
|
|
|
2518
2518
|
* // doThingsWith(response)
|
|
2519
2519
|
* ```
|
|
2520
2520
|
*/
|
|
2521
|
-
getOperation(request: protos.google.longrunning.GetOperationRequest,
|
|
2521
|
+
getOperation(request: protos.google.longrunning.GetOperationRequest, optionsOrCallback?: 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]>;
|
|
2522
2522
|
/**
|
|
2523
2523
|
* Lists operations that match the specified filter in the request. If the
|
|
2524
2524
|
* server doesn't support this method, it returns `UNIMPLEMENTED`. Returns an iterable object.
|
|
@@ -2549,7 +2549,7 @@ export declare class DataMigrationServiceClient {
|
|
|
2549
2549
|
* // doThingsWith(response)
|
|
2550
2550
|
* ```
|
|
2551
2551
|
*/
|
|
2552
|
-
listOperationsAsync(request: protos.google.longrunning.ListOperationsRequest, options?: gax.CallOptions): AsyncIterable<protos.google.longrunning.
|
|
2552
|
+
listOperationsAsync(request: protos.google.longrunning.ListOperationsRequest, options?: gax.CallOptions): AsyncIterable<protos.google.longrunning.IOperation>;
|
|
2553
2553
|
/**
|
|
2554
2554
|
* Starts asynchronous cancellation on a long-running operation. The server
|
|
2555
2555
|
* makes a best effort to cancel the operation, but success is not
|
|
@@ -2581,7 +2581,7 @@ export declare class DataMigrationServiceClient {
|
|
|
2581
2581
|
* await client.cancelOperation({name: ''});
|
|
2582
2582
|
* ```
|
|
2583
2583
|
*/
|
|
2584
|
-
cancelOperation(request: protos.google.longrunning.CancelOperationRequest,
|
|
2584
|
+
cancelOperation(request: protos.google.longrunning.CancelOperationRequest, optionsOrCallback?: gax.CallOptions | Callback<protos.google.longrunning.CancelOperationRequest, protos.google.protobuf.Empty, {} | undefined | null>, callback?: Callback<protos.google.longrunning.CancelOperationRequest, protos.google.protobuf.Empty, {} | undefined | null>): Promise<protos.google.protobuf.Empty>;
|
|
2585
2585
|
/**
|
|
2586
2586
|
* Deletes a long-running operation. This method indicates that the client is
|
|
2587
2587
|
* no longer interested in the operation result. It does not cancel the
|
|
@@ -2607,7 +2607,7 @@ export declare class DataMigrationServiceClient {
|
|
|
2607
2607
|
* await client.deleteOperation({name: ''});
|
|
2608
2608
|
* ```
|
|
2609
2609
|
*/
|
|
2610
|
-
deleteOperation(request: protos.google.longrunning.DeleteOperationRequest,
|
|
2610
|
+
deleteOperation(request: protos.google.longrunning.DeleteOperationRequest, optionsOrCallback?: 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>;
|
|
2611
2611
|
/**
|
|
2612
2612
|
* Return a fully-qualified connectionProfile resource name string.
|
|
2613
2613
|
*
|