onewayTerms = $onewayTerms; } /** * @return string[] */ public function getOnewayTerms() { return $this->onewayTerms; } /** * Terms from the search query. Will treat synonyms as their synonyms. Not * themselves synonyms of the synonyms. Can specify up to 100 terms. * * @param string[] $queryTerms */ public function setQueryTerms($queryTerms) { $this->queryTerms = $queryTerms; } /** * @return string[] */ public function getQueryTerms() { return $this->queryTerms; } /** * Defines a set of synonyms. Cannot contain duplicates. Can specify up to 100 * synonyms. * * @param string[] $synonyms */ public function setSynonyms($synonyms) { $this->synonyms = $synonyms; } /** * @return string[] */ public function getSynonyms() { return $this->synonyms; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudRetailV2RuleOnewaySynonymsAction::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2RuleOnewaySynonymsAction');