Reference documentation and code samples for the Kubernetes Engine V1 API class Google::Cloud::Container::V1::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
#type
def type() -> ::Google::Cloud::Container::V1::NodePool::PlacementPolicy::Type
Returns
- (::Google::Cloud::Container::V1::NodePool::PlacementPolicy::Type) — The type of placement.
#type=
def type=(value) -> ::Google::Cloud::Container::V1::NodePool::PlacementPolicy::Type
Parameter
- value (::Google::Cloud::Container::V1::NodePool::PlacementPolicy::Type) — The type of placement.
Returns
- (::Google::Cloud::Container::V1::NodePool::PlacementPolicy::Type) — The type of placement.