Class: Google::Apis::ComputeBeta::HealthCheckServicesScopedList
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::HealthCheckServicesScopedList
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/representations.rb
Defined Under Namespace
Classes: Warning
Instance Attribute Summary collapse
-
#resources ⇒ Array<Google::Apis::ComputeBeta::HealthCheckService>
A list of HealthCheckServices contained in this scope.
-
#warning ⇒ Google::Apis::ComputeBeta::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.
18853 18854 18855 |
# File 'lib/google/apis/compute_beta/classes.rb', line 18853 def initialize(**args) update!(**args) end |
Instance Attribute Details
#resources ⇒ Array<Google::Apis::ComputeBeta::HealthCheckService>
A list of HealthCheckServices contained in this scope.
Corresponds to the JSON property resources
18845 18846 18847 |
# File 'lib/google/apis/compute_beta/classes.rb', line 18845 def resources @resources end |
#warning ⇒ Google::Apis::ComputeBeta::HealthCheckServicesScopedList::Warning
Informational warning which replaces the list of
backend services when the list is empty.
Corresponds to the JSON property warning
18851 18852 18853 |
# File 'lib/google/apis/compute_beta/classes.rb', line 18851 def warning @warning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18858 18859 18860 18861 |
# File 'lib/google/apis/compute_beta/classes.rb', line 18858 def update!(**args) @resources = args[:resources] if args.key?(:resources) @warning = args[:warning] if args.key?(:warning) end |