google-api-client 0.12.0 → 0.13.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (315) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +7 -0
  3. data/api_names.yaml +945 -41609
  4. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +12 -12
  5. data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +2 -2
  6. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  7. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1437 -412
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +516 -71
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +1098 -422
  10. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +6 -6
  11. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +3 -3
  12. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +3 -3
  13. data/generated/google/apis/adexchangeseller_v2_0/service.rb +10 -10
  14. data/generated/google/apis/admin_directory_v1/service.rb +26 -26
  15. data/generated/google/apis/adsense_v1_4.rb +1 -1
  16. data/generated/google/apis/adsense_v1_4/classes.rb +2 -2
  17. data/generated/google/apis/adsense_v1_4/representations.rb +3 -3
  18. data/generated/google/apis/adsense_v1_4/service.rb +44 -44
  19. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  20. data/generated/google/apis/adsensehost_v4_1/service.rb +22 -22
  21. data/generated/google/apis/analytics_v3/classes.rb +3 -3
  22. data/generated/google/apis/analytics_v3/representations.rb +3 -3
  23. data/generated/google/apis/analytics_v3/service.rb +82 -82
  24. data/generated/google/apis/analyticsreporting_v4/classes.rb +937 -937
  25. data/generated/google/apis/analyticsreporting_v4/representations.rb +128 -128
  26. data/generated/google/apis/analyticsreporting_v4/service.rb +1 -1
  27. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  28. data/generated/google/apis/androidenterprise_v1/classes.rb +10 -10
  29. data/generated/google/apis/androidenterprise_v1/representations.rb +20 -20
  30. data/generated/google/apis/androidenterprise_v1/service.rb +43 -43
  31. data/generated/google/apis/androidpublisher_v2/classes.rb +26 -26
  32. data/generated/google/apis/androidpublisher_v2/representations.rb +46 -46
  33. data/generated/google/apis/androidpublisher_v2/service.rb +95 -95
  34. data/generated/google/apis/appengine_v1.rb +4 -4
  35. data/generated/google/apis/appengine_v1/classes.rb +1570 -1512
  36. data/generated/google/apis/appengine_v1/representations.rb +362 -343
  37. data/generated/google/apis/appengine_v1/service.rb +220 -220
  38. data/generated/google/apis/appstate_v1.rb +1 -1
  39. data/generated/google/apis/bigquery_v2.rb +1 -1
  40. data/generated/google/apis/bigquery_v2/classes.rb +5 -5
  41. data/generated/google/apis/bigquery_v2/representations.rb +8 -8
  42. data/generated/google/apis/bigquery_v2/service.rb +13 -13
  43. data/generated/google/apis/blogger_v3/service.rb +3 -3
  44. data/generated/google/apis/books_v1/classes.rb +55 -55
  45. data/generated/google/apis/books_v1/representations.rb +67 -67
  46. data/generated/google/apis/books_v1/service.rb +82 -82
  47. data/generated/google/apis/calendar_v3.rb +1 -1
  48. data/generated/google/apis/calendar_v3/classes.rb +6 -6
  49. data/generated/google/apis/calendar_v3/representations.rb +3 -3
  50. data/generated/google/apis/calendar_v3/service.rb +2 -2
  51. data/generated/google/apis/civicinfo_v2/classes.rb +2 -2
  52. data/generated/google/apis/civicinfo_v2/representations.rb +4 -4
  53. data/generated/google/apis/civicinfo_v2/service.rb +12 -12
  54. data/generated/google/apis/classroom_v1.rb +7 -7
  55. data/generated/google/apis/classroom_v1/classes.rb +1013 -991
  56. data/generated/google/apis/classroom_v1/representations.rb +207 -204
  57. data/generated/google/apis/classroom_v1/service.rb +709 -709
  58. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  59. data/generated/google/apis/cloudbuild_v1/classes.rb +307 -307
  60. data/generated/google/apis/cloudbuild_v1/representations.rb +84 -84
  61. data/generated/google/apis/cloudbuild_v1/service.rb +125 -125
  62. data/generated/google/apis/clouddebugger_v2/classes.rb +673 -673
  63. data/generated/google/apis/clouddebugger_v2/representations.rb +152 -152
  64. data/generated/google/apis/clouddebugger_v2/service.rb +55 -55
  65. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  66. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +121 -121
  67. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +25 -25
  68. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +74 -74
  69. data/generated/google/apis/cloudkms_v1.rb +1 -1
  70. data/generated/google/apis/cloudkms_v1/classes.rb +668 -613
  71. data/generated/google/apis/cloudkms_v1/representations.rb +151 -133
  72. data/generated/google/apis/cloudkms_v1/service.rb +267 -267
  73. data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
  74. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1167 -1168
  75. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +193 -193
  76. data/generated/google/apis/cloudresourcemanager_v1/service.rb +470 -469
  77. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  78. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +508 -509
  79. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +94 -94
  80. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +157 -156
  81. data/generated/google/apis/cloudtrace_v1/service.rb +34 -34
  82. data/generated/google/apis/compute_beta.rb +1 -1
  83. data/generated/google/apis/compute_beta/classes.rb +163 -15
  84. data/generated/google/apis/compute_beta/representations.rb +54 -14
  85. data/generated/google/apis/compute_beta/service.rb +2258 -482
  86. data/generated/google/apis/compute_v1.rb +1 -1
  87. data/generated/google/apis/compute_v1/classes.rb +465 -13
  88. data/generated/google/apis/compute_v1/representations.rb +202 -16
  89. data/generated/google/apis/compute_v1/service.rb +573 -309
  90. data/generated/google/apis/container_v1.rb +1 -1
  91. data/generated/google/apis/container_v1/classes.rb +635 -589
  92. data/generated/google/apis/container_v1/representations.rb +139 -111
  93. data/generated/google/apis/container_v1/service.rb +272 -227
  94. data/generated/google/apis/content_v2.rb +1 -1
  95. data/generated/google/apis/content_v2/classes.rb +86 -74
  96. data/generated/google/apis/content_v2/representations.rb +107 -105
  97. data/generated/google/apis/content_v2/service.rb +131 -130
  98. data/generated/google/apis/customsearch_v1.rb +2 -2
  99. data/generated/google/apis/customsearch_v1/classes.rb +0 -6
  100. data/generated/google/apis/customsearch_v1/representations.rb +0 -1
  101. data/generated/google/apis/customsearch_v1/service.rb +2 -5
  102. data/generated/google/apis/dataflow_v1b3.rb +7 -4
  103. data/generated/google/apis/dataflow_v1b3/classes.rb +3405 -3405
  104. data/generated/google/apis/dataflow_v1b3/representations.rb +834 -834
  105. data/generated/google/apis/dataflow_v1b3/service.rb +244 -244
  106. data/generated/google/apis/dataproc_v1.rb +1 -1
  107. data/generated/google/apis/dataproc_v1/classes.rb +543 -691
  108. data/generated/google/apis/dataproc_v1/representations.rb +129 -185
  109. data/generated/google/apis/dataproc_v1/service.rb +347 -347
  110. data/generated/google/apis/datastore_v1.rb +4 -4
  111. data/generated/google/apis/datastore_v1/classes.rb +833 -833
  112. data/generated/google/apis/datastore_v1/representations.rb +182 -182
  113. data/generated/google/apis/datastore_v1/service.rb +45 -45
  114. data/generated/google/apis/deploymentmanager_v2/classes.rb +5 -5
  115. data/generated/google/apis/deploymentmanager_v2/representations.rb +10 -10
  116. data/generated/google/apis/deploymentmanager_v2/service.rb +20 -20
  117. data/generated/google/apis/discovery_v1/classes.rb +4 -4
  118. data/generated/google/apis/discovery_v1/representations.rb +2 -2
  119. data/generated/google/apis/discovery_v1/service.rb +1 -1
  120. data/generated/google/apis/dns_v1.rb +1 -1
  121. data/generated/google/apis/dns_v1/classes.rb +3 -3
  122. data/generated/google/apis/dns_v1/representations.rb +6 -6
  123. data/generated/google/apis/dns_v1/service.rb +12 -12
  124. data/generated/google/apis/dns_v2beta1.rb +1 -1
  125. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +8 -8
  126. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  127. data/generated/google/apis/drive_v2.rb +1 -1
  128. data/generated/google/apis/drive_v2/classes.rb +1 -1
  129. data/generated/google/apis/drive_v2/service.rb +1 -1
  130. data/generated/google/apis/drive_v3.rb +1 -1
  131. data/generated/google/apis/drive_v3/service.rb +1 -1
  132. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  133. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +160 -110
  134. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +60 -31
  135. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +38 -3
  136. data/generated/google/apis/firebaserules_v1/classes.rb +354 -354
  137. data/generated/google/apis/firebaserules_v1/representations.rb +87 -87
  138. data/generated/google/apis/firebaserules_v1/service.rb +103 -103
  139. data/generated/google/apis/fusiontables_v2/service.rb +2 -2
  140. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  141. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -2
  142. data/generated/google/apis/games_configuration_v1configuration/representations.rb +4 -4
  143. data/generated/google/apis/games_configuration_v1configuration/service.rb +8 -8
  144. data/generated/google/apis/games_management_v1management.rb +1 -1
  145. data/generated/google/apis/games_v1.rb +1 -1
  146. data/generated/google/apis/games_v1/classes.rb +23 -23
  147. data/generated/google/apis/games_v1/representations.rb +43 -43
  148. data/generated/google/apis/games_v1/service.rb +72 -72
  149. data/generated/google/apis/genomics_v1.rb +1 -1
  150. data/generated/google/apis/genomics_v1/classes.rb +2316 -2316
  151. data/generated/google/apis/genomics_v1/representations.rb +291 -291
  152. data/generated/google/apis/genomics_v1/service.rb +821 -821
  153. data/generated/google/apis/gmail_v1.rb +1 -1
  154. data/generated/google/apis/groupsmigration_v1.rb +1 -1
  155. data/generated/google/apis/groupssettings_v1.rb +1 -1
  156. data/generated/google/apis/groupssettings_v1/classes.rb +2 -2
  157. data/generated/google/apis/groupssettings_v1/service.rb +3 -0
  158. data/generated/google/apis/iam_v1/classes.rb +338 -338
  159. data/generated/google/apis/iam_v1/representations.rb +98 -98
  160. data/generated/google/apis/iam_v1/service.rb +35 -35
  161. data/generated/google/apis/identitytoolkit_v3/classes.rb +15 -15
  162. data/generated/google/apis/identitytoolkit_v3/representations.rb +30 -30
  163. data/generated/google/apis/identitytoolkit_v3/service.rb +64 -64
  164. data/generated/google/apis/kgsearch_v1/service.rb +13 -13
  165. data/generated/google/apis/language_v1.rb +1 -1
  166. data/generated/google/apis/language_v1/classes.rb +374 -374
  167. data/generated/google/apis/language_v1/representations.rb +97 -97
  168. data/generated/google/apis/language_v1/service.rb +16 -16
  169. data/generated/google/apis/language_v1beta1.rb +1 -1
  170. data/generated/google/apis/language_v1beta1/classes.rb +441 -441
  171. data/generated/google/apis/language_v1beta1/representations.rb +108 -108
  172. data/generated/google/apis/language_v1beta1/service.rb +30 -30
  173. data/generated/google/apis/licensing_v1/service.rb +2 -2
  174. data/generated/google/apis/logging_v2.rb +1 -1
  175. data/generated/google/apis/logging_v2/classes.rb +712 -712
  176. data/generated/google/apis/logging_v2/representations.rb +109 -109
  177. data/generated/google/apis/logging_v2/service.rb +543 -539
  178. data/generated/google/apis/logging_v2beta1.rb +1 -1
  179. data/generated/google/apis/logging_v2beta1/classes.rb +752 -752
  180. data/generated/google/apis/logging_v2beta1/representations.rb +94 -94
  181. data/generated/google/apis/logging_v2beta1/service.rb +257 -256
  182. data/generated/google/apis/manufacturers_v1/classes.rb +130 -130
  183. data/generated/google/apis/manufacturers_v1/representations.rb +28 -28
  184. data/generated/google/apis/mirror_v1/classes.rb +5 -5
  185. data/generated/google/apis/mirror_v1/representations.rb +10 -10
  186. data/generated/google/apis/mirror_v1/service.rb +20 -20
  187. data/generated/google/apis/ml_v1.rb +1 -1
  188. data/generated/google/apis/ml_v1/classes.rb +1830 -1210
  189. data/generated/google/apis/ml_v1/representations.rb +342 -120
  190. data/generated/google/apis/ml_v1/service.rb +365 -258
  191. data/generated/google/apis/monitoring_v3.rb +4 -4
  192. data/generated/google/apis/monitoring_v3/classes.rb +889 -889
  193. data/generated/google/apis/monitoring_v3/representations.rb +174 -174
  194. data/generated/google/apis/monitoring_v3/service.rb +119 -119
  195. data/generated/google/apis/mybusiness_v3/service.rb +5 -5
  196. data/generated/google/apis/oauth2_v2/service.rb +1 -1
  197. data/generated/google/apis/pagespeedonline_v2/classes.rb +11 -11
  198. data/generated/google/apis/pagespeedonline_v2/representations.rb +13 -13
  199. data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
  200. data/generated/google/apis/partners_v2.rb +1 -1
  201. data/generated/google/apis/partners_v2/classes.rb +550 -536
  202. data/generated/google/apis/partners_v2/representations.rb +118 -116
  203. data/generated/google/apis/partners_v2/service.rb +439 -439
  204. data/generated/google/apis/people_v1.rb +4 -4
  205. data/generated/google/apis/people_v1/classes.rb +414 -413
  206. data/generated/google/apis/people_v1/representations.rb +85 -85
  207. data/generated/google/apis/people_v1/service.rb +111 -18
  208. data/generated/google/apis/plus_domains_v1.rb +1 -1
  209. data/generated/google/apis/plus_domains_v1/service.rb +4 -4
  210. data/generated/google/apis/plus_v1.rb +1 -1
  211. data/generated/google/apis/plus_v1/service.rb +1 -1
  212. data/generated/google/apis/prediction_v1_6/service.rb +8 -8
  213. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  214. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +443 -443
  215. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +92 -92
  216. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +152 -152
  217. data/generated/google/apis/pubsub_v1/classes.rb +249 -249
  218. data/generated/google/apis/pubsub_v1/representations.rb +80 -80
  219. data/generated/google/apis/pubsub_v1/service.rb +415 -415
  220. data/generated/google/apis/qpx_express_v1/classes.rb +2 -2
  221. data/generated/google/apis/qpx_express_v1/representations.rb +4 -4
  222. data/generated/google/apis/qpx_express_v1/service.rb +8 -8
  223. data/generated/google/apis/replicapool_v1beta2/classes.rb +5 -5
  224. data/generated/google/apis/replicapool_v1beta2/representations.rb +10 -10
  225. data/generated/google/apis/replicapool_v1beta2/service.rb +21 -21
  226. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -1
  227. data/generated/google/apis/resourceviews_v1beta2/classes.rb +5 -5
  228. data/generated/google/apis/resourceviews_v1beta2/representations.rb +10 -10
  229. data/generated/google/apis/resourceviews_v1beta2/service.rb +20 -20
  230. data/generated/google/apis/runtimeconfig_v1.rb +4 -4
  231. data/generated/google/apis/runtimeconfig_v1/classes.rb +15 -15
  232. data/generated/google/apis/runtimeconfig_v1/representations.rb +2 -2
  233. data/generated/google/apis/runtimeconfig_v1/service.rb +4 -4
  234. data/generated/google/apis/script_v1.rb +17 -17
  235. data/generated/google/apis/script_v1/classes.rb +27 -27
  236. data/generated/google/apis/script_v1/representations.rb +5 -5
  237. data/generated/google/apis/script_v1/service.rb +4 -4
  238. data/generated/google/apis/searchconsole_v1.rb +1 -1
  239. data/generated/google/apis/searchconsole_v1/classes.rb +53 -53
  240. data/generated/google/apis/searchconsole_v1/representations.rb +23 -23
  241. data/generated/google/apis/searchconsole_v1/service.rb +4 -4
  242. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  243. data/generated/google/apis/servicecontrol_v1/classes.rb +1175 -1175
  244. data/generated/google/apis/servicecontrol_v1/representations.rb +206 -206
  245. data/generated/google/apis/servicecontrol_v1/service.rb +116 -116
  246. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  247. data/generated/google/apis/servicemanagement_v1/classes.rb +1186 -1125
  248. data/generated/google/apis/servicemanagement_v1/representations.rb +241 -223
  249. data/generated/google/apis/servicemanagement_v1/service.rb +201 -201
  250. data/generated/google/apis/serviceuser_v1.rb +1 -1
  251. data/generated/google/apis/serviceuser_v1/classes.rb +2645 -2641
  252. data/generated/google/apis/serviceuser_v1/representations.rb +234 -234
  253. data/generated/google/apis/serviceuser_v1/service.rb +37 -37
  254. data/generated/google/apis/sheets_v4.rb +1 -1
  255. data/generated/google/apis/sheets_v4/classes.rb +5042 -4111
  256. data/generated/google/apis/sheets_v4/representations.rb +994 -824
  257. data/generated/google/apis/sheets_v4/service.rb +80 -80
  258. data/generated/google/apis/site_verification_v1/classes.rb +6 -6
  259. data/generated/google/apis/site_verification_v1/representations.rb +8 -8
  260. data/generated/google/apis/site_verification_v1/service.rb +12 -12
  261. data/generated/google/apis/slides_v1.rb +1 -1
  262. data/generated/google/apis/slides_v1/classes.rb +2885 -2885
  263. data/generated/google/apis/slides_v1/representations.rb +310 -310
  264. data/generated/google/apis/slides_v1/service.rb +54 -54
  265. data/generated/google/apis/sourcerepo_v1/classes.rb +206 -206
  266. data/generated/google/apis/sourcerepo_v1/representations.rb +52 -52
  267. data/generated/google/apis/sourcerepo_v1/service.rb +5 -5
  268. data/generated/google/apis/spanner_v1.rb +1 -1
  269. data/generated/google/apis/spanner_v1/classes.rb +2142 -2141
  270. data/generated/google/apis/spanner_v1/representations.rb +174 -174
  271. data/generated/google/apis/spanner_v1/service.rb +497 -497
  272. data/generated/google/apis/speech_v1beta1.rb +1 -1
  273. data/generated/google/apis/speech_v1beta1/classes.rb +227 -227
  274. data/generated/google/apis/speech_v1beta1/representations.rb +50 -50
  275. data/generated/google/apis/speech_v1beta1/service.rb +33 -33
  276. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  277. data/generated/google/apis/sqladmin_v1beta4/classes.rb +21 -21
  278. data/generated/google/apis/sqladmin_v1beta4/representations.rb +29 -29
  279. data/generated/google/apis/sqladmin_v1beta4/service.rb +56 -56
  280. data/generated/google/apis/storage_v1.rb +1 -1
  281. data/generated/google/apis/storage_v1/classes.rb +40 -6
  282. data/generated/google/apis/storage_v1/representations.rb +20 -4
  283. data/generated/google/apis/storage_v1/service.rb +61 -46
  284. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  285. data/generated/google/apis/storagetransfer_v1/classes.rb +184 -184
  286. data/generated/google/apis/storagetransfer_v1/representations.rb +35 -35
  287. data/generated/google/apis/storagetransfer_v1/service.rb +70 -70
  288. data/generated/google/apis/tagmanager_v1/service.rb +33 -33
  289. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  290. data/generated/google/apis/translate_v2/classes.rb +12 -12
  291. data/generated/google/apis/translate_v2/representations.rb +10 -10
  292. data/generated/google/apis/translate_v2/service.rb +62 -62
  293. data/generated/google/apis/vision_v1.rb +1 -1
  294. data/generated/google/apis/vision_v1/classes.rb +1267 -1267
  295. data/generated/google/apis/vision_v1/representations.rb +200 -200
  296. data/generated/google/apis/vision_v1/service.rb +10 -10
  297. data/generated/google/apis/webmasters_v3.rb +1 -1
  298. data/generated/google/apis/webmasters_v3/classes.rb +4 -4
  299. data/generated/google/apis/webmasters_v3/representations.rb +8 -8
  300. data/generated/google/apis/webmasters_v3/service.rb +21 -21
  301. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  302. data/generated/google/apis/youtube_analytics_v1/classes.rb +2 -2
  303. data/generated/google/apis/youtube_analytics_v1/representations.rb +4 -4
  304. data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
  305. data/generated/google/apis/youtube_v3/classes.rb +20 -20
  306. data/generated/google/apis/youtube_v3/representations.rb +40 -40
  307. data/generated/google/apis/youtube_v3/service.rb +80 -80
  308. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  309. data/generated/google/apis/youtubereporting_v1/classes.rb +129 -129
  310. data/generated/google/apis/youtubereporting_v1/representations.rb +38 -38
  311. data/generated/google/apis/youtubereporting_v1/service.rb +97 -97
  312. data/lib/google/apis/generator/annotator.rb +2 -2
  313. data/lib/google/apis/generator/model.rb +2 -2
  314. data/lib/google/apis/version.rb +1 -1
  315. metadata +2 -2
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/container-builder/docs/
26
26
  module CloudbuildV1
