source: vendor/google/apiclient-services/src/CloudDeploy/AutomationRun.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.7 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 AutomationRun extends \Google\Model
21{
22 protected $advanceRolloutOperationType = AdvanceRolloutOperation::class;
23 protected $advanceRolloutOperationDataType = '';
24 /**
25 * @var string
26 */
27 public $automationId;
28 protected $automationSnapshotType = Automation::class;
29 protected $automationSnapshotDataType = '';
30 /**
31 * @var string
32 */
33 public $createTime;
34 /**
35 * @var string
36 */
37 public $etag;
38 /**
39 * @var string
40 */
41 public $expireTime;
42 /**
43 * @var string
44 */
45 public $name;
46 protected $policyViolationType = PolicyViolation::class;
47 protected $policyViolationDataType = '';
48 protected $promoteReleaseOperationType = PromoteReleaseOperation::class;
49 protected $promoteReleaseOperationDataType = '';
50 protected $repairRolloutOperationType = RepairRolloutOperation::class;
51 protected $repairRolloutOperationDataType = '';
52 /**
53 * @var string
54 */
55 public $ruleId;
56 /**
57 * @var string
58 */
59 public $serviceAccount;
60 /**
61 * @var string
62 */
63 public $state;
64 /**
65 * @var string
66 */
67 public $stateDescription;
68 /**
69 * @var string
70 */
71 public $targetId;
72 protected $timedPromoteReleaseOperationType = TimedPromoteReleaseOperation::class;
73 protected $timedPromoteReleaseOperationDataType = '';
74 /**
75 * @var string
76 */
77 public $updateTime;
78 /**
79 * @var string
80 */
81 public $waitUntilTime;
82
83 /**
84 * @param AdvanceRolloutOperation
85 */
86 public function setAdvanceRolloutOperation(AdvanceRolloutOperation $advanceRolloutOperation)
87 {
88 $this->advanceRolloutOperation = $advanceRolloutOperation;
89 }
90 /**
91 * @return AdvanceRolloutOperation
92 */
93 public function getAdvanceRolloutOperation()
94 {
95 return $this->advanceRolloutOperation;
96 }
97 /**
98 * @param string
99 */
100 public function setAutomationId($automationId)
101 {
102 $this->automationId = $automationId;
103 }
104 /**
105 * @return string
106 */
107 public function getAutomationId()
108 {
109 return $this->automationId;
110 }
111 /**
112 * @param Automation
113 */
114 public function setAutomationSnapshot(Automation $automationSnapshot)
115 {
116 $this->automationSnapshot = $automationSnapshot;
117 }
118 /**
119 * @return Automation
120 */
121 public function getAutomationSnapshot()
122 {
123 return $this->automationSnapshot;
124 }
125 /**
126 * @param string
127 */
128 public function setCreateTime($createTime)
129 {
130 $this->createTime = $createTime;
131 }
132 /**
133 * @return string
134 */
135 public function getCreateTime()
136 {
137 return $this->createTime;
138 }
139 /**
140 * @param string
141 */
142 public function setEtag($etag)
143 {
144 $this->etag = $etag;
145 }
146 /**
147 * @return string
148 */
149 public function getEtag()
150 {
151 return $this->etag;
152 }
153 /**
154 * @param string
155 */
156 public function setExpireTime($expireTime)
157 {
158 $this->expireTime = $expireTime;
159 }
160 /**
161 * @return string
162 */
163 public function getExpireTime()
164 {
165 return $this->expireTime;
166 }
167 /**
168 * @param string
169 */
170 public function setName($name)
171 {
172 $this->name = $name;
173 }
174 /**
175 * @return string
176 */
177 public function getName()
178 {
179 return $this->name;
180 }
181 /**
182 * @param PolicyViolation
183 */
184 public function setPolicyViolation(PolicyViolation $policyViolation)
185 {
186 $this->policyViolation = $policyViolation;
187 }
188 /**
189 * @return PolicyViolation
190 */
191 public function getPolicyViolation()
192 {
193 return $this->policyViolation;
194 }
195 /**
196 * @param PromoteReleaseOperation
197 */
198 public function setPromoteReleaseOperation(PromoteReleaseOperation $promoteReleaseOperation)
199 {
200 $this->promoteReleaseOperation = $promoteReleaseOperation;
201 }
202 /**
203 * @return PromoteReleaseOperation
204 */
205 public function getPromoteReleaseOperation()
206 {
207 return $this->promoteReleaseOperation;
208 }
209 /**
210 * @param RepairRolloutOperation
211 */
212 public function setRepairRolloutOperation(RepairRolloutOperation $repairRolloutOperation)
213 {
214 $this->repairRolloutOperation = $repairRolloutOperation;
215 }
216 /**
217 * @return RepairRolloutOperation
218 */
219 public function getRepairRolloutOperation()
220 {
221 return $this->repairRolloutOperation;
222 }
223 /**
224 * @param string
225 */
226 public function setRuleId($ruleId)
227 {
228 $this->ruleId = $ruleId;
229 }
230 /**
231 * @return string
232 */
233 public function getRuleId()
234 {
235 return $this->ruleId;
236 }
237 /**
238 * @param string
239 */
240 public function setServiceAccount($serviceAccount)
241 {
242 $this->serviceAccount = $serviceAccount;
243 }
244 /**
245 * @return string
246 */
247 public function getServiceAccount()
248 {
249 return $this->serviceAccount;
250 }
251 /**
252 * @param string
253 */
254 public function setState($state)
255 {
256 $this->state = $state;
257 }
258 /**
259 * @return string
260 */
261 public function getState()
262 {
263 return $this->state;
264 }
265 /**
266 * @param string
267 */
268 public function setStateDescription($stateDescription)
269 {
270 $this->stateDescription = $stateDescription;
271 }
272 /**
273 * @return string
274 */
275 public function getStateDescription()
276 {
277 return $this->stateDescription;
278 }
279 /**
280 * @param string
281 */
282 public function setTargetId($targetId)
283 {
284 $this->targetId = $targetId;
285 }
286 /**
287 * @return string
288 */
289 public function getTargetId()
290 {
291 return $this->targetId;
292 }
293 /**
294 * @param TimedPromoteReleaseOperation
295 */
296 public function setTimedPromoteReleaseOperation(TimedPromoteReleaseOperation $timedPromoteReleaseOperation)
297 {
298 $this->timedPromoteReleaseOperation = $timedPromoteReleaseOperation;
299 }
300 /**
301 * @return TimedPromoteReleaseOperation
302 */
303 public function getTimedPromoteReleaseOperation()
304 {
305 return $this->timedPromoteReleaseOperation;
306 }
307 /**
308 * @param string
309 */
310 public function setUpdateTime($updateTime)
311 {
312 $this->updateTime = $updateTime;
313 }
314 /**
315 * @return string
316 */
317 public function getUpdateTime()
318 {
319 return $this->updateTime;
320 }
321 /**
322 * @param string
323 */
324 public function setWaitUntilTime($waitUntilTime)
325 {
326 $this->waitUntilTime = $waitUntilTime;
327 }
328 /**
329 * @return string
330 */
331 public function getWaitUntilTime()
332 {
333 return $this->waitUntilTime;
334 }
335}
336
337// Adding a class alias for backwards compatibility with the previous class name.
338class_alias(AutomationRun::class, 'Google_Service_CloudDeploy_AutomationRun');
Note: See TracBrowser for help on using the repository browser.