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

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

        return $this;
    }
public function setSecondaryWorkerConfig ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Dataproc \ V1beta2 \ InstanceGroupConfig :: class ) ; $ this -> secondary_worker_config = $ var ; return $ this ; }
Optional. The Compute Engine config settings for
additional worker instances in a cluster.

Generated from protobuf field <code>.google.cloud.dataproc.v1beta2.InstanceGroupConfig secondary_worker_config = 12;</code>
@param \Google\Cloud\Dataproc\V1beta2\InstanceGroupConfig $var
@return $this
Optional . The Compute Engine config settings for additional worker instances in a cluster .