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.
29269 29270 29271 |
# File 'lib/google/apis/compute_beta/classes.rb', line 29269 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
29262 29263 29264 |
# File 'lib/google/apis/compute_beta/classes.rb', line 29262 def disruption_schedule @disruption_schedule end |
#fault_reasons ⇒ Array<Google::Apis::ComputeBeta::InstancesReportHostAsFaultyRequestFaultReason>
Corresponds to the JSON property faultReasons
29267 29268 29269 |
# File 'lib/google/apis/compute_beta/classes.rb', line 29267 def fault_reasons @fault_reasons end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
29274 29275 29276 29277 |
# File 'lib/google/apis/compute_beta/classes.rb', line 29274 def update!(**args) @disruption_schedule = args[:disruption_schedule] if args.key?(:disruption_schedule) @fault_reasons = args[:fault_reasons] if args.key?(:fault_reasons) end |