Google Cloud Dms V1 Client - Class GenerateSshScriptRequest (1.1.0)

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

Request message for 'GenerateSshScript' request.

Generated from protobuf message google.cloud.clouddms.v1.GenerateSshScriptRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ migration_job string

Name of the migration job resource to generate the SSH script.

↳ vm string

Required. Bastion VM Instance name to use or to create.

↳ vm_creation_config Google\Cloud\CloudDms\V1\VmCreationConfig

The VM creation configuration

↳ vm_selection_config Google\Cloud\CloudDms\V1\VmSelectionConfig

The VM selection configuration

↳ vm_port int

The port that will be open on the bastion host.

getMigrationJob

Name of the migration job resource to generate the SSH script.

Returns
TypeDescription
string

setMigrationJob

Name of the migration job resource to generate the SSH script.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getVm

Required. Bastion VM Instance name to use or to create.

Returns
TypeDescription
string

setVm

Required. Bastion VM Instance name to use or to create.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getVmCreationConfig

The VM creation configuration

Returns
TypeDescription
Google\Cloud\CloudDms\V1\VmCreationConfig|null

hasVmCreationConfig

setVmCreationConfig

The VM creation configuration

Parameter
NameDescription
var Google\Cloud\CloudDms\V1\VmCreationConfig
Returns
TypeDescription
$this

getVmSelectionConfig

The VM selection configuration

Returns
TypeDescription
Google\Cloud\CloudDms\V1\VmSelectionConfig|null

hasVmSelectionConfig

setVmSelectionConfig

The VM selection configuration

Parameter
NameDescription
var Google\Cloud\CloudDms\V1\VmSelectionConfig
Returns
TypeDescription
$this

getVmPort

The port that will be open on the bastion host.

Returns
TypeDescription
int

setVmPort

The port that will be open on the bastion host.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getVmConfig

Returns
TypeDescription
string