class Google::Apis::ComputeV1::ExternalVpnGatewayInterface
The interface for the external VPN gateway.
Attributes
id[RW]
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 Corresponds to the JSON property `id` @return [Fixnum]
ip_address[RW]
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. Corresponds to the JSON property `ipAddress` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 7481 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/compute_v1/classes.rb, line 7486 def update!(**args) @id = args[:id] if args.key?(:id) @ip_address = args[:ip_address] if args.key?(:ip_address) end