Class protos.google.cloud.clouddms.v1.DataMigrationService (1.0.5)

Represents a DataMigrationService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.clouddms.v1.DataMigrationService

Package

@google-cloud/dms!

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new DataMigrationService service.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

create(rpcImpl, requestDelimited, responseDelimited)

public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): DataMigrationService;

Creates new DataMigrationService service using the specified rpc implementation.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
TypeDescription
DataMigrationService

RPC service. Useful where requests and/or responses are streamed.

createConnectionProfile(request, callback)

public createConnectionProfile(request: google.cloud.clouddms.v1.ICreateConnectionProfileRequest, callback: google.cloud.clouddms.v1.DataMigrationService.CreateConnectionProfileCallback): void;

Calls CreateConnectionProfile.

Parameters
NameDescription
request google.cloud.clouddms.v1.ICreateConnectionProfileRequest

CreateConnectionProfileRequest message or plain object

callback google.cloud.clouddms.v1.DataMigrationService.CreateConnectionProfileCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

createConnectionProfile(request)

public createConnectionProfile(request: google.cloud.clouddms.v1.ICreateConnectionProfileRequest): Promise<google.longrunning.Operation>;

Calls CreateConnectionProfile.

Parameter
NameDescription
request google.cloud.clouddms.v1.ICreateConnectionProfileRequest

CreateConnectionProfileRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

createMigrationJob(request, callback)

public createMigrationJob(request: google.cloud.clouddms.v1.ICreateMigrationJobRequest, callback: google.cloud.clouddms.v1.DataMigrationService.CreateMigrationJobCallback): void;

Calls CreateMigrationJob.

Parameters
NameDescription
request google.cloud.clouddms.v1.ICreateMigrationJobRequest

CreateMigrationJobRequest message or plain object

callback google.cloud.clouddms.v1.DataMigrationService.CreateMigrationJobCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

createMigrationJob(request)

public createMigrationJob(request: google.cloud.clouddms.v1.ICreateMigrationJobRequest): Promise<google.longrunning.Operation>;

Calls CreateMigrationJob.

Parameter
NameDescription
request google.cloud.clouddms.v1.ICreateMigrationJobRequest

CreateMigrationJobRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deleteConnectionProfile(request, callback)

public deleteConnectionProfile(request: google.cloud.clouddms.v1.IDeleteConnectionProfileRequest, callback: google.cloud.clouddms.v1.DataMigrationService.DeleteConnectionProfileCallback): void;

Calls DeleteConnectionProfile.

Parameters
NameDescription
request google.cloud.clouddms.v1.IDeleteConnectionProfileRequest

DeleteConnectionProfileRequest message or plain object

callback google.cloud.clouddms.v1.DataMigrationService.DeleteConnectionProfileCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

deleteConnectionProfile(request)

public deleteConnectionProfile(request: google.cloud.clouddms.v1.IDeleteConnectionProfileRequest): Promise<google.longrunning.Operation>;

Calls DeleteConnectionProfile.

Parameter
NameDescription
request google.cloud.clouddms.v1.IDeleteConnectionProfileRequest

DeleteConnectionProfileRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deleteMigrationJob(request, callback)

public deleteMigrationJob(request: google.cloud.clouddms.v1.IDeleteMigrationJobRequest, callback: google.cloud.clouddms.v1.DataMigrationService.DeleteMigrationJobCallback): void;

Calls DeleteMigrationJob.

Parameters
NameDescription
request IDeleteMigrationJobRequest

DeleteMigrationJobRequest message or plain object

callback google.cloud.clouddms.v1.DataMigrationService.DeleteMigrationJobCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

deleteMigrationJob(request)

public deleteMigrationJob(request: google.cloud.clouddms.v1.IDeleteMigrationJobRequest): Promise<google.longrunning.Operation>;

Calls DeleteMigrationJob.

Parameter
NameDescription
request IDeleteMigrationJobRequest

DeleteMigrationJobRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

generateSshScript(request, callback)

