Class: Google::Apis::ComputeBeta::VpnGatewayStatus

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VpnGatewayStatus

Returns a new instance of VpnGatewayStatus.



73520
73521
73522
# File 'lib/google/apis/compute_beta/classes.rb', line 73520

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

Instance Attribute Details

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

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



73518
73519
73520
# File 'lib/google/apis/compute_beta/classes.rb', line 73518

def vpn_connections
  @vpn_connections
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



73525
73526
73527
# File 'lib/google/apis/compute_beta/classes.rb', line 73525

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