@maxim_mazurok/gapi.client.datamigration-v1 0.0.20250115 → 0.0.20250122
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/index.d.ts +38 -38
- package/package.json +1 -1
- package/readme.md +2 -2
package/index.d.ts
CHANGED
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://datamigration.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20250122
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
16
16
|
declare namespace gapi.client {
|
|
17
17
|
/** Load Database Migration API v1 */
|
|
18
18
|
function load(
|
|
19
|
-
urlOrObject: 'https://datamigration.googleapis.com/$discovery/rest?version=v1'
|
|
19
|
+
urlOrObject: 'https://datamigration.googleapis.com/$discovery/rest?version=v1',
|
|
20
20
|
): Promise<void>;
|
|
21
21
|
/** @deprecated Please load APIs with discovery documents. */
|
|
22
22
|
function load(name: 'datamigration', version: 'v1'): Promise<void>;
|
|
@@ -24,7 +24,7 @@ declare namespace gapi.client {
|
|
|
24
24
|
function load(
|
|
25
25
|
name: 'datamigration',
|
|
26
26
|
version: 'v1',
|
|
27
|
-
callback: () => any
|
|
27
|
+
callback: () => any,
|
|
28
28
|
): void;
|
|
29
29
|
|
|
30
30
|
namespace datamigration {
|
|
@@ -1531,7 +1531,7 @@ declare namespace gapi.client {
|
|
|
1531
1531
|
/** Optional. Only validate the connection profile, but don't create any resources. The default is false. Only supported for Oracle connection profiles. */
|
|
1532
1532
|
validateOnly?: boolean;
|
|
1533
1533
|
},
|
|
1534
|
-
body: ConnectionProfile
|
|
1534
|
+
body: ConnectionProfile,
|
|
1535
1535
|
): Request<Operation>;
|
|
1536
1536
|
/** Deletes a single Database Migration Service connection profile. A connection profile can only be deleted if it is not in use by any active migration jobs. */
|
|
1537
1537
|
delete(request?: {
|
|
@@ -1727,7 +1727,7 @@ declare namespace gapi.client {
|
|
|
1727
1727
|
/** Optional. Only validate the connection profile, but don't update any resources. The default is false. Only supported for Oracle connection profiles. */
|
|
1728
1728
|
validateOnly?: boolean;
|
|
1729
1729
|
},
|
|
1730
|
-
body: ConnectionProfile
|
|
1730
|
+
body: ConnectionProfile,
|
|
1731
1731
|
): Request<Operation>;
|
|
1732
1732
|
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
1733
1733
|
setIamPolicy(
|
|
@@ -1757,7 +1757,7 @@ declare namespace gapi.client {
|
|
|
1757
1757
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1758
1758
|
uploadType?: string;
|
|
1759
1759
|
},
|
|
1760
|
-
body: SetIamPolicyRequest
|
|
1760
|
+
body: SetIamPolicyRequest,
|
|
1761
1761
|
): Request<Policy>;
|
|
1762
1762
|
/** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
|
|
1763
1763
|
testIamPermissions(
|
|
@@ -1787,7 +1787,7 @@ declare namespace gapi.client {
|
|
|
1787
1787
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1788
1788
|
uploadType?: string;
|
|
1789
1789
|
},
|
|
1790
|
-
body: TestIamPermissionsRequest
|
|
1790
|
+
body: TestIamPermissionsRequest,
|
|
1791
1791
|
): Request<TestIamPermissionsResponse>;
|
|
1792
1792
|
}
|
|
1793
1793
|
interface MappingRulesResource {
|
|
@@ -1855,7 +1855,7 @@ declare namespace gapi.client {
|
|
|
1855
1855
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1856
1856
|
uploadType?: string;
|
|
1857
1857
|
},
|
|
1858
|
-
body: MappingRule
|
|
1858
|
+
body: MappingRule,
|
|
1859
1859
|
): Request<MappingRule>;
|
|
1860
1860
|
/** Deletes a single mapping rule. */
|
|
1861
1861
|
delete(request?: {
|
|
@@ -1969,7 +1969,7 @@ declare namespace gapi.client {
|
|
|
1969
1969
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1970
1970
|
uploadType?: string;
|
|
1971
1971
|
},
|
|
1972
|
-
body: ImportMappingRulesRequest
|
|
1972
|
+
body: ImportMappingRulesRequest,
|
|
1973
1973
|
): Request<Operation>;
|
|
1974
1974
|
/** Lists the mapping rules for a specific conversion workspace. */
|
|
1975
1975
|
list(request?: {
|
|
@@ -2060,7 +2060,7 @@ declare namespace gapi.client {
|
|
|
2060
2060
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2061
2061
|
uploadType?: string;
|
|
2062
2062
|
},
|
|
2063
|
-
body: ApplyConversionWorkspaceRequest
|
|
2063
|
+
body: ApplyConversionWorkspaceRequest,
|
|
2064
2064
|
): Request<Operation>;
|
|
2065
2065
|
/** Marks all the data in the conversion workspace as committed. */
|
|
2066
2066
|
commit(request: {
|
|
@@ -2118,7 +2118,7 @@ declare namespace gapi.client {
|
|
|
2118
2118
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2119
2119
|
uploadType?: string;
|
|
2120
2120
|
},
|
|
2121
|
-
body: CommitConversionWorkspaceRequest
|
|
2121
|
+
body: CommitConversionWorkspaceRequest,
|
|
2122
2122
|
): Request<Operation>;
|
|
2123
2123
|
/** Creates a draft tree schema for the destination database. */
|
|
2124
2124
|
convert(request: {
|
|
@@ -2176,7 +2176,7 @@ declare namespace gapi.client {
|
|
|
2176
2176
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2177
2177
|
uploadType?: string;
|
|
2178
2178
|
},
|
|
2179
|
-
body: ConvertConversionWorkspaceRequest
|
|
2179
|
+
body: ConvertConversionWorkspaceRequest,
|
|
2180
2180
|
): Request<Operation>;
|
|
2181
2181
|
/** Creates a new conversion workspace in a given project and location. */
|
|
2182
2182
|
create(request: {
|
|
@@ -2242,7 +2242,7 @@ declare namespace gapi.client {
|
|
|
2242
2242
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2243
2243
|
uploadType?: string;
|
|
2244
2244
|
},
|
|
2245
|
-
body: ConversionWorkspace
|
|
2245
|
+
body: ConversionWorkspace,
|
|
2246
2246
|
): Request<Operation>;
|
|
2247
2247
|
/** Deletes a single conversion workspace. */
|
|
2248
2248
|
delete(request?: {
|
|
@@ -2498,7 +2498,7 @@ declare namespace gapi.client {
|
|
|
2498
2498
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2499
2499
|
uploadType?: string;
|
|
2500
2500
|
},
|
|
2501
|
-
body: ConversionWorkspace
|
|
2501
|
+
body: ConversionWorkspace,
|
|
2502
2502
|
): Request<Operation>;
|
|
2503
2503
|
/** Rolls back a conversion workspace to the last committed snapshot. */
|
|
2504
2504
|
rollback(request: {
|
|
@@ -2556,7 +2556,7 @@ declare namespace gapi.client {
|
|
|
2556
2556
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2557
2557
|
uploadType?: string;
|
|
2558
2558
|
},
|
|
2559
|
-
body: RollbackConversionWorkspaceRequest
|
|
2559
|
+
body: RollbackConversionWorkspaceRequest,
|
|
2560
2560
|
): Request<Operation>;
|
|
2561
2561
|
/** Searches/lists the background jobs for a specific conversion workspace. The background jobs are not resources like conversion workspaces or mapping rules, and they can't be created, updated or deleted. Instead, they are a way to expose the data plane jobs log. */
|
|
2562
2562
|
searchBackgroundJobs(request?: {
|
|
@@ -2647,7 +2647,7 @@ declare namespace gapi.client {
|
|
|
2647
2647
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2648
2648
|
uploadType?: string;
|
|
2649
2649
|
},
|
|
2650
|
-
body: SeedConversionWorkspaceRequest
|
|
2650
|
+
body: SeedConversionWorkspaceRequest,
|
|
2651
2651
|
): Request<Operation>;
|
|
2652
2652
|
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
2653
2653
|
setIamPolicy(
|
|
@@ -2677,7 +2677,7 @@ declare namespace gapi.client {
|
|
|
2677
2677
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2678
2678
|
uploadType?: string;
|
|
2679
2679
|
},
|
|
2680
|
-
body: SetIamPolicyRequest
|
|
2680
|
+
body: SetIamPolicyRequest,
|
|
2681
2681
|
): Request<Policy>;
|
|
2682
2682
|
/** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
|
|
2683
2683
|
testIamPermissions(
|
|
@@ -2707,7 +2707,7 @@ declare namespace gapi.client {
|
|
|
2707
2707
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2708
2708
|
uploadType?: string;
|
|
2709
2709
|
},
|
|
2710
|
-
body: TestIamPermissionsRequest
|
|
2710
|
+
body: TestIamPermissionsRequest,
|
|
2711
2711
|
): Request<TestIamPermissionsResponse>;
|
|
2712
2712
|
mappingRules: MappingRulesResource;
|
|
2713
2713
|
}
|
|
@@ -2855,7 +2855,7 @@ declare namespace gapi.client {
|
|
|
2855
2855
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2856
2856
|
uploadType?: string;
|
|
2857
2857
|
},
|
|
2858
|
-
body: LookupMigrationJobObjectRequest
|
|
2858
|
+
body: LookupMigrationJobObjectRequest,
|
|
2859
2859
|
): Request<MigrationJobObject>;
|
|
2860
2860
|
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
2861
2861
|
setIamPolicy(
|
|
@@ -2885,7 +2885,7 @@ declare namespace gapi.client {
|
|
|
2885
2885
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2886
2886
|
uploadType?: string;
|
|
2887
2887
|
},
|
|
2888
|
-
body: SetIamPolicyRequest
|
|
2888
|
+
body: SetIamPolicyRequest,
|
|
2889
2889
|
): Request<Policy>;
|
|
2890
2890
|
/** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
|
|
2891
2891
|
testIamPermissions(
|
|
@@ -2915,7 +2915,7 @@ declare namespace gapi.client {
|
|
|
2915
2915
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2916
2916
|
uploadType?: string;
|
|
2917
2917
|
},
|
|
2918
|
-
body: TestIamPermissionsRequest
|
|
2918
|
+
body: TestIamPermissionsRequest,
|
|
2919
2919
|
): Request<TestIamPermissionsResponse>;
|
|
2920
2920
|
}
|
|
2921
2921
|
interface MigrationJobsResource {
|
|
@@ -2983,7 +2983,7 @@ declare namespace gapi.client {
|
|
|
2983
2983
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2984
2984
|
uploadType?: string;
|
|
2985
2985
|
},
|
|
2986
|
-
body: MigrationJob
|
|
2986
|
+
body: MigrationJob,
|
|
2987
2987
|
): Request<Operation>;
|
|
2988
2988
|
/** Deletes a single migration job. */
|
|
2989
2989
|
delete(request?: {
|
|
@@ -3072,7 +3072,7 @@ declare namespace gapi.client {
|
|
|
3072
3072
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3073
3073
|
uploadType?: string;
|
|
3074
3074
|
},
|
|
3075
|
-
body: DemoteDestinationRequest
|
|
3075
|
+
body: DemoteDestinationRequest,
|
|
3076
3076
|
): Request<Operation>;
|
|
3077
3077
|
/** Retrieves objects from the source database that can be selected for data migration. This is applicable for the following migrations: 1. PostgreSQL to Cloud SQL for PostgreSQL 2. PostgreSQL to AlloyDB for PostgreSQL. */
|
|
3078
3078
|
fetchSourceObjects(request?: {
|
|
@@ -3157,7 +3157,7 @@ declare namespace gapi.client {
|
|
|
3157
3157
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3158
3158
|
uploadType?: string;
|
|
3159
3159
|
},
|
|
3160
|
-
body: GenerateSshScriptRequest
|
|
3160
|
+
body: GenerateSshScriptRequest,
|
|
3161
3161
|
): Request<SshScript>;
|
|
3162
3162
|
/** Generate a TCP Proxy configuration script to configure a cloud-hosted VM running a TCP Proxy. */
|
|
3163
3163
|
generateTcpProxyScript(request: {
|
|
@@ -3215,7 +3215,7 @@ declare namespace gapi.client {
|
|
|
3215
3215
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3216
3216
|
uploadType?: string;
|
|
3217
3217
|
},
|
|
3218
|
-
body: GenerateTcpProxyScriptRequest
|
|
3218
|
+
body: GenerateTcpProxyScriptRequest,
|
|
3219
3219
|
): Request<TcpProxyScript>;
|
|
3220
3220
|
/** Gets details of a single migration job. */
|
|
3221
3221
|
get(request?: {
|
|
@@ -3372,7 +3372,7 @@ declare namespace gapi.client {
|
|
|
3372
3372
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3373
3373
|
uploadType?: string;
|
|
3374
3374
|
},
|
|
3375
|
-
body: MigrationJob
|
|
3375
|
+
body: MigrationJob,
|
|
3376
3376
|
): Request<Operation>;
|
|
3377
3377
|
/** Promote a migration job, stopping replication to the destination and promoting the destination to be a standalone database. */
|
|
3378
3378
|
promote(request: {
|
|
@@ -3430,7 +3430,7 @@ declare namespace gapi.client {
|
|
|
3430
3430
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3431
3431
|
uploadType?: string;
|
|
3432
3432
|
},
|
|
3433
|
-
body: PromoteMigrationJobRequest
|
|
3433
|
+
body: PromoteMigrationJobRequest,
|
|
3434
3434
|
): Request<Operation>;
|
|
3435
3435
|
/** Restart a stopped or failed migration job, resetting the destination instance to its original state and starting the migration process from scratch. */
|
|
3436
3436
|
restart(request: {
|
|
@@ -3488,7 +3488,7 @@ declare namespace gapi.client {
|
|
|
3488
3488
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3489
3489
|
uploadType?: string;
|
|
3490
3490
|
},
|
|
3491
|
-
body: RestartMigrationJobRequest
|
|
3491
|
+
body: RestartMigrationJobRequest,
|
|
3492
3492
|
): Request<Operation>;
|
|
3493
3493
|
/** Resume a migration job that is currently stopped and is resumable (was stopped during CDC phase). */
|
|
3494
3494
|
resume(request: {
|
|
@@ -3546,7 +3546,7 @@ declare namespace gapi.client {
|
|
|
3546
3546
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3547
3547
|
uploadType?: string;
|
|
3548
3548
|
},
|
|
3549
|
-
body: ResumeMigrationJobRequest
|
|
3549
|
+
body: ResumeMigrationJobRequest,
|
|
3550
3550
|
): Request<Operation>;
|
|
3551
3551
|
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
3552
3552
|
setIamPolicy(
|
|
@@ -3576,7 +3576,7 @@ declare namespace gapi.client {
|
|
|
3576
3576
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3577
3577
|
uploadType?: string;
|
|
3578
3578
|
},
|
|
3579
|
-
body: SetIamPolicyRequest
|
|
3579
|
+
body: SetIamPolicyRequest,
|
|
3580
3580
|
): Request<Policy>;
|
|
3581
3581
|
/** Start an already created migration job. */
|
|
3582
3582
|
start(request: {
|
|
@@ -3634,7 +3634,7 @@ declare namespace gapi.client {
|
|
|
3634
3634
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3635
3635
|
uploadType?: string;
|
|
3636
3636
|
},
|
|
3637
|
-
body: StartMigrationJobRequest
|
|
3637
|
+
body: StartMigrationJobRequest,
|
|
3638
3638
|
): Request<Operation>;
|
|
3639
3639
|
/** Stops a running migration job. */
|
|
3640
3640
|
stop(request: {
|
|
@@ -3692,7 +3692,7 @@ declare namespace gapi.client {
|
|
|
3692
3692
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3693
3693
|
uploadType?: string;
|
|
3694
3694
|
},
|
|
3695
|
-
body: StopMigrationJobRequest
|
|
3695
|
+
body: StopMigrationJobRequest,
|
|
3696
3696
|
): Request<Operation>;
|
|
3697
3697
|
/** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
|
|
3698
3698
|
testIamPermissions(
|
|
@@ -3722,7 +3722,7 @@ declare namespace gapi.client {
|
|
|
3722
3722
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3723
3723
|
uploadType?: string;
|
|
3724
3724
|
},
|
|
3725
|
-
body: TestIamPermissionsRequest
|
|
3725
|
+
body: TestIamPermissionsRequest,
|
|
3726
3726
|
): Request<TestIamPermissionsResponse>;
|
|
3727
3727
|
/** Verify a migration job, making sure the destination can reach the source and that all configuration and prerequisites are met. */
|
|
3728
3728
|
verify(request: {
|
|
@@ -3780,7 +3780,7 @@ declare namespace gapi.client {
|
|
|
3780
3780
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3781
3781
|
uploadType?: string;
|
|
3782
3782
|
},
|
|
3783
|
-
body: VerifyMigrationJobRequest
|
|
3783
|
+
body: VerifyMigrationJobRequest,
|
|
3784
3784
|
): Request<Operation>;
|
|
3785
3785
|
objects: ObjectsResource;
|
|
3786
3786
|
}
|
|
@@ -3841,7 +3841,7 @@ declare namespace gapi.client {
|
|
|
3841
3841
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3842
3842
|
uploadType?: string;
|
|
3843
3843
|
},
|
|
3844
|
-
body: CancelOperationRequest
|
|
3844
|
+
body: CancelOperationRequest,
|
|
3845
3845
|
): Request<{}>;
|
|
3846
3846
|
/** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */
|
|
3847
3847
|
delete(request?: {
|
|
@@ -4000,7 +4000,7 @@ declare namespace gapi.client {
|
|
|
4000
4000
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4001
4001
|
uploadType?: string;
|
|
4002
4002
|
},
|
|
4003
|
-
body: PrivateConnection
|
|
4003
|
+
body: PrivateConnection,
|
|
4004
4004
|
): Request<Operation>;
|
|
4005
4005
|
/** Deletes a single Database Migration Service private connection. */
|
|
4006
4006
|
delete(request?: {
|
|
@@ -4150,7 +4150,7 @@ declare namespace gapi.client {
|
|
|
4150
4150
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4151
4151
|
uploadType?: string;
|
|
4152
4152
|
},
|
|
4153
|
-
body: SetIamPolicyRequest
|
|
4153
|
+
body: SetIamPolicyRequest,
|
|
4154
4154
|
): Request<Policy>;
|
|
4155
4155
|
/** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
|
|
4156
4156
|
testIamPermissions(
|
|
@@ -4180,7 +4180,7 @@ declare namespace gapi.client {
|
|
|
4180
4180
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4181
4181
|
uploadType?: string;
|
|
4182
4182
|
},
|
|
4183
|
-
body: TestIamPermissionsRequest
|
|
4183
|
+
body: TestIamPermissionsRequest,
|
|
4184
4184
|
): Request<TestIamPermissionsResponse>;
|
|
4185
4185
|
}
|
|
4186
4186
|
interface LocationsResource {
|
package/package.json
CHANGED
package/readme.md
CHANGED