Google Cloud Dms V1 Client - Class DataMigrationServiceClient (1.3.0)

Reference documentation and code samples for the Google Cloud Dms V1 Client class DataMigrationServiceClient.

Service Description: Database Migration service

This class is currently experimental and may be subject to changes.

Namespace

Google \ Cloud \ CloudDms \ V1 \ Client

Methods

__construct

Constructor.

Parameters
NameDescription
options array

Optional. Options for configuring the service API wrapper.

↳ apiEndpoint string

The address of the API remote host. May optionally include the port, formatted as "

↳ credentials string|array|FetchAuthTokenInterface|CredentialsWrapper

The credentials to be used by the client to authorize API calls. This option accepts either a path to a credentials file, or a decoded credentials file as a PHP array. Advanced usage: In addition, this option can also accept a pre-constructed Google\Auth\FetchAuthTokenInterface object or Google\ApiCore\CredentialsWrapper object. Note that when one of these objects are provided, any settings in $credentialsConfig will be ignored.

↳ credentialsConfig array

Options used to configure credentials, including auth token caching, for the client. For a full list of supporting configuration options, see Google\ApiCore\CredentialsWrapper::build() .

↳ disableRetries bool

Determines whether or not retries defined by the client configuration should be disabled. Defaults to false.

↳ clientConfig string|array

Client method configuration, including retry settings. This option can be either a path to a JSON file, or a PHP array containing the decoded JSON data. By default this settings points to the default client config file, which is provided in the resources folder.

↳ transport string|TransportInterface

The transport used for executing network requests. May be either the string rest or grpc. Defaults to grpc if gRPC support is detected on the system. Advanced usage: Additionally, it is possible to pass in an already instantiated Google\ApiCore\Transport\TransportInterface object. Note that when this object is provided, any settings in $transportConfig, and any $apiEndpoint setting, will be ignored.

↳ transportConfig array

Configuration options that will be used to construct the transport. Options for each supported transport type should be passed in a key for that transport. For example: $transportConfig = [ 'grpc' => [...], 'rest' => [...], ]; See the Google\ApiCore\Transport\GrpcTransport::build() and Google\ApiCore\Transport\RestTransport::build() methods for the supported options.

↳ clientCertSource callable

A callable which returns the client cert as a string. This can be used to provide a certificate and private key to the transport layer for mTLS.

applyConversionWorkspace

Applies draft tree onto a specific destination database.

The async variant is Google\Cloud\CloudDms\V1\Client\BaseClient\self::applyConversionWorkspaceAsync() .

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\ApplyConversionWorkspaceRequest

A request to house fields associated with the call.

callOptions array

Optional.

↳ retrySettings RetrySettings|array

Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.

Returns
TypeDescription
Google\ApiCore\OperationResponse

commitConversionWorkspace

Marks all the data in the conversion workspace as committed.

The async variant is Google\Cloud\CloudDms\V1\Client\BaseClient\self::commitConversionWorkspaceAsync() .

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\CommitConversionWorkspaceRequest

A request to house fields associated with the call.

callOptions array

Optional.

↳ retrySettings RetrySettings|array

Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.

Returns
TypeDescription
Google\ApiCore\OperationResponse

convertConversionWorkspace

Creates a draft tree schema for the destination database.

The async variant is Google\Cloud\CloudDms\V1\Client\BaseClient\self::convertConversionWorkspaceAsync() .

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\ConvertConversionWorkspaceRequest

A request to house fields associated with the call.

callOptions array

Optional.

↳ retrySettings RetrySettings|array

Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.

Returns
TypeDescription
Google\ApiCore\OperationResponse

createConnectionProfile

Creates a new connection profile in a given project and location.

The async variant is Google\Cloud\CloudDms\V1\Client\BaseClient\self::createConnectionProfileAsync() .

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\CreateConnectionProfileRequest

A request to house fields associated with the call.

