Class: Google::Apis::ComputeBeta::VpnGatewayStatusVpnConnection
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::VpnGatewayStatusVpnConnection
- Defined in:
- generated/google/apis/compute_beta/classes.rb,
generated/google/apis/compute_beta/representations.rb,
generated/google/apis/compute_beta/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 a external VPN gateway or GCP 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::ComputeBeta::VpnGatewayStatusHighAvailabilityRequirementState
Describes the high availability requirement state for the VPN connection between this Cloud VPN gateway and a peer gateway.
-
#tunnels ⇒ Array<Google::Apis::ComputeBeta::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.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ VpnGatewayStatusVpnConnection
Returns a new instance of VpnGatewayStatusVpnConnection.
34143 34144 34145 |
# File 'generated/google/apis/compute_beta/classes.rb', line 34143 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
34123 34124 34125 |
# File 'generated/google/apis/compute_beta/classes.rb', line 34123 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
34130 34131 34132 |
# File 'generated/google/apis/compute_beta/classes.rb', line 34130 def peer_gcp_gateway @peer_gcp_gateway end |
#state ⇒ Google::Apis::ComputeBeta::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
34136 34137 34138 |
# File 'generated/google/apis/compute_beta/classes.rb', line 34136 def state @state end |
#tunnels ⇒ Array<Google::Apis::ComputeBeta::VpnGatewayStatusTunnel>
List of VPN tunnels that are in this VPN connection.
Corresponds to the JSON property tunnels
34141 34142 34143 |
# File 'generated/google/apis/compute_beta/classes.rb', line 34141 def tunnels @tunnels end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
34148 34149 34150 34151 34152 34153 |
# File 'generated/google/apis/compute_beta/classes.rb', line 34148 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 |