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\CloudRun; 19 20class GoogleCloudRunOpV2Revision extends \Google\Collection 21{ 22 protected $collection_key = 'volumes'; 23 /** 24 * @var string[] 25 */ 26 public $annotations; 27 protected $conditionsType = GoogleCloudRunOpV2Condition::class; 28 protected $conditionsDataType = 'array'; 29 /** 30 * @var bool 31 */ 32 public $confidential; 33 /** 34 * @var int 35 */ 36 public $containerConcurrency; 37 protected $containersType = GoogleCloudRunOpV2Container::class; 38 protected $containersDataType = 'array'; 39 /** 40 * @var string 41 */ 42 public $createTime; 43 /** 44 * @var string 45 */ 46 public $deleteTime; 47 /** 48 * @var string 49 */ 50 public $encryptionKey; 51 /** 52 * @var string 53 */ 54 public $etag; 55 /** 56 * @var string 57 */ 58 public $executionEnvironment; 59 /** 60 * @var string 61 */ 62 public $expireTime; 63 /** 64 * @var string 65 */ 66 public $generation; 67 /** 68 * @var string[] 69 */ 70 public $labels; 71 /** 72 * @var string 73 */ 74 public $launchStage; 75 /** 76 * @var string 77 */ 78 public $logUri; 79 /** 80 * @var string 81 */ 82 public $name; 83 /** 84 * @var string 85 */ 86 public $observedGeneration; 87 /** 88 * @var bool 89 */ 90 public $reconciling; 91 protected $scalingType = GoogleCloudRunOpV2RevisionScaling::class; 92 protected $scalingDataType = ''; 93 /** 94 * @var string 95 */ 96 public $service; 97 /** 98 * @var string 99 */ 100 public $serviceAccount; 101 /** 102 * @var string 103 */ 104 public $timeout; 105 /** 106 * @var string 107 */ 108 public $uid; 109 /** 110 * @var string 111 */ 112 public $updateTime; 113 protected $volumesType = GoogleCloudRunOpV2Volume::class; 114 protected $volumesDataType = 'array'; 115 protected $vpcAccessType = GoogleCloudRunOpV2VpcAccess::class; 116 protected $vpcAccessDataType = ''; 117 118 /** 119 * @param string[] 120 */ 121 public function setAnnotations($annotations) 122 { 123 $this->annotations = $annotations; 124 } 125 /** 126 * @return string[] 127 */ 128 public function getAnnotations() 129 { 130 return $this->annotations; 131 } 132 /** 133 * @param GoogleCloudRunOpV2Condition[] 134 */ 135 public function setConditions($conditions) 136 { 137 $this->conditions = $conditions; 138 } 139 /** 140 * @return GoogleCloudRunOpV2Condition[] 141 */ 142 public function getConditions() 143 { 144 return $this->conditions; 145 } 146 /** 147 * @param bool 148 */ 149 public function setConfidential($confidential) 150 { 151 $this->confidential = $confidential; 152 } 153 /** 154 * @return bool 155 */ 156 public function getConfidential() 157 { 158 return $this->confidential; 159 } 160 /** 161 * @param int 162 */ 163 public function setContainerConcurrency($containerConcurrency) 164 { 165 $this->containerConcurrency = $containerConcurrency; 166 } 167 /** 168 * @return int 169 */ 170 public function getContainerConcurrency() 171 { 172 return $this->containerConcurrency; 173 } 174 /** 175 * @param GoogleCloudRunOpV2Container[] 176 */ 177 public function setContainers($containers) 178 { 179 $this->containers = $containers; 180 } 181 /** 182 * @return GoogleCloudRunOpV2Container[] 183 */ 184 public function getContainers() 185 { 186 return $this->containers; 187 } 188 /** 189 * @param string 190 */ 191 public function setCreateTime($createTime) 192 { 193 $this->createTime = $createTime; 194 } 195 /** 196 * @return string 197 */ 198 public function getCreateTime() 199 { 200 return $this->createTime; 201 } 202 /** 203 * @param string 204 */ 205 public function setDeleteTime($deleteTime) 206 { 207 $this->deleteTime = $deleteTime; 208 } 209 /** 210 * @return string 211 */ 212 public function getDeleteTime() 213 { 214 return $this->deleteTime; 215 } 216 /** 217 * @param string 218 */ 219 public function setEncryptionKey($encryptionKey) 220 { 221 $this->encryptionKey = $encryptionKey; 222 } 223 /** 224 * @return string 225 */ 226 public function getEncryptionKey() 227 { 228 return $this->encryptionKey; 229 } 230 /** 231 * @param string 232 */ 233 public function setEtag($etag) 234 { 235 $this->etag = $etag; 236 } 237 /** 238 * @return string 239 */ 240 public function getEtag() 241 { 242 return $this->etag; 243 } 244 /** 245 * @param string 246 */ 247 public function setExecutionEnvironment($executionEnvironment) 248 { 249 $this->executionEnvironment = $executionEnvironment; 250 } 251 /** 252 * @return string 253 */ 254 public function getExecutionEnvironment() 255 { 256 return $this->executionEnvironment; 257 } 258 /** 259 * @param string 260 */ 261 public function setExpireTime($expireTime) 262 { 263 $this->expireTime = $expireTime; 264 } 265 /** 266 * @return string 267 */ 268 public function getExpireTime() 269 { 270 return $this->expireTime; 271 } 272 /** 273 * @param string 274 */ 275 public function setGeneration($generation) 276 { 277 $this->generation = $generation; 278 } 279 /** 280 * @return string 281 */ 282 public function getGeneration() 283 { 284 return $this->generation; 285 } 286 /** 287 * @param string[] 288 */ 289 public function setLabels($labels) 290 { 291 $this->labels = $labels; 292 } 293 /** 294 * @return string[] 295 */ 296 public function getLabels() 297 { 298 return $this->labels; 299 } 300 /** 301 * @param string 302 */ 303 public function setLaunchStage($launchStage) 304 { 305 $this->launchStage = $launchStage; 306 } 307 /** 308 * @return string 309 */ 310 public function getLaunchStage() 311 { 312 return $this->launchStage; 313 } 314 /** 315 * @param string 316 */ 317 public function setLogUri($logUri) 318 { 319 $this->logUri = $logUri; 320 } 321 /** 322 * @return string 323 */ 324 public function getLogUri() 325 { 326 return $this->logUri; 327 } 328 /** 329 * @param string 330 */ 331 public function setName($name) 332 { 333 $this->name = $name; 334 } 335 /** 336 * @return string 337 */ 338 public function getName() 339 { 340 return $this->name; 341 } 342 /** 343 * @param string 344 */ 345 public function setObservedGeneration($observedGeneration) 346 { 347 $this->observedGeneration = $observedGeneration; 348 } 349 /** 350 * @return string 351 */ 352 public function getObservedGeneration() 353 { 354 return $this->observedGeneration; 355 } 356 /** 357 * @param bool 358 */ 359 public function setReconciling($reconciling) 360 { 361 $this->reconciling = $reconciling; 362 } 363 /** 364 * @return bool 365 */ 366 public function getReconciling() 367 { 368 return $this->reconciling; 369 } 370 /** 371 * @param GoogleCloudRunOpV2RevisionScaling 372 */ 373 public function setScaling(GoogleCloudRunOpV2RevisionScaling $scaling) 374 { 375 $this->scaling = $scaling; 376 } 377 /** 378 * @return GoogleCloudRunOpV2RevisionScaling 379 */ 380 public function getScaling() 381 { 382 return $this->scaling; 383 } 384 /** 385 * @param string 386 */ 387 public function setService($service) 388 { 389 $this->service = $service; 390 } 391 /** 392 * @return string 393 */ 394 public function getService() 395 { 396 return $this->service; 397 } 398 /** 399 * @param string 400 */ 401 public function setServiceAccount($serviceAccount) 402 { 403 $this->serviceAccount = $serviceAccount; 404 } 405 /** 406 * @return string 407 */ 408 public function getServiceAccount() 409 { 410 return $this->serviceAccount; 411 } 412 /** 413 * @param string 414 */ 415 public function setTimeout($timeout) 416 { 417 $this->timeout = $timeout; 418 } 419 /** 420 * @return string 421 */ 422 public function getTimeout() 423 { 424 return $this->timeout; 425 } 426 /** 427 * @param string 428 */ 429 public function setUid($uid) 430 { 431 $this->uid = $uid; 432 } 433 /** 434 * @return string 435 */ 436 public function getUid() 437 { 438 return $this->uid; 439 } 440 /** 441 * @param string 442 */ 443 public function setUpdateTime($updateTime) 444 { 445 $this->updateTime = $updateTime; 446 } 447 /** 448 * @return string 449 */ 450 public function getUpdateTime() 451 { 452 return $this->updateTime; 453 } 454 /** 455 * @param GoogleCloudRunOpV2Volume[] 456 */ 457 public function setVolumes($volumes) 458 { 459 $this->volumes = $volumes; 460 } 461 /** 462 * @return GoogleCloudRunOpV2Volume[] 463 */ 464 public function getVolumes() 465 { 466 return $this->volumes; 467 } 468 /** 469 * @param GoogleCloudRunOpV2VpcAccess 470 */ 471 public function setVpcAccess(GoogleCloudRunOpV2VpcAccess $vpcAccess) 472 { 473 $this->vpcAccess = $vpcAccess; 474 } 475 /** 476 * @return GoogleCloudRunOpV2VpcAccess 477 */ 478 public function getVpcAccess() 479 { 480 return $this->vpcAccess; 481 } 482} 483 484// Adding a class alias for backwards compatibility with the previous class name. 485class_alias(GoogleCloudRunOpV2Revision::class, 'Google_Service_CloudRun_GoogleCloudRunOpV2Revision'); 486