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\DataFusion; 19 20class Instance extends \Google\Collection 21{ 22 protected $collection_key = 'disabledReason'; 23 protected $acceleratorsType = Accelerator::class; 24 protected $acceleratorsDataType = 'array'; 25 /** 26 * @var string 27 */ 28 public $apiEndpoint; 29 protected $availableVersionType = Version::class; 30 protected $availableVersionDataType = 'array'; 31 /** 32 * @var string 33 */ 34 public $createTime; 35 protected $cryptoKeyConfigType = CryptoKeyConfig::class; 36 protected $cryptoKeyConfigDataType = ''; 37 /** 38 * @var string 39 */ 40 public $dataprocServiceAccount; 41 /** 42 * @var string 43 */ 44 public $description; 45 /** 46 * @var string[] 47 */ 48 public $disabledReason; 49 /** 50 * @var string 51 */ 52 public $displayName; 53 /** 54 * @var bool 55 */ 56 public $enableRbac; 57 /** 58 * @var bool 59 */ 60 public $enableStackdriverLogging; 61 /** 62 * @var bool 63 */ 64 public $enableStackdriverMonitoring; 65 /** 66 * @var string 67 */ 68 public $gcsBucket; 69 /** 70 * @var string[] 71 */ 72 public $labels; 73 /** 74 * @var string 75 */ 76 public $name; 77 protected $networkConfigType = NetworkConfig::class; 78 protected $networkConfigDataType = ''; 79 /** 80 * @var string[] 81 */ 82 public $options; 83 /** 84 * @var string 85 */ 86 public $p4ServiceAccount; 87 /** 88 * @var bool 89 */ 90 public $privateInstance; 91 /** 92 * @var string 93 */ 94 public $serviceAccount; 95 /** 96 * @var string 97 */ 98 public $serviceEndpoint; 99 /** 100 * @var string 101 */ 102 public $state; 103 /** 104 * @var string 105 */ 106 public $stateMessage; 107 /** 108 * @var string 109 */ 110 public $tenantProjectId; 111 /** 112 * @var string 113 */ 114 public $type; 115 /** 116 * @var string 117 */ 118 public $updateTime; 119 /** 120 * @var string 121 */ 122 public $version; 123 /** 124 * @var string 125 */ 126 public $zone; 127 128 /** 129 * @param Accelerator[] 130 */ 131 public function setAccelerators($accelerators) 132 { 133 $this->accelerators = $accelerators; 134 } 135 /** 136 * @return Accelerator[] 137 */ 138 public function getAccelerators() 139 { 140 return $this->accelerators; 141 } 142 /** 143 * @param string 144 */ 145 public function setApiEndpoint($apiEndpoint) 146 { 147 $this->apiEndpoint = $apiEndpoint; 148 } 149 /** 150 * @return string 151 */ 152 public function getApiEndpoint() 153 { 154 return $this->apiEndpoint; 155 } 156 /** 157 * @param Version[] 158 */ 159 public function setAvailableVersion($availableVersion) 160 { 161 $this->availableVersion = $availableVersion; 162 } 163 /** 164 * @return Version[] 165 */ 166 public function getAvailableVersion() 167 { 168 return $this->availableVersion; 169 } 170 /** 171 * @param string 172 */ 173 public function setCreateTime($createTime) 174 { 175 $this->createTime = $createTime; 176 } 177 /** 178 * @return string 179 */ 180 public function getCreateTime() 181 { 182 return $this->createTime; 183 } 184 /** 185 * @param CryptoKeyConfig 186 */ 187 public function setCryptoKeyConfig(CryptoKeyConfig $cryptoKeyConfig) 188 { 189 $this->cryptoKeyConfig = $cryptoKeyConfig; 190 } 191 /** 192 * @return CryptoKeyConfig 193 */ 194 public function getCryptoKeyConfig() 195 { 196 return $this->cryptoKeyConfig; 197 } 198 /** 199 * @param string 200 */ 201 public function setDataprocServiceAccount($dataprocServiceAccount) 202 { 203 $this->dataprocServiceAccount = $dataprocServiceAccount; 204 } 205 /** 206 * @return string 207 */ 208 public function getDataprocServiceAccount() 209 { 210 return $this->dataprocServiceAccount; 211 } 212 /** 213 * @param string 214 */ 215 public function setDescription($description) 216 { 217 $this->description = $description; 218 } 219 /** 220 * @return string 221 */ 222 public function getDescription() 223 { 224 return $this->description; 225 } 226 /** 227 * @param string[] 228 */ 229 public function setDisabledReason($disabledReason) 230 { 231 $this->disabledReason = $disabledReason; 232 } 233 /** 234 * @return string[] 235 */ 236 public function getDisabledReason() 237 { 238 return $this->disabledReason; 239 } 240 /** 241 * @param string 242 */ 243 public function setDisplayName($displayName) 244 { 245 $this->displayName = $displayName; 246 } 247 /** 248 * @return string 249 */ 250 public function getDisplayName() 251 { 252 return $this->displayName; 253 } 254 /** 255 * @param bool 256 */ 257 public function setEnableRbac($enableRbac) 258 { 259 $this->enableRbac = $enableRbac; 260 } 261 /** 262 * @return bool 263 */ 264 public function getEnableRbac() 265 { 266 return $this->enableRbac; 267 } 268 /** 269 * @param bool 270 */ 271 public function setEnableStackdriverLogging($enableStackdriverLogging) 272 { 273 $this->enableStackdriverLogging = $enableStackdriverLogging; 274 } 275 /** 276 * @return bool 277 */ 278 public function getEnableStackdriverLogging() 279 { 280 return $this->enableStackdriverLogging; 281 } 282 /** 283 * @param bool 284 */ 285 public function setEnableStackdriverMonitoring($enableStackdriverMonitoring) 286 { 287 $this->enableStackdriverMonitoring = $enableStackdriverMonitoring; 288 } 289 /** 290 * @return bool 291 */ 292 public function getEnableStackdriverMonitoring() 293 { 294 return $this->enableStackdriverMonitoring; 295 } 296 /** 297 * @param string 298 */ 299 public function setGcsBucket($gcsBucket) 300 { 301 $this->gcsBucket = $gcsBucket; 302 } 303 /** 304 * @return string 305 */ 306 public function getGcsBucket() 307 { 308 return $this->gcsBucket; 309 } 310 /** 311 * @param string[] 312 */ 313 public function setLabels($labels) 314 { 315 $this->labels = $labels; 316 } 317 /** 318 * @return string[] 319 */ 320 public function getLabels() 321 { 322 return $this->labels; 323 } 324 /** 325 * @param string 326 */ 327 public function setName($name) 328 { 329 $this->name = $name; 330 } 331 /** 332 * @return string 333 */ 334 public function getName() 335 { 336 return $this->name; 337 } 338 /** 339 * @param NetworkConfig 340 */ 341 public function setNetworkConfig(NetworkConfig $networkConfig) 342 { 343 $this->networkConfig = $networkConfig; 344 } 345 /** 346 * @return NetworkConfig 347 */ 348 public function getNetworkConfig() 349 { 350 return $this->networkConfig; 351 } 352 /** 353 * @param string[] 354 */ 355 public function setOptions($options) 356 { 357 $this->options = $options; 358 } 359 /** 360 * @return string[] 361 */ 362 public function getOptions() 363 { 364 return $this->options; 365 } 366 /** 367 * @param string 368 */ 369 public function setP4ServiceAccount($p4ServiceAccount) 370 { 371 $this->p4ServiceAccount = $p4ServiceAccount; 372 } 373 /** 374 * @return string 375 */ 376 public function getP4ServiceAccount() 377 { 378 return $this->p4ServiceAccount; 379 } 380 /** 381 * @param bool 382 */ 383 public function setPrivateInstance($privateInstance) 384 { 385 $this->privateInstance = $privateInstance; 386 } 387 /** 388 * @return bool 389 */ 390 public function getPrivateInstance() 391 { 392 return $this->privateInstance; 393 } 394 /** 395 * @param string 396 */ 397 public function setServiceAccount($serviceAccount) 398 { 399 $this->serviceAccount = $serviceAccount; 400 } 401 /** 402 * @return string 403 */ 404 public function getServiceAccount() 405 { 406 return $this->serviceAccount; 407 } 408 /** 409 * @param string 410 */ 411 public function setServiceEndpoint($serviceEndpoint) 412 { 413 $this->serviceEndpoint = $serviceEndpoint; 414 } 415 /** 416 * @return string 417 */ 418 public function getServiceEndpoint() 419 { 420 return $this->serviceEndpoint; 421 } 422 /** 423 * @param string 424 */ 425 public function setState($state) 426 { 427 $this->state = $state; 428 } 429 /** 430 * @return string 431 */ 432 public function getState() 433 { 434 return $this->state; 435 } 436 /** 437 * @param string 438 */ 439 public function setStateMessage($stateMessage) 440 { 441 $this->stateMessage = $stateMessage; 442 } 443 /** 444 * @return string 445 */ 446 public function getStateMessage() 447 { 448 return $this->stateMessage; 449 } 450 /** 451 * @param string 452 */ 453 public function setTenantProjectId($tenantProjectId) 454 { 455 $this->tenantProjectId = $tenantProjectId; 456 } 457 /** 458 * @return string 459 */ 460 public function getTenantProjectId() 461 { 462 return $this->tenantProjectId; 463 } 464 /** 465 * @param string 466 */ 467 public function setType($type) 468 { 469 $this->type = $type; 470 } 471 /** 472 * @return string 473 */ 474 public function getType() 475 { 476 return $this->type; 477 } 478 /** 479 * @param string 480 */ 481 public function setUpdateTime($updateTime) 482 { 483 $this->updateTime = $updateTime; 484 } 485 /** 486 * @return string 487 */ 488 public function getUpdateTime() 489 { 490 return $this->updateTime; 491 } 492 /** 493 * @param string 494 */ 495 public function setVersion($version) 496 { 497 $this->version = $version; 498 } 499 /** 500 * @return string 501 */ 502 public function getVersion() 503 { 504 return $this->version; 505 } 506 /** 507 * @param string 508 */ 509 public function setZone($zone) 510 { 511 $this->zone = $zone; 512 } 513 /** 514 * @return string 515 */ 516 public function getZone() 517 { 518 return $this->zone; 519 } 520} 521 522// Adding a class alias for backwards compatibility with the previous class name. 523class_alias(Instance::class, 'Google_Service_DataFusion_Instance'); 524