Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::VpnGatewayStatusTunnel (v2.0.0)

Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::VpnGatewayStatusTunnel.

Contains some information about a VPN tunnel.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#local_gateway_interface

def local_gateway_interface() -> ::Integer
Returns
  • (::Integer) — The VPN gateway interface this VPN tunnel is associated with.

#local_gateway_interface=

def local_gateway_interface=(value) -> ::Integer
Parameter
  • value (::Integer) — The VPN gateway interface this VPN tunnel is associated with.
Returns
  • (::Integer) — The VPN gateway interface this VPN tunnel is associated with.

#peer_gateway_interface

def peer_gateway_interface() -> ::Integer
Returns
  • (::Integer) — The peer gateway interface this VPN tunnel is connected to, the peer gateway could either be an external VPN gateway or GCP VPN gateway.

#peer_gateway_interface=

def peer_gateway_interface=(value) -> ::Integer
Parameter
  • value (::Integer) — The peer gateway interface this VPN tunnel is connected to, the peer gateway could either be an external VPN gateway or GCP VPN gateway.
Returns
  • (::Integer) — The peer gateway interface this VPN tunnel is connected to, the peer gateway could either be an external VPN gateway or GCP VPN gateway.

#tunnel_url

def tunnel_url() -> ::String
Returns
  • (::String) — URL reference to the VPN tunnel.

#tunnel_url=

def tunnel_url=(value) -> ::String
Parameter
  • value (::String) — URL reference to the VPN tunnel.
Returns
  • (::String) — URL reference to the VPN tunnel.