27
27
  VERSION = 'V1'
28
- REVISION = '20170601'
28
+ REVISION = '20170614'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -22,6 +22,122 @@ module Google
22
22
  module Apis
23
23
  module CloudbuildV1
24
24
 
25
+ # Request to cancel an ongoing build.
26
+ class CancelBuildRequest
27
+ include Google::Apis::Core::Hashable
28
+
29
+ def initialize(**args)
30
+ update!(**args)
31
+ end
32
+
33
+ # Update properties of this object
34
+ def update!(**args)
35
+ end
36
+ end
37
+
38
+ # Response including listed builds.
39
+ class ListBuildsResponse
40
+ include Google::Apis::Core::Hashable
41
+
42
+ # Token to receive the next page of results.
43
+ # Corresponds to the JSON property `nextPageToken`
44
+ # @return [String]
45
+ attr_accessor :next_page_token
46
+
47
+ # Builds will be sorted by create_time, descending.
48
+ # Corresponds to the JSON property `builds`
49
+ # @return [Array<Google::Apis::CloudbuildV1::Build>]
50
+ attr_accessor :builds
51
+
52
+ def initialize(**args)
53
+ update!(**args)
54
+ end
55
+
56
+ # Update properties of this object
57
+ def update!(**args)
58
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
59
+ @builds = args[:builds] if args.key?(:builds)
60
+ end
61
+ end
62
+
63
+ # The response message for Operations.ListOperations.
64
+ class ListOperationsResponse
65
+ include Google::Apis::Core::Hashable
66
+
67
+ # A list of operations that matches the specified filter in the request.
68
+ # Corresponds to the JSON property `operations`
69
+ # @return [Array<Google::Apis::CloudbuildV1::Operation>]
70
+ attr_accessor :operations
71
+
72
+ # The standard List next-page token.
73
+ # Corresponds to the JSON property `nextPageToken`
74
+ # @return [String]
75
+ attr_accessor :next_page_token
76
+
77
+ def initialize(**args)
78
+ update!(**args)
79
+ end
80
+
81
+ # Update properties of this object
82
+ def update!(**args)
83
+ @operations = args[:operations] if args.key?(:operations)
84
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
85
+ end
86
+ end
87
+
88
+ # Source describes the location of the source in a supported storage
89
+ # service.
90
+ class Source
91
+ include Google::Apis::Core::Hashable
92
+
93
+ # StorageSource describes the location of the source in an archive file in
94
+ # Google Cloud Storage.
95
+ # Corresponds to the JSON property `storageSource`
96
+ # @return [Google::Apis::CloudbuildV1::StorageSource]
97
+ attr_accessor :storage_source
98
+
99
+ # RepoSource describes the location of the source in a Google Cloud Source
100
+ # Repository.
101
+ # Corresponds to the JSON property `repoSource`
102
+ # @return [Google::Apis::CloudbuildV1::RepoSource]
103
+ attr_accessor :repo_source
104
+
105
+ def initialize(**args)
106
+ update!(**args)
107
+ end
108
+
109
+ # Update properties of this object
110
+ def update!(**args)
111
+ @storage_source = args[:storage_source] if args.key?(:storage_source)
112
+ @repo_source = args[:repo_source] if args.key?(:repo_source)
113
+ end
114
+ end
115
+
116
+ # Optional arguments to enable specific features of builds.
117
+ class BuildOptions
118
+ include Google::Apis::Core::Hashable
119
+
120
+ # Requested hash for SourceProvenance.
121
+ # Corresponds to the JSON property `sourceProvenanceHash`
122
+ # @return [Array<String>]
123
+ attr_accessor :source_provenance_hash
124
+
125
+ # Requested verifiability options.
126
+ # Corresponds to the JSON property `requestedVerifyOption`
127
+ # @return [String]
128
+ attr_accessor :requested_verify_option
129
+
130
+ def initialize(**args)
131
+ update!(**args)
132
+ end
133
+
134
+ # Update properties of this object
135
+ def update!(**args)
136
+ @source_provenance_hash = args[:source_provenance_hash] if args.key?(:source_provenance_hash)
137
+ @requested_verify_option = args[:requested_verify_option] if args.key?(:requested_verify_option)
138
+ end
139
+ end
140
+
25
141
  # StorageSource describes the location of the source in an archive file in
