Без опису

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276
  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. class Google_Service_CloudBuild_Build extends Google_Collection
  18. {
  19. protected $collection_key = 'tags';
  20. protected $artifactsType = 'Google_Service_CloudBuild_Artifacts';
  21. protected $artifactsDataType = '';
  22. public $buildTriggerId;
  23. public $createTime;
  24. public $finishTime;
  25. public $id;
  26. public $images;
  27. public $logUrl;
  28. public $logsBucket;
  29. protected $optionsType = 'Google_Service_CloudBuild_BuildOptions';
  30. protected $optionsDataType = '';
  31. public $projectId;
  32. protected $resultsType = 'Google_Service_CloudBuild_Results';
  33. protected $resultsDataType = '';
  34. protected $secretsType = 'Google_Service_CloudBuild_Secret';
  35. protected $secretsDataType = 'array';
  36. protected $sourceType = 'Google_Service_CloudBuild_Source';
  37. protected $sourceDataType = '';
  38. protected $sourceProvenanceType = 'Google_Service_CloudBuild_SourceProvenance';
  39. protected $sourceProvenanceDataType = '';
  40. public $startTime;
  41. public $status;
  42. public $statusDetail;
  43. protected $stepsType = 'Google_Service_CloudBuild_BuildStep';
  44. protected $stepsDataType = 'array';
  45. public $substitutions;
  46. public $tags;
  47. public $timeout;
  48. protected $timingType = 'Google_Service_CloudBuild_TimeSpan';
  49. protected $timingDataType = 'map';
  50. /**
  51. * @param Google_Service_CloudBuild_Artifacts
  52. */
  53. public function setArtifacts(Google_Service_CloudBuild_Artifacts $artifacts)
  54. {
  55. $this->artifacts = $artifacts;
  56. }
  57. /**
  58. * @return Google_Service_CloudBuild_Artifacts
  59. */
  60. public function getArtifacts()
  61. {
  62. return $this->artifacts;
  63. }
  64. public function setBuildTriggerId($buildTriggerId)
  65. {
  66. $this->buildTriggerId = $buildTriggerId;
  67. }
  68. public function getBuildTriggerId()
  69. {
  70. return $this->buildTriggerId;
  71. }
  72. public function setCreateTime($createTime)
  73. {
  74. $this->createTime = $createTime;
  75. }
  76. public function getCreateTime()
  77. {
  78. return $this->createTime;
  79. }
  80. public function setFinishTime($finishTime)
  81. {
  82. $this->finishTime = $finishTime;
  83. }
  84. public function getFinishTime()
  85. {
  86. return $this->finishTime;
  87. }
  88. public function setId($id)
  89. {
  90. $this->id = $id;
  91. }
  92. public function getId()
  93. {
  94. return $this->id;
  95. }
  96. public function setImages($images)
  97. {
  98. $this->images = $images;
  99. }
  100. public function getImages()
  101. {
  102. return $this->images;
  103. }
  104. public function setLogUrl($logUrl)
  105. {
  106. $this->logUrl = $logUrl;
  107. }
  108. public function getLogUrl()
  109. {
  110. return $this->logUrl;
  111. }
  112. public function setLogsBucket($logsBucket)
  113. {
  114. $this->logsBucket = $logsBucket;
  115. }
  116. public function getLogsBucket()
  117. {
  118. return $this->logsBucket;
  119. }
  120. /**
  121. * @param Google_Service_CloudBuild_BuildOptions
  122. */
  123. public function setOptions(Google_Service_CloudBuild_BuildOptions $options)
  124. {
  125. $this->options = $options;
  126. }
  127. /**
  128. * @return Google_Service_CloudBuild_BuildOptions
  129. */
  130. public function getOptions()
  131. {
  132. return $this->options;
  133. }
  134. public function setProjectId($projectId)
  135. {
  136. $this->projectId = $projectId;
  137. }
  138. public function getProjectId()
  139. {
  140. return $this->projectId;
  141. }
  142. /**
  143. * @param Google_Service_CloudBuild_Results
  144. */
  145. public function setResults(Google_Service_CloudBuild_Results $results)
  146. {
  147. $this->results = $results;
  148. }
  149. /**
  150. * @return Google_Service_CloudBuild_Results
  151. */
  152. public function getResults()
  153. {
  154. return $this->results;
  155. }
  156. /**
  157. * @param Google_Service_CloudBuild_Secret
  158. */
  159. public function setSecrets($secrets)
  160. {
  161. $this->secrets = $secrets;
  162. }
  163. /**
  164. * @return Google_Service_CloudBuild_Secret
  165. */
  166. public function getSecrets()
  167. {
  168. return $this->secrets;
  169. }
  170. /**
  171. * @param Google_Service_CloudBuild_Source
  172. */
  173. public function setSource(Google_Service_CloudBuild_Source $source)
  174. {
  175. $this->source = $source;
  176. }
  177. /**
  178. * @return Google_Service_CloudBuild_Source
  179. */
  180. public function getSource()
  181. {
  182. return $this->source;
  183. }
  184. /**
  185. * @param Google_Service_CloudBuild_SourceProvenance
  186. */
  187. public function setSourceProvenance(Google_Service_CloudBuild_SourceProvenance $sourceProvenance)
  188. {
  189. $this->sourceProvenance = $sourceProvenance;
  190. }
  191. /**
  192. * @return Google_Service_CloudBuild_SourceProvenance
  193. */
  194. public function getSourceProvenance()
  195. {
  196. return $this->sourceProvenance;
  197. }
  198. public function setStartTime($startTime)
  199. {
  200. $this->startTime = $startTime;
  201. }
  202. public function getStartTime()
  203. {
  204. return $this->startTime;
  205. }
  206. public function setStatus($status)
  207. {
  208. $this->status = $status;
  209. }
  210. public function getStatus()
  211. {
  212. return $this->status;
  213. }
  214. public function setStatusDetail($statusDetail)
  215. {
  216. $this->statusDetail = $statusDetail;
  217. }
  218. public function getStatusDetail()
  219. {
  220. return $this->statusDetail;
  221. }
  222. /**
  223. * @param Google_Service_CloudBuild_BuildStep
  224. */
  225. public function setSteps($steps)
  226. {
  227. $this->steps = $steps;
  228. }
  229. /**
  230. * @return Google_Service_CloudBuild_BuildStep
  231. */
  232. public function getSteps()
  233. {
  234. return $this->steps;
  235. }
  236. public function setSubstitutions($substitutions)
  237. {
  238. $this->substitutions = $substitutions;
  239. }
  240. public function getSubstitutions()
  241. {
  242. return $this->substitutions;
  243. }
  244. public function setTags($tags)
  245. {
  246. $this->tags = $tags;
  247. }
  248. public function getTags()
  249. {
  250. return $this->tags;
  251. }
  252. public function setTimeout($timeout)
  253. {
  254. $this->timeout = $timeout;
  255. }
  256. public function getTimeout()
  257. {
  258. return $this->timeout;
  259. }
  260. /**
  261. * @param Google_Service_CloudBuild_TimeSpan
  262. */
  263. public function setTiming($timing)
  264. {
  265. $this->timing = $timing;
  266. }
  267. /**
  268. * @return Google_Service_CloudBuild_TimeSpan
  269. */
  270. public function getTiming()
  271. {
  272. return $this->timing;
  273. }
  274. }