Class: Google::Apis::ComputeV1::InstancesReportHostAsFaultyRequest
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::InstancesReportHostAsFaultyRequest
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/representations.rb
Instance Attribute Summary collapse
-
#disruption_schedule ⇒ String
The disruption schedule for the VM.
-
#fault_reasons ⇒ Array<Google::Apis::ComputeV1::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.
26399 26400 26401 |
# File 'lib/google/apis/compute_v1/classes.rb', line 26399 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
26392 26393 26394 |
# File 'lib/google/apis/compute_v1/classes.rb', line 26392 def disruption_schedule @disruption_schedule end |
#fault_reasons ⇒ Array<Google::Apis::ComputeV1::InstancesReportHostAsFaultyRequestFaultReason>
Corresponds to the JSON property faultReasons
26397 26398 26399 |
# File 'lib/google/apis/compute_v1/classes.rb', line 26397 def fault_reasons @fault_reasons end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
26404 26405 26406 26407 |
# File 'lib/google/apis/compute_v1/classes.rb', line 26404 def update!(**args) @disruption_schedule = args[:disruption_schedule] if args.key?(:disruption_schedule) @fault_reasons = args[:fault_reasons] if args.key?(:fault_reasons) end |