[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\CloudRun;
|
---|
| 19 |
|
---|
| 20 | class GoogleCloudRunV2Execution extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'conditions';
|
---|
| 23 | /**
|
---|
| 24 | * @var string[]
|
---|
| 25 | */
|
---|
| 26 | public $annotations;
|
---|
| 27 | /**
|
---|
| 28 | * @var int
|
---|
| 29 | */
|
---|
| 30 | public $cancelledCount;
|
---|
| 31 | /**
|
---|
| 32 | * @var string
|
---|
| 33 | */
|
---|
| 34 | public $completionTime;
|
---|
| 35 | protected $conditionsType = GoogleCloudRunV2Condition::class;
|
---|
| 36 | protected $conditionsDataType = 'array';
|
---|
| 37 | /**
|
---|
| 38 | * @var string
|
---|
| 39 | */
|
---|
| 40 | public $createTime;
|
---|
| 41 | /**
|
---|
| 42 | * @var string
|
---|
| 43 | */
|
---|
| 44 | public $deleteTime;
|
---|
| 45 | /**
|
---|
| 46 | * @var string
|
---|
| 47 | */
|
---|
| 48 | public $etag;
|
---|
| 49 | /**
|
---|
| 50 | * @var string
|
---|
| 51 | */
|
---|
| 52 | public $expireTime;
|
---|
| 53 | /**
|
---|
| 54 | * @var int
|
---|
| 55 | */
|
---|
| 56 | public $failedCount;
|
---|
| 57 | /**
|
---|
| 58 | * @var string
|
---|
| 59 | */
|
---|
| 60 | public $generation;
|
---|
| 61 | /**
|
---|
| 62 | * @var string
|
---|
| 63 | */
|
---|
| 64 | public $job;
|
---|
| 65 | /**
|
---|
| 66 | * @var string[]
|
---|
| 67 | */
|
---|
| 68 | public $labels;
|
---|
| 69 | /**
|
---|
| 70 | * @var string
|
---|
| 71 | */
|
---|
| 72 | public $launchStage;
|
---|
| 73 | /**
|
---|
| 74 | * @var string
|
---|
| 75 | */
|
---|
| 76 | public $logUri;
|
---|
| 77 | /**
|
---|
| 78 | * @var string
|
---|
| 79 | */
|
---|
| 80 | public $name;
|
---|
| 81 | /**
|
---|
| 82 | * @var string
|
---|
| 83 | */
|
---|
| 84 | public $observedGeneration;
|
---|
| 85 | /**
|
---|
| 86 | * @var int
|
---|
| 87 | */
|
---|
| 88 | public $parallelism;
|
---|
| 89 | /**
|
---|
| 90 | * @var bool
|
---|
| 91 | */
|
---|
| 92 | public $reconciling;
|
---|
| 93 | /**
|
---|
| 94 | * @var int
|
---|
| 95 | */
|
---|
| 96 | public $retriedCount;
|
---|
| 97 | /**
|
---|
| 98 | * @var int
|
---|
| 99 | */
|
---|
| 100 | public $runningCount;
|
---|
| 101 | /**
|
---|
| 102 | * @var bool
|
---|
| 103 | */
|
---|
| 104 | public $satisfiesPzs;
|
---|
| 105 | /**
|
---|
| 106 | * @var string
|
---|
| 107 | */
|
---|
| 108 | public $startTime;
|
---|
| 109 | /**
|
---|
| 110 | * @var int
|
---|
| 111 | */
|
---|
| 112 | public $succeededCount;
|
---|
| 113 | /**
|
---|
| 114 | * @var int
|
---|
| 115 | */
|
---|
| 116 | public $taskCount;
|
---|
| 117 | protected $templateType = GoogleCloudRunV2TaskTemplate::class;
|
---|
| 118 | protected $templateDataType = '';
|
---|
| 119 | /**
|
---|
| 120 | * @var string
|
---|
| 121 | */
|
---|
| 122 | public $uid;
|
---|
| 123 | /**
|
---|
| 124 | * @var string
|
---|
| 125 | */
|
---|
| 126 | public $updateTime;
|
---|
| 127 |
|
---|
| 128 | /**
|
---|
| 129 | * @param string[]
|
---|
| 130 | */
|
---|
| 131 | public function setAnnotations($annotations)
|
---|
| 132 | {
|
---|
| 133 | $this->annotations = $annotations;
|
---|
| 134 | }
|
---|
| 135 | /**
|
---|
| 136 | * @return string[]
|
---|
| 137 | */
|
---|
| 138 | public function getAnnotations()
|
---|
| 139 | {
|
---|
| 140 | return $this->annotations;
|
---|
| 141 | }
|
---|
| 142 | /**
|
---|
| 143 | * @param int
|
---|
| 144 | */
|
---|
| 145 | public function setCancelledCount($cancelledCount)
|
---|
| 146 | {
|
---|
| 147 | $this->cancelledCount = $cancelledCount;
|
---|
| 148 | }
|
---|
| 149 | /**
|
---|
| 150 | * @return int
|
---|
| 151 | */
|
---|
| 152 | public function getCancelledCount()
|
---|
| 153 | {
|
---|
| 154 | return $this->cancelledCount;
|
---|
| 155 | }
|
---|
| 156 | /**
|
---|
| 157 | * @param string
|
---|
| 158 | */
|
---|
| 159 | public function setCompletionTime($completionTime)
|
---|
| 160 | {
|
---|
| 161 | $this->completionTime = $completionTime;
|
---|
| 162 | }
|
---|
| 163 | /**
|
---|
| 164 | * @return string
|
---|
| 165 | */
|
---|
| 166 | public function getCompletionTime()
|
---|
| 167 | {
|
---|
| 168 | return $this->completionTime;
|
---|
| 169 | }
|
---|
| 170 | /**
|
---|
| 171 | * @param GoogleCloudRunV2Condition[]
|
---|
| 172 | */
|
---|
| 173 | public function setConditions($conditions)
|
---|
| 174 | {
|
---|
| 175 | $this->conditions = $conditions;
|
---|
| 176 | }
|
---|
| 177 | /**
|
---|
| 178 | * @return GoogleCloudRunV2Condition[]
|
---|
| 179 | */
|
---|
| 180 | public function getConditions()
|
---|
| 181 | {
|
---|
| 182 | return $this->conditions;
|
---|
| 183 | }
|
---|
| 184 | /**
|
---|
| 185 | * @param string
|
---|
| 186 | */
|
---|
| 187 | public function setCreateTime($createTime)
|
---|
| 188 | {
|
---|
| 189 | $this->createTime = $createTime;
|
---|
| 190 | }
|
---|
| 191 | /**
|
---|
| 192 | * @return string
|
---|
| 193 | */
|
---|
| 194 | public function getCreateTime()
|
---|
| 195 | {
|
---|
| 196 | return $this->createTime;
|
---|
| 197 | }
|
---|
| 198 | /**
|
---|
| 199 | * @param string
|
---|
| 200 | */
|
---|
| 201 | public function setDeleteTime($deleteTime)
|
---|
| 202 | {
|
---|
| 203 | $this->deleteTime = $deleteTime;
|
---|
| 204 | }
|
---|
| 205 | /**
|
---|
| 206 | * @return string
|
---|
| 207 | */
|
---|
| 208 | public function getDeleteTime()
|
---|
| 209 | {
|
---|
| 210 | return $this->deleteTime;
|
---|
| 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 string
|
---|
| 228 | */
|
---|
| 229 | public function setExpireTime($expireTime)
|
---|
| 230 | {
|
---|
| 231 | $this->expireTime = $expireTime;
|
---|
| 232 | }
|
---|
| 233 | /**
|
---|
| 234 | * @return string
|
---|
| 235 | */
|
---|
| 236 | public function getExpireTime()
|
---|
| 237 | {
|
---|
| 238 | return $this->expireTime;
|
---|
| 239 | }
|
---|
| 240 | /**
|
---|
| 241 | * @param int
|
---|
| 242 | */
|
---|
| 243 | public function setFailedCount($failedCount)
|
---|
| 244 | {
|
---|
| 245 | $this->failedCount = $failedCount;
|
---|
| 246 | }
|
---|
| 247 | /**
|
---|
| 248 | * @return int
|
---|
| 249 | */
|
---|
| 250 | public function getFailedCount()
|
---|
| 251 | {
|
---|
| 252 | return $this->failedCount;
|
---|
| 253 | }
|
---|
| 254 | /**
|
---|
| 255 | * @param string
|
---|
| 256 | */
|
---|
| 257 | public function setGeneration($generation)
|
---|
| 258 | {
|
---|
| 259 | $this->generation = $generation;
|
---|
| 260 | }
|
---|
| 261 | /**
|
---|
| 262 | * @return string
|
---|
| 263 | */
|
---|
| 264 | public function getGeneration()
|
---|
| 265 | {
|
---|
| 266 | return $this->generation;
|
---|
| 267 | }
|
---|
| 268 | /**
|
---|
| 269 | * @param string
|
---|
| 270 | */
|
---|
| 271 | public function setJob($job)
|
---|
| 272 | {
|
---|
| 273 | $this->job = $job;
|
---|
| 274 | }
|
---|
| 275 | /**
|
---|
| 276 | * @return string
|
---|
| 277 | */
|
---|
| 278 | public function getJob()
|
---|
| 279 | {
|
---|
| 280 | return $this->job;
|
---|
| 281 | }
|
---|
| 282 | /**
|
---|
| 283 | * @param string[]
|
---|
| 284 | */
|
---|
| 285 | public function setLabels($labels)
|
---|
| 286 | {
|
---|
| 287 | $this->labels = $labels;
|
---|
| 288 | }
|
---|
| 289 | /**
|
---|
| 290 | * @return string[]
|
---|
| 291 | */
|
---|
| 292 | public function getLabels()
|
---|
| 293 | {
|
---|
| 294 | return $this->labels;
|
---|
| 295 | }
|
---|
| 296 | /**
|
---|
| 297 | * @param string
|
---|
| 298 | */
|
---|
| 299 | public function setLaunchStage($launchStage)
|
---|
| 300 | {
|
---|
| 301 | $this->launchStage = $launchStage;
|
---|
| 302 | }
|
---|
| 303 | /**
|
---|
| 304 | * @return string
|
---|
| 305 | */
|
---|
| 306 | public function getLaunchStage()
|
---|
| 307 | {
|
---|
| 308 | return $this->launchStage;
|
---|
| 309 | }
|
---|
| 310 | /**
|
---|
| 311 | * @param string
|
---|
| 312 | */
|
---|
| 313 | public function setLogUri($logUri)
|
---|
| 314 | {
|
---|
| 315 | $this->logUri = $logUri;
|
---|
| 316 | }
|
---|
| 317 | /**
|
---|
| 318 | * @return string
|
---|
| 319 | */
|
---|
| 320 | public function getLogUri()
|
---|
| 321 | {
|
---|
| 322 | return $this->logUri;
|
---|
| 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 string
|
---|
| 340 | */
|
---|
| 341 | public function setObservedGeneration($observedGeneration)
|
---|
| 342 | {
|
---|
| 343 | $this->observedGeneration = $observedGeneration;
|
---|
| 344 | }
|
---|
| 345 | /**
|
---|
| 346 | * @return string
|
---|
| 347 | */
|
---|
| 348 | public function getObservedGeneration()
|
---|
| 349 | {
|
---|
| 350 | return $this->observedGeneration;
|
---|
| 351 | }
|
---|
| 352 | /**
|
---|
| 353 | * @param int
|
---|
| 354 | */
|
---|
| 355 | public function setParallelism($parallelism)
|
---|
| 356 | {
|
---|
| 357 | $this->parallelism = $parallelism;
|
---|
| 358 | }
|
---|
| 359 | /**
|
---|
| 360 | * @return int
|
---|
| 361 | */
|
---|
| 362 | public function getParallelism()
|
---|
| 363 | {
|
---|
| 364 | return $this->parallelism;
|
---|
| 365 | }
|
---|
| 366 | /**
|
---|
| 367 | * @param bool
|
---|
| 368 | */
|
---|
| 369 | public function setReconciling($reconciling)
|
---|
| 370 | {
|
---|
| 371 | $this->reconciling = $reconciling;
|
---|
| 372 | }
|
---|
| 373 | /**
|
---|
| 374 | * @return bool
|
---|
| 375 | */
|
---|
| 376 | public function getReconciling()
|
---|
| 377 | {
|
---|
| 378 | return $this->reconciling;
|
---|
| 379 | }
|
---|
| 380 | /**
|
---|
| 381 | * @param int
|
---|
| 382 | */
|
---|
| 383 | public function setRetriedCount($retriedCount)
|
---|
| 384 | {
|
---|
| 385 | $this->retriedCount = $retriedCount;
|
---|
| 386 | }
|
---|
| 387 | /**
|
---|
| 388 | * @return int
|
---|
| 389 | */
|
---|
| 390 | public function getRetriedCount()
|
---|
| 391 | {
|
---|
| 392 | return $this->retriedCount;
|
---|
| 393 | }
|
---|
| 394 | /**
|
---|
| 395 | * @param int
|
---|
| 396 | */
|
---|
| 397 | public function setRunningCount($runningCount)
|
---|
| 398 | {
|
---|
| 399 | $this->runningCount = $runningCount;
|
---|
| 400 | }
|
---|
| 401 | /**
|
---|
| 402 | * @return int
|
---|
| 403 | */
|
---|
| 404 | public function getRunningCount()
|
---|
| 405 | {
|
---|
| 406 | return $this->runningCount;
|
---|
| 407 | }
|
---|
| 408 | /**
|
---|
| 409 | * @param bool
|
---|
| 410 | */
|
---|
| 411 | public function setSatisfiesPzs($satisfiesPzs)
|
---|
| 412 | {
|
---|
| 413 | $this->satisfiesPzs = $satisfiesPzs;
|
---|
| 414 | }
|
---|
| 415 | /**
|
---|
| 416 | * @return bool
|
---|
| 417 | */
|
---|
| 418 | public function getSatisfiesPzs()
|
---|
| 419 | {
|
---|
| 420 | return $this->satisfiesPzs;
|
---|
| 421 | }
|
---|
| 422 | /**
|
---|
| 423 | * @param string
|
---|
| 424 | */
|
---|
| 425 | public function setStartTime($startTime)
|
---|
| 426 | {
|
---|
| 427 | $this->startTime = $startTime;
|
---|
| 428 | }
|
---|
| 429 | /**
|
---|
| 430 | * @return string
|
---|
| 431 | */
|
---|
| 432 | public function getStartTime()
|
---|
| 433 | {
|
---|
| 434 | return $this->startTime;
|
---|
| 435 | }
|
---|
| 436 | /**
|
---|
| 437 | * @param int
|
---|
| 438 | */
|
---|
| 439 | public function setSucceededCount($succeededCount)
|
---|
| 440 | {
|
---|
| 441 | $this->succeededCount = $succeededCount;
|
---|
| 442 | }
|
---|
| 443 | /**
|
---|
| 444 | * @return int
|
---|
| 445 | */
|
---|
| 446 | public function getSucceededCount()
|
---|
| 447 | {
|
---|
| 448 | return $this->succeededCount;
|
---|
| 449 | }
|
---|
| 450 | /**
|
---|
| 451 | * @param int
|
---|
| 452 | */
|
---|
| 453 | public function setTaskCount($taskCount)
|
---|
| 454 | {
|
---|
| 455 | $this->taskCount = $taskCount;
|
---|
| 456 | }
|
---|
| 457 | /**
|
---|
| 458 | * @return int
|
---|
| 459 | */
|
---|
| 460 | public function getTaskCount()
|
---|
| 461 | {
|
---|
| 462 | return $this->taskCount;
|
---|
| 463 | }
|
---|
| 464 | /**
|
---|
| 465 | * @param GoogleCloudRunV2TaskTemplate
|
---|
| 466 | */
|
---|
| 467 | public function setTemplate(GoogleCloudRunV2TaskTemplate $template)
|
---|
| 468 | {
|
---|
| 469 | $this->template = $template;
|
---|
| 470 | }
|
---|
| 471 | /**
|
---|
| 472 | * @return GoogleCloudRunV2TaskTemplate
|
---|
| 473 | */
|
---|
| 474 | public function getTemplate()
|
---|
| 475 | {
|
---|
| 476 | return $this->template;
|
---|
| 477 | }
|
---|
| 478 | /**
|
---|
| 479 | * @param string
|
---|
| 480 | */
|
---|
| 481 | public function setUid($uid)
|
---|
| 482 | {
|
---|
| 483 | $this->uid = $uid;
|
---|
| 484 | }
|
---|
| 485 | /**
|
---|
| 486 | * @return string
|
---|
| 487 | */
|
---|
| 488 | public function getUid()
|
---|
| 489 | {
|
---|
| 490 | return $this->uid;
|
---|
| 491 | }
|
---|
| 492 | /**
|
---|
| 493 | * @param string
|
---|
| 494 | */
|
---|
| 495 | public function setUpdateTime($updateTime)
|
---|
| 496 | {
|
---|
| 497 | $this->updateTime = $updateTime;
|
---|
| 498 | }
|
---|
| 499 | /**
|
---|
| 500 | * @return string
|
---|
| 501 | */
|
---|
| 502 | public function getUpdateTime()
|
---|
| 503 | {
|
---|
| 504 | return $this->updateTime;
|
---|
| 505 | }
|
---|
| 506 | }
|
---|
| 507 |
|
---|
| 508 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 509 | class_alias(GoogleCloudRunV2Execution::class, 'Google_Service_CloudRun_GoogleCloudRunV2Execution');
|
---|