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 \u003ccode\u003eExternalVpnGatewayInterface\u003c/code\u003e class in the Google.Cloud.Compute.V1 namespace defines an interface for external VPN gateways, implementing several interfaces like \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 latest version of the API available is 3.6.0, with versions ranging back to 1.0.0 available for the \u003ccode\u003eExternalVpnGatewayInterface\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties \u003ccode\u003eId\u003c/code\u003e (a numeric identifier) and \u003ccode\u003eIpAddress\u003c/code\u003e (an IPv4 address), both with corresponding \u003ccode\u003eHasId\u003c/code\u003e and \u003ccode\u003eHasIpAddress\u003c/code\u003e properties to check if they are set.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eExternalVpnGatewayInterface\u003c/code\u003e class can be constructed either with default values or by copying an existing \u003ccode\u003eExternalVpnGatewayInterface\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eId\u003c/code\u003e property supports specific numeric ranges based on the redundancy type of the external VPN gateway, such as 0 for \u003ccode\u003eSINGLE_IP_INTERNALLY_REDUNDANT\u003c/code\u003e, 0 and 1 for \u003ccode\u003eTWO_IPS_REDUNDANCY\u003c/code\u003e, and 0, 1, 2, and 3 for \u003ccode\u003eFOUR_IPS_REDUNDANCY\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]