26
142
  # Google Cloud Storage.
27
143
  class StorageSource
@@ -64,24 +180,24 @@ module Google
64
180
  class Results
65
181
  include Google::Apis::Core::Hashable
66
182
 
67
- # List of build step digests, in order corresponding to build step indices.
68
- # Corresponds to the JSON property `buildStepImages`
69
- # @return [Array<String>]
70
- attr_accessor :build_step_images
71
-
72
183
  # Images that were built as a part of the build.
73
184
  # Corresponds to the JSON property `images`
74
185
  # @return [Array<Google::Apis::CloudbuildV1::BuiltImage>]
75
186
  attr_accessor :images
76
187
 
188
+ # List of build step digests, in order corresponding to build step indices.
189
+ # Corresponds to the JSON property `buildStepImages`
190
+ # @return [Array<String>]
191
+ attr_accessor :build_step_images
192
+
77
193
  def initialize(**args)
78
194
  update!(**args)
79
195
  end
80
196
 
81
197
  # Update properties of this object
82
198
  def update!(**args)
83
- @build_step_images = args[:build_step_images] if args.key?(:build_step_images)
84
199
  @images = args[:images] if args.key?(:images)
200
+ @build_step_images = args[:build_step_images] if args.key?(:build_step_images)
85
201
  end
