ProjectsLocationsMigrationJobsResource class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
create(MigrationJob request, String parent, {String? migrationJobId, String? requestId, String? $fields})
→ Future<Operation>
-
Creates a new migration job in a given project and location.
-
delete(String name, {bool? force, String? requestId, String? $fields})
→ Future<Operation>
-
Deletes a single migration job.
-
demoteDestination(DemoteDestinationRequest request, String name, {String? $fields})
→ Future<Operation>
-
Demotes the destination database to become a read replica of the source.
-
generateSshScript(GenerateSshScriptRequest request, String migrationJob, {String? $fields})
→ Future<SshScript>
-
Generate a SSH configuration script to configure the reverse SSH
connectivity.
-
generateTcpProxyScript(GenerateTcpProxyScriptRequest request, String migrationJob, {String? $fields})
→ Future<TcpProxyScript>
-
Generate a TCP Proxy configuration script to configure a cloud-hosted VM
running a TCP Proxy.
-
get(String name, {String? $fields})
→ Future<MigrationJob>
-
Gets details of a single migration job.
-
getIamPolicy(String resource, {int? options_requestedPolicyVersion, String? $fields})
→ Future<Policy>
-
Gets the access control policy for a resource.
-
list(String parent, {String? filter, String? orderBy, int? pageSize, String? pageToken, String? $fields})
→ Future<ListMigrationJobsResponse>
-
Lists migration jobs in a given project and location.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
patch(MigrationJob request, String name, {String? requestId, String? updateMask, String? $fields})
→ Future<Operation>
-
Updates the parameters of a single migration job.
-
promote(PromoteMigrationJobRequest request, String name, {String? $fields})
→ Future<Operation>
-
Promote a migration job, stopping replication to the destination and
promoting the destination to be a standalone database.
-
restart(RestartMigrationJobRequest request, String name, {String? $fields})
→ Future<Operation>
-
Restart a stopped or failed migration job, resetting the destination
instance to its original state and starting the migration process from
scratch.
-
resume(ResumeMigrationJobRequest request, String name, {String? $fields})
→ Future<Operation>
-
Resume a migration job that is currently stopped and is resumable (was
stopped during CDC phase).
-
setIamPolicy(SetIamPolicyRequest request, String resource, {String? $fields})
→ Future<Policy>
-
Sets the access control policy on the specified resource.
-
start(StartMigrationJobRequest request, String name, {String? $fields})
→ Future<Operation>
-
Start an already created migration job.
-
stop(StopMigrationJobRequest request, String name, {String? $fields})
→ Future<Operation>
-
Stops a running migration job.
-
testIamPermissions(TestIamPermissionsRequest request, String resource, {String? $fields})
→ Future<TestIamPermissionsResponse>
-
Returns permissions that a caller has on the specified resource.
-
toString()
→ String
-
A string representation of this object.
inherited
-
verify(VerifyMigrationJobRequest request, String name, {String? $fields})
→ Future<Operation>
-
Verify a migration job, making sure the destination can reach the source
and that all configuration and prerequisites are met.