Reference documentation and code samples for the Kubernetes Engine V1beta1 API class Google::Cloud::Container::V1beta1::NodePool::PlacementPolicy.
PlacementPolicy defines the placement policy used by the node pool.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#tpu_topology
def tpu_topology() -> ::String
Returns
- (::String) — TPU placement topology for pod slice node pool. https://cloud.google.com/tpu/docs/types-topologies#tpu_topologies
#tpu_topology=
def tpu_topology=(value) -> ::String
Parameter
- value (::String) — TPU placement topology for pod slice node pool. https://cloud.google.com/tpu/docs/types-topologies#tpu_topologies
Returns
- (::String) — TPU placement topology for pod slice node pool. https://cloud.google.com/tpu/docs/types-topologies#tpu_topologies
#type
def type() -> ::Google::Cloud::Container::V1beta1::NodePool::PlacementPolicy::Type
Returns
- (::Google::Cloud::Container::V1beta1::NodePool::PlacementPolicy::Type) — The type of placement.
#type=
def type=(value) -> ::Google::Cloud::Container::V1beta1::NodePool::PlacementPolicy::Type
Parameter
- value (::Google::Cloud::Container::V1beta1::NodePool::PlacementPolicy::Type) — The type of placement.
Returns
- (::Google::Cloud::Container::V1beta1::NodePool::PlacementPolicy::Type) — The type of placement.