86
202
  end
87
203
 
@@ -121,18 +237,6 @@ module Google
121
237
  class SourceProvenance
122
238
  include Google::Apis::Core::Hashable
123
239
 
124
- # Hash(es) of the build source, which can be used to verify that the original
125
- # source integrity was maintained in the build. Note that FileHashes will
126
- # only be populated if BuildOptions has requested a SourceProvenanceHash.
127
- # The keys to this map are file paths used as build source and the values
128
- # contain the hash values for those files.
129
- # If the build source came in a single package such as a gzipped tarfile
130
- # (.tar.gz), the FileHash will be for the single path to that file.
131
- # @OutputOnly
132
- # Corresponds to the JSON property `fileHashes`
133
- # @return [Hash<String,Google::Apis::CloudbuildV1::FileHashes>]
134
- attr_accessor :file_hashes
135
-
136
240
  # RepoSource describes the location of the source in a Google Cloud Source
137
241
  # Repository.
138
242
  # Corresponds to the JSON property `resolvedRepoSource`
@@ -145,15 +249,27 @@ module Google
145
249
  # @return [Google::Apis::CloudbuildV1::StorageSource]
146
250
  attr_accessor :resolved_storage_source
147
251
 
252
+ # Hash(es) of the build source, which can be used to verify that the original
253
+ # source integrity was maintained in the build. Note that FileHashes will
254
+ # only be populated if BuildOptions has requested a SourceProvenanceHash.
255
+ # The keys to this map are file paths used as build source and the values
256
+ # contain the hash values for those files.
257
+ # If the build source came in a single package such as a gzipped tarfile
258
+ # (.tar.gz), the FileHash will be for the single path to that file.
259
+ # @OutputOnly
260
+ # Corresponds to the JSON property `fileHashes`
261
+ # @return [Hash<String,Google::Apis::CloudbuildV1::FileHashes>]
262
+ attr_accessor :file_hashes
263
+
148
264
  def initialize(**args)
