AutoMl/src/V1beta1/CreateModelRequest.php
public function setModel($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1beta1\Model::class);
        $this->model = $var;

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

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

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