public sealed class VpcPeeringConnectivity : IMessage<VpcPeeringConnectivity>, IEquatable<VpcPeeringConnectivity>, IDeepCloneable<VpcPeeringConnectivity>, IBufferMessage, IMessage
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\u003eThe latest version of the \u003ccode\u003eVpcPeeringConnectivity\u003c/code\u003e class is 2.5.0, and the page lists versions ranging from 1.0.0 to 2.5.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eVpcPeeringConnectivity\u003c/code\u003e is a class used to manage VPC peering connections between Cloud SQL and a user-specified VPC in Google Cloud.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes a \u003ccode\u003eVpc\u003c/code\u003e property, which is a string representing the name of the VPC network for peering with the Cloud SQL private network.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available, one is parameterless, and the other takes another \u003ccode\u003eVpcPeeringConnectivity\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,[]]