149
265
  update!(**args)
150
266
  end
151
267
 
152
268
  # Update properties of this object
153
269
  def update!(**args)
154
- @file_hashes = args[:file_hashes] if args.key?(:file_hashes)
155
270
  @resolved_repo_source = args[:resolved_repo_source] if args.key?(:resolved_repo_source)
156
271
  @resolved_storage_source = args[:resolved_storage_source] if args.key?(:resolved_storage_source)
272
+ @file_hashes = args[:file_hashes] if args.key?(:file_hashes)
157
273
  end
158
274
  end
159
275
 
@@ -175,6 +291,14 @@ module Google
175
291
  class Operation
176
292
  include Google::Apis::Core::Hashable
177
293
 
294
+ # If the value is `false`, it means the operation is still in progress.
295
+ # If true, the operation is completed, and either `error` or `response` is
296
+ # available.
297
+ # Corresponds to the JSON property `done`
298
+ # @return [Boolean]
299
+ attr_accessor :done
300
+ alias_method :done?, :done
301
+
178
302
  # The normal response of the operation in case of success. If the original
179
303
  # method returns no data on success, such as `Delete`, the response is
180
304
  # `google.protobuf.Empty`. If the original method is standard
@@ -245,25 +369,17 @@ module Google
245
369
  # @return [Hash<String,Object>]
246
370
  attr_accessor :metadata
247
371
 
248
- # If the value is `false`, it means the operation is still in progress.
249
- # If true, the operation is completed, and either `error` or `response` is
250
- # available.
251
- # Corresponds to the JSON property `done`
252
- # @return [Boolean]
253
- attr_accessor :done
254
- alias_method :done?, :done
255
-
256
372
  def initialize(**args)
257
373
  update!(**args)
258
374
  end
259
375
 
260
376
  # Update properties of this object
261
377
  def update!(**args)
378
+ @done = args[:done] if args.key?(:done)
262
379
  @response = args[:response] if args.key?(:response)
263
380
  @name = args[:name] if args.key?(:name)
264
381
  @error = args[:error] if args.key?(:error)
265
382
  @metadata = args[:metadata] if args.key?(:metadata)
266
- @done = args[:done] if args.key?(:done)
267
383
  end
268
384
  end
269
385
 
@@ -312,20 +428,70 @@ module Google
312
428
  end
313
429
  end
314
430
 
315
- # Container message for hash values.
316
- class HashProp
431
+ # BuildStep describes a step to perform in the build pipeline.
432
+ class BuildStep
317
433
  include Google::Apis::Core::Hashable
318
434
 
319
- # The type of hash that was performed.
320
- # Corresponds to the JSON property `type`
435
+ # Optional unique identifier for this build step, used in wait_for to
436
+ # reference this build step as a dependency.
437
+ # Corresponds to the JSON property `id`
321
438
  # @return [String]
322
- attr_accessor :type
439
+ attr_accessor :id
323
440
 
324
- # The hash value.
325
- # Corresponds to the JSON property `value`
326
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
441
+ # Working directory (relative to project source root) to use when running
442
+ # this operation's container.
443
+ # Corresponds to the JSON property `dir`
327
444
  # @return [String]
328
- attr_accessor :value
445
+ attr_accessor :dir
446
+
447
+ # The ID(s) of the step(s) that this build step depends on.
448
+ # This build step will not start until all the build steps in wait_for
449
+ # have completed successfully. If wait_for is empty, this build step will
450
+ # start when all previous build steps in the Build.Steps list have completed
451
+ # successfully.
452
+ # Corresponds to the JSON property `waitFor`
453
+ # @return [Array<String>]
454
+ attr_accessor :wait_for
455
+
456
+ # A list of environment variable definitions to be used when running a step.
457
+ # The elements are of the form "KEY=VALUE" for the environment variable "KEY"
458
+ # being given the value "VALUE".
459
+ # Corresponds to the JSON property `env`
460
+ # @return [Array<String>]
461
+ attr_accessor :env
462
+
463
+ # A list of arguments that will be presented to the step when it is started.
464
+ # If the image used to run the step's container has an entrypoint, these args
465
+ # will be used as arguments to that entrypoint. If the image does not define
466
+ # an entrypoint, the first element in args will be used as the entrypoint,
467
+ # and the remainder will be used as arguments.
468
+ # Corresponds to the JSON property `args`
469
+ # @return [Array<String>]
470
+ attr_accessor :args
471
+
472
+ # The name of the container image that will run this particular build step.
473
+ # If the image is already available in the host's Docker daemon's cache, it
474
+ # will be run directly. If not, the host will attempt to pull the image
475
+ # first, using the builder service account's credentials if necessary.
476
+ # The Docker daemon's cache will already have the latest versions of all of
477
+ # the officially supported build steps
478
+ # ([https://github.com/GoogleCloudPlatform/cloud-builders](https://github.com/
479
+ # GoogleCloudPlatform/cloud-builders)).
480
+ # The Docker daemon will also have cached many of the layers for some popular
481
+ # images, like "ubuntu", "debian", but they will be refreshed at the time you
482
+ # attempt to use them.
483
+ # If you built an image in a previous build step, it will be stored in the
484
+ # host's Docker daemon's cache and is available to use as the name for a
485
+ # later build step.
486
+ # Corresponds to the JSON property `name`
487
+ # @return [String]
488
+ attr_accessor :name
489
+
490
+ # Optional entrypoint to be used instead of the build step image's default
491
+ # If unset, the image's default will be used.
492
+ # Corresponds to the JSON property `entrypoint`
493
+ # @return [String]
494
+ attr_accessor :entrypoint
329
495
 
330
496
  def initialize(**args)
331
497
  update!(**args)
@@ -333,8 +499,13 @@ module Google
333
499
 
334
500
  # Update properties of this object
335
501
  def update!(**args)
336
- @type = args[:type] if args.key?(:type)
337
- @value = args[:value] if args.key?(:value)
502
+ @id = args[:id] if args.key?(:id)
503
+ @dir = args[:dir] if args.key?(:dir)
504
+ @wait_for = args[:wait_for] if args.key?(:wait_for)
505
+ @env = args[:env] if args.key?(:env)
506
+ @args = args[:args] if args.key?(:args)
507
+ @name = args[:name] if args.key?(:name)
508
+ @entrypoint = args[:entrypoint] if args.key?(:entrypoint)
338
509
  end
339
510
  end
340
511
 
@@ -383,70 +554,20 @@ module Google
383
554
  end
384
555
  end
385
556
 
386
- # BuildStep describes a step to perform in the build pipeline.
387
- class BuildStep
557
+ # Container message for hash values.
558
+ class HashProp
388
559
  include Google::Apis::Core::Hashable
389
560
 
390
- # The name of the container image that will run this particular build step.
391
- # If the image is already available in the host's Docker daemon's cache, it
392
- # will be run directly. If not, the host will attempt to pull the image
393
- # first, using the builder service account's credentials if necessary.
394
- # The Docker daemon's cache will already have the latest versions of all of
395
- # the officially supported build steps
396
- # ([https://github.com/GoogleCloudPlatform/cloud-builders](https://github.com/
397
- # GoogleCloudPlatform/cloud-builders)).
398
- # The Docker daemon will also have cached many of the layers for some popular
399
- # images, like "ubuntu", "debian", but they will be refreshed at the time you
400
- # attempt to use them.
401
- # If you built an image in a previous build step, it will be stored in the
402
- # host's Docker daemon's cache and is available to use as the name for a
403
- # later build step.
404
- # Corresponds to the JSON property `name`
405
- # @return [String]
406
- attr_accessor :name
407
-
408
- # Optional entrypoint to be used instead of the build step image's default
409
- # If unset, the image's default will be used.
410
- # Corresponds to the JSON property `entrypoint`
411
- # @return [String]
412
- attr_accessor :entrypoint
413
-
414
- # Optional unique identifier for this build step, used in wait_for to
415
- # reference this build step as a dependency.
416
- # Corresponds to the JSON property `id`
561
+ # The hash value.
562
+ # Corresponds to the JSON property `value`
563
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
417
564
  # @return [String]
418
- attr_accessor :id
565
+ attr_accessor :value
419
566
 
420
- # Working directory (relative to project source root) to use when running
421
- # this operation's container.
422
- # Corresponds to the JSON property `dir`
567
+ # The type of hash that was performed.
568
+ # Corresponds to the JSON property `type`
423
569
  # @return [String]
424
- attr_accessor :dir
425
-
426
- # The ID(s) of the step(s) that this build step depends on.
427
- # This build step will not start until all the build steps in wait_for
428
- # have completed successfully. If wait_for is empty, this build step will
429
- # start when all previous build steps in the Build.Steps list have completed
430
- # successfully.
431
- # Corresponds to the JSON property `waitFor`
432
- # @return [Array<String>]
433
- attr_accessor :wait_for
434
-
435
- # A list of environment variable definitions to be used when running a step.
436
- # The elements are of the form "KEY=VALUE" for the environment variable "KEY"
437
- # being given the value "VALUE".
438
- # Corresponds to the JSON property `env`
439
- # @return [Array<String>]
440
- attr_accessor :env
441
-
442
- # A list of arguments that will be presented to the step when it is started.
443
- # If the image used to run the step's container has an entrypoint, these args
444
- # will be used as arguments to that entrypoint. If the image does not define
445
- # an entrypoint, the first element in args will be used as the entrypoint,
446
- # and the remainder will be used as arguments.
447
- # Corresponds to the JSON property `args`
448
- # @return [Array<String>]
449
- attr_accessor :args
570
+ attr_accessor :type
450
571
 
451
572
  def initialize(**args)
452
573
  update!(**args)
@@ -454,13 +575,8 @@ module Google
454
575
 
455
576
  # Update properties of this object
456
577
  def update!(**args)
457
- @name = args[:name] if args.key?(:name)
458
- @entrypoint = args[:entrypoint] if args.key?(:entrypoint)
459
- @id = args[:id] if args.key?(:id)
460
- @dir = args[:dir] if args.key?(:dir)
461
- @wait_for = args[:wait_for] if args.key?(:wait_for)
462
- @env = args[:env] if args.key?(:env)
463
- @args = args[:args] if args.key?(:args)
578
+ @value = args[:value] if args.key?(:value)
579
+ @type = args[:type] if args.key?(:type)
464
580
  end
465
581
  end
466
582
 
@@ -526,6 +642,11 @@ module Google
526
642
  class Status
527
643
  include Google::Apis::Core::Hashable
528
644
 
645
+ # The status code, which should be an enum value of google.rpc.Code.
646
+ # Corresponds to the JSON property `code`
647
+ # @return [Fixnum]
648
+ attr_accessor :code
649
+
529
650
  # A developer-facing error message, which should be in English. Any
530
651
  # user-facing error message should be localized and sent in the
531
652
  # google.rpc.Status.details field, or localized by the client.
@@ -539,20 +660,15 @@ module Google
539
660
  # @return [Array<Hash<String,Object>>]
540
661
  attr_accessor :details
541
662
 
542
- # The status code, which should be an enum value of google.rpc.Code.
543
- # Corresponds to the JSON property `code`
544
- # @return [Fixnum]
545
- attr_accessor :code
546
-
547
663
  def initialize(**args)
548
664
  update!(**args)
549
665
  end
550
666
 
551
667
  # Update properties of this object
552
668
  def update!(**args)
669
+ @code = args[:code] if args.key?(:code)
553
670
  @message = args[:message] if args.key?(:message)
554
671
  @details = args[:details] if args.key?(:details)
555
- @code = args[:code] if args.key?(:code)
556
672
  end
557
673
  end
558
674
 
@@ -580,6 +696,18 @@ module Google
580
696
  class BuildTrigger
581
697
  include Google::Apis::Core::Hashable
582
698
 
699
+ # Time when the trigger was created.
700
+ # @OutputOnly
701
+ # Corresponds to the JSON property `createTime`
702
+ # @return [String]
703
+ attr_accessor :create_time
704
+
705
+ # If true, the trigger will never result in a build.
706
+ # Corresponds to the JSON property `disabled`
707
+ # @return [Boolean]
708
+ attr_accessor :disabled
709
+ alias_method :disabled?, :disabled
710
+
583
711
  # Path, from the source root, to a file whose contents is used for the
584
712
  # template.
585
713
  # Corresponds to the JSON property `filename`
@@ -625,32 +753,20 @@ module Google
625
753
  # @return [String]
626
754
  attr_accessor :description
627
755
 
628
- # If true, the trigger will never result in a build.
629
- # Corresponds to the JSON property `disabled`
630
- # @return [Boolean]
631
- attr_accessor :disabled
632
- alias_method :disabled?, :disabled
633
-
634
- # Time when the trigger was created.
635
- # @OutputOnly
636
- # Corresponds to the JSON property `createTime`
637
- # @return [String]
638
- attr_accessor :create_time
639
-
640
756
  def initialize(**args)
641
757
  update!(**args)
642
758
  end
643
759
 
644
760
  # Update properties of this object
645
761
  def update!(**args)
762
+ @create_time = args[:create_time] if args.key?(:create_time)
763
+ @disabled = args[:disabled] if args.key?(:disabled)
646
764
  @filename = args[:filename] if args.key?(:filename)
647
765
  @trigger_template = args[:trigger_template] if args.key?(:trigger_template)
648
766
  @id = args[:id] if args.key?(:id)
649
767
  @build = args[:build] if args.key?(:build)
650
768
  @substitutions = args[:substitutions] if args.key?(:substitutions)
651
769
  @description = args[:description] if args.key?(:description)
652
- @disabled = args[:disabled] if args.key?(:disabled)
653
- @create_time = args[:create_time] if args.key?(:create_time)
654
770
  end
655
771
  end
656
772
 
@@ -670,6 +786,63 @@ module Google
670
786
  class Build
671
787
  include Google::Apis::Core::Hashable
672
788
 
789
+ # Customer-readable message about the current status.
790
+ # @OutputOnly
791
+ # Corresponds to the JSON property `statusDetail`
792
+ # @return [String]
793
+ attr_accessor :status_detail
794
+
795
+ # Status of the build.
796
+ # @OutputOnly
797
+ # Corresponds to the JSON property `status`
798
+ # @return [String]
799
+ attr_accessor :status
800
+
801
+ # Amount of time that this build should be allowed to run, to second
802
+ # granularity. If this amount of time elapses, work on the build will cease
803
+ # and the build status will be TIMEOUT.
804
+ # Default time is ten minutes.
805
+ # Corresponds to the JSON property `timeout`
806
+ # @return [String]
807
+ attr_accessor :timeout
808
+
809
+ # Google Cloud Storage bucket where logs should be written (see
810
+ # [Bucket Name
811
+ # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)
812
+ # ).
813
+ # Logs file names will be of the format `$`logs_bucket`/log-$`build_id`.txt`.
814
+ # Corresponds to the JSON property `logsBucket`
815
+ # @return [String]
816
+ attr_accessor :logs_bucket
817
+
818
+ # Results describes the artifacts created by the build pipeline.
819
+ # Corresponds to the JSON property `results`
820
+ # @return [Google::Apis::CloudbuildV1::Results]
821
+ attr_accessor :results
822
+
823
+ # Describes the operations to be performed on the workspace.
824
+ # Corresponds to the JSON property `steps`
825
+ # @return [Array<Google::Apis::CloudbuildV1::BuildStep>]
826
+ attr_accessor :steps
827
+
828
+ # The ID of the BuildTrigger that triggered this build, if it was
829
+ # triggered automatically.
830
+ # @OutputOnly
831
+ # Corresponds to the JSON property `buildTriggerId`
832
+ # @return [String]
833
+ attr_accessor :build_trigger_id
834
+
835
+ # Tags for annotation of a Build. These are not docker tags.
836
+ # Corresponds to the JSON property `tags`
837
+ # @return [Array<String>]
838
+ attr_accessor :tags
839
+
840
+ # Unique identifier of the build.
841
+ # @OutputOnly
842
+ # Corresponds to the JSON property `id`
843
+ # @return [String]
844
+ attr_accessor :id
845
+
673
846
  # Time at which execution of the build was started.
674
847
  # @OutputOnly
675
848
  # Corresponds to the JSON property `startTime`
@@ -734,69 +907,21 @@ module Google
734
907
  # @return [Google::Apis::CloudbuildV1::BuildOptions]
735
908
  attr_accessor :options
736
909
 
737
- # Customer-readable message about the current status.
738
- # @OutputOnly
739
- # Corresponds to the JSON property `statusDetail`
740
- # @return [String]
741
- attr_accessor :status_detail
742
-
743
- # Status of the build.
744
- # @OutputOnly
745
- # Corresponds to the JSON property `status`
746
- # @return [String]
747
- attr_accessor :status
748
-
749
- # Amount of time that this build should be allowed to run, to second
750
- # granularity. If this amount of time elapses, work on the build will cease
751
- # and the build status will be TIMEOUT.
752
- # Default time is ten minutes.
753
- # Corresponds to the JSON property `timeout`
754
- # @return [String]
755
- attr_accessor :timeout
756
-
757
- # Google Cloud Storage bucket where logs should be written (see
758
- # [Bucket Name
759
- # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)
760
- # ).
761
- # Logs file names will be of the format `$`logs_bucket`/log-$`build_id`.txt`.
762
- # Corresponds to the JSON property `logsBucket`
763
- # @return [String]
764
- attr_accessor :logs_bucket
765
-
766
- # Results describes the artifacts created by the build pipeline.
767
- # Corresponds to the JSON property `results`
768
- # @return [Google::Apis::CloudbuildV1::Results]
769
- attr_accessor :results
770
-
771
- # Describes the operations to be performed on the workspace.
772
- # Corresponds to the JSON property `steps`
773
- # @return [Array<Google::Apis::CloudbuildV1::BuildStep>]
774
- attr_accessor :steps
775
-
776
- # The ID of the BuildTrigger that triggered this build, if it was
777
- # triggered automatically.
778
- # @OutputOnly
779
- # Corresponds to the JSON property `buildTriggerId`
780
- # @return [String]
781
- attr_accessor :build_trigger_id
782
-
783
- # Tags for annotation of a Build. These are not docker tags.
784
- # Corresponds to the JSON property `tags`
785
- # @return [Array<String>]
786
- attr_accessor :tags
787
-
788
- # Unique identifier of the build.
789
- # @OutputOnly
790
- # Corresponds to the JSON property `id`
791
- # @return [String]
792
- attr_accessor :id
793
-
794
910
  def initialize(**args)
795
911
  update!(**args)
796
912
  end
797
913
 
798
914
  # Update properties of this object
799
915
  def update!(**args)
916
+ @status_detail = args[:status_detail] if args.key?(:status_detail)
917
+ @status = args[:status] if args.key?(:status)
918
+ @timeout = args[:timeout] if args.key?(:timeout)
919
+ @logs_bucket = args[:logs_bucket] if args.key?(:logs_bucket)
920
+ @results = args[:results] if args.key?(:results)
921
+ @steps = args[:steps] if args.key?(:steps)
922
+ @build_trigger_id = args[:build_trigger_id] if args.key?(:build_trigger_id)
923
+ @tags = args[:tags] if args.key?(:tags)
924
+ @id = args[:id] if args.key?(:id)
800
925
  @start_time = args[:start_time] if args.key?(:start_time)
801
926
  @substitutions = args[:substitutions] if args.key?(:substitutions)
802
927
  @create_time = args[:create_time] if args.key?(:create_time)
@@ -807,131 +932,6 @@ module Google
807
932
  @log_url = args[:log_url] if args.key?(:log_url)
808
933
  @source = args[:source] if args.key?(:source)
809
934
  @options = args[:options] if args.key?(:options)
810
- @status_detail = args[:status_detail] if args.key?(:status_detail)
811
- @status = args[:status] if args.key?(:status)
812
- @timeout = args[:timeout] if args.key?(:timeout)
813
- @logs_bucket = args[:logs_bucket] if args.key?(:logs_bucket)
814
- @results = args[:results] if args.key?(:results)
815
- @steps = args[:steps] if args.key?(:steps)
816
- @build_trigger_id = args[:build_trigger_id] if args.key?(:build_trigger_id)
817
- @tags = args[:tags] if args.key?(:tags)
818
- @id = args[:id] if args.key?(:id)
819
- end
820
- end
821
-
822
- # Request to cancel an ongoing build.
823
- class CancelBuildRequest
824
- include Google::Apis::Core::Hashable
825
-
826
- def initialize(**args)
827
- update!(**args)
828
- end
829
-
830
- # Update properties of this object
831
- def update!(**args)
832
- end
833
- end
834
-
835
- # Response including listed builds.
836
- class ListBuildsResponse
837
- include Google::Apis::Core::Hashable
838
-
839
- # Token to receive the next page of results.
840
- # Corresponds to the JSON property `nextPageToken`
841
- # @return [String]
842
- attr_accessor :next_page_token
843
-
844
- # Builds will be sorted by create_time, descending.
845
- # Corresponds to the JSON property `builds`
846
- # @return [Array<Google::Apis::CloudbuildV1::Build>]
847
- attr_accessor :builds
848
-
849
- def initialize(**args)
850
- update!(**args)
851
- end
852
-
853
- # Update properties of this object
854
- def update!(**args)
855
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
856
- @builds = args[:builds] if args.key?(:builds)
857
- end
858
- end
859
-
860
- # The response message for Operations.ListOperations.
861
- class ListOperationsResponse
862
- include Google::Apis::Core::Hashable
863
-
864
- # The standard List next-page token.
865
- # Corresponds to the JSON property `nextPageToken`
866
- # @return [String]
867
- attr_accessor :next_page_token
868
-
869
- # A list of operations that matches the specified filter in the request.
870
- # Corresponds to the JSON property `operations`
871
- # @return [Array<Google::Apis::CloudbuildV1::Operation>]
872
- attr_accessor :operations
873
-
874
- def initialize(**args)
875
- update!(**args)
876
- end
877
-
878
- # Update properties of this object
879
- def update!(**args)
880
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
881
- @operations = args[:operations] if args.key?(:operations)
882
- end
883
- end
884
-
885
- # Source describes the location of the source in a supported storage
886
- # service.
887
- class Source
888
- include Google::Apis::Core::Hashable
889
-
890
- # StorageSource describes the location of the source in an archive file in
891
- # Google Cloud Storage.
892
- # Corresponds to the JSON property `storageSource`
893
- # @return [Google::Apis::CloudbuildV1::StorageSource]
894
- attr_accessor :storage_source
895
-
896
- # RepoSource describes the location of the source in a Google Cloud Source
897
- # Repository.
898
- # Corresponds to the JSON property `repoSource`
899
- # @return [Google::Apis::CloudbuildV1::RepoSource]
900
- attr_accessor :repo_source
901
-
902
- def initialize(**args)
903
- update!(**args)
904
- end
905
-
906
- # Update properties of this object
907
- def update!(**args)
908
- @storage_source = args[:storage_source] if args.key?(:storage_source)
909
- @repo_source = args[:repo_source] if args.key?(:repo_source)
910
- end
911
- end
912
-
913
- # Optional arguments to enable specific features of builds.
914
- class BuildOptions
915
- include Google::Apis::Core::Hashable
916
-
917
- # Requested hash for SourceProvenance.
918
- # Corresponds to the JSON property `sourceProvenanceHash`
919
- # @return [Array<String>]
920
- attr_accessor :source_provenance_hash
921
-
922
- # Requested verifiability options.
923
- # Corresponds to the JSON property `requestedVerifyOption`
924
- # @return [String]
925
- attr_accessor :requested_verify_option
926
-
927
- def initialize(**args)
928
- update!(**args)
929
- end
930
-
931
- # Update properties of this object
932
- def update!(**args)
933
- @source_provenance_hash = args[:source_provenance_hash] if args.key?(:source_provenance_hash)
934
- @requested_verify_option = args[:requested_verify_option] if args.key?(:requested_verify_option)
935
935
  end
936
936
  end
937
937
  end