AutoMl/src/V1beta1/CreateDatasetRequest.php
public function setDataset($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1beta1\Dataset::class);
        $this->dataset = $var;

        return $this;
    }
public function setDataset($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1beta1\Dataset::class);
        $this->dataset = $var;

        return $this;
    }
public function setDataset ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ AutoMl \ V1beta1 \ Dataset :: class ) ; $ this -> dataset = $ var ; return $ this ; }
The dataset to create.

Generated from protobuf field <code>.google.cloud.automl.v1beta1.Dataset dataset = 2;</code>
@param \Google\Cloud\AutoMl\V1beta1\Dataset $var
@return $this
The dataset to create .