Container/src/V1/CreateNodePoolRequest.php
public function setNodePool($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Container\V1\NodePool::class);
        $this->node_pool = $var;

        return $this;
    }
public function setNodePool($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Container\V1\NodePool::class);
        $this->node_pool = $var;

        return $this;
    }
public function setNodePool ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Container \ V1 \ NodePool :: class ) ; $ this -> node_pool = $ var ; return $ this ; }
The node pool to create.

Generated from protobuf field <code>.google.container.v1.NodePool node_pool = 4;</code>
@param \Google\Cloud\Container\V1\NodePool $var
@return $this
The node pool to create .