google-api-client 0.13.2 → 0.13.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (524) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +149 -0
  3. data/bin/generate-api +6 -2
  4. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +3 -3
  5. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +46 -46
  6. data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +15 -15
  7. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +6 -6
  8. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +2 -2
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1394 -1394
  10. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +322 -322
  11. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +449 -449
  12. data/generated/google/apis/adexchangebuyer_v1_2.rb +35 -0
  13. data/generated/google/apis/adexchangebuyer_v1_2/classes.rb +457 -0
  14. data/generated/google/apis/adexchangebuyer_v1_2/representations.rb +189 -0
  15. data/generated/google/apis/adexchangebuyer_v1_2/service.rb +329 -0
  16. data/generated/google/apis/adexchangebuyer_v1_3.rb +35 -0
  17. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +1347 -0
  18. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +498 -0
  19. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +873 -0
  20. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  21. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +1 -1
  22. data/generated/google/apis/adexchangeseller_v1.rb +37 -0
  23. data/generated/google/apis/adexchangeseller_v1/classes.rb +557 -0
  24. data/generated/google/apis/adexchangeseller_v1/representations.rb +248 -0
  25. data/generated/google/apis/adexchangeseller_v1/service.rb +568 -0
  26. data/generated/google/apis/adexchangeseller_v1_1.rb +37 -0
  27. data/generated/google/apis/adexchangeseller_v1_1/classes.rb +842 -0
  28. data/generated/google/apis/adexchangeseller_v1_1/representations.rb +364 -0
  29. data/generated/google/apis/adexchangeseller_v1_1/service.rb +771 -0
  30. data/generated/google/apis/adexperiencereport_v1.rb +35 -0
  31. data/generated/google/apis/adexperiencereport_v1/classes.rb +138 -0
  32. data/generated/google/apis/adexperiencereport_v1/representations.rb +77 -0
  33. data/generated/google/apis/adexperiencereport_v1/service.rb +123 -0
  34. data/generated/google/apis/admin_directory_v1.rb +1 -1
  35. data/generated/google/apis/admin_directory_v1/classes.rb +60 -0
  36. data/generated/google/apis/admin_directory_v1/representations.rb +29 -0
  37. data/generated/google/apis/admin_directory_v1/service.rb +39 -0
  38. data/generated/google/apis/adsense_v1_4.rb +1 -1
  39. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  40. data/generated/google/apis/analytics_v2_4.rb +37 -0
  41. data/generated/google/apis/analytics_v2_4/classes.rb +26 -0
  42. data/generated/google/apis/analytics_v2_4/representations.rb +26 -0
  43. data/generated/google/apis/analytics_v2_4/service.rb +345 -0
  44. data/generated/google/apis/analytics_v3.rb +1 -1
  45. data/generated/google/apis/analytics_v3/classes.rb +15 -2
  46. data/generated/google/apis/analytics_v3/representations.rb +3 -0
  47. data/generated/google/apis/analyticsreporting_v4.rb +4 -4
  48. data/generated/google/apis/analyticsreporting_v4/classes.rb +891 -891
  49. data/generated/google/apis/analyticsreporting_v4/representations.rb +189 -189
  50. data/generated/google/apis/androiddeviceprovisioning_v1.rb +32 -0
  51. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +917 -0
  52. data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +447 -0
  53. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +419 -0
  54. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  55. data/generated/google/apis/androidenterprise_v1/classes.rb +31 -0
  56. data/generated/google/apis/androidenterprise_v1/representations.rb +14 -0
  57. data/generated/google/apis/androidenterprise_v1/service.rb +76 -0
  58. data/generated/google/apis/androidmanagement_v1.rb +35 -0
  59. data/generated/google/apis/androidmanagement_v1/classes.rb +2039 -0
  60. data/generated/google/apis/androidmanagement_v1/representations.rb +702 -0
  61. data/generated/google/apis/androidmanagement_v1/service.rb +796 -0
  62. data/generated/google/apis/androidpublisher_v1.rb +34 -0
  63. data/generated/google/apis/androidpublisher_v1/classes.rb +67 -0
  64. data/generated/google/apis/androidpublisher_v1/representations.rb +42 -0
  65. data/generated/google/apis/androidpublisher_v1/service.rb +150 -0
  66. data/generated/google/apis/androidpublisher_v1_1.rb +34 -0
  67. data/generated/google/apis/androidpublisher_v1_1/classes.rb +123 -0
  68. data/generated/google/apis/androidpublisher_v1_1/representations.rb +60 -0
  69. data/generated/google/apis/androidpublisher_v1_1/service.rb +192 -0
  70. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  71. data/generated/google/apis/androidpublisher_v2/classes.rb +21 -0
  72. data/generated/google/apis/androidpublisher_v2/representations.rb +3 -0
  73. data/generated/google/apis/androidpublisher_v2/service.rb +6 -2
  74. data/generated/google/apis/appengine_v1.rb +4 -4
  75. data/generated/google/apis/appengine_v1/classes.rb +1519 -1474
  76. data/generated/google/apis/appengine_v1/representations.rb +351 -335
  77. data/generated/google/apis/appengine_v1/service.rb +255 -239
  78. data/generated/google/apis/appengine_v1alpha.rb +41 -0
  79. data/generated/google/apis/appengine_v1alpha/classes.rb +987 -0
  80. data/generated/google/apis/appengine_v1alpha/representations.rb +397 -0
  81. data/generated/google/apis/appengine_v1alpha/service.rb +631 -0
  82. data/generated/google/apis/appengine_v1beta.rb +41 -0
  83. data/generated/google/apis/appengine_v1beta/classes.rb +2876 -0
  84. data/generated/google/apis/appengine_v1beta/representations.rb +1138 -0
  85. data/generated/google/apis/appengine_v1beta/service.rb +1546 -0
  86. data/generated/google/apis/appengine_v1beta4.rb +41 -0
  87. data/generated/google/apis/appengine_v1beta4/classes.rb +2170 -0
  88. data/generated/google/apis/appengine_v1beta4/representations.rb +824 -0
  89. data/generated/google/apis/appengine_v1beta4/service.rb +876 -0
  90. data/generated/google/apis/appengine_v1beta5.rb +41 -0
  91. data/generated/google/apis/appengine_v1beta5/classes.rb +2168 -0
  92. data/generated/google/apis/appengine_v1beta5/representations.rb +822 -0
  93. data/generated/google/apis/appengine_v1beta5/service.rb +877 -0
  94. data/generated/google/apis/appsactivity_v1.rb +1 -1
  95. data/generated/google/apis/appstate_v1.rb +1 -1
  96. data/generated/google/apis/bigquery_v2.rb +1 -1
  97. data/generated/google/apis/bigquery_v2/classes.rb +106 -18
  98. data/generated/google/apis/bigquery_v2/representations.rb +15 -0
  99. data/generated/google/apis/bigquerydatatransfer_v1.rb +41 -0
  100. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +886 -0
  101. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +343 -0
  102. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +1317 -0
  103. data/generated/google/apis/blogger_v2.rb +34 -0
  104. data/generated/google/apis/blogger_v2/classes.rb +947 -0
  105. data/generated/google/apis/blogger_v2/representations.rb +465 -0
  106. data/generated/google/apis/blogger_v2/service.rb +424 -0
  107. data/generated/google/apis/calendar_v3.rb +1 -1
  108. data/generated/google/apis/calendar_v3/classes.rb +4 -207
  109. data/generated/google/apis/calendar_v3/representations.rb +0 -97
  110. data/generated/google/apis/calendar_v3/service.rb +8 -4
  111. data/generated/google/apis/classroom_v1.rb +27 -27
  112. data/generated/google/apis/classroom_v1/classes.rb +1037 -926
  113. data/generated/google/apis/classroom_v1/representations.rb +294 -244
  114. data/generated/google/apis/classroom_v1/service.rb +1114 -1109
  115. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  116. data/generated/google/apis/cloudbilling_v1/classes.rb +473 -56
  117. data/generated/google/apis/cloudbilling_v1/representations.rb +176 -10
  118. data/generated/google/apis/cloudbilling_v1/service.rb +182 -89
  119. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  120. data/generated/google/apis/cloudbuild_v1/classes.rb +666 -625
  121. data/generated/google/apis/cloudbuild_v1/representations.rb +132 -116
  122. data/generated/google/apis/cloudbuild_v1/service.rb +158 -158
  123. data/generated/google/apis/clouddebugger_v2.rb +4 -4
  124. data/generated/google/apis/clouddebugger_v2/classes.rb +637 -639
  125. data/generated/google/apis/clouddebugger_v2/representations.rb +139 -139
  126. data/generated/google/apis/clouddebugger_v2/service.rb +157 -157
  127. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  128. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +310 -310
  129. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +77 -77
  130. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +144 -144
  131. data/generated/google/apis/cloudfunctions_v1.rb +4 -1
  132. data/generated/google/apis/cloudfunctions_v1/classes.rb +265 -6
  133. data/generated/google/apis/cloudfunctions_v1/representations.rb +80 -1
  134. data/generated/google/apis/cloudfunctions_v1/service.rb +118 -0
  135. data/generated/google/apis/cloudfunctions_v1beta2.rb +35 -0
  136. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +678 -0
  137. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +264 -0
  138. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +385 -0
  139. data/generated/google/apis/cloudkms_v1.rb +1 -1
  140. data/generated/google/apis/cloudkms_v1/classes.rb +652 -622
  141. data/generated/google/apis/cloudkms_v1/representations.rb +138 -137
  142. data/generated/google/apis/cloudkms_v1/service.rb +320 -320
  143. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  144. data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
  145. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1129 -1129
  146. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +188 -188
  147. data/generated/google/apis/cloudresourcemanager_v1/service.rb +609 -609
  148. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  149. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +404 -404
  150. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +83 -83
  151. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +328 -328
  152. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +38 -0
  153. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +819 -0
  154. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +304 -0
  155. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +528 -0
  156. data/generated/google/apis/cloudtrace_v1.rb +5 -5
  157. data/generated/google/apis/cloudtrace_v1/classes.rb +67 -67
  158. data/generated/google/apis/cloudtrace_v1/representations.rb +21 -21
  159. data/generated/google/apis/cloudtrace_v1/service.rb +36 -36
  160. data/generated/google/apis/cloudtrace_v2.rb +43 -0
  161. data/generated/google/apis/cloudtrace_v2/classes.rb +797 -0
  162. data/generated/google/apis/cloudtrace_v2/representations.rb +353 -0
  163. data/generated/google/apis/cloudtrace_v2/service.rb +238 -0
  164. data/generated/google/apis/clouduseraccounts_alpha.rb +44 -0
  165. data/generated/google/apis/clouduseraccounts_alpha/classes.rb +1188 -0
  166. data/generated/google/apis/clouduseraccounts_alpha/representations.rb +494 -0
  167. data/generated/google/apis/clouduseraccounts_alpha/service.rb +1152 -0
  168. data/generated/google/apis/clouduseraccounts_vm_alpha.rb +44 -0
  169. data/generated/google/apis/clouduseraccounts_vm_alpha/classes.rb +1188 -0
  170. data/generated/google/apis/clouduseraccounts_vm_alpha/representations.rb +494 -0
  171. data/generated/google/apis/clouduseraccounts_vm_alpha/service.rb +1152 -0
  172. data/generated/google/apis/clouduseraccounts_vm_beta.rb +44 -0
  173. data/generated/google/apis/clouduseraccounts_vm_beta/classes.rb +845 -0
  174. data/generated/google/apis/clouduseraccounts_vm_beta/representations.rb +352 -0
  175. data/generated/google/apis/clouduseraccounts_vm_beta/service.rb +908 -0
  176. data/generated/google/apis/compute_alpha.rb +49 -0
  177. data/generated/google/apis/compute_alpha/classes.rb +23796 -0
  178. data/generated/google/apis/compute_alpha/representations.rb +9391 -0
  179. data/generated/google/apis/compute_alpha/service.rb +24188 -0
  180. data/generated/google/apis/compute_beta.rb +1 -1
  181. data/generated/google/apis/compute_beta/classes.rb +1597 -235
  182. data/generated/google/apis/compute_beta/representations.rb +477 -0
  183. data/generated/google/apis/compute_beta/service.rb +2875 -1677
  184. data/generated/google/apis/compute_v1.rb +1 -1
  185. data/generated/google/apis/compute_v1/classes.rb +319 -197
  186. data/generated/google/apis/compute_v1/representations.rb +51 -0
  187. data/generated/google/apis/compute_v1/service.rb +2057 -172
  188. data/generated/google/apis/consumersurveys_v2.rb +40 -0
  189. data/generated/google/apis/consumersurveys_v2/classes.rb +736 -0
  190. data/generated/google/apis/consumersurveys_v2/representations.rb +343 -0
  191. data/generated/google/apis/consumersurveys_v2/service.rb +478 -0
  192. data/generated/google/apis/container_v1.rb +1 -1
  193. data/generated/google/apis/container_v1/classes.rb +1072 -936
  194. data/generated/google/apis/container_v1/representations.rb +266 -202
  195. data/generated/google/apis/container_v1/service.rb +243 -243
  196. data/generated/google/apis/container_v1beta1.rb +35 -0
  197. data/generated/google/apis/container_v1beta1/classes.rb +1900 -0
  198. data/generated/google/apis/container_v1beta1/representations.rb +662 -0
  199. data/generated/google/apis/container_v1beta1/service.rb +1875 -0
  200. data/generated/google/apis/content_v2.rb +1 -1
  201. data/generated/google/apis/content_v2/classes.rb +72 -3
  202. data/generated/google/apis/content_v2/representations.rb +23 -0
  203. data/generated/google/apis/content_v2/service.rb +23 -18
  204. data/generated/google/apis/content_v2sandbox.rb +35 -0
  205. data/generated/google/apis/content_v2sandbox/classes.rb +2406 -0
  206. data/generated/google/apis/content_v2sandbox/representations.rb +1042 -0
  207. data/generated/google/apis/content_v2sandbox/service.rb +709 -0
  208. data/generated/google/apis/dataflow_v1b3.rb +5 -5
  209. data/generated/google/apis/dataflow_v1b3/classes.rb +3341 -3341
  210. data/generated/google/apis/dataflow_v1b3/representations.rb +807 -807
  211. data/generated/google/apis/dataflow_v1b3/service.rb +492 -444
  212. data/generated/google/apis/dataproc_v1.rb +1 -1
  213. data/generated/google/apis/dataproc_v1/classes.rb +1101 -1101
  214. data/generated/google/apis/dataproc_v1/representations.rb +227 -227
  215. data/generated/google/apis/dataproc_v1/service.rb +254 -254
  216. data/generated/google/apis/dataproc_v1beta2.rb +34 -0
  217. data/generated/google/apis/dataproc_v1beta2/classes.rb +1756 -0
  218. data/generated/google/apis/dataproc_v1beta2/representations.rb +675 -0
  219. data/generated/google/apis/dataproc_v1beta2/service.rb +739 -0
  220. data/generated/google/apis/datastore_v1.rb +4 -4
  221. data/generated/google/apis/datastore_v1/classes.rb +1311 -773
  222. data/generated/google/apis/datastore_v1/representations.rb +351 -148
  223. data/generated/google/apis/datastore_v1/service.rb +206 -55
  224. data/generated/google/apis/datastore_v1beta3.rb +38 -0
  225. data/generated/google/apis/datastore_v1beta3/classes.rb +1621 -0
  226. data/generated/google/apis/datastore_v1beta3/representations.rb +715 -0
  227. data/generated/google/apis/datastore_v1beta3/service.rb +260 -0
  228. data/generated/google/apis/deploymentmanager_alpha.rb +44 -0
  229. data/generated/google/apis/deploymentmanager_alpha/classes.rb +2422 -0
  230. data/generated/google/apis/deploymentmanager_alpha/representations.rb +1054 -0
  231. data/generated/google/apis/deploymentmanager_alpha/service.rb +1883 -0
  232. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  233. data/generated/google/apis/deploymentmanager_v2/classes.rb +81 -2
  234. data/generated/google/apis/deploymentmanager_v2/representations.rb +30 -0
  235. data/generated/google/apis/deploymentmanager_v2beta.rb +44 -0
  236. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +2426 -0
  237. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +1054 -0
  238. data/generated/google/apis/deploymentmanager_v2beta/service.rb +1687 -0
  239. data/generated/google/apis/dfareporting_v2_7.rb +1 -1
  240. data/generated/google/apis/dfareporting_v2_7/classes.rb +9 -26
  241. data/generated/google/apis/dfareporting_v2_7/service.rb +1 -0
  242. data/generated/google/apis/dfareporting_v2_8.rb +1 -1
  243. data/generated/google/apis/dfareporting_v2_8/classes.rb +26 -34
  244. data/generated/google/apis/dfareporting_v2_8/representations.rb +1 -0
  245. data/generated/google/apis/dfareporting_v2_8/service.rb +1 -0
  246. data/generated/google/apis/dlp_v2beta1.rb +36 -0
  247. data/generated/google/apis/dlp_v2beta1/classes.rb +1735 -0
  248. data/generated/google/apis/dlp_v2beta1/representations.rb +879 -0
  249. data/generated/google/apis/dlp_v2beta1/service.rb +406 -0
  250. data/generated/google/apis/dns_v1.rb +1 -1
  251. data/generated/google/apis/dns_v2beta1.rb +1 -1
  252. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  253. data/generated/google/apis/drive_v2.rb +1 -1
  254. data/generated/google/apis/drive_v3.rb +1 -1
  255. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  256. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +267 -261
  257. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +73 -72
  258. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +1 -1
  259. data/generated/google/apis/firebaserules_v1.rb +1 -1
  260. data/generated/google/apis/firebaserules_v1/classes.rb +283 -283
  261. data/generated/google/apis/firebaserules_v1/representations.rb +75 -75
  262. data/generated/google/apis/firebaserules_v1/service.rb +113 -113
  263. data/generated/google/apis/fitness_v1.rb +1 -1
  264. data/generated/google/apis/fitness_v1/classes.rb +1 -1
  265. data/generated/google/apis/fusiontables_v1.rb +37 -0
  266. data/generated/google/apis/fusiontables_v1/classes.rb +977 -0
  267. data/generated/google/apis/fusiontables_v1/representations.rb +449 -0
  268. data/generated/google/apis/fusiontables_v1/service.rb +1373 -0
  269. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  270. data/generated/google/apis/games_management_v1management.rb +1 -1
  271. data/generated/google/apis/games_v1.rb +1 -1
  272. data/generated/google/apis/genomics_v1.rb +8 -8
  273. data/generated/google/apis/genomics_v1/classes.rb +2288 -2288
  274. data/generated/google/apis/genomics_v1/representations.rb +482 -482
  275. data/generated/google/apis/genomics_v1/service.rb +966 -966
  276. data/generated/google/apis/genomics_v1alpha2.rb +40 -0
  277. data/generated/google/apis/genomics_v1alpha2/classes.rb +1207 -0
  278. data/generated/google/apis/genomics_v1alpha2/representations.rb +449 -0
  279. data/generated/google/apis/genomics_v1alpha2/service.rb +426 -0
  280. data/generated/google/apis/gmail_v1.rb +1 -1
  281. data/generated/google/apis/iam_v1.rb +1 -1
  282. data/generated/google/apis/iam_v1/classes.rb +664 -395
  283. data/generated/google/apis/iam_v1/representations.rb +194 -81
  284. data/generated/google/apis/iam_v1/service.rb +657 -92
  285. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  286. data/generated/google/apis/kgsearch_v1/classes.rb +7 -7
  287. data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
  288. data/generated/google/apis/kgsearch_v1/service.rb +8 -8
  289. data/generated/google/apis/language_v1.rb +4 -1
  290. data/generated/google/apis/language_v1/classes.rb +393 -393
  291. data/generated/google/apis/language_v1/representations.rb +95 -95
  292. data/generated/google/apis/language_v1/service.rb +42 -42
  293. data/generated/google/apis/language_v1beta1.rb +4 -1
  294. data/generated/google/apis/language_v1beta1/classes.rb +457 -457
  295. data/generated/google/apis/language_v1beta1/representations.rb +114 -114
  296. data/generated/google/apis/language_v1beta1/service.rb +48 -48
  297. data/generated/google/apis/language_v1beta2.rb +39 -0
  298. data/generated/google/apis/language_v1beta2/classes.rb +824 -0
  299. data/generated/google/apis/language_v1beta2/representations.rb +373 -0
  300. data/generated/google/apis/language_v1beta2/service.rb +217 -0
  301. data/generated/google/apis/logging_v2.rb +9 -9
  302. data/generated/google/apis/logging_v2/classes.rb +840 -834
  303. data/generated/google/apis/logging_v2/representations.rb +168 -167
  304. data/generated/google/apis/logging_v2/service.rb +667 -463
  305. data/generated/google/apis/logging_v2beta1.rb +9 -9
  306. data/generated/google/apis/logging_v2beta1/classes.rb +856 -850
  307. data/generated/google/apis/logging_v2beta1/representations.rb +169 -168
  308. data/generated/google/apis/logging_v2beta1/service.rb +253 -255
  309. data/generated/google/apis/manufacturers_v1.rb +1 -1
  310. data/generated/google/apis/manufacturers_v1/classes.rb +396 -389
  311. data/generated/google/apis/manufacturers_v1/representations.rb +92 -91
  312. data/generated/google/apis/manufacturers_v1/service.rb +8 -7
  313. data/generated/google/apis/ml_v1.rb +1 -1
  314. data/generated/google/apis/ml_v1/classes.rb +1487 -1676
  315. data/generated/google/apis/ml_v1/representations.rb +229 -299
  316. data/generated/google/apis/ml_v1/service.rb +359 -253
  317. data/generated/google/apis/ml_v1beta1.rb +34 -0
  318. data/generated/google/apis/ml_v1beta1/classes.rb +2396 -0
  319. data/generated/google/apis/ml_v1beta1/representations.rb +755 -0
  320. data/generated/google/apis/ml_v1beta1/service.rb +975 -0
  321. data/generated/google/apis/monitoring_v3.rb +6 -6
  322. data/generated/google/apis/monitoring_v3/classes.rb +834 -834
  323. data/generated/google/apis/monitoring_v3/representations.rb +168 -168
  324. data/generated/google/apis/monitoring_v3/service.rb +330 -330
  325. data/generated/google/apis/mybusiness_v3/classes.rb +1181 -1181
  326. data/generated/google/apis/mybusiness_v3/representations.rb +242 -242
  327. data/generated/google/apis/mybusiness_v3/service.rb +241 -241
  328. data/generated/google/apis/oauth2_v1.rb +43 -0
  329. data/generated/google/apis/oauth2_v1/classes.rb +321 -0
  330. data/generated/google/apis/oauth2_v1/representations.rb +135 -0
  331. data/generated/google/apis/oauth2_v1/service.rb +337 -0
  332. data/generated/google/apis/oauth2_v2.rb +1 -1
  333. data/generated/google/apis/oslogin_v1alpha.rb +37 -0
  334. data/generated/google/apis/oslogin_v1alpha/classes.rb +200 -0
  335. data/generated/google/apis/oslogin_v1alpha/representations.rb +105 -0
  336. data/generated/google/apis/oslogin_v1alpha/service.rb +228 -0
  337. data/generated/google/apis/pagespeedonline_v1.rb +32 -0
  338. data/generated/google/apis/pagespeedonline_v1/classes.rb +536 -0
  339. data/generated/google/apis/pagespeedonline_v1/representations.rb +257 -0
  340. data/generated/google/apis/pagespeedonline_v1/service.rb +120 -0
  341. data/generated/google/apis/partners_v2.rb +1 -1
  342. data/generated/google/apis/partners_v2/classes.rb +1512 -1512
  343. data/generated/google/apis/partners_v2/representations.rb +368 -368
  344. data/generated/google/apis/partners_v2/service.rb +596 -596
  345. data/generated/google/apis/people_v1.rb +15 -15
  346. data/generated/google/apis/people_v1/classes.rb +1384 -1383
  347. data/generated/google/apis/people_v1/representations.rb +311 -311
  348. data/generated/google/apis/people_v1/service.rb +208 -202
  349. data/generated/google/apis/playcustomapp_v1.rb +34 -0
  350. data/generated/google/apis/playcustomapp_v1/classes.rb +51 -0
  351. data/generated/google/apis/playcustomapp_v1/representations.rb +40 -0
  352. data/generated/google/apis/playcustomapp_v1/service.rb +114 -0
  353. data/generated/google/apis/playmoviespartner_v1.rb +34 -0
  354. data/generated/google/apis/playmoviespartner_v1/classes.rb +782 -0
  355. data/generated/google/apis/playmoviespartner_v1/representations.rb +191 -0
  356. data/generated/google/apis/playmoviespartner_v1/service.rb +354 -0
  357. data/generated/google/apis/plus_domains_v1.rb +1 -1
  358. data/generated/google/apis/plus_v1.rb +1 -1
  359. data/generated/google/apis/prediction_v1_2.rb +44 -0
  360. data/generated/google/apis/prediction_v1_2/classes.rb +237 -0
  361. data/generated/google/apis/prediction_v1_2/representations.rb +133 -0
  362. data/generated/google/apis/prediction_v1_2/service.rb +287 -0
  363. data/generated/google/apis/prediction_v1_3.rb +44 -0
  364. data/generated/google/apis/prediction_v1_3/classes.rb +286 -0
  365. data/generated/google/apis/prediction_v1_3/representations.rb +139 -0
  366. data/generated/google/apis/prediction_v1_3/service.rb +284 -0
  367. data/generated/google/apis/prediction_v1_4.rb +44 -0
  368. data/generated/google/apis/prediction_v1_4/classes.rb +336 -0
  369. data/generated/google/apis/prediction_v1_4/representations.rb +158 -0
  370. data/generated/google/apis/prediction_v1_4/service.rb +284 -0
  371. data/generated/google/apis/prediction_v1_5.rb +44 -0
  372. data/generated/google/apis/prediction_v1_5/classes.rb +708 -0
  373. data/generated/google/apis/prediction_v1_5/representations.rb +352 -0
  374. data/generated/google/apis/prediction_v1_5/service.rb +357 -0
  375. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  376. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +539 -539
  377. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +105 -105
  378. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +312 -312
  379. data/generated/google/apis/pubsub_v1.rb +4 -4
  380. data/generated/google/apis/pubsub_v1/classes.rb +352 -352
  381. data/generated/google/apis/pubsub_v1/representations.rb +77 -77
  382. data/generated/google/apis/pubsub_v1/service.rb +346 -346
  383. data/generated/google/apis/pubsub_v1beta1a.rb +37 -0
  384. data/generated/google/apis/pubsub_v1beta1a/classes.rb +605 -0
  385. data/generated/google/apis/pubsub_v1beta1a/representations.rb +306 -0
  386. data/generated/google/apis/pubsub_v1beta1a/service.rb +549 -0
  387. data/generated/google/apis/pubsub_v1beta2.rb +37 -0
  388. data/generated/google/apis/pubsub_v1beta2/classes.rb +679 -0
  389. data/generated/google/apis/pubsub_v1beta2/representations.rb +324 -0
  390. data/generated/google/apis/pubsub_v1beta2/service.rb +779 -0
  391. data/generated/google/apis/replicapool_v1beta1.rb +50 -0
  392. data/generated/google/apis/replicapool_v1beta1/classes.rb +918 -0
  393. data/generated/google/apis/replicapool_v1beta1/representations.rb +409 -0
  394. data/generated/google/apis/replicapool_v1beta1/service.rb +511 -0
  395. data/generated/google/apis/resourceviews_v1beta1.rb +50 -0
  396. data/generated/google/apis/resourceviews_v1beta1/classes.rb +338 -0
  397. data/generated/google/apis/resourceviews_v1beta1/representations.rb +201 -0
  398. data/generated/google/apis/resourceviews_v1beta1/service.rb +667 -0
  399. data/generated/google/apis/runtimeconfig_v1.rb +4 -4
  400. data/generated/google/apis/runtimeconfig_v1/classes.rb +118 -118
  401. data/generated/google/apis/runtimeconfig_v1/representations.rb +18 -18
  402. data/generated/google/apis/runtimeconfig_v1/service.rb +21 -21
  403. data/generated/google/apis/runtimeconfig_v1beta1.rb +40 -0
  404. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +805 -0
  405. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +280 -0
  406. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +903 -0
  407. data/generated/google/apis/safebrowsing_v4.rb +32 -0
  408. data/generated/google/apis/safebrowsing_v4/classes.rb +771 -0
  409. data/generated/google/apis/safebrowsing_v4/representations.rb +379 -0
  410. data/generated/google/apis/safebrowsing_v4/service.rb +252 -0
  411. data/generated/google/apis/script_v1.rb +19 -19
  412. data/generated/google/apis/script_v1/classes.rb +99 -157
  413. data/generated/google/apis/script_v1/representations.rb +17 -47
  414. data/generated/google/apis/script_v1/service.rb +12 -12
  415. data/generated/google/apis/searchconsole_v1.rb +1 -1
  416. data/generated/google/apis/searchconsole_v1/classes.rb +84 -84
  417. data/generated/google/apis/searchconsole_v1/representations.rb +32 -32
  418. data/generated/google/apis/servicecontrol_v1.rb +4 -4
  419. data/generated/google/apis/servicecontrol_v1/classes.rb +1086 -1042
  420. data/generated/google/apis/servicecontrol_v1/representations.rb +216 -200
  421. data/generated/google/apis/servicecontrol_v1/service.rb +120 -114
  422. data/generated/google/apis/servicemanagement_v1.rb +7 -7
  423. data/generated/google/apis/servicemanagement_v1/classes.rb +3375 -3383
  424. data/generated/google/apis/servicemanagement_v1/representations.rb +551 -552
  425. data/generated/google/apis/servicemanagement_v1/service.rb +386 -386
  426. data/generated/google/apis/serviceuser_v1.rb +5 -5
  427. data/generated/google/apis/serviceuser_v1/classes.rb +2667 -2598
  428. data/generated/google/apis/serviceuser_v1/representations.rb +406 -389
  429. data/generated/google/apis/serviceuser_v1/service.rb +43 -43
  430. data/generated/google/apis/sheets_v4.rb +7 -7
  431. data/generated/google/apis/sheets_v4/classes.rb +5031 -5024
  432. data/generated/google/apis/sheets_v4/representations.rb +931 -930
  433. data/generated/google/apis/sheets_v4/service.rb +244 -244
  434. data/generated/google/apis/slides_v1.rb +10 -10
  435. data/generated/google/apis/slides_v1/classes.rb +2915 -2915
  436. data/generated/google/apis/slides_v1/representations.rb +698 -698
  437. data/generated/google/apis/slides_v1/service.rb +35 -35
  438. data/generated/google/apis/sourcerepo_v1.rb +3 -3
  439. data/generated/google/apis/sourcerepo_v1/classes.rb +313 -313
  440. data/generated/google/apis/sourcerepo_v1/representations.rb +77 -77
  441. data/generated/google/apis/sourcerepo_v1/service.rb +102 -102
  442. data/generated/google/apis/spanner_v1.rb +4 -4
  443. data/generated/google/apis/spanner_v1/classes.rb +2304 -2251
  444. data/generated/google/apis/spanner_v1/representations.rb +338 -323
  445. data/generated/google/apis/spanner_v1/service.rb +689 -689
  446. data/generated/google/apis/spectrum_v1explorer.rb +31 -0
  447. data/generated/google/apis/spectrum_v1explorer/classes.rb +1612 -0
  448. data/generated/google/apis/spectrum_v1explorer/representations.rb +611 -0
  449. data/generated/google/apis/spectrum_v1explorer/service.rb +285 -0
  450. data/generated/google/apis/speech_v1.rb +34 -0
  451. data/generated/google/apis/speech_v1/classes.rb +572 -0
  452. data/generated/google/apis/speech_v1/representations.rb +236 -0
  453. data/generated/google/apis/speech_v1/service.rb +277 -0
  454. data/generated/google/apis/speech_v1beta1.rb +1 -1
  455. data/generated/google/apis/speech_v1beta1/classes.rb +312 -312
  456. data/generated/google/apis/speech_v1beta1/representations.rb +48 -48
  457. data/generated/google/apis/speech_v1beta1/service.rb +46 -46
  458. data/generated/google/apis/sqladmin_v1beta3.rb +38 -0
  459. data/generated/google/apis/sqladmin_v1beta3/classes.rb +1615 -0
  460. data/generated/google/apis/sqladmin_v1beta3/representations.rb +731 -0
  461. data/generated/google/apis/sqladmin_v1beta3/service.rb +1045 -0
  462. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  463. data/generated/google/apis/sqladmin_v1beta4/classes.rb +15 -7
  464. data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
  465. data/generated/google/apis/storage_v1.rb +1 -1
  466. data/generated/google/apis/storage_v1/classes.rb +7 -6
  467. data/generated/google/apis/storage_v1/service.rb +51 -29
  468. data/generated/google/apis/storage_v1beta1.rb +40 -0
  469. data/generated/google/apis/storage_v1beta1/classes.rb +616 -0
  470. data/generated/google/apis/storage_v1beta1/representations.rb +249 -0
  471. data/generated/google/apis/storage_v1beta1/service.rb +1082 -0
  472. data/generated/google/apis/storage_v1beta2.rb +40 -0
  473. data/generated/google/apis/storage_v1beta2/classes.rb +1048 -0
  474. data/generated/google/apis/storage_v1beta2/representations.rb +425 -0
  475. data/generated/google/apis/storage_v1beta2/service.rb +1736 -0
  476. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  477. data/generated/google/apis/storagetransfer_v1/classes.rb +556 -556
  478. data/generated/google/apis/storagetransfer_v1/representations.rb +139 -139
  479. data/generated/google/apis/storagetransfer_v1/service.rb +148 -148
  480. data/generated/google/apis/streetviewpublish_v1.rb +36 -0
  481. data/generated/google/apis/streetviewpublish_v1/classes.rb +705 -0
  482. data/generated/google/apis/streetviewpublish_v1/representations.rb +296 -0
  483. data/generated/google/apis/streetviewpublish_v1/service.rb +485 -0
  484. data/generated/google/apis/taskqueue_v1beta1.rb +37 -0
  485. data/generated/google/apis/taskqueue_v1beta1/classes.rb +242 -0
  486. data/generated/google/apis/taskqueue_v1beta1/representations.rb +124 -0
  487. data/generated/google/apis/taskqueue_v1beta1/service.rb +269 -0
  488. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  489. data/generated/google/apis/toolresults_v1beta3/classes.rb +382 -4
  490. data/generated/google/apis/toolresults_v1beta3/representations.rb +139 -0
  491. data/generated/google/apis/toolresults_v1beta3/service.rb +50 -0
  492. data/generated/google/apis/toolresults_v1beta3firstparty.rb +31 -0
  493. data/generated/google/apis/toolresults_v1beta3firstparty/classes.rb +2630 -0
  494. data/generated/google/apis/toolresults_v1beta3firstparty/representations.rb +886 -0
  495. data/generated/google/apis/toolresults_v1beta3firstparty/service.rb +1288 -0
  496. data/generated/google/apis/translate_v2/classes.rb +111 -111
  497. data/generated/google/apis/translate_v2/representations.rb +49 -49
  498. data/generated/google/apis/translate_v2/service.rb +94 -94
  499. data/generated/google/apis/vault_v1.rb +31 -0
  500. data/generated/google/apis/vault_v1/classes.rb +554 -0
  501. data/generated/google/apis/vault_v1/representations.rb +318 -0
  502. data/generated/google/apis/vault_v1/service.rb +677 -0
  503. data/generated/google/apis/videointelligence_v1beta1.rb +34 -0
  504. data/generated/google/apis/videointelligence_v1beta1/classes.rb +903 -0
  505. data/generated/google/apis/videointelligence_v1beta1/representations.rb +351 -0
  506. data/generated/google/apis/videointelligence_v1beta1/service.rb +92 -0
  507. data/generated/google/apis/vision_v1.rb +4 -4
  508. data/generated/google/apis/vision_v1/classes.rb +1176 -1178
  509. data/generated/google/apis/vision_v1/representations.rb +235 -235
  510. data/generated/google/apis/webmasters_v3.rb +1 -1
  511. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  512. data/generated/google/apis/youtube_analytics_v1beta1.rb +46 -0
  513. data/generated/google/apis/youtube_analytics_v1beta1/classes.rb +337 -0
  514. data/generated/google/apis/youtube_analytics_v1beta1/representations.rb +174 -0
  515. data/generated/google/apis/youtube_analytics_v1beta1/service.rb +491 -0
  516. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  517. data/generated/google/apis/youtube_partner_v1/classes.rb +3 -3
  518. data/generated/google/apis/youtube_partner_v1/representations.rb +1 -1
  519. data/generated/google/apis/youtubereporting_v1.rb +4 -4
  520. data/generated/google/apis/youtubereporting_v1/classes.rb +134 -134
  521. data/generated/google/apis/youtubereporting_v1/representations.rb +36 -36
  522. data/generated/google/apis/youtubereporting_v1/service.rb +131 -131
  523. data/lib/google/apis/version.rb +1 -1
  524. metadata +246 -2
