Dataproc/src/V1beta2/Cluster.php
public function setConfig($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dataproc\V1beta2\ClusterConfig::class);
        $this->config = $var;

        return $this;
    }
public function setConfig($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dataproc\V1beta2\ClusterConfig::class);
        $this->config = $var;

        return $this;
    }
public function setConfig ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Dataproc \ V1beta2 \ ClusterConfig :: class ) ; $ this -> config = $ var ; return $ this ; }
Required. The cluster config. Note that Cloud Dataproc may set
default values, and values may change when clusters are updated.

Generated from protobuf field <code>.google.cloud.dataproc.v1beta2.ClusterConfig config = 3;</code>
@param \Google\Cloud\Dataproc\V1beta2\ClusterConfig $var
@return $this
Required . The cluster config . Note that Cloud Dataproc may set default values and values may change when clusters are updated .