callOptions array

Optional.

↳ retrySettings RetrySettings|array

Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.

Returns
TypeDescription
Google\ApiCore\OperationResponse

createConversionWorkspace

Creates a new conversion workspace in a given project and location.

The async variant is Google\Cloud\CloudDms\V1\Client\BaseClient\self::createConversionWorkspaceAsync() .

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\CreateConversionWorkspaceRequest

A request to house fields associated with the call.

callOptions array

Optional.

↳ retrySettings RetrySettings|array

Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.

Returns
TypeDescription
Google\ApiCore\OperationResponse

createMigrationJob

Creates a new migration job in a given project and location.

The async variant is Google\Cloud\CloudDms\V1\Client\BaseClient\self::createMigrationJobAsync() .

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\CreateMigrationJobRequest

A request to house fields associated with the call.

callOptions array

Optional.

↳ retrySettings RetrySettings|array

Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.

Returns
TypeDescription
Google\ApiCore\OperationResponse

createPrivateConnection

Creates a new private connection in a given project and location.

The async variant is Google\Cloud\CloudDms\V1\Client\BaseClient\self::createPrivateConnectionAsync() .

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\CreatePrivateConnectionRequest

A request to house fields associated with the call.

callOptions array

Optional.

↳ retrySettings RetrySettings|array

Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.

Returns
TypeDescription
Google\ApiCore\OperationResponse

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.

The async variant is Google\Cloud\CloudDms\V1\Client\BaseClient\self::deleteConnectionProfileAsync() .

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\DeleteConnectionProfileRequest

A request to house fields associated with the call.

callOptions array

Optional.

↳ retrySettings RetrySettings|array

Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.

Returns
TypeDescription
Google\ApiCore\OperationResponse

deleteConversionWorkspace

Deletes a single conversion workspace.

The async variant is Google\Cloud\CloudDms\V1\Client\BaseClient\self::deleteConversionWorkspaceAsync() .

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\DeleteConversionWorkspaceRequest

A request to house fields associated with the call.

callOptions array

Optional.

↳ retrySettings RetrySettings|array

Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.

Returns
TypeDescription
Google\ApiCore\OperationResponse

deleteMigrationJob

Deletes a single migration job.

The async variant is Google\Cloud\CloudDms\V1\Client\BaseClient\self::deleteMigrationJobAsync() .

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\DeleteMigrationJobRequest

A request to house fields associated with the call.

callOptions array

Optional.

↳ retrySettings RetrySettings|array

Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.

Returns
TypeDescription
Google\ApiCore\OperationResponse

deletePrivateConnection

Deletes a single Database Migration Service private connection.

The async variant is Google\Cloud\CloudDms\V1\Client\BaseClient\self::deletePrivateConnectionAsync() .

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\DeletePrivateConnectionRequest

A request to house fields associated with the call.

callOptions array

Optional.

↳ retrySettings RetrySettings|array

Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.

Returns
TypeDescription
Google\ApiCore\OperationResponse

describeConversionWorkspaceRevisions

Retrieves a list of committed revisions of a specific conversion workspace.

The async variant is Google\Cloud\CloudDms\V1\Client\BaseClient\self::describeConversionWorkspaceRevisionsAsync() .

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\DescribeConversionWorkspaceRevisionsRequest

A request to house fields associated with the call.

callOptions array

Optional.

↳ retrySettings RetrySettings|array

Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.

Returns
TypeDescription
Google\Cloud\CloudDms\V1\DescribeConversionWorkspaceRevisionsResponse

describeDatabaseEntities

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.

The async variant is Google\Cloud\CloudDms\V1\Client\BaseClient\self::describeDatabaseEntitiesAsync() .

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\DescribeDatabaseEntitiesRequest

A request to house fields associated with the call.

callOptions array

Optional.

↳ retrySettings RetrySettings|array

Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.

Returns
TypeDescription
Google\ApiCore\PagedListResponse

