Class: Google::Apis::ComputeAlpha::HaControllersScopedList
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::HaControllersScopedList
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb
Defined Under Namespace
Classes: Warning
Instance Attribute Summary collapse
-
#ha_controllers ⇒ Array<Google::Apis::ComputeAlpha::HaController>
List of HaControllers contained in this scope.
-
#warning ⇒ Google::Apis::ComputeAlpha::HaControllersScopedList::Warning
Informational warning which replaces the list of backend services when the list is empty.
Instance Method Summary collapse
-
#initialize(**args) ⇒ HaControllersScopedList
constructor
A new instance of HaControllersScopedList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ HaControllersScopedList
Returns a new instance of HaControllersScopedList.
20152 20153 20154 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 20152 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ha_controllers ⇒ Array<Google::Apis::ComputeAlpha::HaController>
List of HaControllers contained in this scope.
Corresponds to the JSON property haControllers
20144 20145 20146 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 20144 def ha_controllers @ha_controllers end |
#warning ⇒ Google::Apis::ComputeAlpha::HaControllersScopedList::Warning
Informational warning which replaces the list of
backend services when the list is empty.
Corresponds to the JSON property warning
20150 20151 20152 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 20150 def warning @warning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
20157 20158 20159 20160 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 20157 def update!(**args) @ha_controllers = args[:ha_controllers] if args.key?(:ha_controllers) @warning = args[:warning] if args.key?(:warning) end |