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 ObjectMeta extends \Google\Collection
21{
22  protected $collection_key = 'ownerReferences';
23  /**
24   * @var string[]
25   */
26  public $annotations;
27  /**
28   * @var string
29   */
30  public $clusterName;
31  /**
32   * @var string
33   */
34  public $creationTimestamp;
35  /**
36   * @var int
37   */
38  public $deletionGracePeriodSeconds;
39  /**
40   * @var string
41   */
42  public $deletionTimestamp;
43  /**
44   * @var string[]
45   */
46  public $finalizers;
47  /**
48   * @var string
49   */
50  public $generateName;
51  /**
52   * @var int
53   */
54  public $generation;
55  /**
56   * @var string[]
57   */
58  public $labels;
59  /**
60   * @var string
61   */
62  public $name;
63  /**
64   * @var string
65   */
66  public $namespace;
67  protected $ownerReferencesType = OwnerReference::class;
68  protected $ownerReferencesDataType = 'array';
69  /**
70   * @var string
71   */
72  public $resourceVersion;
73  /**
74   * @var string
75   */
76  public $selfLink;
77  /**
78   * @var string
79   */
80  public $uid;
81
82  /**
83   * @param string[]
84   */
85  public function setAnnotations($annotations)
86  {
87    $this->annotations = $annotations;
88  }
89  /**
90   * @return string[]
91   */
92  public function getAnnotations()
93  {
94    return $this->annotations;
95  }
96  /**
97   * @param string
98   */
99  public function setClusterName($clusterName)
100  {
101    $this->clusterName = $clusterName;
102  }
103  /**
104   * @return string
105   */
106  public function getClusterName()
107  {
108    return $this->clusterName;
109  }
110  /**
111   * @param string
112   */
113  public function setCreationTimestamp($creationTimestamp)
114  {
115    $this->creationTimestamp = $creationTimestamp;
116  }
117  /**
118   * @return string
119   */
120  public function getCreationTimestamp()
121  {
122    return $this->creationTimestamp;
123  }
124  /**
125   * @param int
126   */
127  public function setDeletionGracePeriodSeconds($deletionGracePeriodSeconds)
128  {
129    $this->deletionGracePeriodSeconds = $deletionGracePeriodSeconds;
130  }
131  /**
132   * @return int
133   */
134  public function getDeletionGracePeriodSeconds()
135  {
136    return $this->deletionGracePeriodSeconds;
137  }
138  /**
139   * @param string
140   */
141  public function setDeletionTimestamp($deletionTimestamp)
142  {
143    $this->deletionTimestamp = $deletionTimestamp;
144  }
145  /**
146   * @return string
147   */
148  public function getDeletionTimestamp()
149  {
150    return $this->deletionTimestamp;
151  }
152  /**
153   * @param string[]
154   */
155  public function setFinalizers($finalizers)
156  {
157    $this->finalizers = $finalizers;
158  }
159  /**
160   * @return string[]
161   */
162  public function getFinalizers()
163  {
164    return $this->finalizers;
165  }
166  /**
167   * @param string
168   */
169  public function setGenerateName($generateName)
170  {
171    $this->generateName = $generateName;
172  }
173  /**
174   * @return string
175   */
176  public function getGenerateName()
177  {
178    return $this->generateName;
179  }
180  /**
181   * @param int
182   */
183  public function setGeneration($generation)
184  {
185    $this->generation = $generation;
186  }
187  /**
188   * @return int
189   */
190  public function getGeneration()
191  {
192    return $this->generation;
193  }
194  /**
195   * @param string[]
196   */
197  public function setLabels($labels)
198  {
199    $this->labels = $labels;
200  }
201  /**
202   * @return string[]
203   */
204  public function getLabels()
205  {
206    return $this->labels;
207  }
208  /**
209   * @param string
210   */
211  public function setName($name)
212  {
213    $this->name = $name;
214  }
215  /**
216   * @return string
217   */
218  public function getName()
219  {
220    return $this->name;
221  }
222  /**
223   * @param string
224   */
225  public function setNamespace($namespace)
226  {
227    $this->namespace = $namespace;
228  }
229  /**
230   * @return string
231   */
232  public function getNamespace()
233  {
234    return $this->namespace;
235  }
236  /**
237   * @param OwnerReference[]
238   */
239  public function setOwnerReferences($ownerReferences)
240  {
241    $this->ownerReferences = $ownerReferences;
242  }
243  /**
244   * @return OwnerReference[]
245   */
246  public function getOwnerReferences()
247  {
248    return $this->ownerReferences;
249  }
250  /**
251   * @param string
252   */
253  public function setResourceVersion($resourceVersion)
254  {
255    $this->resourceVersion = $resourceVersion;
256  }
257  /**
258   * @return string
259   */
260  public function getResourceVersion()
261  {
262    return $this->resourceVersion;
263  }
264  /**
265   * @param string
266   */
267  public function setSelfLink($selfLink)
268  {
269    $this->selfLink = $selfLink;
270  }
271  /**
272   * @return string
273   */
274  public function getSelfLink()
275  {
276    return $this->selfLink;
277  }
278  /**
279   * @param string
280   */
281  public function setUid($uid)
282  {
283    $this->uid = $uid;
284  }
285  /**
286   * @return string
287   */
288  public function getUid()
289  {
290    return $this->uid;
291  }
292}
293
294// Adding a class alias for backwards compatibility with the previous class name.
295class_alias(ObjectMeta::class, 'Google_Service_CloudRun_ObjectMeta');
296