public sealed class ExternalVpnGatewayInterface : IMessage<ExternalVpnGatewayInterface>, IEquatable<ExternalVpnGatewayInterface>, IDeepCloneable<ExternalVpnGatewayInterface>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class ExternalVpnGatewayInterface.
The numeric ID of this interface. The allowed input values for this id for different redundancy types of external VPN gateway: - SINGLE_IP_INTERNALLY_REDUNDANT - 0 - TWO_IPS_REDUNDANCY - 0, 1 - FOUR_IPS_REDUNDANCY - 0, 1, 2, 3
IP address of the interface in the external VPN gateway. Only IPv4 is supported. This IP address can be either from your on-premise gateway or another Cloud provider's VPN gateway, it cannot be an IP address from Google Compute Engine.
[[["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-08 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eExternalVpnGatewayInterface\u003c/code\u003e is 3.6.0, but there are many versions available, including those from the 1.x and 2.x series, as low as 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eExternalVpnGatewayInterface\u003c/code\u003e class is part of the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace, found in the \u003ccode\u003eGoogle.Cloud.Compute.V1.dll\u003c/code\u003e assembly, and is used to define the interface for an external VPN gateway.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its role in message handling, comparison, deep cloning, and buffer management.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eExternalVpnGatewayInterface\u003c/code\u003e include \u003ccode\u003eId\u003c/code\u003e (a numeric interface identifier) and \u003ccode\u003eIpAddress\u003c/code\u003e (the IPv4 address of the interface), with boolean properties \u003ccode\u003eHasId\u003c/code\u003e and \u003ccode\u003eHasIpAddress\u003c/code\u003e used to check if the "id" and "ip_address" fields are set.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors \u003ccode\u003eExternalVpnGatewayInterface()\u003c/code\u003e and \u003ccode\u003eExternalVpnGatewayInterface(ExternalVpnGatewayInterface other)\u003c/code\u003e, the latter allowing for creating a new instance by copying properties from an existing \u003ccode\u003eExternalVpnGatewayInterface\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,[]]