Class: Google::Apis::ComputeAlpha::HaControllersScopedList

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ HaControllersScopedList

Returns a new instance of HaControllersScopedList.



21433
21434
21435
# File 'lib/google/apis/compute_alpha/classes.rb', line 21433

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

Instance Attribute Details

#ha_controllersArray<Google::Apis::ComputeAlpha::HaController>

List of HaControllers contained in this scope. Corresponds to the JSON property haControllers



21425
21426
21427
# File 'lib/google/apis/compute_alpha/classes.rb', line 21425

def ha_controllers
  @ha_controllers
end

#warningGoogle::Apis::ComputeAlpha::HaControllersScopedList::Warning

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



21431
21432
21433
# File 'lib/google/apis/compute_alpha/classes.rb', line 21431

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



21438
21439
21440
21441
# File 'lib/google/apis/compute_alpha/classes.rb', line 21438

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