[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\CloudWorkstations;
|
---|
| 19 |
|
---|
| 20 | class WorkstationConfig extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'replicaZones';
|
---|
| 23 | protected $allowedPortsType = PortRange::class;
|
---|
| 24 | protected $allowedPortsDataType = 'array';
|
---|
| 25 | /**
|
---|
| 26 | * @var string[]
|
---|
| 27 | */
|
---|
| 28 | public $annotations;
|
---|
| 29 | protected $conditionsType = Status::class;
|
---|
| 30 | protected $conditionsDataType = 'array';
|
---|
| 31 | protected $containerType = Container::class;
|
---|
| 32 | protected $containerDataType = '';
|
---|
| 33 | /**
|
---|
| 34 | * @var string
|
---|
| 35 | */
|
---|
| 36 | public $createTime;
|
---|
| 37 | /**
|
---|
| 38 | * @var bool
|
---|
| 39 | */
|
---|
| 40 | public $degraded;
|
---|
| 41 | /**
|
---|
| 42 | * @var string
|
---|
| 43 | */
|
---|
| 44 | public $deleteTime;
|
---|
| 45 | /**
|
---|
| 46 | * @var bool
|
---|
| 47 | */
|
---|
| 48 | public $disableTcpConnections;
|
---|
| 49 | /**
|
---|
| 50 | * @var string
|
---|
| 51 | */
|
---|
| 52 | public $displayName;
|
---|
| 53 | /**
|
---|
| 54 | * @var bool
|
---|
| 55 | */
|
---|
| 56 | public $enableAuditAgent;
|
---|
| 57 | protected $encryptionKeyType = CustomerEncryptionKey::class;
|
---|
| 58 | protected $encryptionKeyDataType = '';
|
---|
| 59 | protected $ephemeralDirectoriesType = EphemeralDirectory::class;
|
---|
| 60 | protected $ephemeralDirectoriesDataType = 'array';
|
---|
| 61 | /**
|
---|
| 62 | * @var string
|
---|
| 63 | */
|
---|
| 64 | public $etag;
|
---|
| 65 | /**
|
---|
| 66 | * @var bool
|
---|
| 67 | */
|
---|
| 68 | public $grantWorkstationAdminRoleOnCreate;
|
---|
| 69 | protected $hostType = Host::class;
|
---|
| 70 | protected $hostDataType = '';
|
---|
| 71 | /**
|
---|
| 72 | * @var string
|
---|
| 73 | */
|
---|
| 74 | public $idleTimeout;
|
---|
| 75 | /**
|
---|
| 76 | * @var string[]
|
---|
| 77 | */
|
---|
| 78 | public $labels;
|
---|
| 79 | /**
|
---|
| 80 | * @var int
|
---|
| 81 | */
|
---|
| 82 | public $maxUsableWorkstations;
|
---|
| 83 | /**
|
---|
| 84 | * @var string
|
---|
| 85 | */
|
---|
| 86 | public $name;
|
---|
| 87 | protected $persistentDirectoriesType = PersistentDirectory::class;
|
---|
| 88 | protected $persistentDirectoriesDataType = 'array';
|
---|
| 89 | protected $readinessChecksType = ReadinessCheck::class;
|
---|
| 90 | protected $readinessChecksDataType = 'array';
|
---|
| 91 | /**
|
---|
| 92 | * @var bool
|
---|
| 93 | */
|
---|
| 94 | public $reconciling;
|
---|
| 95 | /**
|
---|
| 96 | * @var string[]
|
---|
| 97 | */
|
---|
| 98 | public $replicaZones;
|
---|
| 99 | /**
|
---|
| 100 | * @var string
|
---|
| 101 | */
|
---|
| 102 | public $runningTimeout;
|
---|
| 103 | /**
|
---|
| 104 | * @var string
|
---|
| 105 | */
|
---|
| 106 | public $uid;
|
---|
| 107 | /**
|
---|
| 108 | * @var string
|
---|
| 109 | */
|
---|
| 110 | public $updateTime;
|
---|
| 111 |
|
---|
| 112 | /**
|
---|
| 113 | * @param PortRange[]
|
---|
| 114 | */
|
---|
| 115 | public function setAllowedPorts($allowedPorts)
|
---|
| 116 | {
|
---|
| 117 | $this->allowedPorts = $allowedPorts;
|
---|
| 118 | }
|
---|
| 119 | /**
|
---|
| 120 | * @return PortRange[]
|
---|
| 121 | */
|
---|
| 122 | public function getAllowedPorts()
|
---|
| 123 | {
|
---|
| 124 | return $this->allowedPorts;
|
---|
| 125 | }
|
---|
| 126 | /**
|
---|
| 127 | * @param string[]
|
---|
| 128 | */
|
---|
| 129 | public function setAnnotations($annotations)
|
---|
| 130 | {
|
---|
| 131 | $this->annotations = $annotations;
|
---|
| 132 | }
|
---|
| 133 | /**
|
---|
| 134 | * @return string[]
|
---|
| 135 | */
|
---|
| 136 | public function getAnnotations()
|
---|
| 137 | {
|
---|
| 138 | return $this->annotations;
|
---|
| 139 | }
|
---|
| 140 | /**
|
---|
| 141 | * @param Status[]
|
---|
| 142 | */
|
---|
| 143 | public function setConditions($conditions)
|
---|
| 144 | {
|
---|
| 145 | $this->conditions = $conditions;
|
---|
| 146 | }
|
---|
| 147 | /**
|
---|
| 148 | * @return Status[]
|
---|
| 149 | */
|
---|
| 150 | public function getConditions()
|
---|
| 151 | {
|
---|
| 152 | return $this->conditions;
|
---|
| 153 | }
|
---|
| 154 | /**
|
---|
| 155 | * @param Container
|
---|
| 156 | */
|
---|
| 157 | public function setContainer(Container $container)
|
---|
| 158 | {
|
---|
| 159 | $this->container = $container;
|
---|
| 160 | }
|
---|
| 161 | /**
|
---|
| 162 | * @return Container
|
---|
| 163 | */
|
---|
| 164 | public function getContainer()
|
---|
| 165 | {
|
---|
| 166 | return $this->container;
|
---|
| 167 | }
|
---|
| 168 | /**
|
---|
| 169 | * @param string
|
---|
| 170 | */
|
---|
| 171 | public function setCreateTime($createTime)
|
---|
| 172 | {
|
---|
| 173 | $this->createTime = $createTime;
|
---|
| 174 | }
|
---|
| 175 | /**
|
---|
| 176 | * @return string
|
---|
| 177 | */
|
---|
| 178 | public function getCreateTime()
|
---|
| 179 | {
|
---|
| 180 | return $this->createTime;
|
---|
| 181 | }
|
---|
| 182 | /**
|
---|
| 183 | * @param bool
|
---|
| 184 | */
|
---|
| 185 | public function setDegraded($degraded)
|
---|
| 186 | {
|
---|
| 187 | $this->degraded = $degraded;
|
---|
| 188 | }
|
---|
| 189 | /**
|
---|
| 190 | * @return bool
|
---|
| 191 | */
|
---|
| 192 | public function getDegraded()
|
---|
| 193 | {
|
---|
| 194 | return $this->degraded;
|
---|
| 195 | }
|
---|
| 196 | /**
|
---|
| 197 | * @param string
|
---|
| 198 | */
|
---|
| 199 | public function setDeleteTime($deleteTime)
|
---|
| 200 | {
|
---|
| 201 | $this->deleteTime = $deleteTime;
|
---|
| 202 | }
|
---|
| 203 | /**
|
---|
| 204 | * @return string
|
---|
| 205 | */
|
---|
| 206 | public function getDeleteTime()
|
---|
| 207 | {
|
---|
| 208 | return $this->deleteTime;
|
---|
| 209 | }
|
---|
| 210 | /**
|
---|
| 211 | * @param bool
|
---|
| 212 | */
|
---|
| 213 | public function setDisableTcpConnections($disableTcpConnections)
|
---|
| 214 | {
|
---|
| 215 | $this->disableTcpConnections = $disableTcpConnections;
|
---|
| 216 | }
|
---|
| 217 | /**
|
---|
| 218 | * @return bool
|
---|
| 219 | */
|
---|
| 220 | public function getDisableTcpConnections()
|
---|
| 221 | {
|
---|
| 222 | return $this->disableTcpConnections;
|
---|
| 223 | }
|
---|
| 224 | /**
|
---|
| 225 | * @param string
|
---|
| 226 | */
|
---|
| 227 | public function setDisplayName($displayName)
|
---|
| 228 | {
|
---|
| 229 | $this->displayName = $displayName;
|
---|
| 230 | }
|
---|
| 231 | /**
|
---|
| 232 | * @return string
|
---|
| 233 | */
|
---|
| 234 | public function getDisplayName()
|
---|
| 235 | {
|
---|
| 236 | return $this->displayName;
|
---|
| 237 | }
|
---|
| 238 | /**
|
---|
| 239 | * @param bool
|
---|
| 240 | */
|
---|
| 241 | public function setEnableAuditAgent($enableAuditAgent)
|
---|
| 242 | {
|
---|
| 243 | $this->enableAuditAgent = $enableAuditAgent;
|
---|
| 244 | }
|
---|
| 245 | /**
|
---|
| 246 | * @return bool
|
---|
| 247 | */
|
---|
| 248 | public function getEnableAuditAgent()
|
---|
| 249 | {
|
---|
| 250 | return $this->enableAuditAgent;
|
---|
| 251 | }
|
---|
| 252 | /**
|
---|
| 253 | * @param CustomerEncryptionKey
|
---|
| 254 | */
|
---|
| 255 | public function setEncryptionKey(CustomerEncryptionKey $encryptionKey)
|
---|
| 256 | {
|
---|
| 257 | $this->encryptionKey = $encryptionKey;
|
---|
| 258 | }
|
---|
| 259 | /**
|
---|
| 260 | * @return CustomerEncryptionKey
|
---|
| 261 | */
|
---|
| 262 | public function getEncryptionKey()
|
---|
| 263 | {
|
---|
| 264 | return $this->encryptionKey;
|
---|
| 265 | }
|
---|
| 266 | /**
|
---|
| 267 | * @param EphemeralDirectory[]
|
---|
| 268 | */
|
---|
| 269 | public function setEphemeralDirectories($ephemeralDirectories)
|
---|
| 270 | {
|
---|
| 271 | $this->ephemeralDirectories = $ephemeralDirectories;
|
---|
| 272 | }
|
---|
| 273 | /**
|
---|
| 274 | * @return EphemeralDirectory[]
|
---|
| 275 | */
|
---|
| 276 | public function getEphemeralDirectories()
|
---|
| 277 | {
|
---|
| 278 | return $this->ephemeralDirectories;
|
---|
| 279 | }
|
---|
| 280 | /**
|
---|
| 281 | * @param string
|
---|
| 282 | */
|
---|
| 283 | public function setEtag($etag)
|
---|
| 284 | {
|
---|
| 285 | $this->etag = $etag;
|
---|
| 286 | }
|
---|
| 287 | /**
|
---|
| 288 | * @return string
|
---|
| 289 | */
|
---|
| 290 | public function getEtag()
|
---|
| 291 | {
|
---|
| 292 | return $this->etag;
|
---|
| 293 | }
|
---|
| 294 | /**
|
---|
| 295 | * @param bool
|
---|
| 296 | */
|
---|
| 297 | public function setGrantWorkstationAdminRoleOnCreate($grantWorkstationAdminRoleOnCreate)
|
---|
| 298 | {
|
---|
| 299 | $this->grantWorkstationAdminRoleOnCreate = $grantWorkstationAdminRoleOnCreate;
|
---|
| 300 | }
|
---|
| 301 | /**
|
---|
| 302 | * @return bool
|
---|
| 303 | */
|
---|
| 304 | public function getGrantWorkstationAdminRoleOnCreate()
|
---|
| 305 | {
|
---|
| 306 | return $this->grantWorkstationAdminRoleOnCreate;
|
---|
| 307 | }
|
---|
| 308 | /**
|
---|
| 309 | * @param Host
|
---|
| 310 | */
|
---|
| 311 | public function setHost(Host $host)
|
---|
| 312 | {
|
---|
| 313 | $this->host = $host;
|
---|
| 314 | }
|
---|
| 315 | /**
|
---|
| 316 | * @return Host
|
---|
| 317 | */
|
---|
| 318 | public function getHost()
|
---|
| 319 | {
|
---|
| 320 | return $this->host;
|
---|
| 321 | }
|
---|
| 322 | /**
|
---|
| 323 | * @param string
|
---|
| 324 | */
|
---|
| 325 | public function setIdleTimeout($idleTimeout)
|
---|
| 326 | {
|
---|
| 327 | $this->idleTimeout = $idleTimeout;
|
---|
| 328 | }
|
---|
| 329 | /**
|
---|
| 330 | * @return string
|
---|
| 331 | */
|
---|
| 332 | public function getIdleTimeout()
|
---|
| 333 | {
|
---|
| 334 | return $this->idleTimeout;
|
---|
| 335 | }
|
---|
| 336 | /**
|
---|
| 337 | * @param string[]
|
---|
| 338 | */
|
---|
| 339 | public function setLabels($labels)
|
---|
| 340 | {
|
---|
| 341 | $this->labels = $labels;
|
---|
| 342 | }
|
---|
| 343 | /**
|
---|
| 344 | * @return string[]
|
---|
| 345 | */
|
---|
| 346 | public function getLabels()
|
---|
| 347 | {
|
---|
| 348 | return $this->labels;
|
---|
| 349 | }
|
---|
| 350 | /**
|
---|
| 351 | * @param int
|
---|
| 352 | */
|
---|
| 353 | public function setMaxUsableWorkstations($maxUsableWorkstations)
|
---|
| 354 | {
|
---|
| 355 | $this->maxUsableWorkstations = $maxUsableWorkstations;
|
---|
| 356 | }
|
---|
| 357 | /**
|
---|
| 358 | * @return int
|
---|
| 359 | */
|
---|
| 360 | public function getMaxUsableWorkstations()
|
---|
| 361 | {
|
---|
| 362 | return $this->maxUsableWorkstations;
|
---|
| 363 | }
|
---|
| 364 | /**
|
---|
| 365 | * @param string
|
---|
| 366 | */
|
---|
| 367 | public function setName($name)
|
---|
| 368 | {
|
---|
| 369 | $this->name = $name;
|
---|
| 370 | }
|
---|
| 371 | /**
|
---|
| 372 | * @return string
|
---|
| 373 | */
|
---|
| 374 | public function getName()
|
---|
| 375 | {
|
---|
| 376 | return $this->name;
|
---|
| 377 | }
|
---|
| 378 | /**
|
---|
| 379 | * @param PersistentDirectory[]
|
---|
| 380 | */
|
---|
| 381 | public function setPersistentDirectories($persistentDirectories)
|
---|
| 382 | {
|
---|
| 383 | $this->persistentDirectories = $persistentDirectories;
|
---|
| 384 | }
|
---|
| 385 | /**
|
---|
| 386 | * @return PersistentDirectory[]
|
---|
| 387 | */
|
---|
| 388 | public function getPersistentDirectories()
|
---|
| 389 | {
|
---|
| 390 | return $this->persistentDirectories;
|
---|
| 391 | }
|
---|
| 392 | /**
|
---|
| 393 | * @param ReadinessCheck[]
|
---|
| 394 | */
|
---|
| 395 | public function setReadinessChecks($readinessChecks)
|
---|
| 396 | {
|
---|
| 397 | $this->readinessChecks = $readinessChecks;
|
---|
| 398 | }
|
---|
| 399 | /**
|
---|
| 400 | * @return ReadinessCheck[]
|
---|
| 401 | */
|
---|
| 402 | public function getReadinessChecks()
|
---|
| 403 | {
|
---|
| 404 | return $this->readinessChecks;
|
---|
| 405 | }
|
---|
| 406 | /**
|
---|
| 407 | * @param bool
|
---|
| 408 | */
|
---|
| 409 | public function setReconciling($reconciling)
|
---|
| 410 | {
|
---|
| 411 | $this->reconciling = $reconciling;
|
---|
| 412 | }
|
---|
| 413 | /**
|
---|
| 414 | * @return bool
|
---|
| 415 | */
|
---|
| 416 | public function getReconciling()
|
---|
| 417 | {
|
---|
| 418 | return $this->reconciling;
|
---|
| 419 | }
|
---|
| 420 | /**
|
---|
| 421 | * @param string[]
|
---|
| 422 | */
|
---|
| 423 | public function setReplicaZones($replicaZones)
|
---|
| 424 | {
|
---|
| 425 | $this->replicaZones = $replicaZones;
|
---|
| 426 | }
|
---|
| 427 | /**
|
---|
| 428 | * @return string[]
|
---|
| 429 | */
|
---|
| 430 | public function getReplicaZones()
|
---|
| 431 | {
|
---|
| 432 | return $this->replicaZones;
|
---|
| 433 | }
|
---|
| 434 | /**
|
---|
| 435 | * @param string
|
---|
| 436 | */
|
---|
| 437 | public function setRunningTimeout($runningTimeout)
|
---|
| 438 | {
|
---|
| 439 | $this->runningTimeout = $runningTimeout;
|
---|
| 440 | }
|
---|
| 441 | /**
|
---|
| 442 | * @return string
|
---|
| 443 | */
|
---|
| 444 | public function getRunningTimeout()
|
---|
| 445 | {
|
---|
| 446 | return $this->runningTimeout;
|
---|
| 447 | }
|
---|
| 448 | /**
|
---|
| 449 | * @param string
|
---|
| 450 | */
|
---|
| 451 | public function setUid($uid)
|
---|
| 452 | {
|
---|
| 453 | $this->uid = $uid;
|
---|
| 454 | }
|
---|
| 455 | /**
|
---|
| 456 | * @return string
|
---|
| 457 | */
|
---|
| 458 | public function getUid()
|
---|
| 459 | {
|
---|
| 460 | return $this->uid;
|
---|
| 461 | }
|
---|
| 462 | /**
|
---|
| 463 | * @param string
|
---|
| 464 | */
|
---|
| 465 | public function setUpdateTime($updateTime)
|
---|
| 466 | {
|
---|
| 467 | $this->updateTime = $updateTime;
|
---|
| 468 | }
|
---|
| 469 | /**
|
---|
| 470 | * @return string
|
---|
| 471 | */
|
---|
| 472 | public function getUpdateTime()
|
---|
| 473 | {
|
---|
| 474 | return $this->updateTime;
|
---|
| 475 | }
|
---|
| 476 | }
|
---|
| 477 |
|
---|
| 478 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 479 | class_alias(WorkstationConfig::class, 'Google_Service_CloudWorkstations_WorkstationConfig');
|
---|