Class: Google::Apis::ComputeV1::InstanceGroupManagerResizeRequestStatus
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::InstanceGroupManagerResizeRequestStatus
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/representations.rb
Defined Under Namespace
Classes: Error
Instance Attribute Summary collapse
-
#error ⇒ Google::Apis::ComputeV1::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::ComputeV1::InstanceGroupManagerResizeRequestStatusLastAttempt
[Output only] Information about the last attempt to fulfill the request.
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.
16197 16198 16199 |
# File 'lib/google/apis/compute_v1/classes.rb', line 16197 def initialize(**args) update!(**args) end |
Instance Attribute Details
#error ⇒ Google::Apis::ComputeV1::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
16183 16184 16185 |
# File 'lib/google/apis/compute_v1/classes.rb', line 16183 def error @error end |
#last_attempt ⇒ Google::Apis::ComputeV1::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
16195 16196 16197 |
# File 'lib/google/apis/compute_v1/classes.rb', line 16195 def last_attempt @last_attempt end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16202 16203 16204 16205 |
# File 'lib/google/apis/compute_v1/classes.rb', line 16202 def update!(**args) @error = args[:error] if args.key?(:error) @last_attempt = args[:last_attempt] if args.key?(:last_attempt) end |