# Google Cloud Dms V1 Client - Class VmCreationConfig (2.1.3)

2.1.3 (latest) 2.1.2 2.0.6 1.5.5 1.4.2 1.3.0 1.2.1 1.1.0 1.0.5 Reference documentation and code samples for the Google Cloud Dms V1 Client class VmCreationConfig.

VM creation configuration message

Generated from protobuf message `google.cloud.clouddms.v1.VmCreationConfig`

## Namespace

Google \\ Cloud \\ CloudDms \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ vm_machine_type` | `string` Required. VM instance machine type to create. |
| `↳ vm_zone` | `string` The Google Cloud Platform zone to create the VM in. |
| `↳ subnet` | `string` The subnet name the vm needs to be created in. |

### getVmMachineType

Required. VM instance machine type to create.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setVmMachineType

Required. VM instance machine type to create.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getVmZone

The Google Cloud Platform zone to create the VM in.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setVmZone

The Google Cloud Platform zone to create the VM in.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getSubnet

The subnet name the vm needs to be created in.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setSubnet

The subnet name the vm needs to be created in.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |