source: vendor/google/apiclient-services/src/DiscoveryEngine/GoogleCloudDiscoveryengineV1betaSearchResponse.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 5.8 KB
Line 
1<?php
2/*
3 * Copyright 2014 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18namespace Google\Service\DiscoveryEngine;
19
20class GoogleCloudDiscoveryengineV1betaSearchResponse extends \Google\Collection
21{
22 protected $collection_key = 'results';
23 /**
24 * @var string[]
25 */
26 public $appliedControls;
27 /**
28 * @var string
29 */
30 public $attributionToken;
31 /**
32 * @var string
33 */
34 public $correctedQuery;
35 protected $facetsType = GoogleCloudDiscoveryengineV1betaSearchResponseFacet::class;
36 protected $facetsDataType = 'array';
37 protected $geoSearchDebugInfoType = GoogleCloudDiscoveryengineV1betaSearchResponseGeoSearchDebugInfo::class;
38 protected $geoSearchDebugInfoDataType = 'array';
39 protected $guidedSearchResultType = GoogleCloudDiscoveryengineV1betaSearchResponseGuidedSearchResult::class;
40 protected $guidedSearchResultDataType = '';
41 /**
42 * @var string
43 */
44 public $nextPageToken;
45 protected $queryExpansionInfoType = GoogleCloudDiscoveryengineV1betaSearchResponseQueryExpansionInfo::class;
46 protected $queryExpansionInfoDataType = '';
47 /**
48 * @var string
49 */
50 public $redirectUri;
51 protected $resultsType = GoogleCloudDiscoveryengineV1betaSearchResponseSearchResult::class;
52 protected $resultsDataType = 'array';
53 protected $summaryType = GoogleCloudDiscoveryengineV1betaSearchResponseSummary::class;
54 protected $summaryDataType = '';
55 /**
56 * @var int
57 */
58 public $totalSize;
59
60 /**
61 * @param string[]
62 */
63 public function setAppliedControls($appliedControls)
64 {
65 $this->appliedControls = $appliedControls;
66 }
67 /**
68 * @return string[]
69 */
70 public function getAppliedControls()
71 {
72 return $this->appliedControls;
73 }
74 /**
75 * @param string
76 */
77 public function setAttributionToken($attributionToken)
78 {
79 $this->attributionToken = $attributionToken;
80 }
81 /**
82 * @return string
83 */
84 public function getAttributionToken()
85 {
86 return $this->attributionToken;
87 }
88 /**
89 * @param string
90 */
91 public function setCorrectedQuery($correctedQuery)
92 {
93 $this->correctedQuery = $correctedQuery;
94 }
95 /**
96 * @return string
97 */
98 public function getCorrectedQuery()
99 {
100 return $this->correctedQuery;
101 }
102 /**
103 * @param GoogleCloudDiscoveryengineV1betaSearchResponseFacet[]
104 */
105 public function setFacets($facets)
106 {
107 $this->facets = $facets;
108 }
109 /**
110 * @return GoogleCloudDiscoveryengineV1betaSearchResponseFacet[]
111 */
112 public function getFacets()
113 {
114 return $this->facets;
115 }
116 /**
117 * @param GoogleCloudDiscoveryengineV1betaSearchResponseGeoSearchDebugInfo[]
118 */
119 public function setGeoSearchDebugInfo($geoSearchDebugInfo)
120 {
121 $this->geoSearchDebugInfo = $geoSearchDebugInfo;
122 }
123 /**
124 * @return GoogleCloudDiscoveryengineV1betaSearchResponseGeoSearchDebugInfo[]
125 */
126 public function getGeoSearchDebugInfo()
127 {
128 return $this->geoSearchDebugInfo;
129 }
130 /**
131 * @param GoogleCloudDiscoveryengineV1betaSearchResponseGuidedSearchResult
132 */
133 public function setGuidedSearchResult(GoogleCloudDiscoveryengineV1betaSearchResponseGuidedSearchResult $guidedSearchResult)
134 {
135 $this->guidedSearchResult = $guidedSearchResult;
136 }
137 /**
138 * @return GoogleCloudDiscoveryengineV1betaSearchResponseGuidedSearchResult
139 */
140 public function getGuidedSearchResult()
141 {
142 return $this->guidedSearchResult;
143 }
144 /**
145 * @param string
146 */
147 public function setNextPageToken($nextPageToken)
148 {
149 $this->nextPageToken = $nextPageToken;
150 }
151 /**
152 * @return string
153 */
154 public function getNextPageToken()
155 {
156 return $this->nextPageToken;
157 }
158 /**
159 * @param GoogleCloudDiscoveryengineV1betaSearchResponseQueryExpansionInfo
160 */
161 public function setQueryExpansionInfo(GoogleCloudDiscoveryengineV1betaSearchResponseQueryExpansionInfo $queryExpansionInfo)
162 {
163 $this->queryExpansionInfo = $queryExpansionInfo;
164 }
165 /**
166 * @return GoogleCloudDiscoveryengineV1betaSearchResponseQueryExpansionInfo
167 */
168 public function getQueryExpansionInfo()
169 {
170 return $this->queryExpansionInfo;
171 }
172 /**
173 * @param string
174 */
175 public function setRedirectUri($redirectUri)
176 {
177 $this->redirectUri = $redirectUri;
178 }
179 /**
180 * @return string
181 */
182 public function getRedirectUri()
183 {
184 return $this->redirectUri;
185 }
186 /**
187 * @param GoogleCloudDiscoveryengineV1betaSearchResponseSearchResult[]
188 */
189 public function setResults($results)
190 {
191 $this->results = $results;
192 }
193 /**
194 * @return GoogleCloudDiscoveryengineV1betaSearchResponseSearchResult[]
195 */
196 public function getResults()
197 {
198 return $this->results;
199 }
200 /**
201 * @param GoogleCloudDiscoveryengineV1betaSearchResponseSummary
202 */
203 public function setSummary(GoogleCloudDiscoveryengineV1betaSearchResponseSummary $summary)
204 {
205 $this->summary = $summary;
206 }
207 /**
208 * @return GoogleCloudDiscoveryengineV1betaSearchResponseSummary
209 */
210 public function getSummary()
211 {
212 return $this->summary;
213 }
214 /**
215 * @param int
216 */
217 public function setTotalSize($totalSize)
218 {
219 $this->totalSize = $totalSize;
220 }
221 /**
222 * @return int
223 */
224 public function getTotalSize()
225 {
226 return $this->totalSize;
227 }
228}
229
230// Adding a class alias for backwards compatibility with the previous class name.
231class_alias(GoogleCloudDiscoveryengineV1betaSearchResponse::class, 'Google_Service_DiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchResponse');
Note: See TracBrowser for help on using the repository browser.