@google-cloud/dms 4.0.0 → 4.1.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.
- package/README.md +2 -2
- package/build/protos/protos.d.ts +21 -18
- package/build/protos/protos.js +689 -230
- package/build/protos/protos.json +64 -16
- package/build/src/v1/data_migration_service_client.d.ts +340 -340
- package/build/src/v1/data_migration_service_client.js +434 -590
- package/package.json +4 -4
- package/CHANGELOG.md +0 -189
|
@@ -206,7 +206,7 @@ export declare class DataMigrationServiceClient {
|
|
|
206
206
|
*/
|
|
207
207
|
generateTcpProxyScript(request?: protos.google.cloud.clouddms.v1.IGenerateTcpProxyScriptRequest, options?: CallOptions): Promise<[
|
|
208
208
|
protos.google.cloud.clouddms.v1.ITcpProxyScript,
|
|
209
|
-
|
|
209
|
+
protos.google.cloud.clouddms.v1.IGenerateTcpProxyScriptRequest | undefined,
|
|
210
210
|
{} | undefined
|
|
211
211
|
]>;
|
|
212
212
|
generateTcpProxyScript(request: protos.google.cloud.clouddms.v1.IGenerateTcpProxyScriptRequest, options: CallOptions, callback: Callback<protos.google.cloud.clouddms.v1.ITcpProxyScript, protos.google.cloud.clouddms.v1.IGenerateTcpProxyScriptRequest | null | undefined, {} | null | undefined>): void;
|
|
@@ -275,7 +275,7 @@ export declare class DataMigrationServiceClient {
|
|
|
275
275
|
*/
|
|
276
276
|
getConversionWorkspace(request?: protos.google.cloud.clouddms.v1.IGetConversionWorkspaceRequest, options?: CallOptions): Promise<[
|
|
277
277
|
protos.google.cloud.clouddms.v1.IConversionWorkspace,
|
|
278
|
-
|
|
278
|
+
protos.google.cloud.clouddms.v1.IGetConversionWorkspaceRequest | undefined,
|
|
279
279
|
{} | undefined
|
|
280
280
|
]>;
|
|
281
281
|
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;
|
|
@@ -440,7 +440,7 @@ export declare class DataMigrationServiceClient {
|
|
|
440
440
|
*/
|
|
441
441
|
describeConversionWorkspaceRevisions(request?: protos.google.cloud.clouddms.v1.IDescribeConversionWorkspaceRevisionsRequest, options?: CallOptions): Promise<[
|
|
442
442
|
protos.google.cloud.clouddms.v1.IDescribeConversionWorkspaceRevisionsResponse,
|
|
443
|
-
|
|
443
|
+
protos.google.cloud.clouddms.v1.IDescribeConversionWorkspaceRevisionsRequest | undefined,
|
|
444
444
|
{} | undefined
|
|
445
445
|
]>;
|
|
446
446
|
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;
|
|
@@ -1508,48 +1508,48 @@ export declare class DataMigrationServiceClient {
|
|
|
1508
1508
|
*/
|
|
1509
1509
|
checkApplyConversionWorkspaceProgress(name: string): Promise<LROperation<protos.google.cloud.clouddms.v1.ConversionWorkspace, protos.google.cloud.clouddms.v1.OperationMetadata>>;
|
|
1510
1510
|
/**
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1511
|
+
* Lists migration jobs in a given project and location.
|
|
1512
|
+
*
|
|
1513
|
+
* @param {Object} request
|
|
1514
|
+
* The request object that will be sent.
|
|
1515
|
+
* @param {string} request.parent
|
|
1516
|
+
* Required. The parent which owns this collection of migrationJobs.
|
|
1517
|
+
* @param {number} request.pageSize
|
|
1518
|
+
* The maximum number of migration jobs to return. The service may return
|
|
1519
|
+
* fewer than this value. If unspecified, at most 50 migration jobs will be
|
|
1520
|
+
* returned. The maximum value is 1000; values above 1000 are coerced to
|
|
1521
|
+
* 1000.
|
|
1522
|
+
* @param {string} request.pageToken
|
|
1523
|
+
* The nextPageToken value received in the previous call to
|
|
1524
|
+
* migrationJobs.list, used in the subsequent request to retrieve the next
|
|
1525
|
+
* page of results. On first call this should be left blank. When paginating,
|
|
1526
|
+
* all other parameters provided to migrationJobs.list must match the call
|
|
1527
|
+
* that provided the page token.
|
|
1528
|
+
* @param {string} request.filter
|
|
1529
|
+
* A filter expression that filters migration jobs listed in the response.
|
|
1530
|
+
* The expression must specify the field name, a comparison operator, and the
|
|
1531
|
+
* value that you want to use for filtering. The value must be a string,
|
|
1532
|
+
* a number, or a boolean. The comparison operator must be
|
|
1533
|
+
* either =, !=, >, or <. For example, list migration jobs created this year
|
|
1534
|
+
* by specifying **createTime %gt; 2020-01-01T00:00:00.000000000Z.**
|
|
1535
|
+
* You can also filter nested fields. For example, you could specify
|
|
1536
|
+
* **reverseSshConnectivity.vmIp = "1.2.3.4"** to select all migration
|
|
1537
|
+
* jobs connecting through the specific SSH tunnel bastion.
|
|
1538
|
+
* @param {string} request.orderBy
|
|
1539
|
+
* Sort the results based on the migration job name.
|
|
1540
|
+
* Valid values are: "name", "name asc", and "name desc".
|
|
1541
|
+
* @param {object} [options]
|
|
1542
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
1543
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
1544
|
+
* The first element of the array is Array of {@link protos.google.cloud.clouddms.v1.MigrationJob|MigrationJob}.
|
|
1545
|
+
* The client library will perform auto-pagination by default: it will call the API as many
|
|
1546
|
+
* times as needed and will merge results from all the pages into this array.
|
|
1547
|
+
* Note that it can affect your quota.
|
|
1548
|
+
* We recommend using `listMigrationJobsAsync()`
|
|
1549
|
+
* method described below for async iteration which you can stop as needed.
|
|
1550
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
|
|
1551
|
+
* for more details and examples.
|
|
1552
|
+
*/
|
|
1553
1553
|
listMigrationJobs(request?: protos.google.cloud.clouddms.v1.IListMigrationJobsRequest, options?: CallOptions): Promise<[
|
|
1554
1554
|
protos.google.cloud.clouddms.v1.IMigrationJob[],
|
|
1555
1555
|
protos.google.cloud.clouddms.v1.IListMigrationJobsRequest | null,
|
|
@@ -1645,48 +1645,48 @@ export declare class DataMigrationServiceClient {
|
|
|
1645
1645
|
*/
|
|
1646
1646
|
listMigrationJobsAsync(request?: protos.google.cloud.clouddms.v1.IListMigrationJobsRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.clouddms.v1.IMigrationJob>;
|
|
1647
1647
|
/**
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1648
|
+
* Retrieves a list of all connection profiles in a given project and
|
|
1649
|
+
* location.
|
|
1650
|
+
*
|
|
1651
|
+
* @param {Object} request
|
|
1652
|
+
* The request object that will be sent.
|
|
1653
|
+
* @param {string} request.parent
|
|
1654
|
+
* Required. The parent which owns this collection of connection profiles.
|
|
1655
|
+
* @param {number} request.pageSize
|
|
1656
|
+
* The maximum number of connection profiles to return. The service may return
|
|
1657
|
+
* fewer than this value. If unspecified, at most 50 connection profiles will
|
|
1658
|
+
* be returned. The maximum value is 1000; values above 1000 are coerced
|
|
1659
|
+
* to 1000.
|
|
1660
|
+
* @param {string} request.pageToken
|
|
1661
|
+
* A page token, received from a previous `ListConnectionProfiles` call.
|
|
1662
|
+
* Provide this to retrieve the subsequent page.
|
|
1663
|
+
*
|
|
1664
|
+
* When paginating, all other parameters provided to `ListConnectionProfiles`
|
|
1665
|
+
* must match the call that provided the page token.
|
|
1666
|
+
* @param {string} request.filter
|
|
1667
|
+
* A filter expression that filters connection profiles listed in the
|
|
1668
|
+
* response. The expression must specify the field name, a comparison
|
|
1669
|
+
* operator, and the value that you want to use for filtering. The value must
|
|
1670
|
+
* be a string, a number, or a boolean. The comparison operator must be either
|
|
1671
|
+
* =, !=, >, or <. For example, list connection profiles created this year by
|
|
1672
|
+
* specifying **createTime %gt; 2020-01-01T00:00:00.000000000Z**. You can
|
|
1673
|
+
* also filter nested fields. For example, you could specify **mySql.username
|
|
1674
|
+
* = %lt;my_username%gt;** to list all connection profiles configured to
|
|
1675
|
+
* connect with a specific username.
|
|
1676
|
+
* @param {string} request.orderBy
|
|
1677
|
+
* A comma-separated list of fields to order results according to.
|
|
1678
|
+
* @param {object} [options]
|
|
1679
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
1680
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
1681
|
+
* The first element of the array is Array of {@link protos.google.cloud.clouddms.v1.ConnectionProfile|ConnectionProfile}.
|
|
1682
|
+
* The client library will perform auto-pagination by default: it will call the API as many
|
|
1683
|
+
* times as needed and will merge results from all the pages into this array.
|
|
1684
|
+
* Note that it can affect your quota.
|
|
1685
|
+
* We recommend using `listConnectionProfilesAsync()`
|
|
1686
|
+
* method described below for async iteration which you can stop as needed.
|
|
1687
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
|
|
1688
|
+
* for more details and examples.
|
|
1689
|
+
*/
|
|
1690
1690
|
listConnectionProfiles(request?: protos.google.cloud.clouddms.v1.IListConnectionProfilesRequest, options?: CallOptions): Promise<[
|
|
1691
1691
|
protos.google.cloud.clouddms.v1.IConnectionProfile[],
|
|
1692
1692
|
protos.google.cloud.clouddms.v1.IListConnectionProfilesRequest | null,
|
|
@@ -1780,44 +1780,44 @@ export declare class DataMigrationServiceClient {
|
|
|
1780
1780
|
*/
|
|
1781
1781
|
listConnectionProfilesAsync(request?: protos.google.cloud.clouddms.v1.IListConnectionProfilesRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.clouddms.v1.IConnectionProfile>;
|
|
1782
1782
|
/**
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1783
|
+
* Retrieves a list of private connections in a given project and location.
|
|
1784
|
+
*
|
|
1785
|
+
* @param {Object} request
|
|
1786
|
+
* The request object that will be sent.
|
|
1787
|
+
* @param {string} request.parent
|
|
1788
|
+
* Required. The parent that owns the collection of private connections.
|
|
1789
|
+
* @param {number} request.pageSize
|
|
1790
|
+
* Maximum number of private connections to return.
|
|
1791
|
+
* If unspecified, at most 50 private connections that are returned.
|
|
1792
|
+
* The maximum value is 1000; values above 1000 are coerced to 1000.
|
|
1793
|
+
* @param {string} request.pageToken
|
|
1794
|
+
* Page token received from a previous `ListPrivateConnections` call.
|
|
1795
|
+
* Provide this to retrieve the subsequent page.
|
|
1796
|
+
*
|
|
1797
|
+
* When paginating, all other parameters provided to
|
|
1798
|
+
* `ListPrivateConnections` must match the call that provided the page
|
|
1799
|
+
* token.
|
|
1800
|
+
* @param {string} request.filter
|
|
1801
|
+
* A filter expression that filters private connections listed in the
|
|
1802
|
+
* response. The expression must specify the field name, a comparison
|
|
1803
|
+
* operator, and the value that you want to use for filtering. The value must
|
|
1804
|
+
* be a string, a number, or a boolean. The comparison operator must be either
|
|
1805
|
+
* =, !=, >, or <. For example, list private connections created this year by
|
|
1806
|
+
* specifying **createTime %gt; 2021-01-01T00:00:00.000000000Z**.
|
|
1807
|
+
* @param {string} request.orderBy
|
|
1808
|
+
* Order by fields for the result.
|
|
1809
|
+
* @param {object} [options]
|
|
1810
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
1811
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
1812
|
+
* The first element of the array is Array of {@link protos.google.cloud.clouddms.v1.PrivateConnection|PrivateConnection}.
|
|
1813
|
+
* The client library will perform auto-pagination by default: it will call the API as many
|
|
1814
|
+
* times as needed and will merge results from all the pages into this array.
|
|
1815
|
+
* Note that it can affect your quota.
|
|
1816
|
+
* We recommend using `listPrivateConnectionsAsync()`
|
|
1817
|
+
* method described below for async iteration which you can stop as needed.
|
|
1818
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
|
|
1819
|
+
* for more details and examples.
|
|
1820
|
+
*/
|
|
1821
1821
|
listPrivateConnections(request?: protos.google.cloud.clouddms.v1.IListPrivateConnectionsRequest, options?: CallOptions): Promise<[
|
|
1822
1822
|
protos.google.cloud.clouddms.v1.IPrivateConnection[],
|
|
1823
1823
|
protos.google.cloud.clouddms.v1.IListPrivateConnectionsRequest | null,
|
|
@@ -1905,43 +1905,43 @@ export declare class DataMigrationServiceClient {
|
|
|
1905
1905
|
*/
|
|
1906
1906
|
listPrivateConnectionsAsync(request?: protos.google.cloud.clouddms.v1.IListPrivateConnectionsRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.clouddms.v1.IPrivateConnection>;
|
|
1907
1907
|
/**
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1908
|
+
* Lists conversion workspaces in a given project and location.
|
|
1909
|
+
*
|
|
1910
|
+
* @param {Object} request
|
|
1911
|
+
* The request object that will be sent.
|
|
1912
|
+
* @param {string} request.parent
|
|
1913
|
+
* Required. The parent which owns this collection of conversion workspaces.
|
|
1914
|
+
* @param {number} request.pageSize
|
|
1915
|
+
* The maximum number of conversion workspaces to return. The service may
|
|
1916
|
+
* return fewer than this value. If unspecified, at most 50 sets are returned.
|
|
1917
|
+
* @param {string} request.pageToken
|
|
1918
|
+
* The nextPageToken value received in the previous call to
|
|
1919
|
+
* conversionWorkspaces.list, used in the subsequent request to retrieve the
|
|
1920
|
+
* next page of results. On first call this should be left blank. When
|
|
1921
|
+
* paginating, all other parameters provided to conversionWorkspaces.list must
|
|
1922
|
+
* match the call that provided the page token.
|
|
1923
|
+
* @param {string} request.filter
|
|
1924
|
+
* A filter expression that filters conversion workspaces listed in the
|
|
1925
|
+
* response. The expression must specify the field name, a comparison
|
|
1926
|
+
* operator, and the value that you want to use for filtering. The value must
|
|
1927
|
+
* be a string, a number, or a boolean. The comparison operator must be either
|
|
1928
|
+
* =, !=, >, or <. For example, list conversion workspaces created this year
|
|
1929
|
+
* by specifying **createTime %gt; 2020-01-01T00:00:00.000000000Z.** You can
|
|
1930
|
+
* also filter nested fields. For example, you could specify
|
|
1931
|
+
* **source.version = "12.c.1"** to select all conversion workspaces with
|
|
1932
|
+
* source database version equal to 12.c.1.
|
|
1933
|
+
* @param {object} [options]
|
|
1934
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
1935
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
1936
|
+
* The first element of the array is Array of {@link protos.google.cloud.clouddms.v1.ConversionWorkspace|ConversionWorkspace}.
|
|
1937
|
+
* The client library will perform auto-pagination by default: it will call the API as many
|
|
1938
|
+
* times as needed and will merge results from all the pages into this array.
|
|
1939
|
+
* Note that it can affect your quota.
|
|
1940
|
+
* We recommend using `listConversionWorkspacesAsync()`
|
|
1941
|
+
* method described below for async iteration which you can stop as needed.
|
|
1942
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
|
|
1943
|
+
* for more details and examples.
|
|
1944
|
+
*/
|
|
1945
1945
|
listConversionWorkspaces(request?: protos.google.cloud.clouddms.v1.IListConversionWorkspacesRequest, options?: CallOptions): Promise<[
|
|
1946
1946
|
protos.google.cloud.clouddms.v1.IConversionWorkspace[],
|
|
1947
1947
|
protos.google.cloud.clouddms.v1.IListConversionWorkspacesRequest | null,
|
|
@@ -2027,35 +2027,35 @@ export declare class DataMigrationServiceClient {
|
|
|
2027
2027
|
*/
|
|
2028
2028
|
listConversionWorkspacesAsync(request?: protos.google.cloud.clouddms.v1.IListConversionWorkspacesRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.clouddms.v1.IConversionWorkspace>;
|
|
2029
2029
|
/**
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2030
|
+
* Lists the mapping rules for a specific conversion workspace.
|
|
2031
|
+
*
|
|
2032
|
+
* @param {Object} request
|
|
2033
|
+
* The request object that will be sent.
|
|
2034
|
+
* @param {string} request.parent
|
|
2035
|
+
* Required. Name of the conversion workspace resource whose mapping rules are
|
|
2036
|
+
* listed in the form of:
|
|
2037
|
+
* projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
|
|
2038
|
+
* @param {number} request.pageSize
|
|
2039
|
+
* The maximum number of rules to return. The service may return
|
|
2040
|
+
* fewer than this value.
|
|
2041
|
+
* @param {string} request.pageToken
|
|
2042
|
+
* The nextPageToken value received in the previous call to
|
|
2043
|
+
* mappingRules.list, used in the subsequent request to retrieve the next
|
|
2044
|
+
* page of results. On first call this should be left blank. When paginating,
|
|
2045
|
+
* all other parameters provided to mappingRules.list must match the call
|
|
2046
|
+
* that provided the page token.
|
|
2047
|
+
* @param {object} [options]
|
|
2048
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
2049
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
2050
|
+
* The first element of the array is Array of {@link protos.google.cloud.clouddms.v1.MappingRule|MappingRule}.
|
|
2051
|
+
* The client library will perform auto-pagination by default: it will call the API as many
|
|
2052
|
+
* times as needed and will merge results from all the pages into this array.
|
|
2053
|
+
* Note that it can affect your quota.
|
|
2054
|
+
* We recommend using `listMappingRulesAsync()`
|
|
2055
|
+
* method described below for async iteration which you can stop as needed.
|
|
2056
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
|
|
2057
|
+
* for more details and examples.
|
|
2058
|
+
*/
|
|
2059
2059
|
listMappingRules(request?: protos.google.cloud.clouddms.v1.IListMappingRulesRequest, options?: CallOptions): Promise<[
|
|
2060
2060
|
protos.google.cloud.clouddms.v1.IMappingRule[],
|
|
2061
2061
|
protos.google.cloud.clouddms.v1.IListMappingRulesRequest | null,
|
|
@@ -2125,54 +2125,54 @@ export declare class DataMigrationServiceClient {
|
|
|
2125
2125
|
*/
|
|
2126
2126
|
listMappingRulesAsync(request?: protos.google.cloud.clouddms.v1.IListMappingRulesRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.clouddms.v1.IMappingRule>;
|
|
2127
2127
|
/**
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2128
|
+
* Describes the database entities tree for a specific conversion workspace
|
|
2129
|
+
* and a specific tree type.
|
|
2130
|
+
*
|
|
2131
|
+
* Database entities are not resources like conversion workspaces or mapping
|
|
2132
|
+
* rules, and they can't be created, updated or deleted. Instead, they are
|
|
2133
|
+
* simple data objects describing the structure of the client database.
|
|
2134
|
+
*
|
|
2135
|
+
* @param {Object} request
|
|
2136
|
+
* The request object that will be sent.
|
|
2137
|
+
* @param {string} request.conversionWorkspace
|
|
2138
|
+
* Required. Name of the conversion workspace resource whose database entities
|
|
2139
|
+
* are described. Must be in the form of:
|
|
2140
|
+
* projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
|
|
2141
|
+
* @param {number} [request.pageSize]
|
|
2142
|
+
* Optional. The maximum number of entities to return. The service may return
|
|
2143
|
+
* fewer entities than the value specifies.
|
|
2144
|
+
* @param {string} [request.pageToken]
|
|
2145
|
+
* Optional. The nextPageToken value received in the previous call to
|
|
2146
|
+
* conversionWorkspace.describeDatabaseEntities, used in the subsequent
|
|
2147
|
+
* request to retrieve the next page of results. On first call this should be
|
|
2148
|
+
* left blank. When paginating, all other parameters provided to
|
|
2149
|
+
* conversionWorkspace.describeDatabaseEntities must match the call that
|
|
2150
|
+
* provided the page token.
|
|
2151
|
+
* @param {google.cloud.clouddms.v1.DescribeDatabaseEntitiesRequest.DBTreeType} request.tree
|
|
2152
|
+
* Required. The tree to fetch.
|
|
2153
|
+
* @param {boolean} [request.uncommitted]
|
|
2154
|
+
* Optional. Whether to retrieve the latest committed version of the entities
|
|
2155
|
+
* or the latest version. This field is ignored if a specific commit_id is
|
|
2156
|
+
* specified.
|
|
2157
|
+
* @param {string} [request.commitId]
|
|
2158
|
+
* Optional. Request a specific commit ID. If not specified, the entities from
|
|
2159
|
+
* the latest commit are returned.
|
|
2160
|
+
* @param {string} [request.filter]
|
|
2161
|
+
* Optional. Filter the returned entities based on AIP-160 standard.
|
|
2162
|
+
* @param {google.cloud.clouddms.v1.DatabaseEntityView} [request.view]
|
|
2163
|
+
* Optional. Results view based on AIP-157
|
|
2164
|
+
* @param {object} [options]
|
|
2165
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
2166
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
2167
|
+
* The first element of the array is Array of {@link protos.google.cloud.clouddms.v1.DatabaseEntity|DatabaseEntity}.
|
|
2168
|
+
* The client library will perform auto-pagination by default: it will call the API as many
|
|
2169
|
+
* times as needed and will merge results from all the pages into this array.
|
|
2170
|
+
* Note that it can affect your quota.
|
|
2171
|
+
* We recommend using `describeDatabaseEntitiesAsync()`
|
|
2172
|
+
* method described below for async iteration which you can stop as needed.
|
|
2173
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
|
|
2174
|
+
* for more details and examples.
|
|
2175
|
+
*/
|
|
2176
2176
|
describeDatabaseEntities(request?: protos.google.cloud.clouddms.v1.IDescribeDatabaseEntitiesRequest, options?: CallOptions): Promise<[
|
|
2177
2177
|
protos.google.cloud.clouddms.v1.IDatabaseEntity[],
|
|
2178
2178
|
protos.google.cloud.clouddms.v1.IDescribeDatabaseEntitiesRequest | null,
|
|
@@ -2270,30 +2270,30 @@ export declare class DataMigrationServiceClient {
|
|
|
2270
2270
|
*/
|
|
2271
2271
|
describeDatabaseEntitiesAsync(request?: protos.google.cloud.clouddms.v1.IDescribeDatabaseEntitiesRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.clouddms.v1.IDatabaseEntity>;
|
|
2272
2272
|
/**
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2273
|
+
* Fetches a set of static IP addresses that need to be allowlisted by the
|
|
2274
|
+
* customer when using the static-IP connectivity method.
|
|
2275
|
+
*
|
|
2276
|
+
* @param {Object} request
|
|
2277
|
+
* The request object that will be sent.
|
|
2278
|
+
* @param {string} request.name
|
|
2279
|
+
* Required. The resource name for the location for which static IPs should be
|
|
2280
|
+
* returned. Must be in the format `projects/* /locations/*`.
|
|
2281
|
+
* @param {number} request.pageSize
|
|
2282
|
+
* Maximum number of IPs to return.
|
|
2283
|
+
* @param {string} request.pageToken
|
|
2284
|
+
* A page token, received from a previous `FetchStaticIps` call.
|
|
2285
|
+
* @param {object} [options]
|
|
2286
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
2287
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
2288
|
+
* The first element of the array is Array of string.
|
|
2289
|
+
* The client library will perform auto-pagination by default: it will call the API as many
|
|
2290
|
+
* times as needed and will merge results from all the pages into this array.
|
|
2291
|
+
* Note that it can affect your quota.
|
|
2292
|
+
* We recommend using `fetchStaticIpsAsync()`
|
|
2293
|
+
* method described below for async iteration which you can stop as needed.
|
|
2294
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
|
|
2295
|
+
* for more details and examples.
|
|
2296
|
+
*/
|
|
2297
2297
|
fetchStaticIps(request?: protos.google.cloud.clouddms.v1.IFetchStaticIpsRequest, options?: CallOptions): Promise<[
|
|
2298
2298
|
string[],
|
|
2299
2299
|
protos.google.cloud.clouddms.v1.IFetchStaticIpsRequest | null,
|
|
@@ -2438,86 +2438,86 @@ export declare class DataMigrationServiceClient {
|
|
|
2438
2438
|
*/
|
|
2439
2439
|
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]>;
|
|
2440
2440
|
/**
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2441
|
+
* Gets information about a location.
|
|
2442
|
+
*
|
|
2443
|
+
* @param {Object} request
|
|
2444
|
+
* The request object that will be sent.
|
|
2445
|
+
* @param {string} request.name
|
|
2446
|
+
* Resource name for the location.
|
|
2447
|
+
* @param {object} [options]
|
|
2448
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html | CallOptions} for more details.
|
|
2449
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
2450
|
+
* The first element of the array is an object representing {@link google.cloud.location.Location | Location}.
|
|
2451
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
|
|
2452
|
+
* for more details and examples.
|
|
2453
|
+
* @example
|
|
2454
|
+
* ```
|
|
2455
|
+
* const [response] = await client.getLocation(request);
|
|
2456
|
+
* ```
|
|
2457
|
+
*/
|
|
2458
2458
|
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>;
|
|
2459
2459
|
/**
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2460
|
+
* Lists information about the supported locations for this service. Returns an iterable object.
|
|
2461
|
+
*
|
|
2462
|
+
* `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
|
|
2463
|
+
* @param {Object} request
|
|
2464
|
+
* The request object that will be sent.
|
|
2465
|
+
* @param {string} request.name
|
|
2466
|
+
* The resource that owns the locations collection, if applicable.
|
|
2467
|
+
* @param {string} request.filter
|
|
2468
|
+
* The standard list filter.
|
|
2469
|
+
* @param {number} request.pageSize
|
|
2470
|
+
* The standard list page size.
|
|
2471
|
+
* @param {string} request.pageToken
|
|
2472
|
+
* The standard list page token.
|
|
2473
|
+
* @param {object} [options]
|
|
2474
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
2475
|
+
* @returns {Object}
|
|
2476
|
+
* An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
|
|
2477
|
+
* When you iterate the returned iterable, each element will be an object representing
|
|
2478
|
+
* {@link google.cloud.location.Location | Location}. The API will be called under the hood as needed, once per the page,
|
|
2479
|
+
* so you can stop the iteration when you don't need more results.
|
|
2480
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
|
|
2481
|
+
* for more details and examples.
|
|
2482
|
+
* @example
|
|
2483
|
+
* ```
|
|
2484
|
+
* const iterable = client.listLocationsAsync(request);
|
|
2485
|
+
* for await (const response of iterable) {
|
|
2486
|
+
* // process response
|
|
2487
|
+
* }
|
|
2488
|
+
* ```
|
|
2489
|
+
*/
|
|
2490
2490
|
listLocationsAsync(request: LocationProtos.google.cloud.location.IListLocationsRequest, options?: CallOptions): AsyncIterable<LocationProtos.google.cloud.location.ILocation>;
|
|
2491
2491
|
/**
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2492
|
+
* Gets the latest state of a long-running operation. Clients can use this
|
|
2493
|
+
* method to poll the operation result at intervals as recommended by the API
|
|
2494
|
+
* service.
|
|
2495
|
+
*
|
|
2496
|
+
* @param {Object} request - The request object that will be sent.
|
|
2497
|
+
* @param {string} request.name - The name of the operation resource.
|
|
2498
|
+
* @param {Object=} options
|
|
2499
|
+
* Optional parameters. You can override the default settings for this call,
|
|
2500
|
+
* e.g, timeout, retries, paginations, etc. See {@link
|
|
2501
|
+
* https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions}
|
|
2502
|
+
* for the details.
|
|
2503
|
+
* @param {function(?Error, ?Object)=} callback
|
|
2504
|
+
* The function which will be called with the result of the API call.
|
|
2505
|
+
*
|
|
2506
|
+
* The second parameter to the callback is an object representing
|
|
2507
|
+
* {@link google.longrunning.Operation | google.longrunning.Operation}.
|
|
2508
|
+
* @return {Promise} - The promise which resolves to an array.
|
|
2509
|
+
* The first element of the array is an object representing
|
|
2510
|
+
* {@link google.longrunning.Operation | google.longrunning.Operation}.
|
|
2511
|
+
* The promise has a method named "cancel" which cancels the ongoing API call.
|
|
2512
|
+
*
|
|
2513
|
+
* @example
|
|
2514
|
+
* ```
|
|
2515
|
+
* const client = longrunning.operationsClient();
|
|
2516
|
+
* const name = '';
|
|
2517
|
+
* const [response] = await client.getOperation({name});
|
|
2518
|
+
* // doThingsWith(response)
|
|
2519
|
+
* ```
|
|
2520
|
+
*/
|
|
2521
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
|
|
@@ -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
|