Dataproc/src/V1/Job.php
public function setPlacement($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dataproc\V1\JobPlacement::class);
        $this->placement = $var;

        return $this;
    }
public function setPlacement($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dataproc\V1\JobPlacement::class);
        $this->placement = $var;

        return $this;
    }
public function setPlacement ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Dataproc \ V1 \ JobPlacement :: class ) ; $ this -> placement = $ var ; return $ this ; }
Required. Job information, including how, when, and where to
run the job.

Generated from protobuf field <code>.google.cloud.dataproc.v1.JobPlacement placement = 2;</code>
@param \Google\Cloud\Dataproc\V1\JobPlacement $var
@return $this
Required . Job information including how when and where to run the job .