Container/src/V1/ClusterUpdate.php
public function setDesiredAddonsConfig($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Container\V1\AddonsConfig::class);
        $this->desired_addons_config = $var;

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

        return $this;
    }
public function setDesiredAddonsConfig ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Container \ V1 \ AddonsConfig :: class ) ; $ this -> desired_addons_config = $ var ; return $ this ; }
Configurations for the various addons available to run in the cluster.

Generated from protobuf field <code>.google.container.v1.AddonsConfig desired_addons_config = 6;</code>
@param \Google\Cloud\Container\V1\AddonsConfig $var
@return $this
Configurations for the various addons available to run in the cluster .