fetchStaticIps

Fetches a set of static IP addresses that need to be allowlisted by the customer when using the static-IP connectivity method.

The async variant is Google\Cloud\CloudDms\V1\Client\BaseClient\self::fetchStaticIpsAsync() .

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\FetchStaticIpsRequest

A request to house fields associated with the call.

callOptions array

Optional.

↳ retrySettings RetrySettings|array

Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.

Returns
TypeDescription
Google\ApiCore\PagedListResponse

generateSshScript

Generate a SSH configuration script to configure the reverse SSH connectivity.

The async variant is Google\Cloud\CloudDms\V1\Client\BaseClient\self::generateSshScriptAsync() .

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\GenerateSshScriptRequest

A request to house fields associated with the call.

callOptions array

Optional.

↳ retrySettings RetrySettings|array

Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.

Returns
TypeDescription
Google\Cloud\CloudDms\V1\SshScript

getConnectionProfile

Gets details of a single connection profile.

The async variant is Google\Cloud\CloudDms\V1\Client\BaseClient\self::getConnectionProfileAsync() .

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\GetConnectionProfileRequest

A request to house fields associated with the call.

callOptions array

Optional.

↳ retrySettings RetrySettings|array

Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.

Returns
TypeDescription
Google\Cloud\CloudDms\V1\ConnectionProfile

getConversionWorkspace

Gets details of a single conversion workspace.

The async variant is Google\Cloud\CloudDms\V1\Client\BaseClient\self::getConversionWorkspaceAsync() .

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\GetConversionWorkspaceRequest

A request to house fields associated with the call.

callOptions array

Optional.

↳ retrySettings RetrySettings|array

Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.

Returns
TypeDescription
Google\Cloud\CloudDms\V1\ConversionWorkspace

getMigrationJob

Gets details of a single migration job.

The async variant is Google\Cloud\CloudDms\V1\Client\BaseClient\self::getMigrationJobAsync() .

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\GetMigrationJobRequest

A request to house fields associated with the call.

callOptions array

Optional.

↳ retrySettings RetrySettings|array

Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.

Returns
TypeDescription
Google\Cloud\CloudDms\V1\MigrationJob

getPrivateConnection

Gets details of a single private connection.

The async variant is Google\Cloud\CloudDms\V1\Client\BaseClient\self::getPrivateConnectionAsync() .

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\GetPrivateConnectionRequest

A request to house fields associated with the call.

callOptions array

Optional.

↳ retrySettings RetrySettings|array

Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.

Returns
TypeDescription
Google\Cloud\CloudDms\V1\PrivateConnection

importMappingRules

Imports the mapping rules for a given conversion workspace.

Supports various formats of external rules files.

The async variant is Google\Cloud\CloudDms\V1\Client\BaseClient\self::importMappingRulesAsync() .

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\ImportMappingRulesRequest

A request to house fields associated with the call.

callOptions array

Optional.

↳ retrySettings RetrySettings|array

Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.

Returns
TypeDescription
Google\ApiCore\OperationResponse

listConnectionProfiles

Retrieves a list of all connection profiles in a given project and location.

The async variant is Google\Cloud\CloudDms\V1\Client\BaseClient\self::listConnectionProfilesAsync() .

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\ListConnectionProfilesRequest

A request to house fields associated with the call.

callOptions array

Optional.

↳ retrySettings RetrySettings|array

Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.

Returns
TypeDescription
Google\ApiCore\PagedListResponse

listConversionWorkspaces

Lists conversion workspaces in a given project and location.

The async variant is Google\Cloud\CloudDms\V1\Client\BaseClient\self::listConversionWorkspacesAsync() .

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\ListConversionWorkspacesRequest

A request to house fields associated with the call.

callOptions array

Optional.

↳ retrySettings RetrySettings|array

Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.

Returns
TypeDescription
Google\ApiCore\PagedListResponse

listMigrationJobs