public generateSshScript(request: google.cloud.clouddms.v1.IGenerateSshScriptRequest, callback: google.cloud.clouddms.v1.DataMigrationService.GenerateSshScriptCallback): void;

Calls GenerateSshScript.

Parameters
NameDescription
request google.cloud.clouddms.v1.IGenerateSshScriptRequest

GenerateSshScriptRequest message or plain object

callback google.cloud.clouddms.v1.DataMigrationService.GenerateSshScriptCallback

Node-style callback called with the error, if any, and SshScript

Returns
TypeDescription
void

generateSshScript(request)

public generateSshScript(request: google.cloud.clouddms.v1.IGenerateSshScriptRequest): Promise<google.cloud.clouddms.v1.SshScript>;

Calls GenerateSshScript.

Parameter
NameDescription
request google.cloud.clouddms.v1.IGenerateSshScriptRequest

GenerateSshScriptRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.clouddms.v1.SshScript>

Promise

getConnectionProfile(request, callback)

public getConnectionProfile(request: google.cloud.clouddms.v1.IGetConnectionProfileRequest, callback: google.cloud.clouddms.v1.DataMigrationService.GetConnectionProfileCallback): void;

Calls GetConnectionProfile.

Parameters
NameDescription
request google.cloud.clouddms.v1.IGetConnectionProfileRequest

GetConnectionProfileRequest message or plain object

callback google.cloud.clouddms.v1.DataMigrationService.GetConnectionProfileCallback

Node-style callback called with the error, if any, and ConnectionProfile

Returns
TypeDescription
void

getConnectionProfile(request)

public getConnectionProfile(request: google.cloud.clouddms.v1.IGetConnectionProfileRequest): Promise<google.cloud.clouddms.v1.ConnectionProfile>;

Calls GetConnectionProfile.

Parameter
NameDescription
request google.cloud.clouddms.v1.IGetConnectionProfileRequest

GetConnectionProfileRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.clouddms.v1.ConnectionProfile>

Promise

getMigrationJob(request, callback)

public getMigrationJob(request: google.cloud.clouddms.v1.IGetMigrationJobRequest, callback: google.cloud.clouddms.v1.DataMigrationService.GetMigrationJobCallback): void;

Calls GetMigrationJob.

Parameters
NameDescription
request IGetMigrationJobRequest

GetMigrationJobRequest message or plain object

callback google.cloud.clouddms.v1.DataMigrationService.GetMigrationJobCallback

Node-style callback called with the error, if any, and MigrationJob

Returns
TypeDescription
void

getMigrationJob(request)

public getMigrationJob(request: google.cloud.clouddms.v1.IGetMigrationJobRequest): Promise<google.cloud.clouddms.v1.MigrationJob>;

Calls GetMigrationJob.

Parameter
NameDescription
request IGetMigrationJobRequest

GetMigrationJobRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.clouddms.v1.MigrationJob>

Promise

listConnectionProfiles(request, callback)

public listConnectionProfiles(request: google.cloud.clouddms.v1.IListConnectionProfilesRequest, callback: google.cloud.clouddms.v1.DataMigrationService.ListConnectionProfilesCallback): void;

Calls ListConnectionProfiles.

Parameters
NameDescription
request google.cloud.clouddms.v1.IListConnectionProfilesRequest

ListConnectionProfilesRequest message or plain object

callback google.cloud.clouddms.v1.DataMigrationService.ListConnectionProfilesCallback

Node-style callback called with the error, if any, and ListConnectionProfilesResponse

Returns
TypeDescription
void

listConnectionProfiles(request)

public listConnectionProfiles(request: google.cloud.clouddms.v1.IListConnectionProfilesRequest): Promise<google.cloud.clouddms.v1.ListConnectionProfilesResponse>;

Calls ListConnectionProfiles.

Parameter
NameDescription
request google.cloud.clouddms.v1.IListConnectionProfilesRequest

ListConnectionProfilesRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.clouddms.v1.ListConnectionProfilesResponse>

Promise

listMigrationJobs(request, callback)

