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