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