Lists migration jobs in a given project and location.

The async variant is Google\Cloud\CloudDms\V1\Client\BaseClient\self::listMigrationJobsAsync() .

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\ListMigrationJobsRequest

A request to house fields associated with the call.

callOptions array

Optional.

↳ retrySettings RetrySettings|array

Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.

Returns
TypeDescription
Google\ApiCore\PagedListResponse

listPrivateConnections

Retrieves a list of private connections in a given project and location.

The async variant is Google\Cloud\CloudDms\V1\Client\BaseClient\self::listPrivateConnectionsAsync() .

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\ListPrivateConnectionsRequest

A request to house fields associated with the call.

callOptions array

Optional.

↳ retrySettings RetrySettings|array

Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.

Returns
TypeDescription
Google\ApiCore\PagedListResponse

promoteMigrationJob

Promote a migration job, stopping replication to the destination and promoting the destination to be a standalone database.

The async variant is Google\Cloud\CloudDms\V1\Client\BaseClient\self::promoteMigrationJobAsync() .

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\PromoteMigrationJobRequest

A request to house fields associated with the call.

callOptions array

Optional.

↳ retrySettings RetrySettings|array

Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.

Returns
TypeDescription
Google\ApiCore\OperationResponse

restartMigrationJob

Restart a stopped or failed migration job, resetting the destination instance to its original state and starting the migration process from scratch.

The async variant is Google\Cloud\CloudDms\V1\Client\BaseClient\self::restartMigrationJobAsync() .

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\RestartMigrationJobRequest

A request to house fields associated with the call.

callOptions array

Optional.

↳ retrySettings RetrySettings|array

Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.

Returns
TypeDescription
Google\ApiCore\OperationResponse

resumeMigrationJob

Resume a migration job that is currently stopped and is resumable (was stopped during CDC phase).

The async variant is Google\Cloud\CloudDms\V1\Client\BaseClient\self::resumeMigrationJobAsync() .

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\ResumeMigrationJobRequest

A request to house fields associated with the call.

callOptions array

Optional.

↳ retrySettings RetrySettings|array

Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.

Returns
TypeDescription
Google\ApiCore\OperationResponse

rollbackConversionWorkspace

Rolls back a conversion workspace to the last committed snapshot.

The async variant is Google\Cloud\CloudDms\V1\Client\BaseClient\self::rollbackConversionWorkspaceAsync() .

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\RollbackConversionWorkspaceRequest

A request to house fields associated with the call.

callOptions array

Optional.

↳ retrySettings RetrySettings|array

Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.

Returns
TypeDescription
Google\ApiCore\OperationResponse

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.

The async variant is Google\Cloud\CloudDms\V1\Client\BaseClient\self::searchBackgroundJobsAsync() .

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\SearchBackgroundJobsRequest

A request to house fields associated with the call.

callOptions array

Optional.

↳ retrySettings RetrySettings|array

Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.

Returns
TypeDescription
Google\Cloud\CloudDms\V1\SearchBackgroundJobsResponse

seedConversionWorkspace

Imports a snapshot of the source database into the conversion workspace.

The async variant is Google\Cloud\CloudDms\V1\Client\BaseClient\self::seedConversionWorkspaceAsync() .

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\SeedConversionWorkspaceRequest

A request to house fields associated with the call.

callOptions array

Optional.

↳ retrySettings RetrySettings|array

Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.

Returns
TypeDescription
Google\ApiCore\OperationResponse

startMigrationJob

Start an already created migration job.

The async variant is Google\Cloud\CloudDms\V1\Client\BaseClient\self::startMigrationJobAsync() .

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\StartMigrationJobRequest

A request to house fields associated with the call.

callOptions array

Optional.

↳ retrySettings RetrySettings|array

Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.

Returns
TypeDescription
Google\ApiCore\OperationResponse

stopMigrationJob

Stops a running migration job.

