- 2.54.0 (latest)
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.0
- 2.2.8
- 2.1.9
public abstract static class DataMigrationServiceGrpc.DataMigrationServiceImplBase implements BindableService
Database Migration service
Implements
io.grpc.BindableServiceConstructors
DataMigrationServiceImplBase()
public DataMigrationServiceImplBase()
Methods
bindService()
public final ServerServiceDefinition bindService()
Returns | |
---|---|
Type | Description |
io.grpc.ServerServiceDefinition |
createConnectionProfile(CreateConnectionProfileRequest request, StreamObserver<Operation> responseObserver)
public void createConnectionProfile(CreateConnectionProfileRequest request, StreamObserver<Operation> responseObserver)
Creates a new connection profile in a given project and location.
Parameters | |
---|---|
Name | Description |
request | CreateConnectionProfileRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
createMigrationJob(CreateMigrationJobRequest request, StreamObserver<Operation> responseObserver)
public void createMigrationJob(CreateMigrationJobRequest request, StreamObserver<Operation> responseObserver)
Creates a new migration job in a given project and location.
Parameters | |
---|---|
Name | Description |
request | CreateMigrationJobRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
deleteConnectionProfile(DeleteConnectionProfileRequest request, StreamObserver<Operation> responseObserver)
public void deleteConnectionProfile(DeleteConnectionProfileRequest request, StreamObserver<Operation> responseObserver)
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.
Parameters | |
---|---|
Name | Description |
request | DeleteConnectionProfileRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
deleteMigrationJob(DeleteMigrationJobRequest request, StreamObserver<Operation> responseObserver)
public void deleteMigrationJob(DeleteMigrationJobRequest request, StreamObserver<Operation> responseObserver)
Deletes a single migration job.
Parameters | |
---|---|
Name | Description |
request | DeleteMigrationJobRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
generateSshScript(GenerateSshScriptRequest request, StreamObserver<SshScript> responseObserver)
public void generateSshScript(GenerateSshScriptRequest request, StreamObserver<SshScript> responseObserver)
Generate a SSH configuration script to configure the reverse SSH connectivity.
Parameters | |
---|---|
Name | Description |
request | GenerateSshScriptRequest |
responseObserver | io.grpc.stub.StreamObserver<SshScript> |
getConnectionProfile(GetConnectionProfileRequest request, StreamObserver<ConnectionProfile> responseObserver)
public void getConnectionProfile(GetConnectionProfileRequest request, StreamObserver<ConnectionProfile> responseObserver)
Gets details of a single connection profile.
Parameters | |
---|---|
Name | Description |
request | GetConnectionProfileRequest |
responseObserver | io.grpc.stub.StreamObserver<ConnectionProfile> |
getMigrationJob(GetMigrationJobRequest request, StreamObserver<MigrationJob> responseObserver)
public void getMigrationJob(GetMigrationJobRequest request, StreamObserver<MigrationJob> responseObserver)
Gets details of a single migration job.
Parameters | |
---|---|
Name | Description |
request | GetMigrationJobRequest |
responseObserver | io.grpc.stub.StreamObserver<MigrationJob> |
listConnectionProfiles(ListConnectionProfilesRequest request, StreamObserver<ListConnectionProfilesResponse> responseObserver)
public void listConnectionProfiles(ListConnectionProfilesRequest request, StreamObserver<ListConnectionProfilesResponse> responseObserver)
Retrieve a list of all connection profiles in a given project and location.
Parameters | |
---|---|
Name | Description |
request | ListConnectionProfilesRequest |
responseObserver | io.grpc.stub.StreamObserver<ListConnectionProfilesResponse> |
listMigrationJobs(ListMigrationJobsRequest request, StreamObserver<ListMigrationJobsResponse> responseObserver)
public void listMigrationJobs(ListMigrationJobsRequest request, StreamObserver<ListMigrationJobsResponse> responseObserver)
Lists migration jobs in a given project and location.
Parameters | |
---|---|
Name | Description |
request | ListMigrationJobsRequest |
responseObserver | io.grpc.stub.StreamObserver<ListMigrationJobsResponse> |
promoteMigrationJob(PromoteMigrationJobRequest request, StreamObserver<Operation> responseObserver)
public void promoteMigrationJob(PromoteMigrationJobRequest request, StreamObserver<Operation> responseObserver)
Promote a migration job, stopping replication to the destination and promoting the destination to be a standalone database.
Parameters | |
---|---|
Name | Description |
request | PromoteMigrationJobRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
restartMigrationJob(RestartMigrationJobRequest request, StreamObserver<Operation> responseObserver)
public void restartMigrationJob(RestartMigrationJobRequest request, StreamObserver<Operation> responseObserver)
Restart a stopped or failed migration job, resetting the destination instance to its original state and starting the migration process from scratch.
Parameters | |
---|---|
Name | Description |
request | RestartMigrationJobRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
resumeMigrationJob(ResumeMigrationJobRequest request, StreamObserver<Operation> responseObserver)
public void resumeMigrationJob(ResumeMigrationJobRequest request, StreamObserver<Operation> responseObserver)
Resume a migration job that is currently stopped and is resumable (was stopped during CDC phase).
Parameters | |
---|---|
Name | Description |
request | ResumeMigrationJobRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
startMigrationJob(StartMigrationJobRequest request, StreamObserver<Operation> responseObserver)
public void startMigrationJob(StartMigrationJobRequest request, StreamObserver<Operation> responseObserver)
Start an already created migration job.
Parameters | |
---|---|
Name | Description |
request | StartMigrationJobRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
stopMigrationJob(StopMigrationJobRequest request, StreamObserver<Operation> responseObserver)
public void stopMigrationJob(StopMigrationJobRequest request, StreamObserver<Operation> responseObserver)
Stops a running migration job.
Parameters | |
---|---|
Name | Description |
request | StopMigrationJobRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
updateConnectionProfile(UpdateConnectionProfileRequest request, StreamObserver<Operation> responseObserver)
public void updateConnectionProfile(UpdateConnectionProfileRequest request, StreamObserver<Operation> responseObserver)
Update the configuration of a single connection profile.
Parameters | |
---|---|
Name | Description |
request | UpdateConnectionProfileRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
updateMigrationJob(UpdateMigrationJobRequest request, StreamObserver<Operation> responseObserver)
public void updateMigrationJob(UpdateMigrationJobRequest request, StreamObserver<Operation> responseObserver)
Updates the parameters of a single migration job.
Parameters | |
---|---|
Name | Description |
request | UpdateMigrationJobRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
verifyMigrationJob(VerifyMigrationJobRequest request, StreamObserver<Operation> responseObserver)
public void verifyMigrationJob(VerifyMigrationJobRequest request, StreamObserver<Operation> responseObserver)
Verify a migration job, making sure the destination can reach the source and that all configuration and prerequisites are met.
Parameters | |
---|---|
Name | Description |
request | VerifyMigrationJobRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |