Google Cloud Dms V1 Client - Class GenerateTcpProxyScriptRequest (1.5.0)

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
NameDescription
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
TypeDescription
string

setMigrationJob

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getVmName

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

Returns
TypeDescription
string

setVmName

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getVmMachineType

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

Returns
TypeDescription
string

setVmMachineType

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

Parameter
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this