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

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

        return $this;
    }
public function setAutoscaling ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Container \ V1 \ NodePoolAutoscaling :: class ) ; $ this -> autoscaling = $ var ; return $ this ; }
Autoscaler configuration for this NodePool. Autoscaler is enabled
only if a valid configuration is present.

Generated from protobuf field <code>.google.container.v1.NodePoolAutoscaling autoscaling = 4;</code>
@param \Google\Cloud\Container\V1\NodePoolAutoscaling $var
@return $this
Autoscaler configuration for this NodePool . Autoscaler is enabled only if a valid configuration is present .