Compute Engine v1 API - Class ExternalVpnGatewayInterface (3.2.0)

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 interface for the external VPN gateway.

Inheritance

object > ExternalVpnGatewayInterface

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

ExternalVpnGatewayInterface()

public ExternalVpnGatewayInterface()

ExternalVpnGatewayInterface(ExternalVpnGatewayInterface)

public ExternalVpnGatewayInterface(ExternalVpnGatewayInterface other)
Parameter
Name Description
other ExternalVpnGatewayInterface

Properties

HasId

public bool HasId { get; }

Gets whether the "id" field is set

Property Value
Type Description
bool

HasIpAddress

public bool HasIpAddress { get; }

Gets whether the "ip_address" field is set

Property Value
Type Description
bool

HasIpv6Address

public bool HasIpv6Address { get; }

Gets whether the "ipv6_address" field is set

Property Value
Type Description
bool

Id

public uint Id { get; set; }

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

Property Value
Type Description
uint

IpAddress

public string IpAddress { get; set; }

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.

Property Value
Type Description
string

Ipv6Address

public string Ipv6Address { get; set; }

IPv6 address of the interface in the external VPN gateway. This IPv6 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. Must specify an IPv6 address (not IPV4-mapped) using any format described in RFC 4291 (e.g. 2001:db8:0:0:2d9:51:0:0). The output format is RFC 5952 format (e.g. 2001:db8::2d9:51:0:0).

Property Value
Type Description
string