Class: Google::Apis::ComputeV1::HealthSourcesScopedList
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::HealthSourcesScopedList
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/representations.rb
Defined Under Namespace
Classes: Warning
Instance Attribute Summary collapse
-
#health_sources ⇒ Array<Google::Apis::ComputeV1::HealthSource>
A list of HealthSources contained in this scope.
-
#warning ⇒ Google::Apis::ComputeV1::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.
18615 18616 18617 |
# File 'lib/google/apis/compute_v1/classes.rb', line 18615 def initialize(**args) update!(**args) end |
Instance Attribute Details
#health_sources ⇒ Array<Google::Apis::ComputeV1::HealthSource>
A list of HealthSources contained in this scope.
Corresponds to the JSON property healthSources
18607 18608 18609 |
# File 'lib/google/apis/compute_v1/classes.rb', line 18607 def health_sources @health_sources end |
#warning ⇒ Google::Apis::ComputeV1::HealthSourcesScopedList::Warning
Informational warning which replaces the list of
health sources when the list is empty.
Corresponds to the JSON property warning
18613 18614 18615 |
# File 'lib/google/apis/compute_v1/classes.rb', line 18613 def warning @warning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18620 18621 18622 18623 |
# File 'lib/google/apis/compute_v1/classes.rb', line 18620 def update!(**args) @health_sources = args[:health_sources] if args.key?(:health_sources) @warning = args[:warning] if args.key?(:warning) end |