Class: Google::Apis::ComputeV1::VpnTunnelsScopedList

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

Defined Under Namespace

Classes: Warning

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VpnTunnelsScopedList

Returns a new instance of VpnTunnelsScopedList.



41505
41506
41507
# File 'lib/google/apis/compute_v1/classes.rb', line 41505

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

Instance Attribute Details

#vpn_tunnelsArray<Google::Apis::ComputeV1::VpnTunnel>

A list of VPN tunnels contained in this scope. Corresponds to the JSON property vpnTunnels



41497
41498
41499
# File 'lib/google/apis/compute_v1/classes.rb', line 41497

def vpn_tunnels
  @vpn_tunnels
end

#warningGoogle::Apis::ComputeV1::VpnTunnelsScopedList::Warning

Informational warning which replaces the list of addresses when the list is empty. Corresponds to the JSON property warning



41503
41504
41505
# File 'lib/google/apis/compute_v1/classes.rb', line 41503

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



41510
41511
41512
41513
# File 'lib/google/apis/compute_v1/classes.rb', line 41510

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