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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis page provides reference documentation for the \u003ccode\u003eVpcPeeringConnectivity\u003c/code\u003e class within the Google Cloud Database Migration v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eVpcPeeringConnectivity\u003c/code\u003e class facilitates setting up VPC peering connections between Cloud SQL and a source database's VPC in Google Cloud.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API documentation available is 2.5.0, while this page focuses specifically on version 2.2.0, which implements multiple interfaces, such as \u003ccode\u003eIMessage\u003c/code\u003e and \u003ccode\u003eIDeepCloneable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eVpc\u003c/code\u003e property within \u003ccode\u003eVpcPeeringConnectivity\u003c/code\u003e is a string type and is used to store the name of the VPC network for peering.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eVpcPeeringConnectivity\u003c/code\u003e class has two constructors: one default and the other accepting another \u003ccode\u003eVpcPeeringConnectivity\u003c/code\u003e object as a parameter for deep cloning.\u003c/p\u003e\n"]]],[],null,[]]