Compute V1 Client - Class ReservationSubBlocksReportFaultyRequest (2.2.0)

Reference documentation and code samples for the Compute V1 Client class ReservationSubBlocksReportFaultyRequest.

Generated from protobuf message google.cloud.compute.v1.ReservationSubBlocksReportFaultyRequest

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ disruption_schedule string

The disruption schedule for the subBlock. Check the DisruptionSchedule enum for the list of possible values.

↳ failure_component string

The component that experienced the fault. Check the FailureComponent enum for the list of possible values.

↳ fault_reasons array<ReservationSubBlocksReportFaultyRequestFaultReason>

The reasons for the fault experienced with the subBlock.

getDisruptionSchedule

The disruption schedule for the subBlock.

Check the DisruptionSchedule enum for the list of possible values.

Returns
Type Description
string

hasDisruptionSchedule

clearDisruptionSchedule

setDisruptionSchedule

The disruption schedule for the subBlock.

Check the DisruptionSchedule enum for the list of possible values.

Parameter
Name Description
var string
Returns
Type Description
$this

getFailureComponent

The component that experienced the fault.

Check the FailureComponent enum for the list of possible values.

Returns
Type Description
string

hasFailureComponent

clearFailureComponent

setFailureComponent

The component that experienced the fault.

Check the FailureComponent enum for the list of possible values.

Parameter
Name Description
var string
Returns
Type Description
$this

getFaultReasons

The reasons for the fault experienced with the subBlock.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setFaultReasons

The reasons for the fault experienced with the subBlock.

Parameter
Name Description
var array<ReservationSubBlocksReportFaultyRequestFaultReason>
Returns
Type Description
$this