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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VpnGatewayStatus

Returns a new instance of VpnGatewayStatus.



61127
61128
61129
# File 'lib/google/apis/compute_v1/classes.rb', line 61127

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

Instance Attribute Details

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

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



61125
61126
61127
# File 'lib/google/apis/compute_v1/classes.rb', line 61125

def vpn_connections
  @vpn_connections
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



61132
61133
61134
# File 'lib/google/apis/compute_v1/classes.rb', line 61132

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