[e3d4e0a] | 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\CloudRetail;
|
---|
| 19 |
|
---|
| 20 | class GoogleCloudRetailV2ServingConfig extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'twowaySynonymsControlIds';
|
---|
| 23 | /**
|
---|
| 24 | * @var string[]
|
---|
| 25 | */
|
---|
| 26 | public $boostControlIds;
|
---|
| 27 | /**
|
---|
| 28 | * @var string
|
---|
| 29 | */
|
---|
| 30 | public $displayName;
|
---|
| 31 | /**
|
---|
| 32 | * @var string
|
---|
| 33 | */
|
---|
| 34 | public $diversityLevel;
|
---|
| 35 | /**
|
---|
| 36 | * @var string
|
---|
| 37 | */
|
---|
| 38 | public $diversityType;
|
---|
| 39 | /**
|
---|
| 40 | * @var string[]
|
---|
| 41 | */
|
---|
| 42 | public $doNotAssociateControlIds;
|
---|
| 43 | protected $dynamicFacetSpecType = GoogleCloudRetailV2SearchRequestDynamicFacetSpec::class;
|
---|
| 44 | protected $dynamicFacetSpecDataType = '';
|
---|
| 45 | /**
|
---|
| 46 | * @var string
|
---|
| 47 | */
|
---|
| 48 | public $enableCategoryFilterLevel;
|
---|
| 49 | /**
|
---|
| 50 | * @var string[]
|
---|
| 51 | */
|
---|
| 52 | public $facetControlIds;
|
---|
| 53 | /**
|
---|
| 54 | * @var string[]
|
---|
| 55 | */
|
---|
| 56 | public $filterControlIds;
|
---|
| 57 | /**
|
---|
| 58 | * @var string[]
|
---|
| 59 | */
|
---|
| 60 | public $ignoreControlIds;
|
---|
| 61 | /**
|
---|
| 62 | * @var bool
|
---|
| 63 | */
|
---|
| 64 | public $ignoreRecsDenylist;
|
---|
| 65 | /**
|
---|
| 66 | * @var string
|
---|
| 67 | */
|
---|
| 68 | public $modelId;
|
---|
| 69 | /**
|
---|
| 70 | * @var string
|
---|
| 71 | */
|
---|
| 72 | public $name;
|
---|
| 73 | /**
|
---|
| 74 | * @var string[]
|
---|
| 75 | */
|
---|
| 76 | public $onewaySynonymsControlIds;
|
---|
| 77 | protected $personalizationSpecType = GoogleCloudRetailV2SearchRequestPersonalizationSpec::class;
|
---|
| 78 | protected $personalizationSpecDataType = '';
|
---|
| 79 | /**
|
---|
| 80 | * @var string
|
---|
| 81 | */
|
---|
| 82 | public $priceRerankingLevel;
|
---|
| 83 | /**
|
---|
| 84 | * @var string[]
|
---|
| 85 | */
|
---|
| 86 | public $redirectControlIds;
|
---|
| 87 | /**
|
---|
| 88 | * @var string[]
|
---|
| 89 | */
|
---|
| 90 | public $replacementControlIds;
|
---|
| 91 | /**
|
---|
| 92 | * @var string[]
|
---|
| 93 | */
|
---|
| 94 | public $solutionTypes;
|
---|
| 95 | /**
|
---|
| 96 | * @var string[]
|
---|
| 97 | */
|
---|
| 98 | public $twowaySynonymsControlIds;
|
---|
| 99 |
|
---|
| 100 | /**
|
---|
| 101 | * @param string[]
|
---|
| 102 | */
|
---|
| 103 | public function setBoostControlIds($boostControlIds)
|
---|
| 104 | {
|
---|
| 105 | $this->boostControlIds = $boostControlIds;
|
---|
| 106 | }
|
---|
| 107 | /**
|
---|
| 108 | * @return string[]
|
---|
| 109 | */
|
---|
| 110 | public function getBoostControlIds()
|
---|
| 111 | {
|
---|
| 112 | return $this->boostControlIds;
|
---|
| 113 | }
|
---|
| 114 | /**
|
---|
| 115 | * @param string
|
---|
| 116 | */
|
---|
| 117 | public function setDisplayName($displayName)
|
---|
| 118 | {
|
---|
| 119 | $this->displayName = $displayName;
|
---|
| 120 | }
|
---|
| 121 | /**
|
---|
| 122 | * @return string
|
---|
| 123 | */
|
---|
| 124 | public function getDisplayName()
|
---|
| 125 | {
|
---|
| 126 | return $this->displayName;
|
---|
| 127 | }
|
---|
| 128 | /**
|
---|
| 129 | * @param string
|
---|
| 130 | */
|
---|
| 131 | public function setDiversityLevel($diversityLevel)
|
---|
| 132 | {
|
---|
| 133 | $this->diversityLevel = $diversityLevel;
|
---|
| 134 | }
|
---|
| 135 | /**
|
---|
| 136 | * @return string
|
---|
| 137 | */
|
---|
| 138 | public function getDiversityLevel()
|
---|
| 139 | {
|
---|
| 140 | return $this->diversityLevel;
|
---|
| 141 | }
|
---|
| 142 | /**
|
---|
| 143 | * @param string
|
---|
| 144 | */
|
---|
| 145 | public function setDiversityType($diversityType)
|
---|
| 146 | {
|
---|
| 147 | $this->diversityType = $diversityType;
|
---|
| 148 | }
|
---|
| 149 | /**
|
---|
| 150 | * @return string
|
---|
| 151 | */
|
---|
| 152 | public function getDiversityType()
|
---|
| 153 | {
|
---|
| 154 | return $this->diversityType;
|
---|
| 155 | }
|
---|
| 156 | /**
|
---|
| 157 | * @param string[]
|
---|
| 158 | */
|
---|
| 159 | public function setDoNotAssociateControlIds($doNotAssociateControlIds)
|
---|
| 160 | {
|
---|
| 161 | $this->doNotAssociateControlIds = $doNotAssociateControlIds;
|
---|
| 162 | }
|
---|
| 163 | /**
|
---|
| 164 | * @return string[]
|
---|
| 165 | */
|
---|
| 166 | public function getDoNotAssociateControlIds()
|
---|
| 167 | {
|
---|
| 168 | return $this->doNotAssociateControlIds;
|
---|
| 169 | }
|
---|
| 170 | /**
|
---|
| 171 | * @param GoogleCloudRetailV2SearchRequestDynamicFacetSpec
|
---|
| 172 | */
|
---|
| 173 | public function setDynamicFacetSpec(GoogleCloudRetailV2SearchRequestDynamicFacetSpec $dynamicFacetSpec)
|
---|
| 174 | {
|
---|
| 175 | $this->dynamicFacetSpec = $dynamicFacetSpec;
|
---|
| 176 | }
|
---|
| 177 | /**
|
---|
| 178 | * @return GoogleCloudRetailV2SearchRequestDynamicFacetSpec
|
---|
| 179 | */
|
---|
| 180 | public function getDynamicFacetSpec()
|
---|
| 181 | {
|
---|
| 182 | return $this->dynamicFacetSpec;
|
---|
| 183 | }
|
---|
| 184 | /**
|
---|
| 185 | * @param string
|
---|
| 186 | */
|
---|
| 187 | public function setEnableCategoryFilterLevel($enableCategoryFilterLevel)
|
---|
| 188 | {
|
---|
| 189 | $this->enableCategoryFilterLevel = $enableCategoryFilterLevel;
|
---|
| 190 | }
|
---|
| 191 | /**
|
---|
| 192 | * @return string
|
---|
| 193 | */
|
---|
| 194 | public function getEnableCategoryFilterLevel()
|
---|
| 195 | {
|
---|
| 196 | return $this->enableCategoryFilterLevel;
|
---|
| 197 | }
|
---|
| 198 | /**
|
---|
| 199 | * @param string[]
|
---|
| 200 | */
|
---|
| 201 | public function setFacetControlIds($facetControlIds)
|
---|
| 202 | {
|
---|
| 203 | $this->facetControlIds = $facetControlIds;
|
---|
| 204 | }
|
---|
| 205 | /**
|
---|
| 206 | * @return string[]
|
---|
| 207 | */
|
---|
| 208 | public function getFacetControlIds()
|
---|
| 209 | {
|
---|
| 210 | return $this->facetControlIds;
|
---|
| 211 | }
|
---|
| 212 | /**
|
---|
| 213 | * @param string[]
|
---|
| 214 | */
|
---|
| 215 | public function setFilterControlIds($filterControlIds)
|
---|
| 216 | {
|
---|
| 217 | $this->filterControlIds = $filterControlIds;
|
---|
| 218 | }
|
---|
| 219 | /**
|
---|
| 220 | * @return string[]
|
---|
| 221 | */
|
---|
| 222 | public function getFilterControlIds()
|
---|
| 223 | {
|
---|
| 224 | return $this->filterControlIds;
|
---|
| 225 | }
|
---|
| 226 | /**
|
---|
| 227 | * @param string[]
|
---|
| 228 | */
|
---|
| 229 | public function setIgnoreControlIds($ignoreControlIds)
|
---|
| 230 | {
|
---|
| 231 | $this->ignoreControlIds = $ignoreControlIds;
|
---|
| 232 | }
|
---|
| 233 | /**
|
---|
| 234 | * @return string[]
|
---|
| 235 | */
|
---|
| 236 | public function getIgnoreControlIds()
|
---|
| 237 | {
|
---|
| 238 | return $this->ignoreControlIds;
|
---|
| 239 | }
|
---|
| 240 | /**
|
---|
| 241 | * @param bool
|
---|
| 242 | */
|
---|
| 243 | public function setIgnoreRecsDenylist($ignoreRecsDenylist)
|
---|
| 244 | {
|
---|
| 245 | $this->ignoreRecsDenylist = $ignoreRecsDenylist;
|
---|
| 246 | }
|
---|
| 247 | /**
|
---|
| 248 | * @return bool
|
---|
| 249 | */
|
---|
| 250 | public function getIgnoreRecsDenylist()
|
---|
| 251 | {
|
---|
| 252 | return $this->ignoreRecsDenylist;
|
---|
| 253 | }
|
---|
| 254 | /**
|
---|
| 255 | * @param string
|
---|
| 256 | */
|
---|
| 257 | public function setModelId($modelId)
|
---|
| 258 | {
|
---|
| 259 | $this->modelId = $modelId;
|
---|
| 260 | }
|
---|
| 261 | /**
|
---|
| 262 | * @return string
|
---|
| 263 | */
|
---|
| 264 | public function getModelId()
|
---|
| 265 | {
|
---|
| 266 | return $this->modelId;
|
---|
| 267 | }
|
---|
| 268 | /**
|
---|
| 269 | * @param string
|
---|
| 270 | */
|
---|
| 271 | public function setName($name)
|
---|
| 272 | {
|
---|
| 273 | $this->name = $name;
|
---|
| 274 | }
|
---|
| 275 | /**
|
---|
| 276 | * @return string
|
---|
| 277 | */
|
---|
| 278 | public function getName()
|
---|
| 279 | {
|
---|
| 280 | return $this->name;
|
---|
| 281 | }
|
---|
| 282 | /**
|
---|
| 283 | * @param string[]
|
---|
| 284 | */
|
---|
| 285 | public function setOnewaySynonymsControlIds($onewaySynonymsControlIds)
|
---|
| 286 | {
|
---|
| 287 | $this->onewaySynonymsControlIds = $onewaySynonymsControlIds;
|
---|
| 288 | }
|
---|
| 289 | /**
|
---|
| 290 | * @return string[]
|
---|
| 291 | */
|
---|
| 292 | public function getOnewaySynonymsControlIds()
|
---|
| 293 | {
|
---|
| 294 | return $this->onewaySynonymsControlIds;
|
---|
| 295 | }
|
---|
| 296 | /**
|
---|
| 297 | * @param GoogleCloudRetailV2SearchRequestPersonalizationSpec
|
---|
| 298 | */
|
---|
| 299 | public function setPersonalizationSpec(GoogleCloudRetailV2SearchRequestPersonalizationSpec $personalizationSpec)
|
---|
| 300 | {
|
---|
| 301 | $this->personalizationSpec = $personalizationSpec;
|
---|
| 302 | }
|
---|
| 303 | /**
|
---|
| 304 | * @return GoogleCloudRetailV2SearchRequestPersonalizationSpec
|
---|
| 305 | */
|
---|
| 306 | public function getPersonalizationSpec()
|
---|
| 307 | {
|
---|
| 308 | return $this->personalizationSpec;
|
---|
| 309 | }
|
---|
| 310 | /**
|
---|
| 311 | * @param string
|
---|
| 312 | */
|
---|
| 313 | public function setPriceRerankingLevel($priceRerankingLevel)
|
---|
| 314 | {
|
---|
| 315 | $this->priceRerankingLevel = $priceRerankingLevel;
|
---|
| 316 | }
|
---|
| 317 | /**
|
---|
| 318 | * @return string
|
---|
| 319 | */
|
---|
| 320 | public function getPriceRerankingLevel()
|
---|
| 321 | {
|
---|
| 322 | return $this->priceRerankingLevel;
|
---|
| 323 | }
|
---|
| 324 | /**
|
---|
| 325 | * @param string[]
|
---|
| 326 | */
|
---|
| 327 | public function setRedirectControlIds($redirectControlIds)
|
---|
| 328 | {
|
---|
| 329 | $this->redirectControlIds = $redirectControlIds;
|
---|
| 330 | }
|
---|
| 331 | /**
|
---|
| 332 | * @return string[]
|
---|
| 333 | */
|
---|
| 334 | public function getRedirectControlIds()
|
---|
| 335 | {
|
---|
| 336 | return $this->redirectControlIds;
|
---|
| 337 | }
|
---|
| 338 | /**
|
---|
| 339 | * @param string[]
|
---|
| 340 | */
|
---|
| 341 | public function setReplacementControlIds($replacementControlIds)
|
---|
| 342 | {
|
---|
| 343 | $this->replacementControlIds = $replacementControlIds;
|
---|
| 344 | }
|
---|
| 345 | /**
|
---|
| 346 | * @return string[]
|
---|
| 347 | */
|
---|
| 348 | public function getReplacementControlIds()
|
---|
| 349 | {
|
---|
| 350 | return $this->replacementControlIds;
|
---|
| 351 | }
|
---|
| 352 | /**
|
---|
| 353 | * @param string[]
|
---|
| 354 | */
|
---|
| 355 | public function setSolutionTypes($solutionTypes)
|
---|
| 356 | {
|
---|
| 357 | $this->solutionTypes = $solutionTypes;
|
---|
| 358 | }
|
---|
| 359 | /**
|
---|
| 360 | * @return string[]
|
---|
| 361 | */
|
---|
| 362 | public function getSolutionTypes()
|
---|
| 363 | {
|
---|
| 364 | return $this->solutionTypes;
|
---|
| 365 | }
|
---|
| 366 | /**
|
---|
| 367 | * @param string[]
|
---|
| 368 | */
|
---|
| 369 | public function setTwowaySynonymsControlIds($twowaySynonymsControlIds)
|
---|
| 370 | {
|
---|
| 371 | $this->twowaySynonymsControlIds = $twowaySynonymsControlIds;
|
---|
| 372 | }
|
---|
| 373 | /**
|
---|
| 374 | * @return string[]
|
---|
| 375 | */
|
---|
| 376 | public function getTwowaySynonymsControlIds()
|
---|
| 377 | {
|
---|
| 378 | return $this->twowaySynonymsControlIds;
|
---|
| 379 | }
|
---|
| 380 | }
|
---|
| 381 |
|
---|
| 382 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 383 | class_alias(GoogleCloudRetailV2ServingConfig::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2ServingConfig');
|
---|