google-api-client 0.19.8 → 0.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (355) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +7 -4
  3. data/CHANGELOG.md +106 -0
  4. data/MIGRATING.md +3 -3
  5. data/README.md +6 -9
  6. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  7. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1 -7
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +0 -1
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +2 -8
  10. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  11. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +84 -9
  12. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +33 -0
  13. data/generated/google/apis/admin_directory_v1.rb +1 -1
  14. data/generated/google/apis/admin_directory_v1/classes.rb +11 -10
  15. data/generated/google/apis/admin_directory_v1/service.rb +21 -7
  16. data/generated/google/apis/analytics_v3.rb +1 -1
  17. data/generated/google/apis/analytics_v3/service.rb +1 -1
  18. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  19. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +52 -35
  20. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +33 -20
  21. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  22. data/generated/google/apis/androidenterprise_v1/classes.rb +44 -0
  23. data/generated/google/apis/androidenterprise_v1/representations.rb +17 -0
  24. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  25. data/generated/google/apis/androidmanagement_v1/classes.rb +66 -0
  26. data/generated/google/apis/androidmanagement_v1/representations.rb +10 -0
  27. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  28. data/generated/google/apis/androidpublisher_v2/classes.rb +37 -72
  29. data/generated/google/apis/androidpublisher_v2/representations.rb +5 -34
  30. data/generated/google/apis/androidpublisher_v2/service.rb +6 -52
  31. data/generated/google/apis/appengine_v1.rb +2 -2
  32. data/generated/google/apis/appengine_v1/classes.rb +82 -7
  33. data/generated/google/apis/appengine_v1/representations.rb +32 -0
  34. data/generated/google/apis/appengine_v1/service.rb +2 -2
  35. data/generated/google/apis/appengine_v1alpha.rb +2 -2
  36. data/generated/google/apis/appengine_v1alpha/classes.rb +35 -0
  37. data/generated/google/apis/appengine_v1alpha/representations.rb +16 -0
  38. data/generated/google/apis/appengine_v1alpha/service.rb +2 -2
  39. data/generated/google/apis/appengine_v1beta.rb +2 -2
  40. data/generated/google/apis/appengine_v1beta/classes.rb +51 -7
  41. data/generated/google/apis/appengine_v1beta/representations.rb +17 -0
  42. data/generated/google/apis/appengine_v1beta/service.rb +2 -2
  43. data/generated/google/apis/appengine_v1beta4.rb +2 -2
  44. data/generated/google/apis/appengine_v1beta4/classes.rb +50 -6
  45. data/generated/google/apis/appengine_v1beta4/representations.rb +17 -0
  46. data/generated/google/apis/appengine_v1beta4/service.rb +2 -2
  47. data/generated/google/apis/appengine_v1beta5.rb +2 -2
  48. data/generated/google/apis/appengine_v1beta5/classes.rb +50 -6
  49. data/generated/google/apis/appengine_v1beta5/representations.rb +17 -0
  50. data/generated/google/apis/appengine_v1beta5/service.rb +2 -2
  51. data/generated/google/apis/bigquery_v2.rb +1 -1
  52. data/generated/google/apis/bigquery_v2/classes.rb +19 -11
  53. data/generated/google/apis/bigquery_v2/representations.rb +4 -3
  54. data/generated/google/apis/bigquery_v2/service.rb +9 -1
  55. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  56. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +9 -6
  57. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +1 -0
  58. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +1 -1
  59. data/generated/google/apis/calendar_v3.rb +1 -1
  60. data/generated/google/apis/calendar_v3/classes.rb +3 -1
  61. data/generated/google/apis/{firebaseremoteconfig_v1.rb → chat_v1.rb} +8 -9
  62. data/generated/google/apis/chat_v1/classes.rb +890 -0
  63. data/generated/google/apis/chat_v1/representations.rb +445 -0
  64. data/generated/google/apis/chat_v1/service.rb +344 -0
  65. data/generated/google/apis/cloudbilling_v1.rb +2 -2
  66. data/generated/google/apis/cloudbilling_v1/classes.rb +341 -5
  67. data/generated/google/apis/cloudbilling_v1/representations.rb +103 -0
  68. data/generated/google/apis/cloudbilling_v1/service.rb +217 -10
  69. data/generated/google/apis/cloudbuild_v1.rb +2 -2
  70. data/generated/google/apis/cloudbuild_v1/classes.rb +180 -84
  71. data/generated/google/apis/cloudbuild_v1/representations.rb +35 -0
  72. data/generated/google/apis/cloudbuild_v1/service.rb +25 -25
  73. data/generated/google/apis/cloudiot_v1.rb +2 -2
  74. data/generated/google/apis/cloudiot_v1/classes.rb +13 -142
  75. data/generated/google/apis/cloudiot_v1/representations.rb +0 -32
  76. data/generated/google/apis/cloudiot_v1/service.rb +2 -2
  77. data/generated/google/apis/cloudkms_v1.rb +1 -1
  78. data/generated/google/apis/cloudkms_v1/classes.rb +7 -1
  79. data/generated/google/apis/cloudkms_v1/representations.rb +1 -0
  80. data/generated/google/apis/cloudkms_v1/service.rb +1 -1
  81. data/generated/google/apis/cloudresourcemanager_v1.rb +2 -2
  82. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +2 -2
  83. data/generated/google/apis/cloudresourcemanager_v1/service.rb +4 -5
  84. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +2 -2
  85. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +1 -1
  86. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +6 -6
  87. data/generated/google/apis/{clouduseraccounts_beta.rb → cloudresourcemanager_v2.rb} +10 -16
  88. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +821 -0
  89. data/generated/google/apis/cloudresourcemanager_v2/representations.rb +304 -0
  90. data/generated/google/apis/cloudresourcemanager_v2/service.rb +534 -0
  91. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +2 -2
  92. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +1 -1
  93. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  94. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +7 -0
  95. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
  96. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  97. data/generated/google/apis/cloudtrace_v1/classes.rb +2 -0
  98. data/generated/google/apis/compute_alpha.rb +1 -1
  99. data/generated/google/apis/compute_alpha/classes.rb +216 -120
  100. data/generated/google/apis/compute_alpha/representations.rb +25 -1
  101. data/generated/google/apis/compute_alpha/service.rb +1354 -1621
  102. data/generated/google/apis/compute_beta.rb +1 -1
  103. data/generated/google/apis/compute_beta/classes.rb +548 -85
  104. data/generated/google/apis/compute_beta/representations.rb +159 -0
  105. data/generated/google/apis/compute_beta/service.rb +1971 -1460
  106. data/generated/google/apis/compute_v1.rb +1 -1
  107. data/generated/google/apis/compute_v1/classes.rb +206 -70
  108. data/generated/google/apis/compute_v1/representations.rb +32 -0
  109. data/generated/google/apis/compute_v1/service.rb +1184 -1278
  110. data/generated/google/apis/container_v1.rb +1 -1
  111. data/generated/google/apis/container_v1/classes.rb +742 -9
  112. data/generated/google/apis/container_v1/representations.rb +90 -0
  113. data/generated/google/apis/container_v1/service.rb +1380 -100
  114. data/generated/google/apis/container_v1beta1.rb +1 -1
  115. data/generated/google/apis/container_v1beta1/classes.rb +191 -138
  116. data/generated/google/apis/container_v1beta1/representations.rb +2 -0
  117. data/generated/google/apis/container_v1beta1/service.rb +236 -231
  118. data/generated/google/apis/content_v2.rb +1 -1
  119. data/generated/google/apis/content_v2/classes.rb +2690 -1540
  120. data/generated/google/apis/content_v2/representations.rb +491 -0
  121. data/generated/google/apis/content_v2/service.rb +684 -0
  122. data/generated/google/apis/content_v2sandbox.rb +1 -1
  123. data/generated/google/apis/content_v2sandbox/classes.rb +2 -1
  124. data/generated/google/apis/dataflow_v1b3.rb +2 -2
  125. data/generated/google/apis/dataflow_v1b3/classes.rb +95 -0
  126. data/generated/google/apis/dataflow_v1b3/representations.rb +36 -0
  127. data/generated/google/apis/dataflow_v1b3/service.rb +1 -1
  128. data/generated/google/apis/dataproc_v1.rb +1 -1
  129. data/generated/google/apis/dataproc_v1/classes.rb +56 -45
  130. data/generated/google/apis/dataproc_v1/representations.rb +1 -0
  131. data/generated/google/apis/dataproc_v1/service.rb +30 -3
  132. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  133. data/generated/google/apis/dataproc_v1beta2/classes.rb +77 -53
  134. data/generated/google/apis/dataproc_v1beta2/representations.rb +2 -0
  135. data/generated/google/apis/dataproc_v1beta2/service.rb +484 -18
  136. data/generated/google/apis/datastore_v1.rb +1 -1
  137. data/generated/google/apis/datastore_v1/classes.rb +372 -0
  138. data/generated/google/apis/datastore_v1/representations.rb +132 -0
  139. data/generated/google/apis/datastore_v1/service.rb +77 -0
  140. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  141. data/generated/google/apis/datastore_v1beta1/classes.rb +255 -0
  142. data/generated/google/apis/datastore_v1beta1/representations.rb +100 -0
  143. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  144. data/generated/google/apis/datastore_v1beta3/classes.rb +255 -0
  145. data/generated/google/apis/datastore_v1beta3/representations.rb +100 -0
  146. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  147. data/generated/google/apis/deploymentmanager_alpha/classes.rb +6 -1
  148. data/generated/google/apis/deploymentmanager_alpha/service.rb +121 -145
  149. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  150. data/generated/google/apis/deploymentmanager_v2/service.rb +79 -91
  151. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  152. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +6 -1
  153. data/generated/google/apis/deploymentmanager_v2beta/service.rb +121 -145
  154. data/generated/google/apis/dialogflow_v2.rb +35 -0
  155. data/generated/google/apis/dialogflow_v2/classes.rb +3994 -0
  156. data/generated/google/apis/dialogflow_v2/representations.rb +1670 -0
  157. data/generated/google/apis/dialogflow_v2/service.rb +1397 -0
  158. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  159. data/generated/google/apis/dialogflow_v2beta1/classes.rb +39 -11
  160. data/generated/google/apis/dialogflow_v2beta1/representations.rb +1 -0
  161. data/generated/google/apis/dialogflow_v2beta1/service.rb +559 -16
  162. data/generated/google/apis/dlp_v2.rb +36 -0
  163. data/generated/google/apis/dlp_v2/classes.rb +6431 -0
  164. data/generated/google/apis/dlp_v2/representations.rb +3116 -0
  165. data/generated/google/apis/dlp_v2/service.rb +1300 -0
  166. data/generated/google/apis/dlp_v2beta1.rb +4 -4
  167. data/generated/google/apis/dlp_v2beta1/classes.rb +38 -0
  168. data/generated/google/apis/dlp_v2beta1/representations.rb +17 -0
  169. data/generated/google/apis/dlp_v2beta1/service.rb +3 -3
  170. data/generated/google/apis/dlp_v2beta2.rb +4 -4
  171. data/generated/google/apis/dlp_v2beta2/classes.rb +229 -1
  172. data/generated/google/apis/dlp_v2beta2/representations.rb +91 -0
  173. data/generated/google/apis/dlp_v2beta2/service.rb +3 -3
  174. data/generated/google/apis/dns_v1.rb +1 -1
  175. data/generated/google/apis/dns_v1/classes.rb +496 -0
  176. data/generated/google/apis/dns_v1/representations.rb +188 -0
  177. data/generated/google/apis/dns_v1/service.rb +319 -6
  178. data/generated/google/apis/dns_v1beta2.rb +1 -1
  179. data/generated/google/apis/dns_v1beta2/classes.rb +0 -19
  180. data/generated/google/apis/dns_v1beta2/representations.rb +0 -14
  181. data/generated/google/apis/dns_v1beta2/service.rb +2 -4
  182. data/generated/google/apis/dns_v2beta1.rb +1 -1
  183. data/generated/google/apis/dns_v2beta1/classes.rb +6 -19
  184. data/generated/google/apis/dns_v2beta1/representations.rb +1 -14
  185. data/generated/google/apis/dns_v2beta1/service.rb +2 -4
  186. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  187. data/generated/google/apis/doubleclicksearch_v2/classes.rb +4 -0
  188. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  189. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +2 -2
  190. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  191. data/generated/google/apis/firestore_v1beta1/classes.rb +1 -1
  192. data/generated/google/apis/genomics_v1.rb +1 -1
  193. data/generated/google/apis/genomics_v1/classes.rb +271 -1
  194. data/generated/google/apis/genomics_v1/representations.rb +140 -0
  195. data/generated/google/apis/genomics_v1/service.rb +9 -1
  196. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  197. data/generated/google/apis/genomics_v1alpha2/classes.rb +271 -1
  198. data/generated/google/apis/genomics_v1alpha2/representations.rb +140 -0
  199. data/generated/google/apis/genomics_v1alpha2/service.rb +9 -1
  200. data/generated/google/apis/genomics_v2alpha1.rb +37 -0
  201. data/generated/google/apis/genomics_v2alpha1/classes.rb +1306 -0
  202. data/generated/google/apis/genomics_v2alpha1/representations.rb +535 -0
  203. data/generated/google/apis/genomics_v2alpha1/service.rb +261 -0
  204. data/generated/google/apis/gmail_v1.rb +1 -1
  205. data/generated/google/apis/gmail_v1/classes.rb +2 -1
  206. data/generated/google/apis/iam_v1.rb +1 -1
  207. data/generated/google/apis/iam_v1/classes.rb +1 -1
  208. data/generated/google/apis/language_v1.rb +2 -2
  209. data/generated/google/apis/language_v1/classes.rb +2 -1
  210. data/generated/google/apis/language_v1/service.rb +1 -1
  211. data/generated/google/apis/language_v1beta1.rb +2 -2
  212. data/generated/google/apis/language_v1beta1/service.rb +1 -1
  213. data/generated/google/apis/language_v1beta2.rb +2 -2
  214. data/generated/google/apis/language_v1beta2/classes.rb +2 -1
  215. data/generated/google/apis/language_v1beta2/service.rb +1 -1
  216. data/generated/google/apis/logging_v2.rb +1 -1
  217. data/generated/google/apis/logging_v2beta1.rb +1 -1
  218. data/generated/google/apis/manufacturers_v1.rb +1 -1
  219. data/generated/google/apis/manufacturers_v1/service.rb +14 -11
  220. data/generated/google/apis/ml_v1.rb +2 -2
  221. data/generated/google/apis/ml_v1/classes.rb +180 -5
  222. data/generated/google/apis/ml_v1/representations.rb +49 -0
  223. data/generated/google/apis/ml_v1/service.rb +1 -1
  224. data/generated/google/apis/monitoring_v3.rb +1 -1
  225. data/generated/google/apis/monitoring_v3/classes.rb +797 -2
  226. data/generated/google/apis/monitoring_v3/representations.rb +279 -0
  227. data/generated/google/apis/monitoring_v3/service.rb +612 -0
  228. data/generated/google/apis/oslogin_v1.rb +2 -2
  229. data/generated/google/apis/oslogin_v1/service.rb +1 -1
  230. data/generated/google/apis/oslogin_v1alpha.rb +2 -2
  231. data/generated/google/apis/oslogin_v1alpha/service.rb +1 -1
  232. data/generated/google/apis/oslogin_v1beta.rb +2 -2
  233. data/generated/google/apis/oslogin_v1beta/service.rb +1 -1
  234. data/generated/google/apis/pagespeedonline_v4.rb +32 -0
  235. data/generated/google/apis/pagespeedonline_v4/classes.rb +795 -0
  236. data/generated/google/apis/pagespeedonline_v4/representations.rb +335 -0
  237. data/generated/google/apis/pagespeedonline_v4/service.rb +129 -0
  238. data/generated/google/apis/people_v1.rb +2 -2
  239. data/generated/google/apis/people_v1/classes.rb +5 -2
  240. data/generated/google/apis/people_v1/service.rb +9 -7
  241. data/generated/google/apis/poly_v1.rb +1 -1
  242. data/generated/google/apis/poly_v1/classes.rb +153 -0
  243. data/generated/google/apis/poly_v1/representations.rb +67 -0
  244. data/generated/google/apis/proximitybeacon_v1beta1.rb +2 -2
  245. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +1 -1
  246. data/generated/google/apis/pubsub_v1.rb +1 -1
  247. data/generated/google/apis/pubsub_v1/classes.rb +3 -0
  248. data/generated/google/apis/pubsub_v1/service.rb +7 -0
  249. data/generated/google/apis/script_v1.rb +2 -2
  250. data/generated/google/apis/script_v1/service.rb +1 -1
  251. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  252. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +21 -126
  253. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -30
  254. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +14 -13
  255. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  256. data/generated/google/apis/servicecontrol_v1/classes.rb +2 -1
  257. data/generated/google/apis/servicecontrol_v1/service.rb +9 -6
  258. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  259. data/generated/google/apis/servicemanagement_v1/classes.rb +44 -157
  260. data/generated/google/apis/servicemanagement_v1/representations.rb +2 -48
  261. data/generated/google/apis/servicemanagement_v1/service.rb +9 -0
  262. data/generated/google/apis/{serviceusage_v1.rb → serviceusage_v1beta1.rb} +6 -6
  263. data/generated/google/apis/{serviceusage_v1 → serviceusage_v1beta1}/classes.rb +290 -325
  264. data/generated/google/apis/{serviceusage_v1 → serviceusage_v1beta1}/representations.rb +105 -163
  265. data/generated/google/apis/{serviceusage_v1 → serviceusage_v1beta1}/service.rb +105 -163
  266. data/generated/google/apis/serviceuser_v1.rb +2 -2
  267. data/generated/google/apis/serviceuser_v1/classes.rb +44 -101
  268. data/generated/google/apis/serviceuser_v1/representations.rb +2 -30
  269. data/generated/google/apis/serviceuser_v1/service.rb +1 -1
  270. data/generated/google/apis/sheets_v4.rb +1 -1
  271. data/generated/google/apis/sheets_v4/classes.rb +643 -10
  272. data/generated/google/apis/sheets_v4/representations.rb +53 -0
  273. data/generated/google/apis/slides_v1.rb +1 -1
  274. data/generated/google/apis/slides_v1/classes.rb +92 -9
  275. data/generated/google/apis/slides_v1/representations.rb +21 -0
  276. data/generated/google/apis/slides_v1/service.rb +3 -2
  277. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  278. data/generated/google/apis/sourcerepo_v1/classes.rb +4 -73
  279. data/generated/google/apis/sourcerepo_v1/representations.rb +0 -20
  280. data/generated/google/apis/spanner_v1.rb +1 -1
  281. data/generated/google/apis/spanner_v1/classes.rb +238 -2
  282. data/generated/google/apis/spanner_v1/representations.rb +86 -0
  283. data/generated/google/apis/spanner_v1/service.rb +80 -0
  284. data/generated/google/apis/speech_v1.rb +2 -2
  285. data/generated/google/apis/speech_v1/classes.rb +14 -19
  286. data/generated/google/apis/speech_v1/representations.rb +0 -1
  287. data/generated/google/apis/speech_v1/service.rb +1 -1
  288. data/generated/google/apis/speech_v1beta1.rb +2 -2
  289. data/generated/google/apis/speech_v1beta1/service.rb +1 -1
  290. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  291. data/generated/google/apis/sqladmin_v1beta4/classes.rb +15 -6
  292. data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
  293. data/generated/google/apis/storage_v1.rb +1 -1
  294. data/generated/google/apis/storage_v1/service.rb +3 -6
  295. data/generated/google/apis/storagetransfer_v1.rb +2 -2
  296. data/generated/google/apis/storagetransfer_v1/service.rb +1 -1
  297. data/generated/google/apis/testing_v1.rb +1 -1
  298. data/generated/google/apis/testing_v1/classes.rb +107 -2
  299. data/generated/google/apis/testing_v1/representations.rb +38 -0
  300. data/generated/google/apis/texttospeech_v1beta1.rb +34 -0
  301. data/generated/google/apis/texttospeech_v1beta1/classes.rb +278 -0
  302. data/generated/google/apis/texttospeech_v1beta1/representations.rb +133 -0
  303. data/generated/google/apis/texttospeech_v1beta1/service.rb +128 -0
  304. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  305. data/generated/google/apis/toolresults_v1beta3/classes.rb +30 -16
  306. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  307. data/generated/google/apis/tpu_v1alpha1/classes.rb +57 -0
  308. data/generated/google/apis/tpu_v1alpha1/representations.rb +30 -0
  309. data/generated/google/apis/tpu_v1alpha1/service.rb +73 -1
  310. data/generated/google/apis/vault_v1.rb +1 -1
  311. data/generated/google/apis/vault_v1/classes.rb +29 -3
  312. data/generated/google/apis/vault_v1/representations.rb +15 -0
  313. data/generated/google/apis/vault_v1/service.rb +8 -2
  314. data/generated/google/apis/videointelligence_v1beta1.rb +1 -1
  315. data/generated/google/apis/videointelligence_v1beta1/classes.rb +650 -0
  316. data/generated/google/apis/videointelligence_v1beta1/representations.rb +315 -0
  317. data/generated/google/apis/vision_v1.rb +2 -2
  318. data/generated/google/apis/vision_v1/classes.rb +290 -2
  319. data/generated/google/apis/vision_v1/representations.rb +128 -0
  320. data/generated/google/apis/vision_v1/service.rb +187 -1
  321. data/generated/google/apis/vision_v1p1beta1.rb +2 -2
  322. data/generated/google/apis/vision_v1p1beta1/classes.rb +136 -2
  323. data/generated/google/apis/vision_v1p1beta1/representations.rb +71 -0
  324. data/generated/google/apis/vision_v1p1beta1/service.rb +1 -1
  325. data/generated/google/apis/vision_v1p2beta1.rb +39 -0
  326. data/generated/google/apis/vision_v1p2beta1/classes.rb +2172 -0
  327. data/generated/google/apis/vision_v1p2beta1/representations.rb +895 -0
  328. data/generated/google/apis/vision_v1p2beta1/service.rb +126 -0
  329. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  330. data/generated/google/apis/youtube_v3.rb +1 -1
  331. data/generated/google/apis/youtube_v3/classes.rb +12 -0
  332. data/generated/google/apis/youtube_v3/representations.rb +2 -0
  333. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  334. data/lib/google/apis/core/json_representation.rb +1 -1
  335. data/lib/google/apis/version.rb +3 -3
  336. data/samples/web/Gemfile +3 -0
  337. metadata +38 -26
  338. data/generated/google/apis/clouduseraccounts_alpha.rb +0 -44
  339. data/generated/google/apis/clouduseraccounts_alpha/classes.rb +0 -1188
  340. data/generated/google/apis/clouduseraccounts_alpha/representations.rb +0 -494
  341. data/generated/google/apis/clouduseraccounts_alpha/service.rb +0 -1152
  342. data/generated/google/apis/clouduseraccounts_beta/classes.rb +0 -845
  343. data/generated/google/apis/clouduseraccounts_beta/representations.rb +0 -352
  344. data/generated/google/apis/clouduseraccounts_beta/service.rb +0 -908
  345. data/generated/google/apis/clouduseraccounts_vm_alpha.rb +0 -44
  346. data/generated/google/apis/clouduseraccounts_vm_alpha/classes.rb +0 -1188
  347. data/generated/google/apis/clouduseraccounts_vm_alpha/representations.rb +0 -494
  348. data/generated/google/apis/clouduseraccounts_vm_alpha/service.rb +0 -1152
  349. data/generated/google/apis/clouduseraccounts_vm_beta.rb +0 -44
  350. data/generated/google/apis/clouduseraccounts_vm_beta/classes.rb +0 -845
  351. data/generated/google/apis/clouduseraccounts_vm_beta/representations.rb +0 -352
  352. data/generated/google/apis/clouduseraccounts_vm_beta/service.rb +0 -908
  353. data/generated/google/apis/firebaseremoteconfig_v1/classes.rb +0 -200
  354. data/generated/google/apis/firebaseremoteconfig_v1/representations.rb +0 -89
  355. data/generated/google/apis/firebaseremoteconfig_v1/service.rb +0 -153
