Class: Google::Apis::ComputeAlpha::QueuedResourcesScopedList
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::QueuedResourcesScopedList
- 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
-
#queued_resources ⇒ Array<Google::Apis::ComputeAlpha::QueuedResource>
List of QueuedResources contained in this scope.
-
#warning ⇒ Google::Apis::ComputeAlpha::QueuedResourcesScopedList::Warning
Informational warning which replaces the list of backend services when the list is empty.
Instance Method Summary collapse
-
#initialize(**args) ⇒ QueuedResourcesScopedList
constructor
A new instance of QueuedResourcesScopedList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ QueuedResourcesScopedList
Returns a new instance of QueuedResourcesScopedList.
40120 40121 40122 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 40120 def initialize(**args) update!(**args) end |
Instance Attribute Details
#queued_resources ⇒ Array<Google::Apis::ComputeAlpha::QueuedResource>
List of QueuedResources contained in this scope.
Corresponds to the JSON property queuedResources
40112 40113 40114 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 40112 def queued_resources @queued_resources end |
#warning ⇒ Google::Apis::ComputeAlpha::QueuedResourcesScopedList::Warning
Informational warning which replaces the list of backend services when the
list is empty.
Corresponds to the JSON property warning
40118 40119 40120 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 40118 def warning @warning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
40125 40126 40127 40128 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 40125 def update!(**args) @queued_resources = args[:queued_resources] if args.key?(:queued_resources) @warning = args[:warning] if args.key?(:warning) end |