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