@@ -20,7 +20,7 @@ require 'google/apis/errors'
20
20
  module Google
21
21
  module Apis
22
22
  module CloudbillingV1
23
- # Google Cloud Billing API
23
+ # Cloud Billing API
24
24
  #
25
25
  # Allows developers to manage billing for their Google Cloud Platform projects
26
26
  # programmatically.
@@ -48,9 +48,47 @@ module Google
48
48
  @batch_path = 'batch'
49
49
  end
50
50
 
51
+ # Creates a billing account.
52
+ # This method can only be used to create
53
+ # [billing subaccounts](https://cloud.google.com/billing/docs/concepts).
54
+ # When creating a subaccount, the current authenticated user must have the
55
+ # `billing.accounts.update` IAM permission on the master account, which is
56
+ # typically given to billing account
57
+ # [administrators](https://cloud.google.com/billing/docs/how-to/billing-access).
58
+ # > This method is currently in
59
+ # > [Beta](https://cloud.google.com/terms/launch-stages).
60
+ # @param [Google::Apis::CloudbillingV1::BillingAccount] billing_account_object
61
+ # @param [String] fields
62
+ # Selector specifying which fields to include in a partial response.
63
+ # @param [String] quota_user
64
+ # Available to use for quota purposes for server-side applications. Can be any
65
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
66
+ # @param [Google::Apis::RequestOptions] options
67
+ # Request-specific options
68
+ #
69
+ # @yield [result, err] Result & error if block supplied
70
+ # @yieldparam result [Google::Apis::CloudbillingV1::BillingAccount] parsed result object
71
+ # @yieldparam err [StandardError] error object if request failed
72
+ #
73
+ # @return [Google::Apis::CloudbillingV1::BillingAccount]
74
+ #
75
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
76
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
77
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
78
+ def create_billing_account(billing_account_object = nil, fields: nil, quota_user: nil, options: nil, &block)
79
+ command = make_simple_command(:post, 'v1/billingAccounts', options)
80
+ command.request_representation = Google::Apis::CloudbillingV1::BillingAccount::Representation
81
+ command.request_object = billing_account_object
82
+ command.response_representation = Google::Apis::CloudbillingV1::BillingAccount::Representation
83
+ command.response_class = Google::Apis::CloudbillingV1::BillingAccount
84
+ command.query['fields'] = fields unless fields.nil?
85
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
86
+ execute_or_queue_command(command, &block)
87
+ end
88
+
51
89
  # Gets information about a billing account. The current authenticated user
