AutoMl/src/V1beta1/Model.php
public function setDeploymentState($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\AutoMl\V1beta1\Model_DeploymentState::class);
        $this->deployment_state = $var;

        return $this;
    }
public function setDeploymentState($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\AutoMl\V1beta1\Model_DeploymentState::class);
        $this->deployment_state = $var;

        return $this;
    }
public function setDeploymentState ( $ var ) { GPBUtil :: checkEnum ( $ var , \ Google \ Cloud \ AutoMl \ V1beta1 \ Model_DeploymentState :: class ) ; $ this -> deployment_state = $ var ; return $ this ; }
Output only. Deployment state of the model.

Generated from protobuf field <code>.google.cloud.automl.v1beta1.Model.DeploymentState deployment_state = 8;</code>
@param int $var
@return $this
Output only . Deployment state of the model .