Class: Google::Apis::ComputeAlpha::VpnGatewayStatusVpnConnection
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::VpnGatewayStatusVpnConnection
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb
Overview
A VPN connection contains all VPN tunnels connected from this VpnGateway to the same peer gateway. The peer gateway could either be an external VPN gateway or a Google Cloud VPN gateway.
Instance Attribute Summary collapse
-
#peer_external_gateway ⇒ String
URL reference to the peer external VPN gateways to which the VPN tunnels in this VPN connection are connected.
-
#peer_gcp_gateway ⇒ String
URL reference to the peer side VPN gateways to which the VPN tunnels in this VPN connection are connected.
-
#state ⇒ Google::Apis::ComputeAlpha::VpnGatewayStatusHighAvailabilityRequirementState
Describes the high availability requirement state for the VPN connection between this Cloud VPN gateway and a peer gateway.
-
#tunnels ⇒ Array<Google::Apis::ComputeAlpha::VpnGatewayStatusTunnel>
List of VPN tunnels that are in this VPN connection.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VpnGatewayStatusVpnConnection
constructor
A new instance of VpnGatewayStatusVpnConnection.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VpnGatewayStatusVpnConnection
Returns a new instance of VpnGatewayStatusVpnConnection.
54947 54948 54949 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 54947 def initialize(**args) update!(**args) end |
Instance Attribute Details
#peer_external_gateway ⇒ 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.
Corresponds to the JSON property peerExternalGateway
54927 54928 54929 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 54927 def peer_external_gateway @peer_external_gateway end |
#peer_gcp_gateway ⇒ 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
54934 54935 54936 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 54934 def peer_gcp_gateway @peer_gcp_gateway end |
#state ⇒ Google::Apis::ComputeAlpha::VpnGatewayStatusHighAvailabilityRequirementState
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
54940 54941 54942 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 54940 def state @state end |
#tunnels ⇒ Array<Google::Apis::ComputeAlpha::VpnGatewayStatusTunnel>
List of VPN tunnels that are in this VPN connection.
Corresponds to the JSON property tunnels
54945 54946 54947 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 54945 def tunnels @tunnels end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
54952 54953 54954 54955 54956 54957 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 54952 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 |