Class: Google::Apis::ComputeAlpha::ReservationSubBlocksReportFaultyRequest

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ReservationSubBlocksReportFaultyRequest

Returns a new instance of ReservationSubBlocksReportFaultyRequest.



60155
60156
60157
# File 'lib/google/apis/compute_alpha/classes.rb', line 60155

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)


60143
60144
60145
# File 'lib/google/apis/compute_alpha/classes.rb', line 60143

def disruption_schedule
  @disruption_schedule
end

#failure_componentString

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

Returns:

  • (String)


60148
60149
60150
# File 'lib/google/apis/compute_alpha/classes.rb', line 60148

def failure_component
  @failure_component
end

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

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



60153
60154
60155
# File 'lib/google/apis/compute_alpha/classes.rb', line 60153

def fault_reasons
  @fault_reasons
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



60160
60161
60162
60163
60164
# File 'lib/google/apis/compute_alpha/classes.rb', line 60160

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