Dataproc/src/V1/WorkflowTemplatePlacement.php
public function setManagedCluster($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dataproc\V1\ManagedCluster::class);
        $this->writeOneof(1, $var);

        return $this;
    }
public function setManagedCluster($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dataproc\V1\ManagedCluster::class);
        $this->writeOneof(1, $var);

        return $this;
    }
public function setManagedCluster ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Dataproc \ V1 \ ManagedCluster :: class ) ; $ this -> writeOneof ( 1 , $ var ) ; return $ this ; }
Optional. A cluster that is managed by the workflow.

Generated from protobuf field <code>.google.cloud.dataproc.v1.ManagedCluster managed_cluster = 1;</code>
@param \Google\Cloud\Dataproc\V1\ManagedCluster $var
@return $this
Optional . A cluster that is managed by the workflow .