Class: Google::Apis::ComputeAlpha::TargetVpnGatewaysScopedList

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

Defined Under Namespace

Classes: Warning

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) ⇒ TargetVpnGatewaysScopedList

Returns a new instance of TargetVpnGatewaysScopedList



29046
29047
29048
# File 'generated/google/apis/compute_alpha/classes.rb', line 29046

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

Instance Attribute Details

#target_vpn_gatewaysArray<Google::Apis::ComputeAlpha::TargetVpnGateway>

[Output Only] A list of target vpn gateways contained in this scope. Corresponds to the JSON property targetVpnGateways



29038
29039
29040
# File 'generated/google/apis/compute_alpha/classes.rb', line 29038

def target_vpn_gateways
  @target_vpn_gateways
end

#warningGoogle::Apis::ComputeAlpha::TargetVpnGatewaysScopedList::Warning

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



29044
29045
29046
# File 'generated/google/apis/compute_alpha/classes.rb', line 29044

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



29051
29052
29053
29054
# File 'generated/google/apis/compute_alpha/classes.rb', line 29051

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