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