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.
27512 27513 27514 |
# File 'lib/google/apis/compute_v1/classes.rb', line 27512 def initialize(**args) update!(**args) end |
Instance Attribute Details
#behavior ⇒ String
Corresponds to the JSON property behavior
27505 27506 27507 |
# File 'lib/google/apis/compute_v1/classes.rb', line 27505 def behavior @behavior end |
#description ⇒ String
Corresponds to the JSON property description
27510 27511 27512 |
# File 'lib/google/apis/compute_v1/classes.rb', line 27510 def description @description end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
27517 27518 27519 27520 |
# File 'lib/google/apis/compute_v1/classes.rb', line 27517 def update!(**args) @behavior = args[:behavior] if args.key?(:behavior) @description = args[:description] if args.key?(:description) end |