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.
27524 27525 27526 |
# File 'lib/google/apis/compute_v1/classes.rb', line 27524 def initialize(**args) update!(**args) end |
Instance Attribute Details
#behavior ⇒ String
Corresponds to the JSON property behavior
27517 27518 27519 |
# File 'lib/google/apis/compute_v1/classes.rb', line 27517 def behavior @behavior end |
#description ⇒ String
Corresponds to the JSON property description
27522 27523 27524 |
# File 'lib/google/apis/compute_v1/classes.rb', line 27522 def description @description end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
27529 27530 27531 27532 |
# File 'lib/google/apis/compute_v1/classes.rb', line 27529 def update!(**args) @behavior = args[:behavior] if args.key?(:behavior) @description = args[:description] if args.key?(:description) end |