Class: Google::Cloud::Tpu::V1::SchedulingConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/tpu/v1/cloud_tpu.rb

Overview

Sets the scheduling options for this node.

Instance Attribute Summary collapse

Instance Attribute Details

#preemptible::Boolean

Returns Defines whether the node is preemptible.

Returns:

  • (::Boolean)

    Defines whether the node is preemptible.



31
32
33
34
# File 'proto_docs/google/cloud/tpu/v1/cloud_tpu.rb', line 31

class SchedulingConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#reserved::Boolean

Returns Whether the node is created under a reservation.

Returns:

  • (::Boolean)

    Whether the node is created under a reservation.



31
32
33
34
# File 'proto_docs/google/cloud/tpu/v1/cloud_tpu.rb', line 31

class SchedulingConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end