google-api-client 0.11.3 → 0.12.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 (397) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +51 -0
  3. data/api_names.yaml +32317 -34465
  4. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +44 -44
  5. data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +14 -14
  6. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +10 -10
  7. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +305 -305
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +82 -82
  10. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +106 -106
  11. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +6 -6
  12. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +3 -3
  13. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +3 -3
  14. data/generated/google/apis/adexchangeseller_v2_0/service.rb +10 -10
  15. data/generated/google/apis/admin_directory_v1/service.rb +26 -26
  16. data/generated/google/apis/adsense_v1_4.rb +1 -1
  17. data/generated/google/apis/adsense_v1_4/classes.rb +2 -2
  18. data/generated/google/apis/adsense_v1_4/representations.rb +3 -3
  19. data/generated/google/apis/adsense_v1_4/service.rb +44 -44
  20. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  21. data/generated/google/apis/adsensehost_v4_1/service.rb +22 -22
  22. data/generated/google/apis/analytics_v3/classes.rb +3 -3
  23. data/generated/google/apis/analytics_v3/representations.rb +3 -3
  24. data/generated/google/apis/analytics_v3/service.rb +82 -82
  25. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  26. data/generated/google/apis/analyticsreporting_v4/classes.rb +916 -916
  27. data/generated/google/apis/analyticsreporting_v4/representations.rb +167 -167
  28. data/generated/google/apis/analyticsreporting_v4/service.rb +7 -7
  29. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  30. data/generated/google/apis/androidenterprise_v1/classes.rb +10 -10
  31. data/generated/google/apis/androidenterprise_v1/representations.rb +20 -20
  32. data/generated/google/apis/androidenterprise_v1/service.rb +43 -43
  33. data/generated/google/apis/androidpublisher_v2/classes.rb +26 -26
  34. data/generated/google/apis/androidpublisher_v2/representations.rb +46 -46
  35. data/generated/google/apis/androidpublisher_v2/service.rb +95 -95
  36. data/generated/google/apis/appengine_v1.rb +1 -1
  37. data/generated/google/apis/appengine_v1/classes.rb +825 -817
  38. data/generated/google/apis/appengine_v1/representations.rb +185 -184
  39. data/generated/google/apis/appengine_v1/service.rb +220 -216
  40. data/generated/google/apis/appstate_v1.rb +1 -1
  41. data/generated/google/apis/bigquery_v2.rb +1 -1
  42. data/generated/google/apis/bigquery_v2/classes.rb +9 -7
  43. data/generated/google/apis/bigquery_v2/representations.rb +8 -8
  44. data/generated/google/apis/bigquery_v2/service.rb +13 -13
  45. data/generated/google/apis/blogger_v3/service.rb +3 -3
  46. data/generated/google/apis/books_v1/classes.rb +55 -55
  47. data/generated/google/apis/books_v1/representations.rb +67 -67
  48. data/generated/google/apis/books_v1/service.rb +82 -82
  49. data/generated/google/apis/calendar_v3.rb +1 -1
  50. data/generated/google/apis/calendar_v3/classes.rb +6 -6
  51. data/generated/google/apis/calendar_v3/representations.rb +3 -3
  52. data/generated/google/apis/calendar_v3/service.rb +2 -2
  53. data/generated/google/apis/civicinfo_v2/classes.rb +1 -1
  54. data/generated/google/apis/civicinfo_v2/representations.rb +2 -2
  55. data/generated/google/apis/civicinfo_v2/service.rb +8 -8
  56. data/generated/google/apis/classroom_v1.rb +24 -24
  57. data/generated/google/apis/classroom_v1/classes.rb +381 -381
  58. data/generated/google/apis/classroom_v1/representations.rb +108 -108
  59. data/generated/google/apis/classroom_v1/service.rb +503 -503
  60. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  61. data/generated/google/apis/cloudbuild_v1/classes.rb +219 -219
  62. data/generated/google/apis/cloudbuild_v1/representations.rb +62 -62
  63. data/generated/google/apis/cloudbuild_v1/service.rb +165 -165
  64. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  65. data/generated/google/apis/clouddebugger_v2/classes.rb +133 -133
  66. data/generated/google/apis/clouddebugger_v2/representations.rb +29 -29
  67. data/generated/google/apis/clouddebugger_v2/service.rb +54 -54
  68. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  69. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +177 -177
  70. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +47 -47
  71. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +123 -123
  72. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  73. data/generated/google/apis/cloudfunctions_v1/service.rb +6 -6
  74. data/generated/google/apis/cloudkms_v1.rb +3 -3
  75. data/generated/google/apis/cloudkms_v1/classes.rb +229 -229
  76. data/generated/google/apis/cloudkms_v1/representations.rb +54 -54
  77. data/generated/google/apis/cloudkms_v1/service.rb +224 -224
  78. data/generated/google/apis/cloudresourcemanager_v1.rb +3 -3
  79. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1199 -1199
  80. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +192 -192
  81. data/generated/google/apis/cloudresourcemanager_v1/service.rb +122 -122
  82. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +495 -495
  83. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +92 -92
  84. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +320 -320
  85. data/generated/google/apis/cloudtrace_v1.rb +4 -4
  86. data/generated/google/apis/cloudtrace_v1/classes.rb +44 -44
  87. data/generated/google/apis/cloudtrace_v1/representations.rb +13 -13
  88. data/generated/google/apis/cloudtrace_v1/service.rb +28 -28
  89. data/generated/google/apis/compute_beta.rb +1 -1
  90. data/generated/google/apis/compute_beta/classes.rb +57 -15
  91. data/generated/google/apis/compute_beta/representations.rb +30 -14
  92. data/generated/google/apis/compute_beta/service.rb +52 -52
  93. data/generated/google/apis/compute_v1.rb +1 -1
  94. data/generated/google/apis/compute_v1/classes.rb +223 -10
  95. data/generated/google/apis/compute_v1/representations.rb +85 -16
  96. data/generated/google/apis/compute_v1/service.rb +327 -51
  97. data/generated/google/apis/container_v1/classes.rb +267 -267
  98. data/generated/google/apis/container_v1/representations.rb +61 -61
  99. data/generated/google/apis/container_v1/service.rb +123 -123
  100. data/generated/google/apis/content_v2.rb +1 -1
  101. data/generated/google/apis/content_v2/classes.rb +71 -71
  102. data/generated/google/apis/content_v2/representations.rb +105 -105
  103. data/generated/google/apis/content_v2/service.rb +120 -120
  104. data/generated/google/apis/dataflow_v1b3.rb +4 -4
  105. data/generated/google/apis/dataflow_v1b3/classes.rb +3442 -3452
  106. data/generated/google/apis/dataflow_v1b3/representations.rb +388 -389
  107. data/generated/google/apis/dataflow_v1b3/service.rb +265 -265
  108. data/generated/google/apis/dataproc_v1.rb +1 -1
  109. data/generated/google/apis/dataproc_v1/classes.rb +1059 -1059
  110. data/generated/google/apis/dataproc_v1/representations.rb +147 -147
  111. data/generated/google/apis/dataproc_v1/service.rb +309 -305
  112. data/generated/google/apis/datastore_v1.rb +1 -1
  113. data/generated/google/apis/datastore_v1/classes.rb +818 -818
  114. data/generated/google/apis/datastore_v1/representations.rb +151 -151
  115. data/generated/google/apis/datastore_v1/service.rb +62 -62
  116. data/generated/google/apis/deploymentmanager_v2/classes.rb +5 -5
  117. data/generated/google/apis/deploymentmanager_v2/representations.rb +10 -10
  118. data/generated/google/apis/deploymentmanager_v2/service.rb +20 -20
  119. data/generated/google/apis/discovery_v1/classes.rb +4 -4
  120. data/generated/google/apis/discovery_v1/representations.rb +2 -2
  121. data/generated/google/apis/discovery_v1/service.rb +1 -1
  122. data/generated/google/apis/dns_v1.rb +1 -1
  123. data/generated/google/apis/dns_v1/classes.rb +3 -3
  124. data/generated/google/apis/dns_v1/representations.rb +6 -6
  125. data/generated/google/apis/dns_v1/service.rb +12 -12
  126. data/generated/google/apis/dns_v2beta1.rb +1 -1
  127. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  128. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +8 -8
  129. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  130. data/generated/google/apis/drive_v2/service.rb +1 -1
  131. data/generated/google/apis/drive_v3/service.rb +1 -1
  132. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  133. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +188 -188
  134. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +62 -62
  135. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +4 -4
  136. data/generated/google/apis/firebaserules_v1.rb +1 -1
  137. data/generated/google/apis/firebaserules_v1/classes.rb +403 -206
  138. data/generated/google/apis/firebaserules_v1/representations.rb +134 -54
  139. data/generated/google/apis/firebaserules_v1/service.rb +89 -89
  140. data/generated/google/apis/fusiontables_v2/service.rb +2 -2
  141. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  142. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -2
  143. data/generated/google/apis/games_configuration_v1configuration/representations.rb +4 -4
  144. data/generated/google/apis/games_configuration_v1configuration/service.rb +8 -8
  145. data/generated/google/apis/games_management_v1management.rb +1 -1
  146. data/generated/google/apis/games_v1.rb +1 -1
  147. data/generated/google/apis/games_v1/classes.rb +23 -23
  148. data/generated/google/apis/games_v1/representations.rb +43 -43
  149. data/generated/google/apis/games_v1/service.rb +72 -72
  150. data/generated/google/apis/genomics_v1.rb +7 -7
  151. data/generated/google/apis/genomics_v1/classes.rb +2296 -2297
  152. data/generated/google/apis/genomics_v1/representations.rb +298 -298
  153. data/generated/google/apis/genomics_v1/service.rb +1160 -1160
  154. data/generated/google/apis/groupssettings_v1/service.rb +0 -3
  155. data/generated/google/apis/iam_v1.rb +1 -1
  156. data/generated/google/apis/iam_v1/classes.rb +235 -235
  157. data/generated/google/apis/iam_v1/representations.rb +72 -72
  158. data/generated/google/apis/iam_v1/service.rb +189 -189
  159. data/generated/google/apis/identitytoolkit_v3/classes.rb +15 -15
  160. data/generated/google/apis/identitytoolkit_v3/representations.rb +30 -30
  161. data/generated/google/apis/identitytoolkit_v3/service.rb +64 -64
  162. data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
  163. data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
  164. data/generated/google/apis/kgsearch_v1/service.rb +10 -10
  165. data/generated/google/apis/language_v1/classes.rb +220 -220
  166. data/generated/google/apis/language_v1/representations.rb +81 -81
  167. data/generated/google/apis/language_v1/service.rb +43 -43
  168. data/generated/google/apis/language_v1beta1/classes.rb +448 -448
  169. data/generated/google/apis/language_v1beta1/representations.rb +106 -106
  170. data/generated/google/apis/language_v1beta1/service.rb +31 -31
  171. data/generated/google/apis/licensing_v1/service.rb +2 -2
  172. data/generated/google/apis/logging_v2/classes.rb +737 -737
  173. data/generated/google/apis/logging_v2/representations.rb +120 -120
  174. data/generated/google/apis/logging_v2/service.rb +479 -479
  175. data/generated/google/apis/logging_v2beta1/classes.rb +293 -293
  176. data/generated/google/apis/logging_v2beta1/representations.rb +54 -54
  177. data/generated/google/apis/logging_v2beta1/service.rb +349 -349
  178. data/generated/google/apis/manufacturers_v1/classes.rb +423 -423
  179. data/generated/google/apis/manufacturers_v1/representations.rb +61 -61
  180. data/generated/google/apis/manufacturers_v1/service.rb +8 -8
  181. data/generated/google/apis/mirror_v1/classes.rb +5 -5
  182. data/generated/google/apis/mirror_v1/representations.rb +10 -10
  183. data/generated/google/apis/mirror_v1/service.rb +20 -20
  184. data/generated/google/apis/ml_v1.rb +1 -1
  185. data/generated/google/apis/ml_v1/classes.rb +1285 -1205
  186. data/generated/google/apis/ml_v1/representations.rb +204 -174
  187. data/generated/google/apis/ml_v1/service.rb +150 -145
  188. data/generated/google/apis/monitoring_v3.rb +1 -1
  189. data/generated/google/apis/monitoring_v3/classes.rb +880 -880
  190. data/generated/google/apis/monitoring_v3/representations.rb +154 -154
  191. data/generated/google/apis/monitoring_v3/service.rb +299 -299
  192. data/generated/google/apis/mybusiness_v3/service.rb +5 -5
  193. data/generated/google/apis/oauth2_v2/service.rb +1 -1
  194. data/generated/google/apis/pagespeedonline_v2/classes.rb +11 -11
  195. data/generated/google/apis/pagespeedonline_v2/representations.rb +13 -13
  196. data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
  197. data/generated/google/apis/partners_v2.rb +1 -1
  198. data/generated/google/apis/partners_v2/classes.rb +524 -509
  199. data/generated/google/apis/partners_v2/representations.rb +115 -111
  200. data/generated/google/apis/partners_v2/service.rb +287 -287
  201. data/generated/google/apis/people_v1.rb +13 -13
  202. data/generated/google/apis/people_v1/classes.rb +1150 -1150
  203. data/generated/google/apis/people_v1/representations.rb +258 -258
  204. data/generated/google/apis/people_v1/service.rb +7 -7
  205. data/generated/google/apis/plus_domains_v1.rb +1 -1
  206. data/generated/google/apis/plus_domains_v1/service.rb +4 -4
  207. data/generated/google/apis/plus_v1.rb +1 -1
  208. data/generated/google/apis/plus_v1/service.rb +1 -1
  209. data/generated/google/apis/prediction_v1_6/service.rb +8 -8
  210. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +554 -554
  211. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +108 -108
  212. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +224 -224
  213. data/generated/google/apis/pubsub_v1/classes.rb +228 -228
  214. data/generated/google/apis/pubsub_v1/representations.rb +69 -69
  215. data/generated/google/apis/pubsub_v1/service.rb +182 -182
  216. data/generated/google/apis/qpx_express_v1/classes.rb +2 -2
  217. data/generated/google/apis/qpx_express_v1/representations.rb +4 -4
  218. data/generated/google/apis/qpx_express_v1/service.rb +8 -8
  219. data/generated/google/apis/replicapool_v1beta2/classes.rb +5 -5
  220. data/generated/google/apis/replicapool_v1beta2/representations.rb +10 -10
  221. data/generated/google/apis/replicapool_v1beta2/service.rb +21 -21
  222. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -1
  223. data/generated/google/apis/resourceviews_v1beta2/classes.rb +5 -5
  224. data/generated/google/apis/resourceviews_v1beta2/representations.rb +10 -10
  225. data/generated/google/apis/resourceviews_v1beta2/service.rb +20 -20
  226. data/generated/google/apis/runtimeconfig_v1.rb +3 -3
  227. data/generated/google/apis/runtimeconfig_v1/classes.rb +19 -19
  228. data/generated/google/apis/runtimeconfig_v1/representations.rb +10 -10
  229. data/generated/google/apis/runtimeconfig_v1/service.rb +4 -4
  230. data/generated/google/apis/script_v1.rb +9 -9
  231. data/generated/google/apis/script_v1/classes.rb +94 -94
  232. data/generated/google/apis/script_v1/representations.rb +26 -26
  233. data/generated/google/apis/searchconsole_v1.rb +1 -1
  234. data/generated/google/apis/searchconsole_v1/classes.rb +65 -65
  235. data/generated/google/apis/searchconsole_v1/representations.rb +27 -27
  236. data/generated/google/apis/searchconsole_v1/service.rb +6 -6
  237. data/generated/google/apis/servicecontrol_v1/classes.rb +1131 -1131
  238. data/generated/google/apis/servicecontrol_v1/representations.rb +195 -195
  239. data/generated/google/apis/servicecontrol_v1/service.rb +57 -57
  240. data/generated/google/apis/servicemanagement_v1.rb +7 -7
  241. data/generated/google/apis/servicemanagement_v1/classes.rb +3543 -3585
  242. data/generated/google/apis/servicemanagement_v1/representations.rb +556 -556
  243. data/generated/google/apis/servicemanagement_v1/service.rb +309 -309
  244. data/generated/google/apis/serviceuser_v1.rb +4 -4
  245. data/generated/google/apis/serviceuser_v1/classes.rb +2734 -2776
  246. data/generated/google/apis/serviceuser_v1/representations.rb +398 -398
  247. data/generated/google/apis/serviceuser_v1/service.rb +16 -16
  248. data/generated/google/apis/sheets_v4/classes.rb +1489 -1489
  249. data/generated/google/apis/sheets_v4/representations.rb +324 -324
  250. data/generated/google/apis/sheets_v4/service.rb +49 -49
  251. data/generated/google/apis/site_verification_v1/classes.rb +6 -6
  252. data/generated/google/apis/site_verification_v1/representations.rb +8 -8
  253. data/generated/google/apis/site_verification_v1/service.rb +12 -12
  254. data/generated/google/apis/slides_v1.rb +4 -4
  255. data/generated/google/apis/slides_v1/classes.rb +2907 -2907
  256. data/generated/google/apis/slides_v1/representations.rb +695 -695
  257. data/generated/google/apis/slides_v1/service.rb +40 -40
  258. data/generated/google/apis/sourcerepo_v1.rb +7 -1
  259. data/generated/google/apis/sourcerepo_v1/classes.rb +459 -452
  260. data/generated/google/apis/sourcerepo_v1/representations.rb +90 -89
  261. data/generated/google/apis/sourcerepo_v1/service.rb +101 -100
  262. data/generated/google/apis/spanner_v1/classes.rb +2557 -2557
  263. data/generated/google/apis/spanner_v1/representations.rb +205 -205
  264. data/generated/google/apis/spanner_v1/service.rb +525 -525
  265. data/generated/google/apis/speech_v1beta1.rb +1 -1
  266. data/generated/google/apis/speech_v1beta1/classes.rb +73 -73
  267. data/generated/google/apis/speech_v1beta1/representations.rb +25 -25
  268. data/generated/google/apis/speech_v1beta1/service.rb +33 -33
  269. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  270. data/generated/google/apis/sqladmin_v1beta4/classes.rb +16 -15
  271. data/generated/google/apis/sqladmin_v1beta4/representations.rb +28 -28
  272. data/generated/google/apis/sqladmin_v1beta4/service.rb +58 -57
  273. data/generated/google/apis/storage_v1/classes.rb +6 -6
  274. data/generated/google/apis/storage_v1/representations.rb +4 -4
  275. data/generated/google/apis/storage_v1/service.rb +1 -1
  276. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  277. data/generated/google/apis/storagetransfer_v1/classes.rb +357 -357
  278. data/generated/google/apis/storagetransfer_v1/representations.rb +87 -87
  279. data/generated/google/apis/storagetransfer_v1/service.rb +53 -48
  280. data/generated/google/apis/tagmanager_v1/service.rb +33 -33
  281. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  282. data/generated/google/apis/translate_v2.rb +1 -1
  283. data/generated/google/apis/translate_v2/classes.rb +46 -46
  284. data/generated/google/apis/translate_v2/representations.rb +22 -22
  285. data/generated/google/apis/translate_v2/service.rb +81 -74
  286. data/generated/google/apis/vision_v1/classes.rb +1290 -1290
  287. data/generated/google/apis/vision_v1/representations.rb +166 -166
  288. data/generated/google/apis/vision_v1/service.rb +6 -6
  289. data/generated/google/apis/webmasters_v3/classes.rb +4 -4
  290. data/generated/google/apis/webmasters_v3/representations.rb +8 -8
  291. data/generated/google/apis/webmasters_v3/service.rb +21 -21
  292. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  293. data/generated/google/apis/youtube_analytics_v1/classes.rb +2 -2
  294. data/generated/google/apis/youtube_analytics_v1/representations.rb +4 -4
  295. data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
  296. data/generated/google/apis/youtube_v3/classes.rb +20 -20
  297. data/generated/google/apis/youtube_v3/representations.rb +40 -40
  298. data/generated/google/apis/youtube_v3/service.rb +80 -80
  299. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  300. data/generated/google/apis/youtubereporting_v1/classes.rb +127 -127
  301. data/generated/google/apis/youtubereporting_v1/representations.rb +36 -36
  302. data/generated/google/apis/youtubereporting_v1/service.rb +90 -90
  303. data/google-api-client.gemspec +3 -3
  304. data/lib/google/apis/core/base_service.rb +6 -0
  305. data/lib/google/apis/generator/annotator.rb +2 -2
  306. data/lib/google/apis/generator/model.rb +2 -2
  307. data/lib/google/apis/version.rb +1 -1
  308. metadata +11 -94
  309. data/dl.rb +0 -0
  310. data/generated/google/apis/adexchangebuyer_v1_3.rb +0 -35
  311. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +0 -1335
  312. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +0 -446
  313. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +0 -872
  314. data/generated/google/apis/appengine_v1beta4.rb +0 -35
  315. data/generated/google/apis/appengine_v1beta4/classes.rb +0 -1585
  316. data/generated/google/apis/appengine_v1beta4/representations.rb +0 -542
  317. data/generated/google/apis/appengine_v1beta4/service.rb +0 -477
  318. data/generated/google/apis/appengine_v1beta5.rb +0 -40
  319. data/generated/google/apis/appengine_v1beta5/classes.rb +0 -2094
  320. data/generated/google/apis/appengine_v1beta5/representations.rb +0 -802
  321. data/generated/google/apis/appengine_v1beta5/service.rb +0 -867
  322. data/generated/google/apis/autoscaler_v1beta2.rb +0 -38
  323. data/generated/google/apis/autoscaler_v1beta2/classes.rb +0 -710
  324. data/generated/google/apis/autoscaler_v1beta2/representations.rb +0 -296
  325. data/generated/google/apis/autoscaler_v1beta2/service.rb +0 -478
  326. data/generated/google/apis/classroom_v1beta1.rb +0 -49
  327. data/generated/google/apis/classroom_v1beta1/classes.rb +0 -447
  328. data/generated/google/apis/classroom_v1beta1/representations.rb +0 -190
  329. data/generated/google/apis/classroom_v1beta1/service.rb +0 -791
  330. data/generated/google/apis/cloudkms_v1beta1.rb +0 -35
  331. data/generated/google/apis/cloudkms_v1beta1/classes.rb +0 -1039
  332. data/generated/google/apis/cloudkms_v1beta1/representations.rb +0 -448
  333. data/generated/google/apis/cloudkms_v1beta1/service.rb +0 -933
  334. data/generated/google/apis/cloudlatencytest_v2.rb +0 -34
  335. data/generated/google/apis/cloudlatencytest_v2/classes.rb +0 -195
  336. data/generated/google/apis/cloudlatencytest_v2/representations.rb +0 -127
  337. data/generated/google/apis/cloudlatencytest_v2/service.rb +0 -135
  338. data/generated/google/apis/container_v1beta1.rb +0 -35
  339. data/generated/google/apis/container_v1beta1/classes.rb +0 -466
  340. data/generated/google/apis/container_v1beta1/representations.rb +0 -177
  341. data/generated/google/apis/container_v1beta1/service.rb +0 -394
  342. data/generated/google/apis/coordinate_v1.rb +0 -37
  343. data/generated/google/apis/coordinate_v1/classes.rb +0 -669
  344. data/generated/google/apis/coordinate_v1/representations.rb +0 -321
  345. data/generated/google/apis/coordinate_v1/service.rb +0 -678
  346. data/generated/google/apis/datastore_v1beta2.rb +0 -40
  347. data/generated/google/apis/datastore_v1beta2/classes.rb +0 -1186
  348. data/generated/google/apis/datastore_v1beta2/representations.rb +0 -594
  349. data/generated/google/apis/datastore_v1beta2/service.rb +0 -294
  350. data/generated/google/apis/datastore_v1beta3.rb +0 -38
  351. data/generated/google/apis/datastore_v1beta3/classes.rb +0 -1284
  352. data/generated/google/apis/datastore_v1beta3/representations.rb +0 -572
  353. data/generated/google/apis/datastore_v1beta3/service.rb +0 -259
  354. data/generated/google/apis/deploymentmanager_v2beta2.rb +0 -44
  355. data/generated/google/apis/deploymentmanager_v2beta2/classes.rb +0 -843
  356. data/generated/google/apis/deploymentmanager_v2beta2/representations.rb +0 -306
  357. data/generated/google/apis/deploymentmanager_v2beta2/service.rb +0 -689
  358. data/generated/google/apis/dfareporting_v2_1.rb +0 -37
  359. data/generated/google/apis/dfareporting_v2_1/classes.rb +0 -10770
  360. data/generated/google/apis/dfareporting_v2_1/representations.rb +0 -3438
  361. data/generated/google/apis/dfareporting_v2_1/service.rb +0 -8585
  362. data/generated/google/apis/dfareporting_v2_3.rb +0 -37
  363. data/generated/google/apis/dfareporting_v2_3/classes.rb +0 -10839
  364. data/generated/google/apis/dfareporting_v2_3/representations.rb +0 -3829
  365. data/generated/google/apis/dfareporting_v2_3/service.rb +0 -8581
  366. data/generated/google/apis/dfareporting_v2_5.rb +0 -40
  367. data/generated/google/apis/dfareporting_v2_5/classes.rb +0 -11225
  368. data/generated/google/apis/dfareporting_v2_5/representations.rb +0 -3982
  369. data/generated/google/apis/dfareporting_v2_5/service.rb +0 -8755
  370. data/generated/google/apis/dfareporting_v2_6.rb +0 -40
  371. data/generated/google/apis/dfareporting_v2_6/classes.rb +0 -11599
  372. data/generated/google/apis/dfareporting_v2_6/representations.rb +0 -4119
  373. data/generated/google/apis/dfareporting_v2_6/service.rb +0 -9026
  374. data/generated/google/apis/gan_v1beta1.rb +0 -31
  375. data/generated/google/apis/gan_v1beta1/classes.rb +0 -1428
  376. data/generated/google/apis/gan_v1beta1/representations.rb +0 -462
  377. data/generated/google/apis/gan_v1beta1/service.rb +0 -682
  378. data/generated/google/apis/genomics_v1beta2.rb +0 -46
  379. data/generated/google/apis/genomics_v1beta2/classes.rb +0 -3288
  380. data/generated/google/apis/genomics_v1beta2/representations.rb +0 -1194
  381. data/generated/google/apis/genomics_v1beta2/service.rb +0 -2392
  382. data/generated/google/apis/logging_v1beta3.rb +0 -47
  383. data/generated/google/apis/logging_v1beta3/classes.rb +0 -1079
  384. data/generated/google/apis/logging_v1beta3/representations.rb +0 -366
  385. data/generated/google/apis/logging_v1beta3/service.rb +0 -1001
  386. data/generated/google/apis/manager_v1beta2.rb +0 -53
  387. data/generated/google/apis/manager_v1beta2/classes.rb +0 -1287
  388. data/generated/google/apis/manager_v1beta2/representations.rb +0 -606
  389. data/generated/google/apis/manager_v1beta2/service.rb +0 -372
  390. data/generated/google/apis/pubsub_v1beta2.rb +0 -37
  391. data/generated/google/apis/pubsub_v1beta2/classes.rb +0 -620
  392. data/generated/google/apis/pubsub_v1beta2/representations.rb +0 -282
  393. data/generated/google/apis/pubsub_v1beta2/service.rb +0 -774
  394. data/generated/google/apis/tracing_v1.rb +0 -40
  395. data/generated/google/apis/tracing_v1/classes.rb +0 -664
  396. data/generated/google/apis/tracing_v1/representations.rb +0 -279
  397. data/generated/google/apis/tracing_v1/service.rb +0 -226
