Class: Google::Apis::ComputeBeta::InstancesReportHostAsFaultyRequest
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::InstancesReportHostAsFaultyRequest
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/representations.rb
Instance Attribute Summary collapse
-
#disruption_schedule ⇒ String
The disruption schedule for the VM.
-
#fault_reasons ⇒ Array<Google::Apis::ComputeBeta::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.
26613 26614 26615 |
# File 'lib/google/apis/compute_beta/classes.rb', line 26613 def initialize(**args) update!(**args) end |
Instance Attribute Details
#disruption_schedule ⇒ String
The disruption schedule for the VM. Required field, only allows IMMEDIATE.
Corresponds to the JSON property disruptionSchedule
26606 26607 26608 |
# File 'lib/google/apis/compute_beta/classes.rb', line 26606 def disruption_schedule @disruption_schedule end |
#fault_reasons ⇒ Array<Google::Apis::ComputeBeta::InstancesReportHostAsFaultyRequestFaultReason>
Corresponds to the JSON property faultReasons
26611 26612 26613 |
# File 'lib/google/apis/compute_beta/classes.rb', line 26611 def fault_reasons @fault_reasons end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
26618 26619 26620 26621 |
# File 'lib/google/apis/compute_beta/classes.rb', line 26618 def update!(**args) @disruption_schedule = args[:disruption_schedule] if args.key?(:disruption_schedule) @fault_reasons = args[:fault_reasons] if args.key?(:fault_reasons) end |