articleAnswers = $articleAnswers; } /** * @return GoogleCloudDialogflowV2ArticleAnswer[] */ public function getArticleAnswers() { return $this->articleAnswers; } /** * Number of messages prior to and including latest_message to compile the * suggestion. It may be smaller than the SuggestArticlesRequest.context_size * field in the request if there aren't that many messages in the * conversation. * * @param int $contextSize */ public function setContextSize($contextSize) { $this->contextSize = $contextSize; } /** * @return int */ public function getContextSize() { return $this->contextSize; } /** * The name of the latest conversation message used to compile suggestion for. * Format: `projects//locations//conversations//messages/`. * * @param string $latestMessage */ public function setLatestMessage($latestMessage) { $this->latestMessage = $latestMessage; } /** * @return string */ public function getLatestMessage() { return $this->latestMessage; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudDialogflowV2SuggestArticlesResponse::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowV2SuggestArticlesResponse');