Cloud TPU V1 API - Class Google::Cloud::Tpu::V1::SchedulingConfig (v0.2.0)

Reference documentation and code samples for the Cloud TPU V1 API class Google::Cloud::Tpu::V1::SchedulingConfig.

Sets the scheduling options for this node.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#preemptible

def preemptible() -> ::Boolean
Returns
  • (::Boolean) — Defines whether the node is preemptible.

#preemptible=

def preemptible=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Defines whether the node is preemptible.
Returns
  • (::Boolean) — Defines whether the node is preemptible.

#reserved

def reserved() -> ::Boolean
Returns
  • (::Boolean) — Whether the node is created under a reservation.

#reserved=

def reserved=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Whether the node is created under a reservation.
Returns
  • (::Boolean) — Whether the node is created under a reservation.