Class: Google::Apis::ComputeBeta::ReservationSubBlocksReportFaultyRequest

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ReservationSubBlocksReportFaultyRequest

Returns a new instance of ReservationSubBlocksReportFaultyRequest.



53376
53377
53378
# File 'lib/google/apis/compute_beta/classes.rb', line 53376

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)


53364
53365
53366
# File 'lib/google/apis/compute_beta/classes.rb', line 53364

def disruption_schedule
  @disruption_schedule
end

#failure_componentString

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

Returns:

  • (String)


53369
53370
53371
# File 'lib/google/apis/compute_beta/classes.rb', line 53369

def failure_component
  @failure_component
end

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

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



53374
53375
53376
# File 'lib/google/apis/compute_beta/classes.rb', line 53374

def fault_reasons
  @fault_reasons
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



53381
53382
53383
53384
53385
# File 'lib/google/apis/compute_beta/classes.rb', line 53381

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