source: vendor/google/apiclient-services/src/CloudRun/GoogleDevtoolsCloudbuildV1Build.php@ f9c482b

Last change on this file since f9c482b was f9c482b, checked in by Vlado 222039 <vlado.popovski@…>, 9 days ago

Upload new project files

  • Property mode set to 100644
File size: 10.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\CloudRun;
19
20class GoogleDevtoolsCloudbuildV1Build extends \Google\Collection
21{
22 protected $collection_key = 'warnings';
23 protected $approvalType = GoogleDevtoolsCloudbuildV1BuildApproval::class;
24 protected $approvalDataType = '';
25 protected $artifactsType = GoogleDevtoolsCloudbuildV1Artifacts::class;
26 protected $artifactsDataType = '';
27 protected $availableSecretsType = GoogleDevtoolsCloudbuildV1Secrets::class;
28 protected $availableSecretsDataType = '';
29 /**
30 * @var string
31 */
32 public $buildTriggerId;
33 /**
34 * @var string
35 */
36 public $createTime;
37 protected $failureInfoType = GoogleDevtoolsCloudbuildV1FailureInfo::class;
38 protected $failureInfoDataType = '';
39 /**
40 * @var string
41 */
42 public $finishTime;
43 protected $gitConfigType = GoogleDevtoolsCloudbuildV1GitConfig::class;
44 protected $gitConfigDataType = '';
45 /**
46 * @var string
47 */
48 public $id;
49 /**
50 * @var string[]
51 */
52 public $images;
53 /**
54 * @var string
55 */
56 public $logUrl;
57 /**
58 * @var string
59 */
60 public $logsBucket;
61 /**
62 * @var string
63 */
64 public $name;
65 protected $optionsType = GoogleDevtoolsCloudbuildV1BuildOptions::class;
66 protected $optionsDataType = '';
67 /**
68 * @var string
69 */
70 public $projectId;
71 /**
72 * @var string
73 */
74 public $queueTtl;
75 protected $resultsType = GoogleDevtoolsCloudbuildV1Results::class;
76 protected $resultsDataType = '';
77 protected $secretsType = GoogleDevtoolsCloudbuildV1Secret::class;
78 protected $secretsDataType = 'array';
79 /**
80 * @var string
81 */
82 public $serviceAccount;
83 protected $sourceType = GoogleDevtoolsCloudbuildV1Source::class;
84 protected $sourceDataType = '';
85 protected $sourceProvenanceType = GoogleDevtoolsCloudbuildV1SourceProvenance::class;
86 protected $sourceProvenanceDataType = '';
87 /**
88 * @var string
89 */
90 public $startTime;
91 /**
92 * @var string
93 */
94 public $status;
95 /**
96 * @var string
97 */
98 public $statusDetail;
99 protected $stepsType = GoogleDevtoolsCloudbuildV1BuildStep::class;
100 protected $stepsDataType = 'array';
101 /**
102 * @var string[]
103 */
104 public $substitutions;
105 /**
106 * @var string[]
107 */
108 public $tags;
109 /**
110 * @var string
111 */
112 public $timeout;
113 protected $timingType = GoogleDevtoolsCloudbuildV1TimeSpan::class;
114 protected $timingDataType = 'map';
115 protected $warningsType = GoogleDevtoolsCloudbuildV1Warning::class;
116 protected $warningsDataType = 'array';
117
118 /**
119 * @param GoogleDevtoolsCloudbuildV1BuildApproval
120 */
121 public function setApproval(GoogleDevtoolsCloudbuildV1BuildApproval $approval)
122 {
123 $this->approval = $approval;
124 }
125 /**
126 * @return GoogleDevtoolsCloudbuildV1BuildApproval
127 */
128 public function getApproval()
129 {
130 return $this->approval;
131 }
132 /**
133 * @param GoogleDevtoolsCloudbuildV1Artifacts
134 */
135 public function setArtifacts(GoogleDevtoolsCloudbuildV1Artifacts $artifacts)
136 {
137 $this->artifacts = $artifacts;
138 }
139 /**
140 * @return GoogleDevtoolsCloudbuildV1Artifacts
141 */
142 public function getArtifacts()
143 {
144 return $this->artifacts;
145 }
146 /**
147 * @param GoogleDevtoolsCloudbuildV1Secrets
148 */
149 public function setAvailableSecrets(GoogleDevtoolsCloudbuildV1Secrets $availableSecrets)
150 {
151 $this->availableSecrets = $availableSecrets;
152 }
153 /**
154 * @return GoogleDevtoolsCloudbuildV1Secrets
155 */
156 public function getAvailableSecrets()
157 {
158 return $this->availableSecrets;
159 }
160 /**
161 * @param string
162 */
163 public function setBuildTriggerId($buildTriggerId)
164 {
165 $this->buildTriggerId = $buildTriggerId;
166 }
167 /**
168 * @return string
169 */
170 public function getBuildTriggerId()
171 {
172 return $this->buildTriggerId;
173 }
174 /**
175 * @param string
176 */
177 public function setCreateTime($createTime)
178 {
179 $this->createTime = $createTime;
180 }
181 /**
182 * @return string
183 */
184 public function getCreateTime()
185 {
186 return $this->createTime;
187 }
188 /**
189 * @param GoogleDevtoolsCloudbuildV1FailureInfo
190 */
191 public function setFailureInfo(GoogleDevtoolsCloudbuildV1FailureInfo $failureInfo)
192 {
193 $this->failureInfo = $failureInfo;
194 }
195 /**
196 * @return GoogleDevtoolsCloudbuildV1FailureInfo
197 */
198 public function getFailureInfo()
199 {
200 return $this->failureInfo;
201 }
202 /**
203 * @param string
204 */
205 public function setFinishTime($finishTime)
206 {
207 $this->finishTime = $finishTime;
208 }
209 /**
210 * @return string
211 */
212 public function getFinishTime()
213 {
214 return $this->finishTime;
215 }
216 /**
217 * @param GoogleDevtoolsCloudbuildV1GitConfig
218 */
219 public function setGitConfig(GoogleDevtoolsCloudbuildV1GitConfig $gitConfig)
220 {
221 $this->gitConfig = $gitConfig;
222 }
223 /**
224 * @return GoogleDevtoolsCloudbuildV1GitConfig
225 */
226 public function getGitConfig()
227 {
228 return $this->gitConfig;
229 }
230 /**
231 * @param string
232 */
233 public function setId($id)
234 {
235 $this->id = $id;
236 }
237 /**
238 * @return string
239 */
240 public function getId()
241 {
242 return $this->id;
243 }
244 /**
245 * @param string[]
246 */
247 public function setImages($images)
248 {
249 $this->images = $images;
250 }
251 /**
252 * @return string[]
253 */
254 public function getImages()
255 {
256 return $this->images;
257 }
258 /**
259 * @param string
260 */
261 public function setLogUrl($logUrl)
262 {
263 $this->logUrl = $logUrl;
264 }
265 /**
266 * @return string
267 */
268 public function getLogUrl()
269 {
270 return $this->logUrl;
271 }
272 /**
273 * @param string
274 */
275 public function setLogsBucket($logsBucket)
276 {
277 $this->logsBucket = $logsBucket;
278 }
279 /**
280 * @return string
281 */
282 public function getLogsBucket()
283 {
284 return $this->logsBucket;
285 }
286 /**
287 * @param string
288 */
289 public function setName($name)
290 {
291 $this->name = $name;
292 }
293 /**
294 * @return string
295 */
296 public function getName()
297 {
298 return $this->name;
299 }
300 /**
301 * @param GoogleDevtoolsCloudbuildV1BuildOptions
302 */
303 public function setOptions(GoogleDevtoolsCloudbuildV1BuildOptions $options)
304 {
305 $this->options = $options;
306 }
307 /**
308 * @return GoogleDevtoolsCloudbuildV1BuildOptions
309 */
310 public function getOptions()
311 {
312 return $this->options;
313 }
314 /**
315 * @param string
316 */
317 public function setProjectId($projectId)
318 {
319 $this->projectId = $projectId;
320 }
321 /**
322 * @return string
323 */
324 public function getProjectId()
325 {
326 return $this->projectId;
327 }
328 /**
329 * @param string
330 */
331 public function setQueueTtl($queueTtl)
332 {
333 $this->queueTtl = $queueTtl;
334 }
335 /**
336 * @return string
337 */
338 public function getQueueTtl()
339 {
340 return $this->queueTtl;
341 }
342 /**
343 * @param GoogleDevtoolsCloudbuildV1Results
344 */
345 public function setResults(GoogleDevtoolsCloudbuildV1Results $results)
346 {
347 $this->results = $results;
348 }
349 /**
350 * @return GoogleDevtoolsCloudbuildV1Results
351 */
352 public function getResults()
353 {
354 return $this->results;
355 }
356 /**
357 * @param GoogleDevtoolsCloudbuildV1Secret[]
358 */
359 public function setSecrets($secrets)
360 {
361 $this->secrets = $secrets;
362 }
363 /**
364 * @return GoogleDevtoolsCloudbuildV1Secret[]
365 */
366 public function getSecrets()
367 {
368 return $this->secrets;
369 }
370 /**
371 * @param string
372 */
373 public function setServiceAccount($serviceAccount)
374 {
375 $this->serviceAccount = $serviceAccount;
376 }
377 /**
378 * @return string
379 */
380 public function getServiceAccount()
381 {
382 return $this->serviceAccount;
383 }
384 /**
385 * @param GoogleDevtoolsCloudbuildV1Source
386 */
387 public function setSource(GoogleDevtoolsCloudbuildV1Source $source)
388 {
389 $this->source = $source;
390 }
391 /**
392 * @return GoogleDevtoolsCloudbuildV1Source
393 */
394 public function getSource()
395 {
396 return $this->source;
397 }
398 /**
399 * @param GoogleDevtoolsCloudbuildV1SourceProvenance
400 */
401 public function setSourceProvenance(GoogleDevtoolsCloudbuildV1SourceProvenance $sourceProvenance)
402 {
403 $this->sourceProvenance = $sourceProvenance;
404 }
405 /**
406 * @return GoogleDevtoolsCloudbuildV1SourceProvenance
407 */
408 public function getSourceProvenance()
409 {
410 return $this->sourceProvenance;
411 }
412 /**
413 * @param string
414 */
415 public function setStartTime($startTime)
416 {
417 $this->startTime = $startTime;
418 }
419 /**
420 * @return string
421 */
422 public function getStartTime()
423 {
424 return $this->startTime;
425 }
426 /**
427 * @param string
428 */
429 public function setStatus($status)
430 {
431 $this->status = $status;
432 }
433 /**
434 * @return string
435 */
436 public function getStatus()
437 {
438 return $this->status;
439 }
440 /**
441 * @param string
442 */
443 public function setStatusDetail($statusDetail)
444 {
445 $this->statusDetail = $statusDetail;
446 }
447 /**
448 * @return string
449 */
450 public function getStatusDetail()
451 {
452 return $this->statusDetail;
453 }
454 /**
455 * @param GoogleDevtoolsCloudbuildV1BuildStep[]
456 */
457 public function setSteps($steps)
458 {
459 $this->steps = $steps;
460 }
461 /**
462 * @return GoogleDevtoolsCloudbuildV1BuildStep[]
463 */
464 public function getSteps()
465 {
466 return $this->steps;
467 }
468 /**
469 * @param string[]
470 */
471 public function setSubstitutions($substitutions)
472 {
473 $this->substitutions = $substitutions;
474 }
475 /**
476 * @return string[]
477 */
478 public function getSubstitutions()
479 {
480 return $this->substitutions;
481 }
482 /**
483 * @param string[]
484 */
485 public function setTags($tags)
486 {
487 $this->tags = $tags;
488 }
489 /**
490 * @return string[]
491 */
492 public function getTags()
493 {
494 return $this->tags;
495 }
496 /**
497 * @param string
498 */
499 public function setTimeout($timeout)
500 {
501 $this->timeout = $timeout;
502 }
503 /**
504 * @return string
505 */
506 public function getTimeout()
507 {
508 return $this->timeout;
509 }
510 /**
511 * @param GoogleDevtoolsCloudbuildV1TimeSpan[]
512 */
513 public function setTiming($timing)
514 {
515 $this->timing = $timing;
516 }
517 /**
518 * @return GoogleDevtoolsCloudbuildV1TimeSpan[]
519 */
520 public function getTiming()
521 {
522 return $this->timing;
523 }
524 /**
525 * @param GoogleDevtoolsCloudbuildV1Warning[]
526 */
527 public function setWarnings($warnings)
528 {
529 $this->warnings = $warnings;
530 }
531 /**
532 * @return GoogleDevtoolsCloudbuildV1Warning[]
533 */
534 public function getWarnings()
535 {
536 return $this->warnings;
537 }
538}
539
540// Adding a class alias for backwards compatibility with the previous class name.
541class_alias(GoogleDevtoolsCloudbuildV1Build::class, 'Google_Service_CloudRun_GoogleDevtoolsCloudbuildV1Build');
Note: See TracBrowser for help on using the repository browser.