@@ -0,0 +1,40 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'google/apis/genomics_v1alpha2/service.rb'
16
+ require 'google/apis/genomics_v1alpha2/classes.rb'
17
+ require 'google/apis/genomics_v1alpha2/representations.rb'
18
+
19
+ module Google
20
+ module Apis
21
+ # Genomics API
22
+ #
23
+ # Upload, process, query, and search Genomics data in the cloud.
24
+ #
25
+ # @see https://cloud.google.com/genomics
26
+ module GenomicsV1alpha2
27
+ VERSION = 'V1alpha2'
28
+ REVISION = '20170824'
29
+
30
+ # View and manage your data across Google Cloud Platform services
31
+ AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
32
+
33
+ # View and manage your Google Compute Engine resources
34
+ AUTH_COMPUTE = 'https://www.googleapis.com/auth/compute'
35
+
36
+ # View and manage Genomics data
37
+ AUTH_GENOMICS = 'https://www.googleapis.com/auth/genomics'
38
+ end
39
+ end
40
+ end
@@ -0,0 +1,1207 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module GenomicsV1alpha2
24
+
25
+ # The request message for Operations.CancelOperation.
26
+ class CancelOperationRequest
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
+ # Describes a Compute Engine resource that is being managed by a running
39
+ # pipeline.
40
+ class ComputeEngine
41
+ include Google::Apis::Core::Hashable
42
+
43
+ # The names of the disks that were created for this pipeline.
44
+ # Corresponds to the JSON property `diskNames`
45
+ # @return [Array<String>]
46
+ attr_accessor :disk_names
47
+
48
+ # The instance on which the operation is running.
49
+ # Corresponds to the JSON property `instanceName`
50
+ # @return [String]
51
+ attr_accessor :instance_name
52
+
53
+ # The machine type of the instance.
54
+ # Corresponds to the JSON property `machineType`
55
+ # @return [String]
56
+ attr_accessor :machine_type
57
+
58
+ # The availability zone in which the instance resides.
59
+ # Corresponds to the JSON property `zone`
60
+ # @return [String]
61
+ attr_accessor :zone
62
+
63
+ def initialize(**args)
64
+ update!(**args)
65
+ end
66
+
67
+ # Update properties of this object
68
+ def update!(**args)
69
+ @disk_names = args[:disk_names] if args.key?(:disk_names)
70
+ @instance_name = args[:instance_name] if args.key?(:instance_name)
71
+ @machine_type = args[:machine_type] if args.key?(:machine_type)
72
+ @zone = args[:zone] if args.key?(:zone)
73
+ end
74
+ end
75
+
76
+ # Stores the information that the controller will fetch from the
77
+ # server in order to run. Should only be used by VMs created by the
78
+ # Pipelines Service and not by end users.
79
+ class ControllerConfig
80
+ include Google::Apis::Core::Hashable
81
+
82
+ #
83
+ # Corresponds to the JSON property `cmd`
84
+ # @return [String]
85
+ attr_accessor :cmd
86
+
87
+ #
88
+ # Corresponds to the JSON property `disks`
89
+ # @return [Hash<String,String>]
90
+ attr_accessor :disks
91
+
92
+ #
93
+ # Corresponds to the JSON property `gcsLogPath`
94
+ # @return [String]
95
+ attr_accessor :gcs_log_path
96
+
97
+ #
98
+ # Corresponds to the JSON property `gcsSinks`
99
+ # @return [Hash<String,Google::Apis::GenomicsV1alpha2::RepeatedString>]
100
+ attr_accessor :gcs_sinks
101
+
102
+ #
103
+ # Corresponds to the JSON property `gcsSources`
104
+ # @return [Hash<String,Google::Apis::GenomicsV1alpha2::RepeatedString>]
105
+ attr_accessor :gcs_sources
106
+
107
+ #
108
+ # Corresponds to the JSON property `image`
109
+ # @return [String]
110
+ attr_accessor :image
111
+
112
+ #
113
+ # Corresponds to the JSON property `machineType`
114
+ # @return [String]
115
+ attr_accessor :machine_type
116
+
117
+ #
118
+ # Corresponds to the JSON property `vars`
119
+ # @return [Hash<String,String>]
120
+ attr_accessor :vars
121
+
122
+ def initialize(**args)
123
+ update!(**args)
124
+ end
125
+
126
+ # Update properties of this object
127
+ def update!(**args)
128
+ @cmd = args[:cmd] if args.key?(:cmd)
129
+ @disks = args[:disks] if args.key?(:disks)
130
+ @gcs_log_path = args[:gcs_log_path] if args.key?(:gcs_log_path)
131
+ @gcs_sinks = args[:gcs_sinks] if args.key?(:gcs_sinks)
132
+ @gcs_sources = args[:gcs_sources] if args.key?(:gcs_sources)
133
+ @image = args[:image] if args.key?(:image)
134
+ @machine_type = args[:machine_type] if args.key?(:machine_type)
135
+ @vars = args[:vars] if args.key?(:vars)
136
+ end
137
+ end
138
+
139
+ # A Google Compute Engine disk resource specification.
140
+ class Disk
141
+ include Google::Apis::Core::Hashable
142
+
143
+ # Deprecated. Disks created by the Pipelines API will be deleted at the end
144
+ # of the pipeline run, regardless of what this field is set to.
145
+ # Corresponds to the JSON property `autoDelete`
146
+ # @return [Boolean]
147
+ attr_accessor :auto_delete
148
+ alias_method :auto_delete?, :auto_delete
149
+
150
+ # Required at create time and cannot be overridden at run time.
151
+ # Specifies the path in the docker container where files on
152
+ # this disk should be located. For example, if `mountPoint`
153
+ # is `/mnt/disk`, and the parameter has `localPath`
154
+ # `inputs/file.txt`, the docker container can access the data at
155
+ # `/mnt/disk/inputs/file.txt`.
156
+ # Corresponds to the JSON property `mountPoint`
157
+ # @return [String]
158
+ attr_accessor :mount_point
159
+
160
+ # Required. The name of the disk that can be used in the pipeline
161
+ # parameters. Must be 1 - 63 characters.
162
+ # The name "boot" is reserved for system use.
163
+ # Corresponds to the JSON property `name`
164
+ # @return [String]
165
+ attr_accessor :name
166
+
167
+ # Specifies how a sourced-base persistent disk will be mounted. See
168
+ # https://cloud.google.com/compute/docs/disks/persistent-disks#
169
+ # use_multi_instances
170
+ # for more details.
171
+ # Can only be set at create time.
172
+ # Corresponds to the JSON property `readOnly`
173
+ # @return [Boolean]
174
+ attr_accessor :read_only
175
+ alias_method :read_only?, :read_only
176
+
177
+ # The size of the disk. Defaults to 500 (GB).
178
+ # This field is not applicable for local SSD.
179
+ # Corresponds to the JSON property `sizeGb`
180
+ # @return [Fixnum]
181
+ attr_accessor :size_gb
182
+
183
+ # The full or partial URL of the persistent disk to attach. See
184
+ # https://cloud.google.com/compute/docs/reference/latest/instances#resource
185
+ # and
186
+ # https://cloud.google.com/compute/docs/disks/persistent-disks#snapshots
187
+ # for more details.
188
+ # Corresponds to the JSON property `source`
189
+ # @return [String]
190
+ attr_accessor :source
191
+
192
+ # Required. The type of the disk to create.
193
+ # Corresponds to the JSON property `type`
194
+ # @return [String]
195
+ attr_accessor :type
196
+
197
+ def initialize(**args)
198
+ update!(**args)
199
+ end
200
+
201
+ # Update properties of this object
202
+ def update!(**args)
203
+ @auto_delete = args[:auto_delete] if args.key?(:auto_delete)
204
+ @mount_point = args[:mount_point] if args.key?(:mount_point)
205
+ @name = args[:name] if args.key?(:name)
206
+ @read_only = args[:read_only] if args.key?(:read_only)
207
+ @size_gb = args[:size_gb] if args.key?(:size_gb)
208
+ @source = args[:source] if args.key?(:source)
209
+ @type = args[:type] if args.key?(:type)
210
+ end
211
+ end
212
+
213
+ # The Docker execuctor specification.
214
+ class DockerExecutor
215
+ include Google::Apis::Core::Hashable
216
+
217
+ # Required. The command or newline delimited script to run. The command
218
+ # string will be executed within a bash shell.
219
+ # If the command exits with a non-zero exit code, output parameter
220
+ # de-localization will be skipped and the pipeline operation's
221
+ # `error` field will be populated.
222
+ # Maximum command string length is 16384.
223
+ # Corresponds to the JSON property `cmd`
224
+ # @return [String]
225
+ attr_accessor :cmd
226
+
227
+ # Required. Image name from either Docker Hub or Google Container Registry.
228
+ # Users that run pipelines must have READ access to the image.
229
+ # Corresponds to the JSON property `imageName`
230
+ # @return [String]
231
+ attr_accessor :image_name
232
+
233
+ def initialize(**args)
234
+ update!(**args)
235
+ end
236
+
237
+ # Update properties of this object
238
+ def update!(**args)
239
+ @cmd = args[:cmd] if args.key?(:cmd)
240
+ @image_name = args[:image_name] if args.key?(:image_name)
241
+ end
242
+ end
243
+
244
+ # A generic empty message that you can re-use to avoid defining duplicated
245
+ # empty messages in your APIs. A typical example is to use it as the request
246
+ # or the response type of an API method. For instance:
247
+ # service Foo `
248
+ # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
249
+ # `
250
+ # The JSON representation for `Empty` is empty JSON object ````.
251
+ class Empty
252
+ include Google::Apis::Core::Hashable
253
+
254
+ def initialize(**args)
255
+ update!(**args)
256
+ end
257
+
258
+ # Update properties of this object
259
+ def update!(**args)
260
+ end
261
+ end
262
+
263
+ # The read group set import response.
264
+ class ImportReadGroupSetsResponse
265
+ include Google::Apis::Core::Hashable
266
+
267
+ # IDs of the read group sets that were created.
268
+ # Corresponds to the JSON property `readGroupSetIds`
269
+ # @return [Array<String>]
270
+ attr_accessor :read_group_set_ids
271
+
272
+ def initialize(**args)
273
+ update!(**args)
274
+ end
275
+
276
+ # Update properties of this object
277
+ def update!(**args)
278
+ @read_group_set_ids = args[:read_group_set_ids] if args.key?(:read_group_set_ids)
279
+ end
280
+ end
281
+
282
+ # The variant data import response.
283
+ class ImportVariantsResponse
284
+ include Google::Apis::Core::Hashable
285
+
286
+ # IDs of the call sets created during the import.
287
+ # Corresponds to the JSON property `callSetIds`
288
+ # @return [Array<String>]
289
+ attr_accessor :call_set_ids
290
+
291
+ def initialize(**args)
292
+ update!(**args)
293
+ end
294
+
295
+ # Update properties of this object
296
+ def update!(**args)
297
+ @call_set_ids = args[:call_set_ids] if args.key?(:call_set_ids)
298
+ end
299
+ end
300
+
301
+ # The response message for Operations.ListOperations.
302
+ class ListOperationsResponse
303
+ include Google::Apis::Core::Hashable
304
+
305
+ # The standard List next-page token.
306
+ # Corresponds to the JSON property `nextPageToken`
307
+ # @return [String]
308
+ attr_accessor :next_page_token
309
+
310
+ # A list of operations that matches the specified filter in the request.
311
+ # Corresponds to the JSON property `operations`
312
+ # @return [Array<Google::Apis::GenomicsV1alpha2::Operation>]
313
+ attr_accessor :operations
314
+
315
+ def initialize(**args)
316
+ update!(**args)
317
+ end
318
+
319
+ # Update properties of this object
320
+ def update!(**args)
321
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
322
+ @operations = args[:operations] if args.key?(:operations)
323
+ end
324
+ end
325
+
326
+ # The response of ListPipelines. Contains at most `pageSize`
327
+ # pipelines. If it contains `pageSize` pipelines, and more pipelines
328
+ # exist, then `nextPageToken` will be populated and should be
329
+ # used as the `pageToken` argument to a subsequent ListPipelines
330
+ # request.
331
+ class ListPipelinesResponse
332
+ include Google::Apis::Core::Hashable
333
+
334
+ # The token to use to get the next page of results.
335
+ # Corresponds to the JSON property `nextPageToken`
336
+ # @return [String]
337
+ attr_accessor :next_page_token
338
+
339
+ # The matched pipelines.
340
+ # Corresponds to the JSON property `pipelines`
341
+ # @return [Array<Google::Apis::GenomicsV1alpha2::Pipeline>]
342
+ attr_accessor :pipelines
343
+
344
+ def initialize(**args)
345
+ update!(**args)
346
+ end
347
+
348
+ # Update properties of this object
349
+ def update!(**args)
350
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
351
+ @pipelines = args[:pipelines] if args.key?(:pipelines)
352
+ end
353
+ end
354
+
355
+ # LocalCopy defines how a remote file should be copied to and from the VM.
356
+ class LocalCopy
357
+ include Google::Apis::Core::Hashable
358
+
359
+ # Required. The name of the disk where this parameter is
360
+ # located. Can be the name of one of the disks specified in the
361
+ # Resources field, or "boot", which represents the Docker
362
+ # instance's boot disk and has a mount point of `/`.
363
+ # Corresponds to the JSON property `disk`
364
+ # @return [String]
365
+ attr_accessor :disk
366
+
367
+ # Required. The path within the user's docker container where
368
+ # this input should be localized to and from, relative to the specified
369
+ # disk's mount point. For example: file.txt,
370
+ # Corresponds to the JSON property `path`
371
+ # @return [String]
372
+ attr_accessor :path
373
+
374
+ def initialize(**args)
375
+ update!(**args)
376
+ end
377
+
378
+ # Update properties of this object
379
+ def update!(**args)
380
+ @disk = args[:disk] if args.key?(:disk)
381
+ @path = args[:path] if args.key?(:path)
382
+ end
383
+ end
384
+
385
+ # The logging options for the pipeline run.
386
+ class LoggingOptions
387
+ include Google::Apis::Core::Hashable
388
+
389
+ # The location in Google Cloud Storage to which the pipeline logs
390
+ # will be copied. Can be specified as a fully qualified directory
391
+ # path, in which case logs will be output with a unique identifier
392
+ # as the filename in that directory, or as a fully specified path,
393
+ # which must end in `.log`, in which case that path will be
394
+ # used, and the user must ensure that logs are not
395
+ # overwritten. Stdout and stderr logs from the run are also
396
+ # generated and output as `-stdout.log` and `-stderr.log`.
397
+ # Corresponds to the JSON property `gcsPath`
398
+ # @return [String]
399
+ attr_accessor :gcs_path
400
+
401
+ def initialize(**args)
402
+ update!(**args)
403
+ end
404
+
405
+ # Update properties of this object
406
+ def update!(**args)
407
+ @gcs_path = args[:gcs_path] if args.key?(:gcs_path)
408
+ end
409
+ end
410
+
411
+ # This resource represents a long-running operation that is the result of a
412
+ # network API call.
413
+ class Operation
414
+ include Google::Apis::Core::Hashable
415
+
416
+ # If the value is `false`, it means the operation is still in progress.
417
+ # If `true`, the operation is completed, and either `error` or `response` is
418
+ # available.
419
+ # Corresponds to the JSON property `done`
420
+ # @return [Boolean]
421
+ attr_accessor :done
422
+ alias_method :done?, :done
423
+
424
+ # The `Status` type defines a logical error model that is suitable for different
425
+ # programming environments, including REST APIs and RPC APIs. It is used by
426
+ # [gRPC](https://github.com/grpc). The error model is designed to be:
427
+ # - Simple to use and understand for most users
428
+ # - Flexible enough to meet unexpected needs
429
+ # # Overview
430
+ # The `Status` message contains three pieces of data: error code, error message,
431
+ # and error details. The error code should be an enum value of
432
+ # google.rpc.Code, but it may accept additional error codes if needed. The
433
+ # error message should be a developer-facing English message that helps
434
+ # developers *understand* and *resolve* the error. If a localized user-facing
435
+ # error message is needed, put the localized message in the error details or
436
+ # localize it in the client. The optional error details may contain arbitrary
437
+ # information about the error. There is a predefined set of error detail types
438
+ # in the package `google.rpc` that can be used for common error conditions.
439
+ # # Language mapping
440
+ # The `Status` message is the logical representation of the error model, but it
441
+ # is not necessarily the actual wire format. When the `Status` message is
442
+ # exposed in different client libraries and different wire protocols, it can be
443
+ # mapped differently. For example, it will likely be mapped to some exceptions
444
+ # in Java, but more likely mapped to some error codes in C.
445
+ # # Other uses
446
+ # The error model and the `Status` message can be used in a variety of
447
+ # environments, either with or without APIs, to provide a
448
+ # consistent developer experience across different environments.
449
+ # Example uses of this error model include:
450
+ # - Partial errors. If a service needs to return partial errors to the client,
451
+ # it may embed the `Status` in the normal response to indicate the partial
452
+ # errors.
453
+ # - Workflow errors. A typical workflow has multiple steps. Each step may
454
+ # have a `Status` message for error reporting.
455
+ # - Batch operations. If a client uses batch request and batch response, the
456
+ # `Status` message should be used directly inside batch response, one for
457
+ # each error sub-response.
458
+ # - Asynchronous operations. If an API call embeds asynchronous operation
459
+ # results in its response, the status of those operations should be
460
+ # represented directly using the `Status` message.
461
+ # - Logging. If some API errors are stored in logs, the message `Status` could
462
+ # be used directly after any stripping needed for security/privacy reasons.
463
+ # Corresponds to the JSON property `error`
464
+ # @return [Google::Apis::GenomicsV1alpha2::Status]
465
+ attr_accessor :error
466
+
467
+ # An OperationMetadata object. This will always be returned with the Operation.
468
+ # Corresponds to the JSON property `metadata`
469
+ # @return [Hash<String,Object>]
470
+ attr_accessor :metadata
471
+
472
+ # The server-assigned name, which is only unique within the same service that
473
+ # originally returns it. For example&#58; `operations/CJHU7Oi_ChDrveSpBRjfuL-
474
+ # qzoWAgEw`
475
+ # Corresponds to the JSON property `name`
476
+ # @return [String]
477
+ attr_accessor :name
478
+
479
+ # If importing ReadGroupSets, an ImportReadGroupSetsResponse is returned. If
480
+ # importing Variants, an ImportVariantsResponse is returned. For pipelines and
481
+ # exports, an empty response is returned.
482
+ # Corresponds to the JSON property `response`
483
+ # @return [Hash<String,Object>]
484
+ attr_accessor :response
485
+
486
+ def initialize(**args)
487
+ update!(**args)
488
+ end
489
+
490
+ # Update properties of this object
491
+ def update!(**args)
492
+ @done = args[:done] if args.key?(:done)
493
+ @error = args[:error] if args.key?(:error)
494
+ @metadata = args[:metadata] if args.key?(:metadata)
495
+ @name = args[:name] if args.key?(:name)
496
+ @response = args[:response] if args.key?(:response)
497
+ end
498
+ end
499
+
500
+ # An event that occurred during an Operation.
501
+ class OperationEvent
502
+ include Google::Apis::Core::Hashable
503
+
504
+ # Required description of event.
505
+ # Corresponds to the JSON property `description`
506
+ # @return [String]
507
+ attr_accessor :description
508
+
509
+ # Optional time of when event finished. An event can have a start time and no
510
+ # finish time. If an event has a finish time, there must be a start time.
511
+ # Corresponds to the JSON property `endTime`
512
+ # @return [String]
513
+ attr_accessor :end_time
514
+
515
+ # Optional time of when event started.
516
+ # Corresponds to the JSON property `startTime`
517
+ # @return [String]
518
+ attr_accessor :start_time
519
+
520
+ def initialize(**args)
521
+ update!(**args)
522
+ end
523
+
524
+ # Update properties of this object
525
+ def update!(**args)
526
+ @description = args[:description] if args.key?(:description)
527
+ @end_time = args[:end_time] if args.key?(:end_time)
528
+ @start_time = args[:start_time] if args.key?(:start_time)
529
+ end
530
+ end
531
+
532
+ # Metadata describing an Operation.
533
+ class OperationMetadata
534
+ include Google::Apis::Core::Hashable
535
+
536
+ # This field is deprecated. Use `labels` instead. Optionally provided by the
537
+ # caller when submitting the request that creates the operation.
538
+ # Corresponds to the JSON property `clientId`
539
+ # @return [String]
540
+ attr_accessor :client_id
541
+
542
+ # The time at which the job was submitted to the Genomics service.
543
+ # Corresponds to the JSON property `createTime`
544
+ # @return [String]
545
+ attr_accessor :create_time
546
+
547
+ # The time at which the job stopped running.
548
+ # Corresponds to the JSON property `endTime`
549
+ # @return [String]
550
+ attr_accessor :end_time
551
+
552
+ # Optional event messages that were generated during the job's execution.
553
+ # This also contains any warnings that were generated during import
554
+ # or export.
555
+ # Corresponds to the JSON property `events`
556
+ # @return [Array<Google::Apis::GenomicsV1alpha2::OperationEvent>]
557
+ attr_accessor :events
558
+
559
+ # Optionally provided by the caller when submitting the request that creates
560
+ # the operation.
561
+ # Corresponds to the JSON property `labels`
562
+ # @return [Hash<String,String>]
563
+ attr_accessor :labels
564
+
565
+ # The Google Cloud Project in which the job is scoped.
566
+ # Corresponds to the JSON property `projectId`
567
+ # @return [String]
568
+ attr_accessor :project_id
569
+
570
+ # The original request that started the operation. Note that this will be in
571
+ # current version of the API. If the operation was started with v1beta2 API
572
+ # and a GetOperation is performed on v1 API, a v1 request will be returned.
573
+ # Corresponds to the JSON property `request`
574
+ # @return [Hash<String,Object>]
575
+ attr_accessor :request
576
+
577
+ # Runtime metadata on this Operation.
578
+ # Corresponds to the JSON property `runtimeMetadata`
579
+ # @return [Hash<String,Object>]
580
+ attr_accessor :runtime_metadata
581
+
582
+ # The time at which the job began to run.
583
+ # Corresponds to the JSON property `startTime`
584
+ # @return [String]
585
+ attr_accessor :start_time
586
+
587
+ def initialize(**args)
588
+ update!(**args)
589
+ end
590
+
591
+ # Update properties of this object
592
+ def update!(**args)
593
+ @client_id = args[:client_id] if args.key?(:client_id)
594
+ @create_time = args[:create_time] if args.key?(:create_time)
595
+ @end_time = args[:end_time] if args.key?(:end_time)
596
+ @events = args[:events] if args.key?(:events)
597
+ @labels = args[:labels] if args.key?(:labels)
598
+ @project_id = args[:project_id] if args.key?(:project_id)
599
+ @request = args[:request] if args.key?(:request)
600
+ @runtime_metadata = args[:runtime_metadata] if args.key?(:runtime_metadata)
601
+ @start_time = args[:start_time] if args.key?(:start_time)
602
+ end
603
+ end
604
+
605
+ # The pipeline object. Represents a transformation from a set of input
606
+ # parameters to a set of output parameters. The transformation is defined
607
+ # as a docker image and command to run within that image. Each pipeline
608
+ # is run on a Google Compute Engine VM. A pipeline can be created with the
609
+ # `create` method and then later run with the `run` method, or a pipeline can
610
+ # be defined and run all at once with the `run` method.
611
+ class Pipeline
612
+ include Google::Apis::Core::Hashable
613
+
614
+ # User-specified description.
615
+ # Corresponds to the JSON property `description`
616
+ # @return [String]
617
+ attr_accessor :description
618
+
619
+ # The Docker execuctor specification.
620
+ # Corresponds to the JSON property `docker`
621
+ # @return [Google::Apis::GenomicsV1alpha2::DockerExecutor]
622
+ attr_accessor :docker
623
+
624
+ # Input parameters of the pipeline.
625
+ # Corresponds to the JSON property `inputParameters`
626
+ # @return [Array<Google::Apis::GenomicsV1alpha2::PipelineParameter>]
627
+ attr_accessor :input_parameters
628
+
629
+ # Required. A user specified pipeline name that does not have to be unique.
630
+ # This name can be used for filtering Pipelines in ListPipelines.
631
+ # Corresponds to the JSON property `name`
632
+ # @return [String]
633
+ attr_accessor :name
634
+
635
+ # Output parameters of the pipeline.
636
+ # Corresponds to the JSON property `outputParameters`
637
+ # @return [Array<Google::Apis::GenomicsV1alpha2::PipelineParameter>]
638
+ attr_accessor :output_parameters
639
+
640
+ # Unique pipeline id that is generated by the service when CreatePipeline
641
+ # is called. Cannot be specified in the Pipeline used in the
642
+ # CreatePipelineRequest, and will be populated in the response to
643
+ # CreatePipeline and all subsequent Get and List calls. Indicates that the
644
+ # service has registered this pipeline.
645
+ # Corresponds to the JSON property `pipelineId`
646
+ # @return [String]
647
+ attr_accessor :pipeline_id
648
+
649
+ # Required. The project in which to create the pipeline. The caller must have
650
+ # WRITE access.
651
+ # Corresponds to the JSON property `projectId`
652
+ # @return [String]
653
+ attr_accessor :project_id
654
+
655
+ # The system resources for the pipeline run.
656
+ # Corresponds to the JSON property `resources`
657
+ # @return [Google::Apis::GenomicsV1alpha2::PipelineResources]
658
+ attr_accessor :resources
659
+
660
+ def initialize(**args)
661
+ update!(**args)
662
+ end
663
+
664
+ # Update properties of this object
665
+ def update!(**args)
666
+ @description = args[:description] if args.key?(:description)
667
+ @docker = args[:docker] if args.key?(:docker)
668
+ @input_parameters = args[:input_parameters] if args.key?(:input_parameters)
669
+ @name = args[:name] if args.key?(:name)
670
+ @output_parameters = args[:output_parameters] if args.key?(:output_parameters)
671
+ @pipeline_id = args[:pipeline_id] if args.key?(:pipeline_id)
672
+ @project_id = args[:project_id] if args.key?(:project_id)
673
+ @resources = args[:resources] if args.key?(:resources)
674
+ end
675
+ end
676
+
677
+ # Parameters facilitate setting and delivering data into the
678
+ # pipeline's execution environment. They are defined at create time,
679
+ # with optional defaults, and can be overridden at run time.
680
+ # If `localCopy` is unset, then the parameter specifies a string that
681
+ # is passed as-is into the pipeline, as the value of the environment
682
+ # variable with the given name. A default value can be optionally
683
+ # specified at create time. The default can be overridden at run time
684
+ # using the inputs map. If no default is given, a value must be
685
+ # supplied at runtime.
686
+ # If `localCopy` is defined, then the parameter specifies a data
687
+ # source or sink, both in Google Cloud Storage and on the Docker container
688
+ # where the pipeline computation is run. The service account associated with
689
+ # the Pipeline (by
690
+ # default the project's Compute Engine service account) must have access to the
691
+ # Google Cloud Storage paths.
692
+ # At run time, the Google Cloud Storage paths can be overridden if a default
693
+ # was provided at create time, or must be set otherwise. The pipeline runner
694
+ # should add a key/value pair to either the inputs or outputs map. The
695
+ # indicated data copies will be carried out before/after pipeline execution,
696
+ # just as if the corresponding arguments were provided to `gsutil cp`.
697
+ # For example: Given the following `PipelineParameter`, specified
698
+ # in the `inputParameters` list:
699
+ # ```
700
+ # `name: "input_file", localCopy: `path: "file.txt", disk: "pd1"``
701
+ # ```
702
+ # where `disk` is defined in the `PipelineResources` object as:
703
+ # ```
704
+ # `name: "pd1", mountPoint: "/mnt/disk/"`
705
+ # ```
706
+ # We create a disk named `pd1`, mount it on the host VM, and map
707
+ # `/mnt/pd1` to `/mnt/disk` in the docker container. At
708
+ # runtime, an entry for `input_file` would be required in the inputs
709
+ # map, such as:
710
+ # ```
711
+ # inputs["input_file"] = "gs://my-bucket/bar.txt"
712
+ # ```
713
+ # This would generate the following gsutil call:
714
+ # ```
715
+ # gsutil cp gs://my-bucket/bar.txt /mnt/pd1/file.txt
716
+ # ```
717
+ # The file `/mnt/pd1/file.txt` maps to `/mnt/disk/file.txt` in the
718
+ # Docker container. Acceptable paths are:
719
+ # <table>
720
+ # <thead>
721
+ # <tr><th>Google Cloud storage path</th><th>Local path</th></tr>
722
+ # </thead>
723
+ # <tbody>
724
+ # <tr><td>file</td><td>file</td></tr>
725
+ # <tr><td>glob</td><td>directory</td></tr>
726
+ # </tbody>
727
+ # </table>
728
+ # For outputs, the direction of the copy is reversed:
729
+ # ```
730
+ # gsutil cp /mnt/disk/file.txt gs://my-bucket/bar.txt
731
+ # ```
732
+ # Acceptable paths are:
733
+ # <table>
734
+ # <thead>
735
+ # <tr><th>Local path</th><th>Google Cloud Storage path</th></tr>
736
+ # </thead>
737
+ # <tbody>
738
+ # <tr><td>file</td><td>file</td></tr>
739
+ # <tr>
740
+ # <td>file</td>
741
+ # <td>directory - directory must already exist</td>
742
+ # </tr>
743
+ # <tr>
744
+ # <td>glob</td>
745
+ # <td>directory - directory will be created if it doesn't exist</td></tr>
746
+ # </tbody>
747
+ # </table>
748
+ # One restriction due to docker limitations, is that for outputs that are found
749
+ # on the boot disk, the local path cannot be a glob and must be a file.
750
+ class PipelineParameter
751
+ include Google::Apis::Core::Hashable
752
+
753
+ # The default value for this parameter. Can be overridden at runtime.
754
+ # If `localCopy` is present, then this must be a Google Cloud Storage path
755
+ # beginning with `gs://`.
756
+ # Corresponds to the JSON property `defaultValue`
757
+ # @return [String]
758
+ attr_accessor :default_value
759
+
760
+ # Human-readable description.
761
+ # Corresponds to the JSON property `description`
762
+ # @return [String]
763
+ attr_accessor :description
764
+
765
+ # LocalCopy defines how a remote file should be copied to and from the VM.
766
+ # Corresponds to the JSON property `localCopy`
767
+ # @return [Google::Apis::GenomicsV1alpha2::LocalCopy]
768
+ attr_accessor :local_copy
769
+
770
+ # Required. Name of the parameter - the pipeline runner uses this string
771
+ # as the key to the input and output maps in RunPipeline.
772
+ # Corresponds to the JSON property `name`
773
+ # @return [String]
774
+ attr_accessor :name
775
+
776
+ def initialize(**args)
777
+ update!(**args)
778
+ end
779
+
780
+ # Update properties of this object
781
+ def update!(**args)
782
+ @default_value = args[:default_value] if args.key?(:default_value)
783
+ @description = args[:description] if args.key?(:description)
784
+ @local_copy = args[:local_copy] if args.key?(:local_copy)
785
+ @name = args[:name] if args.key?(:name)
786
+ end
787
+ end
788
+
789
+ # The system resources for the pipeline run.
790
+ class PipelineResources
791
+ include Google::Apis::Core::Hashable
792
+
793
+ # The size of the boot disk. Defaults to 10 (GB).
794
+ # Corresponds to the JSON property `bootDiskSizeGb`
795
+ # @return [Fixnum]
796
+ attr_accessor :boot_disk_size_gb
797
+
798
+ # Disks to attach.
799
+ # Corresponds to the JSON property `disks`
800
+ # @return [Array<Google::Apis::GenomicsV1alpha2::Disk>]
801
+ attr_accessor :disks
802
+
803
+ # The minimum number of cores to use. Defaults to 1.
804
+ # Corresponds to the JSON property `minimumCpuCores`
805
+ # @return [Fixnum]
806
+ attr_accessor :minimum_cpu_cores
807
+
808
+ # The minimum amount of RAM to use. Defaults to 3.75 (GB)
809
+ # Corresponds to the JSON property `minimumRamGb`
810
+ # @return [Float]
811
+ attr_accessor :minimum_ram_gb
812
+
813
+ # Whether to assign an external IP to the instance. This is an experimental
814
+ # feature that may go away. Defaults to false.
815
+ # Corresponds to `--no_address` flag for [gcloud compute instances create]
816
+ # (https://cloud.google.com/sdk/gcloud/reference/compute/instances/create).
817
+ # In order to use this, must be true for both create time and run time.
818
+ # Cannot be true at run time if false at create time. If you need to ssh into
819
+ # a private IP VM for debugging, you can ssh to a public VM and then ssh into
820
+ # the private VM's Internal IP. If noAddress is set, this pipeline run may
821
+ # only load docker images from Google Container Registry and not Docker Hub.
822
+ # Before using this, you must
823
+ # [configure access to Google services from internal IPs](https://cloud.google.
824
+ # com/compute/docs/configure-private-google-access#
825
+ # configuring_access_to_google_services_from_internal_ips).
826
+ # Corresponds to the JSON property `noAddress`
827
+ # @return [Boolean]
828
+ attr_accessor :no_address
829
+ alias_method :no_address?, :no_address
830
+
831
+ # Whether to use preemptible VMs. Defaults to `false`. In order to use this,
832
+ # must be true for both create time and run time. Cannot be true at run time
833
+ # if false at create time.
834
+ # Corresponds to the JSON property `preemptible`
835
+ # @return [Boolean]
836
+ attr_accessor :preemptible
837
+ alias_method :preemptible?, :preemptible
838
+
839
+ # List of Google Compute Engine availability zones to which resource
840
+ # creation will restricted. If empty, any zone may be chosen.
841
+ # Corresponds to the JSON property `zones`
842
+ # @return [Array<String>]
843
+ attr_accessor :zones
844
+
845
+ def initialize(**args)
846
+ update!(**args)
847
+ end
848
+
849
+ # Update properties of this object
850
+ def update!(**args)
851
+ @boot_disk_size_gb = args[:boot_disk_size_gb] if args.key?(:boot_disk_size_gb)
852
+ @disks = args[:disks] if args.key?(:disks)
853
+ @minimum_cpu_cores = args[:minimum_cpu_cores] if args.key?(:minimum_cpu_cores)
854
+ @minimum_ram_gb = args[:minimum_ram_gb] if args.key?(:minimum_ram_gb)
855
+ @no_address = args[:no_address] if args.key?(:no_address)
856
+ @preemptible = args[:preemptible] if args.key?(:preemptible)
857
+ @zones = args[:zones] if args.key?(:zones)
858
+ end
859
+ end
860
+
861
+ #
862
+ class RepeatedString
863
+ include Google::Apis::Core::Hashable
864
+
865
+ #
866
+ # Corresponds to the JSON property `values`
867
+ # @return [Array<String>]
868
+ attr_accessor :values
869
+
870
+ def initialize(**args)
871
+ update!(**args)
872
+ end
873
+
874
+ # Update properties of this object
875
+ def update!(**args)
876
+ @values = args[:values] if args.key?(:values)
877
+ end
878
+ end
879
+
880
+ # The pipeline run arguments.
881
+ class RunPipelineArgs
882
+ include Google::Apis::Core::Hashable
883
+
884
+ # This field is deprecated. Use `labels` instead. Client-specified pipeline
885
+ # operation identifier.
886
+ # Corresponds to the JSON property `clientId`
887
+ # @return [String]
888
+ attr_accessor :client_id
889
+
890
+ # Pipeline input arguments; keys are defined in the pipeline documentation.
891
+ # All input parameters that do not have default values must be specified.
892
+ # If parameters with defaults are specified here, the defaults will be
893
+ # overridden.
894
+ # Corresponds to the JSON property `inputs`
895
+ # @return [Hash<String,String>]
896
+ attr_accessor :inputs
897
+
898
+ # How long to keep the VM up after a failure (for example docker command
899
+ # failed, copying input or output files failed, etc). While the VM is up, one
900
+ # can ssh into the VM to debug. Default is 0; maximum allowed value is 1 day.
901
+ # Corresponds to the JSON property `keepVmAliveOnFailureDuration`
902
+ # @return [String]
903
+ attr_accessor :keep_vm_alive_on_failure_duration
904
+
905
+ # Labels to apply to this pipeline run. Labels will also be applied to
906
+ # compute resources (VM, disks) created by this pipeline run. When listing
907
+ # operations, operations can filtered by labels.
908
+ # Label keys may not be empty; label values may be empty. Non-empty labels
909
+ # must be 1-63 characters long, and comply with [RFC1035]
910
+ # (https://www.ietf.org/rfc/rfc1035.txt).
911
+ # Specifically, the name must be 1-63 characters long and match the regular
912
+ # expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
913
+ # character must be a lowercase letter, and all following characters must be
914
+ # a dash, lowercase letter, or digit, except the last character, which cannot
915
+ # be a dash.
916
+ # Corresponds to the JSON property `labels`
917
+ # @return [Hash<String,String>]
918
+ attr_accessor :labels
919
+
920
+ # The logging options for the pipeline run.
921
+ # Corresponds to the JSON property `logging`
922
+ # @return [Google::Apis::GenomicsV1alpha2::LoggingOptions]
923
+ attr_accessor :logging
924
+
925
+ # Pipeline output arguments; keys are defined in the pipeline
926
+ # documentation. All output parameters of without default values
927
+ # must be specified. If parameters with defaults are specified
928
+ # here, the defaults will be overridden.
929
+ # Corresponds to the JSON property `outputs`
930
+ # @return [Hash<String,String>]
931
+ attr_accessor :outputs
932
+
933
+ # Required. The project in which to run the pipeline. The caller must have
934
+ # WRITER access to all Google Cloud services and resources (e.g. Google
935
+ # Compute Engine) will be used.
936
+ # Corresponds to the JSON property `projectId`
937
+ # @return [String]
938
+ attr_accessor :project_id
939
+
940
+ # The system resources for the pipeline run.
941
+ # Corresponds to the JSON property `resources`
942
+ # @return [Google::Apis::GenomicsV1alpha2::PipelineResources]
943
+ attr_accessor :resources
944
+
945
+ # A Google Cloud Service Account.
946
+ # Corresponds to the JSON property `serviceAccount`
947
+ # @return [Google::Apis::GenomicsV1alpha2::ServiceAccount]
948
+ attr_accessor :service_account
949
+
950
+ def initialize(**args)
951
+ update!(**args)
952
+ end
953
+
954
+ # Update properties of this object
955
+ def update!(**args)
956
+ @client_id = args[:client_id] if args.key?(:client_id)
957
+ @inputs = args[:inputs] if args.key?(:inputs)
958
+ @keep_vm_alive_on_failure_duration = args[:keep_vm_alive_on_failure_duration] if args.key?(:keep_vm_alive_on_failure_duration)
959
+ @labels = args[:labels] if args.key?(:labels)
960
+ @logging = args[:logging] if args.key?(:logging)
961
+ @outputs = args[:outputs] if args.key?(:outputs)
962
+ @project_id = args[:project_id] if args.key?(:project_id)
963
+ @resources = args[:resources] if args.key?(:resources)
964
+ @service_account = args[:service_account] if args.key?(:service_account)
965
+ end
966
+ end
967
+
968
+ # The request to run a pipeline. If `pipelineId` is specified, it
969
+ # refers to a saved pipeline created with CreatePipeline and set as
970
+ # the `pipelineId` of the returned Pipeline object. If
971
+ # `ephemeralPipeline` is specified, that pipeline is run once
972
+ # with the given args and not saved. It is an error to specify both
973
+ # `pipelineId` and `ephemeralPipeline`. `pipelineArgs`
974
+ # must be specified.
975
+ class RunPipelineRequest
976
+ include Google::Apis::Core::Hashable
977
+
978
+ # The pipeline object. Represents a transformation from a set of input
979
+ # parameters to a set of output parameters. The transformation is defined
980
+ # as a docker image and command to run within that image. Each pipeline
981
+ # is run on a Google Compute Engine VM. A pipeline can be created with the
982
+ # `create` method and then later run with the `run` method, or a pipeline can
983
+ # be defined and run all at once with the `run` method.
984
+ # Corresponds to the JSON property `ephemeralPipeline`
985
+ # @return [Google::Apis::GenomicsV1alpha2::Pipeline]
986
+ attr_accessor :ephemeral_pipeline
987
+
988
+ # The pipeline run arguments.
989
+ # Corresponds to the JSON property `pipelineArgs`
990
+ # @return [Google::Apis::GenomicsV1alpha2::RunPipelineArgs]
991
+ attr_accessor :pipeline_args
992
+
993
+ # The already created pipeline to run.
994
+ # Corresponds to the JSON property `pipelineId`
995
+ # @return [String]
996
+ attr_accessor :pipeline_id
997
+
998
+ def initialize(**args)
999
+ update!(**args)
1000
+ end
1001
+
1002
+ # Update properties of this object
1003
+ def update!(**args)
1004
+ @ephemeral_pipeline = args[:ephemeral_pipeline] if args.key?(:ephemeral_pipeline)
1005
+ @pipeline_args = args[:pipeline_args] if args.key?(:pipeline_args)
1006
+ @pipeline_id = args[:pipeline_id] if args.key?(:pipeline_id)
1007
+ end
1008
+ end
1009
+
1010
+ # Runtime metadata that will be populated in the
1011
+ # runtimeMetadata
1012
+ # field of the Operation associated with a RunPipeline execution.
1013
+ class RuntimeMetadata
1014
+ include Google::Apis::Core::Hashable
1015
+
1016
+ # Describes a Compute Engine resource that is being managed by a running
1017
+ # pipeline.
1018
+ # Corresponds to the JSON property `computeEngine`
1019
+ # @return [Google::Apis::GenomicsV1alpha2::ComputeEngine]
1020
+ attr_accessor :compute_engine
1021
+
1022
+ def initialize(**args)
1023
+ update!(**args)
1024
+ end
1025
+
1026
+ # Update properties of this object
1027
+ def update!(**args)
1028
+ @compute_engine = args[:compute_engine] if args.key?(:compute_engine)
1029
+ end
1030
+ end
1031
+
1032
+ # A Google Cloud Service Account.
1033
+ class ServiceAccount
1034
+ include Google::Apis::Core::Hashable
1035
+
1036
+ # Email address of the service account. Defaults to `default`,
1037
+ # which uses the compute service account associated with the project.
1038
+ # Corresponds to the JSON property `email`
1039
+ # @return [String]
1040
+ attr_accessor :email
1041
+
1042
+ # List of scopes to be enabled for this service account on the VM.
1043
+ # The following scopes are automatically included:
1044
+ # * https://www.googleapis.com/auth/compute
1045
+ # * https://www.googleapis.com/auth/devstorage.full_control
1046
+ # * https://www.googleapis.com/auth/genomics
1047
+ # * https://www.googleapis.com/auth/logging.write
1048
+ # * https://www.googleapis.com/auth/monitoring.write
1049
+ # Corresponds to the JSON property `scopes`
1050
+ # @return [Array<String>]
1051
+ attr_accessor :scopes
1052
+
1053
+ def initialize(**args)
1054
+ update!(**args)
1055
+ end
1056
+
1057
+ # Update properties of this object
1058
+ def update!(**args)
1059
+ @email = args[:email] if args.key?(:email)
1060
+ @scopes = args[:scopes] if args.key?(:scopes)
1061
+ end
1062
+ end
1063
+
1064
+ # Request to set operation status. Should only be used by VMs
1065
+ # created by the Pipelines Service and not by end users.
1066
+ class SetOperationStatusRequest
1067
+ include Google::Apis::Core::Hashable
1068
+
1069
+ #
1070
+ # Corresponds to the JSON property `errorCode`
1071
+ # @return [String]
1072
+ attr_accessor :error_code
1073
+
1074
+ #
1075
+ # Corresponds to the JSON property `errorMessage`
1076
+ # @return [String]
1077
+ attr_accessor :error_message
1078
+
1079
+ #
1080
+ # Corresponds to the JSON property `operationId`
1081
+ # @return [String]
1082
+ attr_accessor :operation_id
1083
+
1084
+ #
1085
+ # Corresponds to the JSON property `timestampEvents`
1086
+ # @return [Array<Google::Apis::GenomicsV1alpha2::TimestampEvent>]
1087
+ attr_accessor :timestamp_events
1088
+
1089
+ #
1090
+ # Corresponds to the JSON property `validationToken`
1091
+ # @return [Fixnum]
1092
+ attr_accessor :validation_token
1093
+
1094
+ def initialize(**args)
1095
+ update!(**args)
1096
+ end
1097
+
1098
+ # Update properties of this object
1099
+ def update!(**args)
1100
+ @error_code = args[:error_code] if args.key?(:error_code)
1101
+ @error_message = args[:error_message] if args.key?(:error_message)
1102
+ @operation_id = args[:operation_id] if args.key?(:operation_id)
1103
+ @timestamp_events = args[:timestamp_events] if args.key?(:timestamp_events)
1104
+ @validation_token = args[:validation_token] if args.key?(:validation_token)
1105
+ end
1106
+ end
1107
+
1108
+ # The `Status` type defines a logical error model that is suitable for different
1109
+ # programming environments, including REST APIs and RPC APIs. It is used by
1110
+ # [gRPC](https://github.com/grpc). The error model is designed to be:
1111
+ # - Simple to use and understand for most users
1112
+ # - Flexible enough to meet unexpected needs
1113
+ # # Overview
1114
+ # The `Status` message contains three pieces of data: error code, error message,
1115
+ # and error details. The error code should be an enum value of
1116
+ # google.rpc.Code, but it may accept additional error codes if needed. The
1117
+ # error message should be a developer-facing English message that helps
1118
+ # developers *understand* and *resolve* the error. If a localized user-facing
1119
+ # error message is needed, put the localized message in the error details or
1120
+ # localize it in the client. The optional error details may contain arbitrary
1121
+ # information about the error. There is a predefined set of error detail types
1122
+ # in the package `google.rpc` that can be used for common error conditions.
1123
+ # # Language mapping
1124
+ # The `Status` message is the logical representation of the error model, but it
1125
+ # is not necessarily the actual wire format. When the `Status` message is
1126
+ # exposed in different client libraries and different wire protocols, it can be
1127
+ # mapped differently. For example, it will likely be mapped to some exceptions
1128
+ # in Java, but more likely mapped to some error codes in C.
1129
+ # # Other uses
1130
+ # The error model and the `Status` message can be used in a variety of
1131
+ # environments, either with or without APIs, to provide a
1132
+ # consistent developer experience across different environments.
1133
+ # Example uses of this error model include:
1134
+ # - Partial errors. If a service needs to return partial errors to the client,
1135
+ # it may embed the `Status` in the normal response to indicate the partial
1136
+ # errors.
1137
+ # - Workflow errors. A typical workflow has multiple steps. Each step may
1138
+ # have a `Status` message for error reporting.
1139
+ # - Batch operations. If a client uses batch request and batch response, the
1140
+ # `Status` message should be used directly inside batch response, one for
1141
+ # each error sub-response.
1142
+ # - Asynchronous operations. If an API call embeds asynchronous operation
1143
+ # results in its response, the status of those operations should be
1144
+ # represented directly using the `Status` message.
1145
+ # - Logging. If some API errors are stored in logs, the message `Status` could
1146
+ # be used directly after any stripping needed for security/privacy reasons.
1147
+ class Status
1148
+ include Google::Apis::Core::Hashable
1149
+
1150
+ # The status code, which should be an enum value of google.rpc.Code.
1151
+ # Corresponds to the JSON property `code`
1152
+ # @return [Fixnum]
1153
+ attr_accessor :code
1154
+
1155
+ # A list of messages that carry the error details. There is a common set of
1156
+ # message types for APIs to use.
1157
+ # Corresponds to the JSON property `details`
1158
+ # @return [Array<Hash<String,Object>>]
1159
+ attr_accessor :details
1160
+
1161
+ # A developer-facing error message, which should be in English. Any
1162
+ # user-facing error message should be localized and sent in the
1163
+ # google.rpc.Status.details field, or localized by the client.
1164
+ # Corresponds to the JSON property `message`
1165
+ # @return [String]
1166
+ attr_accessor :message
1167
+
1168
+ def initialize(**args)
1169
+ update!(**args)
1170
+ end
1171
+
1172
+ # Update properties of this object
1173
+ def update!(**args)
1174
+ @code = args[:code] if args.key?(:code)
1175
+ @details = args[:details] if args.key?(:details)
1176
+ @message = args[:message] if args.key?(:message)
1177
+ end
1178
+ end
1179
+
1180
+ # Stores the list of events and times they occured for major events in job
1181
+ # execution.
1182
+ class TimestampEvent
1183
+ include Google::Apis::Core::Hashable
1184
+
1185
+ # String indicating the type of event
1186
+ # Corresponds to the JSON property `description`
1187
+ # @return [String]
1188
+ attr_accessor :description
1189
+
1190
+ # The time this event occured.
1191
+ # Corresponds to the JSON property `timestamp`
1192
+ # @return [String]
1193
+ attr_accessor :timestamp
1194
+
1195
+ def initialize(**args)
1196
+ update!(**args)
1197
+ end
1198
+
1199
+ # Update properties of this object
1200
+ def update!(**args)
1201
+ @description = args[:description] if args.key?(:description)
1202
+ @timestamp = args[:timestamp] if args.key?(:timestamp)
1203
+ end
1204
+ end
1205
+ end
1206
+ end
1207
+ end