Class: Google::Apis::ComputeAlpha::ResourceStatusLastInstanceTerminationDetails
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::ResourceStatusLastInstanceTerminationDetails
- 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
-
#termination_reason ⇒ String
Reason for termination Corresponds to the JSON property
terminationReason
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ResourceStatusLastInstanceTerminationDetails
constructor
A new instance of ResourceStatusLastInstanceTerminationDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ResourceStatusLastInstanceTerminationDetails
Returns a new instance of ResourceStatusLastInstanceTerminationDetails.
39384 39385 39386 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 39384 def initialize(**args) update!(**args) end |
Instance Attribute Details
#termination_reason ⇒ String
Reason for termination
Corresponds to the JSON property terminationReason
39382 39383 39384 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 39382 def termination_reason @termination_reason end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
39389 39390 39391 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 39389 def update!(**args) @termination_reason = args[:termination_reason] if args.key?(:termination_reason) end |