public sealed class VpcPeeringConfig : IMessage<VpcPeeringConfig>, IEquatable<VpcPeeringConfig>, IDeepCloneable<VpcPeeringConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Database Migration v1 API class VpcPeeringConfig.
The VPC peering configuration is used to create VPC peering with the
consumer's 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 documentation details the \u003ccode\u003eVpcPeeringConfig\u003c/code\u003e class within the Google Cloud Database Migration v1 API, used for configuring VPC peering with a consumer's VPC.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this API class is version 2.5.0, with previous versions back to 1.0.0 available for review and reference.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eVpcPeeringConfig\u003c/code\u003e class has two constructors, one default and another allowing cloning from an existing \u003ccode\u003eVpcPeeringConfig\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eVpcPeeringConfig\u003c/code\u003e include \u003ccode\u003eSubnet\u003c/code\u003e, which requires a free subnet for peering (CIDR of /29), and \u003ccode\u003eVpcName\u003c/code\u003e, which requires the fully qualified name of the VPC to peer with.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits members like \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,[]]