Class: Google::Apis::ComputeAlpha::InstanceGroupManagerResizeRequestStatus
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::InstanceGroupManagerResizeRequestStatus
- 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
-
#error ⇒ Google::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.
-
#last_attempt ⇒ Google::Apis::ComputeAlpha::InstanceGroupManagerResizeRequestStatusLastAttempt
[Output only] Information about the last attempt to fulfill the request.
-
#queuing_policy ⇒ Google::Apis::ComputeAlpha::QueuingPolicy
Queuing parameters for the requested deferred capacity.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InstanceGroupManagerResizeRequestStatus
constructor
A new instance of InstanceGroupManagerResizeRequestStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InstanceGroupManagerResizeRequestStatus
Returns a new instance of InstanceGroupManagerResizeRequestStatus.
17939 17940 17941 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 17939 def initialize(**args) update!(**args) end |
Instance Attribute Details
#error ⇒ Google::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.
Contrary to the last_attempt errors, this field is final and errors are never
removed from here, as the ResizeRequest is not going to retry.
Corresponds to the JSON property error
17920 17921 17922 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 17920 def error @error end |
#last_attempt ⇒ Google::Apis::ComputeAlpha::InstanceGroupManagerResizeRequestStatusLastAttempt
[Output only] Information about the last attempt to fulfill the request. The
value is temporary since the ResizeRequest can retry, as long as it's still
active and the last attempt value can either be cleared or replaced with a
different error. Since ResizeRequest retries infrequently, the value may be
stale and no longer show an active problem. The value is cleared when
ResizeRequest transitions to the final state (becomes inactive). If the final
state is FAILED the error describing it will be storred in the "error" field
only.
Corresponds to the JSON property lastAttempt
17932 17933 17934 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 17932 def last_attempt @last_attempt end |
#queuing_policy ⇒ Google::Apis::ComputeAlpha::QueuingPolicy
Queuing parameters for the requested deferred capacity.
Corresponds to the JSON property queuingPolicy
17937 17938 17939 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 17937 def queuing_policy @queuing_policy end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17944 17945 17946 17947 17948 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 17944 def update!(**args) @error = args[:error] if args.key?(:error) @last_attempt = args[:last_attempt] if args.key?(:last_attempt) @queuing_policy = args[:queuing_policy] if args.key?(:queuing_policy) end |