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