Class: Google::Apis::ComputeAlpha::InstancesReportHostAsFaultyRequest
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::InstancesReportHostAsFaultyRequest
- 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
-
#action_hint ⇒ String
The action hint to report the host as faulty.
-
#fault_reasons ⇒ Array<Google::Apis::ComputeAlpha::InstancesReportHostAsFaultyRequestFaultReason>
Corresponds to the JSON property
faultReasons
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InstancesReportHostAsFaultyRequest
constructor
A new instance of InstancesReportHostAsFaultyRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InstancesReportHostAsFaultyRequest
Returns a new instance of InstancesReportHostAsFaultyRequest.
22762 22763 22764 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 22762 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action_hint ⇒ String
The action hint to report the host as faulty.
Corresponds to the JSON property actionHint
22755 22756 22757 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 22755 def action_hint @action_hint end |
#fault_reasons ⇒ Array<Google::Apis::ComputeAlpha::InstancesReportHostAsFaultyRequestFaultReason>
Corresponds to the JSON property faultReasons
22760 22761 22762 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 22760 def fault_reasons @fault_reasons end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
22767 22768 22769 22770 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 22767 def update!(**args) @action_hint = args[:action_hint] if args.key?(:action_hint) @fault_reasons = args[:fault_reasons] if args.key?(:fault_reasons) end |