Class: Google::Apis::ComputeAlpha::VpnGatewayStatus

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VpnGatewayStatus

Returns a new instance of VpnGatewayStatus.



48989
48990
48991
# File 'lib/google/apis/compute_alpha/classes.rb', line 48989

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#vpn_connectionsArray<Google::Apis::ComputeAlpha::VpnGatewayStatusVpnConnection>

List of VPN connection for this VpnGateway. Corresponds to the JSON property vpnConnections



48987
48988
48989
# File 'lib/google/apis/compute_alpha/classes.rb', line 48987

def vpn_connections
  @vpn_connections
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



48994
48995
48996
# File 'lib/google/apis/compute_alpha/classes.rb', line 48994

def update!(**args)
  @vpn_connections = args[:vpn_connections] if args.key?(:vpn_connections)
end