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

    public sealed class GenerateSshScriptRequest : IMessage<GenerateSshScriptRequest>, IEquatable<GenerateSshScriptRequest>, IDeepCloneable<GenerateSshScriptRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Database Migration v1 API class GenerateSshScriptRequest.

Request message for 'GenerateSshScript' request.

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[GenerateSshScriptRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.GenerateSshScriptRequest.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GenerateSshScriptRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.GenerateSshScriptRequest.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[GenerateSshScriptRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.GenerateSshScriptRequest.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

### GenerateSshScriptRequest()

    public GenerateSshScriptRequest()

### GenerateSshScriptRequest(GenerateSshScriptRequest)

    public GenerateSshScriptRequest(GenerateSshScriptRequest other)

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

## Properties

### MigrationJob

    public string MigrationJob { get; set; }

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

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

### MigrationJobAsMigrationJobName

    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.GenerateSshScriptRequest.md.txt#Google_Cloud_CloudDms_V1_GenerateSshScriptRequest_MigrationJob) resource name property.

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

### Vm

    public string Vm { get; set; }

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

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

### VmConfigCase

    public GenerateSshScriptRequest.VmConfigOneofCase VmConfigCase { get; }

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

### VmCreationConfig

    public VmCreationConfig VmCreationConfig { get; set; }

The VM creation configuration

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

### VmPort

    public int VmPort { get; set; }

The port that will be open on the bastion host.

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

### VmSelectionConfig

    public VmSelectionConfig VmSelectionConfig { get; set; }

The VM selection configuration

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