Class: Google::Apis::ComputeBeta::InstancesReportHostAsFaultyRequestFaultReason
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::InstancesReportHostAsFaultyRequestFaultReason
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/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.
26638 26639 26640 |
# File 'lib/google/apis/compute_beta/classes.rb', line 26638 def initialize(**args) update!(**args) end |
Instance Attribute Details
#behavior ⇒ String
Corresponds to the JSON property behavior
26631 26632 26633 |
# File 'lib/google/apis/compute_beta/classes.rb', line 26631 def behavior @behavior end |
#description ⇒ String
Corresponds to the JSON property description
26636 26637 26638 |
# File 'lib/google/apis/compute_beta/classes.rb', line 26636 def description @description end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
26643 26644 26645 26646 |
# File 'lib/google/apis/compute_beta/classes.rb', line 26643 def update!(**args) @behavior = args[:behavior] if args.key?(:behavior) @description = args[:description] if args.key?(:description) end |