Class: Google::Apis::ComputeV1::InstancesReportHostAsFaultyRequestFaultReason
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::InstancesReportHostAsFaultyRequestFaultReason
- 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
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.
23091 23092 23093 |
# File 'lib/google/apis/compute_v1/classes.rb', line 23091 def initialize(**args) update!(**args) end |
Instance Attribute Details
#behavior ⇒ String
Corresponds to the JSON property behavior
23084 23085 23086 |
# File 'lib/google/apis/compute_v1/classes.rb', line 23084 def behavior @behavior end |
#description ⇒ String
Corresponds to the JSON property description
23089 23090 23091 |
# File 'lib/google/apis/compute_v1/classes.rb', line 23089 def description @description end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
23096 23097 23098 23099 |
# File 'lib/google/apis/compute_v1/classes.rb', line 23096 def update!(**args) @behavior = args[:behavior] if args.key?(:behavior) @description = args[:description] if args.key?(:description) end |