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 18namespace Google\Service\CloudMachineLearningEngine; 19 20class GoogleCloudMlV1Version extends \Google\Collection 21{ 22 protected $collection_key = 'packageUris'; 23 protected $acceleratorConfigType = GoogleCloudMlV1AcceleratorConfig::class; 24 protected $acceleratorConfigDataType = ''; 25 protected $autoScalingType = GoogleCloudMlV1AutoScaling::class; 26 protected $autoScalingDataType = ''; 27 protected $containerType = GoogleCloudMlV1ContainerSpec::class; 28 protected $containerDataType = ''; 29 /** 30 * @var string 31 */ 32 public $createTime; 33 /** 34 * @var string 35 */ 36 public $deploymentUri; 37 /** 38 * @var string 39 */ 40 public $description; 41 /** 42 * @var string 43 */ 44 public $errorMessage; 45 /** 46 * @var string 47 */ 48 public $etag; 49 protected $explanationConfigType = GoogleCloudMlV1ExplanationConfig::class; 50 protected $explanationConfigDataType = ''; 51 /** 52 * @var string 53 */ 54 public $framework; 55 /** 56 * @var bool 57 */ 58 public $isDefault; 59 /** 60 * @var string[] 61 */ 62 public $labels; 63 /** 64 * @var string 65 */ 66 public $lastMigrationModelId; 67 /** 68 * @var string 69 */ 70 public $lastMigrationTime; 71 /** 72 * @var string 73 */ 74 public $lastUseTime; 75 /** 76 * @var string 77 */ 78 public $machineType; 79 protected $manualScalingType = GoogleCloudMlV1ManualScaling::class; 80 protected $manualScalingDataType = ''; 81 /** 82 * @var string 83 */ 84 public $name; 85 /** 86 * @var string[] 87 */ 88 public $packageUris; 89 /** 90 * @var string 91 */ 92 public $predictionClass; 93 /** 94 * @var string 95 */ 96 public $pythonVersion; 97 protected $requestLoggingConfigType = GoogleCloudMlV1RequestLoggingConfig::class; 98 protected $requestLoggingConfigDataType = ''; 99 protected $routesType = GoogleCloudMlV1RouteMap::class; 100 protected $routesDataType = ''; 101 /** 102 * @var string 103 */ 104 public $runtimeVersion; 105 /** 106 * @var string 107 */ 108 public $serviceAccount; 109 /** 110 * @var string 111 */ 112 public $state; 113 114 /** 115 * @param GoogleCloudMlV1AcceleratorConfig 116 */ 117 public function setAcceleratorConfig(GoogleCloudMlV1AcceleratorConfig $acceleratorConfig) 118 { 119 $this->acceleratorConfig = $acceleratorConfig; 120 } 121 /** 122 * @return GoogleCloudMlV1AcceleratorConfig 123 */ 124 public function getAcceleratorConfig() 125 { 126 return $this->acceleratorConfig; 127 } 128 /** 129 * @param GoogleCloudMlV1AutoScaling 130 */ 131 public function setAutoScaling(GoogleCloudMlV1AutoScaling $autoScaling) 132 { 133 $this->autoScaling = $autoScaling; 134 } 135 /** 136 * @return GoogleCloudMlV1AutoScaling 137 */ 138 public function getAutoScaling() 139 { 140 return $this->autoScaling; 141 } 142 /** 143 * @param GoogleCloudMlV1ContainerSpec 144 */ 145 public function setContainer(GoogleCloudMlV1ContainerSpec $container) 146 { 147 $this->container = $container; 148 } 149 /** 150 * @return GoogleCloudMlV1ContainerSpec 151 */ 152 public function getContainer() 153 { 154 return $this->container; 155 } 156 /** 157 * @param string 158 */ 159 public function setCreateTime($createTime) 160 { 161 $this->createTime = $createTime; 162 } 163 /** 164 * @return string 165 */ 166 public function getCreateTime() 167 { 168 return $this->createTime; 169 } 170 /** 171 * @param string 172 */ 173 public function setDeploymentUri($deploymentUri) 174 { 175 $this->deploymentUri = $deploymentUri; 176 } 177 /** 178 * @return string 179 */ 180 public function getDeploymentUri() 181 { 182 return $this->deploymentUri; 183 } 184 /** 185 * @param string 186 */ 187 public function setDescription($description) 188 { 189 $this->description = $description; 190 } 191 /** 192 * @return string 193 */ 194 public function getDescription() 195 { 196 return $this->description; 197 } 198 /** 199 * @param string 200 */ 201 public function setErrorMessage($errorMessage) 202 { 203 $this->errorMessage = $errorMessage; 204 } 205 /** 206 * @return string 207 */ 208 public function getErrorMessage() 209 { 210 return $this->errorMessage; 211 } 212 /** 213 * @param string 214 */ 215 public function setEtag($etag) 216 { 217 $this->etag = $etag; 218 } 219 /** 220 * @return string 221 */ 222 public function getEtag() 223 { 224 return $this->etag; 225 } 226 /** 227 * @param GoogleCloudMlV1ExplanationConfig 228 */ 229 public function setExplanationConfig(GoogleCloudMlV1ExplanationConfig $explanationConfig) 230 { 231 $this->explanationConfig = $explanationConfig; 232 } 233 /** 234 * @return GoogleCloudMlV1ExplanationConfig 235 */ 236 public function getExplanationConfig() 237 { 238 return $this->explanationConfig; 239 } 240 /** 241 * @param string 242 */ 243 public function setFramework($framework) 244 { 245 $this->framework = $framework; 246 } 247 /** 248 * @return string 249 */ 250 public function getFramework() 251 { 252 return $this->framework; 253 } 254 /** 255 * @param bool 256 */ 257 public function setIsDefault($isDefault) 258 { 259 $this->isDefault = $isDefault; 260 } 261 /** 262 * @return bool 263 */ 264 public function getIsDefault() 265 { 266 return $this->isDefault; 267 } 268 /** 269 * @param string[] 270 */ 271 public function setLabels($labels) 272 { 273 $this->labels = $labels; 274 } 275 /** 276 * @return string[] 277 */ 278 public function getLabels() 279 { 280 return $this->labels; 281 } 282 /** 283 * @param string 284 */ 285 public function setLastMigrationModelId($lastMigrationModelId) 286 { 287 $this->lastMigrationModelId = $lastMigrationModelId; 288 } 289 /** 290 * @return string 291 */ 292 public function getLastMigrationModelId() 293 { 294 return $this->lastMigrationModelId; 295 } 296 /** 297 * @param string 298 */ 299 public function setLastMigrationTime($lastMigrationTime) 300 { 301 $this->lastMigrationTime = $lastMigrationTime; 302 } 303 /** 304 * @return string 305 */ 306 public function getLastMigrationTime() 307 { 308 return $this->lastMigrationTime; 309 } 310 /** 311 * @param string 312 */ 313 public function setLastUseTime($lastUseTime) 314 { 315 $this->lastUseTime = $lastUseTime; 316 } 317 /** 318 * @return string 319 */ 320 public function getLastUseTime() 321 { 322 return $this->lastUseTime; 323 } 324 /** 325 * @param string 326 */ 327 public function setMachineType($machineType) 328 { 329 $this->machineType = $machineType; 330 } 331 /** 332 * @return string 333 */ 334 public function getMachineType() 335 { 336 return $this->machineType; 337 } 338 /** 339 * @param GoogleCloudMlV1ManualScaling 340 */ 341 public function setManualScaling(GoogleCloudMlV1ManualScaling $manualScaling) 342 { 343 $this->manualScaling = $manualScaling; 344 } 345 /** 346 * @return GoogleCloudMlV1ManualScaling 347 */ 348 public function getManualScaling() 349 { 350 return $this->manualScaling; 351 } 352 /** 353 * @param string 354 */ 355 public function setName($name) 356 { 357 $this->name = $name; 358 } 359 /** 360 * @return string 361 */ 362 public function getName() 363 { 364 return $this->name; 365 } 366 /** 367 * @param string[] 368 */ 369 public function setPackageUris($packageUris) 370 { 371 $this->packageUris = $packageUris; 372 } 373 /** 374 * @return string[] 375 */ 376 public function getPackageUris() 377 { 378 return $this->packageUris; 379 } 380 /** 381 * @param string 382 */ 383 public function setPredictionClass($predictionClass) 384 { 385 $this->predictionClass = $predictionClass; 386 } 387 /** 388 * @return string 389 */ 390 public function getPredictionClass() 391 { 392 return $this->predictionClass; 393 } 394 /** 395 * @param string 396 */ 397 public function setPythonVersion($pythonVersion) 398 { 399 $this->pythonVersion = $pythonVersion; 400 } 401 /** 402 * @return string 403 */ 404 public function getPythonVersion() 405 { 406 return $this->pythonVersion; 407 } 408 /** 409 * @param GoogleCloudMlV1RequestLoggingConfig 410 */ 411 public function setRequestLoggingConfig(GoogleCloudMlV1RequestLoggingConfig $requestLoggingConfig) 412 { 413 $this->requestLoggingConfig = $requestLoggingConfig; 414 } 415 /** 416 * @return GoogleCloudMlV1RequestLoggingConfig 417 */ 418 public function getRequestLoggingConfig() 419 { 420 return $this->requestLoggingConfig; 421 } 422 /** 423 * @param GoogleCloudMlV1RouteMap 424 */ 425 public function setRoutes(GoogleCloudMlV1RouteMap $routes) 426 { 427 $this->routes = $routes; 428 } 429 /** 430 * @return GoogleCloudMlV1RouteMap 431 */ 432 public function getRoutes() 433 { 434 return $this->routes; 435 } 436 /** 437 * @param string 438 */ 439 public function setRuntimeVersion($runtimeVersion) 440 { 441 $this->runtimeVersion = $runtimeVersion; 442 } 443 /** 444 * @return string 445 */ 446 public function getRuntimeVersion() 447 { 448 return $this->runtimeVersion; 449 } 450 /** 451 * @param string 452 */ 453 public function setServiceAccount($serviceAccount) 454 { 455 $this->serviceAccount = $serviceAccount; 456 } 457 /** 458 * @return string 459 */ 460 public function getServiceAccount() 461 { 462 return $this->serviceAccount; 463 } 464 /** 465 * @param string 466 */ 467 public function setState($state) 468 { 469 $this->state = $state; 470 } 471 /** 472 * @return string 473 */ 474 public function getState() 475 { 476 return $this->state; 477 } 478} 479 480// Adding a class alias for backwards compatibility with the previous class name. 481class_alias(GoogleCloudMlV1Version::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1Version'); 482