public listMigrationJobs(request: google.cloud.clouddms.v1.IListMigrationJobsRequest, callback: google.cloud.clouddms.v1.DataMigrationService.ListMigrationJobsCallback): void;

Calls ListMigrationJobs.

Parameters
NameDescription
request google.cloud.clouddms.v1.IListMigrationJobsRequest

ListMigrationJobsRequest message or plain object

callback google.cloud.clouddms.v1.DataMigrationService.ListMigrationJobsCallback

Node-style callback called with the error, if any, and ListMigrationJobsResponse

Returns
TypeDescription
void

listMigrationJobs(request)

public listMigrationJobs(request: google.cloud.clouddms.v1.IListMigrationJobsRequest): Promise<google.cloud.clouddms.v1.ListMigrationJobsResponse>;

Calls ListMigrationJobs.

Parameter
NameDescription
request google.cloud.clouddms.v1.IListMigrationJobsRequest

ListMigrationJobsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.clouddms.v1.ListMigrationJobsResponse>

Promise

promoteMigrationJob(request, callback)

public promoteMigrationJob(request: google.cloud.clouddms.v1.IPromoteMigrationJobRequest, callback: google.cloud.clouddms.v1.DataMigrationService.PromoteMigrationJobCallback): void;

Calls PromoteMigrationJob.

Parameters
NameDescription
request google.cloud.clouddms.v1.IPromoteMigrationJobRequest

PromoteMigrationJobRequest message or plain object

callback google.cloud.clouddms.v1.DataMigrationService.PromoteMigrationJobCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

promoteMigrationJob(request)

public promoteMigrationJob(request: google.cloud.clouddms.v1.IPromoteMigrationJobRequest): Promise<google.longrunning.Operation>;

Calls PromoteMigrationJob.

Parameter
NameDescription
request google.cloud.clouddms.v1.IPromoteMigrationJobRequest

PromoteMigrationJobRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

restartMigrationJob(request, callback)

public restartMigrationJob(request: google.cloud.clouddms.v1.IRestartMigrationJobRequest, callback: google.cloud.clouddms.v1.DataMigrationService.RestartMigrationJobCallback): void;

Calls RestartMigrationJob.

Parameters
NameDescription
request google.cloud.clouddms.v1.IRestartMigrationJobRequest

RestartMigrationJobRequest message or plain object

callback google.cloud.clouddms.v1.DataMigrationService.RestartMigrationJobCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

restartMigrationJob(request)

public restartMigrationJob(request: google.cloud.clouddms.v1.IRestartMigrationJobRequest): Promise<google.longrunning.Operation>;

Calls RestartMigrationJob.

Parameter
NameDescription
request google.cloud.clouddms.v1.IRestartMigrationJobRequest

RestartMigrationJobRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

resumeMigrationJob(request, callback)

public resumeMigrationJob(request: google.cloud.clouddms.v1.IResumeMigrationJobRequest, callback: google.cloud.clouddms.v1.DataMigrationService.ResumeMigrationJobCallback): void;

Calls ResumeMigrationJob.

Parameters
NameDescription
request google.cloud.clouddms.v1.IResumeMigrationJobRequest

ResumeMigrationJobRequest message or plain object

callback google.cloud.clouddms.v1.DataMigrationService.ResumeMigrationJobCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

resumeMigrationJob(request)

public resumeMigrationJob(request: google.cloud.clouddms.v1.IResumeMigrationJobRequest): Promise<google.longrunning.Operation>;

Calls ResumeMigrationJob.

Parameter
NameDescription
request google.cloud.clouddms.v1.IResumeMigrationJobRequest

ResumeMigrationJobRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

startMigrationJob(request, callback)

public startMigrationJob(request: google.cloud.clouddms.v1.IStartMigrationJobRequest, callback: google.cloud.clouddms.v1.DataMigrationService.StartMigrationJobCallback): void;

Calls StartMigrationJob.

Parameters
NameDescription
request google.cloud.clouddms.v1.IStartMigrationJobRequest