The async variant is Google\Cloud\CloudDms\V1\Client\BaseClient\self::stopMigrationJobAsync() .

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\StopMigrationJobRequest

A request to house fields associated with the call.

callOptions array

Optional.

↳ retrySettings RetrySettings|array

Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.

Returns
TypeDescription
Google\ApiCore\OperationResponse

updateConnectionProfile

Update the configuration of a single connection profile.

The async variant is Google\Cloud\CloudDms\V1\Client\BaseClient\self::updateConnectionProfileAsync() .

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\UpdateConnectionProfileRequest

A request to house fields associated with the call.

callOptions array

Optional.

↳ retrySettings RetrySettings|array

Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.

Returns
TypeDescription
Google\ApiCore\OperationResponse

updateConversionWorkspace

Updates the parameters of a single conversion workspace.

The async variant is Google\Cloud\CloudDms\V1\Client\BaseClient\self::updateConversionWorkspaceAsync() .

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\UpdateConversionWorkspaceRequest

A request to house fields associated with the call.

callOptions array

Optional.

↳ retrySettings RetrySettings|array

Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.

Returns
TypeDescription
Google\ApiCore\OperationResponse

updateMigrationJob

Updates the parameters of a single migration job.

The async variant is Google\Cloud\CloudDms\V1\Client\BaseClient\self::updateMigrationJobAsync() .

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\UpdateMigrationJobRequest

A request to house fields associated with the call.

callOptions array

Optional.

↳ retrySettings RetrySettings|array

Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.

Returns
TypeDescription
Google\ApiCore\OperationResponse

verifyMigrationJob

Verify a migration job, making sure the destination can reach the source and that all configuration and prerequisites are met.

The async variant is Google\Cloud\CloudDms\V1\Client\BaseClient\self::verifyMigrationJobAsync() .

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\VerifyMigrationJobRequest

A request to house fields associated with the call.

callOptions array

Optional.

↳ retrySettings RetrySettings|array

Retry settings to use for this call. Can be a Google\ApiCore\RetrySettings object, or an associative array of retry settings parameters. See the documentation on Google\ApiCore\RetrySettings for example usage.

Returns
TypeDescription
Google\ApiCore\OperationResponse

applyConversionWorkspaceAsync

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\ApplyConversionWorkspaceRequest
optionalArgs = [] array
Returns
TypeDescription
GuzzleHttp\Promise\PromiseInterface

commitConversionWorkspaceAsync

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\CommitConversionWorkspaceRequest
optionalArgs = [] array
Returns
TypeDescription
GuzzleHttp\Promise\PromiseInterface

convertConversionWorkspaceAsync

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\ConvertConversionWorkspaceRequest
optionalArgs = [] array
Returns
TypeDescription
GuzzleHttp\Promise\PromiseInterface

createConnectionProfileAsync

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\CreateConnectionProfileRequest
optionalArgs = [] array
Returns
TypeDescription
GuzzleHttp\Promise\PromiseInterface

createConversionWorkspaceAsync

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\CreateConversionWorkspaceRequest
optionalArgs = [] array
Returns
TypeDescription
GuzzleHttp\Promise\PromiseInterface

createMigrationJobAsync

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\CreateMigrationJobRequest
optionalArgs = [] array
Returns
TypeDescription
GuzzleHttp\Promise\PromiseInterface

createPrivateConnectionAsync

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\CreatePrivateConnectionRequest
optionalArgs = [] array
Returns
TypeDescription
GuzzleHttp\Promise\PromiseInterface

deleteConnectionProfileAsync

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\DeleteConnectionProfileRequest
optionalArgs = [] array
Returns
TypeDescription
GuzzleHttp\Promise\PromiseInterface

deleteConversionWorkspaceAsync

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\DeleteConversionWorkspaceRequest
optionalArgs = [] array
Returns
TypeDescription
GuzzleHttp\Promise\PromiseInterface

