Class: Google::Apis::ComputeAlpha::InstancesReportHostAsFaultyRequestFaultReason
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::InstancesReportHostAsFaultyRequestFaultReason
- 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
-
#behavior ⇒ String
Corresponds to the JSON property
behavior. -
#description ⇒ String
Corresponds to the JSON property
description.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InstancesReportHostAsFaultyRequestFaultReason
constructor
A new instance of InstancesReportHostAsFaultyRequestFaultReason.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InstancesReportHostAsFaultyRequestFaultReason
Returns a new instance of InstancesReportHostAsFaultyRequestFaultReason.
31174 31175 31176 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 31174 def initialize(**args) update!(**args) end |
Instance Attribute Details
#behavior ⇒ String
Corresponds to the JSON property behavior
31167 31168 31169 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 31167 def behavior @behavior end |
#description ⇒ String
Corresponds to the JSON property description
31172 31173 31174 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 31172 def description @description end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
31179 31180 31181 31182 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 31179 def update!(**args) @behavior = args[:behavior] if args.key?(:behavior) @description = args[:description] if args.key?(:description) end |