From 6159354b5d3917a54134090edb2920f1700a1995 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Fri, 20 Mar 2026 17:59:54 -0700 Subject: [PATCH] Regenerate cloudsearch client --- src/CloudSearch/QuerySuggestion.php | 67 +++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) diff --git a/src/CloudSearch/QuerySuggestion.php b/src/CloudSearch/QuerySuggestion.php index de2f1b6ef8b..db33b9d380a 100644 --- a/src/CloudSearch/QuerySuggestion.php +++ b/src/CloudSearch/QuerySuggestion.php @@ -19,6 +19,73 @@ class QuerySuggestion extends \Google\Model { + /** + * Source corpus is unspecified. + */ + public const SOURCE_CORPUS_SOURCE_CORPUS_UNSPECIFIED = 'SOURCE_CORPUS_UNSPECIFIED'; + /** + * Source corpus is Gmail. + */ + public const SOURCE_CORPUS_GMAIL = 'GMAIL'; + /** + * Source corpus is Drive. + */ + public const SOURCE_CORPUS_DRIVE = 'DRIVE'; + /** + * Source corpus is Chat. + */ + public const SOURCE_CORPUS_CHAT = 'CHAT'; + /** + * Source corpus is Calendar. + */ + public const SOURCE_CORPUS_CALENDAR = 'CALENDAR'; + /** + * Last query time of the suggestion for query history suggestions. + * + * @var string + */ + public $lastQueryTime; + /** + * Source corpus of the suggestion. + * + * @var string + */ + public $sourceCorpus; + + /** + * Last query time of the suggestion for query history suggestions. + * + * @param string $lastQueryTime + */ + public function setLastQueryTime($lastQueryTime) + { + $this->lastQueryTime = $lastQueryTime; + } + /** + * @return string + */ + public function getLastQueryTime() + { + return $this->lastQueryTime; + } + /** + * Source corpus of the suggestion. + * + * Accepted values: SOURCE_CORPUS_UNSPECIFIED, GMAIL, DRIVE, CHAT, CALENDAR + * + * @param self::SOURCE_CORPUS_* $sourceCorpus + */ + public function setSourceCorpus($sourceCorpus) + { + $this->sourceCorpus = $sourceCorpus; + } + /** + * @return self::SOURCE_CORPUS_* + */ + public function getSourceCorpus() + { + return $this->sourceCorpus; + } } // Adding a class alias for backwards compatibility with the previous class name.