Class: Google::Apis::ComputeAlpha::VpnGatewayStatus
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::VpnGatewayStatus
- 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
Instance Attribute Summary collapse
-
#vpn_connections ⇒ Array<Google::Apis::ComputeAlpha::VpnGatewayStatusVpnConnection>
List of VPN connection for this VpnGateway.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VpnGatewayStatus
constructor
A new instance of VpnGatewayStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VpnGatewayStatus
Returns a new instance of VpnGatewayStatus.
51309 51310 51311 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 51309 def initialize(**args) update!(**args) end |
Instance Attribute Details
#vpn_connections ⇒ Array<Google::Apis::ComputeAlpha::VpnGatewayStatusVpnConnection>
List of VPN connection for this VpnGateway.
Corresponds to the JSON property vpnConnections
51307 51308 51309 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 51307 def vpn_connections @vpn_connections end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
51314 51315 51316 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 51314 def update!(**args) @vpn_connections = args[:vpn_connections] if args.key?(:vpn_connections) end |