Google Cloud Tpu V1 Client - Class SchedulingConfig (1.1.1)

Reference documentation and code samples for the Google Cloud Tpu V1 Client class SchedulingConfig.

Sets the scheduling options for this node.

Generated from protobuf message google.cloud.tpu.v1.SchedulingConfig

Namespace

Google \ Cloud \ Tpu \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ preemptible bool

Defines whether the node is preemptible.

↳ reserved bool

Whether the node is created under a reservation.

getPreemptible

Defines whether the node is preemptible.

Returns
TypeDescription
bool

setPreemptible

Defines whether the node is preemptible.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getReserved

Whether the node is created under a reservation.

Returns
TypeDescription
bool

setReserved

Whether the node is created under a reservation.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this