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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ VpnGatewayStatus

Returns a new instance of VpnGatewayStatus.



34041
34042
34043
# File 'generated/google/apis/compute_beta/classes.rb', line 34041

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

Instance Attribute Details

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

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



34039
34040
34041
# File 'generated/google/apis/compute_beta/classes.rb', line 34039

def vpn_connections
  @vpn_connections
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



34046
34047
34048
# File 'generated/google/apis/compute_beta/classes.rb', line 34046

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