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 |
|
---|
18 | namespace Google\Service\DiscoveryEngine;
|
---|
19 |
|
---|
20 | class GoogleCloudDiscoveryengineV1betaUserEvent extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'tagIds';
|
---|
23 | protected $attributesType = GoogleCloudDiscoveryengineV1betaCustomAttribute::class;
|
---|
24 | protected $attributesDataType = 'map';
|
---|
25 | /**
|
---|
26 | * @var string
|
---|
27 | */
|
---|
28 | public $attributionToken;
|
---|
29 | protected $completionInfoType = GoogleCloudDiscoveryengineV1betaCompletionInfo::class;
|
---|
30 | protected $completionInfoDataType = '';
|
---|
31 | /**
|
---|
32 | * @var bool
|
---|
33 | */
|
---|
34 | public $directUserRequest;
|
---|
35 | protected $documentsType = GoogleCloudDiscoveryengineV1betaDocumentInfo::class;
|
---|
36 | protected $documentsDataType = 'array';
|
---|
37 | /**
|
---|
38 | * @var string
|
---|
39 | */
|
---|
40 | public $eventTime;
|
---|
41 | /**
|
---|
42 | * @var string
|
---|
43 | */
|
---|
44 | public $eventType;
|
---|
45 | /**
|
---|
46 | * @var string
|
---|
47 | */
|
---|
48 | public $filter;
|
---|
49 | protected $mediaInfoType = GoogleCloudDiscoveryengineV1betaMediaInfo::class;
|
---|
50 | protected $mediaInfoDataType = '';
|
---|
51 | protected $pageInfoType = GoogleCloudDiscoveryengineV1betaPageInfo::class;
|
---|
52 | protected $pageInfoDataType = '';
|
---|
53 | protected $panelType = GoogleCloudDiscoveryengineV1betaPanelInfo::class;
|
---|
54 | protected $panelDataType = '';
|
---|
55 | /**
|
---|
56 | * @var string[]
|
---|
57 | */
|
---|
58 | public $promotionIds;
|
---|
59 | protected $searchInfoType = GoogleCloudDiscoveryengineV1betaSearchInfo::class;
|
---|
60 | protected $searchInfoDataType = '';
|
---|
61 | /**
|
---|
62 | * @var string
|
---|
63 | */
|
---|
64 | public $sessionId;
|
---|
65 | /**
|
---|
66 | * @var string[]
|
---|
67 | */
|
---|
68 | public $tagIds;
|
---|
69 | protected $transactionInfoType = GoogleCloudDiscoveryengineV1betaTransactionInfo::class;
|
---|
70 | protected $transactionInfoDataType = '';
|
---|
71 | protected $userInfoType = GoogleCloudDiscoveryengineV1betaUserInfo::class;
|
---|
72 | protected $userInfoDataType = '';
|
---|
73 | /**
|
---|
74 | * @var string
|
---|
75 | */
|
---|
76 | public $userPseudoId;
|
---|
77 |
|
---|
78 | /**
|
---|
79 | * @param GoogleCloudDiscoveryengineV1betaCustomAttribute[]
|
---|
80 | */
|
---|
81 | public function setAttributes($attributes)
|
---|
82 | {
|
---|
83 | $this->attributes = $attributes;
|
---|
84 | }
|
---|
85 | /**
|
---|
86 | * @return GoogleCloudDiscoveryengineV1betaCustomAttribute[]
|
---|
87 | */
|
---|
88 | public function getAttributes()
|
---|
89 | {
|
---|
90 | return $this->attributes;
|
---|
91 | }
|
---|
92 | /**
|
---|
93 | * @param string
|
---|
94 | */
|
---|
95 | public function setAttributionToken($attributionToken)
|
---|
96 | {
|
---|
97 | $this->attributionToken = $attributionToken;
|
---|
98 | }
|
---|
99 | /**
|
---|
100 | * @return string
|
---|
101 | */
|
---|
102 | public function getAttributionToken()
|
---|
103 | {
|
---|
104 | return $this->attributionToken;
|
---|
105 | }
|
---|
106 | /**
|
---|
107 | * @param GoogleCloudDiscoveryengineV1betaCompletionInfo
|
---|
108 | */
|
---|
109 | public function setCompletionInfo(GoogleCloudDiscoveryengineV1betaCompletionInfo $completionInfo)
|
---|
110 | {
|
---|
111 | $this->completionInfo = $completionInfo;
|
---|
112 | }
|
---|
113 | /**
|
---|
114 | * @return GoogleCloudDiscoveryengineV1betaCompletionInfo
|
---|
115 | */
|
---|
116 | public function getCompletionInfo()
|
---|
117 | {
|
---|
118 | return $this->completionInfo;
|
---|
119 | }
|
---|
120 | /**
|
---|
121 | * @param bool
|
---|
122 | */
|
---|
123 | public function setDirectUserRequest($directUserRequest)
|
---|
124 | {
|
---|
125 | $this->directUserRequest = $directUserRequest;
|
---|
126 | }
|
---|
127 | /**
|
---|
128 | * @return bool
|
---|
129 | */
|
---|
130 | public function getDirectUserRequest()
|
---|
131 | {
|
---|
132 | return $this->directUserRequest;
|
---|
133 | }
|
---|
134 | /**
|
---|
135 | * @param GoogleCloudDiscoveryengineV1betaDocumentInfo[]
|
---|
136 | */
|
---|
137 | public function setDocuments($documents)
|
---|
138 | {
|
---|
139 | $this->documents = $documents;
|
---|
140 | }
|
---|
141 | /**
|
---|
142 | * @return GoogleCloudDiscoveryengineV1betaDocumentInfo[]
|
---|
143 | */
|
---|
144 | public function getDocuments()
|
---|
145 | {
|
---|
146 | return $this->documents;
|
---|
147 | }
|
---|
148 | /**
|
---|
149 | * @param string
|
---|
150 | */
|
---|
151 | public function setEventTime($eventTime)
|
---|
152 | {
|
---|
153 | $this->eventTime = $eventTime;
|
---|
154 | }
|
---|
155 | /**
|
---|
156 | * @return string
|
---|
157 | */
|
---|
158 | public function getEventTime()
|
---|
159 | {
|
---|
160 | return $this->eventTime;
|
---|
161 | }
|
---|
162 | /**
|
---|
163 | * @param string
|
---|
164 | */
|
---|
165 | public function setEventType($eventType)
|
---|
166 | {
|
---|
167 | $this->eventType = $eventType;
|
---|
168 | }
|
---|
169 | /**
|
---|
170 | * @return string
|
---|
171 | */
|
---|
172 | public function getEventType()
|
---|
173 | {
|
---|
174 | return $this->eventType;
|
---|
175 | }
|
---|
176 | /**
|
---|
177 | * @param string
|
---|
178 | */
|
---|
179 | public function setFilter($filter)
|
---|
180 | {
|
---|
181 | $this->filter = $filter;
|
---|
182 | }
|
---|
183 | /**
|
---|
184 | * @return string
|
---|
185 | */
|
---|
186 | public function getFilter()
|
---|
187 | {
|
---|
188 | return $this->filter;
|
---|
189 | }
|
---|
190 | /**
|
---|
191 | * @param GoogleCloudDiscoveryengineV1betaMediaInfo
|
---|
192 | */
|
---|
193 | public function setMediaInfo(GoogleCloudDiscoveryengineV1betaMediaInfo $mediaInfo)
|
---|
194 | {
|
---|
195 | $this->mediaInfo = $mediaInfo;
|
---|
196 | }
|
---|
197 | /**
|
---|
198 | * @return GoogleCloudDiscoveryengineV1betaMediaInfo
|
---|
199 | */
|
---|
200 | public function getMediaInfo()
|
---|
201 | {
|
---|
202 | return $this->mediaInfo;
|
---|
203 | }
|
---|
204 | /**
|
---|
205 | * @param GoogleCloudDiscoveryengineV1betaPageInfo
|
---|
206 | */
|
---|
207 | public function setPageInfo(GoogleCloudDiscoveryengineV1betaPageInfo $pageInfo)
|
---|
208 | {
|
---|
209 | $this->pageInfo = $pageInfo;
|
---|
210 | }
|
---|
211 | /**
|
---|
212 | * @return GoogleCloudDiscoveryengineV1betaPageInfo
|
---|
213 | */
|
---|
214 | public function getPageInfo()
|
---|
215 | {
|
---|
216 | return $this->pageInfo;
|
---|
217 | }
|
---|
218 | /**
|
---|
219 | * @param GoogleCloudDiscoveryengineV1betaPanelInfo
|
---|
220 | */
|
---|
221 | public function setPanel(GoogleCloudDiscoveryengineV1betaPanelInfo $panel)
|
---|
222 | {
|
---|
223 | $this->panel = $panel;
|
---|
224 | }
|
---|
225 | /**
|
---|
226 | * @return GoogleCloudDiscoveryengineV1betaPanelInfo
|
---|
227 | */
|
---|
228 | public function getPanel()
|
---|
229 | {
|
---|
230 | return $this->panel;
|
---|
231 | }
|
---|
232 | /**
|
---|
233 | * @param string[]
|
---|
234 | */
|
---|
235 | public function setPromotionIds($promotionIds)
|
---|
236 | {
|
---|
237 | $this->promotionIds = $promotionIds;
|
---|
238 | }
|
---|
239 | /**
|
---|
240 | * @return string[]
|
---|
241 | */
|
---|
242 | public function getPromotionIds()
|
---|
243 | {
|
---|
244 | return $this->promotionIds;
|
---|
245 | }
|
---|
246 | /**
|
---|
247 | * @param GoogleCloudDiscoveryengineV1betaSearchInfo
|
---|
248 | */
|
---|
249 | public function setSearchInfo(GoogleCloudDiscoveryengineV1betaSearchInfo $searchInfo)
|
---|
250 | {
|
---|
251 | $this->searchInfo = $searchInfo;
|
---|
252 | }
|
---|
253 | /**
|
---|
254 | * @return GoogleCloudDiscoveryengineV1betaSearchInfo
|
---|
255 | */
|
---|
256 | public function getSearchInfo()
|
---|
257 | {
|
---|
258 | return $this->searchInfo;
|
---|
259 | }
|
---|
260 | /**
|
---|
261 | * @param string
|
---|
262 | */
|
---|
263 | public function setSessionId($sessionId)
|
---|
264 | {
|
---|
265 | $this->sessionId = $sessionId;
|
---|
266 | }
|
---|
267 | /**
|
---|
268 | * @return string
|
---|
269 | */
|
---|
270 | public function getSessionId()
|
---|
271 | {
|
---|
272 | return $this->sessionId;
|
---|
273 | }
|
---|
274 | /**
|
---|
275 | * @param string[]
|
---|
276 | */
|
---|
277 | public function setTagIds($tagIds)
|
---|
278 | {
|
---|
279 | $this->tagIds = $tagIds;
|
---|
280 | }
|
---|
281 | /**
|
---|
282 | * @return string[]
|
---|
283 | */
|
---|
284 | public function getTagIds()
|
---|
285 | {
|
---|
286 | return $this->tagIds;
|
---|
287 | }
|
---|
288 | /**
|
---|
289 | * @param GoogleCloudDiscoveryengineV1betaTransactionInfo
|
---|
290 | */
|
---|
291 | public function setTransactionInfo(GoogleCloudDiscoveryengineV1betaTransactionInfo $transactionInfo)
|
---|
292 | {
|
---|
293 | $this->transactionInfo = $transactionInfo;
|
---|
294 | }
|
---|
295 | /**
|
---|
296 | * @return GoogleCloudDiscoveryengineV1betaTransactionInfo
|
---|
297 | */
|
---|
298 | public function getTransactionInfo()
|
---|
299 | {
|
---|
300 | return $this->transactionInfo;
|
---|
301 | }
|
---|
302 | /**
|
---|
303 | * @param GoogleCloudDiscoveryengineV1betaUserInfo
|
---|
304 | */
|
---|
305 | public function setUserInfo(GoogleCloudDiscoveryengineV1betaUserInfo $userInfo)
|
---|
306 | {
|
---|
307 | $this->userInfo = $userInfo;
|
---|
308 | }
|
---|
309 | /**
|
---|
310 | * @return GoogleCloudDiscoveryengineV1betaUserInfo
|
---|
311 | */
|
---|
312 | public function getUserInfo()
|
---|
313 | {
|
---|
314 | return $this->userInfo;
|
---|
315 | }
|
---|
316 | /**
|
---|
317 | * @param string
|
---|
318 | */
|
---|
319 | public function setUserPseudoId($userPseudoId)
|
---|
320 | {
|
---|
321 | $this->userPseudoId = $userPseudoId;
|
---|
322 | }
|
---|
323 | /**
|
---|
324 | * @return string
|
---|
325 | */
|
---|
326 | public function getUserPseudoId()
|
---|
327 | {
|
---|
328 | return $this->userPseudoId;
|
---|
329 | }
|
---|
330 | }
|
---|
331 |
|
---|
332 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
333 | class_alias(GoogleCloudDiscoveryengineV1betaUserEvent::class, 'Google_Service_DiscoveryEngine_GoogleCloudDiscoveryengineV1betaUserEvent');
|
---|