positive = $positive; } /** * @return bool */ public function getPositive() { return $this->positive; } /** * Query classification type. * * Accepted values: TYPE_UNSPECIFIED, ADVERSARIAL_QUERY, * NON_ANSWER_SEEKING_QUERY, JAIL_BREAKING_QUERY, NON_ANSWER_SEEKING_QUERY_V2, * USER_DEFINED_CLASSIFICATION_QUERY * * @param self::TYPE_* $type */ public function setType($type) { $this->type = $type; } /** * @return self::TYPE_* */ public function getType() { return $this->type; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfoQueryClassificationInfo::class, 'Google_Service_DiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfoQueryClassificationInfo');