[f9c482b] | 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 GoogleCloudDiscoveryengineV1UserEvent extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'tagIds';
|
---|
| 23 | protected $attributesType = GoogleCloudDiscoveryengineV1CustomAttribute::class;
|
---|
| 24 | protected $attributesDataType = 'map';
|
---|
| 25 | /**
|
---|
| 26 | * @var string
|
---|
| 27 | */
|
---|
| 28 | public $attributionToken;
|
---|
| 29 | protected $completionInfoType = GoogleCloudDiscoveryengineV1CompletionInfo::class;
|
---|
| 30 | protected $completionInfoDataType = '';
|
---|
| 31 | /**
|
---|
| 32 | * @var string
|
---|
| 33 | */
|
---|
| 34 | public $conversionType;
|
---|
| 35 | /**
|
---|
| 36 | * @var string
|
---|
| 37 | */
|
---|
| 38 | public $dataStore;
|
---|
| 39 | /**
|
---|
| 40 | * @var bool
|
---|
| 41 | */
|
---|
| 42 | public $directUserRequest;
|
---|
| 43 | protected $documentsType = GoogleCloudDiscoveryengineV1DocumentInfo::class;
|
---|
| 44 | protected $documentsDataType = 'array';
|
---|
| 45 | /**
|
---|
| 46 | * @var string
|
---|
| 47 | */
|
---|
| 48 | public $engine;
|
---|
| 49 | /**
|
---|
| 50 | * @var string
|
---|
| 51 | */
|
---|
| 52 | public $eventTime;
|
---|
| 53 | /**
|
---|
| 54 | * @var string
|
---|
| 55 | */
|
---|
| 56 | public $eventType;
|
---|
| 57 | /**
|
---|
| 58 | * @var string
|
---|
| 59 | */
|
---|
| 60 | public $filter;
|
---|
| 61 | protected $mediaInfoType = GoogleCloudDiscoveryengineV1MediaInfo::class;
|
---|
| 62 | protected $mediaInfoDataType = '';
|
---|
| 63 | protected $pageInfoType = GoogleCloudDiscoveryengineV1PageInfo::class;
|
---|
| 64 | protected $pageInfoDataType = '';
|
---|
| 65 | protected $panelType = GoogleCloudDiscoveryengineV1PanelInfo::class;
|
---|
| 66 | protected $panelDataType = '';
|
---|
| 67 | protected $panelsType = GoogleCloudDiscoveryengineV1PanelInfo::class;
|
---|
| 68 | protected $panelsDataType = 'array';
|
---|
| 69 | /**
|
---|
| 70 | * @var string[]
|
---|
| 71 | */
|
---|
| 72 | public $promotionIds;
|
---|
| 73 | protected $searchInfoType = GoogleCloudDiscoveryengineV1SearchInfo::class;
|
---|
| 74 | protected $searchInfoDataType = '';
|
---|
| 75 | /**
|
---|
| 76 | * @var string
|
---|
| 77 | */
|
---|
| 78 | public $sessionId;
|
---|
| 79 | /**
|
---|
| 80 | * @var string[]
|
---|
| 81 | */
|
---|
| 82 | public $tagIds;
|
---|
| 83 | protected $transactionInfoType = GoogleCloudDiscoveryengineV1TransactionInfo::class;
|
---|
| 84 | protected $transactionInfoDataType = '';
|
---|
| 85 | protected $userInfoType = GoogleCloudDiscoveryengineV1UserInfo::class;
|
---|
| 86 | protected $userInfoDataType = '';
|
---|
| 87 | /**
|
---|
| 88 | * @var string
|
---|
| 89 | */
|
---|
| 90 | public $userPseudoId;
|
---|
| 91 |
|
---|
| 92 | /**
|
---|
| 93 | * @param GoogleCloudDiscoveryengineV1CustomAttribute[]
|
---|
| 94 | */
|
---|
| 95 | public function setAttributes($attributes)
|
---|
| 96 | {
|
---|
| 97 | $this->attributes = $attributes;
|
---|
| 98 | }
|
---|
| 99 | /**
|
---|
| 100 | * @return GoogleCloudDiscoveryengineV1CustomAttribute[]
|
---|
| 101 | */
|
---|
| 102 | public function getAttributes()
|
---|
| 103 | {
|
---|
| 104 | return $this->attributes;
|
---|
| 105 | }
|
---|
| 106 | /**
|
---|
| 107 | * @param string
|
---|
| 108 | */
|
---|
| 109 | public function setAttributionToken($attributionToken)
|
---|
| 110 | {
|
---|
| 111 | $this->attributionToken = $attributionToken;
|
---|
| 112 | }
|
---|
| 113 | /**
|
---|
| 114 | * @return string
|
---|
| 115 | */
|
---|
| 116 | public function getAttributionToken()
|
---|
| 117 | {
|
---|
| 118 | return $this->attributionToken;
|
---|
| 119 | }
|
---|
| 120 | /**
|
---|
| 121 | * @param GoogleCloudDiscoveryengineV1CompletionInfo
|
---|
| 122 | */
|
---|
| 123 | public function setCompletionInfo(GoogleCloudDiscoveryengineV1CompletionInfo $completionInfo)
|
---|
| 124 | {
|
---|
| 125 | $this->completionInfo = $completionInfo;
|
---|
| 126 | }
|
---|
| 127 | /**
|
---|
| 128 | * @return GoogleCloudDiscoveryengineV1CompletionInfo
|
---|
| 129 | */
|
---|
| 130 | public function getCompletionInfo()
|
---|
| 131 | {
|
---|
| 132 | return $this->completionInfo;
|
---|
| 133 | }
|
---|
| 134 | /**
|
---|
| 135 | * @param string
|
---|
| 136 | */
|
---|
| 137 | public function setConversionType($conversionType)
|
---|
| 138 | {
|
---|
| 139 | $this->conversionType = $conversionType;
|
---|
| 140 | }
|
---|
| 141 | /**
|
---|
| 142 | * @return string
|
---|
| 143 | */
|
---|
| 144 | public function getConversionType()
|
---|
| 145 | {
|
---|
| 146 | return $this->conversionType;
|
---|
| 147 | }
|
---|
| 148 | /**
|
---|
| 149 | * @param string
|
---|
| 150 | */
|
---|
| 151 | public function setDataStore($dataStore)
|
---|
| 152 | {
|
---|
| 153 | $this->dataStore = $dataStore;
|
---|
| 154 | }
|
---|
| 155 | /**
|
---|
| 156 | * @return string
|
---|
| 157 | */
|
---|
| 158 | public function getDataStore()
|
---|
| 159 | {
|
---|
| 160 | return $this->dataStore;
|
---|
| 161 | }
|
---|
| 162 | /**
|
---|
| 163 | * @param bool
|
---|
| 164 | */
|
---|
| 165 | public function setDirectUserRequest($directUserRequest)
|
---|
| 166 | {
|
---|
| 167 | $this->directUserRequest = $directUserRequest;
|
---|
| 168 | }
|
---|
| 169 | /**
|
---|
| 170 | * @return bool
|
---|
| 171 | */
|
---|
| 172 | public function getDirectUserRequest()
|
---|
| 173 | {
|
---|
| 174 | return $this->directUserRequest;
|
---|
| 175 | }
|
---|
| 176 | /**
|
---|
| 177 | * @param GoogleCloudDiscoveryengineV1DocumentInfo[]
|
---|
| 178 | */
|
---|
| 179 | public function setDocuments($documents)
|
---|
| 180 | {
|
---|
| 181 | $this->documents = $documents;
|
---|
| 182 | }
|
---|
| 183 | /**
|
---|
| 184 | * @return GoogleCloudDiscoveryengineV1DocumentInfo[]
|
---|
| 185 | */
|
---|
| 186 | public function getDocuments()
|
---|
| 187 | {
|
---|
| 188 | return $this->documents;
|
---|
| 189 | }
|
---|
| 190 | /**
|
---|
| 191 | * @param string
|
---|
| 192 | */
|
---|
| 193 | public function setEngine($engine)
|
---|
| 194 | {
|
---|
| 195 | $this->engine = $engine;
|
---|
| 196 | }
|
---|
| 197 | /**
|
---|
| 198 | * @return string
|
---|
| 199 | */
|
---|
| 200 | public function getEngine()
|
---|
| 201 | {
|
---|
| 202 | return $this->engine;
|
---|
| 203 | }
|
---|
| 204 | /**
|
---|
| 205 | * @param string
|
---|
| 206 | */
|
---|
| 207 | public function setEventTime($eventTime)
|
---|
| 208 | {
|
---|
| 209 | $this->eventTime = $eventTime;
|
---|
| 210 | }
|
---|
| 211 | /**
|
---|
| 212 | * @return string
|
---|
| 213 | */
|
---|
| 214 | public function getEventTime()
|
---|
| 215 | {
|
---|
| 216 | return $this->eventTime;
|
---|
| 217 | }
|
---|
| 218 | /**
|
---|
| 219 | * @param string
|
---|
| 220 | */
|
---|
| 221 | public function setEventType($eventType)
|
---|
| 222 | {
|
---|
| 223 | $this->eventType = $eventType;
|
---|
| 224 | }
|
---|
| 225 | /**
|
---|
| 226 | * @return string
|
---|
| 227 | */
|
---|
| 228 | public function getEventType()
|
---|
| 229 | {
|
---|
| 230 | return $this->eventType;
|
---|
| 231 | }
|
---|
| 232 | /**
|
---|
| 233 | * @param string
|
---|
| 234 | */
|
---|
| 235 | public function setFilter($filter)
|
---|
| 236 | {
|
---|
| 237 | $this->filter = $filter;
|
---|
| 238 | }
|
---|
| 239 | /**
|
---|
| 240 | * @return string
|
---|
| 241 | */
|
---|
| 242 | public function getFilter()
|
---|
| 243 | {
|
---|
| 244 | return $this->filter;
|
---|
| 245 | }
|
---|
| 246 | /**
|
---|
| 247 | * @param GoogleCloudDiscoveryengineV1MediaInfo
|
---|
| 248 | */
|
---|
| 249 | public function setMediaInfo(GoogleCloudDiscoveryengineV1MediaInfo $mediaInfo)
|
---|
| 250 | {
|
---|
| 251 | $this->mediaInfo = $mediaInfo;
|
---|
| 252 | }
|
---|
| 253 | /**
|
---|
| 254 | * @return GoogleCloudDiscoveryengineV1MediaInfo
|
---|
| 255 | */
|
---|
| 256 | public function getMediaInfo()
|
---|
| 257 | {
|
---|
| 258 | return $this->mediaInfo;
|
---|
| 259 | }
|
---|
| 260 | /**
|
---|
| 261 | * @param GoogleCloudDiscoveryengineV1PageInfo
|
---|
| 262 | */
|
---|
| 263 | public function setPageInfo(GoogleCloudDiscoveryengineV1PageInfo $pageInfo)
|
---|
| 264 | {
|
---|
| 265 | $this->pageInfo = $pageInfo;
|
---|
| 266 | }
|
---|
| 267 | /**
|
---|
| 268 | * @return GoogleCloudDiscoveryengineV1PageInfo
|
---|
| 269 | */
|
---|
| 270 | public function getPageInfo()
|
---|
| 271 | {
|
---|
| 272 | return $this->pageInfo;
|
---|
| 273 | }
|
---|
| 274 | /**
|
---|
| 275 | * @param GoogleCloudDiscoveryengineV1PanelInfo
|
---|
| 276 | */
|
---|
| 277 | public function setPanel(GoogleCloudDiscoveryengineV1PanelInfo $panel)
|
---|
| 278 | {
|
---|
| 279 | $this->panel = $panel;
|
---|
| 280 | }
|
---|
| 281 | /**
|
---|
| 282 | * @return GoogleCloudDiscoveryengineV1PanelInfo
|
---|
| 283 | */
|
---|
| 284 | public function getPanel()
|
---|
| 285 | {
|
---|
| 286 | return $this->panel;
|
---|
| 287 | }
|
---|
| 288 | /**
|
---|
| 289 | * @param GoogleCloudDiscoveryengineV1PanelInfo[]
|
---|
| 290 | */
|
---|
| 291 | public function setPanels($panels)
|
---|
| 292 | {
|
---|
| 293 | $this->panels = $panels;
|
---|
| 294 | }
|
---|
| 295 | /**
|
---|
| 296 | * @return GoogleCloudDiscoveryengineV1PanelInfo[]
|
---|
| 297 | */
|
---|
| 298 | public function getPanels()
|
---|
| 299 | {
|
---|
| 300 | return $this->panels;
|
---|
| 301 | }
|
---|
| 302 | /**
|
---|
| 303 | * @param string[]
|
---|
| 304 | */
|
---|
| 305 | public function setPromotionIds($promotionIds)
|
---|
| 306 | {
|
---|
| 307 | $this->promotionIds = $promotionIds;
|
---|
| 308 | }
|
---|
| 309 | /**
|
---|
| 310 | * @return string[]
|
---|
| 311 | */
|
---|
| 312 | public function getPromotionIds()
|
---|
| 313 | {
|
---|
| 314 | return $this->promotionIds;
|
---|
| 315 | }
|
---|
| 316 | /**
|
---|
| 317 | * @param GoogleCloudDiscoveryengineV1SearchInfo
|
---|
| 318 | */
|
---|
| 319 | public function setSearchInfo(GoogleCloudDiscoveryengineV1SearchInfo $searchInfo)
|
---|
| 320 | {
|
---|
| 321 | $this->searchInfo = $searchInfo;
|
---|
| 322 | }
|
---|
| 323 | /**
|
---|
| 324 | * @return GoogleCloudDiscoveryengineV1SearchInfo
|
---|
| 325 | */
|
---|
| 326 | public function getSearchInfo()
|
---|
| 327 | {
|
---|
| 328 | return $this->searchInfo;
|
---|
| 329 | }
|
---|
| 330 | /**
|
---|
| 331 | * @param string
|
---|
| 332 | */
|
---|
| 333 | public function setSessionId($sessionId)
|
---|
| 334 | {
|
---|
| 335 | $this->sessionId = $sessionId;
|
---|
| 336 | }
|
---|
| 337 | /**
|
---|
| 338 | * @return string
|
---|
| 339 | */
|
---|
| 340 | public function getSessionId()
|
---|
| 341 | {
|
---|
| 342 | return $this->sessionId;
|
---|
| 343 | }
|
---|
| 344 | /**
|
---|
| 345 | * @param string[]
|
---|
| 346 | */
|
---|
| 347 | public function setTagIds($tagIds)
|
---|
| 348 | {
|
---|
| 349 | $this->tagIds = $tagIds;
|
---|
| 350 | }
|
---|
| 351 | /**
|
---|
| 352 | * @return string[]
|
---|
| 353 | */
|
---|
| 354 | public function getTagIds()
|
---|
| 355 | {
|
---|
| 356 | return $this->tagIds;
|
---|
| 357 | }
|
---|
| 358 | /**
|
---|
| 359 | * @param GoogleCloudDiscoveryengineV1TransactionInfo
|
---|
| 360 | */
|
---|
| 361 | public function setTransactionInfo(GoogleCloudDiscoveryengineV1TransactionInfo $transactionInfo)
|
---|
| 362 | {
|
---|
| 363 | $this->transactionInfo = $transactionInfo;
|
---|
| 364 | }
|
---|
| 365 | /**
|
---|
| 366 | * @return GoogleCloudDiscoveryengineV1TransactionInfo
|
---|
| 367 | */
|
---|
| 368 | public function getTransactionInfo()
|
---|
| 369 | {
|
---|
| 370 | return $this->transactionInfo;
|
---|
| 371 | }
|
---|
| 372 | /**
|
---|
| 373 | * @param GoogleCloudDiscoveryengineV1UserInfo
|
---|
| 374 | */
|
---|
| 375 | public function setUserInfo(GoogleCloudDiscoveryengineV1UserInfo $userInfo)
|
---|
| 376 | {
|
---|
| 377 | $this->userInfo = $userInfo;
|
---|
| 378 | }
|
---|
| 379 | /**
|
---|
| 380 | * @return GoogleCloudDiscoveryengineV1UserInfo
|
---|
| 381 | */
|
---|
| 382 | public function getUserInfo()
|
---|
| 383 | {
|
---|
| 384 | return $this->userInfo;
|
---|
| 385 | }
|
---|
| 386 | /**
|
---|
| 387 | * @param string
|
---|
| 388 | */
|
---|
| 389 | public function setUserPseudoId($userPseudoId)
|
---|
| 390 | {
|
---|
| 391 | $this->userPseudoId = $userPseudoId;
|
---|
| 392 | }
|
---|
| 393 | /**
|
---|
| 394 | * @return string
|
---|
| 395 | */
|
---|
| 396 | public function getUserPseudoId()
|
---|
| 397 | {
|
---|
| 398 | return $this->userPseudoId;
|
---|
| 399 | }
|
---|
| 400 | }
|
---|
| 401 |
|
---|
| 402 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 403 | class_alias(GoogleCloudDiscoveryengineV1UserEvent::class, 'Google_Service_DiscoveryEngine_GoogleCloudDiscoveryengineV1UserEvent');
|
---|