answerLanguageCode = $answerLanguageCode; } /** * @return string */ public function getAnswerLanguageCode() { return $this->answerLanguageCode; } /** * @param bool */ public function setIgnoreAdversarialQuery($ignoreAdversarialQuery) { $this->ignoreAdversarialQuery = $ignoreAdversarialQuery; } /** * @return bool */ public function getIgnoreAdversarialQuery() { return $this->ignoreAdversarialQuery; } /** * @param bool */ public function setIgnoreNonAnswerSeekingQuery($ignoreNonAnswerSeekingQuery) { $this->ignoreNonAnswerSeekingQuery = $ignoreNonAnswerSeekingQuery; } /** * @return bool */ public function getIgnoreNonAnswerSeekingQuery() { return $this->ignoreNonAnswerSeekingQuery; } /** * @param bool */ public function setIncludeCitations($includeCitations) { $this->includeCitations = $includeCitations; } /** * @return bool */ public function getIncludeCitations() { return $this->includeCitations; } /** * @param GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpecModelSpec */ public function setModelSpec(GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpecModelSpec $modelSpec) { $this->modelSpec = $modelSpec; } /** * @return GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpecModelSpec */ public function getModelSpec() { return $this->modelSpec; } /** * @param GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpecPromptSpec */ public function setPromptSpec(GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpecPromptSpec $promptSpec) { $this->promptSpec = $promptSpec; } /** * @return GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpecPromptSpec */ public function getPromptSpec() { return $this->promptSpec; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpec::class, 'Google_Service_DiscoveryEngine_GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpec');