Container/src/V1/NodeManagement.php
public function setUpgradeOptions($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Container\V1\AutoUpgradeOptions::class);
        $this->upgrade_options = $var;

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

        return $this;
    }
public function setUpgradeOptions ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Container \ V1 \ AutoUpgradeOptions :: class ) ; $ this -> upgrade_options = $ var ; return $ this ; }
Specifies the Auto Upgrade knobs for the node pool.

Generated from protobuf field <code>.google.container.v1.AutoUpgradeOptions upgrade_options = 10;</code>
@param \Google\Cloud\Container\V1\AutoUpgradeOptions $var
@return $this
Specifies the Auto Upgrade knobs for the node pool .