Class DataMigrationServiceGrpc.DataMigrationServiceBlockingStub (2.3.0)

public static final class DataMigrationServiceGrpc.DataMigrationServiceBlockingStub extends AbstractBlockingStub<DataMigrationServiceGrpc.DataMigrationServiceBlockingStub>

Database Migration service

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > DataMigrationServiceGrpc.DataMigrationServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

protected DataMigrationServiceGrpc.DataMigrationServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
DataMigrationServiceGrpc.DataMigrationServiceBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createConnectionProfile(CreateConnectionProfileRequest request)

public Operation createConnectionProfile(CreateConnectionProfileRequest request)

Creates a new connection profile in a given project and location.

Parameter
NameDescription
requestCreateConnectionProfileRequest
Returns
TypeDescription
Operation

createMigrationJob(CreateMigrationJobRequest request)

public Operation createMigrationJob(CreateMigrationJobRequest request)

Creates a new migration job in a given project and location.

Parameter
NameDescription
requestCreateMigrationJobRequest
Returns
TypeDescription
Operation

deleteConnectionProfile(DeleteConnectionProfileRequest request)

public Operation deleteConnectionProfile(DeleteConnectionProfileRequest request)

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.

Parameter
NameDescription
requestDeleteConnectionProfileRequest
Returns
TypeDescription
Operation

deleteMigrationJob(DeleteMigrationJobRequest request)

public Operation deleteMigrationJob(DeleteMigrationJobRequest request)

Deletes a single migration job.

Parameter
NameDescription
requestDeleteMigrationJobRequest
Returns
TypeDescription
Operation

generateSshScript(GenerateSshScriptRequest request)

public SshScript generateSshScript(GenerateSshScriptRequest request)

Generate a SSH configuration script to configure the reverse SSH connectivity.

Parameter
NameDescription
requestGenerateSshScriptRequest
Returns
TypeDescription
SshScript

getConnectionProfile(GetConnectionProfileRequest request)

public ConnectionProfile getConnectionProfile(GetConnectionProfileRequest request)

Gets details of a single connection profile.

Parameter
NameDescription
requestGetConnectionProfileRequest
Returns
TypeDescription
ConnectionProfile

getMigrationJob(GetMigrationJobRequest request)

public MigrationJob getMigrationJob(GetMigrationJobRequest request)

Gets details of a single migration job.

Parameter
NameDescription
requestGetMigrationJobRequest
Returns
TypeDescription
MigrationJob

listConnectionProfiles(ListConnectionProfilesRequest request)

public ListConnectionProfilesResponse listConnectionProfiles(ListConnectionProfilesRequest request)

Retrieve a list of all connection profiles in a given project and location.

Parameter
NameDescription
requestListConnectionProfilesRequest
Returns
TypeDescription
ListConnectionProfilesResponse

listMigrationJobs(ListMigrationJobsRequest request)

public ListMigrationJobsResponse listMigrationJobs(ListMigrationJobsRequest request)

Lists migration jobs in a given project and location.

Parameter
NameDescription
requestListMigrationJobsRequest
Returns
TypeDescription
ListMigrationJobsResponse

promoteMigrationJob(PromoteMigrationJobRequest request)

public Operation promoteMigrationJob(PromoteMigrationJobRequest request)

Promote a migration job, stopping replication to the destination and promoting the destination to be a standalone database.

Parameter
NameDescription
requestPromoteMigrationJobRequest
Returns
TypeDescription
Operation

restartMigrationJob(RestartMigrationJobRequest request)

public Operation restartMigrationJob(RestartMigrationJobRequest request)

Restart a stopped or failed migration job, resetting the destination instance to its original state and starting the migration process from scratch.

Parameter
NameDescription
requestRestartMigrationJobRequest
Returns
TypeDescription
Operation

resumeMigrationJob(ResumeMigrationJobRequest request)

public Operation resumeMigrationJob(ResumeMigrationJobRequest request)

Resume a migration job that is currently stopped and is resumable (was stopped during CDC phase).

Parameter
NameDescription
requestResumeMigrationJobRequest
Returns
TypeDescription
Operation

startMigrationJob(StartMigrationJobRequest request)

public Operation startMigrationJob(StartMigrationJobRequest request)

Start an already created migration job.

Parameter
NameDescription
requestStartMigrationJobRequest
Returns
TypeDescription
Operation

stopMigrationJob(StopMigrationJobRequest request)

public Operation stopMigrationJob(StopMigrationJobRequest request)

Stops a running migration job.

Parameter
NameDescription
requestStopMigrationJobRequest
Returns
TypeDescription
Operation

updateConnectionProfile(UpdateConnectionProfileRequest request)

public Operation updateConnectionProfile(UpdateConnectionProfileRequest request)

Update the configuration of a single connection profile.

Parameter
NameDescription
requestUpdateConnectionProfileRequest
Returns
TypeDescription
Operation

updateMigrationJob(UpdateMigrationJobRequest request)

public Operation updateMigrationJob(UpdateMigrationJobRequest request)

Updates the parameters of a single migration job.

Parameter
NameDescription
requestUpdateMigrationJobRequest
Returns
TypeDescription
Operation

verifyMigrationJob(VerifyMigrationJobRequest request)

public Operation verifyMigrationJob(VerifyMigrationJobRequest request)

Verify a migration job, making sure the destination can reach the source and that all configuration and prerequisites are met.

Parameter
NameDescription
requestVerifyMigrationJobRequest
Returns
TypeDescription
Operation