Google Cloud Dms V1 Client - Class GenerateSshScriptRequest (1.5.5)

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

Namespace

Google \ Cloud \ CloudDms \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
string

setMigrationJob

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

Parameter
Name Description
var string
Returns
Type Description
$this

getVm

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

Returns
Type Description
string

setVm

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

Parameter
Name Description
var string
Returns
Type Description
$this

getVmCreationConfig

The VM creation configuration

Returns
Type Description
Google\Cloud\CloudDms\V1\VmCreationConfig|null

hasVmCreationConfig

setVmCreationConfig

The VM creation configuration

Parameter
Name Description
var Google\Cloud\CloudDms\V1\VmCreationConfig
Returns
Type Description
$this

getVmSelectionConfig

The VM selection configuration

Returns
Type Description
Google\Cloud\CloudDms\V1\VmSelectionConfig|null

hasVmSelectionConfig

setVmSelectionConfig

The VM selection configuration

Parameter
Name Description
var Google\Cloud\CloudDms\V1\VmSelectionConfig
Returns
Type Description
$this

getVmPort

The port that will be open on the bastion host.

Returns
Type Description
int

setVmPort

The port that will be open on the bastion host.

Parameter
Name Description
var int
Returns
Type Description
$this

getVmConfig

Returns
Type Description
string