[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\CloudRetail;
|
---|
| 19 |
|
---|
| 20 | class GoogleCloudRetailV2alphaModel extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'servingConfigLists';
|
---|
| 23 | /**
|
---|
| 24 | * @var string
|
---|
| 25 | */
|
---|
| 26 | public $createTime;
|
---|
| 27 | /**
|
---|
| 28 | * @var string
|
---|
| 29 | */
|
---|
| 30 | public $dataState;
|
---|
| 31 | /**
|
---|
| 32 | * @var string
|
---|
| 33 | */
|
---|
| 34 | public $displayName;
|
---|
| 35 | /**
|
---|
| 36 | * @var string
|
---|
| 37 | */
|
---|
| 38 | public $filteringOption;
|
---|
| 39 | /**
|
---|
| 40 | * @var string
|
---|
| 41 | */
|
---|
| 42 | public $lastTuneTime;
|
---|
| 43 | protected $modelFeaturesConfigType = GoogleCloudRetailV2alphaModelModelFeaturesConfig::class;
|
---|
| 44 | protected $modelFeaturesConfigDataType = '';
|
---|
| 45 | /**
|
---|
| 46 | * @var string
|
---|
| 47 | */
|
---|
| 48 | public $name;
|
---|
| 49 | /**
|
---|
| 50 | * @var string
|
---|
| 51 | */
|
---|
| 52 | public $optimizationObjective;
|
---|
| 53 | protected $pageOptimizationConfigType = GoogleCloudRetailV2alphaModelPageOptimizationConfig::class;
|
---|
| 54 | protected $pageOptimizationConfigDataType = '';
|
---|
| 55 | /**
|
---|
| 56 | * @var string
|
---|
| 57 | */
|
---|
| 58 | public $periodicTuningState;
|
---|
| 59 | protected $servingConfigListsType = GoogleCloudRetailV2alphaModelServingConfigList::class;
|
---|
| 60 | protected $servingConfigListsDataType = 'array';
|
---|
| 61 | /**
|
---|
| 62 | * @var string
|
---|
| 63 | */
|
---|
| 64 | public $servingState;
|
---|
| 65 | /**
|
---|
| 66 | * @var string
|
---|
| 67 | */
|
---|
| 68 | public $trainingState;
|
---|
| 69 | /**
|
---|
| 70 | * @var string
|
---|
| 71 | */
|
---|
| 72 | public $tuningOperation;
|
---|
| 73 | /**
|
---|
| 74 | * @var string
|
---|
| 75 | */
|
---|
| 76 | public $type;
|
---|
| 77 | /**
|
---|
| 78 | * @var string
|
---|
| 79 | */
|
---|
| 80 | public $updateTime;
|
---|
| 81 |
|
---|
| 82 | /**
|
---|
| 83 | * @param string
|
---|
| 84 | */
|
---|
| 85 | public function setCreateTime($createTime)
|
---|
| 86 | {
|
---|
| 87 | $this->createTime = $createTime;
|
---|
| 88 | }
|
---|
| 89 | /**
|
---|
| 90 | * @return string
|
---|
| 91 | */
|
---|
| 92 | public function getCreateTime()
|
---|
| 93 | {
|
---|
| 94 | return $this->createTime;
|
---|
| 95 | }
|
---|
| 96 | /**
|
---|
| 97 | * @param string
|
---|
| 98 | */
|
---|
| 99 | public function setDataState($dataState)
|
---|
| 100 | {
|
---|
| 101 | $this->dataState = $dataState;
|
---|
| 102 | }
|
---|
| 103 | /**
|
---|
| 104 | * @return string
|
---|
| 105 | */
|
---|
| 106 | public function getDataState()
|
---|
| 107 | {
|
---|
| 108 | return $this->dataState;
|
---|
| 109 | }
|
---|
| 110 | /**
|
---|
| 111 | * @param string
|
---|
| 112 | */
|
---|
| 113 | public function setDisplayName($displayName)
|
---|
| 114 | {
|
---|
| 115 | $this->displayName = $displayName;
|
---|
| 116 | }
|
---|
| 117 | /**
|
---|
| 118 | * @return string
|
---|
| 119 | */
|
---|
| 120 | public function getDisplayName()
|
---|
| 121 | {
|
---|
| 122 | return $this->displayName;
|
---|
| 123 | }
|
---|
| 124 | /**
|
---|
| 125 | * @param string
|
---|
| 126 | */
|
---|
| 127 | public function setFilteringOption($filteringOption)
|
---|
| 128 | {
|
---|
| 129 | $this->filteringOption = $filteringOption;
|
---|
| 130 | }
|
---|
| 131 | /**
|
---|
| 132 | * @return string
|
---|
| 133 | */
|
---|
| 134 | public function getFilteringOption()
|
---|
| 135 | {
|
---|
| 136 | return $this->filteringOption;
|
---|
| 137 | }
|
---|
| 138 | /**
|
---|
| 139 | * @param string
|
---|
| 140 | */
|
---|
| 141 | public function setLastTuneTime($lastTuneTime)
|
---|
| 142 | {
|
---|
| 143 | $this->lastTuneTime = $lastTuneTime;
|
---|
| 144 | }
|
---|
| 145 | /**
|
---|
| 146 | * @return string
|
---|
| 147 | */
|
---|
| 148 | public function getLastTuneTime()
|
---|
| 149 | {
|
---|
| 150 | return $this->lastTuneTime;
|
---|
| 151 | }
|
---|
| 152 | /**
|
---|
| 153 | * @param GoogleCloudRetailV2alphaModelModelFeaturesConfig
|
---|
| 154 | */
|
---|
| 155 | public function setModelFeaturesConfig(GoogleCloudRetailV2alphaModelModelFeaturesConfig $modelFeaturesConfig)
|
---|
| 156 | {
|
---|
| 157 | $this->modelFeaturesConfig = $modelFeaturesConfig;
|
---|
| 158 | }
|
---|
| 159 | /**
|
---|
| 160 | * @return GoogleCloudRetailV2alphaModelModelFeaturesConfig
|
---|
| 161 | */
|
---|
| 162 | public function getModelFeaturesConfig()
|
---|
| 163 | {
|
---|
| 164 | return $this->modelFeaturesConfig;
|
---|
| 165 | }
|
---|
| 166 | /**
|
---|
| 167 | * @param string
|
---|
| 168 | */
|
---|
| 169 | public function setName($name)
|
---|
| 170 | {
|
---|
| 171 | $this->name = $name;
|
---|
| 172 | }
|
---|
| 173 | /**
|
---|
| 174 | * @return string
|
---|
| 175 | */
|
---|
| 176 | public function getName()
|
---|
| 177 | {
|
---|
| 178 | return $this->name;
|
---|
| 179 | }
|
---|
| 180 | /**
|
---|
| 181 | * @param string
|
---|
| 182 | */
|
---|
| 183 | public function setOptimizationObjective($optimizationObjective)
|
---|
| 184 | {
|
---|
| 185 | $this->optimizationObjective = $optimizationObjective;
|
---|
| 186 | }
|
---|
| 187 | /**
|
---|
| 188 | * @return string
|
---|
| 189 | */
|
---|
| 190 | public function getOptimizationObjective()
|
---|
| 191 | {
|
---|
| 192 | return $this->optimizationObjective;
|
---|
| 193 | }
|
---|
| 194 | /**
|
---|
| 195 | * @param GoogleCloudRetailV2alphaModelPageOptimizationConfig
|
---|
| 196 | */
|
---|
| 197 | public function setPageOptimizationConfig(GoogleCloudRetailV2alphaModelPageOptimizationConfig $pageOptimizationConfig)
|
---|
| 198 | {
|
---|
| 199 | $this->pageOptimizationConfig = $pageOptimizationConfig;
|
---|
| 200 | }
|
---|
| 201 | /**
|
---|
| 202 | * @return GoogleCloudRetailV2alphaModelPageOptimizationConfig
|
---|
| 203 | */
|
---|
| 204 | public function getPageOptimizationConfig()
|
---|
| 205 | {
|
---|
| 206 | return $this->pageOptimizationConfig;
|
---|
| 207 | }
|
---|
| 208 | /**
|
---|
| 209 | * @param string
|
---|
| 210 | */
|
---|
| 211 | public function setPeriodicTuningState($periodicTuningState)
|
---|
| 212 | {
|
---|
| 213 | $this->periodicTuningState = $periodicTuningState;
|
---|
| 214 | }
|
---|
| 215 | /**
|
---|
| 216 | * @return string
|
---|
| 217 | */
|
---|
| 218 | public function getPeriodicTuningState()
|
---|
| 219 | {
|
---|
| 220 | return $this->periodicTuningState;
|
---|
| 221 | }
|
---|
| 222 | /**
|
---|
| 223 | * @param GoogleCloudRetailV2alphaModelServingConfigList[]
|
---|
| 224 | */
|
---|
| 225 | public function setServingConfigLists($servingConfigLists)
|
---|
| 226 | {
|
---|
| 227 | $this->servingConfigLists = $servingConfigLists;
|
---|
| 228 | }
|
---|
| 229 | /**
|
---|
| 230 | * @return GoogleCloudRetailV2alphaModelServingConfigList[]
|
---|
| 231 | */
|
---|
| 232 | public function getServingConfigLists()
|
---|
| 233 | {
|
---|
| 234 | return $this->servingConfigLists;
|
---|
| 235 | }
|
---|
| 236 | /**
|
---|
| 237 | * @param string
|
---|
| 238 | */
|
---|
| 239 | public function setServingState($servingState)
|
---|
| 240 | {
|
---|
| 241 | $this->servingState = $servingState;
|
---|
| 242 | }
|
---|
| 243 | /**
|
---|
| 244 | * @return string
|
---|
| 245 | */
|
---|
| 246 | public function getServingState()
|
---|
| 247 | {
|
---|
| 248 | return $this->servingState;
|
---|
| 249 | }
|
---|
| 250 | /**
|
---|
| 251 | * @param string
|
---|
| 252 | */
|
---|
| 253 | public function setTrainingState($trainingState)
|
---|
| 254 | {
|
---|
| 255 | $this->trainingState = $trainingState;
|
---|
| 256 | }
|
---|
| 257 | /**
|
---|
| 258 | * @return string
|
---|
| 259 | */
|
---|
| 260 | public function getTrainingState()
|
---|
| 261 | {
|
---|
| 262 | return $this->trainingState;
|
---|
| 263 | }
|
---|
| 264 | /**
|
---|
| 265 | * @param string
|
---|
| 266 | */
|
---|
| 267 | public function setTuningOperation($tuningOperation)
|
---|
| 268 | {
|
---|
| 269 | $this->tuningOperation = $tuningOperation;
|
---|
| 270 | }
|
---|
| 271 | /**
|
---|
| 272 | * @return string
|
---|
| 273 | */
|
---|
| 274 | public function getTuningOperation()
|
---|
| 275 | {
|
---|
| 276 | return $this->tuningOperation;
|
---|
| 277 | }
|
---|
| 278 | /**
|
---|
| 279 | * @param string
|
---|
| 280 | */
|
---|
| 281 | public function setType($type)
|
---|
| 282 | {
|
---|
| 283 | $this->type = $type;
|
---|
| 284 | }
|
---|
| 285 | /**
|
---|
| 286 | * @return string
|
---|
| 287 | */
|
---|
| 288 | public function getType()
|
---|
| 289 | {
|
---|
| 290 | return $this->type;
|
---|
| 291 | }
|
---|
| 292 | /**
|
---|
| 293 | * @param string
|
---|
| 294 | */
|
---|
| 295 | public function setUpdateTime($updateTime)
|
---|
| 296 | {
|
---|
| 297 | $this->updateTime = $updateTime;
|
---|
| 298 | }
|
---|
| 299 | /**
|
---|
| 300 | * @return string
|
---|
| 301 | */
|
---|
| 302 | public function getUpdateTime()
|
---|
| 303 | {
|
---|
| 304 | return $this->updateTime;
|
---|
| 305 | }
|
---|
| 306 | }
|
---|
| 307 |
|
---|
| 308 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 309 | class_alias(GoogleCloudRetailV2alphaModel::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2alphaModel');
|
---|