Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::VpnGatewayStatusVpnConnection (v2.1.0)

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

A VPN connection contains all VPN tunnels connected from this VpnGateway to the same peer gateway. The peer gateway could either be a external VPN gateway or GCP VPN gateway.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#peer_external_gateway

def peer_external_gateway() -> ::String
Returns
  • (::String) — URL reference to the peer external VPN gateways to which the VPN tunnels in this VPN connection are connected. This field is mutually exclusive with peer_gcp_gateway.

#peer_external_gateway=

def peer_external_gateway=(value) -> ::String
Parameter
  • value (::String) — URL reference to the peer external VPN gateways to which the VPN tunnels in this VPN connection are connected. This field is mutually exclusive with peer_gcp_gateway.
Returns
  • (::String) — URL reference to the peer external VPN gateways to which the VPN tunnels in this VPN connection are connected. This field is mutually exclusive with peer_gcp_gateway.

#peer_gcp_gateway

def peer_gcp_gateway() -> ::String
Returns
  • (::String) — URL reference to the peer side VPN gateways to which the VPN tunnels in this VPN connection are connected. This field is mutually exclusive with peer_gcp_gateway.

#peer_gcp_gateway=

def peer_gcp_gateway=(value) -> ::String
Parameter
  • value (::String) — URL reference to the peer side VPN gateways to which the VPN tunnels in this VPN connection are connected. This field is mutually exclusive with peer_gcp_gateway.
Returns
  • (::String) — URL reference to the peer side VPN gateways to which the VPN tunnels in this VPN connection are connected. This field is mutually exclusive with peer_gcp_gateway.

#state

def state() -> ::Google::Cloud::Compute::V1::VpnGatewayStatusHighAvailabilityRequirementState
Returns

#state=

def state=(value) -> ::Google::Cloud::Compute::V1::VpnGatewayStatusHighAvailabilityRequirementState
Parameter
Returns

#tunnels

def tunnels() -> ::Array<::Google::Cloud::Compute::V1::VpnGatewayStatusTunnel>
Returns

#tunnels=

def tunnels=(value) -> ::Array<::Google::Cloud::Compute::V1::VpnGatewayStatusTunnel>
Parameter
Returns