Class: Google::Apis::ComputeV1::ReservationSubBlocksReportFaultyRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ReservationSubBlocksReportFaultyRequest

Returns a new instance of ReservationSubBlocksReportFaultyRequest.



48855
48856
48857
# File 'lib/google/apis/compute_v1/classes.rb', line 48855

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#disruption_scheduleString

The disruption schedule for the subBlock. Corresponds to the JSON property disruptionSchedule

Returns:

  • (String)


48843
48844
48845
# File 'lib/google/apis/compute_v1/classes.rb', line 48843

def disruption_schedule
  @disruption_schedule
end

#failure_componentString

The component that experienced the fault. Corresponds to the JSON property failureComponent

Returns:

  • (String)


48848
48849
48850
# File 'lib/google/apis/compute_v1/classes.rb', line 48848

def failure_component
  @failure_component
end

#fault_reasonsArray<Google::Apis::ComputeV1::ReservationSubBlocksReportFaultyRequestFaultReason>

The reasons for the fault experienced with the subBlock. Corresponds to the JSON property faultReasons



48853
48854
48855
# File 'lib/google/apis/compute_v1/classes.rb', line 48853

def fault_reasons
  @fault_reasons
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



48860
48861
48862
48863
48864
# File 'lib/google/apis/compute_v1/classes.rb', line 48860

def update!(**args)
  @disruption_schedule = args[:disruption_schedule] if args.key?(:disruption_schedule)
  @failure_component = args[:failure_component] if args.key?(:failure_component)
  @fault_reasons = args[:fault_reasons] if args.key?(:fault_reasons)
end