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 CreatePrivateConnectionRequest : IMessage<CreatePrivateConnectionRequest>, IEquatable<CreatePrivateConnectionRequest>, IDeepCloneable<CreatePrivateConnectionRequest>, IBufferMessage, IMessage

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

Request message to create a new private connection in the specified project
and region.

## Inheritance

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

## Implements

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

### CreatePrivateConnectionRequest()

    public CreatePrivateConnectionRequest()

### CreatePrivateConnectionRequest(CreatePrivateConnectionRequest)

    public CreatePrivateConnectionRequest(CreatePrivateConnectionRequest other)

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

## Properties

### Parent

    public string Parent { get; set; }

Required. The parent that owns the collection of PrivateConnections.

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

### ParentAsLocationName

    public LocationName ParentAsLocationName { get; set; }

[LocationName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.md.txt)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.CreatePrivateConnectionRequest.md.txt#Google_Cloud_CloudDms_V1_CreatePrivateConnectionRequest_Parent) resource name property.

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

### PrivateConnection

    public PrivateConnection PrivateConnection { get; set; }

Required. The private connection resource to create.

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

### PrivateConnectionId

    public string PrivateConnectionId { get; set; }

Required. The private connection identifier.

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

### RequestId

    public string RequestId { get; set; }

Optional. A unique ID used to identify the request. If the server receives
two requests with the same ID, then the second request is ignored.

It is recommended to always set this value to a UUID.

The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
(_), and hyphens (-). The maximum length is 40 characters.

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

### SkipValidation

    public bool SkipValidation { get; set; }

Optional. If set to true, will skip validations.

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