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



31046
31047
31048
# File 'generated/google/apis/compute_beta/classes.rb', line 31046

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



31044
31045
31046
# File 'generated/google/apis/compute_beta/classes.rb', line 31044

def vpn_connections
  @vpn_connections
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



31051
31052
31053
# File 'generated/google/apis/compute_beta/classes.rb', line 31051

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