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.
44630 44631 44632 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 44630 def initialize(**args) update!(**args) end |
Instance Attribute Details
#termination_reason ⇒ String
Reason for termination
Corresponds to the JSON property terminationReason
44628 44629 44630 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 44628 def termination_reason @termination_reason end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
44635 44636 44637 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 44635 def update!(**args) @termination_reason = args[:termination_reason] if args.key?(:termination_reason) end |