Class: Google::Apis::ComputeAlpha::QueuedResourceStatus

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ QueuedResourceStatus

Returns a new instance of QueuedResourceStatus.



39842
39843
39844
# File 'lib/google/apis/compute_alpha/classes.rb', line 39842

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

Instance Attribute Details

#failed_dataGoogle::Apis::ComputeAlpha::QueuedResourceStatusFailedData

Corresponds to the JSON property failedData



39830
39831
39832
# File 'lib/google/apis/compute_alpha/classes.rb', line 39830

def failed_data
  @failed_data
end

#provisioning_operationsArray<String>

Corresponds to the JSON property provisioningOperations

Returns:

  • (Array<String>)


39835
39836
39837
# File 'lib/google/apis/compute_alpha/classes.rb', line 39835

def provisioning_operations
  @provisioning_operations
end

#queuing_policyGoogle::Apis::ComputeAlpha::QueuingPolicy

Queuing parameters for the requested deferred capacity. Corresponds to the JSON property queuingPolicy



39840
39841
39842
# File 'lib/google/apis/compute_alpha/classes.rb', line 39840

def queuing_policy
  @queuing_policy
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



39847
39848
39849
39850
39851
# File 'lib/google/apis/compute_alpha/classes.rb', line 39847

def update!(**args)
  @failed_data = args[:failed_data] if args.key?(:failed_data)
  @provisioning_operations = args[:provisioning_operations] if args.key?(:provisioning_operations)
  @queuing_policy = args[:queuing_policy] if args.key?(:queuing_policy)
end