52
- # must be an [owner of the billing
53
- # account](https://support.google.com/cloud/answer/4430947).
90
+ # must be a [viewer of the billing
91
+ # account](https://cloud.google.com/billing/docs/how-to/billing-access).
54
92
  # @param [String] name
55
93
  # The resource name of the billing account to retrieve. For example,
56
94
  # `billingAccounts/012345-567890-ABCDEF`.
@@ -81,8 +119,54 @@ module Google
81
119
  execute_or_queue_command(command, &block)
82
120
  end
83
121
 
84
- # Lists the billing accounts that the current authenticated user
85
- # [owns](https://support.google.com/cloud/answer/4430947).
122
+ # Gets the access control policy for a billing account.
123
+ # The caller must have the `billing.accounts.getIamPolicy` permission on the
124
+ # account, which is often given to billing account
125
+ # [viewers](https://cloud.google.com/billing/docs/how-to/billing-access).
126
+ # > This method is currently in
127
+ # > [Beta](https://cloud.google.com/terms/launch-stages).
128
+ # @param [String] resource
129
+ # REQUIRED: The resource for which the policy is being requested.
130
+ # See the operation documentation for the appropriate value for this field.
131
+ # @param [String] fields
132
+ # Selector specifying which fields to include in a partial response.
133
+ # @param [String] quota_user
134
+ # Available to use for quota purposes for server-side applications. Can be any
135
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
136
+ # @param [Google::Apis::RequestOptions] options
137
+ # Request-specific options
138
+ #
139
+ # @yield [result, err] Result & error if block supplied
140
+ # @yieldparam result [Google::Apis::CloudbillingV1::Policy] parsed result object
141
+ # @yieldparam err [StandardError] error object if request failed
142
+ #
143
+ # @return [Google::Apis::CloudbillingV1::Policy]
144
+ #
145
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
146
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
147
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
148
+ def get_billing_account_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
149
+ command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
150
+ command.response_representation = Google::Apis::CloudbillingV1::Policy::Representation
151
+ command.response_class = Google::Apis::CloudbillingV1::Policy
152
+ command.params['resource'] = resource unless resource.nil?
153
+ command.query['fields'] = fields unless fields.nil?
154
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
155
+ execute_or_queue_command(command, &block)
156
+ end
157
+
158
+ # Lists the billing accounts that the current authenticated user has
159
+ # permission to [view](https://cloud.google.com/billing/docs/how-to/billing-
160
+ # access).
161
+ # @param [String] filter
162
+ # Options for how to filter the returned billing accounts.
163
+ # Currently this only supports filtering for
164
+ # [subaccounts](https://cloud.google.com/billing/docs/concepts) under a
165
+ # single provided reseller billing account.
166
+ # (e.g. "master_billing_account=billingAccounts/012345-678901-ABCDEF").
167
+ # Boolean algebra and other fields are not currently supported.
168
+ # > This field is currently in
169
+ # > [Beta](https://cloud.google.com/terms/launch-stages).
86
170
  # @param [Fixnum] page_size