@@ -1,2392 +0,0 @@
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/core/base_service'
16
- require 'google/apis/core/json_representation'
17
- require 'google/apis/core/hashable'
18
- require 'google/apis/errors'
19
-
20
- module Google
21
- module Apis
22
- module GenomicsV1beta2
23
- # Genomics API
24
- #
25
- # Provides access to Genomics data.
26
- #
27
- # @example
28
- # require 'google/apis/genomics_v1beta2'
29
- #
30
- # Genomics = Google::Apis::GenomicsV1beta2 # Alias the module
31
- # service = Genomics::GenomicsService.new
32
- #
33
- # @see https://developers.google.com/genomics/v1beta2/reference
34
- class GenomicsService < Google::Apis::Core::BaseService
35
- # @return [String]
36
- # API key. Your API key identifies your project and provides you with API access,
37
- # quota, and reports. Required unless you provide an OAuth 2.0 token.
38
- attr_accessor :key
39
-
40
- # @return [String]
41
- # Available to use for quota purposes for server-side applications. Can be any
42
- # arbitrary string assigned to a user, but should not exceed 40 characters.
43
- # Overrides userIp if both are provided.
44
- attr_accessor :quota_user
45
-
46
- # @return [String]
47
- # IP address of the site where the request originates. Use this if you want to
48
- # enforce per-user limits.
49
- attr_accessor :user_ip
50
-
51
- def initialize
52
- super('https://www.googleapis.com/', 'genomics/v1beta2/')
53
- end
54
-
55
- # Creates a new annotation set. Caller must have WRITE permission for the
56
- # associated dataset.
57
- # @param [Google::Apis::GenomicsV1beta2::AnnotationSet] annotation_set_object
58
- # @param [String] fields
59
- # Selector specifying which fields to include in a partial response.
60
- # @param [String] quota_user
61
- # Available to use for quota purposes for server-side applications. Can be any
62
- # arbitrary string assigned to a user, but should not exceed 40 characters.
63
- # Overrides userIp if both are provided.
64
- # @param [String] user_ip
65
- # IP address of the site where the request originates. Use this if you want to
66
- # enforce per-user limits.
67
- # @param [Google::Apis::RequestOptions] options
68
- # Request-specific options
69
- #
70
- # @yield [result, err] Result & error if block supplied
71
- # @yieldparam result [Google::Apis::GenomicsV1beta2::AnnotationSet] parsed result object
72
- # @yieldparam err [StandardError] error object if request failed
73
- #
74
- # @return [Google::Apis::GenomicsV1beta2::AnnotationSet]
75
- #
76
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
77
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
78
- # @raise [Google::Apis::AuthorizationError] Authorization is required
79
- def create_annotation_set(annotation_set_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
80
- path = 'annotationSets'
81
- command = make_simple_command(:post, path, options)
82
- command.request_representation = Google::Apis::GenomicsV1beta2::AnnotationSet::Representation
83
- command.request_object = annotation_set_object
84
- command.response_representation = Google::Apis::GenomicsV1beta2::AnnotationSet::Representation
85
- command.response_class = Google::Apis::GenomicsV1beta2::AnnotationSet
86
- command.query['fields'] = fields unless fields.nil?
87
- command.query['quotaUser'] = quota_user unless quota_user.nil?
88
- command.query['userIp'] = user_ip unless user_ip.nil?
89
- execute_or_queue_command(command, &block)
90
- end
91
-
92
- # Deletes an annotation set. Caller must have WRITE permission for the
93
- # associated annotation set.
94
- # @param [String] annotation_set_id
95
- # The ID of the annotation set to be deleted.
96
- # @param [String] fields
97
- # Selector specifying which fields to include in a partial response.
98
- # @param [String] quota_user
99
- # Available to use for quota purposes for server-side applications. Can be any
100
- # arbitrary string assigned to a user, but should not exceed 40 characters.
101
- # Overrides userIp if both are provided.
102
- # @param [String] user_ip
103
- # IP address of the site where the request originates. Use this if you want to
104
- # enforce per-user limits.
105
- # @param [Google::Apis::RequestOptions] options
106
- # Request-specific options
107
- #
108
- # @yield [result, err] Result & error if block supplied
109
- # @yieldparam result [NilClass] No result returned for this method
110
- # @yieldparam err [StandardError] error object if request failed
111
- #
112
- # @return [void]
113
- #
114
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
115
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
116
- # @raise [Google::Apis::AuthorizationError] Authorization is required
117
- def delete_annotation_set(annotation_set_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
118
- path = 'annotationSets/{annotationSetId}'
119
- command = make_simple_command(:delete, path, options)
120
- command.params['annotationSetId'] = annotation_set_id unless annotation_set_id.nil?
121
- command.query['fields'] = fields unless fields.nil?
122
- command.query['quotaUser'] = quota_user unless quota_user.nil?
123
- command.query['userIp'] = user_ip unless user_ip.nil?
124
- execute_or_queue_command(command, &block)
125
- end
126
-
127
- # Gets an annotation set. Caller must have READ permission for the associated
128
- # dataset.
129
- # @param [String] annotation_set_id
130
- # The ID of the annotation set to be retrieved.
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
- # Overrides userIp if both are provided.
137
- # @param [String] user_ip
138
- # IP address of the site where the request originates. Use this if you want to
139
- # enforce per-user limits.
140
- # @param [Google::Apis::RequestOptions] options
141
- # Request-specific options
142
- #
143
- # @yield [result, err] Result & error if block supplied
144
- # @yieldparam result [Google::Apis::GenomicsV1beta2::AnnotationSet] parsed result object
145
- # @yieldparam err [StandardError] error object if request failed
146
- #
147
- # @return [Google::Apis::GenomicsV1beta2::AnnotationSet]
148
- #
149
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
150
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
151
- # @raise [Google::Apis::AuthorizationError] Authorization is required
152
- def get_annotation_set(annotation_set_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
153
- path = 'annotationSets/{annotationSetId}'
154
- command = make_simple_command(:get, path, options)
155
- command.response_representation = Google::Apis::GenomicsV1beta2::AnnotationSet::Representation
156
- command.response_class = Google::Apis::GenomicsV1beta2::AnnotationSet
157
- command.params['annotationSetId'] = annotation_set_id unless annotation_set_id.nil?
158
- command.query['fields'] = fields unless fields.nil?
159
- command.query['quotaUser'] = quota_user unless quota_user.nil?
160
- command.query['userIp'] = user_ip unless user_ip.nil?
161
- execute_or_queue_command(command, &block)
162
- end
163
-
164
- # Updates an annotation set. The update must respect all mutability restrictions
165
- # and other invariants described on the annotation set resource. Caller must
166
- # have WRITE permission for the associated dataset. This method supports patch
167
- # semantics.
168
- # @param [String] annotation_set_id
169
- # The ID of the annotation set to be updated.
170
- # @param [Google::Apis::GenomicsV1beta2::AnnotationSet] annotation_set_object
171
- # @param [String] fields
172
- # Selector specifying which fields to include in a partial response.
173
- # @param [String] quota_user
174
- # Available to use for quota purposes for server-side applications. Can be any
175
- # arbitrary string assigned to a user, but should not exceed 40 characters.
176
- # Overrides userIp if both are provided.
177
- # @param [String] user_ip
178
- # IP address of the site where the request originates. Use this if you want to
179
- # enforce per-user limits.
180
- # @param [Google::Apis::RequestOptions] options
181
- # Request-specific options
182
- #
183
- # @yield [result, err] Result & error if block supplied
184
- # @yieldparam result [Google::Apis::GenomicsV1beta2::AnnotationSet] parsed result object
185
- # @yieldparam err [StandardError] error object if request failed
186
- #
187
- # @return [Google::Apis::GenomicsV1beta2::AnnotationSet]
188
- #
189
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
190
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
191
- # @raise [Google::Apis::AuthorizationError] Authorization is required
192
- def patch_annotation_set(annotation_set_id, annotation_set_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
193
- path = 'annotationSets/{annotationSetId}'
194
- command = make_simple_command(:patch, path, options)
195
- command.request_representation = Google::Apis::GenomicsV1beta2::AnnotationSet::Representation
196
- command.request_object = annotation_set_object
197
- command.response_representation = Google::Apis::GenomicsV1beta2::AnnotationSet::Representation
198
- command.response_class = Google::Apis::GenomicsV1beta2::AnnotationSet
199
- command.params['annotationSetId'] = annotation_set_id unless annotation_set_id.nil?
200
- command.query['fields'] = fields unless fields.nil?
201
- command.query['quotaUser'] = quota_user unless quota_user.nil?
202
- command.query['userIp'] = user_ip unless user_ip.nil?
203
- execute_or_queue_command(command, &block)
204
- end
205
-
206
- # Searches for annotation sets that match the given criteria. Results are
207
- # returned in a deterministic order. Caller must have READ permission for the
208
- # queried datasets.
209
- # @param [Google::Apis::GenomicsV1beta2::SearchAnnotationSetsRequest] search_annotation_sets_request_object
210
- # @param [String] fields
211
- # Selector specifying which fields to include in a partial response.
212
- # @param [String] quota_user
213
- # Available to use for quota purposes for server-side applications. Can be any
214
- # arbitrary string assigned to a user, but should not exceed 40 characters.
215
- # Overrides userIp if both are provided.
216
- # @param [String] user_ip
217
- # IP address of the site where the request originates. Use this if you want to
218
- # enforce per-user limits.
219
- # @param [Google::Apis::RequestOptions] options
220
- # Request-specific options
221
- #
222
- # @yield [result, err] Result & error if block supplied
223
- # @yieldparam result [Google::Apis::GenomicsV1beta2::SearchAnnotationSetsResponse] parsed result object
224
- # @yieldparam err [StandardError] error object if request failed
225
- #
226
- # @return [Google::Apis::GenomicsV1beta2::SearchAnnotationSetsResponse]
227
- #
228
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
229
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
230
- # @raise [Google::Apis::AuthorizationError] Authorization is required
231
- def search_annotation_sets(search_annotation_sets_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
232
- path = 'annotationSets/search'
233
- command = make_simple_command(:post, path, options)
234
- command.request_representation = Google::Apis::GenomicsV1beta2::SearchAnnotationSetsRequest::Representation
235
- command.request_object = search_annotation_sets_request_object
236
- command.response_representation = Google::Apis::GenomicsV1beta2::SearchAnnotationSetsResponse::Representation
237
- command.response_class = Google::Apis::GenomicsV1beta2::SearchAnnotationSetsResponse
238
- command.query['fields'] = fields unless fields.nil?
239
- command.query['quotaUser'] = quota_user unless quota_user.nil?
240
- command.query['userIp'] = user_ip unless user_ip.nil?
241
- execute_or_queue_command(command, &block)
242
- end
243
-
244
- # Updates an annotation set. The update must respect all mutability restrictions
245
- # and other invariants described on the annotation set resource. Caller must
246
- # have WRITE permission for the associated dataset.
247
- # @param [String] annotation_set_id
248
- # The ID of the annotation set to be updated.
249
- # @param [Google::Apis::GenomicsV1beta2::AnnotationSet] annotation_set_object
250
- # @param [String] fields
251
- # Selector specifying which fields to include in a partial response.
252
- # @param [String] quota_user
253
- # Available to use for quota purposes for server-side applications. Can be any
254
- # arbitrary string assigned to a user, but should not exceed 40 characters.
255
- # Overrides userIp if both are provided.
256
- # @param [String] user_ip
257
- # IP address of the site where the request originates. Use this if you want to
258
- # enforce per-user limits.
259
- # @param [Google::Apis::RequestOptions] options
260
- # Request-specific options
261
- #
262
- # @yield [result, err] Result & error if block supplied
263
- # @yieldparam result [Google::Apis::GenomicsV1beta2::AnnotationSet] parsed result object
264
- # @yieldparam err [StandardError] error object if request failed
265
- #
266
- # @return [Google::Apis::GenomicsV1beta2::AnnotationSet]
267
- #
268
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
269
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
270
- # @raise [Google::Apis::AuthorizationError] Authorization is required
271
- def update_annotation_set(annotation_set_id, annotation_set_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
272
- path = 'annotationSets/{annotationSetId}'
273
- command = make_simple_command(:put, path, options)
274
- command.request_representation = Google::Apis::GenomicsV1beta2::AnnotationSet::Representation
275
- command.request_object = annotation_set_object
276
- command.response_representation = Google::Apis::GenomicsV1beta2::AnnotationSet::Representation
277
- command.response_class = Google::Apis::GenomicsV1beta2::AnnotationSet
278
- command.params['annotationSetId'] = annotation_set_id unless annotation_set_id.nil?
279
- command.query['fields'] = fields unless fields.nil?
280
- command.query['quotaUser'] = quota_user unless quota_user.nil?
281
- command.query['userIp'] = user_ip unless user_ip.nil?
282
- execute_or_queue_command(command, &block)
283
- end
284
-
285
- # Creates one or more new annotations atomically. All annotations must belong to
286
- # the same annotation set. Caller must have WRITE permission for this annotation
287
- # set. For optimal performance, batch positionally adjacent annotations together.
288
- # If the request has a systemic issue, such as an attempt to write to an
289
- # inaccessible annotation set, the entire RPC will fail accordingly. For lesser
290
- # data issues, when possible an error will be isolated to the corresponding
291
- # batch entry in the response; the remaining well formed annotations will be
292
- # created normally.
293
- # @param [Google::Apis::GenomicsV1beta2::BatchCreateAnnotationsRequest] batch_create_annotations_request_object
294
- # @param [String] fields
295
- # Selector specifying which fields to include in a partial response.
296
- # @param [String] quota_user
297
- # Available to use for quota purposes for server-side applications. Can be any
298
- # arbitrary string assigned to a user, but should not exceed 40 characters.
299
- # Overrides userIp if both are provided.
300
- # @param [String] user_ip
301
- # IP address of the site where the request originates. Use this if you want to
302
- # enforce per-user limits.
303
- # @param [Google::Apis::RequestOptions] options
304
- # Request-specific options
305
- #
306
- # @yield [result, err] Result & error if block supplied
307
- # @yieldparam result [Google::Apis::GenomicsV1beta2::BatchAnnotationsResponse] parsed result object
308
- # @yieldparam err [StandardError] error object if request failed
309
- #
310
- # @return [Google::Apis::GenomicsV1beta2::BatchAnnotationsResponse]
311
- #
312
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
313
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
314
- # @raise [Google::Apis::AuthorizationError] Authorization is required
315
- def batch_create_annotations(batch_create_annotations_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
316
- path = 'annotations:batchCreate'
317
- command = make_simple_command(:post, path, options)
318
- command.request_representation = Google::Apis::GenomicsV1beta2::BatchCreateAnnotationsRequest::Representation
319
- command.request_object = batch_create_annotations_request_object
320
- command.response_representation = Google::Apis::GenomicsV1beta2::BatchAnnotationsResponse::Representation
321
- command.response_class = Google::Apis::GenomicsV1beta2::BatchAnnotationsResponse
322
- command.query['fields'] = fields unless fields.nil?
323
- command.query['quotaUser'] = quota_user unless quota_user.nil?
324
- command.query['userIp'] = user_ip unless user_ip.nil?
325
- execute_or_queue_command(command, &block)
326
- end
327
-
328
- # Creates a new annotation. Caller must have WRITE permission for the associated
329
- # annotation set.
330
- # @param [Google::Apis::GenomicsV1beta2::Annotation] annotation_object
331
- # @param [String] fields
332
- # Selector specifying which fields to include in a partial response.
333
- # @param [String] quota_user
334
- # Available to use for quota purposes for server-side applications. Can be any
335
- # arbitrary string assigned to a user, but should not exceed 40 characters.
336
- # Overrides userIp if both are provided.
337
- # @param [String] user_ip
338
- # IP address of the site where the request originates. Use this if you want to
339
- # enforce per-user limits.
340
- # @param [Google::Apis::RequestOptions] options
341
- # Request-specific options
342
- #
343
- # @yield [result, err] Result & error if block supplied
344
- # @yieldparam result [Google::Apis::GenomicsV1beta2::Annotation] parsed result object
345
- # @yieldparam err [StandardError] error object if request failed
346
- #
347
- # @return [Google::Apis::GenomicsV1beta2::Annotation]
348
- #
349
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
350
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
351
- # @raise [Google::Apis::AuthorizationError] Authorization is required
352
- def create_annotation(annotation_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
353
- path = 'annotations'
354
- command = make_simple_command(:post, path, options)
355
- command.request_representation = Google::Apis::GenomicsV1beta2::Annotation::Representation
356
- command.request_object = annotation_object
357
- command.response_representation = Google::Apis::GenomicsV1beta2::Annotation::Representation
358
- command.response_class = Google::Apis::GenomicsV1beta2::Annotation
359
- command.query['fields'] = fields unless fields.nil?
360
- command.query['quotaUser'] = quota_user unless quota_user.nil?
361
- command.query['userIp'] = user_ip unless user_ip.nil?
362
- execute_or_queue_command(command, &block)
363
- end
364
-
365
- # Deletes an annotation. Caller must have WRITE permission for the associated
366
- # annotation set.
367
- # @param [String] annotation_id
368
- # The ID of the annotation set to be deleted.
369
- # @param [String] fields
370
- # Selector specifying which fields to include in a partial response.
371
- # @param [String] quota_user
372
- # Available to use for quota purposes for server-side applications. Can be any
373
- # arbitrary string assigned to a user, but should not exceed 40 characters.
374
- # Overrides userIp if both are provided.
375
- # @param [String] user_ip
376
- # IP address of the site where the request originates. Use this if you want to
377
- # enforce per-user limits.
378
- # @param [Google::Apis::RequestOptions] options
379
- # Request-specific options
380
- #
381
- # @yield [result, err] Result & error if block supplied
382
- # @yieldparam result [NilClass] No result returned for this method
383
- # @yieldparam err [StandardError] error object if request failed
384
- #
385
- # @return [void]
386
- #
387
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
388
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
389
- # @raise [Google::Apis::AuthorizationError] Authorization is required
390
- def delete_annotation(annotation_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
391
- path = 'annotations/{annotationId}'
392
- command = make_simple_command(:delete, path, options)
393
- command.params['annotationId'] = annotation_id unless annotation_id.nil?
394
- command.query['fields'] = fields unless fields.nil?
395
- command.query['quotaUser'] = quota_user unless quota_user.nil?
396
- command.query['userIp'] = user_ip unless user_ip.nil?
397
- execute_or_queue_command(command, &block)
398
- end
399
-
400
- # Gets an annotation. Caller must have READ permission for the associated
401
- # annotation set.
402
- # @param [String] annotation_id
403
- # The ID of the annotation set to be retrieved.
404
- # @param [String] fields
405
- # Selector specifying which fields to include in a partial response.
406
- # @param [String] quota_user
407
- # Available to use for quota purposes for server-side applications. Can be any
408
- # arbitrary string assigned to a user, but should not exceed 40 characters.
409
- # Overrides userIp if both are provided.
410
- # @param [String] user_ip
411
- # IP address of the site where the request originates. Use this if you want to
412
- # enforce per-user limits.
413
- # @param [Google::Apis::RequestOptions] options
414
- # Request-specific options
415
- #
416
- # @yield [result, err] Result & error if block supplied
417
- # @yieldparam result [Google::Apis::GenomicsV1beta2::Annotation] parsed result object
418
- # @yieldparam err [StandardError] error object if request failed
419
- #
420
- # @return [Google::Apis::GenomicsV1beta2::Annotation]
421
- #
422
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
423
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
424
- # @raise [Google::Apis::AuthorizationError] Authorization is required
425
- def get_annotation(annotation_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
426
- path = 'annotations/{annotationId}'
427
- command = make_simple_command(:get, path, options)
428
- command.response_representation = Google::Apis::GenomicsV1beta2::Annotation::Representation
429
- command.response_class = Google::Apis::GenomicsV1beta2::Annotation
430
- command.params['annotationId'] = annotation_id unless annotation_id.nil?
431
- command.query['fields'] = fields unless fields.nil?
432
- command.query['quotaUser'] = quota_user unless quota_user.nil?
433
- command.query['userIp'] = user_ip unless user_ip.nil?
434
- execute_or_queue_command(command, &block)
435
- end
436
-
437
- # Updates an annotation. The update must respect all mutability restrictions and
438
- # other invariants described on the annotation resource. Caller must have WRITE
439
- # permission for the associated dataset. This method supports patch semantics.
440
- # @param [String] annotation_id
441
- # The ID of the annotation set to be updated.
442
- # @param [Google::Apis::GenomicsV1beta2::Annotation] annotation_object
443
- # @param [String] fields
444
- # Selector specifying which fields to include in a partial response.
445
- # @param [String] quota_user
446
- # Available to use for quota purposes for server-side applications. Can be any
447
- # arbitrary string assigned to a user, but should not exceed 40 characters.
448
- # Overrides userIp if both are provided.
449
- # @param [String] user_ip
450
- # IP address of the site where the request originates. Use this if you want to
451
- # enforce per-user limits.
452
- # @param [Google::Apis::RequestOptions] options
453
- # Request-specific options
454
- #
455
- # @yield [result, err] Result & error if block supplied
456
- # @yieldparam result [Google::Apis::GenomicsV1beta2::Annotation] parsed result object
457
- # @yieldparam err [StandardError] error object if request failed
458
- #
459
- # @return [Google::Apis::GenomicsV1beta2::Annotation]
460
- #
461
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
462
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
463
- # @raise [Google::Apis::AuthorizationError] Authorization is required
464
- def patch_annotation(annotation_id, annotation_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
465
- path = 'annotations/{annotationId}'
466
- command = make_simple_command(:patch, path, options)
467
- command.request_representation = Google::Apis::GenomicsV1beta2::Annotation::Representation
468
- command.request_object = annotation_object
469
- command.response_representation = Google::Apis::GenomicsV1beta2::Annotation::Representation
470
- command.response_class = Google::Apis::GenomicsV1beta2::Annotation
471
- command.params['annotationId'] = annotation_id unless annotation_id.nil?
472
- command.query['fields'] = fields unless fields.nil?
473
- command.query['quotaUser'] = quota_user unless quota_user.nil?
474
- command.query['userIp'] = user_ip unless user_ip.nil?
475
- execute_or_queue_command(command, &block)
476
- end
477
-
478
- # Searches for annotations that match the given criteria. Results are returned
479
- # ordered by start position. Annotations that have matching start positions are
480
- # ordered deterministically. Caller must have READ permission for the queried
481
- # annotation sets.
482
- # @param [Google::Apis::GenomicsV1beta2::SearchAnnotationsRequest] search_annotations_request_object
483
- # @param [String] fields
484
- # Selector specifying which fields to include in a partial response.
485
- # @param [String] quota_user
486
- # Available to use for quota purposes for server-side applications. Can be any
487
- # arbitrary string assigned to a user, but should not exceed 40 characters.
488
- # Overrides userIp if both are provided.
489
- # @param [String] user_ip
490
- # IP address of the site where the request originates. Use this if you want to
491
- # enforce per-user limits.
492
- # @param [Google::Apis::RequestOptions] options
493
- # Request-specific options
494
- #
495
- # @yield [result, err] Result & error if block supplied
496
- # @yieldparam result [Google::Apis::GenomicsV1beta2::SearchAnnotationsResponse] parsed result object
497
- # @yieldparam err [StandardError] error object if request failed
498
- #
499
- # @return [Google::Apis::GenomicsV1beta2::SearchAnnotationsResponse]
500
- #
501
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
502
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
503
- # @raise [Google::Apis::AuthorizationError] Authorization is required
504
- def search_annotations(search_annotations_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
505
- path = 'annotations/search'
506
- command = make_simple_command(:post, path, options)
507
- command.request_representation = Google::Apis::GenomicsV1beta2::SearchAnnotationsRequest::Representation
508
- command.request_object = search_annotations_request_object
509
- command.response_representation = Google::Apis::GenomicsV1beta2::SearchAnnotationsResponse::Representation
510
- command.response_class = Google::Apis::GenomicsV1beta2::SearchAnnotationsResponse
511
- command.query['fields'] = fields unless fields.nil?
512
- command.query['quotaUser'] = quota_user unless quota_user.nil?
513
- command.query['userIp'] = user_ip unless user_ip.nil?
514
- execute_or_queue_command(command, &block)
515
- end
516
-
517
- # Updates an annotation. The update must respect all mutability restrictions and
518
- # other invariants described on the annotation resource. Caller must have WRITE
519
- # permission for the associated dataset.
520
- # @param [String] annotation_id
521
- # The ID of the annotation set to be updated.
522
- # @param [Google::Apis::GenomicsV1beta2::Annotation] annotation_object
523
- # @param [String] fields
524
- # Selector specifying which fields to include in a partial response.
525
- # @param [String] quota_user
526
- # Available to use for quota purposes for server-side applications. Can be any
527
- # arbitrary string assigned to a user, but should not exceed 40 characters.
528
- # Overrides userIp if both are provided.
529
- # @param [String] user_ip
530
- # IP address of the site where the request originates. Use this if you want to
531
- # enforce per-user limits.
532
- # @param [Google::Apis::RequestOptions] options
533
- # Request-specific options
534
- #
535
- # @yield [result, err] Result & error if block supplied
536
- # @yieldparam result [Google::Apis::GenomicsV1beta2::Annotation] parsed result object
537
- # @yieldparam err [StandardError] error object if request failed
538
- #
539
- # @return [Google::Apis::GenomicsV1beta2::Annotation]
540
- #
541
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
542
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
543
- # @raise [Google::Apis::AuthorizationError] Authorization is required
544
- def update_annotation(annotation_id, annotation_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
545
- path = 'annotations/{annotationId}'
546
- command = make_simple_command(:put, path, options)
547
- command.request_representation = Google::Apis::GenomicsV1beta2::Annotation::Representation
548
- command.request_object = annotation_object
549
- command.response_representation = Google::Apis::GenomicsV1beta2::Annotation::Representation
550
- command.response_class = Google::Apis::GenomicsV1beta2::Annotation
551
- command.params['annotationId'] = annotation_id unless annotation_id.nil?
552
- command.query['fields'] = fields unless fields.nil?
553
- command.query['quotaUser'] = quota_user unless quota_user.nil?
554
- command.query['userIp'] = user_ip unless user_ip.nil?
555
- execute_or_queue_command(command, &block)
556
- end
557
-
558
- # Creates a new call set.
559
- # @param [Google::Apis::GenomicsV1beta2::CallSet] call_set_object
560
- # @param [String] fields
561
- # Selector specifying which fields to include in a partial response.
562
- # @param [String] quota_user
563
- # Available to use for quota purposes for server-side applications. Can be any
564
- # arbitrary string assigned to a user, but should not exceed 40 characters.
565
- # Overrides userIp if both are provided.
566
- # @param [String] user_ip
567
- # IP address of the site where the request originates. Use this if you want to
568
- # enforce per-user limits.
569
- # @param [Google::Apis::RequestOptions] options
570
- # Request-specific options
571
- #
572
- # @yield [result, err] Result & error if block supplied
573
- # @yieldparam result [Google::Apis::GenomicsV1beta2::CallSet] parsed result object
574
- # @yieldparam err [StandardError] error object if request failed
575
- #
576
- # @return [Google::Apis::GenomicsV1beta2::CallSet]
577
- #
578
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
579
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
580
- # @raise [Google::Apis::AuthorizationError] Authorization is required
581
- def create_call_set(call_set_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
582
- path = 'callsets'
583
- command = make_simple_command(:post, path, options)
584
- command.request_representation = Google::Apis::GenomicsV1beta2::CallSet::Representation
585
- command.request_object = call_set_object
586
- command.response_representation = Google::Apis::GenomicsV1beta2::CallSet::Representation
587
- command.response_class = Google::Apis::GenomicsV1beta2::CallSet
588
- command.query['fields'] = fields unless fields.nil?
589
- command.query['quotaUser'] = quota_user unless quota_user.nil?
590
- command.query['userIp'] = user_ip unless user_ip.nil?
591
- execute_or_queue_command(command, &block)
592
- end
593
-
594
- # Deletes a call set.
595
- # @param [String] call_set_id
596
- # The ID of the call set to be deleted.
597
- # @param [String] fields
598
- # Selector specifying which fields to include in a partial response.
599
- # @param [String] quota_user
600
- # Available to use for quota purposes for server-side applications. Can be any
601
- # arbitrary string assigned to a user, but should not exceed 40 characters.
602
- # Overrides userIp if both are provided.
603
- # @param [String] user_ip
604
- # IP address of the site where the request originates. Use this if you want to
605
- # enforce per-user limits.
606
- # @param [Google::Apis::RequestOptions] options
607
- # Request-specific options
608
- #
609
- # @yield [result, err] Result & error if block supplied
610
- # @yieldparam result [NilClass] No result returned for this method
611
- # @yieldparam err [StandardError] error object if request failed
612
- #
613
- # @return [void]
614
- #
615
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
616
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
617
- # @raise [Google::Apis::AuthorizationError] Authorization is required
618
- def delete_call_set(call_set_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
619
- path = 'callsets/{callSetId}'
620
- command = make_simple_command(:delete, path, options)
621
- command.params['callSetId'] = call_set_id unless call_set_id.nil?
622
- command.query['fields'] = fields unless fields.nil?
623
- command.query['quotaUser'] = quota_user unless quota_user.nil?
624
- command.query['userIp'] = user_ip unless user_ip.nil?
625
- execute_or_queue_command(command, &block)
626
- end
627
-
628
- # Gets a call set by ID.
629
- # @param [String] call_set_id
630
- # The ID of the call set.
631
- # @param [String] fields
632
- # Selector specifying which fields to include in a partial response.
633
- # @param [String] quota_user
634
- # Available to use for quota purposes for server-side applications. Can be any
635
- # arbitrary string assigned to a user, but should not exceed 40 characters.
636
- # Overrides userIp if both are provided.
637
- # @param [String] user_ip
638
- # IP address of the site where the request originates. Use this if you want to
639
- # enforce per-user limits.
640
- # @param [Google::Apis::RequestOptions] options
641
- # Request-specific options
642
- #
643
- # @yield [result, err] Result & error if block supplied
644
- # @yieldparam result [Google::Apis::GenomicsV1beta2::CallSet] parsed result object
645
- # @yieldparam err [StandardError] error object if request failed
646
- #
647
- # @return [Google::Apis::GenomicsV1beta2::CallSet]
648
- #
649
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
650
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
651
- # @raise [Google::Apis::AuthorizationError] Authorization is required
652
- def get_call_set(call_set_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
653
- path = 'callsets/{callSetId}'
654
- command = make_simple_command(:get, path, options)
655
- command.response_representation = Google::Apis::GenomicsV1beta2::CallSet::Representation
656
- command.response_class = Google::Apis::GenomicsV1beta2::CallSet
657
- command.params['callSetId'] = call_set_id unless call_set_id.nil?
658
- command.query['fields'] = fields unless fields.nil?
659
- command.query['quotaUser'] = quota_user unless quota_user.nil?
660
- command.query['userIp'] = user_ip unless user_ip.nil?
661
- execute_or_queue_command(command, &block)
662
- end
663
-
664
- # Updates a call set. This method supports patch semantics.
665
- # @param [String] call_set_id
666
- # The ID of the call set to be updated.
667
- # @param [Google::Apis::GenomicsV1beta2::CallSet] call_set_object
668
- # @param [String] fields
669
- # Selector specifying which fields to include in a partial response.
670
- # @param [String] quota_user
671
- # Available to use for quota purposes for server-side applications. Can be any
672
- # arbitrary string assigned to a user, but should not exceed 40 characters.
673
- # Overrides userIp if both are provided.
674
- # @param [String] user_ip
675
- # IP address of the site where the request originates. Use this if you want to
676
- # enforce per-user limits.
677
- # @param [Google::Apis::RequestOptions] options
678
- # Request-specific options
679
- #
680
- # @yield [result, err] Result & error if block supplied
681
- # @yieldparam result [Google::Apis::GenomicsV1beta2::CallSet] parsed result object
682
- # @yieldparam err [StandardError] error object if request failed
683
- #
684
- # @return [Google::Apis::GenomicsV1beta2::CallSet]
685
- #
686
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
687
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
688
- # @raise [Google::Apis::AuthorizationError] Authorization is required
689
- def patch_call_set(call_set_id, call_set_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
690
- path = 'callsets/{callSetId}'
691
- command = make_simple_command(:patch, path, options)
692
- command.request_representation = Google::Apis::GenomicsV1beta2::CallSet::Representation
693
- command.request_object = call_set_object
694
- command.response_representation = Google::Apis::GenomicsV1beta2::CallSet::Representation
695
- command.response_class = Google::Apis::GenomicsV1beta2::CallSet
696
- command.params['callSetId'] = call_set_id unless call_set_id.nil?
697
- command.query['fields'] = fields unless fields.nil?
698
- command.query['quotaUser'] = quota_user unless quota_user.nil?
699
- command.query['userIp'] = user_ip unless user_ip.nil?
700
- execute_or_queue_command(command, &block)
701
- end
702
-
703
- # Gets a list of call sets matching the criteria.
704
- # Implements GlobalAllianceApi.searchCallSets.
705
- # @param [Google::Apis::GenomicsV1beta2::SearchCallSetsRequest] search_call_sets_request_object
706
- # @param [String] fields
707
- # Selector specifying which fields to include in a partial response.
708
- # @param [String] quota_user
709
- # Available to use for quota purposes for server-side applications. Can be any
710
- # arbitrary string assigned to a user, but should not exceed 40 characters.
711
- # Overrides userIp if both are provided.
712
- # @param [String] user_ip
713
- # IP address of the site where the request originates. Use this if you want to
714
- # enforce per-user limits.
715
- # @param [Google::Apis::RequestOptions] options
716
- # Request-specific options
717
- #
718
- # @yield [result, err] Result & error if block supplied
719
- # @yieldparam result [Google::Apis::GenomicsV1beta2::SearchCallSetsResponse] parsed result object
720
- # @yieldparam err [StandardError] error object if request failed
721
- #
722
- # @return [Google::Apis::GenomicsV1beta2::SearchCallSetsResponse]
723
- #
724
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
725
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
726
- # @raise [Google::Apis::AuthorizationError] Authorization is required
727
- def search_call_sets(search_call_sets_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
728
- path = 'callsets/search'
729
- command = make_simple_command(:post, path, options)
730
- command.request_representation = Google::Apis::GenomicsV1beta2::SearchCallSetsRequest::Representation
731
- command.request_object = search_call_sets_request_object
732
- command.response_representation = Google::Apis::GenomicsV1beta2::SearchCallSetsResponse::Representation
733
- command.response_class = Google::Apis::GenomicsV1beta2::SearchCallSetsResponse
734
- command.query['fields'] = fields unless fields.nil?
735
- command.query['quotaUser'] = quota_user unless quota_user.nil?
736
- command.query['userIp'] = user_ip unless user_ip.nil?
737
- execute_or_queue_command(command, &block)
738
- end
739
-
740
- # Updates a call set.
741
- # @param [String] call_set_id
742
- # The ID of the call set to be updated.
743
- # @param [Google::Apis::GenomicsV1beta2::CallSet] call_set_object
744
- # @param [String] fields
745
- # Selector specifying which fields to include in a partial response.
746
- # @param [String] quota_user
747
- # Available to use for quota purposes for server-side applications. Can be any
748
- # arbitrary string assigned to a user, but should not exceed 40 characters.
749
- # Overrides userIp if both are provided.
750
- # @param [String] user_ip
751
- # IP address of the site where the request originates. Use this if you want to
752
- # enforce per-user limits.
753
- # @param [Google::Apis::RequestOptions] options
754
- # Request-specific options
755
- #
756
- # @yield [result, err] Result & error if block supplied
757
- # @yieldparam result [Google::Apis::GenomicsV1beta2::CallSet] parsed result object
758
- # @yieldparam err [StandardError] error object if request failed
759
- #
760
- # @return [Google::Apis::GenomicsV1beta2::CallSet]
761
- #
762
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
763
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
764
- # @raise [Google::Apis::AuthorizationError] Authorization is required
765
- def update_call_set(call_set_id, call_set_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
766
- path = 'callsets/{callSetId}'
767
- command = make_simple_command(:put, path, options)
768
- command.request_representation = Google::Apis::GenomicsV1beta2::CallSet::Representation
769
- command.request_object = call_set_object
770
- command.response_representation = Google::Apis::GenomicsV1beta2::CallSet::Representation
771
- command.response_class = Google::Apis::GenomicsV1beta2::CallSet
772
- command.params['callSetId'] = call_set_id unless call_set_id.nil?
773
- command.query['fields'] = fields unless fields.nil?
774
- command.query['quotaUser'] = quota_user unless quota_user.nil?
775
- command.query['userIp'] = user_ip unless user_ip.nil?
776
- execute_or_queue_command(command, &block)
777
- end
778
-
779
- # Creates a new dataset.
780
- # @param [Google::Apis::GenomicsV1beta2::Dataset] dataset_object
781
- # @param [String] fields
782
- # Selector specifying which fields to include in a partial response.
783
- # @param [String] quota_user
784
- # Available to use for quota purposes for server-side applications. Can be any
785
- # arbitrary string assigned to a user, but should not exceed 40 characters.
786
- # Overrides userIp if both are provided.
787
- # @param [String] user_ip
788
- # IP address of the site where the request originates. Use this if you want to
789
- # enforce per-user limits.
790
- # @param [Google::Apis::RequestOptions] options
791
- # Request-specific options
792
- #
793
- # @yield [result, err] Result & error if block supplied
794
- # @yieldparam result [Google::Apis::GenomicsV1beta2::Dataset] parsed result object
795
- # @yieldparam err [StandardError] error object if request failed
796
- #
797
- # @return [Google::Apis::GenomicsV1beta2::Dataset]
798
- #
799
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
800
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
801
- # @raise [Google::Apis::AuthorizationError] Authorization is required
802
- def create_dataset(dataset_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
803
- path = 'datasets'
804
- command = make_simple_command(:post, path, options)
805
- command.request_representation = Google::Apis::GenomicsV1beta2::Dataset::Representation
806
- command.request_object = dataset_object
807
- command.response_representation = Google::Apis::GenomicsV1beta2::Dataset::Representation
808
- command.response_class = Google::Apis::GenomicsV1beta2::Dataset
809
- command.query['fields'] = fields unless fields.nil?
810
- command.query['quotaUser'] = quota_user unless quota_user.nil?
811
- command.query['userIp'] = user_ip unless user_ip.nil?
812
- execute_or_queue_command(command, &block)
813
- end
814
-
815
- # Deletes a dataset.
816
- # @param [String] dataset_id
817
- # The ID of the dataset to be deleted.
818
- # @param [String] fields
819
- # Selector specifying which fields to include in a partial response.
820
- # @param [String] quota_user
821
- # Available to use for quota purposes for server-side applications. Can be any
822
- # arbitrary string assigned to a user, but should not exceed 40 characters.
823
- # Overrides userIp if both are provided.
824
- # @param [String] user_ip
825
- # IP address of the site where the request originates. Use this if you want to
826
- # enforce per-user limits.
827
- # @param [Google::Apis::RequestOptions] options
828
- # Request-specific options
829
- #
830
- # @yield [result, err] Result & error if block supplied
831
- # @yieldparam result [NilClass] No result returned for this method
832
- # @yieldparam err [StandardError] error object if request failed
833
- #
834
- # @return [void]
835
- #
836
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
837
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
838
- # @raise [Google::Apis::AuthorizationError] Authorization is required
839
- def delete_dataset(dataset_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
840
- path = 'datasets/{datasetId}'
841
- command = make_simple_command(:delete, path, options)
842
- command.params['datasetId'] = dataset_id unless dataset_id.nil?
843
- command.query['fields'] = fields unless fields.nil?
844
- command.query['quotaUser'] = quota_user unless quota_user.nil?
845
- command.query['userIp'] = user_ip unless user_ip.nil?
846
- execute_or_queue_command(command, &block)
847
- end
848
-
849
- # Gets a dataset by ID.
850
- # @param [String] dataset_id
851
- # The ID of the dataset.
852
- # @param [String] fields
853
- # Selector specifying which fields to include in a partial response.
854
- # @param [String] quota_user
855
- # Available to use for quota purposes for server-side applications. Can be any
856
- # arbitrary string assigned to a user, but should not exceed 40 characters.
857
- # Overrides userIp if both are provided.
858
- # @param [String] user_ip
859
- # IP address of the site where the request originates. Use this if you want to
860
- # enforce per-user limits.
861
- # @param [Google::Apis::RequestOptions] options
862
- # Request-specific options
863
- #
864
- # @yield [result, err] Result & error if block supplied
865
- # @yieldparam result [Google::Apis::GenomicsV1beta2::Dataset] parsed result object
866
- # @yieldparam err [StandardError] error object if request failed
867
- #
868
- # @return [Google::Apis::GenomicsV1beta2::Dataset]
869
- #
870
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
871
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
872
- # @raise [Google::Apis::AuthorizationError] Authorization is required
873
- def get_dataset(dataset_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
874
- path = 'datasets/{datasetId}'
875
- command = make_simple_command(:get, path, options)
876
- command.response_representation = Google::Apis::GenomicsV1beta2::Dataset::Representation
877
- command.response_class = Google::Apis::GenomicsV1beta2::Dataset
878
- command.params['datasetId'] = dataset_id unless dataset_id.nil?
879
- command.query['fields'] = fields unless fields.nil?
880
- command.query['quotaUser'] = quota_user unless quota_user.nil?
881
- command.query['userIp'] = user_ip unless user_ip.nil?
882
- execute_or_queue_command(command, &block)
883
- end
884
-
885
- # Lists datasets within a project.
886
- # @param [Fixnum] page_size
887
- # The maximum number of results returned by this request. If unspecified,
888
- # defaults to 50.
889
- # @param [String] page_token
890
- # The continuation token, which is used to page through large result sets. To
891
- # get the next page of results, set this parameter to the value of nextPageToken
892
- # from the previous response.
893
- # @param [String] project_number
894
- # Required. The project to list datasets for.
895
- # @param [String] fields
896
- # Selector specifying which fields to include in a partial response.
897
- # @param [String] quota_user
898
- # Available to use for quota purposes for server-side applications. Can be any
899
- # arbitrary string assigned to a user, but should not exceed 40 characters.
900
- # Overrides userIp if both are provided.
901
- # @param [String] user_ip
902
- # IP address of the site where the request originates. Use this if you want to
903
- # enforce per-user limits.
904
- # @param [Google::Apis::RequestOptions] options
905
- # Request-specific options
906
- #
907
- # @yield [result, err] Result & error if block supplied
908
- # @yieldparam result [Google::Apis::GenomicsV1beta2::ListDatasetsResponse] parsed result object
909
- # @yieldparam err [StandardError] error object if request failed
910
- #
911
- # @return [Google::Apis::GenomicsV1beta2::ListDatasetsResponse]
912
- #
913
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
914
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
915
- # @raise [Google::Apis::AuthorizationError] Authorization is required
916
- def list_datasets(page_size: nil, page_token: nil, project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
917
- path = 'datasets'
918
- command = make_simple_command(:get, path, options)
919
- command.response_representation = Google::Apis::GenomicsV1beta2::ListDatasetsResponse::Representation
920
- command.response_class = Google::Apis::GenomicsV1beta2::ListDatasetsResponse
921
- command.query['pageSize'] = page_size unless page_size.nil?
922
- command.query['pageToken'] = page_token unless page_token.nil?
923
- command.query['projectNumber'] = project_number unless project_number.nil?
924
- command.query['fields'] = fields unless fields.nil?
925
- command.query['quotaUser'] = quota_user unless quota_user.nil?
926
- command.query['userIp'] = user_ip unless user_ip.nil?
927
- execute_or_queue_command(command, &block)
928
- end
929
-
930
- # Updates a dataset. This method supports patch semantics.
931
- # @param [String] dataset_id
932
- # The ID of the dataset to be updated.
933
- # @param [Google::Apis::GenomicsV1beta2::Dataset] dataset_object
934
- # @param [String] fields
935
- # Selector specifying which fields to include in a partial response.
936
- # @param [String] quota_user
937
- # Available to use for quota purposes for server-side applications. Can be any
938
- # arbitrary string assigned to a user, but should not exceed 40 characters.
939
- # Overrides userIp if both are provided.
940
- # @param [String] user_ip
941
- # IP address of the site where the request originates. Use this if you want to
942
- # enforce per-user limits.
943
- # @param [Google::Apis::RequestOptions] options
944
- # Request-specific options
945
- #
946
- # @yield [result, err] Result & error if block supplied
947
- # @yieldparam result [Google::Apis::GenomicsV1beta2::Dataset] parsed result object
948
- # @yieldparam err [StandardError] error object if request failed
949
- #
950
- # @return [Google::Apis::GenomicsV1beta2::Dataset]
951
- #
952
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
953
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
954
- # @raise [Google::Apis::AuthorizationError] Authorization is required
955
- def patch_dataset(dataset_id, dataset_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
956
- path = 'datasets/{datasetId}'
957
- command = make_simple_command(:patch, path, options)
958
- command.request_representation = Google::Apis::GenomicsV1beta2::Dataset::Representation
959
- command.request_object = dataset_object
960
- command.response_representation = Google::Apis::GenomicsV1beta2::Dataset::Representation
961
- command.response_class = Google::Apis::GenomicsV1beta2::Dataset
962
- command.params['datasetId'] = dataset_id unless dataset_id.nil?
963
- command.query['fields'] = fields unless fields.nil?
964
- command.query['quotaUser'] = quota_user unless quota_user.nil?
965
- command.query['userIp'] = user_ip unless user_ip.nil?
966
- execute_or_queue_command(command, &block)
967
- end
968
-
969
- # Undeletes a dataset by restoring a dataset which was deleted via this API.
970
- # This operation is only possible for a week after the deletion occurred.
971
- # @param [String] dataset_id
972
- # The ID of the dataset to be undeleted.
973
- # @param [String] fields
974
- # Selector specifying which fields to include in a partial response.
975
- # @param [String] quota_user
976
- # Available to use for quota purposes for server-side applications. Can be any
977
- # arbitrary string assigned to a user, but should not exceed 40 characters.
978
- # Overrides userIp if both are provided.
979
- # @param [String] user_ip
980
- # IP address of the site where the request originates. Use this if you want to
981
- # enforce per-user limits.
982
- # @param [Google::Apis::RequestOptions] options
983
- # Request-specific options
984
- #
985
- # @yield [result, err] Result & error if block supplied
986
- # @yieldparam result [Google::Apis::GenomicsV1beta2::Dataset] parsed result object
987
- # @yieldparam err [StandardError] error object if request failed
988
- #
989
- # @return [Google::Apis::GenomicsV1beta2::Dataset]
990
- #
991
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
992
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
993
- # @raise [Google::Apis::AuthorizationError] Authorization is required
994
- def undelete_dataset(dataset_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
995
- path = 'datasets/{datasetId}/undelete'
996
- command = make_simple_command(:post, path, options)
997
- command.response_representation = Google::Apis::GenomicsV1beta2::Dataset::Representation
998
- command.response_class = Google::Apis::GenomicsV1beta2::Dataset
999
- command.params['datasetId'] = dataset_id unless dataset_id.nil?
1000
- command.query['fields'] = fields unless fields.nil?
1001
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1002
- command.query['userIp'] = user_ip unless user_ip.nil?
1003
- execute_or_queue_command(command, &block)
1004
- end
1005
-
1006
- # Updates a dataset.
1007
- # @param [String] dataset_id
1008
- # The ID of the dataset to be updated.
1009
- # @param [Google::Apis::GenomicsV1beta2::Dataset] dataset_object
1010
- # @param [String] fields
1011
- # Selector specifying which fields to include in a partial response.
1012
- # @param [String] quota_user
1013
- # Available to use for quota purposes for server-side applications. Can be any
1014
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1015
- # Overrides userIp if both are provided.
1016
- # @param [String] user_ip
1017
- # IP address of the site where the request originates. Use this if you want to
1018
- # enforce per-user limits.
1019
- # @param [Google::Apis::RequestOptions] options
1020
- # Request-specific options
1021
- #
1022
- # @yield [result, err] Result & error if block supplied
1023
- # @yieldparam result [Google::Apis::GenomicsV1beta2::Dataset] parsed result object
1024
- # @yieldparam err [StandardError] error object if request failed
1025
- #
1026
- # @return [Google::Apis::GenomicsV1beta2::Dataset]
1027
- #
1028
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1029
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1030
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1031
- def update_dataset(dataset_id, dataset_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1032
- path = 'datasets/{datasetId}'
1033
- command = make_simple_command(:put, path, options)
1034
- command.request_representation = Google::Apis::GenomicsV1beta2::Dataset::Representation
1035
- command.request_object = dataset_object
1036
- command.response_representation = Google::Apis::GenomicsV1beta2::Dataset::Representation
1037
- command.response_class = Google::Apis::GenomicsV1beta2::Dataset
1038
- command.params['datasetId'] = dataset_id unless dataset_id.nil?
1039
- command.query['fields'] = fields unless fields.nil?
1040
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1041
- command.query['userIp'] = user_ip unless user_ip.nil?
1042
- execute_or_queue_command(command, &block)
1043
- end
1044
-
1045
- # Creates and asynchronously runs an ad-hoc job. This is an experimental call
1046
- # and may be removed or changed at any time.
1047
- # @param [Google::Apis::GenomicsV1beta2::ExperimentalCreateJobRequest] experimental_create_job_request_object
1048
- # @param [String] fields
1049
- # Selector specifying which fields to include in a partial response.
1050
- # @param [String] quota_user
1051
- # Available to use for quota purposes for server-side applications. Can be any
1052
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1053
- # Overrides userIp if both are provided.
1054
- # @param [String] user_ip
1055
- # IP address of the site where the request originates. Use this if you want to
1056
- # enforce per-user limits.
1057
- # @param [Google::Apis::RequestOptions] options
1058
- # Request-specific options
1059
- #
1060
- # @yield [result, err] Result & error if block supplied
1061
- # @yieldparam result [Google::Apis::GenomicsV1beta2::ExperimentalCreateJobResponse] parsed result object
1062
- # @yieldparam err [StandardError] error object if request failed
1063
- #
1064
- # @return [Google::Apis::GenomicsV1beta2::ExperimentalCreateJobResponse]
1065
- #
1066
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1067
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1068
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1069
- def create_experimental_job(experimental_create_job_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1070
- path = 'experimental/jobs/create'
1071
- command = make_simple_command(:post, path, options)
1072
- command.request_representation = Google::Apis::GenomicsV1beta2::ExperimentalCreateJobRequest::Representation
1073
- command.request_object = experimental_create_job_request_object
1074
- command.response_representation = Google::Apis::GenomicsV1beta2::ExperimentalCreateJobResponse::Representation
1075
- command.response_class = Google::Apis::GenomicsV1beta2::ExperimentalCreateJobResponse
1076
- command.query['fields'] = fields unless fields.nil?
1077
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1078
- command.query['userIp'] = user_ip unless user_ip.nil?
1079
- execute_or_queue_command(command, &block)
1080
- end
1081
-
1082
- # Cancels a job by ID. Note that it is possible for partial results to be
1083
- # generated and stored for cancelled jobs.
1084
- # @param [String] job_id
1085
- # Required. The ID of the job.
1086
- # @param [String] fields
1087
- # Selector specifying which fields to include in a partial response.
1088
- # @param [String] quota_user
1089
- # Available to use for quota purposes for server-side applications. Can be any
1090
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1091
- # Overrides userIp if both are provided.
1092
- # @param [String] user_ip
1093
- # IP address of the site where the request originates. Use this if you want to
1094
- # enforce per-user limits.
1095
- # @param [Google::Apis::RequestOptions] options
1096
- # Request-specific options
1097
- #
1098
- # @yield [result, err] Result & error if block supplied
1099
- # @yieldparam result [NilClass] No result returned for this method
1100
- # @yieldparam err [StandardError] error object if request failed
1101
- #
1102
- # @return [void]
1103
- #
1104
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1105
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1106
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1107
- def cancel_job(job_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1108
- path = 'jobs/{jobId}/cancel'
1109
- command = make_simple_command(:post, path, options)
1110
- command.params['jobId'] = job_id unless job_id.nil?
1111
- command.query['fields'] = fields unless fields.nil?
1112
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1113
- command.query['userIp'] = user_ip unless user_ip.nil?
1114
- execute_or_queue_command(command, &block)
1115
- end
1116
-
1117
- # Gets a job by ID.
1118
- # @param [String] job_id
1119
- # Required. The ID of the job.
1120
- # @param [String] fields
1121
- # Selector specifying which fields to include in a partial response.
1122
- # @param [String] quota_user
1123
- # Available to use for quota purposes for server-side applications. Can be any
1124
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1125
- # Overrides userIp if both are provided.
1126
- # @param [String] user_ip
1127
- # IP address of the site where the request originates. Use this if you want to
1128
- # enforce per-user limits.
1129
- # @param [Google::Apis::RequestOptions] options
1130
- # Request-specific options
1131
- #
1132
- # @yield [result, err] Result & error if block supplied
1133
- # @yieldparam result [Google::Apis::GenomicsV1beta2::Job] parsed result object
1134
- # @yieldparam err [StandardError] error object if request failed
1135
- #
1136
- # @return [Google::Apis::GenomicsV1beta2::Job]
1137
- #
1138
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1139
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1140
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1141
- def get_job(job_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1142
- path = 'jobs/{jobId}'
1143
- command = make_simple_command(:get, path, options)
1144
- command.response_representation = Google::Apis::GenomicsV1beta2::Job::Representation
1145
- command.response_class = Google::Apis::GenomicsV1beta2::Job
1146
- command.params['jobId'] = job_id unless job_id.nil?
1147
- command.query['fields'] = fields unless fields.nil?
1148
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1149
- command.query['userIp'] = user_ip unless user_ip.nil?
1150
- execute_or_queue_command(command, &block)
1151
- end
1152
-
1153
- # Gets a list of jobs matching the criteria.
1154
- # @param [Google::Apis::GenomicsV1beta2::SearchJobsRequest] search_jobs_request_object
1155
- # @param [String] fields
1156
- # Selector specifying which fields to include in a partial response.
1157
- # @param [String] quota_user
1158
- # Available to use for quota purposes for server-side applications. Can be any
1159
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1160
- # Overrides userIp if both are provided.
1161
- # @param [String] user_ip
1162
- # IP address of the site where the request originates. Use this if you want to
1163
- # enforce per-user limits.
1164
- # @param [Google::Apis::RequestOptions] options
1165
- # Request-specific options
1166
- #
1167
- # @yield [result, err] Result & error if block supplied
1168
- # @yieldparam result [Google::Apis::GenomicsV1beta2::SearchJobsResponse] parsed result object
1169
- # @yieldparam err [StandardError] error object if request failed
1170
- #
1171
- # @return [Google::Apis::GenomicsV1beta2::SearchJobsResponse]
1172
- #
1173
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1174
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1175
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1176
- def search_jobs(search_jobs_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1177
- path = 'jobs/search'
1178
- command = make_simple_command(:post, path, options)
1179
- command.request_representation = Google::Apis::GenomicsV1beta2::SearchJobsRequest::Representation
1180
- command.request_object = search_jobs_request_object
1181
- command.response_representation = Google::Apis::GenomicsV1beta2::SearchJobsResponse::Representation
1182
- command.response_class = Google::Apis::GenomicsV1beta2::SearchJobsResponse
1183
- command.query['fields'] = fields unless fields.nil?
1184
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1185
- command.query['userIp'] = user_ip unless user_ip.nil?
1186
- execute_or_queue_command(command, &block)
1187
- end
1188
-
1189
- # Aligns read data from existing read group sets or files from Google Cloud
1190
- # Storage. See the alignment and variant calling documentation for more details.
1191
- # @param [Google::Apis::GenomicsV1beta2::AlignReadGroupSetsRequest] align_read_group_sets_request_object
1192
- # @param [String] fields
1193
- # Selector specifying which fields to include in a partial response.
1194
- # @param [String] quota_user
1195
- # Available to use for quota purposes for server-side applications. Can be any
1196
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1197
- # Overrides userIp if both are provided.
1198
- # @param [String] user_ip
1199
- # IP address of the site where the request originates. Use this if you want to
1200
- # enforce per-user limits.
1201
- # @param [Google::Apis::RequestOptions] options
1202
- # Request-specific options
1203
- #
1204
- # @yield [result, err] Result & error if block supplied
1205
- # @yieldparam result [Google::Apis::GenomicsV1beta2::AlignReadGroupSetsResponse] parsed result object
1206
- # @yieldparam err [StandardError] error object if request failed
1207
- #
1208
- # @return [Google::Apis::GenomicsV1beta2::AlignReadGroupSetsResponse]
1209
- #
1210
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1211
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1212
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1213
- def align_read_group_sets(align_read_group_sets_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1214
- path = 'readgroupsets/align'
1215
- command = make_simple_command(:post, path, options)
1216
- command.request_representation = Google::Apis::GenomicsV1beta2::AlignReadGroupSetsRequest::Representation
1217
- command.request_object = align_read_group_sets_request_object
1218
- command.response_representation = Google::Apis::GenomicsV1beta2::AlignReadGroupSetsResponse::Representation
1219
- command.response_class = Google::Apis::GenomicsV1beta2::AlignReadGroupSetsResponse
1220
- command.query['fields'] = fields unless fields.nil?
1221
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1222
- command.query['userIp'] = user_ip unless user_ip.nil?
1223
- execute_or_queue_command(command, &block)
1224
- end
1225
-
1226
- # Calls variants on read data from existing read group sets or files from Google
1227
- # Cloud Storage. See the alignment and variant calling documentation for more
1228
- # details.
1229
- # @param [Google::Apis::GenomicsV1beta2::CallReadGroupSetsRequest] call_read_group_sets_request_object
1230
- # @param [String] fields
1231
- # Selector specifying which fields to include in a partial response.
1232
- # @param [String] quota_user
1233
- # Available to use for quota purposes for server-side applications. Can be any
1234
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1235
- # Overrides userIp if both are provided.
1236
- # @param [String] user_ip
1237
- # IP address of the site where the request originates. Use this if you want to
1238
- # enforce per-user limits.
1239
- # @param [Google::Apis::RequestOptions] options
1240
- # Request-specific options
1241
- #
1242
- # @yield [result, err] Result & error if block supplied
1243
- # @yieldparam result [Google::Apis::GenomicsV1beta2::CallReadGroupSetsResponse] parsed result object
1244
- # @yieldparam err [StandardError] error object if request failed
1245
- #
1246
- # @return [Google::Apis::GenomicsV1beta2::CallReadGroupSetsResponse]
1247
- #
1248
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1249
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1250
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1251
- def call_read_group_sets(call_read_group_sets_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1252
- path = 'readgroupsets/call'
1253
- command = make_simple_command(:post, path, options)
1254
- command.request_representation = Google::Apis::GenomicsV1beta2::CallReadGroupSetsRequest::Representation
1255
- command.request_object = call_read_group_sets_request_object
1256
- command.response_representation = Google::Apis::GenomicsV1beta2::CallReadGroupSetsResponse::Representation
1257
- command.response_class = Google::Apis::GenomicsV1beta2::CallReadGroupSetsResponse
1258
- command.query['fields'] = fields unless fields.nil?
1259
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1260
- command.query['userIp'] = user_ip unless user_ip.nil?
1261
- execute_or_queue_command(command, &block)
1262
- end
1263
-
1264
- # Deletes a read group set.
1265
- # @param [String] read_group_set_id
1266
- # The ID of the read group set to be deleted. The caller must have WRITE
1267
- # permissions to the dataset associated with this read group set.
1268
- # @param [String] fields
1269
- # Selector specifying which fields to include in a partial response.
1270
- # @param [String] quota_user
1271
- # Available to use for quota purposes for server-side applications. Can be any
1272
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1273
- # Overrides userIp if both are provided.
1274
- # @param [String] user_ip
1275
- # IP address of the site where the request originates. Use this if you want to
1276
- # enforce per-user limits.
1277
- # @param [Google::Apis::RequestOptions] options
1278
- # Request-specific options
1279
- #
1280
- # @yield [result, err] Result & error if block supplied
1281
- # @yieldparam result [NilClass] No result returned for this method
1282
- # @yieldparam err [StandardError] error object if request failed
1283
- #
1284
- # @return [void]
1285
- #
1286
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1287
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1288
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1289
- def delete_read_group_set(read_group_set_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1290
- path = 'readgroupsets/{readGroupSetId}'
1291
- command = make_simple_command(:delete, path, options)
1292
- command.params['readGroupSetId'] = read_group_set_id unless read_group_set_id.nil?
1293
- command.query['fields'] = fields unless fields.nil?
1294
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1295
- command.query['userIp'] = user_ip unless user_ip.nil?
1296
- execute_or_queue_command(command, &block)
1297
- end
1298
-
1299
- # Exports read group sets to a BAM file in Google Cloud Storage.
1300
- # Note that currently there may be some differences between exported BAM files
1301
- # and the original BAM file at the time of import. In particular, comments in
1302
- # the input file header will not be preserved, some custom tags will be
1303
- # converted to strings, and original reference sequence order is not necessarily
1304
- # preserved.
1305
- # @param [Google::Apis::GenomicsV1beta2::ExportReadGroupSetsRequest] export_read_group_sets_request_object
1306
- # @param [String] fields
1307
- # Selector specifying which fields to include in a partial response.
1308
- # @param [String] quota_user
1309
- # Available to use for quota purposes for server-side applications. Can be any
1310
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1311
- # Overrides userIp if both are provided.
1312
- # @param [String] user_ip
1313
- # IP address of the site where the request originates. Use this if you want to
1314
- # enforce per-user limits.
1315
- # @param [Google::Apis::RequestOptions] options
1316
- # Request-specific options
1317
- #
1318
- # @yield [result, err] Result & error if block supplied
1319
- # @yieldparam result [Google::Apis::GenomicsV1beta2::ExportReadGroupSetsResponse] parsed result object
1320
- # @yieldparam err [StandardError] error object if request failed
1321
- #
1322
- # @return [Google::Apis::GenomicsV1beta2::ExportReadGroupSetsResponse]
1323
- #
1324
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1325
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1326
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1327
- def export_read_group_sets(export_read_group_sets_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1328
- path = 'readgroupsets/export'
1329
- command = make_simple_command(:post, path, options)
1330
- command.request_representation = Google::Apis::GenomicsV1beta2::ExportReadGroupSetsRequest::Representation
1331
- command.request_object = export_read_group_sets_request_object
1332
- command.response_representation = Google::Apis::GenomicsV1beta2::ExportReadGroupSetsResponse::Representation
1333
- command.response_class = Google::Apis::GenomicsV1beta2::ExportReadGroupSetsResponse
1334
- command.query['fields'] = fields unless fields.nil?
1335
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1336
- command.query['userIp'] = user_ip unless user_ip.nil?
1337
- execute_or_queue_command(command, &block)
1338
- end
1339
-
1340
- # Gets a read group set by ID.
1341
- # @param [String] read_group_set_id
1342
- # The ID of the read group set.
1343
- # @param [String] fields
1344
- # Selector specifying which fields to include in a partial response.
1345
- # @param [String] quota_user
1346
- # Available to use for quota purposes for server-side applications. Can be any
1347
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1348
- # Overrides userIp if both are provided.
1349
- # @param [String] user_ip
1350
- # IP address of the site where the request originates. Use this if you want to
1351
- # enforce per-user limits.
1352
- # @param [Google::Apis::RequestOptions] options
1353
- # Request-specific options
1354
- #
1355
- # @yield [result, err] Result & error if block supplied
1356
- # @yieldparam result [Google::Apis::GenomicsV1beta2::ReadGroupSet] parsed result object
1357
- # @yieldparam err [StandardError] error object if request failed
1358
- #
1359
- # @return [Google::Apis::GenomicsV1beta2::ReadGroupSet]
1360
- #
1361
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1362
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1363
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1364
- def get_read_group_set(read_group_set_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1365
- path = 'readgroupsets/{readGroupSetId}'
1366
- command = make_simple_command(:get, path, options)
1367
- command.response_representation = Google::Apis::GenomicsV1beta2::ReadGroupSet::Representation
1368
- command.response_class = Google::Apis::GenomicsV1beta2::ReadGroupSet
1369
- command.params['readGroupSetId'] = read_group_set_id unless read_group_set_id.nil?
1370
- command.query['fields'] = fields unless fields.nil?
1371
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1372
- command.query['userIp'] = user_ip unless user_ip.nil?
1373
- execute_or_queue_command(command, &block)
1374
- end
1375
-
1376
- # Creates read group sets by asynchronously importing the provided information.
1377
- # Note that currently comments in the input file header are not imported and
1378
- # some custom tags will be converted to strings, rather than preserving tag
1379
- # types. The caller must have WRITE permissions to the dataset.
1380
- # @param [Google::Apis::GenomicsV1beta2::ImportReadGroupSetsRequest] import_read_group_sets_request_object
1381
- # @param [String] fields
1382
- # Selector specifying which fields to include in a partial response.
1383
- # @param [String] quota_user
1384
- # Available to use for quota purposes for server-side applications. Can be any
1385
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1386
- # Overrides userIp if both are provided.
1387
- # @param [String] user_ip
1388
- # IP address of the site where the request originates. Use this if you want to
1389
- # enforce per-user limits.
1390
- # @param [Google::Apis::RequestOptions] options
1391
- # Request-specific options
1392
- #
1393
- # @yield [result, err] Result & error if block supplied
1394
- # @yieldparam result [Google::Apis::GenomicsV1beta2::ImportReadGroupSetsResponse] parsed result object
1395
- # @yieldparam err [StandardError] error object if request failed
1396
- #
1397
- # @return [Google::Apis::GenomicsV1beta2::ImportReadGroupSetsResponse]
1398
- #
1399
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1400
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1401
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1402
- def import_read_group_sets(import_read_group_sets_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1403
- path = 'readgroupsets/import'
1404
- command = make_simple_command(:post, path, options)
1405
- command.request_representation = Google::Apis::GenomicsV1beta2::ImportReadGroupSetsRequest::Representation
1406
- command.request_object = import_read_group_sets_request_object
1407
- command.response_representation = Google::Apis::GenomicsV1beta2::ImportReadGroupSetsResponse::Representation
1408
- command.response_class = Google::Apis::GenomicsV1beta2::ImportReadGroupSetsResponse
1409
- command.query['fields'] = fields unless fields.nil?
1410
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1411
- command.query['userIp'] = user_ip unless user_ip.nil?
1412
- execute_or_queue_command(command, &block)
1413
- end
1414
-
1415
- # Updates a read group set. This method supports patch semantics.
1416
- # @param [String] read_group_set_id
1417
- # The ID of the read group set to be updated. The caller must have WRITE
1418
- # permissions to the dataset associated with this read group set.
1419
- # @param [Google::Apis::GenomicsV1beta2::ReadGroupSet] read_group_set_object
1420
- # @param [String] fields
1421
- # Selector specifying which fields to include in a partial response.
1422
- # @param [String] quota_user
1423
- # Available to use for quota purposes for server-side applications. Can be any
1424
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1425
- # Overrides userIp if both are provided.
1426
- # @param [String] user_ip
1427
- # IP address of the site where the request originates. Use this if you want to
1428
- # enforce per-user limits.
1429
- # @param [Google::Apis::RequestOptions] options
1430
- # Request-specific options
1431
- #
1432
- # @yield [result, err] Result & error if block supplied
1433
- # @yieldparam result [Google::Apis::GenomicsV1beta2::ReadGroupSet] parsed result object
1434
- # @yieldparam err [StandardError] error object if request failed
1435
- #
1436
- # @return [Google::Apis::GenomicsV1beta2::ReadGroupSet]
1437
- #
1438
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1439
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1440
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1441
- def patch_read_group_set(read_group_set_id, read_group_set_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1442
- path = 'readgroupsets/{readGroupSetId}'
1443
- command = make_simple_command(:patch, path, options)
1444
- command.request_representation = Google::Apis::GenomicsV1beta2::ReadGroupSet::Representation
1445
- command.request_object = read_group_set_object
1446
- command.response_representation = Google::Apis::GenomicsV1beta2::ReadGroupSet::Representation
1447
- command.response_class = Google::Apis::GenomicsV1beta2::ReadGroupSet
1448
- command.params['readGroupSetId'] = read_group_set_id unless read_group_set_id.nil?
1449
- command.query['fields'] = fields unless fields.nil?
1450
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1451
- command.query['userIp'] = user_ip unless user_ip.nil?
1452
- execute_or_queue_command(command, &block)
1453
- end
1454
-
1455
- # Searches for read group sets matching the criteria.
1456
- # Implements GlobalAllianceApi.searchReadGroupSets.
1457
- # @param [Google::Apis::GenomicsV1beta2::SearchReadGroupSetsRequest] search_read_group_sets_request_object
1458
- # @param [String] fields
1459
- # Selector specifying which fields to include in a partial response.
1460
- # @param [String] quota_user
1461
- # Available to use for quota purposes for server-side applications. Can be any
1462
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1463
- # Overrides userIp if both are provided.
1464
- # @param [String] user_ip
1465
- # IP address of the site where the request originates. Use this if you want to
1466
- # enforce per-user limits.
1467
- # @param [Google::Apis::RequestOptions] options
1468
- # Request-specific options
1469
- #
1470
- # @yield [result, err] Result & error if block supplied
1471
- # @yieldparam result [Google::Apis::GenomicsV1beta2::SearchReadGroupSetsResponse] parsed result object
1472
- # @yieldparam err [StandardError] error object if request failed
1473
- #
1474
- # @return [Google::Apis::GenomicsV1beta2::SearchReadGroupSetsResponse]
1475
- #
1476
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1477
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1478
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1479
- def search_read_group_sets(search_read_group_sets_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1480
- path = 'readgroupsets/search'
1481
- command = make_simple_command(:post, path, options)
1482
- command.request_representation = Google::Apis::GenomicsV1beta2::SearchReadGroupSetsRequest::Representation
1483
- command.request_object = search_read_group_sets_request_object
1484
- command.response_representation = Google::Apis::GenomicsV1beta2::SearchReadGroupSetsResponse::Representation
1485
- command.response_class = Google::Apis::GenomicsV1beta2::SearchReadGroupSetsResponse
1486
- command.query['fields'] = fields unless fields.nil?
1487
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1488
- command.query['userIp'] = user_ip unless user_ip.nil?
1489
- execute_or_queue_command(command, &block)
1490
- end
1491
-
1492
- # Updates a read group set.
1493
- # @param [String] read_group_set_id
1494
- # The ID of the read group set to be updated. The caller must have WRITE
1495
- # permissions to the dataset associated with this read group set.
1496
- # @param [Google::Apis::GenomicsV1beta2::ReadGroupSet] read_group_set_object
1497
- # @param [String] fields
1498
- # Selector specifying which fields to include in a partial response.
1499
- # @param [String] quota_user
1500
- # Available to use for quota purposes for server-side applications. Can be any
1501
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1502
- # Overrides userIp if both are provided.
1503
- # @param [String] user_ip
1504
- # IP address of the site where the request originates. Use this if you want to
1505
- # enforce per-user limits.
1506
- # @param [Google::Apis::RequestOptions] options
1507
- # Request-specific options
1508
- #
1509
- # @yield [result, err] Result & error if block supplied
1510
- # @yieldparam result [Google::Apis::GenomicsV1beta2::ReadGroupSet] parsed result object
1511
- # @yieldparam err [StandardError] error object if request failed
1512
- #
1513
- # @return [Google::Apis::GenomicsV1beta2::ReadGroupSet]
1514
- #
1515
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1516
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1517
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1518
- def update_read_group_set(read_group_set_id, read_group_set_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1519
- path = 'readgroupsets/{readGroupSetId}'
1520
- command = make_simple_command(:put, path, options)
1521
- command.request_representation = Google::Apis::GenomicsV1beta2::ReadGroupSet::Representation
1522
- command.request_object = read_group_set_object
1523
- command.response_representation = Google::Apis::GenomicsV1beta2::ReadGroupSet::Representation
1524
- command.response_class = Google::Apis::GenomicsV1beta2::ReadGroupSet
1525
- command.params['readGroupSetId'] = read_group_set_id unless read_group_set_id.nil?
1526
- command.query['fields'] = fields unless fields.nil?
1527
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1528
- command.query['userIp'] = user_ip unless user_ip.nil?
1529
- execute_or_queue_command(command, &block)
1530
- end
1531
-
1532
- # Lists fixed width coverage buckets for a read group set, each of which
1533
- # correspond to a range of a reference sequence. Each bucket summarizes coverage
1534
- # information across its corresponding genomic range.
1535
- # Coverage is defined as the number of reads which are aligned to a given base
1536
- # in the reference sequence. Coverage buckets are available at several
1537
- # precomputed bucket widths, enabling retrieval of various coverage 'zoom levels'
1538
- # . The caller must have READ permissions for the target read group set.
1539
- # @param [String] read_group_set_id
1540
- # Required. The ID of the read group set over which coverage is requested.
1541
- # @param [Fixnum] page_size
1542
- # The maximum number of results to return in a single page. If unspecified,
1543
- # defaults to 1024. The maximum value is 2048.
1544
- # @param [String] page_token
1545
- # The continuation token, which is used to page through large result sets. To
1546
- # get the next page of results, set this parameter to the value of nextPageToken
1547
- # from the previous response.
1548
- # @param [String] range_end
1549
- # The end position of the range on the reference, 0-based exclusive. If
1550
- # specified, referenceName must also be specified.
1551
- # @param [String] range_reference_name
1552
- # The reference sequence name, for example chr1, 1, or chrX.
1553
- # @param [String] range_start
1554
- # The start position of the range on the reference, 0-based inclusive. If
1555
- # specified, referenceName must also be specified.
1556
- # @param [String] target_bucket_width
1557
- # The desired width of each reported coverage bucket in base pairs. This will be
1558
- # rounded down to the nearest precomputed bucket width; the value of which is
1559
- # returned as bucketWidth in the response. Defaults to infinity (each bucket
1560
- # spans an entire reference sequence) or the length of the target range, if
1561
- # specified. The smallest precomputed bucketWidth is currently 2048 base pairs;
1562
- # this is subject to change.
1563
- # @param [String] fields
1564
- # Selector specifying which fields to include in a partial response.
1565
- # @param [String] quota_user
1566
- # Available to use for quota purposes for server-side applications. Can be any
1567
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1568
- # Overrides userIp if both are provided.
1569
- # @param [String] user_ip
1570
- # IP address of the site where the request originates. Use this if you want to
1571
- # enforce per-user limits.
1572
- # @param [Google::Apis::RequestOptions] options
1573
- # Request-specific options
1574
- #
1575
- # @yield [result, err] Result & error if block supplied
1576
- # @yieldparam result [Google::Apis::GenomicsV1beta2::ListCoverageBucketsResponse] parsed result object
1577
- # @yieldparam err [StandardError] error object if request failed
1578
- #
1579
- # @return [Google::Apis::GenomicsV1beta2::ListCoverageBucketsResponse]
1580
- #
1581
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1582
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1583
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1584
- def list_coverage_buckets(read_group_set_id, page_size: nil, page_token: nil, range_end: nil, range_reference_name: nil, range_start: nil, target_bucket_width: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1585
- path = 'readgroupsets/{readGroupSetId}/coveragebuckets'
1586
- command = make_simple_command(:get, path, options)
1587
- command.response_representation = Google::Apis::GenomicsV1beta2::ListCoverageBucketsResponse::Representation
1588
- command.response_class = Google::Apis::GenomicsV1beta2::ListCoverageBucketsResponse
1589
- command.params['readGroupSetId'] = read_group_set_id unless read_group_set_id.nil?
1590
- command.query['pageSize'] = page_size unless page_size.nil?
1591
- command.query['pageToken'] = page_token unless page_token.nil?
1592
- command.query['range.end'] = range_end unless range_end.nil?
1593
- command.query['range.referenceName'] = range_reference_name unless range_reference_name.nil?
1594
- command.query['range.start'] = range_start unless range_start.nil?
1595
- command.query['targetBucketWidth'] = target_bucket_width unless target_bucket_width.nil?
1596
- command.query['fields'] = fields unless fields.nil?
1597
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1598
- command.query['userIp'] = user_ip unless user_ip.nil?
1599
- execute_or_queue_command(command, &block)
1600
- end
1601
-
1602
- # Gets a list of reads for one or more read group sets. Reads search operates
1603
- # over a genomic coordinate space of reference sequence & position defined over
1604
- # the reference sequences to which the requested read group sets are aligned.
1605
- # If a target positional range is specified, search returns all reads whose
1606
- # alignment to the reference genome overlap the range. A query which specifies
1607
- # only read group set IDs yields all reads in those read group sets, including
1608
- # unmapped reads.
1609
- # All reads returned (including reads on subsequent pages) are ordered by
1610
- # genomic coordinate (reference sequence & position). Reads with equivalent
1611
- # genomic coordinates are returned in a deterministic order.
1612
- # Implements GlobalAllianceApi.searchReads.
1613
- # @param [Google::Apis::GenomicsV1beta2::SearchReadsRequest] search_reads_request_object
1614
- # @param [String] fields
1615
- # Selector specifying which fields to include in a partial response.
1616
- # @param [String] quota_user
1617
- # Available to use for quota purposes for server-side applications. Can be any
1618
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1619
- # Overrides userIp if both are provided.
1620
- # @param [String] user_ip
1621
- # IP address of the site where the request originates. Use this if you want to
1622
- # enforce per-user limits.
1623
- # @param [Google::Apis::RequestOptions] options
1624
- # Request-specific options
1625
- #
1626
- # @yield [result, err] Result & error if block supplied
1627
- # @yieldparam result [Google::Apis::GenomicsV1beta2::SearchReadsResponse] parsed result object
1628
- # @yieldparam err [StandardError] error object if request failed
1629
- #
1630
- # @return [Google::Apis::GenomicsV1beta2::SearchReadsResponse]
1631
- #
1632
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1633
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1634
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1635
- def search_reads(search_reads_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1636
- path = 'reads/search'
1637
- command = make_simple_command(:post, path, options)
1638
- command.request_representation = Google::Apis::GenomicsV1beta2::SearchReadsRequest::Representation
1639
- command.request_object = search_reads_request_object
1640
- command.response_representation = Google::Apis::GenomicsV1beta2::SearchReadsResponse::Representation
1641
- command.response_class = Google::Apis::GenomicsV1beta2::SearchReadsResponse
1642
- command.query['fields'] = fields unless fields.nil?
1643
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1644
- command.query['userIp'] = user_ip unless user_ip.nil?
1645
- execute_or_queue_command(command, &block)
1646
- end
1647
-
1648
- # Gets a reference.
1649
- # Implements GlobalAllianceApi.getReference.
1650
- # @param [String] reference_id
1651
- # The ID of the reference.
1652
- # @param [String] fields
1653
- # Selector specifying which fields to include in a partial response.
1654
- # @param [String] quota_user
1655
- # Available to use for quota purposes for server-side applications. Can be any
1656
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1657
- # Overrides userIp if both are provided.
1658
- # @param [String] user_ip
1659
- # IP address of the site where the request originates. Use this if you want to
1660
- # enforce per-user limits.
1661
- # @param [Google::Apis::RequestOptions] options
1662
- # Request-specific options
1663
- #
1664
- # @yield [result, err] Result & error if block supplied
1665
- # @yieldparam result [Google::Apis::GenomicsV1beta2::Reference] parsed result object
1666
- # @yieldparam err [StandardError] error object if request failed
1667
- #
1668
- # @return [Google::Apis::GenomicsV1beta2::Reference]
1669
- #
1670
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1671
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1672
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1673
- def get_reference(reference_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1674
- path = 'references/{referenceId}'
1675
- command = make_simple_command(:get, path, options)
1676
- command.response_representation = Google::Apis::GenomicsV1beta2::Reference::Representation
1677
- command.response_class = Google::Apis::GenomicsV1beta2::Reference
1678
- command.params['referenceId'] = reference_id unless reference_id.nil?
1679
- command.query['fields'] = fields unless fields.nil?
1680
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1681
- command.query['userIp'] = user_ip unless user_ip.nil?
1682
- execute_or_queue_command(command, &block)
1683
- end
1684
-
1685
- # Searches for references which match the given criteria.
1686
- # Implements GlobalAllianceApi.searchReferences.
1687
- # @param [Google::Apis::GenomicsV1beta2::SearchReferencesRequest] search_references_request_object
1688
- # @param [String] fields
1689
- # Selector specifying which fields to include in a partial response.
1690
- # @param [String] quota_user
1691
- # Available to use for quota purposes for server-side applications. Can be any
1692
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1693
- # Overrides userIp if both are provided.
1694
- # @param [String] user_ip
1695
- # IP address of the site where the request originates. Use this if you want to
1696
- # enforce per-user limits.
1697
- # @param [Google::Apis::RequestOptions] options
1698
- # Request-specific options
1699
- #
1700
- # @yield [result, err] Result & error if block supplied
1701
- # @yieldparam result [Google::Apis::GenomicsV1beta2::SearchReferencesResponse] parsed result object
1702
- # @yieldparam err [StandardError] error object if request failed
1703
- #
1704
- # @return [Google::Apis::GenomicsV1beta2::SearchReferencesResponse]
1705
- #
1706
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1707
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1708
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1709
- def search_references(search_references_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1710
- path = 'references/search'
1711
- command = make_simple_command(:post, path, options)
1712
- command.request_representation = Google::Apis::GenomicsV1beta2::SearchReferencesRequest::Representation
1713
- command.request_object = search_references_request_object
1714
- command.response_representation = Google::Apis::GenomicsV1beta2::SearchReferencesResponse::Representation
1715
- command.response_class = Google::Apis::GenomicsV1beta2::SearchReferencesResponse
1716
- command.query['fields'] = fields unless fields.nil?
1717
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1718
- command.query['userIp'] = user_ip unless user_ip.nil?
1719
- execute_or_queue_command(command, &block)
1720
- end
1721
-
1722
- # Lists the bases in a reference, optionally restricted to a range.
1723
- # Implements GlobalAllianceApi.getReferenceBases.
1724
- # @param [String] reference_id
1725
- # The ID of the reference.
1726
- # @param [String] end_position
1727
- # The end position (0-based, exclusive) of this query. Defaults to the length of
1728
- # this reference.
1729
- # @param [Fixnum] page_size
1730
- # Specifies the maximum number of bases to return in a single page.
1731
- # @param [String] page_token
1732
- # The continuation token, which is used to page through large result sets. To
1733
- # get the next page of results, set this parameter to the value of nextPageToken
1734
- # from the previous response.
1735
- # @param [String] start_position
1736
- # The start position (0-based) of this query. Defaults to 0.
1737
- # @param [String] fields
1738
- # Selector specifying which fields to include in a partial response.
1739
- # @param [String] quota_user
1740
- # Available to use for quota purposes for server-side applications. Can be any
1741
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1742
- # Overrides userIp if both are provided.
1743
- # @param [String] user_ip
1744
- # IP address of the site where the request originates. Use this if you want to
1745
- # enforce per-user limits.
1746
- # @param [Google::Apis::RequestOptions] options
1747
- # Request-specific options
1748
- #
1749
- # @yield [result, err] Result & error if block supplied
1750
- # @yieldparam result [Google::Apis::GenomicsV1beta2::ListBasesResponse] parsed result object
1751
- # @yieldparam err [StandardError] error object if request failed
1752
- #
1753
- # @return [Google::Apis::GenomicsV1beta2::ListBasesResponse]
1754
- #
1755
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1756
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1757
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1758
- def list_reference_bases(reference_id, end_position: nil, page_size: nil, page_token: nil, start_position: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1759
- path = 'references/{referenceId}/bases'
1760
- command = make_simple_command(:get, path, options)
1761
- command.response_representation = Google::Apis::GenomicsV1beta2::ListBasesResponse::Representation
1762
- command.response_class = Google::Apis::GenomicsV1beta2::ListBasesResponse
1763
- command.params['referenceId'] = reference_id unless reference_id.nil?
1764
- command.query['end'] = end_position unless end_position.nil?
1765
- command.query['pageSize'] = page_size unless page_size.nil?
1766
- command.query['pageToken'] = page_token unless page_token.nil?
1767
- command.query['start'] = start_position unless start_position.nil?
1768
- command.query['fields'] = fields unless fields.nil?
1769
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1770
- command.query['userIp'] = user_ip unless user_ip.nil?
1771
- execute_or_queue_command(command, &block)
1772
- end
1773
-
1774
- # Gets a reference set.
1775
- # Implements GlobalAllianceApi.getReferenceSet.
1776
- # @param [String] reference_set_id
1777
- # The ID of the reference set.
1778
- # @param [String] fields
1779
- # Selector specifying which fields to include in a partial response.
1780
- # @param [String] quota_user
1781
- # Available to use for quota purposes for server-side applications. Can be any
1782
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1783
- # Overrides userIp if both are provided.
1784
- # @param [String] user_ip
1785
- # IP address of the site where the request originates. Use this if you want to
1786
- # enforce per-user limits.
1787
- # @param [Google::Apis::RequestOptions] options
1788
- # Request-specific options
1789
- #
1790
- # @yield [result, err] Result & error if block supplied
1791
- # @yieldparam result [Google::Apis::GenomicsV1beta2::ReferenceSet] parsed result object
1792
- # @yieldparam err [StandardError] error object if request failed
1793
- #
1794
- # @return [Google::Apis::GenomicsV1beta2::ReferenceSet]
1795
- #
1796
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1797
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1798
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1799
- def get_reference_set(reference_set_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1800
- path = 'referencesets/{referenceSetId}'
1801
- command = make_simple_command(:get, path, options)
1802
- command.response_representation = Google::Apis::GenomicsV1beta2::ReferenceSet::Representation
1803
- command.response_class = Google::Apis::GenomicsV1beta2::ReferenceSet
1804
- command.params['referenceSetId'] = reference_set_id unless reference_set_id.nil?
1805
- command.query['fields'] = fields unless fields.nil?
1806
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1807
- command.query['userIp'] = user_ip unless user_ip.nil?
1808
- execute_or_queue_command(command, &block)
1809
- end
1810
-
1811
- # Searches for reference sets which match the given criteria.
1812
- # Implements GlobalAllianceApi.searchReferenceSets.
1813
- # @param [Google::Apis::GenomicsV1beta2::SearchReferenceSetsRequest] search_reference_sets_request_object
1814
- # @param [String] fields
1815
- # Selector specifying which fields to include in a partial response.
1816
- # @param [String] quota_user
1817
- # Available to use for quota purposes for server-side applications. Can be any
1818
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1819
- # Overrides userIp if both are provided.
1820
- # @param [String] user_ip
1821
- # IP address of the site where the request originates. Use this if you want to
1822
- # enforce per-user limits.
1823
- # @param [Google::Apis::RequestOptions] options
1824
- # Request-specific options
1825
- #
1826
- # @yield [result, err] Result & error if block supplied
1827
- # @yieldparam result [Google::Apis::GenomicsV1beta2::SearchReferenceSetsResponse] parsed result object
1828
- # @yieldparam err [StandardError] error object if request failed
1829
- #
1830
- # @return [Google::Apis::GenomicsV1beta2::SearchReferenceSetsResponse]
1831
- #
1832
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1833
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1834
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1835
- def search_reference_sets(search_reference_sets_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1836
- path = 'referencesets/search'
1837
- command = make_simple_command(:post, path, options)
1838
- command.request_representation = Google::Apis::GenomicsV1beta2::SearchReferenceSetsRequest::Representation
1839
- command.request_object = search_reference_sets_request_object
1840
- command.response_representation = Google::Apis::GenomicsV1beta2::SearchReferenceSetsResponse::Representation
1841
- command.response_class = Google::Apis::GenomicsV1beta2::SearchReferenceSetsResponse
1842
- command.query['fields'] = fields unless fields.nil?
1843
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1844
- command.query['userIp'] = user_ip unless user_ip.nil?
1845
- execute_or_queue_command(command, &block)
1846
- end
1847
-
1848
- # Creates a new variant.
1849
- # @param [Google::Apis::GenomicsV1beta2::Variant] variant_object
1850
- # @param [String] fields
1851
- # Selector specifying which fields to include in a partial response.
1852
- # @param [String] quota_user
1853
- # Available to use for quota purposes for server-side applications. Can be any
1854
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1855
- # Overrides userIp if both are provided.
1856
- # @param [String] user_ip
1857
- # IP address of the site where the request originates. Use this if you want to
1858
- # enforce per-user limits.
1859
- # @param [Google::Apis::RequestOptions] options
1860
- # Request-specific options
1861
- #
1862
- # @yield [result, err] Result & error if block supplied
1863
- # @yieldparam result [Google::Apis::GenomicsV1beta2::Variant] parsed result object
1864
- # @yieldparam err [StandardError] error object if request failed
1865
- #
1866
- # @return [Google::Apis::GenomicsV1beta2::Variant]
1867
- #
1868
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1869
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1870
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1871
- def create_variant(variant_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1872
- path = 'variants'
1873
- command = make_simple_command(:post, path, options)
1874
- command.request_representation = Google::Apis::GenomicsV1beta2::Variant::Representation
1875
- command.request_object = variant_object
1876
- command.response_representation = Google::Apis::GenomicsV1beta2::Variant::Representation
1877
- command.response_class = Google::Apis::GenomicsV1beta2::Variant
1878
- command.query['fields'] = fields unless fields.nil?
1879
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1880
- command.query['userIp'] = user_ip unless user_ip.nil?
1881
- execute_or_queue_command(command, &block)
1882
- end
1883
-
1884
- # Deletes a variant.
1885
- # @param [String] variant_id
1886
- # The ID of the variant to be deleted.
1887
- # @param [String] fields
1888
- # Selector specifying which fields to include in a partial response.
1889
- # @param [String] quota_user
1890
- # Available to use for quota purposes for server-side applications. Can be any
1891
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1892
- # Overrides userIp if both are provided.
1893
- # @param [String] user_ip
1894
- # IP address of the site where the request originates. Use this if you want to
1895
- # enforce per-user limits.
1896
- # @param [Google::Apis::RequestOptions] options
1897
- # Request-specific options
1898
- #
1899
- # @yield [result, err] Result & error if block supplied
1900
- # @yieldparam result [NilClass] No result returned for this method
1901
- # @yieldparam err [StandardError] error object if request failed
1902
- #
1903
- # @return [void]
1904
- #
1905
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1906
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1907
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1908
- def delete_variant(variant_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1909
- path = 'variants/{variantId}'
1910
- command = make_simple_command(:delete, path, options)
1911
- command.params['variantId'] = variant_id unless variant_id.nil?
1912
- command.query['fields'] = fields unless fields.nil?
1913
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1914
- command.query['userIp'] = user_ip unless user_ip.nil?
1915
- execute_or_queue_command(command, &block)
1916
- end
1917
-
1918
- # Gets a variant by ID.
1919
- # @param [String] variant_id
1920
- # The ID of the variant.
1921
- # @param [String] fields
1922
- # Selector specifying which fields to include in a partial response.
1923
- # @param [String] quota_user
1924
- # Available to use for quota purposes for server-side applications. Can be any
1925
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1926
- # Overrides userIp if both are provided.
1927
- # @param [String] user_ip
1928
- # IP address of the site where the request originates. Use this if you want to
1929
- # enforce per-user limits.
1930
- # @param [Google::Apis::RequestOptions] options
1931
- # Request-specific options
1932
- #
1933
- # @yield [result, err] Result & error if block supplied
1934
- # @yieldparam result [Google::Apis::GenomicsV1beta2::Variant] parsed result object
1935
- # @yieldparam err [StandardError] error object if request failed
1936
- #
1937
- # @return [Google::Apis::GenomicsV1beta2::Variant]
1938
- #
1939
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1940
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1941
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1942
- def get_variant(variant_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1943
- path = 'variants/{variantId}'
1944
- command = make_simple_command(:get, path, options)
1945
- command.response_representation = Google::Apis::GenomicsV1beta2::Variant::Representation
1946
- command.response_class = Google::Apis::GenomicsV1beta2::Variant
1947
- command.params['variantId'] = variant_id unless variant_id.nil?
1948
- command.query['fields'] = fields unless fields.nil?
1949
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1950
- command.query['userIp'] = user_ip unless user_ip.nil?
1951
- execute_or_queue_command(command, &block)
1952
- end
1953
-
1954
- # Gets a list of variants matching the criteria.
1955
- # Implements GlobalAllianceApi.searchVariants.
1956
- # @param [Google::Apis::GenomicsV1beta2::SearchVariantsRequest] search_variants_request_object
1957
- # @param [String] fields
1958
- # Selector specifying which fields to include in a partial response.
1959
- # @param [String] quota_user
1960
- # Available to use for quota purposes for server-side applications. Can be any
1961
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1962
- # Overrides userIp if both are provided.
1963
- # @param [String] user_ip
1964
- # IP address of the site where the request originates. Use this if you want to
1965
- # enforce per-user limits.
1966
- # @param [Google::Apis::RequestOptions] options
1967
- # Request-specific options
1968
- #
1969
- # @yield [result, err] Result & error if block supplied
1970
- # @yieldparam result [Google::Apis::GenomicsV1beta2::SearchVariantsResponse] parsed result object
1971
- # @yieldparam err [StandardError] error object if request failed
1972
- #
1973
- # @return [Google::Apis::GenomicsV1beta2::SearchVariantsResponse]
1974
- #
1975
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1976
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1977
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1978
- def search_variants(search_variants_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1979
- path = 'variants/search'
1980
- command = make_simple_command(:post, path, options)
1981
- command.request_representation = Google::Apis::GenomicsV1beta2::SearchVariantsRequest::Representation
1982
- command.request_object = search_variants_request_object
1983
- command.response_representation = Google::Apis::GenomicsV1beta2::SearchVariantsResponse::Representation
1984
- command.response_class = Google::Apis::GenomicsV1beta2::SearchVariantsResponse
1985
- command.query['fields'] = fields unless fields.nil?
1986
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1987
- command.query['userIp'] = user_ip unless user_ip.nil?
1988
- execute_or_queue_command(command, &block)
1989
- end
1990
-
1991
- # Updates a variant's names and info fields. All other modifications are
1992
- # silently ignored. Returns the modified variant without its calls.
1993
- # @param [String] variant_id
1994
- # The ID of the variant to be updated.
1995
- # @param [Google::Apis::GenomicsV1beta2::Variant] variant_object
1996
- # @param [String] fields
1997
- # Selector specifying which fields to include in a partial response.
1998
- # @param [String] quota_user
1999
- # Available to use for quota purposes for server-side applications. Can be any
2000
- # arbitrary string assigned to a user, but should not exceed 40 characters.
2001
- # Overrides userIp if both are provided.
2002
- # @param [String] user_ip
2003
- # IP address of the site where the request originates. Use this if you want to
2004
- # enforce per-user limits.
2005
- # @param [Google::Apis::RequestOptions] options
2006
- # Request-specific options
2007
- #
2008
- # @yield [result, err] Result & error if block supplied
2009
- # @yieldparam result [Google::Apis::GenomicsV1beta2::Variant] parsed result object
2010
- # @yieldparam err [StandardError] error object if request failed
2011
- #
2012
- # @return [Google::Apis::GenomicsV1beta2::Variant]
2013
- #
2014
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2015
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2016
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2017
- def update_variant(variant_id, variant_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2018
- path = 'variants/{variantId}'
2019
- command = make_simple_command(:put, path, options)
2020
- command.request_representation = Google::Apis::GenomicsV1beta2::Variant::Representation
2021
- command.request_object = variant_object
2022
- command.response_representation = Google::Apis::GenomicsV1beta2::Variant::Representation
2023
- command.response_class = Google::Apis::GenomicsV1beta2::Variant
2024
- command.params['variantId'] = variant_id unless variant_id.nil?
2025
- command.query['fields'] = fields unless fields.nil?
2026
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2027
- command.query['userIp'] = user_ip unless user_ip.nil?
2028
- execute_or_queue_command(command, &block)
2029
- end
2030
-
2031
- # Creates a new variant set (only necessary in v1).
2032
- # @param [Google::Apis::GenomicsV1beta2::VariantSet] variant_set_object
2033
- # @param [String] fields
2034
- # Selector specifying which fields to include in a partial response.
2035
- # @param [String] quota_user
2036
- # Available to use for quota purposes for server-side applications. Can be any
2037
- # arbitrary string assigned to a user, but should not exceed 40 characters.
2038
- # Overrides userIp if both are provided.
2039
- # @param [String] user_ip
2040
- # IP address of the site where the request originates. Use this if you want to
2041
- # enforce per-user limits.
2042
- # @param [Google::Apis::RequestOptions] options
2043
- # Request-specific options
2044
- #
2045
- # @yield [result, err] Result & error if block supplied
2046
- # @yieldparam result [Google::Apis::GenomicsV1beta2::VariantSet] parsed result object
2047
- # @yieldparam err [StandardError] error object if request failed
2048
- #
2049
- # @return [Google::Apis::GenomicsV1beta2::VariantSet]
2050
- #
2051
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2052
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2053
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2054
- def create_variantset(variant_set_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2055
- path = 'variantsets'
2056
- command = make_simple_command(:post, path, options)
2057
- command.request_representation = Google::Apis::GenomicsV1beta2::VariantSet::Representation
2058
- command.request_object = variant_set_object
2059
- command.response_representation = Google::Apis::GenomicsV1beta2::VariantSet::Representation
2060
- command.response_class = Google::Apis::GenomicsV1beta2::VariantSet
2061
- command.query['fields'] = fields unless fields.nil?
2062
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2063
- command.query['userIp'] = user_ip unless user_ip.nil?
2064
- execute_or_queue_command(command, &block)
2065
- end
2066
-
2067
- # Deletes the contents of a variant set. The variant set object is not deleted.
2068
- # @param [String] variant_set_id
2069
- # The ID of the variant set to be deleted.
2070
- # @param [String] fields
2071
- # Selector specifying which fields to include in a partial response.
2072
- # @param [String] quota_user
2073
- # Available to use for quota purposes for server-side applications. Can be any
2074
- # arbitrary string assigned to a user, but should not exceed 40 characters.
2075
- # Overrides userIp if both are provided.
2076
- # @param [String] user_ip
2077
- # IP address of the site where the request originates. Use this if you want to
2078
- # enforce per-user limits.
2079
- # @param [Google::Apis::RequestOptions] options
2080
- # Request-specific options
2081
- #
2082
- # @yield [result, err] Result & error if block supplied
2083
- # @yieldparam result [NilClass] No result returned for this method
2084
- # @yieldparam err [StandardError] error object if request failed
2085
- #
2086
- # @return [void]
2087
- #
2088
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2089
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2090
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2091
- def delete_variantset(variant_set_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2092
- path = 'variantsets/{variantSetId}'
2093
- command = make_simple_command(:delete, path, options)
2094
- command.params['variantSetId'] = variant_set_id unless variant_set_id.nil?
2095
- command.query['fields'] = fields unless fields.nil?
2096
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2097
- command.query['userIp'] = user_ip unless user_ip.nil?
2098
- execute_or_queue_command(command, &block)
2099
- end
2100
-
2101
- # Exports variant set data to an external destination.
2102
- # @param [String] variant_set_id
2103
- # Required. The ID of the variant set that contains variant data which should be
2104
- # exported. The caller must have READ access to this variant set.
2105
- # @param [Google::Apis::GenomicsV1beta2::ExportVariantSetRequest] export_variant_set_request_object
2106
- # @param [String] fields
2107
- # Selector specifying which fields to include in a partial response.
2108
- # @param [String] quota_user
2109
- # Available to use for quota purposes for server-side applications. Can be any
2110
- # arbitrary string assigned to a user, but should not exceed 40 characters.
2111
- # Overrides userIp if both are provided.
2112
- # @param [String] user_ip
2113
- # IP address of the site where the request originates. Use this if you want to
2114
- # enforce per-user limits.
2115
- # @param [Google::Apis::RequestOptions] options
2116
- # Request-specific options
2117
- #
2118
- # @yield [result, err] Result & error if block supplied
2119
- # @yieldparam result [Google::Apis::GenomicsV1beta2::ExportVariantSetResponse] parsed result object
2120
- # @yieldparam err [StandardError] error object if request failed
2121
- #
2122
- # @return [Google::Apis::GenomicsV1beta2::ExportVariantSetResponse]
2123
- #
2124
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2125
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2126
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2127
- def export_variant_set(variant_set_id, export_variant_set_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2128
- path = 'variantsets/{variantSetId}/export'
2129
- command = make_simple_command(:post, path, options)
2130
- command.request_representation = Google::Apis::GenomicsV1beta2::ExportVariantSetRequest::Representation
2131
- command.request_object = export_variant_set_request_object
2132
- command.response_representation = Google::Apis::GenomicsV1beta2::ExportVariantSetResponse::Representation
2133
- command.response_class = Google::Apis::GenomicsV1beta2::ExportVariantSetResponse
2134
- command.params['variantSetId'] = variant_set_id unless variant_set_id.nil?
2135
- command.query['fields'] = fields unless fields.nil?
2136
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2137
- command.query['userIp'] = user_ip unless user_ip.nil?
2138
- execute_or_queue_command(command, &block)
2139
- end
2140
-
2141
- # Gets a variant set by ID.
2142
- # @param [String] variant_set_id
2143
- # Required. The ID of the variant set.
2144
- # @param [String] fields
2145
- # Selector specifying which fields to include in a partial response.
2146
- # @param [String] quota_user
2147
- # Available to use for quota purposes for server-side applications. Can be any
2148
- # arbitrary string assigned to a user, but should not exceed 40 characters.
2149
- # Overrides userIp if both are provided.
2150
- # @param [String] user_ip
2151
- # IP address of the site where the request originates. Use this if you want to
2152
- # enforce per-user limits.
2153
- # @param [Google::Apis::RequestOptions] options
2154
- # Request-specific options
2155
- #
2156
- # @yield [result, err] Result & error if block supplied
2157
- # @yieldparam result [Google::Apis::GenomicsV1beta2::VariantSet] parsed result object
2158
- # @yieldparam err [StandardError] error object if request failed
2159
- #
2160
- # @return [Google::Apis::GenomicsV1beta2::VariantSet]
2161
- #
2162
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2163
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2164
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2165
- def get_variantset(variant_set_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2166
- path = 'variantsets/{variantSetId}'
2167
- command = make_simple_command(:get, path, options)
2168
- command.response_representation = Google::Apis::GenomicsV1beta2::VariantSet::Representation
2169
- command.response_class = Google::Apis::GenomicsV1beta2::VariantSet
2170
- command.params['variantSetId'] = variant_set_id unless variant_set_id.nil?
2171
- command.query['fields'] = fields unless fields.nil?
2172
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2173
- command.query['userIp'] = user_ip unless user_ip.nil?
2174
- execute_or_queue_command(command, &block)
2175
- end
2176
-
2177
- # Creates variant data by asynchronously importing the provided information.
2178
- # The variants for import will be merged with any existing data and each other
2179
- # according to the behavior of mergeVariants. In particular, this means for
2180
- # merged VCF variants that have conflicting INFO fields, some data will be
2181
- # arbitrarily discarded. As a special case, for single-sample VCF files, QUAL
2182
- # and FILTER fields will be moved to the call level; these are sometimes
2183
- # interpreted in a call-specific context. Imported VCF headers are appended to
2184
- # the metadata already in a variant set.
2185
- # @param [String] variant_set_id
2186
- # Required. The variant set to which variant data should be imported.
2187
- # @param [Google::Apis::GenomicsV1beta2::ImportVariantsRequest] import_variants_request_object
2188
- # @param [String] fields
2189
- # Selector specifying which fields to include in a partial response.
2190
- # @param [String] quota_user
2191
- # Available to use for quota purposes for server-side applications. Can be any
2192
- # arbitrary string assigned to a user, but should not exceed 40 characters.
2193
- # Overrides userIp if both are provided.
2194
- # @param [String] user_ip
2195
- # IP address of the site where the request originates. Use this if you want to
2196
- # enforce per-user limits.
2197
- # @param [Google::Apis::RequestOptions] options
2198
- # Request-specific options
2199
- #
2200
- # @yield [result, err] Result & error if block supplied
2201
- # @yieldparam result [Google::Apis::GenomicsV1beta2::ImportVariantsResponse] parsed result object
2202
- # @yieldparam err [StandardError] error object if request failed
2203
- #
2204
- # @return [Google::Apis::GenomicsV1beta2::ImportVariantsResponse]
2205
- #
2206
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2207
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2208
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2209
- def import_variants(variant_set_id, import_variants_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2210
- path = 'variantsets/{variantSetId}/importVariants'
2211
- command = make_simple_command(:post, path, options)
2212
- command.request_representation = Google::Apis::GenomicsV1beta2::ImportVariantsRequest::Representation
2213
- command.request_object = import_variants_request_object
2214
- command.response_representation = Google::Apis::GenomicsV1beta2::ImportVariantsResponse::Representation
2215
- command.response_class = Google::Apis::GenomicsV1beta2::ImportVariantsResponse
2216
- command.params['variantSetId'] = variant_set_id unless variant_set_id.nil?
2217
- command.query['fields'] = fields unless fields.nil?
2218
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2219
- command.query['userIp'] = user_ip unless user_ip.nil?
2220
- execute_or_queue_command(command, &block)
2221
- end
2222
-
2223
- # Merges the given variants with existing variants. Each variant will be merged
2224
- # with an existing variant that matches its reference sequence, start, end,
2225
- # reference bases, and alternative bases. If no such variant exists, a new one
2226
- # will be created.
2227
- # When variants are merged, the call information from the new variant is added
2228
- # to the existing variant, and other fields (such as key/value pairs) are
2229
- # discarded.
2230
- # @param [String] variant_set_id
2231
- # The destination variant set.
2232
- # @param [Google::Apis::GenomicsV1beta2::MergeVariantsRequest] merge_variants_request_object
2233
- # @param [String] fields
2234
- # Selector specifying which fields to include in a partial response.
2235
- # @param [String] quota_user
2236
- # Available to use for quota purposes for server-side applications. Can be any
2237
- # arbitrary string assigned to a user, but should not exceed 40 characters.
2238
- # Overrides userIp if both are provided.
2239
- # @param [String] user_ip
2240
- # IP address of the site where the request originates. Use this if you want to
2241
- # enforce per-user limits.
2242
- # @param [Google::Apis::RequestOptions] options
2243
- # Request-specific options
2244
- #
2245
- # @yield [result, err] Result & error if block supplied
2246
- # @yieldparam result [NilClass] No result returned for this method
2247
- # @yieldparam err [StandardError] error object if request failed
2248
- #
2249
- # @return [void]
2250
- #
2251
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2252
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2253
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2254
- def merge_variants(variant_set_id, merge_variants_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2255
- path = 'variantsets/{variantSetId}/mergeVariants'
2256
- command = make_simple_command(:post, path, options)
2257
- command.request_representation = Google::Apis::GenomicsV1beta2::MergeVariantsRequest::Representation
2258
- command.request_object = merge_variants_request_object
2259
- command.params['variantSetId'] = variant_set_id unless variant_set_id.nil?
2260
- command.query['fields'] = fields unless fields.nil?
2261
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2262
- command.query['userIp'] = user_ip unless user_ip.nil?
2263
- execute_or_queue_command(command, &block)
2264
- end
2265
-
2266
- # Updates a variant set's metadata. All other modifications are silently ignored.
2267
- # This method supports patch semantics.
2268
- # @param [String] variant_set_id
2269
- # The ID of the variant to be updated (must already exist).
2270
- # @param [Google::Apis::GenomicsV1beta2::VariantSet] variant_set_object
2271
- # @param [String] fields
2272
- # Selector specifying which fields to include in a partial response.
2273
- # @param [String] quota_user
2274
- # Available to use for quota purposes for server-side applications. Can be any
2275
- # arbitrary string assigned to a user, but should not exceed 40 characters.
2276
- # Overrides userIp if both are provided.
2277
- # @param [String] user_ip
2278
- # IP address of the site where the request originates. Use this if you want to
2279
- # enforce per-user limits.
2280
- # @param [Google::Apis::RequestOptions] options
2281
- # Request-specific options
2282
- #
2283
- # @yield [result, err] Result & error if block supplied
2284
- # @yieldparam result [Google::Apis::GenomicsV1beta2::VariantSet] parsed result object
2285
- # @yieldparam err [StandardError] error object if request failed
2286
- #
2287
- # @return [Google::Apis::GenomicsV1beta2::VariantSet]
2288
- #
2289
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2290
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2291
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2292
- def patch_variantset(variant_set_id, variant_set_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2293
- path = 'variantsets/{variantSetId}'
2294
- command = make_simple_command(:patch, path, options)
2295
- command.request_representation = Google::Apis::GenomicsV1beta2::VariantSet::Representation
2296
- command.request_object = variant_set_object
2297
- command.response_representation = Google::Apis::GenomicsV1beta2::VariantSet::Representation
2298
- command.response_class = Google::Apis::GenomicsV1beta2::VariantSet
2299
- command.params['variantSetId'] = variant_set_id unless variant_set_id.nil?
2300
- command.query['fields'] = fields unless fields.nil?
2301
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2302
- command.query['userIp'] = user_ip unless user_ip.nil?
2303
- execute_or_queue_command(command, &block)
2304
- end
2305
-
2306
- # Returns a list of all variant sets matching search criteria.
2307
- # Implements GlobalAllianceApi.searchVariantSets.
2308
- # @param [Google::Apis::GenomicsV1beta2::SearchVariantSetsRequest] search_variant_sets_request_object
2309
- # @param [String] fields
2310
- # Selector specifying which fields to include in a partial response.
2311
- # @param [String] quota_user
2312
- # Available to use for quota purposes for server-side applications. Can be any
2313
- # arbitrary string assigned to a user, but should not exceed 40 characters.
2314
- # Overrides userIp if both are provided.
2315
- # @param [String] user_ip
2316
- # IP address of the site where the request originates. Use this if you want to
2317
- # enforce per-user limits.
2318
- # @param [Google::Apis::RequestOptions] options
2319
- # Request-specific options
2320
- #
2321
- # @yield [result, err] Result & error if block supplied
2322
- # @yieldparam result [Google::Apis::GenomicsV1beta2::SearchVariantSetsResponse] parsed result object
2323
- # @yieldparam err [StandardError] error object if request failed
2324
- #
2325
- # @return [Google::Apis::GenomicsV1beta2::SearchVariantSetsResponse]
2326
- #
2327
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2328
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2329
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2330
- def search_variant_sets(search_variant_sets_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2331
- path = 'variantsets/search'
2332
- command = make_simple_command(:post, path, options)
2333
- command.request_representation = Google::Apis::GenomicsV1beta2::SearchVariantSetsRequest::Representation
2334
- command.request_object = search_variant_sets_request_object
2335
- command.response_representation = Google::Apis::GenomicsV1beta2::SearchVariantSetsResponse::Representation
2336
- command.response_class = Google::Apis::GenomicsV1beta2::SearchVariantSetsResponse
2337
- command.query['fields'] = fields unless fields.nil?
2338
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2339
- command.query['userIp'] = user_ip unless user_ip.nil?
2340
- execute_or_queue_command(command, &block)
2341
- end
2342
-
2343
- # Updates a variant set's metadata. All other modifications are silently ignored.
2344
- # @param [String] variant_set_id
2345
- # The ID of the variant to be updated (must already exist).
2346
- # @param [Google::Apis::GenomicsV1beta2::VariantSet] variant_set_object
2347
- # @param [String] fields
2348
- # Selector specifying which fields to include in a partial response.
2349
- # @param [String] quota_user
2350
- # Available to use for quota purposes for server-side applications. Can be any
2351
- # arbitrary string assigned to a user, but should not exceed 40 characters.
2352
- # Overrides userIp if both are provided.
2353
- # @param [String] user_ip
2354
- # IP address of the site where the request originates. Use this if you want to
2355
- # enforce per-user limits.
2356
- # @param [Google::Apis::RequestOptions] options
2357
- # Request-specific options
2358
- #
2359
- # @yield [result, err] Result & error if block supplied
2360
- # @yieldparam result [Google::Apis::GenomicsV1beta2::VariantSet] parsed result object
2361
- # @yieldparam err [StandardError] error object if request failed
2362
- #
2363
- # @return [Google::Apis::GenomicsV1beta2::VariantSet]
2364
- #
2365
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2366
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2367
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2368
- def update_variantset(variant_set_id, variant_set_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2369
- path = 'variantsets/{variantSetId}'
2370
- command = make_simple_command(:put, path, options)
2371
- command.request_representation = Google::Apis::GenomicsV1beta2::VariantSet::Representation
2372
- command.request_object = variant_set_object
2373
- command.response_representation = Google::Apis::GenomicsV1beta2::VariantSet::Representation
2374
- command.response_class = Google::Apis::GenomicsV1beta2::VariantSet
2375
- command.params['variantSetId'] = variant_set_id unless variant_set_id.nil?
2376
- command.query['fields'] = fields unless fields.nil?
2377
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2378
- command.query['userIp'] = user_ip unless user_ip.nil?
2379
- execute_or_queue_command(command, &block)
2380
- end
2381
-
2382
- protected
2383
-
2384
- def apply_command_defaults(command)
2385
- command.query['key'] = key unless key.nil?
2386
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2387
- command.query['userIp'] = user_ip unless user_ip.nil?
2388
- end
2389
- end
2390
- end
2391
- end
2392
- end