Package com.google.cloud.clouddms.v1
Class DataMigrationServiceGrpc.DataMigrationServiceBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<DataMigrationServiceGrpc.DataMigrationServiceBlockingStub>
-
- com.google.cloud.clouddms.v1.DataMigrationServiceGrpc.DataMigrationServiceBlockingStub
-
- Enclosing class:
- DataMigrationServiceGrpc
public static final class DataMigrationServiceGrpc.DataMigrationServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub<DataMigrationServiceGrpc.DataMigrationServiceBlockingStub>
A stub to allow clients to do synchronous rpc calls to service DataMigrationService.Database Migration service
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.longrunning.Operation
applyConversionWorkspace(ApplyConversionWorkspaceRequest request)
Applies draft tree onto a specific destination database.protected DataMigrationServiceGrpc.DataMigrationServiceBlockingStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
com.google.longrunning.Operation
commitConversionWorkspace(CommitConversionWorkspaceRequest request)
Marks all the data in the conversion workspace as committed.com.google.longrunning.Operation
convertConversionWorkspace(ConvertConversionWorkspaceRequest request)
Creates a draft tree schema for the destination database.com.google.longrunning.Operation
createConnectionProfile(CreateConnectionProfileRequest request)
Creates a new connection profile in a given project and location.com.google.longrunning.Operation
createConversionWorkspace(CreateConversionWorkspaceRequest request)
Creates a new conversion workspace in a given project and location.MappingRule
createMappingRule(CreateMappingRuleRequest request)
Creates a new mapping rule for a given conversion workspace.com.google.longrunning.Operation
createMigrationJob(CreateMigrationJobRequest request)
Creates a new migration job in a given project and location.com.google.longrunning.Operation
createPrivateConnection(CreatePrivateConnectionRequest request)
Creates a new private connection in a given project and location.com.google.longrunning.Operation
deleteConnectionProfile(DeleteConnectionProfileRequest request)
Deletes a single Database Migration Service connection profile.com.google.longrunning.Operation
deleteConversionWorkspace(DeleteConversionWorkspaceRequest request)
Deletes a single conversion workspace.com.google.protobuf.Empty
deleteMappingRule(DeleteMappingRuleRequest request)
Deletes a single mapping rule.com.google.longrunning.Operation
deleteMigrationJob(DeleteMigrationJobRequest request)
Deletes a single migration job.com.google.longrunning.Operation
deletePrivateConnection(DeletePrivateConnectionRequest request)
Deletes a single Database Migration Service private connection.DescribeConversionWorkspaceRevisionsResponse
describeConversionWorkspaceRevisions(DescribeConversionWorkspaceRevisionsRequest request)
Retrieves a list of committed revisions of a specific conversion workspace.DescribeDatabaseEntitiesResponse
describeDatabaseEntities(DescribeDatabaseEntitiesRequest request)
Describes the database entities tree for a specific conversion workspace and a specific tree type.FetchStaticIpsResponse
fetchStaticIps(FetchStaticIpsRequest request)
Fetches a set of static IP addresses that need to be allowlisted by the customer when using the static-IP connectivity method.SshScript
generateSshScript(GenerateSshScriptRequest request)
Generate a SSH configuration script to configure the reverse SSH connectivity.TcpProxyScript
generateTcpProxyScript(GenerateTcpProxyScriptRequest request)
Generate a TCP Proxy configuration script to configure a cloud-hosted VM running a TCP Proxy.ConnectionProfile
getConnectionProfile(GetConnectionProfileRequest request)
Gets details of a single connection profile.ConversionWorkspace
getConversionWorkspace(GetConversionWorkspaceRequest request)
Gets details of a single conversion workspace.MappingRule
getMappingRule(GetMappingRuleRequest request)
Gets the details of a mapping rule.MigrationJob
getMigrationJob(GetMigrationJobRequest request)
Gets details of a single migration job.PrivateConnection
getPrivateConnection(GetPrivateConnectionRequest request)
Gets details of a single private connection.com.google.longrunning.Operation
importMappingRules(ImportMappingRulesRequest request)
Imports the mapping rules for a given conversion workspace.ListConnectionProfilesResponse
listConnectionProfiles(ListConnectionProfilesRequest request)
Retrieves a list of all connection profiles in a given project and location.ListConversionWorkspacesResponse
listConversionWorkspaces(ListConversionWorkspacesRequest request)
Lists conversion workspaces in a given project and location.ListMappingRulesResponse
listMappingRules(ListMappingRulesRequest request)
Lists the mapping rules for a specific conversion workspace.ListMigrationJobsResponse
listMigrationJobs(ListMigrationJobsRequest request)
Lists migration jobs in a given project and location.ListPrivateConnectionsResponse
listPrivateConnections(ListPrivateConnectionsRequest request)
Retrieves a list of private connections in a given project and location.com.google.longrunning.Operation
promoteMigrationJob(PromoteMigrationJobRequest request)
Promote a migration job, stopping replication to the destination and promoting the destination to be a standalone database.com.google.longrunning.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.com.google.longrunning.Operation
resumeMigrationJob(ResumeMigrationJobRequest request)
Resume a migration job that is currently stopped and is resumable (was stopped during CDC phase).com.google.longrunning.Operation
rollbackConversionWorkspace(RollbackConversionWorkspaceRequest request)
Rolls back a conversion workspace to the last committed snapshot.SearchBackgroundJobsResponse
searchBackgroundJobs(SearchBackgroundJobsRequest request)
Searches/lists the background jobs for a specific conversion workspace.com.google.longrunning.Operation
seedConversionWorkspace(SeedConversionWorkspaceRequest request)
Imports a snapshot of the source database into the conversion workspace.com.google.longrunning.Operation
startMigrationJob(StartMigrationJobRequest request)
Start an already created migration job.com.google.longrunning.Operation
stopMigrationJob(StopMigrationJobRequest request)
Stops a running migration job.com.google.longrunning.Operation
updateConnectionProfile(UpdateConnectionProfileRequest request)
Update the configuration of a single connection profile.com.google.longrunning.Operation
updateConversionWorkspace(UpdateConversionWorkspaceRequest request)
Updates the parameters of a single conversion workspace.com.google.longrunning.Operation
updateMigrationJob(UpdateMigrationJobRequest request)
Updates the parameters of a single migration job.com.google.longrunning.Operation
verifyMigrationJob(VerifyMigrationJobRequest request)
Verify a migration job, making sure the destination can reach the source and that all configuration and prerequisites are met.
-
-
-
Method Detail
-
build
protected DataMigrationServiceGrpc.DataMigrationServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<DataMigrationServiceGrpc.DataMigrationServiceBlockingStub>
-
listMigrationJobs
public ListMigrationJobsResponse listMigrationJobs(ListMigrationJobsRequest request)
Lists migration jobs in a given project and location.
-
getMigrationJob
public MigrationJob getMigrationJob(GetMigrationJobRequest request)
Gets details of a single migration job.
-
createMigrationJob
public com.google.longrunning.Operation createMigrationJob(CreateMigrationJobRequest request)
Creates a new migration job in a given project and location.
-
updateMigrationJob
public com.google.longrunning.Operation updateMigrationJob(UpdateMigrationJobRequest request)
Updates the parameters of a single migration job.
-
deleteMigrationJob
public com.google.longrunning.Operation deleteMigrationJob(DeleteMigrationJobRequest request)
Deletes a single migration job.
-
startMigrationJob
public com.google.longrunning.Operation startMigrationJob(StartMigrationJobRequest request)
Start an already created migration job.
-
stopMigrationJob
public com.google.longrunning.Operation stopMigrationJob(StopMigrationJobRequest request)
Stops a running migration job.
-
resumeMigrationJob
public com.google.longrunning.Operation resumeMigrationJob(ResumeMigrationJobRequest request)
Resume a migration job that is currently stopped and is resumable (was stopped during CDC phase).
-
promoteMigrationJob
public com.google.longrunning.Operation promoteMigrationJob(PromoteMigrationJobRequest request)
Promote a migration job, stopping replication to the destination and promoting the destination to be a standalone database.
-
verifyMigrationJob
public com.google.longrunning.Operation verifyMigrationJob(VerifyMigrationJobRequest request)
Verify a migration job, making sure the destination can reach the source and that all configuration and prerequisites are met.
-
restartMigrationJob
public com.google.longrunning.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.
-
generateSshScript
public SshScript generateSshScript(GenerateSshScriptRequest request)
Generate a SSH configuration script to configure the reverse SSH connectivity.
-
generateTcpProxyScript
public TcpProxyScript generateTcpProxyScript(GenerateTcpProxyScriptRequest request)
Generate a TCP Proxy configuration script to configure a cloud-hosted VM running a TCP Proxy.
-
listConnectionProfiles
public ListConnectionProfilesResponse listConnectionProfiles(ListConnectionProfilesRequest request)
Retrieves a list of all connection profiles in a given project and location.
-
getConnectionProfile
public ConnectionProfile getConnectionProfile(GetConnectionProfileRequest request)
Gets details of a single connection profile.
-
createConnectionProfile
public com.google.longrunning.Operation createConnectionProfile(CreateConnectionProfileRequest request)
Creates a new connection profile in a given project and location.
-
updateConnectionProfile
public com.google.longrunning.Operation updateConnectionProfile(UpdateConnectionProfileRequest request)
Update the configuration of a single connection profile.
-
deleteConnectionProfile
public com.google.longrunning.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.
-
createPrivateConnection
public com.google.longrunning.Operation createPrivateConnection(CreatePrivateConnectionRequest request)
Creates a new private connection in a given project and location.
-
getPrivateConnection
public PrivateConnection getPrivateConnection(GetPrivateConnectionRequest request)
Gets details of a single private connection.
-
listPrivateConnections
public ListPrivateConnectionsResponse listPrivateConnections(ListPrivateConnectionsRequest request)
Retrieves a list of private connections in a given project and location.
-
deletePrivateConnection
public com.google.longrunning.Operation deletePrivateConnection(DeletePrivateConnectionRequest request)
Deletes a single Database Migration Service private connection.
-
getConversionWorkspace
public ConversionWorkspace getConversionWorkspace(GetConversionWorkspaceRequest request)
Gets details of a single conversion workspace.
-
listConversionWorkspaces
public ListConversionWorkspacesResponse listConversionWorkspaces(ListConversionWorkspacesRequest request)
Lists conversion workspaces in a given project and location.
-
createConversionWorkspace
public com.google.longrunning.Operation createConversionWorkspace(CreateConversionWorkspaceRequest request)
Creates a new conversion workspace in a given project and location.
-
updateConversionWorkspace
public com.google.longrunning.Operation updateConversionWorkspace(UpdateConversionWorkspaceRequest request)
Updates the parameters of a single conversion workspace.
-
deleteConversionWorkspace
public com.google.longrunning.Operation deleteConversionWorkspace(DeleteConversionWorkspaceRequest request)
Deletes a single conversion workspace.
-
createMappingRule
public MappingRule createMappingRule(CreateMappingRuleRequest request)
Creates a new mapping rule for a given conversion workspace.
-
deleteMappingRule
public com.google.protobuf.Empty deleteMappingRule(DeleteMappingRuleRequest request)
Deletes a single mapping rule.
-
listMappingRules
public ListMappingRulesResponse listMappingRules(ListMappingRulesRequest request)
Lists the mapping rules for a specific conversion workspace.
-
getMappingRule
public MappingRule getMappingRule(GetMappingRuleRequest request)
Gets the details of a mapping rule.
-
seedConversionWorkspace
public com.google.longrunning.Operation seedConversionWorkspace(SeedConversionWorkspaceRequest request)
Imports a snapshot of the source database into the conversion workspace.
-
importMappingRules
public com.google.longrunning.Operation importMappingRules(ImportMappingRulesRequest request)
Imports the mapping rules for a given conversion workspace. Supports various formats of external rules files.
-
convertConversionWorkspace
public com.google.longrunning.Operation convertConversionWorkspace(ConvertConversionWorkspaceRequest request)
Creates a draft tree schema for the destination database.
-
commitConversionWorkspace
public com.google.longrunning.Operation commitConversionWorkspace(CommitConversionWorkspaceRequest request)
Marks all the data in the conversion workspace as committed.
-
rollbackConversionWorkspace
public com.google.longrunning.Operation rollbackConversionWorkspace(RollbackConversionWorkspaceRequest request)
Rolls back a conversion workspace to the last committed snapshot.
-
applyConversionWorkspace
public com.google.longrunning.Operation applyConversionWorkspace(ApplyConversionWorkspaceRequest request)
Applies draft tree onto a specific destination database.
-
describeDatabaseEntities
public DescribeDatabaseEntitiesResponse describeDatabaseEntities(DescribeDatabaseEntitiesRequest request)
Describes the database entities tree for a specific conversion workspace and a specific tree type. Database entities are not resources like conversion workspaces or mapping rules, and they can't be created, updated or deleted. Instead, they are simple data objects describing the structure of the client database.
-
searchBackgroundJobs
public SearchBackgroundJobsResponse searchBackgroundJobs(SearchBackgroundJobsRequest request)
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.
-
describeConversionWorkspaceRevisions
public DescribeConversionWorkspaceRevisionsResponse describeConversionWorkspaceRevisions(DescribeConversionWorkspaceRevisionsRequest request)
Retrieves a list of committed revisions of a specific conversion workspace.
-
fetchStaticIps
public FetchStaticIpsResponse fetchStaticIps(FetchStaticIpsRequest request)
Fetches a set of static IP addresses that need to be allowlisted by the customer when using the static-IP connectivity method.
-
-