class Google::Apis::ComputeV1::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.
Attributes
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. Corresponds to the JSON property `peerExternalGateway` @return [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. Corresponds to the JSON property `peerGcpGateway` @return [String]
Describes the high availability requirement state for the VPN connection between this Cloud VPN gateway and a peer gateway. Corresponds to the JSON property `state` @return [Google::Apis::ComputeV1::VpnGatewayStatusHighAvailabilityRequirementState]
List of VPN tunnels that are in this VPN connection. Corresponds to the JSON property `tunnels` @return [Array<Google::Apis::ComputeV1::VpnGatewayStatusTunnel>]
Public Class Methods
# File lib/google/apis/compute_v1/classes.rb, line 41199 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/compute_v1/classes.rb, line 41204 def update!(**args) @peer_external_gateway = args[:peer_external_gateway] if args.key?(:peer_external_gateway) @peer_gcp_gateway = args[:peer_gcp_gateway] if args.key?(:peer_gcp_gateway) @state = args[:state] if args.key?(:state) @tunnels = args[:tunnels] if args.key?(:tunnels) end