Class: Google::Apis::ComputeBeta::VpnGatewaysScopedList
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::VpnGatewaysScopedList
- 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
Defined Under Namespace
Classes: Warning
Instance Attribute Summary collapse
-
#vpn_gateways ⇒ Array<Google::Apis::ComputeBeta::VpnGateway>
[Output Only] A list of VPN gateways contained in this scope.
-
#warning ⇒ Google::Apis::ComputeBeta::VpnGatewaysScopedList::Warning
[Output Only] Informational warning which replaces the list of addresses when the list is empty.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VpnGatewaysScopedList
constructor
A new instance of VpnGatewaysScopedList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VpnGatewaysScopedList
Returns a new instance of VpnGatewaysScopedList.
37190 37191 37192 |
# File 'generated/google/apis/compute_beta/classes.rb', line 37190 def initialize(**args) update!(**args) end |
Instance Attribute Details
#vpn_gateways ⇒ Array<Google::Apis::ComputeBeta::VpnGateway>
[Output Only] A list of VPN gateways contained in this scope.
Corresponds to the JSON property vpnGateways
37182 37183 37184 |
# File 'generated/google/apis/compute_beta/classes.rb', line 37182 def vpn_gateways @vpn_gateways end |
#warning ⇒ Google::Apis::ComputeBeta::VpnGatewaysScopedList::Warning
[Output Only] Informational warning which replaces the list of addresses when
the list is empty.
Corresponds to the JSON property warning
37188 37189 37190 |
# File 'generated/google/apis/compute_beta/classes.rb', line 37188 def warning @warning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
37195 37196 37197 37198 |
# File 'generated/google/apis/compute_beta/classes.rb', line 37195 def update!(**args) @vpn_gateways = args[:vpn_gateways] if args.key?(:vpn_gateways) @warning = args[:warning] if args.key?(:warning) end |