Class: Google::Apis::ComputeV1::VpnGatewayStatus

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/compute_v1/classes.rb,
generated/google/apis/compute_v1/representations.rb,
generated/google/apis/compute_v1/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.



30644
30645
30646
# File 'generated/google/apis/compute_v1/classes.rb', line 30644

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

Instance Attribute Details

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

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



30642
30643
30644
# File 'generated/google/apis/compute_v1/classes.rb', line 30642

def vpn_connections
  @vpn_connections
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



30649
30650
30651
# File 'generated/google/apis/compute_v1/classes.rb', line 30649

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