Class: Google::Apis::ComputeAlpha::HealthCheckServicesScopedList
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::HealthCheckServicesScopedList
- 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
-
#resources ⇒ Array<Google::Apis::ComputeAlpha::HealthCheckService>
A list of HealthCheckServices contained in this scope.
-
#warning ⇒ Google::Apis::ComputeAlpha::HealthCheckServicesScopedList::Warning
Informational warning which replaces the list of backend services when the list is empty.
Instance Method Summary collapse
-
#initialize(**args) ⇒ HealthCheckServicesScopedList
constructor
A new instance of HealthCheckServicesScopedList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ HealthCheckServicesScopedList
Returns a new instance of HealthCheckServicesScopedList.
13650 13651 13652 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 13650 def initialize(**args) update!(**args) end |
Instance Attribute Details
#resources ⇒ Array<Google::Apis::ComputeAlpha::HealthCheckService>
A list of HealthCheckServices contained in this scope.
Corresponds to the JSON property resources
13642 13643 13644 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 13642 def resources @resources end |
#warning ⇒ Google::Apis::ComputeAlpha::HealthCheckServicesScopedList::Warning
Informational warning which replaces the list of backend services when the
list is empty.
Corresponds to the JSON property warning
13648 13649 13650 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 13648 def warning @warning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13655 13656 13657 13658 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 13655 def update!(**args) @resources = args[:resources] if args.key?(:resources) @warning = args[:warning] if args.key?(:warning) end |