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 limited 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.DataMigrationServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<DataMigrationServiceGrpc.DataMigrationServiceBlockingStub>
-
listMigrationJobs
Lists migration jobs in a given project and location.
-
getMigrationJob
Gets details of a single migration job.
-
createMigrationJob
Creates a new migration job in a given project and location.
-
updateMigrationJob
Updates the parameters of a single migration job.
-
deleteMigrationJob
Deletes a single migration job.
-
startMigrationJob
Start an already created migration job.
-
stopMigrationJob
Stops a running migration job.
-
resumeMigrationJob
Resume a migration job that is currently stopped and is resumable (was stopped during CDC phase).
-
promoteMigrationJob
Promote a migration job, stopping replication to the destination and promoting the destination to be a standalone database.
-
verifyMigrationJob
Verify a migration job, making sure the destination can reach the source and that all configuration and prerequisites are met.
-
restartMigrationJob
Restart a stopped or failed migration job, resetting the destination instance to its original state and starting the migration process from scratch.
-
generateSshScript
Generate a SSH configuration script to configure the reverse SSH connectivity.
-
generateTcpProxyScript
Generate a TCP Proxy configuration script to configure a cloud-hosted VM running a TCP Proxy.
-
listConnectionProfiles
Retrieves a list of all connection profiles in a given project and location.
-
getConnectionProfile
Gets details of a single connection profile.
-
createConnectionProfile
Creates a new connection profile in a given project and location.
-
updateConnectionProfile
Update the configuration of a single connection profile.
-
deleteConnectionProfile
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
Creates a new private connection in a given project and location.
-
getPrivateConnection
Gets details of a single private connection.
-
listPrivateConnections
Retrieves a list of private connections in a given project and location.
-
deletePrivateConnection
Deletes a single Database Migration Service private connection.
-
getConversionWorkspace
Gets details of a single conversion workspace.
-
listConversionWorkspaces
public ListConversionWorkspacesResponse listConversionWorkspaces(ListConversionWorkspacesRequest request) Lists conversion workspaces in a given project and location.
-
createConversionWorkspace
Creates a new conversion workspace in a given project and location.
-
updateConversionWorkspace
Updates the parameters of a single conversion workspace.
-
deleteConversionWorkspace
Deletes a single conversion workspace.
-
createMappingRule
Creates a new mapping rule for a given conversion workspace.
-
deleteMappingRule
Deletes a single mapping rule.
-
listMappingRules
Lists the mapping rules for a specific conversion workspace.
-
getMappingRule
Gets the details of a mapping rule.
-
seedConversionWorkspace
Imports a snapshot of the source database into the conversion workspace.
-
importMappingRules
Imports the mapping rules for a given conversion workspace. Supports various formats of external rules files.
-
convertConversionWorkspace
Creates a draft tree schema for the destination database.
-
commitConversionWorkspace
Marks all the data in the conversion workspace as committed.
-
rollbackConversionWorkspace
Rolls back a conversion workspace to the last committed snapshot.
-
applyConversionWorkspace
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
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
Fetches a set of static IP addresses that need to be allowlisted by the customer when using the static-IP connectivity method.
-