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.
22271 22272 22273 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 22271 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
22264 22265 22266 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 22264 def action_hint @action_hint end |
#fault_reasons ⇒ Array<Google::Apis::ComputeAlpha::InstancesReportHostAsFaultyRequestFaultReason>
Corresponds to the JSON property faultReasons
22269 22270 22271 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 22269 def fault_reasons @fault_reasons end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
22276 22277 22278 22279 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 22276 def update!(**args) @action_hint = args[:action_hint] if args.key?(:action_hint) @fault_reasons = args[:fault_reasons] if args.key?(:fault_reasons) end |