Class: Google::Apis::ComputeAlpha::BackendServicesScopedList
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::BackendServicesScopedList
- 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
-
#backend_services ⇒ Array<Google::Apis::ComputeAlpha::BackendService>
A list of BackendServices contained in this scope.
-
#warning ⇒ Google::Apis::ComputeAlpha::BackendServicesScopedList::Warning
Informational warning which replaces the list of backend services when the list is empty.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BackendServicesScopedList
constructor
A new instance of BackendServicesScopedList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BackendServicesScopedList
Returns a new instance of BackendServicesScopedList.
5571 5572 5573 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 5571 def initialize(**args) update!(**args) end |
Instance Attribute Details
#backend_services ⇒ Array<Google::Apis::ComputeAlpha::BackendService>
A list of BackendServices contained in this scope.
Corresponds to the JSON property backendServices
5563 5564 5565 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 5563 def backend_services @backend_services end |
#warning ⇒ Google::Apis::ComputeAlpha::BackendServicesScopedList::Warning
Informational warning which replaces the list of backend services when the
list is empty.
Corresponds to the JSON property warning
5569 5570 5571 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 5569 def warning @warning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5576 5577 5578 5579 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 5576 def update!(**args) @backend_services = args[:backend_services] if args.key?(:backend_services) @warning = args[:warning] if args.key?(:warning) end |