attributionToken = $attributionToken; } /** * @return string */ public function getAttributionToken() { return $this->attributionToken; } /** * @param string */ public function setCorrectedQuery($correctedQuery) { $this->correctedQuery = $correctedQuery; } /** * @return string */ public function getCorrectedQuery() { return $this->correctedQuery; } /** * @param GoogleCloudDiscoveryengineV1SearchResponseFacet[] */ public function setFacets($facets) { $this->facets = $facets; } /** * @return GoogleCloudDiscoveryengineV1SearchResponseFacet[] */ public function getFacets() { return $this->facets; } /** * @param string */ public function setNextPageToken($nextPageToken) { $this->nextPageToken = $nextPageToken; } /** * @return string */ public function getNextPageToken() { return $this->nextPageToken; } /** * @param GoogleCloudDiscoveryengineV1SearchResponseQueryExpansionInfo */ public function setQueryExpansionInfo(GoogleCloudDiscoveryengineV1SearchResponseQueryExpansionInfo $queryExpansionInfo) { $this->queryExpansionInfo = $queryExpansionInfo; } /** * @return GoogleCloudDiscoveryengineV1SearchResponseQueryExpansionInfo */ public function getQueryExpansionInfo() { return $this->queryExpansionInfo; } /** * @param string */ public function setRedirectUri($redirectUri) { $this->redirectUri = $redirectUri; } /** * @return string */ public function getRedirectUri() { return $this->redirectUri; } /** * @param GoogleCloudDiscoveryengineV1SearchResponseSearchResult[] */ public function setResults($results) { $this->results = $results; } /** * @return GoogleCloudDiscoveryengineV1SearchResponseSearchResult[] */ public function getResults() { return $this->results; } /** * @param GoogleCloudDiscoveryengineV1SearchLinkPromotion[] */ public function setSearchLinkPromotions($searchLinkPromotions) { $this->searchLinkPromotions = $searchLinkPromotions; } /** * @return GoogleCloudDiscoveryengineV1SearchLinkPromotion[] */ public function getSearchLinkPromotions() { return $this->searchLinkPromotions; } /** * @param GoogleCloudDiscoveryengineV1SearchResponseSessionInfo */ public function setSessionInfo(GoogleCloudDiscoveryengineV1SearchResponseSessionInfo $sessionInfo) { $this->sessionInfo = $sessionInfo; } /** * @return GoogleCloudDiscoveryengineV1SearchResponseSessionInfo */ public function getSessionInfo() { return $this->sessionInfo; } /** * @param GoogleCloudDiscoveryengineV1SearchResponseSummary */ public function setSummary(GoogleCloudDiscoveryengineV1SearchResponseSummary $summary) { $this->summary = $summary; } /** * @return GoogleCloudDiscoveryengineV1SearchResponseSummary */ public function getSummary() { return $this->summary; } /** * @param int */ public function setTotalSize($totalSize) { $this->totalSize = $totalSize; } /** * @return int */ public function getTotalSize() { return $this->totalSize; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudDiscoveryengineV1SearchResponse::class, 'Google_Service_DiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponse');