source: vendor/google/apiclient-services/src/CloudDeploy/Target.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: 6.1 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\CloudDeploy;
19
20class Target extends \Google\Collection
21{
22 protected $collection_key = 'executionConfigs';
23 /**
24 * @var string[]
25 */
26 public $annotations;
27 protected $anthosClusterType = AnthosCluster::class;
28 protected $anthosClusterDataType = '';
29 protected $associatedEntitiesType = AssociatedEntities::class;
30 protected $associatedEntitiesDataType = 'map';
31 /**
32 * @var string
33 */
34 public $createTime;
35 protected $customTargetType = CustomTarget::class;
36 protected $customTargetDataType = '';
37 /**
38 * @var string[]
39 */
40 public $deployParameters;
41 /**
42 * @var string
43 */
44 public $description;
45 /**
46 * @var string
47 */
48 public $etag;
49 protected $executionConfigsType = ExecutionConfig::class;
50 protected $executionConfigsDataType = 'array';
51 protected $gkeType = GkeCluster::class;
52 protected $gkeDataType = '';
53 /**
54 * @var string[]
55 */
56 public $labels;
57 protected $multiTargetType = MultiTarget::class;
58 protected $multiTargetDataType = '';
59 /**
60 * @var string
61 */
62 public $name;
63 /**
64 * @var bool
65 */
66 public $requireApproval;
67 protected $runType = CloudRunLocation::class;
68 protected $runDataType = '';
69 /**
70 * @var string
71 */
72 public $targetId;
73 /**
74 * @var string
75 */
76 public $uid;
77 /**
78 * @var string
79 */
80 public $updateTime;
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 AnthosCluster
98 */
99 public function setAnthosCluster(AnthosCluster $anthosCluster)
100 {
101 $this->anthosCluster = $anthosCluster;
102 }
103 /**
104 * @return AnthosCluster
105 */
106 public function getAnthosCluster()
107 {
108 return $this->anthosCluster;
109 }
110 /**
111 * @param AssociatedEntities[]
112 */
113 public function setAssociatedEntities($associatedEntities)
114 {
115 $this->associatedEntities = $associatedEntities;
116 }
117 /**
118 * @return AssociatedEntities[]
119 */
120 public function getAssociatedEntities()
121 {
122 return $this->associatedEntities;
123 }
124 /**
125 * @param string
126 */
127 public function setCreateTime($createTime)
128 {
129 $this->createTime = $createTime;
130 }
131 /**
132 * @return string
133 */
134 public function getCreateTime()
135 {
136 return $this->createTime;
137 }
138 /**
139 * @param CustomTarget
140 */
141 public function setCustomTarget(CustomTarget $customTarget)
142 {
143 $this->customTarget = $customTarget;
144 }
145 /**
146 * @return CustomTarget
147 */
148 public function getCustomTarget()
149 {
150 return $this->customTarget;
151 }
152 /**
153 * @param string[]
154 */
155 public function setDeployParameters($deployParameters)
156 {
157 $this->deployParameters = $deployParameters;
158 }
159 /**
160 * @return string[]
161 */
162 public function getDeployParameters()
163 {
164 return $this->deployParameters;
165 }
166 /**
167 * @param string
168 */
169 public function setDescription($description)
170 {
171 $this->description = $description;
172 }
173 /**
174 * @return string
175 */
176 public function getDescription()
177 {
178 return $this->description;
179 }
180 /**
181 * @param string
182 */
183 public function setEtag($etag)
184 {
185 $this->etag = $etag;
186 }
187 /**
188 * @return string
189 */
190 public function getEtag()
191 {
192 return $this->etag;
193 }
194 /**
195 * @param ExecutionConfig[]
196 */
197 public function setExecutionConfigs($executionConfigs)
198 {
199 $this->executionConfigs = $executionConfigs;
200 }
201 /**
202 * @return ExecutionConfig[]
203 */
204 public function getExecutionConfigs()
205 {
206 return $this->executionConfigs;
207 }
208 /**
209 * @param GkeCluster
210 */
211 public function setGke(GkeCluster $gke)
212 {
213 $this->gke = $gke;
214 }
215 /**
216 * @return GkeCluster
217 */
218 public function getGke()
219 {
220 return $this->gke;
221 }
222 /**
223 * @param string[]
224 */
225 public function setLabels($labels)
226 {
227 $this->labels = $labels;
228 }
229 /**
230 * @return string[]
231 */
232 public function getLabels()
233 {
234 return $this->labels;
235 }
236 /**
237 * @param MultiTarget
238 */
239 public function setMultiTarget(MultiTarget $multiTarget)
240 {
241 $this->multiTarget = $multiTarget;
242 }
243 /**
244 * @return MultiTarget
245 */
246 public function getMultiTarget()
247 {
248 return $this->multiTarget;
249 }
250 /**
251 * @param string
252 */
253 public function setName($name)
254 {
255 $this->name = $name;
256 }
257 /**
258 * @return string
259 */
260 public function getName()
261 {
262 return $this->name;
263 }
264 /**
265 * @param bool
266 */
267 public function setRequireApproval($requireApproval)
268 {
269 $this->requireApproval = $requireApproval;
270 }
271 /**
272 * @return bool
273 */
274 public function getRequireApproval()
275 {
276 return $this->requireApproval;
277 }
278 /**
279 * @param CloudRunLocation
280 */
281 public function setRun(CloudRunLocation $run)
282 {
283 $this->run = $run;
284 }
285 /**
286 * @return CloudRunLocation
287 */
288 public function getRun()
289 {
290 return $this->run;
291 }
292 /**
293 * @param string
294 */
295 public function setTargetId($targetId)
296 {
297 $this->targetId = $targetId;
298 }
299 /**
300 * @return string
301 */
302 public function getTargetId()
303 {
304 return $this->targetId;
305 }
306 /**
307 * @param string
308 */
309 public function setUid($uid)
310 {
311 $this->uid = $uid;
312 }
313 /**
314 * @return string
315 */
316 public function getUid()
317 {
318 return $this->uid;
319 }
320 /**
321 * @param string
322 */
323 public function setUpdateTime($updateTime)
324 {
325 $this->updateTime = $updateTime;
326 }
327 /**
328 * @return string
329 */
330 public function getUpdateTime()
331 {
332 return $this->updateTime;
333 }
334}
335
336// Adding a class alias for backwards compatibility with the previous class name.
337class_alias(Target::class, 'Google_Service_CloudDeploy_Target');
Note: See TracBrowser for help on using the repository browser.