StartMigrationJobRequest message or plain object

callback google.cloud.clouddms.v1.DataMigrationService.StartMigrationJobCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

startMigrationJob(request)

public startMigrationJob(request: google.cloud.clouddms.v1.IStartMigrationJobRequest): Promise<google.longrunning.Operation>;

Calls StartMigrationJob.

Parameter
NameDescription
request google.cloud.clouddms.v1.IStartMigrationJobRequest

StartMigrationJobRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

stopMigrationJob(request, callback)

public stopMigrationJob(request: google.cloud.clouddms.v1.IStopMigrationJobRequest, callback: google.cloud.clouddms.v1.DataMigrationService.StopMigrationJobCallback): void;

Calls StopMigrationJob.

Parameters
NameDescription
request google.cloud.clouddms.v1.IStopMigrationJobRequest

StopMigrationJobRequest message or plain object

callback google.cloud.clouddms.v1.DataMigrationService.StopMigrationJobCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

stopMigrationJob(request)

public stopMigrationJob(request: google.cloud.clouddms.v1.IStopMigrationJobRequest): Promise<google.longrunning.Operation>;

Calls StopMigrationJob.

Parameter
NameDescription
request google.cloud.clouddms.v1.IStopMigrationJobRequest

StopMigrationJobRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

updateConnectionProfile(request, callback)

public updateConnectionProfile(request: google.cloud.clouddms.v1.IUpdateConnectionProfileRequest, callback: google.cloud.clouddms.v1.DataMigrationService.UpdateConnectionProfileCallback): void;

Calls UpdateConnectionProfile.

Parameters
NameDescription
request google.cloud.clouddms.v1.IUpdateConnectionProfileRequest

UpdateConnectionProfileRequest message or plain object

callback google.cloud.clouddms.v1.DataMigrationService.UpdateConnectionProfileCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

updateConnectionProfile(request)

public updateConnectionProfile(request: google.cloud.clouddms.v1.IUpdateConnectionProfileRequest): Promise<google.longrunning.Operation>;

Calls UpdateConnectionProfile.

Parameter
NameDescription
request google.cloud.clouddms.v1.IUpdateConnectionProfileRequest

UpdateConnectionProfileRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

updateMigrationJob(request, callback)

public updateMigrationJob(request: google.cloud.clouddms.v1.IUpdateMigrationJobRequest, callback: google.cloud.clouddms.v1.DataMigrationService.UpdateMigrationJobCallback): void;

Calls UpdateMigrationJob.

Parameters
NameDescription
request google.cloud.clouddms.v1.IUpdateMigrationJobRequest

UpdateMigrationJobRequest message or plain object

callback google.cloud.clouddms.v1.DataMigrationService.UpdateMigrationJobCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

updateMigrationJob(request)

public updateMigrationJob(request: google.cloud.clouddms.v1.IUpdateMigrationJobRequest): Promise<google.longrunning.Operation>;

Calls UpdateMigrationJob.

Parameter
NameDescription
request google.cloud.clouddms.v1.IUpdateMigrationJobRequest

UpdateMigrationJobRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

verifyMigrationJob(request, callback)

public verifyMigrationJob(request: google.cloud.clouddms.v1.IVerifyMigrationJobRequest, callback: google.cloud.clouddms.v1.DataMigrationService.VerifyMigrationJobCallback): void;

Calls VerifyMigrationJob.

Parameters
NameDescription
request google.cloud.clouddms.v1.IVerifyMigrationJobRequest

VerifyMigrationJobRequest message or plain object

callback google.cloud.clouddms.v1.DataMigrationService.VerifyMigrationJobCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

verifyMigrationJob(request)

public verifyMigrationJob(request: google.cloud.clouddms.v1.IVerifyMigrationJobRequest): Promise<google.longrunning.Operation>;

Calls VerifyMigrationJob.

Parameter
NameDescription
request google.cloud.clouddms.v1.IVerifyMigrationJobRequest

VerifyMigrationJobRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise