# Database Migration v1 API - Class VpcPeeringConnectivity (2.6.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [2.6.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.VpcPeeringConnectivity)
- [2.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.5.0/Google.Cloud.CloudDms.V1.VpcPeeringConnectivity)
- [2.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.4.0/Google.Cloud.CloudDms.V1.VpcPeeringConnectivity)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.3.0/Google.Cloud.CloudDms.V1.VpcPeeringConnectivity)
- [2.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.2.0/Google.Cloud.CloudDms.V1.VpcPeeringConnectivity)
- [2.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.1.0/Google.Cloud.CloudDms.V1.VpcPeeringConnectivity)
- [2.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.0.0/Google.Cloud.CloudDms.V1.VpcPeeringConnectivity)
- [1.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/1.2.0/Google.Cloud.CloudDms.V1.VpcPeeringConnectivity)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/1.1.0/Google.Cloud.CloudDms.V1.VpcPeeringConnectivity)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/1.0.0/Google.Cloud.CloudDms.V1.VpcPeeringConnectivity)

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

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

The details of the VPC where the source database is located in Google Cloud.
We will use this information to set up the VPC peering connection between
Cloud SQL and this VPC.

## Inheritance

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

## Implements

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

## 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)

## Assembly

Google.Cloud.CloudDms.V1.dll

## Constructors

### VpcPeeringConnectivity()

    public VpcPeeringConnectivity()

### VpcPeeringConnectivity(VpcPeeringConnectivity)

    public VpcPeeringConnectivity(VpcPeeringConnectivity other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.VpcPeeringConnectivity` |

## Properties

### Vpc

    public string Vpc { get; set; }

The name of the VPC network to peer with the Cloud SQL private network.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |