2.6.0 (latest) 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.2.0 1.1.0 1.0.0

```c++
public sealed class GenerateTcpProxyScriptRequest : IMessage<GenerateTcpProxyScriptRequest>, IEquatable<GenerateTcpProxyScriptRequest>, IDeepCloneable<GenerateTcpProxyScriptRequest>, IBufferMessage, IMessage
```
Reference documentation and code samples for the Database Migration v1 API class GenerateTcpProxyScriptRequest.

Request message for 'GenerateTcpProxyScript' request.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> GenerateTcpProxyScriptRequest

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[GenerateTcpProxyScriptRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.GenerateTcpProxyScriptRequest.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GenerateTcpProxyScriptRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.GenerateTcpProxyScriptRequest.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[GenerateTcpProxyScriptRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.GenerateTcpProxyScriptRequest.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.CloudDms.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.md.txt)

## Assembly

Google.Cloud.CloudDms.V1.dll

## Constructors

### GenerateTcpProxyScriptRequest()

```c++
public GenerateTcpProxyScriptRequest()
```

### GenerateTcpProxyScriptRequest(GenerateTcpProxyScriptRequest)

```c++
public GenerateTcpProxyScriptRequest(GenerateTcpProxyScriptRequest other)
```

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `GenerateTcpProxyScriptRequest` |

## Properties

### MigrationJob

```c++
public string MigrationJob { get; set; }
```
Name of the migration job resource to generate the TCP Proxy script.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### MigrationJobAsMigrationJobName

```c++
public MigrationJobName MigrationJobAsMigrationJobName { get; set; }
```
[MigrationJobName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.MigrationJobName.md.txt)-typed view over the [MigrationJob](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.GenerateTcpProxyScriptRequest.md.txt#Google_Cloud_CloudDms_V1_GenerateTcpProxyScriptRequest_MigrationJob) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `MigrationJobName` |   |

### VmMachineType

```c++
public string VmMachineType { get; set; }
```
Required. The type of the Compute instance that will host the proxy.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### VmName

```c++
public string VmName { get; set; }
```
Required. The name of the Compute instance that will host the proxy.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### VmSubnet

```c++
public string VmSubnet { get; set; }
```
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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### VmZone

```c++
public string VmZone { get; set; }
```
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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |