Class: Google::Apis::ComputeAlpha::HealthSourcesScopedList
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::HealthSourcesScopedList
- 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
-
#health_sources ⇒ Array<Google::Apis::ComputeAlpha::HealthSource>
A list of HealthSources contained in this scope.
-
#warning ⇒ Google::Apis::ComputeAlpha::HealthSourcesScopedList::Warning
Informational warning which replaces the list of health sources when the list is empty.
Instance Method Summary collapse
-
#initialize(**args) ⇒ HealthSourcesScopedList
constructor
A new instance of HealthSourcesScopedList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ HealthSourcesScopedList
Returns a new instance of HealthSourcesScopedList.
22903 22904 22905 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 22903 def initialize(**args) update!(**args) end |
Instance Attribute Details
#health_sources ⇒ Array<Google::Apis::ComputeAlpha::HealthSource>
A list of HealthSources contained in this scope.
Corresponds to the JSON property healthSources
22895 22896 22897 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 22895 def health_sources @health_sources end |
#warning ⇒ Google::Apis::ComputeAlpha::HealthSourcesScopedList::Warning
Informational warning which replaces the list of
health sources when the list is empty.
Corresponds to the JSON property warning
22901 22902 22903 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 22901 def warning @warning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
22908 22909 22910 22911 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 22908 def update!(**args) @health_sources = args[:health_sources] if args.key?(:health_sources) @warning = args[:warning] if args.key?(:warning) end |