Google Cloud Dms V1 Client - Class GenerateTcpProxyScriptRequest (1.5.5)

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

Request message for 'GenerateTcpProxyScript' request.

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

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 TCP Proxy script.

↳ vm_name string

Required. The name of the Compute instance that will host the proxy.

↳ vm_machine_type string

Required. The type of the Compute instance that will host the proxy.

↳ vm_zone string

Optional. The Google Cloud Platform zone to create the VM in. The fully qualified name of the zone must be specified, including the region name, for example "us-central1-b". If not specified, uses the "-b" zone of the destination Connection Profile's region.

↳ vm_subnet string

Required. The name of the subnet the Compute instance will use for private connectivity. Must be supplied in the form of projects/{project}/regions/{region}/subnetworks/{subnetwork}. Note: the region for the subnet must match the Compute instance region.

getMigrationJob

Name of the migration job resource to generate the TCP Proxy script.

Returns
Type Description
string

setMigrationJob

Name of the migration job resource to generate the TCP Proxy script.

Parameter
Name Description
var string
Returns
Type Description
$this

getVmName

Required. The name of the Compute instance that will host the proxy.

Returns
Type Description
string

setVmName

Required. The name of the Compute instance that will host the proxy.

Parameter
Name Description
var string
Returns
Type Description
$this

getVmMachineType

Required. The type of the Compute instance that will host the proxy.

Returns
Type Description
string

setVmMachineType

Required. The type of the Compute instance that will host the proxy.

Parameter
Name Description
var string
Returns
Type Description
$this

getVmZone

Optional. The Google Cloud Platform zone to create the VM in. The fully qualified name of the zone must be specified, including the region name, for example "us-central1-b". If not specified, uses the "-b" zone of the destination Connection Profile's region.

Returns
Type Description
string

setVmZone

Optional. The Google Cloud Platform zone to create the VM in. The fully qualified name of the zone must be specified, including the region name, for example "us-central1-b". If not specified, uses the "-b" zone of the destination Connection Profile's region.

Parameter
Name Description
var string
Returns
Type Description
$this

getVmSubnet

Required. The name of the subnet the Compute instance will use for private connectivity. Must be supplied in the form of projects/{project}/regions/{region}/subnetworks/{subnetwork}.

Note: the region for the subnet must match the Compute instance region.

Returns
Type Description
string

setVmSubnet

Required. The name of the subnet the Compute instance will use for private connectivity. Must be supplied in the form of projects/{project}/regions/{region}/subnetworks/{subnetwork}.

Note: the region for the subnet must match the Compute instance region.

Parameter
Name Description
var string
Returns
Type Description
$this