class Google::Apis::ComputeV1::VpnGatewayStatusTunnel
Contains some information about a VPN tunnel.
Attributes
local_gateway_interface[RW]
The VPN gateway interface this VPN tunnel is associated with. Corresponds to the JSON property `localGatewayInterface` @return [Fixnum]
peer_gateway_interface[RW]
The peer gateway interface this VPN tunnel is connected to, the peer gateway could either be an external VPN gateway or GCP VPN gateway. Corresponds to the JSON property `peerGatewayInterface` @return [Fixnum]
tunnel_url[RW]
URL reference to the VPN tunnel. Corresponds to the JSON property `tunnelUrl` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 37005 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 37010 def update!(**args) @local_gateway_interface = args[:local_gateway_interface] if args.key?(:local_gateway_interface) @peer_gateway_interface = args[:peer_gateway_interface] if args.key?(:peer_gateway_interface) @tunnel_url = args[:tunnel_url] if args.key?(:tunnel_url) end