deleteMigrationJobAsync

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\DeleteMigrationJobRequest
optionalArgs = [] array
Returns
TypeDescription
GuzzleHttp\Promise\PromiseInterface

deletePrivateConnectionAsync

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\DeletePrivateConnectionRequest
optionalArgs = [] array
Returns
TypeDescription
GuzzleHttp\Promise\PromiseInterface

describeConversionWorkspaceRevisionsAsync

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\DescribeConversionWorkspaceRevisionsRequest
optionalArgs = [] array
Returns
TypeDescription
GuzzleHttp\Promise\PromiseInterface

describeDatabaseEntitiesAsync

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\DescribeDatabaseEntitiesRequest
optionalArgs = [] array
Returns
TypeDescription
GuzzleHttp\Promise\PromiseInterface

fetchStaticIpsAsync

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\FetchStaticIpsRequest
optionalArgs = [] array
Returns
TypeDescription
GuzzleHttp\Promise\PromiseInterface

generateSshScriptAsync

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\GenerateSshScriptRequest
optionalArgs = [] array
Returns
TypeDescription
GuzzleHttp\Promise\PromiseInterface

getConnectionProfileAsync

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\GetConnectionProfileRequest
optionalArgs = [] array
Returns
TypeDescription
GuzzleHttp\Promise\PromiseInterface

getConversionWorkspaceAsync

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\GetConversionWorkspaceRequest
optionalArgs = [] array
Returns
TypeDescription
GuzzleHttp\Promise\PromiseInterface

getMigrationJobAsync

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\GetMigrationJobRequest
optionalArgs = [] array
Returns
TypeDescription
GuzzleHttp\Promise\PromiseInterface

getPrivateConnectionAsync

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\GetPrivateConnectionRequest
optionalArgs = [] array
Returns
TypeDescription
GuzzleHttp\Promise\PromiseInterface

importMappingRulesAsync

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\ImportMappingRulesRequest
optionalArgs = [] array
Returns
TypeDescription
GuzzleHttp\Promise\PromiseInterface

listConnectionProfilesAsync

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\ListConnectionProfilesRequest
optionalArgs = [] array
Returns
TypeDescription
GuzzleHttp\Promise\PromiseInterface

listConversionWorkspacesAsync

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\ListConversionWorkspacesRequest
optionalArgs = [] array
Returns
TypeDescription
GuzzleHttp\Promise\PromiseInterface

listMigrationJobsAsync

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\ListMigrationJobsRequest
optionalArgs = [] array
Returns
TypeDescription
GuzzleHttp\Promise\PromiseInterface

listPrivateConnectionsAsync

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\ListPrivateConnectionsRequest
optionalArgs = [] array
Returns
TypeDescription
GuzzleHttp\Promise\PromiseInterface

promoteMigrationJobAsync

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\PromoteMigrationJobRequest
optionalArgs = [] array
Returns
TypeDescription
GuzzleHttp\Promise\PromiseInterface

restartMigrationJobAsync

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\RestartMigrationJobRequest
optionalArgs = [] array
Returns
TypeDescription
GuzzleHttp\Promise\PromiseInterface

resumeMigrationJobAsync

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\ResumeMigrationJobRequest
optionalArgs = [] array
Returns
TypeDescription
GuzzleHttp\Promise\PromiseInterface

rollbackConversionWorkspaceAsync

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\RollbackConversionWorkspaceRequest
optionalArgs = [] array
Returns
TypeDescription
GuzzleHttp\Promise\PromiseInterface

searchBackgroundJobsAsync

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\SearchBackgroundJobsRequest
optionalArgs = [] array
Returns
TypeDescription
GuzzleHttp\Promise\PromiseInterface

seedConversionWorkspaceAsync

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\SeedConversionWorkspaceRequest
optionalArgs = [] array
Returns
TypeDescription
GuzzleHttp\Promise\PromiseInterface

