Kubernetes Engine V1beta1 API - Class Google::Cloud::Container::V1beta1::NodePool::PlacementPolicy (v0.27.0)

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

#policy_name

def policy_name() -> ::String
Returns
  • (::String) — If set, refers to the name of a custom resource policy supplied by the user. The resource policy must be in the same project and region as the node pool. If not found, InvalidArgument error is returned.

#policy_name=

def policy_name=(value) -> ::String
Parameter
  • value (::String) — If set, refers to the name of a custom resource policy supplied by the user. The resource policy must be in the same project and region as the node pool. If not found, InvalidArgument error is returned.
Returns
  • (::String) — If set, refers to the name of a custom resource policy supplied by the user. The resource policy must be in the same project and region as the node pool. If not found, InvalidArgument error is returned.

#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

#type=

def type=(value) -> ::Google::Cloud::Container::V1beta1::NodePool::PlacementPolicy::Type
Parameter