87
171
  # Requested page size. The maximum page size is 100; this is also the
88
172
  # default.
@@ -107,10 +191,11 @@ module Google
107
191
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
108
192
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
109
193
  # @raise [Google::Apis::AuthorizationError] Authorization is required
110
- def list_billing_accounts(page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
194
+ def list_billing_accounts(filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
111
195
  command = make_simple_command(:get, 'v1/billingAccounts', options)
112
196
  command.response_representation = Google::Apis::CloudbillingV1::ListBillingAccountsResponse::Representation
113
197
  command.response_class = Google::Apis::CloudbillingV1::ListBillingAccountsResponse
198
+ command.query['filter'] = filter unless filter.nil?
114
199
  command.query['pageSize'] = page_size unless page_size.nil?
115
200
  command.query['pageToken'] = page_token unless page_token.nil?
116
201
  command.query['fields'] = fields unless fields.nil?
@@ -118,10 +203,132 @@ module Google
118
203
  execute_or_queue_command(command, &block)
119
204
  end
120
205
 
206
+ # Updates a billing account's fields.
207
+ # Currently the only field that can be edited is `display_name`.
208
+ # The current authenticated user must have the `billing.accounts.update`
209
+ # IAM permission, which is typically given to the
210
+ # [administrator](https://cloud.google.com/billing/docs/how-to/billing-access)
211
+ # of the billing account.
212
+ # > This method is currently in
213
+ # > [Beta](https://cloud.google.com/terms/launch-stages).
214
+ # @param [String] name
215
+ # The name of the billing account resource to be updated.
216
+ # @param [Google::Apis::CloudbillingV1::BillingAccount] billing_account_object
217
+ # @param [String] update_mask
218
+ # The update mask applied to the resource.
219
+ # Only "display_name" is currently supported.
220
+ # @param [String] fields
221
+ # Selector specifying which fields to include in a partial response.
222
+ # @param [String] quota_user
223
+ # Available to use for quota purposes for server-side applications. Can be any
224
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
225
+ # @param [Google::Apis::RequestOptions] options
226
+ # Request-specific options
227
+ #
228
+ # @yield [result, err] Result & error if block supplied
229
+ # @yieldparam result [Google::Apis::CloudbillingV1::BillingAccount] parsed result object
230
+ # @yieldparam err [StandardError] error object if request failed
231
+ #
232
+ # @return [Google::Apis::CloudbillingV1::BillingAccount]
233
+ #
234
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
235
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
236
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
237
+ def patch_billing_account(name, billing_account_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
238
+ command = make_simple_command(:patch, 'v1/{+name}', options)
239
+ command.request_representation = Google::Apis::CloudbillingV1::BillingAccount::Representation
240
+ command.request_object = billing_account_object
241
+ command.response_representation = Google::Apis::CloudbillingV1::BillingAccount::Representation
242
+ command.response_class = Google::Apis::CloudbillingV1::BillingAccount
243
+ command.params['name'] = name unless name.nil?
244
+ command.query['updateMask'] = update_mask unless update_mask.nil?
245
+ command.query['fields'] = fields unless fields.nil?
246
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
247
+ execute_or_queue_command(command, &block)
248
+ end
249
+
250
+ # Sets the access control policy for a billing account. Replaces any existing
251
+ # policy.
252
+ # The caller must have the `billing.accounts.setIamPolicy` permission on the
253
+ # account, which is often given to billing account
254
+ # [administrators](https://cloud.google.com/billing/docs/how-to/billing-access).
255
+ # > This method is currently in
256
+ # > [Beta](https://cloud.google.com/terms/launch-stages).
257
+ # @param [String] resource
258
+ # REQUIRED: The resource for which the policy is being specified.
259
+ # See the operation documentation for the appropriate value for this field.
260
+ # @param [Google::Apis::CloudbillingV1::SetIamPolicyRequest] set_iam_policy_request_object
261
+ # @param [String] fields
262
+ # Selector specifying which fields to include in a partial response.
263
+ # @param [String] quota_user
264
+ # Available to use for quota purposes for server-side applications. Can be any
265
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
266
+ # @param [Google::Apis::RequestOptions] options
267
+ # Request-specific options
268
+ #
269
+ # @yield [result, err] Result & error if block supplied
270
+ # @yieldparam result [Google::Apis::CloudbillingV1::Policy] parsed result object
271
+ # @yieldparam err [StandardError] error object if request failed
272
+ #
273
+ # @return [Google::Apis::CloudbillingV1::Policy]
274
+ #
275
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
276
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
277
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
278
+ def set_billing_account_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
279
+ command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
280
+ command.request_representation = Google::Apis::CloudbillingV1::SetIamPolicyRequest::Representation
281
+ command.request_object = set_iam_policy_request_object
282
+ command.response_representation = Google::Apis::CloudbillingV1::Policy::Representation
283
+ command.response_class = Google::Apis::CloudbillingV1::Policy
284
+ command.params['resource'] = resource unless resource.nil?
285
+ command.query['fields'] = fields unless fields.nil?
286
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
287
+ execute_or_queue_command(command, &block)
288
+ end
289
+
290
+ # Tests the access control policy for a billing account. This method takes
291
+ # the resource and a set of permissions as input and returns the subset of
292
+ # the input permissions that the caller is allowed for that resource.
293
+ # > This method is currently in
294
+ # > [Beta](https://cloud.google.com/terms/launch-stages).
295
+ # @param [String] resource
296
+ # REQUIRED: The resource for which the policy detail is being requested.
297
+ # See the operation documentation for the appropriate value for this field.
298
+ # @param [Google::Apis::CloudbillingV1::TestIamPermissionsRequest] test_iam_permissions_request_object
299
+ # @param [String] fields
300
+ # Selector specifying which fields to include in a partial response.
301
+ # @param [String] quota_user
302
+ # Available to use for quota purposes for server-side applications. Can be any
303
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
304
+ # @param [Google::Apis::RequestOptions] options
305
+ # Request-specific options
306
+ #
307
+ # @yield [result, err] Result & error if block supplied
308
+ # @yieldparam result [Google::Apis::CloudbillingV1::TestIamPermissionsResponse] parsed result object
309
+ # @yieldparam err [StandardError] error object if request failed
310
+ #
311
+ # @return [Google::Apis::CloudbillingV1::TestIamPermissionsResponse]
312
+ #
313
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
314
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
315
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
316
+ def test_billing_account_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
317
+ command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
318
+ command.request_representation = Google::Apis::CloudbillingV1::TestIamPermissionsRequest::Representation
319
+ command.request_object = test_iam_permissions_request_object
320
+ command.response_representation = Google::Apis::CloudbillingV1::TestIamPermissionsResponse::Representation
321
+ command.response_class = Google::Apis::CloudbillingV1::TestIamPermissionsResponse
322
+ command.params['resource'] = resource unless resource.nil?
323
+ command.query['fields'] = fields unless fields.nil?
324
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
325
+ execute_or_queue_command(command, &block)
326
+ end
327
+
121
328
  # Lists the projects associated with a billing account. The current
122
- # authenticated user must have the "billing.resourceAssociations.list" IAM
329
+ # authenticated user must have the `billing.resourceAssociations.list` IAM
123
330
  # permission, which is often given to billing account
124
- # [viewers](https://support.google.com/cloud/answer/4430947).
331
+ # [viewers](https://cloud.google.com/billing/docs/how-to/billing-access).
125
332
  # @param [String] name
126
333
  # The resource name of the billing account associated with the projects that
127
334
  # you want to list. For example, `billingAccounts/012345-567890-ABCDEF`.
@@ -203,13 +410,13 @@ module Google
203
410
  # billing account, this method changes the billing account used for resource
204
411
  # usage charges.
205
412
  # *Note:* Incurred charges that have not yet been reported in the transaction
206
- # history of the Google Cloud Console may be billed to the new billing
413
+ # history of the GCP Console might be billed to the new billing
207
414
  # account, even if the charge occurred before the new billing account was
208
415
  # assigned to the project.
209
416
  # The current authenticated user must have ownership privileges for both the
210
417
  # [project](https://cloud.google.com/docs/permissions-overview#h.bgs0oxofvnoo
211
418
  # ) and the [billing
212
- # account](https://support.google.com/cloud/answer/4430947).
419
+ # account](https://cloud.google.com/billing/docs/how-to/billing-access).
213
420
  # You can disable billing on the project by setting the
214
421
  # `billing_account_name` field to empty. This action disassociates the
215
422
  # current billing account from the project. Any billable activity of your
@@ -18,14 +18,14 @@ require 'google/apis/cloudbuild_v1/representations.rb'
18
18
 
19
19
  module Google
20
20
  module Apis
21
- # Google Cloud Container Builder API
21
+ # Cloud Container Builder API
22
22
  #
23
23
  # Builds container images in the cloud.
24
24
  #
25
25
  # @see https://cloud.google.com/container-builder/docs/
26
26
  module CloudbuildV1
27
27
  VERSION = 'V1'
28
- REVISION = '20180205'
28
+ REVISION = '20180327'
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,11 +22,74 @@ module Google
22
22
  module Apis
23
23
  module CloudbuildV1
24
24
 
25
+ # Files in the workspace to upload to Cloud Storage upon successful
26
+ # completion of all build steps.
27
+ class ArtifactObjects
28
+ include Google::Apis::Core::Hashable
29
+
30
+ # Cloud Storage bucket and optional object path, in the form
31
+ # "gs://bucket/path/to/somewhere/". (see [Bucket Name
32
+ # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)
33
+ # ).
34
+ # Files in the workspace matching any path pattern will be uploaded to
35
+ # Cloud Storage with this location as a prefix.
36
+ # Corresponds to the JSON property `location`
37
+ # @return [String]
38
+ attr_accessor :location
39
+
40
+ # Path globs used to match files in the build's workspace.
41
+ # Corresponds to the JSON property `paths`
42
+ # @return [Array<String>]
43
+ attr_accessor :paths
44
+
45
+ def initialize(**args)
46
+ update!(**args)
47
+ end
48
+
49
+ # Update properties of this object
50
+ def update!(**args)
51
+ @location = args[:location] if args.key?(:location)
52
+ @paths = args[:paths] if args.key?(:paths)
53
+ end
54
+ end
55
+
56
+ # Artifacts produced by a build that should be uploaded upon
57
+ # successful completion of all build steps.
58
+ class Artifacts
59
+ include Google::Apis::Core::Hashable
60
+
61
+ # A list of images to be pushed upon the successful completion of all build
62
+ # steps.
63
+ # The images will be pushed using the builder service account's credentials.
64
+ # The digests of the pushed images will be stored in the Build resource's
65
+ # results field.
66
+ # If any of the images fail to be pushed, the build is marked FAILURE.
67
+ # Corresponds to the JSON property `images`
68
+ # @return [Array<String>]
69
+ attr_accessor :images
70
+
71
+ # Files in the workspace to upload to Cloud Storage upon successful
72
+ # completion of all build steps.
73
+ # Corresponds to the JSON property `objects`
74
+ # @return [Google::Apis::CloudbuildV1::ArtifactObjects]
75
+ attr_accessor :objects
76
+
77
+ def initialize(**args)
78
+ update!(**args)
79
+ end
80
+
81
+ # Update properties of this object
82
+ def update!(**args)
83
+ @images = args[:images] if args.key?(:images)
84
+ @objects = args[:objects] if args.key?(:objects)
85
+ end
86
+ end
87
+
25
88
  # A build resource in the Container Builder API.
26
- # At a high level, a Build describes where to find source code, how to build
27
- # it (for example, the builder image to run on the source), and what tag to
28
- # apply to the built image when it is pushed to Google Container Registry.
29
- # Fields can include the following variables which will be expanded when the
89
+ # At a high level, a `Build` describes where to find source code, how to build
90
+ # it (for example, the builder image to run on the source), and where to store
91
+ # the built artifacts.
92
+ # Fields can include the following variables, which will be expanded when the
30
93
  # build is created:
31
94
  # - $PROJECT_ID: the project ID of the build.
32
95
  # - $BUILD_ID: the autogenerated ID of the build.
@@ -39,7 +102,13 @@ module Google
39
102
  class Build
40
103
  include Google::Apis::Core::Hashable
41
104
 
42
- # The ID of the BuildTrigger that triggered this build, if it was
105
+ # Artifacts produced by a build that should be uploaded upon
106
+ # successful completion of all build steps.
107
+ # Corresponds to the JSON property `artifacts`
108
+ # @return [Google::Apis::CloudbuildV1::Artifacts]
109
+ attr_accessor :artifacts
110
+
111
+ # The ID of the `BuildTrigger` that triggered this build, if it was
43
112
  # triggered automatically.
44
113
  # @OutputOnly
45
114
  # Corresponds to the JSON property `buildTriggerId`
@@ -68,10 +137,11 @@ module Google
68
137
 
69
138
  # A list of images to be pushed upon the successful completion of all build
70
139
  # steps.
71
- # The images will be pushed using the builder service account's credentials.
72
- # The digests of the pushed images will be stored in the Build resource's
140
+ # The images are pushed using the builder service account's credentials.
141
+ # The digests of the pushed images will be stored in the `Build` resource's
73
142
  # results field.
74
- # If any of the images fail to be pushed, the build is marked FAILURE.
143
+ # If any of the images fail to be pushed, the build status is marked
144
+ # `FAILURE`.
75
145
  # Corresponds to the JSON property `images`
76
146
  # @return [Array<String>]
77
147
  attr_accessor :images
@@ -102,18 +172,17 @@ module Google
102
172
  # @return [String]
103
173
  attr_accessor :project_id
104
174
 
105
- # Results describes the artifacts created by the build pipeline.
175
+ # Artifacts created by the build pipeline.
106
176
  # Corresponds to the JSON property `results`
107
177
  # @return [Google::Apis::CloudbuildV1::Results]
108
178
  attr_accessor :results
109
179
 
110
- # Secrets to decrypt using Cloud KMS.
180
+ # Secrets to decrypt using Cloud Key Management Service.
111
181
  # Corresponds to the JSON property `secrets`
112
182
  # @return [Array<Google::Apis::CloudbuildV1::Secret>]
113
183
  attr_accessor :secrets
114
184
 
115
- # Source describes the location of the source in a supported storage
116
- # service.
185
+ # Location of the source in a supported storage service.
117
186
  # Corresponds to the JSON property `source`
118
187
  # @return [Google::Apis::CloudbuildV1::Source]
119
188
  attr_accessor :source
@@ -142,24 +211,24 @@ module Google
142
211
  # @return [String]
143
212
  attr_accessor :status_detail
144
213
 
145
- # Describes the operations to be performed on the workspace.
214
+ # Required. The operations to be performed on the workspace.
146
215
  # Corresponds to the JSON property `steps`
147
216
  # @return [Array<Google::Apis::CloudbuildV1::BuildStep>]
148
217
  attr_accessor :steps
149
218
 
150
- # Substitutions data for Build resource.
219
+ # Substitutions data for `Build` resource.
151
220
  # Corresponds to the JSON property `substitutions`
152
221
  # @return [Hash<String,String>]
153
222
  attr_accessor :substitutions
154
223
 
155
- # Tags for annotation of a Build. These are not docker tags.
224
+ # Tags for annotation of a `Build`. These are not docker tags.
156
225
  # Corresponds to the JSON property `tags`
157
226
  # @return [Array<String>]
158
227
  attr_accessor :tags
159
228
 
160
229
  # Amount of time that this build should be allowed to run, to second
161
230
  # granularity. If this amount of time elapses, work on the build will cease
162
- # and the build status will be TIMEOUT.
231
+ # and the build status will be `TIMEOUT`.
163
232
  # Default time is ten minutes.
164
233
  # Corresponds to the JSON property `timeout`
165
234
  # @return [String]
@@ -169,7 +238,7 @@ module Google
169
238
  # * BUILD: time to execute all build steps
170
239
  # * PUSH: time to push all specified images.
171
240
  # * FETCHSOURCE: time to fetch source.
172
- # If the build does not specify source, or does not specify images,
241
+ # If the build does not specify source or images,
173
242
  # these keys will not be included.
174
243
  # @OutputOnly
175
244
  # Corresponds to the JSON property `timing`
@@ -182,6 +251,7 @@ module Google
182
251
 
183
252
  # Update properties of this object
184
253
  def update!(**args)
254
+ @artifacts = args[:artifacts] if args.key?(:artifacts)
185
255
  @build_trigger_id = args[:build_trigger_id] if args.key?(:build_trigger_id)
186
256
  @create_time = args[:create_time] if args.key?(:create_time)
187
257
  @finish_time = args[:finish_time] if args.key?(:finish_time)
@@ -211,10 +281,10 @@ module Google
211
281
  include Google::Apis::Core::Hashable
212
282
 
213
283
  # A build resource in the Container Builder API.
214
- # At a high level, a Build describes where to find source code, how to build
215
- # it (for example, the builder image to run on the source), and what tag to
216
- # apply to the built image when it is pushed to Google Container Registry.
217
- # Fields can include the following variables which will be expanded when the
284
+ # At a high level, a `Build` describes where to find source code, how to build
285
+ # it (for example, the builder image to run on the source), and where to store
286
+ # the built artifacts.
287
+ # Fields can include the following variables, which will be expanded when the
218
288
  # build is created:
219
289
  # - $PROJECT_ID: the project ID of the build.
220
290
  # - $BUILD_ID: the autogenerated ID of the build.
@@ -252,7 +322,7 @@ module Google
252
322
  # @return [Fixnum]
253
323
  attr_accessor :disk_size_gb
254
324
 
255
- # LogStreamingOption to define build log streaming behavior to Google Cloud
325
+ # Option to define build log streaming behavior to Google Cloud
256
326
  # Storage.
257
327
  # Corresponds to the JSON property `logStreamingOption`
258
328
  # @return [String]
@@ -273,7 +343,8 @@ module Google
273
343
  # @return [Array<String>]
274
344
  attr_accessor :source_provenance_hash
275
345
 
276
- # SubstitutionOption to allow unmatch substitutions.
346
+ # Option to specify behavior when there is an error in the substitution
347
+ # checks.
277
348
  # Corresponds to the JSON property `substitutionOption`
278
349
  # @return [String]
279
350
  attr_accessor :substitution_option
@@ -293,14 +364,14 @@ module Google
293
364
  end
294
365
  end
295
366
 
296
- # BuildStep describes a step to perform in the build pipeline.
367
+ # A step in the build pipeline.
297
368
  class BuildStep
298
369
  include Google::Apis::Core::Hashable
299
370
 
300
371
  # A list of arguments that will be presented to the step when it is started.
301
- # If the image used to run the step's container has an entrypoint, these args
302
- # will be used as arguments to that entrypoint. If the image does not define
303
- # an entrypoint, the first element in args will be used as the entrypoint,
372
+ # If the image used to run the step's container has an entrypoint, the `args`
373
+ # are used as arguments to that entrypoint. If the image does not define
374
+ # an entrypoint, the first element in args is used as the entrypoint,
304
375
  # and the remainder will be used as arguments.
305
376
  # Corresponds to the JSON property `args`
306
377
  # @return [Array<String>]
@@ -310,16 +381,16 @@ module Google
310
381
  # If this value is a relative path, it is relative to the build's working
311
382
  # directory. If this value is absolute, it may be outside the build's working
312
383
  # directory, in which case the contents of the path may not be persisted
313
- # across build step executions, unless a volume for that path is specified.
314
- # If the build specifies a RepoSource with dir and a step with a dir which
315
- # specifies an absolute path, the RepoSource dir is ignored for the step's
316
- # execution.
384
+ # across build step executions, unless a `volume` for that path is specified.
385
+ # If the build specifies a `RepoSource` with `dir` and a step with a `dir`,
386
+ # which specifies an absolute path, the `RepoSource` `dir` is ignored for
387
+ # the step's execution.
317
388
  # Corresponds to the JSON property `dir`
318
389
  # @return [String]
319
390
  attr_accessor :dir
320
391
 
321
- # Optional entrypoint to be used instead of the build step image's default
322
- # If unset, the image's default will be used.
392
+ # Entrypoint to be used instead of the build step image's default entrypoint.
393
+ # If unset, the image's default entrypoint is used.
323
394
  # Corresponds to the JSON property `entrypoint`
324
395
  # @return [String]
325
396
  attr_accessor :entrypoint
@@ -331,14 +402,15 @@ module Google
331
402
  # @return [Array<String>]
332
403
  attr_accessor :env
333
404
 
334
- # Optional unique identifier for this build step, used in wait_for to
405
+ # Unique identifier for this build step, used in `wait_for` to
335
406
  # reference this build step as a dependency.
336
407
  # Corresponds to the JSON property `id`
337
408
  # @return [String]
338
409
  attr_accessor :id
339
410
 
340
- # The name of the container image that will run this particular build step.
341
- # If the image is already available in the host's Docker daemon's cache, it
411
+ # Required. The name of the container image that will run this particular
412
+ # build step.
413
+ # If the image is available in the host's Docker daemon's cache, it
342
414
  # will be run directly. If not, the host will attempt to pull the image
343
415
  # first, using the builder service account's credentials if necessary.
344
416
  # The Docker daemon's cache will already have the latest versions of all of
@@ -355,13 +427,29 @@ module Google
355
427
  # @return [String]
356
428
  attr_accessor :name
357
429
 
358
- # A list of environment variables which are encrypted using a Cloud KMS
359
- # crypto key. These values must be specified in the build's secrets.
430
+ # A list of environment variables which are encrypted using a Cloud Key
431
+ # Management Service crypto key. These values must be specified in the
432
+ # build's `Secret`.
360
433
  # Corresponds to the JSON property `secretEnv`
361
434
  # @return [Array<String>]
362
435
  attr_accessor :secret_env
363
436
 
364
- # Stores start and end times for a build execution phase.
437
+ # Status of the build step. At this time, build step status is only updated
438
+ # on build completion; step status is not updated in real-time as the build
439
+ # progresses.
440
+ # @OutputOnly
441
+ # Corresponds to the JSON property `status`
442
+ # @return [String]
443
+ attr_accessor :status
444
+
445
+ # Time limit for executing this build step. If not defined, the step has no
446
+ # time limit and will be allowed to continue to run until either it completes
447
+ # or the build itself times out.
448
+ # Corresponds to the JSON property `timeout`
449
+ # @return [String]
450
+ attr_accessor :timeout
451
+
452
+ # Start and end times for a build execution phase.
365
453
  # Corresponds to the JSON property `timing`
366
454
  # @return [Google::Apis::CloudbuildV1::TimeSpan]
367
455
  attr_accessor :timing
@@ -377,10 +465,10 @@ module Google
377
465
  attr_accessor :volumes
378
466
 
379
467
  # The ID(s) of the step(s) that this build step depends on.
380
- # This build step will not start until all the build steps in wait_for
381
- # have completed successfully. If wait_for is empty, this build step will
382
- # start when all previous build steps in the Build.Steps list have completed
383
- # successfully.
468
+ # This build step will not start until all the build steps in `wait_for`
469
+ # have completed successfully. If `wait_for` is empty, this build step will
470
+ # start when all previous build steps in the `Build.Steps` list have
471
+ # completed successfully.
384
472
  # Corresponds to the JSON property `waitFor`
385
473
  # @return [Array<String>]
386
474
  attr_accessor :wait_for
@@ -398,6 +486,8 @@ module Google
398
486
  @id = args[:id] if args.key?(:id)
399
487
  @name = args[:name] if args.key?(:name)
400
488
  @secret_env = args[:secret_env] if args.key?(:secret_env)
489
+ @status = args[:status] if args.key?(:status)
490
+ @timeout = args[:timeout] if args.key?(:timeout)
401
491
  @timing = args[:timing] if args.key?(:timing)
402
492
  @volumes = args[:volumes] if args.key?(:volumes)
403
493
  @wait_for = args[:wait_for] if args.key?(:wait_for)
@@ -410,10 +500,10 @@ module Google
410
500
  include Google::Apis::Core::Hashable
411
501
 
412
502
  # A build resource in the Container Builder API.
413
- # At a high level, a Build describes where to find source code, how to build
414
- # it (for example, the builder image to run on the source), and what tag to
415
- # apply to the built image when it is pushed to Google Container Registry.
416
- # Fields can include the following variables which will be expanded when the
503
+ # At a high level, a `Build` describes where to find source code, how to build
504
+ # it (for example, the builder image to run on the source), and where to store
505
+ # the built artifacts.
506
+ # Fields can include the following variables, which will be expanded when the
417
507
  # build is created:
418
508
  # - $PROJECT_ID: the project ID of the build.
419
509
  # - $BUILD_ID: the autogenerated ID of the build.
@@ -461,8 +551,7 @@ module Google
461
551
  # @return [Hash<String,String>]
462
552
  attr_accessor :substitutions
463
553
 
464
- # RepoSource describes the location of the source in a Google Cloud Source
465
- # Repository.
554
+ # Location of the source in a Google Cloud Source Repository.
466
555
  # Corresponds to the JSON property `triggerTemplate`
467
556
  # @return [Google::Apis::CloudbuildV1::RepoSource]
468
557
  attr_accessor :trigger_template
@@ -484,7 +573,7 @@ module Google
484
573
  end
485
574
  end
486
575
 
487
- # BuiltImage describes an image built by the pipeline.
576
+ # An image built by the pipeline.
488
577
  class BuiltImage
489
578
  include Google::Apis::Core::Hashable
490
579
 
@@ -499,7 +588,7 @@ module Google
499
588
  # @return [String]
500
589
  attr_accessor :name
501
590
 
502
- # Stores start and end times for a build execution phase.
591
+ # Start and end times for a build execution phase.
503
592
  # Corresponds to the JSON property `pushTiming`
504
593
  # @return [Google::Apis::CloudbuildV1::TimeSpan]
505
594
  attr_accessor :push_timing
@@ -607,11 +696,11 @@ module Google
607
696
  end
608
697
  end
609
698
 
610
- # Response containing existing BuildTriggers.
699
+ # Response containing existing `BuildTriggers`.
611
700
  class ListBuildTriggersResponse
612
701
  include Google::Apis::Core::Hashable
613
702
 
614
- # BuildTriggers for the project, sorted by create_time descending.
703
+ # `BuildTriggers` for the project, sorted by `create_time` descending.
615
704
  # Corresponds to the JSON property `triggers`
616
705
  # @return [Array<Google::Apis::CloudbuildV1::BuildTrigger>]
617
706
  attr_accessor :triggers
@@ -630,7 +719,7 @@ module Google
630
719
  class ListBuildsResponse
631
720
  include Google::Apis::Core::Hashable
632
721
 
633
- # Builds will be sorted by create_time, descending.
722
+ # Builds will be sorted by `create_time`, descending.
634
723
  # Corresponds to the JSON property `builds`
635
724
  # @return [Array<Google::Apis::CloudbuildV1::Build>]
636
725
  attr_accessor :builds
@@ -773,8 +862,7 @@ module Google
773
862
  end
774
863
  end
775
864
 
776
- # RepoSource describes the location of the source in a Google Cloud Source
777
- # Repository.
865
+ # Location of the source in a Google Cloud Source Repository.
778
866
  class RepoSource
779
867
  include Google::Apis::Core::Hashable
780
868
 
@@ -789,19 +877,20 @@ module Google
789
877
  attr_accessor :commit_sha
790
878
 
791
879
  # Directory, relative to the source root, in which to run the build.
792
- # This must be a relative path. If a step's dir is specified and is an
880
+ # This must be a relative path. If a step's `dir` is specified and is an
793
881
  # absolute path, this value is ignored for that step's execution.
794
882
  # Corresponds to the JSON property `dir`
795
883
  # @return [String]
796
884
  attr_accessor :dir
797
885
 
798
- # ID of the project that owns the repo. If omitted, the project ID requesting
799
- # the build is assumed.
886
+ # ID of the project that owns the Cloud Source Repository. If omitted, the
887
+ # project ID requesting the build is assumed.
800
888
  # Corresponds to the JSON property `projectId`
801
889
  # @return [String]
802
890
  attr_accessor :project_id
803
891
 
804
- # Name of the repo. If omitted, the name "default" is assumed.
892
+ # Name of the Cloud Source Repository. If omitted, the name "default" is
893
+ # assumed.
805
894
  # Corresponds to the JSON property `repoName`
806
895
  # @return [String]
807
896
  attr_accessor :repo_name
@@ -826,32 +915,45 @@ module Google
826
915
  end
827
916
  end
828
917
 
829
- # Results describes the artifacts created by the build pipeline.
918
+ # Artifacts created by the build pipeline.
830
919
  class Results
831
920
  include Google::Apis::Core::Hashable
832
921
 
833
- # List of build step digests, in order corresponding to build step indices.
922
+ # Path to the artifact manifest. Only populated when artifacts are uploaded.
923
+ # Corresponds to the JSON property `artifactManifest`
924
+ # @return [String]
925
+ attr_accessor :artifact_manifest
926
+
927
+ # List of build step digests, in the order corresponding to build step
928
+ # indices.
834
929
  # Corresponds to the JSON property `buildStepImages`
835
930
  # @return [Array<String>]
836
931
  attr_accessor :build_step_images
837
932
 
838
- # Images that were built as a part of the build.
933
+ # Container images that were built as a part of the build.
839
934
  # Corresponds to the JSON property `images`
840
935
  # @return [Array<Google::Apis::CloudbuildV1::BuiltImage>]
841
936
  attr_accessor :images
842
937
 
938
+ # Number of artifacts uploaded. Only populated when artifacts are uploaded.
939
+ # Corresponds to the JSON property `numArtifacts`
940
+ # @return [Fixnum]
941
+ attr_accessor :num_artifacts
942
+
843
943
  def initialize(**args)
844
944
  update!(**args)
845
945
  end
846
946
 
847
947
  # Update properties of this object
848
948
  def update!(**args)
949
+ @artifact_manifest = args[:artifact_manifest] if args.key?(:artifact_manifest)
849
950
  @build_step_images = args[:build_step_images] if args.key?(:build_step_images)
850
951
  @images = args[:images] if args.key?(:images)
952
+ @num_artifacts = args[:num_artifacts] if args.key?(:num_artifacts)
851
953
  end
852
954
  end
853
955
 
854
- # RetryBuildRequest specifies a build to retry.
956
+ # Specifies a build to retry.
855
957
  class RetryBuildRequest
856
958
  include Google::Apis::Core::Hashable
857
959
 
@@ -864,7 +966,7 @@ module Google
864
966
  end
865
967
  end
866
968
 
867
- # Secret pairs a set of secret environment variables containing encrypted
969
+ # Pairs a set of secret environment variables containing encrypted
868
970
  # values with the Cloud KMS key to use to decrypt the value.
869
971
  class Secret
870
972
  include Google::Apis::Core::Hashable
@@ -894,19 +996,16 @@ module Google
894
996
  end
895
997
  end
896
998
 
897
- # Source describes the location of the source in a supported storage
898
- # service.
999
+ # Location of the source in a supported storage service.
899
1000
  class Source
900
1001
  include Google::Apis::Core::Hashable
901
1002
 
902
- # RepoSource describes the location of the source in a Google Cloud Source
903
- # Repository.
1003
+ # Location of the source in a Google Cloud Source Repository.
904
1004
  # Corresponds to the JSON property `repoSource`
905
1005
  # @return [Google::Apis::CloudbuildV1::RepoSource]
906
1006
  attr_accessor :repo_source
907
1007
 
908
- # StorageSource describes the location of the source in an archive file in
909
- # Google Cloud Storage.
1008
+ # Location of the source in an archive file in Google Cloud Storage.
910
1009
  # Corresponds to the JSON property `storageSource`
911
1010
  # @return [Google::Apis::CloudbuildV1::StorageSource]
912
1011
  attr_accessor :storage_source
@@ -928,25 +1027,23 @@ module Google
928
1027
  include Google::Apis::Core::Hashable
929
1028
 
930
1029
  # Hash(es) of the build source, which can be used to verify that the original
931
- # source integrity was maintained in the build. Note that FileHashes will
932
- # only be populated if BuildOptions has requested a SourceProvenanceHash.
1030
+ # source integrity was maintained in the build. Note that `FileHashes` will
1031
+ # only be populated if `BuildOptions` has requested a `SourceProvenanceHash`.
933
1032
  # The keys to this map are file paths used as build source and the values
934
1033
  # contain the hash values for those files.
935
1034
  # If the build source came in a single package such as a gzipped tarfile
936
- # (.tar.gz), the FileHash will be for the single path to that file.
1035
+ # (`.tar.gz`), the `FileHash` will be for the single path to that file.
937
1036
  # @OutputOnly
938
1037
  # Corresponds to the JSON property `fileHashes`
939
1038
  # @return [Hash<String,Google::Apis::CloudbuildV1::FileHashes>]
940
1039
  attr_accessor :file_hashes
941
1040
 
942
- # RepoSource describes the location of the source in a Google Cloud Source
943
- # Repository.
1041
+ # Location of the source in a Google Cloud Source Repository.
944
1042
  # Corresponds to the JSON property `resolvedRepoSource`
945
1043
  # @return [Google::Apis::CloudbuildV1::RepoSource]
946
1044
  attr_accessor :resolved_repo_source
947
1045
 
948
- # StorageSource describes the location of the source in an archive file in
949
- # Google Cloud Storage.
1046
+ # Location of the source in an archive file in Google Cloud Storage.
950
1047
  # Corresponds to the JSON property `resolvedStorageSource`
951
1048
  # @return [Google::Apis::CloudbuildV1::StorageSource]
952
1049
  attr_accessor :resolved_storage_source
@@ -1035,12 +1132,11 @@ module Google
1035
1132
  end
1036
1133
  end
1037
1134
 
1038
- # StorageSource describes the location of the source in an archive file in
1039
- # Google Cloud Storage.
1135
+ # Location of the source in an archive file in Google Cloud Storage.
1040
1136
  class StorageSource
1041
1137
  include Google::Apis::Core::Hashable
1042
1138
 
1043
- # Google Cloud Storage bucket containing source (see
1139
+ # Google Cloud Storage bucket containing the source (see
1044
1140
  # [Bucket Name
1045
1141
  # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)
1046
1142
  # ).
@@ -1054,8 +1150,8 @@ module Google
1054
1150
  # @return [Fixnum]
1055
1151
  attr_accessor :generation
1056
1152
 
1057
- # Google Cloud Storage object containing source.
1058
- # This object must be a gzipped archive file (.tar.gz) containing source to
1153
+ # Google Cloud Storage object containing the source.
1154
+ # This object must be a gzipped archive file (`.tar.gz`) containing source to
1059
1155
  # build.
1060
1156
  # Corresponds to the JSON property `object`
1061
1157
  # @return [String]
@@ -1073,7 +1169,7 @@ module Google
1073
1169
  end
1074
1170
  end
1075
1171
 
1076
- # Stores start and end times for a build execution phase.
1172
+ # Start and end times for a build execution phase.
1077
1173
  class TimeSpan
1078
1174
  include Google::Apis::Core::Hashable
1079
1175