[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 GoogleCloudDiscoveryengineV1betaSearchRequest extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'facetSpecs';
|
---|
| 23 | protected $boostSpecType = GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec::class;
|
---|
| 24 | protected $boostSpecDataType = '';
|
---|
| 25 | /**
|
---|
| 26 | * @var string
|
---|
| 27 | */
|
---|
| 28 | public $branch;
|
---|
| 29 | /**
|
---|
| 30 | * @var string
|
---|
| 31 | */
|
---|
| 32 | public $canonicalFilter;
|
---|
| 33 | protected $contentSearchSpecType = GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec::class;
|
---|
| 34 | protected $contentSearchSpecDataType = '';
|
---|
| 35 | protected $dataStoreSpecsType = GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec::class;
|
---|
| 36 | protected $dataStoreSpecsDataType = 'array';
|
---|
| 37 | protected $embeddingSpecType = GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec::class;
|
---|
| 38 | protected $embeddingSpecDataType = '';
|
---|
| 39 | protected $facetSpecsType = GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpec::class;
|
---|
| 40 | protected $facetSpecsDataType = 'array';
|
---|
| 41 | /**
|
---|
| 42 | * @var string
|
---|
| 43 | */
|
---|
| 44 | public $filter;
|
---|
| 45 | protected $imageQueryType = GoogleCloudDiscoveryengineV1betaSearchRequestImageQuery::class;
|
---|
| 46 | protected $imageQueryDataType = '';
|
---|
| 47 | /**
|
---|
| 48 | * @var string
|
---|
| 49 | */
|
---|
| 50 | public $languageCode;
|
---|
| 51 | protected $naturalLanguageQueryUnderstandingSpecType = GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec::class;
|
---|
| 52 | protected $naturalLanguageQueryUnderstandingSpecDataType = '';
|
---|
| 53 | /**
|
---|
| 54 | * @var int
|
---|
| 55 | */
|
---|
| 56 | public $offset;
|
---|
| 57 | /**
|
---|
| 58 | * @var int
|
---|
| 59 | */
|
---|
| 60 | public $oneBoxPageSize;
|
---|
| 61 | /**
|
---|
| 62 | * @var string
|
---|
| 63 | */
|
---|
| 64 | public $orderBy;
|
---|
| 65 | /**
|
---|
| 66 | * @var int
|
---|
| 67 | */
|
---|
| 68 | public $pageSize;
|
---|
| 69 | /**
|
---|
| 70 | * @var string
|
---|
| 71 | */
|
---|
| 72 | public $pageToken;
|
---|
| 73 | /**
|
---|
| 74 | * @var array[]
|
---|
| 75 | */
|
---|
| 76 | public $params;
|
---|
| 77 | protected $personalizationSpecType = GoogleCloudDiscoveryengineV1betaSearchRequestPersonalizationSpec::class;
|
---|
| 78 | protected $personalizationSpecDataType = '';
|
---|
| 79 | /**
|
---|
| 80 | * @var string
|
---|
| 81 | */
|
---|
| 82 | public $query;
|
---|
| 83 | protected $queryExpansionSpecType = GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec::class;
|
---|
| 84 | protected $queryExpansionSpecDataType = '';
|
---|
| 85 | /**
|
---|
| 86 | * @var string
|
---|
| 87 | */
|
---|
| 88 | public $rankingExpression;
|
---|
| 89 | /**
|
---|
| 90 | * @var string
|
---|
| 91 | */
|
---|
| 92 | public $regionCode;
|
---|
| 93 | /**
|
---|
| 94 | * @var string
|
---|
| 95 | */
|
---|
| 96 | public $relevanceThreshold;
|
---|
| 97 | /**
|
---|
| 98 | * @var bool
|
---|
| 99 | */
|
---|
| 100 | public $safeSearch;
|
---|
| 101 | protected $searchAsYouTypeSpecType = GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec::class;
|
---|
| 102 | protected $searchAsYouTypeSpecDataType = '';
|
---|
| 103 | /**
|
---|
| 104 | * @var string
|
---|
| 105 | */
|
---|
| 106 | public $servingConfig;
|
---|
| 107 | /**
|
---|
| 108 | * @var string
|
---|
| 109 | */
|
---|
| 110 | public $session;
|
---|
| 111 | protected $sessionSpecType = GoogleCloudDiscoveryengineV1betaSearchRequestSessionSpec::class;
|
---|
| 112 | protected $sessionSpecDataType = '';
|
---|
| 113 | protected $spellCorrectionSpecType = GoogleCloudDiscoveryengineV1betaSearchRequestSpellCorrectionSpec::class;
|
---|
| 114 | protected $spellCorrectionSpecDataType = '';
|
---|
| 115 | protected $userInfoType = GoogleCloudDiscoveryengineV1betaUserInfo::class;
|
---|
| 116 | protected $userInfoDataType = '';
|
---|
| 117 | /**
|
---|
| 118 | * @var string[]
|
---|
| 119 | */
|
---|
| 120 | public $userLabels;
|
---|
| 121 | /**
|
---|
| 122 | * @var string
|
---|
| 123 | */
|
---|
| 124 | public $userPseudoId;
|
---|
| 125 |
|
---|
| 126 | /**
|
---|
| 127 | * @param GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec
|
---|
| 128 | */
|
---|
| 129 | public function setBoostSpec(GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec $boostSpec)
|
---|
| 130 | {
|
---|
| 131 | $this->boostSpec = $boostSpec;
|
---|
| 132 | }
|
---|
| 133 | /**
|
---|
| 134 | * @return GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec
|
---|
| 135 | */
|
---|
| 136 | public function getBoostSpec()
|
---|
| 137 | {
|
---|
| 138 | return $this->boostSpec;
|
---|
| 139 | }
|
---|
| 140 | /**
|
---|
| 141 | * @param string
|
---|
| 142 | */
|
---|
| 143 | public function setBranch($branch)
|
---|
| 144 | {
|
---|
| 145 | $this->branch = $branch;
|
---|
| 146 | }
|
---|
| 147 | /**
|
---|
| 148 | * @return string
|
---|
| 149 | */
|
---|
| 150 | public function getBranch()
|
---|
| 151 | {
|
---|
| 152 | return $this->branch;
|
---|
| 153 | }
|
---|
| 154 | /**
|
---|
| 155 | * @param string
|
---|
| 156 | */
|
---|
| 157 | public function setCanonicalFilter($canonicalFilter)
|
---|
| 158 | {
|
---|
| 159 | $this->canonicalFilter = $canonicalFilter;
|
---|
| 160 | }
|
---|
| 161 | /**
|
---|
| 162 | * @return string
|
---|
| 163 | */
|
---|
| 164 | public function getCanonicalFilter()
|
---|
| 165 | {
|
---|
| 166 | return $this->canonicalFilter;
|
---|
| 167 | }
|
---|
| 168 | /**
|
---|
| 169 | * @param GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec
|
---|
| 170 | */
|
---|
| 171 | public function setContentSearchSpec(GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec $contentSearchSpec)
|
---|
| 172 | {
|
---|
| 173 | $this->contentSearchSpec = $contentSearchSpec;
|
---|
| 174 | }
|
---|
| 175 | /**
|
---|
| 176 | * @return GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec
|
---|
| 177 | */
|
---|
| 178 | public function getContentSearchSpec()
|
---|
| 179 | {
|
---|
| 180 | return $this->contentSearchSpec;
|
---|
| 181 | }
|
---|
| 182 | /**
|
---|
| 183 | * @param GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec[]
|
---|
| 184 | */
|
---|
| 185 | public function setDataStoreSpecs($dataStoreSpecs)
|
---|
| 186 | {
|
---|
| 187 | $this->dataStoreSpecs = $dataStoreSpecs;
|
---|
| 188 | }
|
---|
| 189 | /**
|
---|
| 190 | * @return GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec[]
|
---|
| 191 | */
|
---|
| 192 | public function getDataStoreSpecs()
|
---|
| 193 | {
|
---|
| 194 | return $this->dataStoreSpecs;
|
---|
| 195 | }
|
---|
| 196 | /**
|
---|
| 197 | * @param GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec
|
---|
| 198 | */
|
---|
| 199 | public function setEmbeddingSpec(GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec $embeddingSpec)
|
---|
| 200 | {
|
---|
| 201 | $this->embeddingSpec = $embeddingSpec;
|
---|
| 202 | }
|
---|
| 203 | /**
|
---|
| 204 | * @return GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec
|
---|
| 205 | */
|
---|
| 206 | public function getEmbeddingSpec()
|
---|
| 207 | {
|
---|
| 208 | return $this->embeddingSpec;
|
---|
| 209 | }
|
---|
| 210 | /**
|
---|
| 211 | * @param GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpec[]
|
---|
| 212 | */
|
---|
| 213 | public function setFacetSpecs($facetSpecs)
|
---|
| 214 | {
|
---|
| 215 | $this->facetSpecs = $facetSpecs;
|
---|
| 216 | }
|
---|
| 217 | /**
|
---|
| 218 | * @return GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpec[]
|
---|
| 219 | */
|
---|
| 220 | public function getFacetSpecs()
|
---|
| 221 | {
|
---|
| 222 | return $this->facetSpecs;
|
---|
| 223 | }
|
---|
| 224 | /**
|
---|
| 225 | * @param string
|
---|
| 226 | */
|
---|
| 227 | public function setFilter($filter)
|
---|
| 228 | {
|
---|
| 229 | $this->filter = $filter;
|
---|
| 230 | }
|
---|
| 231 | /**
|
---|
| 232 | * @return string
|
---|
| 233 | */
|
---|
| 234 | public function getFilter()
|
---|
| 235 | {
|
---|
| 236 | return $this->filter;
|
---|
| 237 | }
|
---|
| 238 | /**
|
---|
| 239 | * @param GoogleCloudDiscoveryengineV1betaSearchRequestImageQuery
|
---|
| 240 | */
|
---|
| 241 | public function setImageQuery(GoogleCloudDiscoveryengineV1betaSearchRequestImageQuery $imageQuery)
|
---|
| 242 | {
|
---|
| 243 | $this->imageQuery = $imageQuery;
|
---|
| 244 | }
|
---|
| 245 | /**
|
---|
| 246 | * @return GoogleCloudDiscoveryengineV1betaSearchRequestImageQuery
|
---|
| 247 | */
|
---|
| 248 | public function getImageQuery()
|
---|
| 249 | {
|
---|
| 250 | return $this->imageQuery;
|
---|
| 251 | }
|
---|
| 252 | /**
|
---|
| 253 | * @param string
|
---|
| 254 | */
|
---|
| 255 | public function setLanguageCode($languageCode)
|
---|
| 256 | {
|
---|
| 257 | $this->languageCode = $languageCode;
|
---|
| 258 | }
|
---|
| 259 | /**
|
---|
| 260 | * @return string
|
---|
| 261 | */
|
---|
| 262 | public function getLanguageCode()
|
---|
| 263 | {
|
---|
| 264 | return $this->languageCode;
|
---|
| 265 | }
|
---|
| 266 | /**
|
---|
| 267 | * @param GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec
|
---|
| 268 | */
|
---|
| 269 | public function setNaturalLanguageQueryUnderstandingSpec(GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec $naturalLanguageQueryUnderstandingSpec)
|
---|
| 270 | {
|
---|
| 271 | $this->naturalLanguageQueryUnderstandingSpec = $naturalLanguageQueryUnderstandingSpec;
|
---|
| 272 | }
|
---|
| 273 | /**
|
---|
| 274 | * @return GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec
|
---|
| 275 | */
|
---|
| 276 | public function getNaturalLanguageQueryUnderstandingSpec()
|
---|
| 277 | {
|
---|
| 278 | return $this->naturalLanguageQueryUnderstandingSpec;
|
---|
| 279 | }
|
---|
| 280 | /**
|
---|
| 281 | * @param int
|
---|
| 282 | */
|
---|
| 283 | public function setOffset($offset)
|
---|
| 284 | {
|
---|
| 285 | $this->offset = $offset;
|
---|
| 286 | }
|
---|
| 287 | /**
|
---|
| 288 | * @return int
|
---|
| 289 | */
|
---|
| 290 | public function getOffset()
|
---|
| 291 | {
|
---|
| 292 | return $this->offset;
|
---|
| 293 | }
|
---|
| 294 | /**
|
---|
| 295 | * @param int
|
---|
| 296 | */
|
---|
| 297 | public function setOneBoxPageSize($oneBoxPageSize)
|
---|
| 298 | {
|
---|
| 299 | $this->oneBoxPageSize = $oneBoxPageSize;
|
---|
| 300 | }
|
---|
| 301 | /**
|
---|
| 302 | * @return int
|
---|
| 303 | */
|
---|
| 304 | public function getOneBoxPageSize()
|
---|
| 305 | {
|
---|
| 306 | return $this->oneBoxPageSize;
|
---|
| 307 | }
|
---|
| 308 | /**
|
---|
| 309 | * @param string
|
---|
| 310 | */
|
---|
| 311 | public function setOrderBy($orderBy)
|
---|
| 312 | {
|
---|
| 313 | $this->orderBy = $orderBy;
|
---|
| 314 | }
|
---|
| 315 | /**
|
---|
| 316 | * @return string
|
---|
| 317 | */
|
---|
| 318 | public function getOrderBy()
|
---|
| 319 | {
|
---|
| 320 | return $this->orderBy;
|
---|
| 321 | }
|
---|
| 322 | /**
|
---|
| 323 | * @param int
|
---|
| 324 | */
|
---|
| 325 | public function setPageSize($pageSize)
|
---|
| 326 | {
|
---|
| 327 | $this->pageSize = $pageSize;
|
---|
| 328 | }
|
---|
| 329 | /**
|
---|
| 330 | * @return int
|
---|
| 331 | */
|
---|
| 332 | public function getPageSize()
|
---|
| 333 | {
|
---|
| 334 | return $this->pageSize;
|
---|
| 335 | }
|
---|
| 336 | /**
|
---|
| 337 | * @param string
|
---|
| 338 | */
|
---|
| 339 | public function setPageToken($pageToken)
|
---|
| 340 | {
|
---|
| 341 | $this->pageToken = $pageToken;
|
---|
| 342 | }
|
---|
| 343 | /**
|
---|
| 344 | * @return string
|
---|
| 345 | */
|
---|
| 346 | public function getPageToken()
|
---|
| 347 | {
|
---|
| 348 | return $this->pageToken;
|
---|
| 349 | }
|
---|
| 350 | /**
|
---|
| 351 | * @param array[]
|
---|
| 352 | */
|
---|
| 353 | public function setParams($params)
|
---|
| 354 | {
|
---|
| 355 | $this->params = $params;
|
---|
| 356 | }
|
---|
| 357 | /**
|
---|
| 358 | * @return array[]
|
---|
| 359 | */
|
---|
| 360 | public function getParams()
|
---|
| 361 | {
|
---|
| 362 | return $this->params;
|
---|
| 363 | }
|
---|
| 364 | /**
|
---|
| 365 | * @param GoogleCloudDiscoveryengineV1betaSearchRequestPersonalizationSpec
|
---|
| 366 | */
|
---|
| 367 | public function setPersonalizationSpec(GoogleCloudDiscoveryengineV1betaSearchRequestPersonalizationSpec $personalizationSpec)
|
---|
| 368 | {
|
---|
| 369 | $this->personalizationSpec = $personalizationSpec;
|
---|
| 370 | }
|
---|
| 371 | /**
|
---|
| 372 | * @return GoogleCloudDiscoveryengineV1betaSearchRequestPersonalizationSpec
|
---|
| 373 | */
|
---|
| 374 | public function getPersonalizationSpec()
|
---|
| 375 | {
|
---|
| 376 | return $this->personalizationSpec;
|
---|
| 377 | }
|
---|
| 378 | /**
|
---|
| 379 | * @param string
|
---|
| 380 | */
|
---|
| 381 | public function setQuery($query)
|
---|
| 382 | {
|
---|
| 383 | $this->query = $query;
|
---|
| 384 | }
|
---|
| 385 | /**
|
---|
| 386 | * @return string
|
---|
| 387 | */
|
---|
| 388 | public function getQuery()
|
---|
| 389 | {
|
---|
| 390 | return $this->query;
|
---|
| 391 | }
|
---|
| 392 | /**
|
---|
| 393 | * @param GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec
|
---|
| 394 | */
|
---|
| 395 | public function setQueryExpansionSpec(GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec $queryExpansionSpec)
|
---|
| 396 | {
|
---|
| 397 | $this->queryExpansionSpec = $queryExpansionSpec;
|
---|
| 398 | }
|
---|
| 399 | /**
|
---|
| 400 | * @return GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec
|
---|
| 401 | */
|
---|
| 402 | public function getQueryExpansionSpec()
|
---|
| 403 | {
|
---|
| 404 | return $this->queryExpansionSpec;
|
---|
| 405 | }
|
---|
| 406 | /**
|
---|
| 407 | * @param string
|
---|
| 408 | */
|
---|
| 409 | public function setRankingExpression($rankingExpression)
|
---|
| 410 | {
|
---|
| 411 | $this->rankingExpression = $rankingExpression;
|
---|
| 412 | }
|
---|
| 413 | /**
|
---|
| 414 | * @return string
|
---|
| 415 | */
|
---|
| 416 | public function getRankingExpression()
|
---|
| 417 | {
|
---|
| 418 | return $this->rankingExpression;
|
---|
| 419 | }
|
---|
| 420 | /**
|
---|
| 421 | * @param string
|
---|
| 422 | */
|
---|
| 423 | public function setRegionCode($regionCode)
|
---|
| 424 | {
|
---|
| 425 | $this->regionCode = $regionCode;
|
---|
| 426 | }
|
---|
| 427 | /**
|
---|
| 428 | * @return string
|
---|
| 429 | */
|
---|
| 430 | public function getRegionCode()
|
---|
| 431 | {
|
---|
| 432 | return $this->regionCode;
|
---|
| 433 | }
|
---|
| 434 | /**
|
---|
| 435 | * @param string
|
---|
| 436 | */
|
---|
| 437 | public function setRelevanceThreshold($relevanceThreshold)
|
---|
| 438 | {
|
---|
| 439 | $this->relevanceThreshold = $relevanceThreshold;
|
---|
| 440 | }
|
---|
| 441 | /**
|
---|
| 442 | * @return string
|
---|
| 443 | */
|
---|
| 444 | public function getRelevanceThreshold()
|
---|
| 445 | {
|
---|
| 446 | return $this->relevanceThreshold;
|
---|
| 447 | }
|
---|
| 448 | /**
|
---|
| 449 | * @param bool
|
---|
| 450 | */
|
---|
| 451 | public function setSafeSearch($safeSearch)
|
---|
| 452 | {
|
---|
| 453 | $this->safeSearch = $safeSearch;
|
---|
| 454 | }
|
---|
| 455 | /**
|
---|
| 456 | * @return bool
|
---|
| 457 | */
|
---|
| 458 | public function getSafeSearch()
|
---|
| 459 | {
|
---|
| 460 | return $this->safeSearch;
|
---|
| 461 | }
|
---|
| 462 | /**
|
---|
| 463 | * @param GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec
|
---|
| 464 | */
|
---|
| 465 | public function setSearchAsYouTypeSpec(GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec $searchAsYouTypeSpec)
|
---|
| 466 | {
|
---|
| 467 | $this->searchAsYouTypeSpec = $searchAsYouTypeSpec;
|
---|
| 468 | }
|
---|
| 469 | /**
|
---|
| 470 | * @return GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec
|
---|
| 471 | */
|
---|
| 472 | public function getSearchAsYouTypeSpec()
|
---|
| 473 | {
|
---|
| 474 | return $this->searchAsYouTypeSpec;
|
---|
| 475 | }
|
---|
| 476 | /**
|
---|
| 477 | * @param string
|
---|
| 478 | */
|
---|
| 479 | public function setServingConfig($servingConfig)
|
---|
| 480 | {
|
---|
| 481 | $this->servingConfig = $servingConfig;
|
---|
| 482 | }
|
---|
| 483 | /**
|
---|
| 484 | * @return string
|
---|
| 485 | */
|
---|
| 486 | public function getServingConfig()
|
---|
| 487 | {
|
---|
| 488 | return $this->servingConfig;
|
---|
| 489 | }
|
---|
| 490 | /**
|
---|
| 491 | * @param string
|
---|
| 492 | */
|
---|
| 493 | public function setSession($session)
|
---|
| 494 | {
|
---|
| 495 | $this->session = $session;
|
---|
| 496 | }
|
---|
| 497 | /**
|
---|
| 498 | * @return string
|
---|
| 499 | */
|
---|
| 500 | public function getSession()
|
---|
| 501 | {
|
---|
| 502 | return $this->session;
|
---|
| 503 | }
|
---|
| 504 | /**
|
---|
| 505 | * @param GoogleCloudDiscoveryengineV1betaSearchRequestSessionSpec
|
---|
| 506 | */
|
---|
| 507 | public function setSessionSpec(GoogleCloudDiscoveryengineV1betaSearchRequestSessionSpec $sessionSpec)
|
---|
| 508 | {
|
---|
| 509 | $this->sessionSpec = $sessionSpec;
|
---|
| 510 | }
|
---|
| 511 | /**
|
---|
| 512 | * @return GoogleCloudDiscoveryengineV1betaSearchRequestSessionSpec
|
---|
| 513 | */
|
---|
| 514 | public function getSessionSpec()
|
---|
| 515 | {
|
---|
| 516 | return $this->sessionSpec;
|
---|
| 517 | }
|
---|
| 518 | /**
|
---|
| 519 | * @param GoogleCloudDiscoveryengineV1betaSearchRequestSpellCorrectionSpec
|
---|
| 520 | */
|
---|
| 521 | public function setSpellCorrectionSpec(GoogleCloudDiscoveryengineV1betaSearchRequestSpellCorrectionSpec $spellCorrectionSpec)
|
---|
| 522 | {
|
---|
| 523 | $this->spellCorrectionSpec = $spellCorrectionSpec;
|
---|
| 524 | }
|
---|
| 525 | /**
|
---|
| 526 | * @return GoogleCloudDiscoveryengineV1betaSearchRequestSpellCorrectionSpec
|
---|
| 527 | */
|
---|
| 528 | public function getSpellCorrectionSpec()
|
---|
| 529 | {
|
---|
| 530 | return $this->spellCorrectionSpec;
|
---|
| 531 | }
|
---|
| 532 | /**
|
---|
| 533 | * @param GoogleCloudDiscoveryengineV1betaUserInfo
|
---|
| 534 | */
|
---|
| 535 | public function setUserInfo(GoogleCloudDiscoveryengineV1betaUserInfo $userInfo)
|
---|
| 536 | {
|
---|
| 537 | $this->userInfo = $userInfo;
|
---|
| 538 | }
|
---|
| 539 | /**
|
---|
| 540 | * @return GoogleCloudDiscoveryengineV1betaUserInfo
|
---|
| 541 | */
|
---|
| 542 | public function getUserInfo()
|
---|
| 543 | {
|
---|
| 544 | return $this->userInfo;
|
---|
| 545 | }
|
---|
| 546 | /**
|
---|
| 547 | * @param string[]
|
---|
| 548 | */
|
---|
| 549 | public function setUserLabels($userLabels)
|
---|
| 550 | {
|
---|
| 551 | $this->userLabels = $userLabels;
|
---|
| 552 | }
|
---|
| 553 | /**
|
---|
| 554 | * @return string[]
|
---|
| 555 | */
|
---|
| 556 | public function getUserLabels()
|
---|
| 557 | {
|
---|
| 558 | return $this->userLabels;
|
---|
| 559 | }
|
---|
| 560 | /**
|
---|
| 561 | * @param string
|
---|
| 562 | */
|
---|
| 563 | public function setUserPseudoId($userPseudoId)
|
---|
| 564 | {
|
---|
| 565 | $this->userPseudoId = $userPseudoId;
|
---|
| 566 | }
|
---|
| 567 | /**
|
---|
| 568 | * @return string
|
---|
| 569 | */
|
---|
| 570 | public function getUserPseudoId()
|
---|
| 571 | {
|
---|
| 572 | return $this->userPseudoId;
|
---|
| 573 | }
|
---|
| 574 | }
|
---|
| 575 |
|
---|
| 576 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 577 | class_alias(GoogleCloudDiscoveryengineV1betaSearchRequest::class, 'Google_Service_DiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequest');
|
---|