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.OperationapplyConversionWorkspace(ApplyConversionWorkspaceRequest request)Applies draft tree onto a specific destination database.protected DataMigrationServiceGrpc.DataMigrationServiceBlockingStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)com.google.longrunning.OperationcommitConversionWorkspace(CommitConversionWorkspaceRequest request)Marks all the data in the conversion workspace as committed.com.google.longrunning.OperationconvertConversionWorkspace(ConvertConversionWorkspaceRequest request)Creates a draft tree schema for the destination database.com.google.longrunning.OperationcreateConnectionProfile(CreateConnectionProfileRequest request)Creates a new connection profile in a given project and location.com.google.longrunning.OperationcreateConversionWorkspace(CreateConversionWorkspaceRequest request)Creates a new conversion workspace in a given project and location.MappingRulecreateMappingRule(CreateMappingRuleRequest request)Creates a new mapping rule for a given conversion workspace.com.google.longrunning.OperationcreateMigrationJob(CreateMigrationJobRequest request)Creates a new migration job in a given project and location.com.google.longrunning.OperationcreatePrivateConnection(CreatePrivateConnectionRequest request)Creates a new private connection in a given project and location.com.google.longrunning.OperationdeleteConnectionProfile(DeleteConnectionProfileRequest request)Deletes a single Database Migration Service connection profile.com.google.longrunning.OperationdeleteConversionWorkspace(DeleteConversionWorkspaceRequest request)Deletes a single conversion workspace.com.google.protobuf.EmptydeleteMappingRule(DeleteMappingRuleRequest request)Deletes a single mapping rule.com.google.longrunning.OperationdeleteMigrationJob(DeleteMigrationJobRequest request)Deletes a single migration job.com.google.longrunning.OperationdeletePrivateConnection(DeletePrivateConnectionRequest request)Deletes a single Database Migration Service private connection.DescribeConversionWorkspaceRevisionsResponsedescribeConversionWorkspaceRevisions(DescribeConversionWorkspaceRevisionsRequest request)Retrieves a list of committed revisions of a specific conversion workspace.DescribeDatabaseEntitiesResponsedescribeDatabaseEntities(DescribeDatabaseEntitiesRequest request)Describes the database entities tree for a specific conversion workspace and a specific tree type.FetchStaticIpsResponsefetchStaticIps(FetchStaticIpsRequest request)Fetches a set of static IP addresses that need to be allowlisted by the customer when using the static-IP connectivity method.SshScriptgenerateSshScript(GenerateSshScriptRequest request)Generate a SSH configuration script to configure the reverse SSH connectivity.TcpProxyScriptgenerateTcpProxyScript(GenerateTcpProxyScriptRequest request)Generate a TCP Proxy configuration script to configure a cloud-hosted VM running a TCP Proxy.ConnectionProfilegetConnectionProfile(GetConnectionProfileRequest request)Gets details of a single connection profile.ConversionWorkspacegetConversionWorkspace(GetConversionWorkspaceRequest request)Gets details of a single conversion workspace.MappingRulegetMappingRule(GetMappingRuleRequest request)Gets the details of a mapping rule.MigrationJobgetMigrationJob(GetMigrationJobRequest request)Gets details of a single migration job.PrivateConnectiongetPrivateConnection(GetPrivateConnectionRequest request)Gets details of a single private connection.com.google.longrunning.OperationimportMappingRules(ImportMappingRulesRequest request)Imports the mapping rules for a given conversion workspace.ListConnectionProfilesResponselistConnectionProfiles(ListConnectionProfilesRequest request)Retrieves a list of all connection profiles in a given project and location.ListConversionWorkspacesResponselistConversionWorkspaces(ListConversionWorkspacesRequest request)Lists conversion workspaces in a given project and location.ListMappingRulesResponselistMappingRules(ListMappingRulesRequest request)Lists the mapping rules for a specific conversion workspace.ListMigrationJobsResponselistMigrationJobs(ListMigrationJobsRequest request)Lists migration jobs in a given project and location.ListPrivateConnectionsResponselistPrivateConnections(ListPrivateConnectionsRequest request)Retrieves a list of private connections in a given project and location.com.google.longrunning.OperationpromoteMigrationJob(PromoteMigrationJobRequest request)Promote a migration job, stopping replication to the destination and promoting the destination to be a standalone database.com.google.longrunning.OperationrestartMigrationJob(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.OperationresumeMigrationJob(ResumeMigrationJobRequest request)Resume a migration job that is currently stopped and is resumable (was stopped during CDC phase).com.google.longrunning.OperationrollbackConversionWorkspace(RollbackConversionWorkspaceRequest request)Rolls back a conversion workspace to the last committed snapshot.SearchBackgroundJobsResponsesearchBackgroundJobs(SearchBackgroundJobsRequest request)Searches/lists the background jobs for a specific conversion workspace.com.google.longrunning.OperationseedConversionWorkspace(SeedConversionWorkspaceRequest request)Imports a snapshot of the source database into the conversion workspace.com.google.longrunning.OperationstartMigrationJob(StartMigrationJobRequest request)Start an already created migration job.com.google.longrunning.OperationstopMigrationJob(StopMigrationJobRequest request)Stops a running migration job.com.google.longrunning.OperationupdateConnectionProfile(UpdateConnectionProfileRequest request)Update the configuration of a single connection profile.com.google.longrunning.OperationupdateConversionWorkspace(UpdateConversionWorkspaceRequest request)Updates the parameters of a single conversion workspace.com.google.longrunning.OperationupdateMigrationJob(UpdateMigrationJobRequest request)Updates the parameters of a single migration job.com.google.longrunning.OperationverifyMigrationJob(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:
buildin 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.
-
-