startMigrationJobAsync

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\StartMigrationJobRequest
optionalArgs = [] array
Returns
TypeDescription
GuzzleHttp\Promise\PromiseInterface

stopMigrationJobAsync

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\StopMigrationJobRequest
optionalArgs = [] array
Returns
TypeDescription
GuzzleHttp\Promise\PromiseInterface

updateConnectionProfileAsync

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\UpdateConnectionProfileRequest
optionalArgs = [] array
Returns
TypeDescription
GuzzleHttp\Promise\PromiseInterface

updateConversionWorkspaceAsync

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\UpdateConversionWorkspaceRequest
optionalArgs = [] array
Returns
TypeDescription
GuzzleHttp\Promise\PromiseInterface

updateMigrationJobAsync

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\UpdateMigrationJobRequest
optionalArgs = [] array
Returns
TypeDescription
GuzzleHttp\Promise\PromiseInterface

verifyMigrationJobAsync

Parameters
NameDescription
request Google\Cloud\CloudDms\V1\VerifyMigrationJobRequest
optionalArgs = [] array
Returns
TypeDescription
GuzzleHttp\Promise\PromiseInterface

getOperationsClient

Return an OperationsClient object with the same endpoint as $this.

Returns
TypeDescription
Google\ApiCore\LongRunning\OperationsClient

resumeOperation

Resume an existing long running operation that was previously started by a long running API method. If $methodName is not provided, or does not match a long running API method, then the operation can still be resumed, but the OperationResponse object will not deserialize the final response.

Parameters
NameDescription
operationName string

The name of the long running operation

methodName string

The name of the method used to start the operation

Returns
TypeDescription
Google\ApiCore\OperationResponse

static::connectionProfileName

Formats a string containing the fully-qualified path to represent a connection_profile resource.

Parameters
NameDescription
project string
location string
connectionProfile string
Returns
TypeDescription
stringThe formatted connection_profile resource.

static::conversionWorkspaceName

Formats a string containing the fully-qualified path to represent a conversion_workspace resource.

Parameters
NameDescription
project string
location string
conversionWorkspace string
Returns
TypeDescription
stringThe formatted conversion_workspace resource.

static::locationName

Formats a string containing the fully-qualified path to represent a location resource.

Parameters
NameDescription
project string
location string
Returns
TypeDescription
stringThe formatted location resource.

static::migrationJobName

Formats a string containing the fully-qualified path to represent a migration_job resource.

Parameters
NameDescription
project string
location string
migrationJob string
Returns
TypeDescription
stringThe formatted migration_job resource.

static::networksName

Formats a string containing the fully-qualified path to represent a networks resource.

Parameters
NameDescription
project string
network string
Returns
TypeDescription
stringThe formatted networks resource.

static::privateConnectionName

Formats a string containing the fully-qualified path to represent a private_connection resource.

Parameters
NameDescription
project string
location string
privateConnection string
Returns
TypeDescription
stringThe formatted private_connection resource.

static::parseName

Parses a formatted name string and returns an associative array of the components in the name.

The following name formats are supported: Template: Pattern

  • connectionProfile: projects/{project}/locations/{location}/connectionProfiles/{connection_profile}
  • conversionWorkspace: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}
  • location: projects/{project}/locations/{location}
  • migrationJob: projects/{project}/locations/{location}/migrationJobs/{migration_job}
  • networks: projects/{project}/global/networks/{network}
  • privateConnection: projects/{project}/locations/{location}/privateConnections/{private_connection}

The optional $template argument can be supplied to specify a particular pattern, and must match one of the templates listed above. If no $template argument is provided, or if the $template argument does not match one of the templates listed, then parseName will check each of the supported templates, and return the first match.

Parameters
NameDescription
formattedName string

The formatted name string

template string

Optional name of template to match

Returns
TypeDescription
arrayAn associative array from name component IDs to component values.