source: vendor/google/apiclient-services/src/CloudBuild/PipelineRun.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: 9.6 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\CloudBuild;
19
20class PipelineRun extends \Google\Collection
21{
22 protected $collection_key = 'workspaces';
23 /**
24 * @var string[]
25 */
26 public $annotations;
27 protected $childReferencesType = ChildStatusReference::class;
28 protected $childReferencesDataType = 'array';
29 /**
30 * @var string
31 */
32 public $completionTime;
33 protected $conditionsType = GoogleDevtoolsCloudbuildV2Condition::class;
34 protected $conditionsDataType = 'array';
35 /**
36 * @var string
37 */
38 public $createTime;
39 /**
40 * @var string
41 */
42 public $etag;
43 /**
44 * @var string
45 */
46 public $finallyStartTime;
47 /**
48 * @var string[]
49 */
50 public $gcbParams;
51 /**
52 * @var string
53 */
54 public $name;
55 protected $paramsType = Param::class;
56 protected $paramsDataType = 'array';
57 protected $pipelineRefType = PipelineRef::class;
58 protected $pipelineRefDataType = '';
59 /**
60 * @var string
61 */
62 public $pipelineRunStatus;
63 protected $pipelineSpecType = PipelineSpec::class;
64 protected $pipelineSpecDataType = '';
65 /**
66 * @var string
67 */
68 public $pipelineSpecYaml;
69 protected $provenanceType = Provenance::class;
70 protected $provenanceDataType = '';
71 /**
72 * @var string
73 */
74 public $record;
75 protected $resolvedPipelineSpecType = PipelineSpec::class;
76 protected $resolvedPipelineSpecDataType = '';
77 protected $resultsType = PipelineRunResult::class;
78 protected $resultsDataType = 'array';
79 protected $securityType = Security::class;
80 protected $securityDataType = '';
81 /**
82 * @var string
83 */
84 public $serviceAccount;
85 protected $skippedTasksType = SkippedTask::class;
86 protected $skippedTasksDataType = 'array';
87 /**
88 * @var string
89 */
90 public $startTime;
91 protected $timeoutsType = TimeoutFields::class;
92 protected $timeoutsDataType = '';
93 /**
94 * @var string
95 */
96 public $uid;
97 /**
98 * @var string
99 */
100 public $updateTime;
101 protected $workerType = Worker::class;
102 protected $workerDataType = '';
103 /**
104 * @var string
105 */
106 public $workerPool;
107 /**
108 * @var string
109 */
110 public $workflow;
111 protected $workspacesType = WorkspaceBinding::class;
112 protected $workspacesDataType = 'array';
113
114 /**
115 * @param string[]
116 */
117 public function setAnnotations($annotations)
118 {
119 $this->annotations = $annotations;
120 }
121 /**
122 * @return string[]
123 */
124 public function getAnnotations()
125 {
126 return $this->annotations;
127 }
128 /**
129 * @param ChildStatusReference[]
130 */
131 public function setChildReferences($childReferences)
132 {
133 $this->childReferences = $childReferences;
134 }
135 /**
136 * @return ChildStatusReference[]
137 */
138 public function getChildReferences()
139 {
140 return $this->childReferences;
141 }
142 /**
143 * @param string
144 */
145 public function setCompletionTime($completionTime)
146 {
147 $this->completionTime = $completionTime;
148 }
149 /**
150 * @return string
151 */
152 public function getCompletionTime()
153 {
154 return $this->completionTime;
155 }
156 /**
157 * @param GoogleDevtoolsCloudbuildV2Condition[]
158 */
159 public function setConditions($conditions)
160 {
161 $this->conditions = $conditions;
162 }
163 /**
164 * @return GoogleDevtoolsCloudbuildV2Condition[]
165 */
166 public function getConditions()
167 {
168 return $this->conditions;
169 }
170 /**
171 * @param string
172 */
173 public function setCreateTime($createTime)
174 {
175 $this->createTime = $createTime;
176 }
177 /**
178 * @return string
179 */
180 public function getCreateTime()
181 {
182 return $this->createTime;
183 }
184 /**
185 * @param string
186 */
187 public function setEtag($etag)
188 {
189 $this->etag = $etag;
190 }
191 /**
192 * @return string
193 */
194 public function getEtag()
195 {
196 return $this->etag;
197 }
198 /**
199 * @param string
200 */
201 public function setFinallyStartTime($finallyStartTime)
202 {
203 $this->finallyStartTime = $finallyStartTime;
204 }
205 /**
206 * @return string
207 */
208 public function getFinallyStartTime()
209 {
210 return $this->finallyStartTime;
211 }
212 /**
213 * @param string[]
214 */
215 public function setGcbParams($gcbParams)
216 {
217 $this->gcbParams = $gcbParams;
218 }
219 /**
220 * @return string[]
221 */
222 public function getGcbParams()
223 {
224 return $this->gcbParams;
225 }
226 /**
227 * @param string
228 */
229 public function setName($name)
230 {
231 $this->name = $name;
232 }
233 /**
234 * @return string
235 */
236 public function getName()
237 {
238 return $this->name;
239 }
240 /**
241 * @param Param[]
242 */
243 public function setParams($params)
244 {
245 $this->params = $params;
246 }
247 /**
248 * @return Param[]
249 */
250 public function getParams()
251 {
252 return $this->params;
253 }
254 /**
255 * @param PipelineRef
256 */
257 public function setPipelineRef(PipelineRef $pipelineRef)
258 {
259 $this->pipelineRef = $pipelineRef;
260 }
261 /**
262 * @return PipelineRef
263 */
264 public function getPipelineRef()
265 {
266 return $this->pipelineRef;
267 }
268 /**
269 * @param string
270 */
271 public function setPipelineRunStatus($pipelineRunStatus)
272 {
273 $this->pipelineRunStatus = $pipelineRunStatus;
274 }
275 /**
276 * @return string
277 */
278 public function getPipelineRunStatus()
279 {
280 return $this->pipelineRunStatus;
281 }
282 /**
283 * @param PipelineSpec
284 */
285 public function setPipelineSpec(PipelineSpec $pipelineSpec)
286 {
287 $this->pipelineSpec = $pipelineSpec;
288 }
289 /**
290 * @return PipelineSpec
291 */
292 public function getPipelineSpec()
293 {
294 return $this->pipelineSpec;
295 }
296 /**
297 * @param string
298 */
299 public function setPipelineSpecYaml($pipelineSpecYaml)
300 {
301 $this->pipelineSpecYaml = $pipelineSpecYaml;
302 }
303 /**
304 * @return string
305 */
306 public function getPipelineSpecYaml()
307 {
308 return $this->pipelineSpecYaml;
309 }
310 /**
311 * @param Provenance
312 */
313 public function setProvenance(Provenance $provenance)
314 {
315 $this->provenance = $provenance;
316 }
317 /**
318 * @return Provenance
319 */
320 public function getProvenance()
321 {
322 return $this->provenance;
323 }
324 /**
325 * @param string
326 */
327 public function setRecord($record)
328 {
329 $this->record = $record;
330 }
331 /**
332 * @return string
333 */
334 public function getRecord()
335 {
336 return $this->record;
337 }
338 /**
339 * @param PipelineSpec
340 */
341 public function setResolvedPipelineSpec(PipelineSpec $resolvedPipelineSpec)
342 {
343 $this->resolvedPipelineSpec = $resolvedPipelineSpec;
344 }
345 /**
346 * @return PipelineSpec
347 */
348 public function getResolvedPipelineSpec()
349 {
350 return $this->resolvedPipelineSpec;
351 }
352 /**
353 * @param PipelineRunResult[]
354 */
355 public function setResults($results)
356 {
357 $this->results = $results;
358 }
359 /**
360 * @return PipelineRunResult[]
361 */
362 public function getResults()
363 {
364 return $this->results;
365 }
366 /**
367 * @param Security
368 */
369 public function setSecurity(Security $security)
370 {
371 $this->security = $security;
372 }
373 /**
374 * @return Security
375 */
376 public function getSecurity()
377 {
378 return $this->security;
379 }
380 /**
381 * @param string
382 */
383 public function setServiceAccount($serviceAccount)
384 {
385 $this->serviceAccount = $serviceAccount;
386 }
387 /**
388 * @return string
389 */
390 public function getServiceAccount()
391 {
392 return $this->serviceAccount;
393 }
394 /**
395 * @param SkippedTask[]
396 */
397 public function setSkippedTasks($skippedTasks)
398 {
399 $this->skippedTasks = $skippedTasks;
400 }
401 /**
402 * @return SkippedTask[]
403 */
404 public function getSkippedTasks()
405 {
406 return $this->skippedTasks;
407 }
408 /**
409 * @param string
410 */
411 public function setStartTime($startTime)
412 {
413 $this->startTime = $startTime;
414 }
415 /**
416 * @return string
417 */
418 public function getStartTime()
419 {
420 return $this->startTime;
421 }
422 /**
423 * @param TimeoutFields
424 */
425 public function setTimeouts(TimeoutFields $timeouts)
426 {
427 $this->timeouts = $timeouts;
428 }
429 /**
430 * @return TimeoutFields
431 */
432 public function getTimeouts()
433 {
434 return $this->timeouts;
435 }
436 /**
437 * @param string
438 */
439 public function setUid($uid)
440 {
441 $this->uid = $uid;
442 }
443 /**
444 * @return string
445 */
446 public function getUid()
447 {
448 return $this->uid;
449 }
450 /**
451 * @param string
452 */
453 public function setUpdateTime($updateTime)
454 {
455 $this->updateTime = $updateTime;
456 }
457 /**
458 * @return string
459 */
460 public function getUpdateTime()
461 {
462 return $this->updateTime;
463 }
464 /**
465 * @param Worker
466 */
467 public function setWorker(Worker $worker)
468 {
469 $this->worker = $worker;
470 }
471 /**
472 * @return Worker
473 */
474 public function getWorker()
475 {
476 return $this->worker;
477 }
478 /**
479 * @param string
480 */
481 public function setWorkerPool($workerPool)
482 {
483 $this->workerPool = $workerPool;
484 }
485 /**
486 * @return string
487 */
488 public function getWorkerPool()
489 {
490 return $this->workerPool;
491 }
492 /**
493 * @param string
494 */
495 public function setWorkflow($workflow)
496 {
497 $this->workflow = $workflow;
498 }
499 /**
500 * @return string
501 */
502 public function getWorkflow()
503 {
504 return $this->workflow;
505 }
506 /**
507 * @param WorkspaceBinding[]
508 */
509 public function setWorkspaces($workspaces)
510 {
511 $this->workspaces = $workspaces;
512 }
513 /**
514 * @return WorkspaceBinding[]
515 */
516 public function getWorkspaces()
517 {
518 return $this->workspaces;
519 }
520}
521
522// Adding a class alias for backwards compatibility with the previous class name.
523class_alias(PipelineRun::class, 'Google_Service_CloudBuild_PipelineRun');
Note: See TracBrowser for help on using the repository browser.