Class: Google::Apis::ComputeAlpha::InstanceGroupManagerResizeRequestStatus

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: Error

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InstanceGroupManagerResizeRequestStatus

Returns a new instance of InstanceGroupManagerResizeRequestStatus.



17823
17824
17825
# File 'lib/google/apis/compute_alpha/classes.rb', line 17823

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

Instance Attribute Details

#errorGoogle::Apis::ComputeAlpha::InstanceGroupManagerResizeRequestStatus::Error

[Output only] Fatal errors encountered during the queueing or provisioning phases of the ResizeRequest that caused the transition to the FAILED state. As a contrary to the last_attempt errors, this field is final and errors are never removed from here, as the RR is not going to retry. Corresponds to the JSON property error



17816
17817
17818
# File 'lib/google/apis/compute_alpha/classes.rb', line 17816

def error
  @error
end

#queuing_policyGoogle::Apis::ComputeAlpha::QueuingPolicy

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



17821
17822
17823
# File 'lib/google/apis/compute_alpha/classes.rb', line 17821

def queuing_policy
  @queuing_policy
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17828
17829
17830
17831
# File 'lib/google/apis/compute_alpha/classes.rb', line 17828

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