source: vendor/google/apiclient-services/src/CloudRun/GoogleCloudRunV2Revision.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 10.8 KB
Line 
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 GoogleCloudRunV2Revision extends \Google\Collection
21{
22 protected $collection_key = 'volumes';
23 /**
24 * @var string[]
25 */
26 public $annotations;
27 protected $conditionsType = GoogleCloudRunV2Condition::class;
28 protected $conditionsDataType = 'array';
29 protected $containersType = GoogleCloudRunV2Container::class;
30 protected $containersDataType = 'array';
31 /**
32 * @var string
33 */
34 public $createTime;
35 /**
36 * @var string
37 */
38 public $deleteTime;
39 /**
40 * @var string
41 */
42 public $encryptionKey;
43 /**
44 * @var string
45 */
46 public $encryptionKeyRevocationAction;
47 /**
48 * @var string
49 */
50 public $encryptionKeyShutdownDuration;
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 int
81 */
82 public $maxInstanceRequestConcurrency;
83 /**
84 * @var string
85 */
86 public $name;
87 protected $nodeSelectorType = GoogleCloudRunV2NodeSelector::class;
88 protected $nodeSelectorDataType = '';
89 /**
90 * @var string
91 */
92 public $observedGeneration;
93 /**
94 * @var bool
95 */
96 public $reconciling;
97 /**
98 * @var bool
99 */
100 public $satisfiesPzs;
101 protected $scalingType = GoogleCloudRunV2RevisionScaling::class;
102 protected $scalingDataType = '';
103 protected $scalingStatusType = GoogleCloudRunV2RevisionScalingStatus::class;
104 protected $scalingStatusDataType = '';
105 /**
106 * @var string
107 */
108 public $service;
109 /**
110 * @var string
111 */
112 public $serviceAccount;
113 protected $serviceMeshType = GoogleCloudRunV2ServiceMesh::class;
114 protected $serviceMeshDataType = '';
115 /**
116 * @var bool
117 */
118 public $sessionAffinity;
119 /**
120 * @var string
121 */
122 public $timeout;
123 /**
124 * @var string
125 */
126 public $uid;
127 /**
128 * @var string
129 */
130 public $updateTime;
131 protected $volumesType = GoogleCloudRunV2Volume::class;
132 protected $volumesDataType = 'array';
133 protected $vpcAccessType = GoogleCloudRunV2VpcAccess::class;
134 protected $vpcAccessDataType = '';
135
136 /**
137 * @param string[]
138 */
139 public function setAnnotations($annotations)
140 {
141 $this->annotations = $annotations;
142 }
143 /**
144 * @return string[]
145 */
146 public function getAnnotations()
147 {
148 return $this->annotations;
149 }
150 /**
151 * @param GoogleCloudRunV2Condition[]
152 */
153 public function setConditions($conditions)
154 {
155 $this->conditions = $conditions;
156 }
157 /**
158 * @return GoogleCloudRunV2Condition[]
159 */
160 public function getConditions()
161 {
162 return $this->conditions;
163 }
164 /**
165 * @param GoogleCloudRunV2Container[]
166 */
167 public function setContainers($containers)
168 {
169 $this->containers = $containers;
170 }
171 /**
172 * @return GoogleCloudRunV2Container[]
173 */
174 public function getContainers()
175 {
176 return $this->containers;
177 }
178 /**
179 * @param string
180 */
181 public function setCreateTime($createTime)
182 {
183 $this->createTime = $createTime;
184 }
185 /**
186 * @return string
187 */
188 public function getCreateTime()
189 {
190 return $this->createTime;
191 }
192 /**
193 * @param string
194 */
195 public function setDeleteTime($deleteTime)
196 {
197 $this->deleteTime = $deleteTime;
198 }
199 /**
200 * @return string
201 */
202 public function getDeleteTime()
203 {
204 return $this->deleteTime;
205 }
206 /**
207 * @param string
208 */
209 public function setEncryptionKey($encryptionKey)
210 {
211 $this->encryptionKey = $encryptionKey;
212 }
213 /**
214 * @return string
215 */
216 public function getEncryptionKey()
217 {
218 return $this->encryptionKey;
219 }
220 /**
221 * @param string
222 */
223 public function setEncryptionKeyRevocationAction($encryptionKeyRevocationAction)
224 {
225 $this->encryptionKeyRevocationAction = $encryptionKeyRevocationAction;
226 }
227 /**
228 * @return string
229 */
230 public function getEncryptionKeyRevocationAction()
231 {
232 return $this->encryptionKeyRevocationAction;
233 }
234 /**
235 * @param string
236 */
237 public function setEncryptionKeyShutdownDuration($encryptionKeyShutdownDuration)
238 {
239 $this->encryptionKeyShutdownDuration = $encryptionKeyShutdownDuration;
240 }
241 /**
242 * @return string
243 */
244 public function getEncryptionKeyShutdownDuration()
245 {
246 return $this->encryptionKeyShutdownDuration;
247 }
248 /**
249 * @param string
250 */
251 public function setEtag($etag)
252 {
253 $this->etag = $etag;
254 }
255 /**
256 * @return string
257 */
258 public function getEtag()
259 {
260 return $this->etag;
261 }
262 /**
263 * @param string
264 */
265 public function setExecutionEnvironment($executionEnvironment)
266 {
267 $this->executionEnvironment = $executionEnvironment;
268 }
269 /**
270 * @return string
271 */
272 public function getExecutionEnvironment()
273 {
274 return $this->executionEnvironment;
275 }
276 /**
277 * @param string
278 */
279 public function setExpireTime($expireTime)
280 {
281 $this->expireTime = $expireTime;
282 }
283 /**
284 * @return string
285 */
286 public function getExpireTime()
287 {
288 return $this->expireTime;
289 }
290 /**
291 * @param string
292 */
293 public function setGeneration($generation)
294 {
295 $this->generation = $generation;
296 }
297 /**
298 * @return string
299 */
300 public function getGeneration()
301 {
302 return $this->generation;
303 }
304 /**
305 * @param string[]
306 */
307 public function setLabels($labels)
308 {
309 $this->labels = $labels;
310 }
311 /**
312 * @return string[]
313 */
314 public function getLabels()
315 {
316 return $this->labels;
317 }
318 /**
319 * @param string
320 */
321 public function setLaunchStage($launchStage)
322 {
323 $this->launchStage = $launchStage;
324 }
325 /**
326 * @return string
327 */
328 public function getLaunchStage()
329 {
330 return $this->launchStage;
331 }
332 /**
333 * @param string
334 */
335 public function setLogUri($logUri)
336 {
337 $this->logUri = $logUri;
338 }
339 /**
340 * @return string
341 */
342 public function getLogUri()
343 {
344 return $this->logUri;
345 }
346 /**
347 * @param int
348 */
349 public function setMaxInstanceRequestConcurrency($maxInstanceRequestConcurrency)
350 {
351 $this->maxInstanceRequestConcurrency = $maxInstanceRequestConcurrency;
352 }
353 /**
354 * @return int
355 */
356 public function getMaxInstanceRequestConcurrency()
357 {
358 return $this->maxInstanceRequestConcurrency;
359 }
360 /**
361 * @param string
362 */
363 public function setName($name)
364 {
365 $this->name = $name;
366 }
367 /**
368 * @return string
369 */
370 public function getName()
371 {
372 return $this->name;
373 }
374 /**
375 * @param GoogleCloudRunV2NodeSelector
376 */
377 public function setNodeSelector(GoogleCloudRunV2NodeSelector $nodeSelector)
378 {
379 $this->nodeSelector = $nodeSelector;
380 }
381 /**
382 * @return GoogleCloudRunV2NodeSelector
383 */
384 public function getNodeSelector()
385 {
386 return $this->nodeSelector;
387 }
388 /**
389 * @param string
390 */
391 public function setObservedGeneration($observedGeneration)
392 {
393 $this->observedGeneration = $observedGeneration;
394 }
395 /**
396 * @return string
397 */
398 public function getObservedGeneration()
399 {
400 return $this->observedGeneration;
401 }
402 /**
403 * @param bool
404 */
405 public function setReconciling($reconciling)
406 {
407 $this->reconciling = $reconciling;
408 }
409 /**
410 * @return bool
411 */
412 public function getReconciling()
413 {
414 return $this->reconciling;
415 }
416 /**
417 * @param bool
418 */
419 public function setSatisfiesPzs($satisfiesPzs)
420 {
421 $this->satisfiesPzs = $satisfiesPzs;
422 }
423 /**
424 * @return bool
425 */
426 public function getSatisfiesPzs()
427 {
428 return $this->satisfiesPzs;
429 }
430 /**
431 * @param GoogleCloudRunV2RevisionScaling
432 */
433 public function setScaling(GoogleCloudRunV2RevisionScaling $scaling)
434 {
435 $this->scaling = $scaling;
436 }
437 /**
438 * @return GoogleCloudRunV2RevisionScaling
439 */
440 public function getScaling()
441 {
442 return $this->scaling;
443 }
444 /**
445 * @param GoogleCloudRunV2RevisionScalingStatus
446 */
447 public function setScalingStatus(GoogleCloudRunV2RevisionScalingStatus $scalingStatus)
448 {
449 $this->scalingStatus = $scalingStatus;
450 }
451 /**
452 * @return GoogleCloudRunV2RevisionScalingStatus
453 */
454 public function getScalingStatus()
455 {
456 return $this->scalingStatus;
457 }
458 /**
459 * @param string
460 */
461 public function setService($service)
462 {
463 $this->service = $service;
464 }
465 /**
466 * @return string
467 */
468 public function getService()
469 {
470 return $this->service;
471 }
472 /**
473 * @param string
474 */
475 public function setServiceAccount($serviceAccount)
476 {
477 $this->serviceAccount = $serviceAccount;
478 }
479 /**
480 * @return string
481 */
482 public function getServiceAccount()
483 {
484 return $this->serviceAccount;
485 }
486 /**
487 * @param GoogleCloudRunV2ServiceMesh
488 */
489 public function setServiceMesh(GoogleCloudRunV2ServiceMesh $serviceMesh)
490 {
491 $this->serviceMesh = $serviceMesh;
492 }
493 /**
494 * @return GoogleCloudRunV2ServiceMesh
495 */
496 public function getServiceMesh()
497 {
498 return $this->serviceMesh;
499 }
500 /**
501 * @param bool
502 */
503 public function setSessionAffinity($sessionAffinity)
504 {
505 $this->sessionAffinity = $sessionAffinity;
506 }
507 /**
508 * @return bool
509 */
510 public function getSessionAffinity()
511 {
512 return $this->sessionAffinity;
513 }
514 /**
515 * @param string
516 */
517 public function setTimeout($timeout)
518 {
519 $this->timeout = $timeout;
520 }
521 /**
522 * @return string
523 */
524 public function getTimeout()
525 {
526 return $this->timeout;
527 }
528 /**
529 * @param string
530 */
531 public function setUid($uid)
532 {
533 $this->uid = $uid;
534 }
535 /**
536 * @return string
537 */
538 public function getUid()
539 {
540 return $this->uid;
541 }
542 /**
543 * @param string
544 */
545 public function setUpdateTime($updateTime)
546 {
547 $this->updateTime = $updateTime;
548 }
549 /**
550 * @return string
551 */
552 public function getUpdateTime()
553 {
554 return $this->updateTime;
555 }
556 /**
557 * @param GoogleCloudRunV2Volume[]
558 */
559 public function setVolumes($volumes)
560 {
561 $this->volumes = $volumes;
562 }
563 /**
564 * @return GoogleCloudRunV2Volume[]
565 */
566 public function getVolumes()
567 {
568 return $this->volumes;
569 }
570 /**
571 * @param GoogleCloudRunV2VpcAccess
572 */
573 public function setVpcAccess(GoogleCloudRunV2VpcAccess $vpcAccess)
574 {
575 $this->vpcAccess = $vpcAccess;
576 }
577 /**
578 * @return GoogleCloudRunV2VpcAccess
579 */
580 public function getVpcAccess()
581 {
582 return $this->vpcAccess;
583 }
584}
585
586// Adding a class alias for backwards compatibility with the previous class name.
587class_alias(GoogleCloudRunV2Revision::class, 'Google_Service_CloudRun_GoogleCloudRunV2Revision');
Note: See TracBrowser for help on using the repository browser.