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
- (::Google::Cloud::Compute::V1::VpnGatewayStatusHighAvailabilityRequirementState) — HighAvailabilityRequirementState for the VPN connection.
#state=
def state=(value) -> ::Google::Cloud::Compute::V1::VpnGatewayStatusHighAvailabilityRequirementState
Parameter
- value (::Google::Cloud::Compute::V1::VpnGatewayStatusHighAvailabilityRequirementState) — HighAvailabilityRequirementState for the VPN connection.
Returns
- (::Google::Cloud::Compute::V1::VpnGatewayStatusHighAvailabilityRequirementState) — HighAvailabilityRequirementState for the VPN connection.
#tunnels
def tunnels() -> ::Array<::Google::Cloud::Compute::V1::VpnGatewayStatusTunnel>
Returns
- (::Array<::Google::Cloud::Compute::V1::VpnGatewayStatusTunnel>) — List of VPN tunnels that are in this VPN connection.
#tunnels=
def tunnels=(value) -> ::Array<::Google::Cloud::Compute::V1::VpnGatewayStatusTunnel>
Parameter
- value (::Array<::Google::Cloud::Compute::V1::VpnGatewayStatusTunnel>) — List of VPN tunnels that are in this VPN connection.
Returns
- (::Array<::Google::Cloud::Compute::V1::VpnGatewayStatusTunnel>) — List of VPN tunnels that are in this VPN connection.