Class: Google::Apis::ComputeAlpha::QueuedResourcesScopedList

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ QueuedResourcesScopedList

Returns a new instance of QueuedResourcesScopedList.



35213
35214
35215
# File 'lib/google/apis/compute_alpha/classes.rb', line 35213

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#queued_resourcesArray<Google::Apis::ComputeAlpha::QueuedResource>

List of QueuedResources contained in this scope. Corresponds to the JSON property queuedResources



35205
35206
35207
# File 'lib/google/apis/compute_alpha/classes.rb', line 35205

def queued_resources
  @queued_resources
end

#warningGoogle::Apis::ComputeAlpha::QueuedResourcesScopedList::Warning

Informational warning which replaces the list of backend services when the list is empty. Corresponds to the JSON property warning



35211
35212
35213
# File 'lib/google/apis/compute_alpha/classes.rb', line 35211

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



35218
35219
35220
35221
# File 'lib/google/apis/compute_alpha/classes.rb', line 35218

def update!(**args)
  @queued_resources = args[:queued_resources] if args.key?(:queued_resources)
  @warning = args[:warning] if args.key?(:warning)
end