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.
22251 22252 22253 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 22251 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
22244 22245 22246 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 22244 def action_hint @action_hint end |
#fault_reasons ⇒ Array<Google::Apis::ComputeAlpha::InstancesReportHostAsFaultyRequestFaultReason>
Corresponds to the JSON property faultReasons
22249 22250 22251 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 22249 def fault_reasons @fault_reasons end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
22256 22257 22258 22259 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 22256 def update!(**args) @action_hint = args[:action_hint] if args.key?(:action_hint) @fault_reasons = args[:fault_reasons] if args.key?(:fault_reasons) end |