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.
12728 12729 12730 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 12728 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
12720 12721 12722 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 12720 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
12726 12727 12728 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 12726 def warning @warning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12733 12734 12735 12736 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 12733 def update!(**args) @resources = args[:resources] if args.key?(:resources) @warning = args[:warning] if args.key?(:warning) end |