google-api-client 0.28.4 → 0.28.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (426) hide show
  1. checksums.yaml +5 -5
  2. data/.kokoro/build.sh +3 -5
  3. data/.kokoro/continuous/linux.cfg +1 -1
  4. data/.kokoro/presubmit/linux.cfg +1 -1
  5. data/CHANGELOG.md +147 -0
  6. data/generated/google/apis/accesscontextmanager_v1.rb +34 -0
  7. data/generated/google/apis/accesscontextmanager_v1/classes.rb +755 -0
  8. data/generated/google/apis/accesscontextmanager_v1/representations.rb +282 -0
  9. data/generated/google/apis/accesscontextmanager_v1/service.rb +788 -0
  10. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  11. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +46 -30
  12. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +4 -0
  13. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  14. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +2 -2
  15. data/generated/google/apis/admin_directory_v1.rb +1 -1
  16. data/generated/google/apis/admin_directory_v1/classes.rb +5 -50
  17. data/generated/google/apis/admin_directory_v1/representations.rb +0 -2
  18. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  19. data/generated/google/apis/alertcenter_v1beta1/classes.rb +3 -2
  20. data/generated/google/apis/alertcenter_v1beta1/service.rb +7 -7
  21. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  22. data/generated/google/apis/analyticsreporting_v4/classes.rb +638 -0
  23. data/generated/google/apis/analyticsreporting_v4/representations.rb +248 -0
  24. data/generated/google/apis/analyticsreporting_v4/service.rb +30 -0
  25. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  26. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +10 -10
  27. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  28. data/generated/google/apis/androidenterprise_v1/classes.rb +8 -0
  29. data/generated/google/apis/androidenterprise_v1/representations.rb +2 -0
  30. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  31. data/generated/google/apis/androidmanagement_v1/classes.rb +59 -2
  32. data/generated/google/apis/androidmanagement_v1/representations.rb +33 -0
  33. data/generated/google/apis/appengine_v1.rb +1 -1
  34. data/generated/google/apis/appengine_v1/classes.rb +43 -98
  35. data/generated/google/apis/appengine_v1/representations.rb +17 -35
  36. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  37. data/generated/google/apis/appengine_v1alpha/classes.rb +0 -97
  38. data/generated/google/apis/appengine_v1alpha/representations.rb +0 -35
  39. data/generated/google/apis/appengine_v1beta.rb +1 -1
  40. data/generated/google/apis/appengine_v1beta/classes.rb +3 -99
  41. data/generated/google/apis/appengine_v1beta/representations.rb +0 -35
  42. data/generated/google/apis/bigquery_v2.rb +1 -1
  43. data/generated/google/apis/bigquery_v2/classes.rb +244 -173
  44. data/generated/google/apis/bigquery_v2/representations.rb +79 -58
  45. data/generated/google/apis/bigquerydatatransfer_v1.rb +3 -3
  46. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +10 -10
  47. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +38 -6
  48. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  49. data/generated/google/apis/bigtableadmin_v2/classes.rb +4 -4
  50. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  51. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +66 -6
  52. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +17 -0
  53. data/generated/google/apis/cloudasset_v1.rb +34 -0
  54. data/generated/google/apis/cloudasset_v1/classes.rb +805 -0
  55. data/generated/google/apis/cloudasset_v1/representations.rb +263 -0
  56. data/generated/google/apis/cloudasset_v1/service.rb +190 -0
  57. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  58. data/generated/google/apis/cloudasset_v1beta1/classes.rb +20 -18
  59. data/generated/google/apis/cloudasset_v1beta1/service.rb +4 -4
  60. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  61. data/generated/google/apis/cloudbilling_v1/classes.rb +1 -1
  62. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  63. data/generated/google/apis/cloudbuild_v1/classes.rb +149 -10
  64. data/generated/google/apis/cloudbuild_v1/representations.rb +65 -0
  65. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  66. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +6 -0
  67. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +2 -0
  68. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +1 -1
  69. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  70. data/generated/google/apis/cloudfunctions_v1/classes.rb +11 -4
  71. data/generated/google/apis/cloudfunctions_v1/service.rb +8 -2
  72. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  73. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +2 -1
  74. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +6 -0
  75. data/generated/google/apis/cloudidentity_v1.rb +7 -1
  76. data/generated/google/apis/cloudidentity_v1/classes.rb +13 -13
  77. data/generated/google/apis/cloudidentity_v1/service.rb +6 -15
  78. data/generated/google/apis/cloudidentity_v1beta1.rb +7 -1
  79. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +10 -10
  80. data/generated/google/apis/cloudidentity_v1beta1/service.rb +4 -10
  81. data/generated/google/apis/cloudiot_v1.rb +1 -1
  82. data/generated/google/apis/cloudiot_v1/classes.rb +11 -11
  83. data/generated/google/apis/cloudkms_v1.rb +1 -1
  84. data/generated/google/apis/cloudkms_v1/classes.rb +7 -3
  85. data/generated/google/apis/cloudprivatecatalog_v1beta1.rb +35 -0
  86. data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +358 -0
  87. data/generated/google/apis/cloudprivatecatalog_v1beta1/representations.rb +123 -0
  88. data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +486 -0
  89. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +35 -0
  90. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +1212 -0
  91. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +399 -0
  92. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +1073 -0
  93. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  94. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +17 -16
  95. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  96. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +3 -3
  97. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  98. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +14 -15
  99. data/generated/google/apis/cloudresourcemanager_v2/service.rb +1 -1
  100. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  101. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +14 -15
  102. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +1 -1
  103. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  104. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +60 -44
  105. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +5 -2
  106. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  107. data/generated/google/apis/cloudsearch_v1/classes.rb +220 -48
  108. data/generated/google/apis/cloudsearch_v1/representations.rb +91 -0
  109. data/generated/google/apis/cloudsearch_v1/service.rb +15 -13
  110. data/generated/google/apis/cloudshell_v1.rb +1 -1
  111. data/generated/google/apis/cloudshell_v1/classes.rb +10 -10
  112. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  113. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +17 -10
  114. data/generated/google/apis/cloudshell_v1alpha1/representations.rb +1 -0
  115. data/generated/google/apis/{partners_v2.rb → cloudtasks_v2.rb} +11 -9
  116. data/generated/google/apis/cloudtasks_v2/classes.rb +1432 -0
  117. data/generated/google/apis/cloudtasks_v2/representations.rb +408 -0
  118. data/generated/google/apis/cloudtasks_v2/service.rb +856 -0
  119. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  120. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +119 -88
  121. data/generated/google/apis/cloudtasks_v2beta2/service.rb +3 -2
  122. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  123. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +122 -90
  124. data/generated/google/apis/cloudtasks_v2beta3/service.rb +3 -2
  125. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  126. data/generated/google/apis/cloudtrace_v2/classes.rb +10 -10
  127. data/generated/google/apis/composer_v1.rb +1 -1
  128. data/generated/google/apis/composer_v1/classes.rb +21 -15
  129. data/generated/google/apis/composer_v1beta1.rb +1 -1
  130. data/generated/google/apis/composer_v1beta1/classes.rb +165 -29
  131. data/generated/google/apis/composer_v1beta1/representations.rb +50 -0
  132. data/generated/google/apis/compute_alpha.rb +1 -1
  133. data/generated/google/apis/compute_alpha/classes.rb +7147 -4656
  134. data/generated/google/apis/compute_alpha/representations.rb +1205 -236
  135. data/generated/google/apis/compute_alpha/service.rb +4338 -3274
  136. data/generated/google/apis/compute_beta.rb +1 -1
  137. data/generated/google/apis/compute_beta/classes.rb +5974 -4567
  138. data/generated/google/apis/compute_beta/representations.rb +846 -283
  139. data/generated/google/apis/compute_beta/service.rb +4274 -3153
  140. data/generated/google/apis/compute_v1.rb +1 -1
  141. data/generated/google/apis/compute_v1/classes.rb +325 -50
  142. data/generated/google/apis/compute_v1/representations.rb +104 -1
  143. data/generated/google/apis/compute_v1/service.rb +153 -2
  144. data/generated/google/apis/container_v1.rb +1 -1
  145. data/generated/google/apis/container_v1/classes.rb +1 -0
  146. data/generated/google/apis/container_v1/service.rb +4 -4
  147. data/generated/google/apis/container_v1beta1.rb +1 -1
  148. data/generated/google/apis/container_v1beta1/classes.rb +7 -0
  149. data/generated/google/apis/container_v1beta1/representations.rb +2 -0
  150. data/generated/google/apis/container_v1beta1/service.rb +4 -4
  151. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  152. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +25 -17
  153. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
  154. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  155. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +137 -12
  156. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +33 -0
  157. data/generated/google/apis/content_v2.rb +1 -1
  158. data/generated/google/apis/content_v2/classes.rb +204 -93
  159. data/generated/google/apis/content_v2/representations.rb +49 -0
  160. data/generated/google/apis/content_v2/service.rb +82 -41
  161. data/generated/google/apis/content_v2_1.rb +1 -1
  162. data/generated/google/apis/content_v2_1/classes.rb +360 -209
  163. data/generated/google/apis/content_v2_1/representations.rb +129 -56
  164. data/generated/google/apis/content_v2_1/service.rb +97 -10
  165. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  166. data/generated/google/apis/dataflow_v1b3/classes.rb +51 -19
  167. data/generated/google/apis/dataflow_v1b3/representations.rb +2 -0
  168. data/generated/google/apis/dataflow_v1b3/service.rb +133 -25
  169. data/generated/google/apis/dataproc_v1.rb +1 -1
  170. data/generated/google/apis/dataproc_v1/classes.rb +20 -15
  171. data/generated/google/apis/dataproc_v1/representations.rb +1 -0
  172. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  173. data/generated/google/apis/dataproc_v1beta2/classes.rb +516 -45
  174. data/generated/google/apis/dataproc_v1beta2/representations.rb +185 -7
  175. data/generated/google/apis/dataproc_v1beta2/service.rb +575 -6
  176. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  177. data/generated/google/apis/dfareporting_v3_3/classes.rb +3 -3
  178. data/generated/google/apis/dialogflow_v2.rb +1 -1
  179. data/generated/google/apis/dialogflow_v2/classes.rb +126 -77
  180. data/generated/google/apis/dialogflow_v2/service.rb +40 -24
  181. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  182. data/generated/google/apis/dialogflow_v2beta1/classes.rb +126 -77
  183. data/generated/google/apis/dialogflow_v2beta1/service.rb +40 -24
  184. data/generated/google/apis/dlp_v2.rb +1 -1
  185. data/generated/google/apis/dlp_v2/classes.rb +44 -41
  186. data/generated/google/apis/dlp_v2/representations.rb +12 -0
  187. data/generated/google/apis/dlp_v2/service.rb +35 -0
  188. data/generated/google/apis/dns_v1.rb +1 -1
  189. data/generated/google/apis/dns_v1/classes.rb +163 -190
  190. data/generated/google/apis/dns_v1/representations.rb +34 -0
  191. data/generated/google/apis/dns_v1/service.rb +15 -110
  192. data/generated/google/apis/dns_v1beta2.rb +1 -1
  193. data/generated/google/apis/dns_v1beta2/classes.rb +117 -248
  194. data/generated/google/apis/dns_v1beta2/service.rb +21 -141
  195. data/generated/google/apis/dns_v2beta1.rb +1 -1
  196. data/generated/google/apis/dns_v2beta1/classes.rb +163 -190
  197. data/generated/google/apis/dns_v2beta1/representations.rb +34 -0
  198. data/generated/google/apis/dns_v2beta1/service.rb +15 -110
  199. data/generated/google/apis/docs_v1.rb +1 -1
  200. data/generated/google/apis/docs_v1/classes.rb +118 -47
  201. data/generated/google/apis/docs_v1/representations.rb +39 -0
  202. data/generated/google/apis/drive_v2.rb +1 -1
  203. data/generated/google/apis/drive_v2/service.rb +3 -1
  204. data/generated/google/apis/drive_v3.rb +1 -1
  205. data/generated/google/apis/drive_v3/service.rb +3 -2
  206. data/generated/google/apis/factchecktools_v1alpha1.rb +34 -0
  207. data/generated/google/apis/factchecktools_v1alpha1/classes.rb +459 -0
  208. data/generated/google/apis/factchecktools_v1alpha1/representations.rb +207 -0
  209. data/generated/google/apis/factchecktools_v1alpha1/service.rb +300 -0
  210. data/generated/google/apis/file_v1.rb +1 -1
  211. data/generated/google/apis/file_v1/classes.rb +203 -10
  212. data/generated/google/apis/file_v1/representations.rb +70 -0
  213. data/generated/google/apis/file_v1/service.rb +190 -0
  214. data/generated/google/apis/file_v1beta1.rb +1 -1
  215. data/generated/google/apis/file_v1beta1/classes.rb +10 -10
  216. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  217. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +13 -10
  218. data/generated/google/apis/firebaserules_v1.rb +1 -1
  219. data/generated/google/apis/firebaserules_v1/service.rb +1 -1
  220. data/generated/google/apis/fitness_v1.rb +1 -1
  221. data/generated/google/apis/fitness_v1/classes.rb +3 -0
  222. data/generated/google/apis/fitness_v1/service.rb +1 -45
  223. data/generated/google/apis/games_management_v1management.rb +2 -2
  224. data/generated/google/apis/games_v1.rb +2 -2
  225. data/generated/google/apis/genomics_v1.rb +1 -10
  226. data/generated/google/apis/genomics_v1/classes.rb +190 -3321
  227. data/generated/google/apis/genomics_v1/representations.rb +128 -1265
  228. data/generated/google/apis/genomics_v1/service.rb +75 -1982
  229. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  230. data/generated/google/apis/genomics_v1alpha2/classes.rb +11 -51
  231. data/generated/google/apis/genomics_v1alpha2/representations.rb +0 -26
  232. data/generated/google/apis/genomics_v1alpha2/service.rb +1 -2
  233. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  234. data/generated/google/apis/genomics_v2alpha1/classes.rb +19 -58
  235. data/generated/google/apis/genomics_v2alpha1/representations.rb +0 -26
  236. data/generated/google/apis/genomics_v2alpha1/service.rb +1 -2
  237. data/generated/google/apis/groupssettings_v1.rb +2 -2
  238. data/generated/google/apis/groupssettings_v1/classes.rb +126 -1
  239. data/generated/google/apis/groupssettings_v1/representations.rb +18 -0
  240. data/generated/google/apis/groupssettings_v1/service.rb +1 -1
  241. data/generated/google/apis/iam_v1.rb +1 -1
  242. data/generated/google/apis/iam_v1/classes.rb +123 -1
  243. data/generated/google/apis/iam_v1/representations.rb +67 -0
  244. data/generated/google/apis/iam_v1/service.rb +198 -5
  245. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  246. data/generated/google/apis/iamcredentials_v1/classes.rb +8 -4
  247. data/generated/google/apis/iamcredentials_v1/service.rb +10 -5
  248. data/generated/google/apis/iap_v1.rb +1 -1
  249. data/generated/google/apis/iap_v1/classes.rb +1 -1
  250. data/generated/google/apis/iap_v1beta1.rb +1 -1
  251. data/generated/google/apis/iap_v1beta1/classes.rb +1 -1
  252. data/generated/google/apis/jobs_v2.rb +1 -1
  253. data/generated/google/apis/jobs_v2/classes.rb +7 -9
  254. data/generated/google/apis/jobs_v3.rb +1 -1
  255. data/generated/google/apis/jobs_v3/classes.rb +1 -1
  256. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  257. data/generated/google/apis/jobs_v3p1beta1/classes.rb +11 -11
  258. data/generated/google/apis/language_v1.rb +1 -1
  259. data/generated/google/apis/language_v1/classes.rb +5 -5
  260. data/generated/google/apis/language_v1beta1.rb +1 -1
  261. data/generated/google/apis/language_v1beta1/classes.rb +5 -5
  262. data/generated/google/apis/language_v1beta2.rb +1 -1
  263. data/generated/google/apis/language_v1beta2/classes.rb +5 -5
  264. data/generated/google/apis/logging_v2.rb +1 -1
  265. data/generated/google/apis/logging_v2/classes.rb +2 -3
  266. data/generated/google/apis/logging_v2beta1.rb +1 -1
  267. data/generated/google/apis/logging_v2beta1/classes.rb +2 -3
  268. data/generated/google/apis/ml_v1.rb +1 -1
  269. data/generated/google/apis/ml_v1/classes.rb +158 -36
  270. data/generated/google/apis/ml_v1/representations.rb +23 -2
  271. data/generated/google/apis/monitoring_v3.rb +1 -1
  272. data/generated/google/apis/monitoring_v3/classes.rb +8 -7
  273. data/generated/google/apis/monitoring_v3/service.rb +6 -1
  274. data/generated/google/apis/oauth2_v1.rb +2 -5
  275. data/generated/google/apis/oauth2_v1/classes.rb +0 -124
  276. data/generated/google/apis/oauth2_v1/representations.rb +0 -62
  277. data/generated/google/apis/oauth2_v1/service.rb +0 -159
  278. data/generated/google/apis/oauth2_v2.rb +2 -5
  279. data/generated/google/apis/people_v1.rb +3 -3
  280. data/generated/google/apis/people_v1/classes.rb +19 -18
  281. data/generated/google/apis/people_v1/service.rb +4 -0
  282. data/generated/google/apis/plus_domains_v1.rb +3 -3
  283. data/generated/google/apis/plus_v1.rb +3 -3
  284. data/generated/google/apis/poly_v1.rb +1 -1
  285. data/generated/google/apis/poly_v1/classes.rb +5 -4
  286. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  287. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +8 -6
  288. data/generated/google/apis/pubsub_v1.rb +1 -1
  289. data/generated/google/apis/pubsub_v1/classes.rb +53 -38
  290. data/generated/google/apis/pubsub_v1/representations.rb +16 -0
  291. data/generated/google/apis/pubsub_v1/service.rb +6 -29
  292. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  293. data/generated/google/apis/pubsub_v1beta2/classes.rb +45 -1
  294. data/generated/google/apis/pubsub_v1beta2/representations.rb +16 -0
  295. data/generated/google/apis/redis_v1.rb +1 -1
  296. data/generated/google/apis/redis_v1beta1.rb +1 -1
  297. data/generated/google/apis/redis_v1beta1/classes.rb +0 -10
  298. data/generated/google/apis/redis_v1beta1/representations.rb +0 -1
  299. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  300. data/generated/google/apis/remotebuildexecution_v1/classes.rb +42 -28
  301. data/generated/google/apis/remotebuildexecution_v1/representations.rb +2 -0
  302. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  303. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +42 -28
  304. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +2 -0
  305. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  306. data/generated/google/apis/remotebuildexecution_v2/classes.rb +52 -38
  307. data/generated/google/apis/remotebuildexecution_v2/representations.rb +2 -0
  308. data/generated/google/apis/reseller_v1.rb +1 -1
  309. data/generated/google/apis/reseller_v1/classes.rb +32 -39
  310. data/generated/google/apis/reseller_v1/service.rb +1 -1
  311. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  312. data/generated/google/apis/runtimeconfig_v1/classes.rb +10 -10
  313. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  314. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +25 -24
  315. data/generated/google/apis/script_v1.rb +1 -1
  316. data/generated/google/apis/script_v1/classes.rb +0 -6
  317. data/generated/google/apis/script_v1/representations.rb +0 -1
  318. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  319. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +73 -151
  320. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +48 -50
  321. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  322. data/generated/google/apis/servicecontrol_v1/classes.rb +108 -24
  323. data/generated/google/apis/servicecontrol_v1/representations.rb +45 -0
  324. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  325. data/generated/google/apis/servicemanagement_v1/classes.rb +35 -113
  326. data/generated/google/apis/servicemanagement_v1/service.rb +6 -3
  327. data/generated/google/apis/servicenetworking_v1.rb +38 -0
  328. data/generated/google/apis/servicenetworking_v1/classes.rb +3591 -0
  329. data/generated/google/apis/servicenetworking_v1/representations.rb +1082 -0
  330. data/generated/google/apis/servicenetworking_v1/service.rb +440 -0
  331. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  332. data/generated/google/apis/servicenetworking_v1beta/classes.rb +32 -110
  333. data/generated/google/apis/serviceusage_v1.rb +1 -1
  334. data/generated/google/apis/serviceusage_v1/classes.rb +33 -150
  335. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  336. data/generated/google/apis/serviceusage_v1beta1/classes.rb +34 -190
  337. data/generated/google/apis/sheets_v4.rb +1 -1
  338. data/generated/google/apis/sheets_v4/classes.rb +115 -26
  339. data/generated/google/apis/slides_v1.rb +1 -1
  340. data/generated/google/apis/slides_v1/classes.rb +2 -2
  341. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  342. data/generated/google/apis/sourcerepo_v1/classes.rb +1 -1
  343. data/generated/google/apis/spanner_v1.rb +1 -1
  344. data/generated/google/apis/spanner_v1/classes.rb +171 -0
  345. data/generated/google/apis/spanner_v1/representations.rb +49 -0
  346. data/generated/google/apis/spanner_v1/service.rb +51 -1
  347. data/generated/google/apis/speech_v1.rb +1 -1
  348. data/generated/google/apis/speech_v1/classes.rb +107 -10
  349. data/generated/google/apis/speech_v1/representations.rb +24 -0
  350. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  351. data/generated/google/apis/speech_v1p1beta1/classes.rb +16 -10
  352. data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
  353. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  354. data/generated/google/apis/sqladmin_v1beta4/classes.rb +11 -15
  355. data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
  356. data/generated/google/apis/storage_v1.rb +1 -1
  357. data/generated/google/apis/storage_v1/classes.rb +57 -4
  358. data/generated/google/apis/storage_v1/representations.rb +19 -1
  359. data/generated/google/apis/storagetransfer_v1.rb +2 -2
  360. data/generated/google/apis/storagetransfer_v1/classes.rb +28 -21
  361. data/generated/google/apis/storagetransfer_v1/service.rb +4 -4
  362. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  363. data/generated/google/apis/streetviewpublish_v1/classes.rb +26 -26
  364. data/generated/google/apis/streetviewpublish_v1/service.rb +27 -31
  365. data/generated/google/apis/tagmanager_v1.rb +1 -1
  366. data/generated/google/apis/tagmanager_v1/service.rb +0 -46
  367. data/generated/google/apis/tagmanager_v2.rb +1 -1
  368. data/generated/google/apis/tagmanager_v2/classes.rb +197 -292
  369. data/generated/google/apis/tagmanager_v2/representations.rb +62 -103
  370. data/generated/google/apis/tagmanager_v2/service.rb +219 -181
  371. data/generated/google/apis/tasks_v1.rb +2 -2
  372. data/generated/google/apis/tasks_v1/service.rb +5 -5
  373. data/generated/google/apis/testing_v1.rb +1 -1
  374. data/generated/google/apis/testing_v1/classes.rb +13 -13
  375. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  376. data/generated/google/apis/toolresults_v1beta3/classes.rb +92 -0
  377. data/generated/google/apis/toolresults_v1beta3/representations.rb +47 -0
  378. data/generated/google/apis/tpu_v1.rb +1 -1
  379. data/generated/google/apis/tpu_v1/classes.rb +10 -10
  380. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  381. data/generated/google/apis/tpu_v1alpha1/classes.rb +10 -10
  382. data/generated/google/apis/vault_v1.rb +1 -1
  383. data/generated/google/apis/vault_v1/classes.rb +7 -0
  384. data/generated/google/apis/vault_v1/representations.rb +1 -0
  385. data/generated/google/apis/videointelligence_v1.rb +3 -2
  386. data/generated/google/apis/videointelligence_v1/classes.rb +2193 -350
  387. data/generated/google/apis/videointelligence_v1/representations.rb +805 -6
  388. data/generated/google/apis/videointelligence_v1/service.rb +2 -1
  389. data/generated/google/apis/videointelligence_v1beta2.rb +3 -2
  390. data/generated/google/apis/videointelligence_v1beta2/classes.rb +2448 -605
  391. data/generated/google/apis/videointelligence_v1beta2/representations.rb +806 -7
  392. data/generated/google/apis/videointelligence_v1beta2/service.rb +2 -1
  393. data/generated/google/apis/videointelligence_v1p1beta1.rb +3 -2
  394. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +2422 -579
  395. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +806 -7
  396. data/generated/google/apis/videointelligence_v1p1beta1/service.rb +2 -1
  397. data/generated/google/apis/videointelligence_v1p2beta1.rb +3 -2
  398. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +2645 -830
  399. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +796 -12
  400. data/generated/google/apis/videointelligence_v1p2beta1/service.rb +2 -1
  401. data/generated/google/apis/videointelligence_v1p3beta1.rb +36 -0
  402. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +4687 -0
  403. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +2005 -0
  404. data/generated/google/apis/videointelligence_v1p3beta1/service.rb +94 -0
  405. data/generated/google/apis/vision_v1.rb +1 -1
  406. data/generated/google/apis/vision_v1/classes.rb +1977 -40
  407. data/generated/google/apis/vision_v1/representations.rb +833 -0
  408. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  409. data/generated/google/apis/vision_v1p1beta1/classes.rb +1972 -35
  410. data/generated/google/apis/vision_v1p1beta1/representations.rb +833 -0
  411. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  412. data/generated/google/apis/vision_v1p2beta1/classes.rb +1972 -35
  413. data/generated/google/apis/vision_v1p2beta1/representations.rb +833 -0
  414. data/generated/google/apis/websecurityscanner_v1beta.rb +34 -0
  415. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +973 -0
  416. data/generated/google/apis/websecurityscanner_v1beta/representations.rb +452 -0
  417. data/generated/google/apis/websecurityscanner_v1beta/service.rb +548 -0
  418. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  419. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  420. data/lib/google/apis/core/http_command.rb +1 -0
  421. data/lib/google/apis/generator/model.rb +1 -1
  422. data/lib/google/apis/version.rb +1 -1
  423. metadata +39 -8
  424. data/generated/google/apis/partners_v2/classes.rb +0 -2260
  425. data/generated/google/apis/partners_v2/representations.rb +0 -905
  426. data/generated/google/apis/partners_v2/service.rb +0 -1077
@@ -47,1891 +47,18 @@ module Google
47
47
  @batch_path = 'batch'
48
48
  end
49
49
 
50
- # Creates one or more new annotations atomically. All annotations must
51
- # belong to the same annotation set. Caller must have WRITE
52
- # permission for this annotation set. For optimal performance, batch
53
- # positionally adjacent annotations together.
54
- # If the request has a systemic issue, such as an attempt to write to
55
- # an inaccessible annotation set, the entire RPC will fail accordingly. For
56
- # lesser data issues, when possible an error will be isolated to the
57
- # corresponding batch entry in the response; the remaining well formed
58
- # annotations will be created normally.
59
- # For details on the requirements for each individual annotation resource,
60
- # see
61
- # CreateAnnotation.
62
- # @param [Google::Apis::GenomicsV1::BatchCreateAnnotationsRequest] batch_create_annotations_request_object
63
- # @param [String] fields
64
- # Selector specifying which fields to include in a partial response.
65
- # @param [String] quota_user
66
- # Available to use for quota purposes for server-side applications. Can be any
67
- # arbitrary string assigned to a user, but should not exceed 40 characters.
68
- # @param [Google::Apis::RequestOptions] options
69
- # Request-specific options
70
- #
71
- # @yield [result, err] Result & error if block supplied
72
- # @yieldparam result [Google::Apis::GenomicsV1::BatchCreateAnnotationsResponse] parsed result object
73
- # @yieldparam err [StandardError] error object if request failed
74
- #
75
- # @return [Google::Apis::GenomicsV1::BatchCreateAnnotationsResponse]
76
- #
77
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
78
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
79
- # @raise [Google::Apis::AuthorizationError] Authorization is required
80
- def batch_create_annotations(batch_create_annotations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
81
- command = make_simple_command(:post, 'v1/annotations:batchCreate', options)
82
- command.request_representation = Google::Apis::GenomicsV1::BatchCreateAnnotationsRequest::Representation
83
- command.request_object = batch_create_annotations_request_object
84
- command.response_representation = Google::Apis::GenomicsV1::BatchCreateAnnotationsResponse::Representation
85
- command.response_class = Google::Apis::GenomicsV1::BatchCreateAnnotationsResponse
86
- command.query['fields'] = fields unless fields.nil?
87
- command.query['quotaUser'] = quota_user unless quota_user.nil?
88
- execute_or_queue_command(command, &block)
89
- end
90
-
91
- # Creates a new annotation. Caller must have WRITE permission
92
- # for the associated annotation set.
93
- # The following fields are required:
94
- # * annotationSetId
95
- # * referenceName or
96
- # referenceId
97
- # ### Transcripts
98
- # For annotations of type TRANSCRIPT, the following fields of
99
- # transcript must be provided:
100
- # * exons.start
101
- # * exons.end
102
- # All other fields may be optionally specified, unless documented as being
103
- # server-generated (for example, the `id` field). The annotated
104
- # range must be no longer than 100Mbp (mega base pairs). See the
105
- # Annotation resource
106
- # for additional restrictions on each field.
107
- # @param [Google::Apis::GenomicsV1::Annotation] annotation_object
108
- # @param [String] fields
109
- # Selector specifying which fields to include in a partial response.
110
- # @param [String] quota_user
111
- # Available to use for quota purposes for server-side applications. Can be any
112
- # arbitrary string assigned to a user, but should not exceed 40 characters.
113
- # @param [Google::Apis::RequestOptions] options
114
- # Request-specific options
115
- #
116
- # @yield [result, err] Result & error if block supplied
117
- # @yieldparam result [Google::Apis::GenomicsV1::Annotation] parsed result object
118
- # @yieldparam err [StandardError] error object if request failed
119
- #
120
- # @return [Google::Apis::GenomicsV1::Annotation]
121
- #
122
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
123
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
124
- # @raise [Google::Apis::AuthorizationError] Authorization is required
125
- def create_annotation(annotation_object = nil, fields: nil, quota_user: nil, options: nil, &block)
126
- command = make_simple_command(:post, 'v1/annotations', options)
127
- command.request_representation = Google::Apis::GenomicsV1::Annotation::Representation
128
- command.request_object = annotation_object
129
- command.response_representation = Google::Apis::GenomicsV1::Annotation::Representation
130
- command.response_class = Google::Apis::GenomicsV1::Annotation
131
- command.query['fields'] = fields unless fields.nil?
132
- command.query['quotaUser'] = quota_user unless quota_user.nil?
133
- execute_or_queue_command(command, &block)
134
- end
135
-
136
- # Deletes an annotation. Caller must have WRITE permission for
137
- # the associated annotation set.
138
- # @param [String] annotation_id
139
- # The ID of the annotation to be deleted.
140
- # @param [String] fields
141
- # Selector specifying which fields to include in a partial response.
142
- # @param [String] quota_user
143
- # Available to use for quota purposes for server-side applications. Can be any
144
- # arbitrary string assigned to a user, but should not exceed 40 characters.
145
- # @param [Google::Apis::RequestOptions] options
146
- # Request-specific options
147
- #
148
- # @yield [result, err] Result & error if block supplied
149
- # @yieldparam result [Google::Apis::GenomicsV1::Empty] parsed result object
150
- # @yieldparam err [StandardError] error object if request failed
151
- #
152
- # @return [Google::Apis::GenomicsV1::Empty]
153
- #
154
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
155
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
156
- # @raise [Google::Apis::AuthorizationError] Authorization is required
157
- def delete_annotation(annotation_id, fields: nil, quota_user: nil, options: nil, &block)
158
- command = make_simple_command(:delete, 'v1/annotations/{annotationId}', options)
159
- command.response_representation = Google::Apis::GenomicsV1::Empty::Representation
160
- command.response_class = Google::Apis::GenomicsV1::Empty
161
- command.params['annotationId'] = annotation_id unless annotation_id.nil?
162
- command.query['fields'] = fields unless fields.nil?
163
- command.query['quotaUser'] = quota_user unless quota_user.nil?
164
- execute_or_queue_command(command, &block)
165
- end
166
-
167
- # Gets an annotation. Caller must have READ permission
168
- # for the associated annotation set.
169
- # @param [String] annotation_id
170
- # The ID of the annotation to be retrieved.
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
- # @param [Google::Apis::RequestOptions] options
177
- # Request-specific options
178
- #
179
- # @yield [result, err] Result & error if block supplied
180
- # @yieldparam result [Google::Apis::GenomicsV1::Annotation] parsed result object
181
- # @yieldparam err [StandardError] error object if request failed
182
- #
183
- # @return [Google::Apis::GenomicsV1::Annotation]
184
- #
185
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
186
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
187
- # @raise [Google::Apis::AuthorizationError] Authorization is required
188
- def get_annotation(annotation_id, fields: nil, quota_user: nil, options: nil, &block)
189
- command = make_simple_command(:get, 'v1/annotations/{annotationId}', options)
190
- command.response_representation = Google::Apis::GenomicsV1::Annotation::Representation
191
- command.response_class = Google::Apis::GenomicsV1::Annotation
192
- command.params['annotationId'] = annotation_id unless annotation_id.nil?
193
- command.query['fields'] = fields unless fields.nil?
194
- command.query['quotaUser'] = quota_user unless quota_user.nil?
195
- execute_or_queue_command(command, &block)
196
- end
197
-
198
- # Searches for annotations that match the given criteria. Results are
199
- # ordered by genomic coordinate (by reference sequence, then position).
200
- # Annotations with equivalent genomic coordinates are returned in an
201
- # unspecified order. This order is consistent, such that two queries for the
202
- # same content (regardless of page size) yield annotations in the same order
203
- # across their respective streams of paginated responses. Caller must have
204
- # READ permission for the queried annotation sets.
205
- # @param [Google::Apis::GenomicsV1::SearchAnnotationsRequest] search_annotations_request_object
206
- # @param [String] fields
207
- # Selector specifying which fields to include in a partial response.
208
- # @param [String] quota_user
209
- # Available to use for quota purposes for server-side applications. Can be any
210
- # arbitrary string assigned to a user, but should not exceed 40 characters.
211
- # @param [Google::Apis::RequestOptions] options
212
- # Request-specific options
213
- #
214
- # @yield [result, err] Result & error if block supplied
215
- # @yieldparam result [Google::Apis::GenomicsV1::SearchAnnotationsResponse] parsed result object
216
- # @yieldparam err [StandardError] error object if request failed
217
- #
218
- # @return [Google::Apis::GenomicsV1::SearchAnnotationsResponse]
219
- #
220
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
221
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
222
- # @raise [Google::Apis::AuthorizationError] Authorization is required
223
- def search_annotations(search_annotations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
224
- command = make_simple_command(:post, 'v1/annotations/search', options)
225
- command.request_representation = Google::Apis::GenomicsV1::SearchAnnotationsRequest::Representation
226
- command.request_object = search_annotations_request_object
227
- command.response_representation = Google::Apis::GenomicsV1::SearchAnnotationsResponse::Representation
228
- command.response_class = Google::Apis::GenomicsV1::SearchAnnotationsResponse
229
- command.query['fields'] = fields unless fields.nil?
230
- command.query['quotaUser'] = quota_user unless quota_user.nil?
231
- execute_or_queue_command(command, &block)
232
- end
233
-
234
- # Updates an annotation. Caller must have
235
- # WRITE permission for the associated dataset.
236
- # @param [String] annotation_id
237
- # The ID of the annotation to be updated.
238
- # @param [Google::Apis::GenomicsV1::Annotation] annotation_object
239
- # @param [String] update_mask
240
- # An optional mask specifying which fields to update. Mutable fields are
241
- # name,
242
- # variant,
243
- # transcript, and
244
- # info. If unspecified, all mutable
245
- # fields will be updated.
246
- # @param [String] fields
247
- # Selector specifying which fields to include in a partial response.
248
- # @param [String] quota_user
249
- # Available to use for quota purposes for server-side applications. Can be any
250
- # arbitrary string assigned to a user, but should not exceed 40 characters.
251
- # @param [Google::Apis::RequestOptions] options
252
- # Request-specific options
253
- #
254
- # @yield [result, err] Result & error if block supplied
255
- # @yieldparam result [Google::Apis::GenomicsV1::Annotation] parsed result object
256
- # @yieldparam err [StandardError] error object if request failed
257
- #
258
- # @return [Google::Apis::GenomicsV1::Annotation]
259
- #
260
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
261
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
262
- # @raise [Google::Apis::AuthorizationError] Authorization is required
263
- def update_annotation(annotation_id, annotation_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
264
- command = make_simple_command(:put, 'v1/annotations/{annotationId}', options)
265
- command.request_representation = Google::Apis::GenomicsV1::Annotation::Representation
266
- command.request_object = annotation_object
267
- command.response_representation = Google::Apis::GenomicsV1::Annotation::Representation
268
- command.response_class = Google::Apis::GenomicsV1::Annotation
269
- command.params['annotationId'] = annotation_id unless annotation_id.nil?
270
- command.query['updateMask'] = update_mask unless update_mask.nil?
271
- command.query['fields'] = fields unless fields.nil?
272
- command.query['quotaUser'] = quota_user unless quota_user.nil?
273
- execute_or_queue_command(command, &block)
274
- end
275
-
276
- # Creates a new annotation set. Caller must have WRITE permission for the
277
- # associated dataset.
278
- # The following fields are required:
279
- # * datasetId
280
- # * referenceSetId
281
- # All other fields may be optionally specified, unless documented as being
282
- # server-generated (for example, the `id` field).
283
- # @param [Google::Apis::GenomicsV1::AnnotationSet] annotation_set_object
284
- # @param [String] fields
285
- # Selector specifying which fields to include in a partial response.
286
- # @param [String] quota_user
287
- # Available to use for quota purposes for server-side applications. Can be any
288
- # arbitrary string assigned to a user, but should not exceed 40 characters.
289
- # @param [Google::Apis::RequestOptions] options
290
- # Request-specific options
291
- #
292
- # @yield [result, err] Result & error if block supplied
293
- # @yieldparam result [Google::Apis::GenomicsV1::AnnotationSet] parsed result object
294
- # @yieldparam err [StandardError] error object if request failed
295
- #
296
- # @return [Google::Apis::GenomicsV1::AnnotationSet]
297
- #
298
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
299
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
300
- # @raise [Google::Apis::AuthorizationError] Authorization is required
301
- def create_annotation_set(annotation_set_object = nil, fields: nil, quota_user: nil, options: nil, &block)
302
- command = make_simple_command(:post, 'v1/annotationsets', options)
303
- command.request_representation = Google::Apis::GenomicsV1::AnnotationSet::Representation
304
- command.request_object = annotation_set_object
305
- command.response_representation = Google::Apis::GenomicsV1::AnnotationSet::Representation
306
- command.response_class = Google::Apis::GenomicsV1::AnnotationSet
307
- command.query['fields'] = fields unless fields.nil?
308
- command.query['quotaUser'] = quota_user unless quota_user.nil?
309
- execute_or_queue_command(command, &block)
310
- end
311
-
312
- # Deletes an annotation set. Caller must have WRITE permission
313
- # for the associated annotation set.
314
- # @param [String] annotation_set_id
315
- # The ID of the annotation set to be deleted.
316
- # @param [String] fields
317
- # Selector specifying which fields to include in a partial response.
318
- # @param [String] quota_user
319
- # Available to use for quota purposes for server-side applications. Can be any
320
- # arbitrary string assigned to a user, but should not exceed 40 characters.
321
- # @param [Google::Apis::RequestOptions] options
322
- # Request-specific options
323
- #
324
- # @yield [result, err] Result & error if block supplied
325
- # @yieldparam result [Google::Apis::GenomicsV1::Empty] parsed result object
326
- # @yieldparam err [StandardError] error object if request failed
327
- #
328
- # @return [Google::Apis::GenomicsV1::Empty]
329
- #
330
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
331
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
332
- # @raise [Google::Apis::AuthorizationError] Authorization is required
333
- def delete_annotationset(annotation_set_id, fields: nil, quota_user: nil, options: nil, &block)
334
- command = make_simple_command(:delete, 'v1/annotationsets/{annotationSetId}', options)
335
- command.response_representation = Google::Apis::GenomicsV1::Empty::Representation
336
- command.response_class = Google::Apis::GenomicsV1::Empty
337
- command.params['annotationSetId'] = annotation_set_id unless annotation_set_id.nil?
338
- command.query['fields'] = fields unless fields.nil?
339
- command.query['quotaUser'] = quota_user unless quota_user.nil?
340
- execute_or_queue_command(command, &block)
341
- end
342
-
343
- # Gets an annotation set. Caller must have READ permission for
344
- # the associated dataset.
345
- # @param [String] annotation_set_id
346
- # The ID of the annotation set to be retrieved.
347
- # @param [String] fields
348
- # Selector specifying which fields to include in a partial response.
349
- # @param [String] quota_user
350
- # Available to use for quota purposes for server-side applications. Can be any
351
- # arbitrary string assigned to a user, but should not exceed 40 characters.
352
- # @param [Google::Apis::RequestOptions] options
353
- # Request-specific options
354
- #
355
- # @yield [result, err] Result & error if block supplied
356
- # @yieldparam result [Google::Apis::GenomicsV1::AnnotationSet] parsed result object
357
- # @yieldparam err [StandardError] error object if request failed
358
- #
359
- # @return [Google::Apis::GenomicsV1::AnnotationSet]
360
- #
361
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
362
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
363
- # @raise [Google::Apis::AuthorizationError] Authorization is required
364
- def get_annotation_set(annotation_set_id, fields: nil, quota_user: nil, options: nil, &block)
365
- command = make_simple_command(:get, 'v1/annotationsets/{annotationSetId}', options)
366
- command.response_representation = Google::Apis::GenomicsV1::AnnotationSet::Representation
367
- command.response_class = Google::Apis::GenomicsV1::AnnotationSet
368
- command.params['annotationSetId'] = annotation_set_id unless annotation_set_id.nil?
369
- command.query['fields'] = fields unless fields.nil?
370
- command.query['quotaUser'] = quota_user unless quota_user.nil?
371
- execute_or_queue_command(command, &block)
372
- end
373
-
374
- # Searches for annotation sets that match the given criteria. Annotation sets
375
- # are returned in an unspecified order. This order is consistent, such that
376
- # two queries for the same content (regardless of page size) yield annotation
377
- # sets in the same order across their respective streams of paginated
378
- # responses. Caller must have READ permission for the queried datasets.
379
- # @param [Google::Apis::GenomicsV1::SearchAnnotationSetsRequest] search_annotation_sets_request_object
380
- # @param [String] fields
381
- # Selector specifying which fields to include in a partial response.
382
- # @param [String] quota_user
383
- # Available to use for quota purposes for server-side applications. Can be any
384
- # arbitrary string assigned to a user, but should not exceed 40 characters.
385
- # @param [Google::Apis::RequestOptions] options
386
- # Request-specific options
387
- #
388
- # @yield [result, err] Result & error if block supplied
389
- # @yieldparam result [Google::Apis::GenomicsV1::SearchAnnotationSetsResponse] parsed result object
390
- # @yieldparam err [StandardError] error object if request failed
391
- #
392
- # @return [Google::Apis::GenomicsV1::SearchAnnotationSetsResponse]
393
- #
394
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
395
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
396
- # @raise [Google::Apis::AuthorizationError] Authorization is required
397
- def search_annotationset_annotation_sets(search_annotation_sets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
398
- command = make_simple_command(:post, 'v1/annotationsets/search', options)
399
- command.request_representation = Google::Apis::GenomicsV1::SearchAnnotationSetsRequest::Representation
400
- command.request_object = search_annotation_sets_request_object
401
- command.response_representation = Google::Apis::GenomicsV1::SearchAnnotationSetsResponse::Representation
402
- command.response_class = Google::Apis::GenomicsV1::SearchAnnotationSetsResponse
403
- command.query['fields'] = fields unless fields.nil?
404
- command.query['quotaUser'] = quota_user unless quota_user.nil?
405
- execute_or_queue_command(command, &block)
406
- end
407
-
408
- # Updates an annotation set. The update must respect all mutability
409
- # restrictions and other invariants described on the annotation set resource.
410
- # Caller must have WRITE permission for the associated dataset.
411
- # @param [String] annotation_set_id
412
- # The ID of the annotation set to be updated.
413
- # @param [Google::Apis::GenomicsV1::AnnotationSet] annotation_set_object
414
- # @param [String] update_mask
415
- # An optional mask specifying which fields to update. Mutable fields are
416
- # name,
417
- # source_uri, and
418
- # info. If unspecified, all
419
- # mutable fields will be updated.
420
- # @param [String] fields
421
- # Selector specifying which fields to include in a partial response.
422
- # @param [String] quota_user
423
- # Available to use for quota purposes for server-side applications. Can be any
424
- # arbitrary string assigned to a user, but should not exceed 40 characters.
425
- # @param [Google::Apis::RequestOptions] options
426
- # Request-specific options
427
- #
428
- # @yield [result, err] Result & error if block supplied
429
- # @yieldparam result [Google::Apis::GenomicsV1::AnnotationSet] parsed result object
430
- # @yieldparam err [StandardError] error object if request failed
431
- #
432
- # @return [Google::Apis::GenomicsV1::AnnotationSet]
433
- #
434
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
435
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
436
- # @raise [Google::Apis::AuthorizationError] Authorization is required
437
- def update_annotationset(annotation_set_id, annotation_set_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
438
- command = make_simple_command(:put, 'v1/annotationsets/{annotationSetId}', options)
439
- command.request_representation = Google::Apis::GenomicsV1::AnnotationSet::Representation
440
- command.request_object = annotation_set_object
441
- command.response_representation = Google::Apis::GenomicsV1::AnnotationSet::Representation
442
- command.response_class = Google::Apis::GenomicsV1::AnnotationSet
443
- command.params['annotationSetId'] = annotation_set_id unless annotation_set_id.nil?
444
- command.query['updateMask'] = update_mask unless update_mask.nil?
445
- command.query['fields'] = fields unless fields.nil?
446
- command.query['quotaUser'] = quota_user unless quota_user.nil?
447
- execute_or_queue_command(command, &block)
448
- end
449
-
450
- # Creates a new call set.
451
- # @param [Google::Apis::GenomicsV1::CallSet] call_set_object
452
- # @param [String] fields
453
- # Selector specifying which fields to include in a partial response.
454
- # @param [String] quota_user
455
- # Available to use for quota purposes for server-side applications. Can be any
456
- # arbitrary string assigned to a user, but should not exceed 40 characters.
457
- # @param [Google::Apis::RequestOptions] options
458
- # Request-specific options
459
- #
460
- # @yield [result, err] Result & error if block supplied
461
- # @yieldparam result [Google::Apis::GenomicsV1::CallSet] parsed result object
462
- # @yieldparam err [StandardError] error object if request failed
463
- #
464
- # @return [Google::Apis::GenomicsV1::CallSet]
465
- #
466
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
467
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
468
- # @raise [Google::Apis::AuthorizationError] Authorization is required
469
- def create_call_set(call_set_object = nil, fields: nil, quota_user: nil, options: nil, &block)
470
- command = make_simple_command(:post, 'v1/callsets', options)
471
- command.request_representation = Google::Apis::GenomicsV1::CallSet::Representation
472
- command.request_object = call_set_object
473
- command.response_representation = Google::Apis::GenomicsV1::CallSet::Representation
474
- command.response_class = Google::Apis::GenomicsV1::CallSet
475
- command.query['fields'] = fields unless fields.nil?
476
- command.query['quotaUser'] = quota_user unless quota_user.nil?
477
- execute_or_queue_command(command, &block)
478
- end
479
-
480
- # Deletes a call set.
481
- # @param [String] call_set_id
482
- # The ID of the call set to be deleted.
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
- # @param [Google::Apis::RequestOptions] options
489
- # Request-specific options
490
- #
491
- # @yield [result, err] Result & error if block supplied
492
- # @yieldparam result [Google::Apis::GenomicsV1::Empty] parsed result object
493
- # @yieldparam err [StandardError] error object if request failed
494
- #
495
- # @return [Google::Apis::GenomicsV1::Empty]
496
- #
497
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
498
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
499
- # @raise [Google::Apis::AuthorizationError] Authorization is required
500
- def delete_call_set(call_set_id, fields: nil, quota_user: nil, options: nil, &block)
501
- command = make_simple_command(:delete, 'v1/callsets/{callSetId}', options)
502
- command.response_representation = Google::Apis::GenomicsV1::Empty::Representation
503
- command.response_class = Google::Apis::GenomicsV1::Empty
504
- command.params['callSetId'] = call_set_id unless call_set_id.nil?
505
- command.query['fields'] = fields unless fields.nil?
506
- command.query['quotaUser'] = quota_user unless quota_user.nil?
507
- execute_or_queue_command(command, &block)
508
- end
509
-
510
- # Gets a call set by ID.
511
- # @param [String] call_set_id
512
- # The ID of the call set.
513
- # @param [String] fields
514
- # Selector specifying which fields to include in a partial response.
515
- # @param [String] quota_user
516
- # Available to use for quota purposes for server-side applications. Can be any
517
- # arbitrary string assigned to a user, but should not exceed 40 characters.
518
- # @param [Google::Apis::RequestOptions] options
519
- # Request-specific options
520
- #
521
- # @yield [result, err] Result & error if block supplied
522
- # @yieldparam result [Google::Apis::GenomicsV1::CallSet] parsed result object
523
- # @yieldparam err [StandardError] error object if request failed
524
- #
525
- # @return [Google::Apis::GenomicsV1::CallSet]
526
- #
527
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
528
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
529
- # @raise [Google::Apis::AuthorizationError] Authorization is required
530
- def get_call_set(call_set_id, fields: nil, quota_user: nil, options: nil, &block)
531
- command = make_simple_command(:get, 'v1/callsets/{callSetId}', options)
532
- command.response_representation = Google::Apis::GenomicsV1::CallSet::Representation
533
- command.response_class = Google::Apis::GenomicsV1::CallSet
534
- command.params['callSetId'] = call_set_id unless call_set_id.nil?
535
- command.query['fields'] = fields unless fields.nil?
536
- command.query['quotaUser'] = quota_user unless quota_user.nil?
537
- execute_or_queue_command(command, &block)
538
- end
539
-
540
- # Updates a call set.
541
- # This method supports patch semantics.
542
- # @param [String] call_set_id
543
- # The ID of the call set to be updated.
544
- # @param [Google::Apis::GenomicsV1::CallSet] call_set_object
545
- # @param [String] update_mask
546
- # An optional mask specifying which fields to update. At this time, the only
547
- # mutable field is name. The only
548
- # acceptable value is "name". If unspecified, all mutable fields will be
549
- # updated.
550
- # @param [String] fields
551
- # Selector specifying which fields to include in a partial response.
552
- # @param [String] quota_user
553
- # Available to use for quota purposes for server-side applications. Can be any
554
- # arbitrary string assigned to a user, but should not exceed 40 characters.
555
- # @param [Google::Apis::RequestOptions] options
556
- # Request-specific options
557
- #
558
- # @yield [result, err] Result & error if block supplied
559
- # @yieldparam result [Google::Apis::GenomicsV1::CallSet] parsed result object
560
- # @yieldparam err [StandardError] error object if request failed
561
- #
562
- # @return [Google::Apis::GenomicsV1::CallSet]
563
- #
564
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
565
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
566
- # @raise [Google::Apis::AuthorizationError] Authorization is required
567
- def patch_call_set(call_set_id, call_set_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
568
- command = make_simple_command(:patch, 'v1/callsets/{callSetId}', options)
569
- command.request_representation = Google::Apis::GenomicsV1::CallSet::Representation
570
- command.request_object = call_set_object
571
- command.response_representation = Google::Apis::GenomicsV1::CallSet::Representation
572
- command.response_class = Google::Apis::GenomicsV1::CallSet
573
- command.params['callSetId'] = call_set_id unless call_set_id.nil?
574
- command.query['updateMask'] = update_mask unless update_mask.nil?
575
- command.query['fields'] = fields unless fields.nil?
576
- command.query['quotaUser'] = quota_user unless quota_user.nil?
577
- execute_or_queue_command(command, &block)
578
- end
579
-
580
- # Gets a list of call sets matching the criteria.
581
- # Implements
582
- # [GlobalAllianceApi.searchCallSets](https://github.com/ga4gh/schemas/blob/v0.5.
583
- # 1/src/main/resources/avro/variantmethods.avdl#L178).
584
- # @param [Google::Apis::GenomicsV1::SearchCallSetsRequest] search_call_sets_request_object
585
- # @param [String] fields
586
- # Selector specifying which fields to include in a partial response.
587
- # @param [String] quota_user
588
- # Available to use for quota purposes for server-side applications. Can be any
589
- # arbitrary string assigned to a user, but should not exceed 40 characters.
590
- # @param [Google::Apis::RequestOptions] options
591
- # Request-specific options
592
- #
593
- # @yield [result, err] Result & error if block supplied
594
- # @yieldparam result [Google::Apis::GenomicsV1::SearchCallSetsResponse] parsed result object
595
- # @yieldparam err [StandardError] error object if request failed
596
- #
597
- # @return [Google::Apis::GenomicsV1::SearchCallSetsResponse]
598
- #
599
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
600
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
601
- # @raise [Google::Apis::AuthorizationError] Authorization is required
602
- def search_call_sets(search_call_sets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
603
- command = make_simple_command(:post, 'v1/callsets/search', options)
604
- command.request_representation = Google::Apis::GenomicsV1::SearchCallSetsRequest::Representation
605
- command.request_object = search_call_sets_request_object
606
- command.response_representation = Google::Apis::GenomicsV1::SearchCallSetsResponse::Representation
607
- command.response_class = Google::Apis::GenomicsV1::SearchCallSetsResponse
608
- command.query['fields'] = fields unless fields.nil?
609
- command.query['quotaUser'] = quota_user unless quota_user.nil?
610
- execute_or_queue_command(command, &block)
611
- end
612
-
613
- # Creates a new dataset.
614
- # @param [Google::Apis::GenomicsV1::Dataset] dataset_object
615
- # @param [String] fields
616
- # Selector specifying which fields to include in a partial response.
617
- # @param [String] quota_user
618
- # Available to use for quota purposes for server-side applications. Can be any
619
- # arbitrary string assigned to a user, but should not exceed 40 characters.
620
- # @param [Google::Apis::RequestOptions] options
621
- # Request-specific options
622
- #
623
- # @yield [result, err] Result & error if block supplied
624
- # @yieldparam result [Google::Apis::GenomicsV1::Dataset] parsed result object
625
- # @yieldparam err [StandardError] error object if request failed
626
- #
627
- # @return [Google::Apis::GenomicsV1::Dataset]
628
- #
629
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
630
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
631
- # @raise [Google::Apis::AuthorizationError] Authorization is required
632
- def create_dataset(dataset_object = nil, fields: nil, quota_user: nil, options: nil, &block)
633
- command = make_simple_command(:post, 'v1/datasets', options)
634
- command.request_representation = Google::Apis::GenomicsV1::Dataset::Representation
635
- command.request_object = dataset_object
636
- command.response_representation = Google::Apis::GenomicsV1::Dataset::Representation
637
- command.response_class = Google::Apis::GenomicsV1::Dataset
638
- command.query['fields'] = fields unless fields.nil?
639
- command.query['quotaUser'] = quota_user unless quota_user.nil?
640
- execute_or_queue_command(command, &block)
641
- end
642
-
643
- # Deletes a dataset and all of its contents (all read group sets,
644
- # reference sets, variant sets, call sets, annotation sets, etc.)
645
- # This is reversible (up to one week after the deletion) via
646
- # the
647
- # datasets.undelete
648
- # operation.
649
- # @param [String] dataset_id
650
- # The ID of the dataset to be deleted.
651
- # @param [String] fields
652
- # Selector specifying which fields to include in a partial response.
653
- # @param [String] quota_user
654
- # Available to use for quota purposes for server-side applications. Can be any
655
- # arbitrary string assigned to a user, but should not exceed 40 characters.
656
- # @param [Google::Apis::RequestOptions] options
657
- # Request-specific options
658
- #
659
- # @yield [result, err] Result & error if block supplied
660
- # @yieldparam result [Google::Apis::GenomicsV1::Empty] parsed result object
661
- # @yieldparam err [StandardError] error object if request failed
662
- #
663
- # @return [Google::Apis::GenomicsV1::Empty]
664
- #
665
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
666
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
667
- # @raise [Google::Apis::AuthorizationError] Authorization is required
668
- def delete_dataset(dataset_id, fields: nil, quota_user: nil, options: nil, &block)
669
- command = make_simple_command(:delete, 'v1/datasets/{datasetId}', options)
670
- command.response_representation = Google::Apis::GenomicsV1::Empty::Representation
671
- command.response_class = Google::Apis::GenomicsV1::Empty
672
- command.params['datasetId'] = dataset_id unless dataset_id.nil?
673
- command.query['fields'] = fields unless fields.nil?
674
- command.query['quotaUser'] = quota_user unless quota_user.nil?
675
- execute_or_queue_command(command, &block)
676
- end
677
-
678
- # Gets a dataset by ID.
679
- # @param [String] dataset_id
680
- # The ID of the dataset.
681
- # @param [String] fields
682
- # Selector specifying which fields to include in a partial response.
683
- # @param [String] quota_user
684
- # Available to use for quota purposes for server-side applications. Can be any
685
- # arbitrary string assigned to a user, but should not exceed 40 characters.
686
- # @param [Google::Apis::RequestOptions] options
687
- # Request-specific options
688
- #
689
- # @yield [result, err] Result & error if block supplied
690
- # @yieldparam result [Google::Apis::GenomicsV1::Dataset] parsed result object
691
- # @yieldparam err [StandardError] error object if request failed
692
- #
693
- # @return [Google::Apis::GenomicsV1::Dataset]
694
- #
695
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
696
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
697
- # @raise [Google::Apis::AuthorizationError] Authorization is required
698
- def get_dataset(dataset_id, fields: nil, quota_user: nil, options: nil, &block)
699
- command = make_simple_command(:get, 'v1/datasets/{datasetId}', options)
700
- command.response_representation = Google::Apis::GenomicsV1::Dataset::Representation
701
- command.response_class = Google::Apis::GenomicsV1::Dataset
702
- command.params['datasetId'] = dataset_id unless dataset_id.nil?
703
- command.query['fields'] = fields unless fields.nil?
704
- command.query['quotaUser'] = quota_user unless quota_user.nil?
705
- execute_or_queue_command(command, &block)
706
- end
707
-
708
- # Gets the access control policy for the dataset. This is empty if the
709
- # policy or resource does not exist.
710
- # See <a href="/iam/docs/managing-policies#getting_a_policy">Getting a
711
- # Policy</a> for more information.
712
- # @param [String] resource
713
- # REQUIRED: The resource for which policy is being specified. Format is
714
- # `datasets/<dataset ID>`.
715
- # @param [Google::Apis::GenomicsV1::GetIamPolicyRequest] get_iam_policy_request_object
716
- # @param [String] fields
717
- # Selector specifying which fields to include in a partial response.
718
- # @param [String] quota_user
719
- # Available to use for quota purposes for server-side applications. Can be any
720
- # arbitrary string assigned to a user, but should not exceed 40 characters.
721
- # @param [Google::Apis::RequestOptions] options
722
- # Request-specific options
723
- #
724
- # @yield [result, err] Result & error if block supplied
725
- # @yieldparam result [Google::Apis::GenomicsV1::Policy] parsed result object
726
- # @yieldparam err [StandardError] error object if request failed
727
- #
728
- # @return [Google::Apis::GenomicsV1::Policy]
729
- #
730
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
731
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
732
- # @raise [Google::Apis::AuthorizationError] Authorization is required
733
- def get_dataset_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
734
- command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
735
- command.request_representation = Google::Apis::GenomicsV1::GetIamPolicyRequest::Representation
736
- command.request_object = get_iam_policy_request_object
737
- command.response_representation = Google::Apis::GenomicsV1::Policy::Representation
738
- command.response_class = Google::Apis::GenomicsV1::Policy
739
- command.params['resource'] = resource unless resource.nil?
740
- command.query['fields'] = fields unless fields.nil?
741
- command.query['quotaUser'] = quota_user unless quota_user.nil?
742
- execute_or_queue_command(command, &block)
743
- end
744
-
745
- # Lists datasets within a project.
746
- # @param [Fixnum] page_size
747
- # The maximum number of results to return in a single page. If unspecified,
748
- # defaults to 50. The maximum value is 1024.
749
- # @param [String] page_token
750
- # The continuation token, which is used to page through large result sets.
751
- # To get the next page of results, set this parameter to the value of
752
- # `nextPageToken` from the previous response.
753
- # @param [String] project_id
754
- # Required. The Google Cloud project ID to list datasets for.
755
- # @param [String] fields
756
- # Selector specifying which fields to include in a partial response.
757
- # @param [String] quota_user
758
- # Available to use for quota purposes for server-side applications. Can be any
759
- # arbitrary string assigned to a user, but should not exceed 40 characters.
760
- # @param [Google::Apis::RequestOptions] options
761
- # Request-specific options
762
- #
763
- # @yield [result, err] Result & error if block supplied
764
- # @yieldparam result [Google::Apis::GenomicsV1::ListDatasetsResponse] parsed result object
765
- # @yieldparam err [StandardError] error object if request failed
766
- #
767
- # @return [Google::Apis::GenomicsV1::ListDatasetsResponse]
768
- #
769
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
770
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
771
- # @raise [Google::Apis::AuthorizationError] Authorization is required
772
- def list_datasets(page_size: nil, page_token: nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
773
- command = make_simple_command(:get, 'v1/datasets', options)
774
- command.response_representation = Google::Apis::GenomicsV1::ListDatasetsResponse::Representation
775
- command.response_class = Google::Apis::GenomicsV1::ListDatasetsResponse
776
- command.query['pageSize'] = page_size unless page_size.nil?
777
- command.query['pageToken'] = page_token unless page_token.nil?
778
- command.query['projectId'] = project_id unless project_id.nil?
779
- command.query['fields'] = fields unless fields.nil?
780
- command.query['quotaUser'] = quota_user unless quota_user.nil?
781
- execute_or_queue_command(command, &block)
782
- end
783
-
784
- # Updates a dataset.
785
- # This method supports patch semantics.
786
- # @param [String] dataset_id
787
- # The ID of the dataset to be updated.
788
- # @param [Google::Apis::GenomicsV1::Dataset] dataset_object
789
- # @param [String] update_mask
790
- # An optional mask specifying which fields to update. At this time, the only
791
- # mutable field is name. The only
792
- # acceptable value is "name". If unspecified, all mutable fields will be
793
- # updated.
794
- # @param [String] fields
795
- # Selector specifying which fields to include in a partial response.
796
- # @param [String] quota_user
797
- # Available to use for quota purposes for server-side applications. Can be any
798
- # arbitrary string assigned to a user, but should not exceed 40 characters.
799
- # @param [Google::Apis::RequestOptions] options
800
- # Request-specific options
801
- #
802
- # @yield [result, err] Result & error if block supplied
803
- # @yieldparam result [Google::Apis::GenomicsV1::Dataset] parsed result object
804
- # @yieldparam err [StandardError] error object if request failed
805
- #
806
- # @return [Google::Apis::GenomicsV1::Dataset]
807
- #
808
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
809
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
810
- # @raise [Google::Apis::AuthorizationError] Authorization is required
811
- def patch_dataset(dataset_id, dataset_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
812
- command = make_simple_command(:patch, 'v1/datasets/{datasetId}', options)
813
- command.request_representation = Google::Apis::GenomicsV1::Dataset::Representation
814
- command.request_object = dataset_object
815
- command.response_representation = Google::Apis::GenomicsV1::Dataset::Representation
816
- command.response_class = Google::Apis::GenomicsV1::Dataset
817
- command.params['datasetId'] = dataset_id unless dataset_id.nil?
818
- command.query['updateMask'] = update_mask unless update_mask.nil?
819
- command.query['fields'] = fields unless fields.nil?
820
- command.query['quotaUser'] = quota_user unless quota_user.nil?
821
- execute_or_queue_command(command, &block)
822
- end
823
-
824
- # Sets the access control policy on the specified dataset. Replaces any
825
- # existing policy.
826
- # See <a href="/iam/docs/managing-policies#setting_a_policy">Setting a
827
- # Policy</a> for more information.
828
- # @param [String] resource
829
- # REQUIRED: The resource for which policy is being specified. Format is
830
- # `datasets/<dataset ID>`.
831
- # @param [Google::Apis::GenomicsV1::SetIamPolicyRequest] set_iam_policy_request_object
832
- # @param [String] fields
833
- # Selector specifying which fields to include in a partial response.
834
- # @param [String] quota_user
835
- # Available to use for quota purposes for server-side applications. Can be any
836
- # arbitrary string assigned to a user, but should not exceed 40 characters.
837
- # @param [Google::Apis::RequestOptions] options
838
- # Request-specific options
839
- #
840
- # @yield [result, err] Result & error if block supplied
841
- # @yieldparam result [Google::Apis::GenomicsV1::Policy] parsed result object
842
- # @yieldparam err [StandardError] error object if request failed
843
- #
844
- # @return [Google::Apis::GenomicsV1::Policy]
845
- #
846
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
847
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
848
- # @raise [Google::Apis::AuthorizationError] Authorization is required
849
- def set_dataset_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
850
- command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
851
- command.request_representation = Google::Apis::GenomicsV1::SetIamPolicyRequest::Representation
852
- command.request_object = set_iam_policy_request_object
853
- command.response_representation = Google::Apis::GenomicsV1::Policy::Representation
854
- command.response_class = Google::Apis::GenomicsV1::Policy
855
- command.params['resource'] = resource unless resource.nil?
856
- command.query['fields'] = fields unless fields.nil?
857
- command.query['quotaUser'] = quota_user unless quota_user.nil?
858
- execute_or_queue_command(command, &block)
859
- end
860
-
861
- # Returns permissions that a caller has on the specified resource.
862
- # See <a href="/iam/docs/managing-policies#testing_permissions">Testing
863
- # Permissions</a> for more information.
864
- # @param [String] resource
865
- # REQUIRED: The resource for which policy is being specified. Format is
866
- # `datasets/<dataset ID>`.
867
- # @param [Google::Apis::GenomicsV1::TestIamPermissionsRequest] test_iam_permissions_request_object
868
- # @param [String] fields
869
- # Selector specifying which fields to include in a partial response.
870
- # @param [String] quota_user
871
- # Available to use for quota purposes for server-side applications. Can be any
872
- # arbitrary string assigned to a user, but should not exceed 40 characters.
873
- # @param [Google::Apis::RequestOptions] options
874
- # Request-specific options
875
- #
876
- # @yield [result, err] Result & error if block supplied
877
- # @yieldparam result [Google::Apis::GenomicsV1::TestIamPermissionsResponse] parsed result object
878
- # @yieldparam err [StandardError] error object if request failed
879
- #
880
- # @return [Google::Apis::GenomicsV1::TestIamPermissionsResponse]
881
- #
882
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
883
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
884
- # @raise [Google::Apis::AuthorizationError] Authorization is required
885
- def test_dataset_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
886
- command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
887
- command.request_representation = Google::Apis::GenomicsV1::TestIamPermissionsRequest::Representation
888
- command.request_object = test_iam_permissions_request_object
889
- command.response_representation = Google::Apis::GenomicsV1::TestIamPermissionsResponse::Representation
890
- command.response_class = Google::Apis::GenomicsV1::TestIamPermissionsResponse
891
- command.params['resource'] = resource unless resource.nil?
892
- command.query['fields'] = fields unless fields.nil?
893
- command.query['quotaUser'] = quota_user unless quota_user.nil?
894
- execute_or_queue_command(command, &block)
895
- end
896
-
897
- # Undeletes a dataset by restoring a dataset which was deleted via this API.
898
- # This operation is only possible for a week after the deletion occurred.
899
- # @param [String] dataset_id
900
- # The ID of the dataset to be undeleted.
901
- # @param [Google::Apis::GenomicsV1::UndeleteDatasetRequest] undelete_dataset_request_object
902
- # @param [String] fields
903
- # Selector specifying which fields to include in a partial response.
904
- # @param [String] quota_user
905
- # Available to use for quota purposes for server-side applications. Can be any
906
- # arbitrary string assigned to a user, but should not exceed 40 characters.
907
- # @param [Google::Apis::RequestOptions] options
908
- # Request-specific options
909
- #
910
- # @yield [result, err] Result & error if block supplied
911
- # @yieldparam result [Google::Apis::GenomicsV1::Dataset] parsed result object
912
- # @yieldparam err [StandardError] error object if request failed
913
- #
914
- # @return [Google::Apis::GenomicsV1::Dataset]
915
- #
916
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
917
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
918
- # @raise [Google::Apis::AuthorizationError] Authorization is required
919
- def undelete_dataset(dataset_id, undelete_dataset_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
920
- command = make_simple_command(:post, 'v1/datasets/{datasetId}:undelete', options)
921
- command.request_representation = Google::Apis::GenomicsV1::UndeleteDatasetRequest::Representation
922
- command.request_object = undelete_dataset_request_object
923
- command.response_representation = Google::Apis::GenomicsV1::Dataset::Representation
924
- command.response_class = Google::Apis::GenomicsV1::Dataset
925
- command.params['datasetId'] = dataset_id unless dataset_id.nil?
926
- command.query['fields'] = fields unless fields.nil?
927
- command.query['quotaUser'] = quota_user unless quota_user.nil?
928
- execute_or_queue_command(command, &block)
929
- end
930
-
931
- # Starts asynchronous cancellation on a long-running operation.
932
- # The server makes a best effort to cancel the operation, but success is not
933
- # guaranteed. Clients may use Operations.GetOperation
934
- # or Operations.ListOperations
935
- # to check whether the cancellation succeeded or the operation completed
936
- # despite cancellation.
937
- # Authorization requires the following [Google IAM](https://cloud.google.com/iam)
938
- # permission&#58;
939
- # * `genomics.operations.cancel`
940
- # @param [String] name
941
- # The name of the operation resource to be cancelled.
942
- # @param [Google::Apis::GenomicsV1::CancelOperationRequest] cancel_operation_request_object
943
- # @param [String] fields
944
- # Selector specifying which fields to include in a partial response.
945
- # @param [String] quota_user
946
- # Available to use for quota purposes for server-side applications. Can be any
947
- # arbitrary string assigned to a user, but should not exceed 40 characters.
948
- # @param [Google::Apis::RequestOptions] options
949
- # Request-specific options
950
- #
951
- # @yield [result, err] Result & error if block supplied
952
- # @yieldparam result [Google::Apis::GenomicsV1::Empty] parsed result object
953
- # @yieldparam err [StandardError] error object if request failed
954
- #
955
- # @return [Google::Apis::GenomicsV1::Empty]
956
- #
957
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
958
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
959
- # @raise [Google::Apis::AuthorizationError] Authorization is required
960
- def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
961
- command = make_simple_command(:post, 'v1/{+name}:cancel', options)
962
- command.request_representation = Google::Apis::GenomicsV1::CancelOperationRequest::Representation
963
- command.request_object = cancel_operation_request_object
964
- command.response_representation = Google::Apis::GenomicsV1::Empty::Representation
965
- command.response_class = Google::Apis::GenomicsV1::Empty
966
- command.params['name'] = name unless name.nil?
967
- command.query['fields'] = fields unless fields.nil?
968
- command.query['quotaUser'] = quota_user unless quota_user.nil?
969
- execute_or_queue_command(command, &block)
970
- end
971
-
972
- # Gets the latest state of a long-running operation.
973
- # Clients can use this method to poll the operation result at intervals as
974
- # recommended by the API service.
975
- # Authorization requires the following [Google IAM](https://cloud.google.com/iam)
976
- # permission&#58;
977
- # * `genomics.operations.get`
978
- # @param [String] name
979
- # The name of the operation resource.
980
- # @param [String] fields
981
- # Selector specifying which fields to include in a partial response.
982
- # @param [String] quota_user
983
- # Available to use for quota purposes for server-side applications. Can be any
984
- # arbitrary string assigned to a user, but should not exceed 40 characters.
985
- # @param [Google::Apis::RequestOptions] options
986
- # Request-specific options
987
- #
988
- # @yield [result, err] Result & error if block supplied
989
- # @yieldparam result [Google::Apis::GenomicsV1::Operation] parsed result object
990
- # @yieldparam err [StandardError] error object if request failed
991
- #
992
- # @return [Google::Apis::GenomicsV1::Operation]
993
- #
994
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
995
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
996
- # @raise [Google::Apis::AuthorizationError] Authorization is required
997
- def get_operation(name, fields: nil, quota_user: nil, options: nil, &block)
998
- command = make_simple_command(:get, 'v1/{+name}', options)
999
- command.response_representation = Google::Apis::GenomicsV1::Operation::Representation
1000
- command.response_class = Google::Apis::GenomicsV1::Operation
1001
- command.params['name'] = name unless name.nil?
1002
- command.query['fields'] = fields unless fields.nil?
1003
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1004
- execute_or_queue_command(command, &block)
1005
- end
1006
-
1007
- # Lists operations that match the specified filter in the request.
1008
- # Authorization requires the following [Google IAM](https://cloud.google.com/iam)
1009
- # permission&#58;
1010
- # * `genomics.operations.list`
1011
- # @param [String] name
1012
- # The name of the operation's parent resource.
1013
- # @param [String] filter
1014
- # A string for filtering Operations.
1015
- # In v2alpha1, the following filter fields are supported&#58;
1016
- # * createTime&#58; The time this job was created
1017
- # * events&#58; The set of event (names) that have occurred while running
1018
- # the pipeline. The &#58; operator can be used to determine if a
1019
- # particular event has occurred.
1020
- # * error&#58; If the pipeline is running, this value is NULL. Once the
1021
- # pipeline finishes, the value is the standard Google error code.
1022
- # * labels.key or labels."key with space" where key is a label key.
1023
- # * done&#58; If the pipeline is running, this value is false. Once the
1024
- # pipeline finishes, the value is true.
1025
- # In v1 and v1alpha2, the following filter fields are supported&#58;
1026
- # * projectId&#58; Required. Corresponds to
1027
- # OperationMetadata.projectId.
1028
- # * createTime&#58; The time this job was created, in seconds from the
1029
- # [epoch](http://en.wikipedia.org/wiki/Unix_time). Can use `>=` and/or `<=`
1030
- # operators.
1031
- # * status&#58; Can be `RUNNING`, `SUCCESS`, `FAILURE`, or `CANCELED`. Only
1032
- # one status may be specified.
1033
- # * labels.key where key is a label key.
1034
- # Examples&#58;
1035
- # * `projectId = my-project AND createTime >= 1432140000`
1036
- # * `projectId = my-project AND createTime >= 1432140000 AND createTime <=
1037
- # 1432150000 AND status = RUNNING`
1038
- # * `projectId = my-project AND labels.color = *`
1039
- # * `projectId = my-project AND labels.color = red`
1040
- # @param [Fixnum] page_size
1041
- # The maximum number of results to return. If unspecified, defaults to
1042
- # 256. The maximum value is 2048.
1043
- # @param [String] page_token
1044
- # The standard list page token.
1045
- # @param [String] fields
1046
- # Selector specifying which fields to include in a partial response.
1047
- # @param [String] quota_user
1048
- # Available to use for quota purposes for server-side applications. Can be any
1049
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1050
- # @param [Google::Apis::RequestOptions] options
1051
- # Request-specific options
1052
- #
1053
- # @yield [result, err] Result & error if block supplied
1054
- # @yieldparam result [Google::Apis::GenomicsV1::ListOperationsResponse] parsed result object
1055
- # @yieldparam err [StandardError] error object if request failed
1056
- #
1057
- # @return [Google::Apis::GenomicsV1::ListOperationsResponse]
1058
- #
1059
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1060
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1061
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1062
- def list_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1063
- command = make_simple_command(:get, 'v1/{+name}', options)
1064
- command.response_representation = Google::Apis::GenomicsV1::ListOperationsResponse::Representation
1065
- command.response_class = Google::Apis::GenomicsV1::ListOperationsResponse
1066
- command.params['name'] = name unless name.nil?
1067
- command.query['filter'] = filter unless filter.nil?
1068
- command.query['pageSize'] = page_size unless page_size.nil?
1069
- command.query['pageToken'] = page_token unless page_token.nil?
1070
- command.query['fields'] = fields unless fields.nil?
1071
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1072
- execute_or_queue_command(command, &block)
1073
- end
1074
-
1075
- # Deletes a read group set.
1076
- # @param [String] read_group_set_id
1077
- # The ID of the read group set to be deleted. The caller must have WRITE
1078
- # permissions to the dataset associated with this read group set.
1079
- # @param [String] fields
1080
- # Selector specifying which fields to include in a partial response.
1081
- # @param [String] quota_user
1082
- # Available to use for quota purposes for server-side applications. Can be any
1083
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1084
- # @param [Google::Apis::RequestOptions] options
1085
- # Request-specific options
1086
- #
1087
- # @yield [result, err] Result & error if block supplied
1088
- # @yieldparam result [Google::Apis::GenomicsV1::Empty] parsed result object
1089
- # @yieldparam err [StandardError] error object if request failed
1090
- #
1091
- # @return [Google::Apis::GenomicsV1::Empty]
1092
- #
1093
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1094
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1095
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1096
- def delete_read_group_set(read_group_set_id, fields: nil, quota_user: nil, options: nil, &block)
1097
- command = make_simple_command(:delete, 'v1/readgroupsets/{readGroupSetId}', options)
1098
- command.response_representation = Google::Apis::GenomicsV1::Empty::Representation
1099
- command.response_class = Google::Apis::GenomicsV1::Empty
1100
- command.params['readGroupSetId'] = read_group_set_id unless read_group_set_id.nil?
1101
- command.query['fields'] = fields unless fields.nil?
1102
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1103
- execute_or_queue_command(command, &block)
1104
- end
1105
-
1106
- # Exports a read group set to a BAM file in Google Cloud Storage.
1107
- # Note that currently there may be some differences between exported BAM
1108
- # files and the original BAM file at the time of import. See
1109
- # ImportReadGroupSets
1110
- # for caveats.
1111
- # @param [String] read_group_set_id
1112
- # Required. The ID of the read group set to export. The caller must have
1113
- # READ access to this read group set.
1114
- # @param [Google::Apis::GenomicsV1::ExportReadGroupSetRequest] export_read_group_set_request_object
1115
- # @param [String] fields
1116
- # Selector specifying which fields to include in a partial response.
1117
- # @param [String] quota_user
1118
- # Available to use for quota purposes for server-side applications. Can be any
1119
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1120
- # @param [Google::Apis::RequestOptions] options
1121
- # Request-specific options
1122
- #
1123
- # @yield [result, err] Result & error if block supplied
1124
- # @yieldparam result [Google::Apis::GenomicsV1::Operation] parsed result object
1125
- # @yieldparam err [StandardError] error object if request failed
1126
- #
1127
- # @return [Google::Apis::GenomicsV1::Operation]
1128
- #
1129
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1130
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1131
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1132
- def export_read_group_sets(read_group_set_id, export_read_group_set_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1133
- command = make_simple_command(:post, 'v1/readgroupsets/{readGroupSetId}:export', options)
1134
- command.request_representation = Google::Apis::GenomicsV1::ExportReadGroupSetRequest::Representation
1135
- command.request_object = export_read_group_set_request_object
1136
- command.response_representation = Google::Apis::GenomicsV1::Operation::Representation
1137
- command.response_class = Google::Apis::GenomicsV1::Operation
1138
- command.params['readGroupSetId'] = read_group_set_id unless read_group_set_id.nil?
1139
- command.query['fields'] = fields unless fields.nil?
1140
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1141
- execute_or_queue_command(command, &block)
1142
- end
1143
-
1144
- # Gets a read group set by ID.
1145
- # @param [String] read_group_set_id
1146
- # The ID of the read group set.
1147
- # @param [String] fields
1148
- # Selector specifying which fields to include in a partial response.
1149
- # @param [String] quota_user
1150
- # Available to use for quota purposes for server-side applications. Can be any
1151
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1152
- # @param [Google::Apis::RequestOptions] options
1153
- # Request-specific options
1154
- #
1155
- # @yield [result, err] Result & error if block supplied
1156
- # @yieldparam result [Google::Apis::GenomicsV1::ReadGroupSet] parsed result object
1157
- # @yieldparam err [StandardError] error object if request failed
1158
- #
1159
- # @return [Google::Apis::GenomicsV1::ReadGroupSet]
1160
- #
1161
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1162
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1163
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1164
- def get_read_group_set(read_group_set_id, fields: nil, quota_user: nil, options: nil, &block)
1165
- command = make_simple_command(:get, 'v1/readgroupsets/{readGroupSetId}', options)
1166
- command.response_representation = Google::Apis::GenomicsV1::ReadGroupSet::Representation
1167
- command.response_class = Google::Apis::GenomicsV1::ReadGroupSet
1168
- command.params['readGroupSetId'] = read_group_set_id unless read_group_set_id.nil?
1169
- command.query['fields'] = fields unless fields.nil?
1170
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1171
- execute_or_queue_command(command, &block)
1172
- end
1173
-
1174
- # Creates read group sets by asynchronously importing the provided
1175
- # information.
1176
- # The caller must have WRITE permissions to the dataset.
1177
- # ## Notes on [BAM](https://samtools.github.io/hts-specs/SAMv1.pdf) import
1178
- # - Tags will be converted to strings - tag types are not preserved
1179
- # - Comments (`@CO`) in the input file header will not be preserved
1180
- # - Original header order of references (`@SQ`) will not be preserved
1181
- # - Any reverse stranded unmapped reads will be reverse complemented, and
1182
- # their qualities (also the "BQ" and "OQ" tags, if any) will be reversed
1183
- # - Unmapped reads will be stripped of positional information (reference name
1184
- # and position)
1185
- # @param [Google::Apis::GenomicsV1::ImportReadGroupSetsRequest] import_read_group_sets_request_object
1186
- # @param [String] fields
1187
- # Selector specifying which fields to include in a partial response.
1188
- # @param [String] quota_user
1189
- # Available to use for quota purposes for server-side applications. Can be any
1190
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1191
- # @param [Google::Apis::RequestOptions] options
1192
- # Request-specific options
1193
- #
1194
- # @yield [result, err] Result & error if block supplied
1195
- # @yieldparam result [Google::Apis::GenomicsV1::Operation] parsed result object
1196
- # @yieldparam err [StandardError] error object if request failed
1197
- #
1198
- # @return [Google::Apis::GenomicsV1::Operation]
1199
- #
1200
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1201
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1202
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1203
- def import_read_group_sets(import_read_group_sets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1204
- command = make_simple_command(:post, 'v1/readgroupsets:import', options)
1205
- command.request_representation = Google::Apis::GenomicsV1::ImportReadGroupSetsRequest::Representation
1206
- command.request_object = import_read_group_sets_request_object
1207
- command.response_representation = Google::Apis::GenomicsV1::Operation::Representation
1208
- command.response_class = Google::Apis::GenomicsV1::Operation
1209
- command.query['fields'] = fields unless fields.nil?
1210
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1211
- execute_or_queue_command(command, &block)
1212
- end
1213
-
1214
- # Updates a read group set.
1215
- # This method supports patch semantics.
1216
- # @param [String] read_group_set_id
1217
- # The ID of the read group set to be updated. The caller must have WRITE
1218
- # permissions to the dataset associated with this read group set.
1219
- # @param [Google::Apis::GenomicsV1::ReadGroupSet] read_group_set_object
1220
- # @param [String] update_mask
1221
- # An optional mask specifying which fields to update. Supported fields:
1222
- # * name.
1223
- # * referenceSetId.
1224
- # Leaving `updateMask` unset is equivalent to specifying all mutable
1225
- # fields.
1226
- # @param [String] fields
1227
- # Selector specifying which fields to include in a partial response.
1228
- # @param [String] quota_user
1229
- # Available to use for quota purposes for server-side applications. Can be any
1230
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1231
- # @param [Google::Apis::RequestOptions] options
1232
- # Request-specific options
1233
- #
1234
- # @yield [result, err] Result & error if block supplied
1235
- # @yieldparam result [Google::Apis::GenomicsV1::ReadGroupSet] parsed result object
1236
- # @yieldparam err [StandardError] error object if request failed
1237
- #
1238
- # @return [Google::Apis::GenomicsV1::ReadGroupSet]
1239
- #
1240
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1241
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1242
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1243
- def patch_read_group_set(read_group_set_id, read_group_set_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1244
- command = make_simple_command(:patch, 'v1/readgroupsets/{readGroupSetId}', options)
1245
- command.request_representation = Google::Apis::GenomicsV1::ReadGroupSet::Representation
1246
- command.request_object = read_group_set_object
1247
- command.response_representation = Google::Apis::GenomicsV1::ReadGroupSet::Representation
1248
- command.response_class = Google::Apis::GenomicsV1::ReadGroupSet
1249
- command.params['readGroupSetId'] = read_group_set_id unless read_group_set_id.nil?
1250
- command.query['updateMask'] = update_mask unless update_mask.nil?
1251
- command.query['fields'] = fields unless fields.nil?
1252
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1253
- execute_or_queue_command(command, &block)
1254
- end
1255
-
1256
- # Searches for read group sets matching the criteria.
1257
- # Implements
1258
- # [GlobalAllianceApi.searchReadGroupSets](https://github.com/ga4gh/schemas/blob/
1259
- # v0.5.1/src/main/resources/avro/readmethods.avdl#L135).
1260
- # @param [Google::Apis::GenomicsV1::SearchReadGroupSetsRequest] search_read_group_sets_request_object
1261
- # @param [String] fields
1262
- # Selector specifying which fields to include in a partial response.
1263
- # @param [String] quota_user
1264
- # Available to use for quota purposes for server-side applications. Can be any
1265
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1266
- # @param [Google::Apis::RequestOptions] options
1267
- # Request-specific options
1268
- #
1269
- # @yield [result, err] Result & error if block supplied
1270
- # @yieldparam result [Google::Apis::GenomicsV1::SearchReadGroupSetsResponse] parsed result object
1271
- # @yieldparam err [StandardError] error object if request failed
1272
- #
1273
- # @return [Google::Apis::GenomicsV1::SearchReadGroupSetsResponse]
1274
- #
1275
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1276
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1277
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1278
- def search_read_group_sets(search_read_group_sets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1279
- command = make_simple_command(:post, 'v1/readgroupsets/search', options)
1280
- command.request_representation = Google::Apis::GenomicsV1::SearchReadGroupSetsRequest::Representation
1281
- command.request_object = search_read_group_sets_request_object
1282
- command.response_representation = Google::Apis::GenomicsV1::SearchReadGroupSetsResponse::Representation
1283
- command.response_class = Google::Apis::GenomicsV1::SearchReadGroupSetsResponse
1284
- command.query['fields'] = fields unless fields.nil?
1285
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1286
- execute_or_queue_command(command, &block)
1287
- end
1288
-
1289
- # Lists fixed width coverage buckets for a read group set, each of which
1290
- # correspond to a range of a reference sequence. Each bucket summarizes
1291
- # coverage information across its corresponding genomic range.
1292
- # Coverage is defined as the number of reads which are aligned to a given
1293
- # base in the reference sequence. Coverage buckets are available at several
1294
- # precomputed bucket widths, enabling retrieval of various coverage 'zoom
1295
- # levels'. The caller must have READ permissions for the target read group
1296
- # set.
1297
- # @param [String] read_group_set_id
1298
- # Required. The ID of the read group set over which coverage is requested.
1299
- # @param [Fixnum] end_
1300
- # The end position of the range on the reference, 0-based exclusive. If
1301
- # specified, `referenceName` must also be specified. If unset or 0, defaults
1302
- # to the length of the reference.
1303
- # @param [Fixnum] page_size
1304
- # The maximum number of results to return in a single page. If unspecified,
1305
- # defaults to 1024. The maximum value is 2048.
1306
- # @param [String] page_token
1307
- # The continuation token, which is used to page through large result sets.
1308
- # To get the next page of results, set this parameter to the value of
1309
- # `nextPageToken` from the previous response.
1310
- # @param [String] reference_name
1311
- # The name of the reference to query, within the reference set associated
1312
- # with this query. Optional.
1313
- # @param [Fixnum] start
1314
- # The start position of the range on the reference, 0-based inclusive. If
1315
- # specified, `referenceName` must also be specified. Defaults to 0.
1316
- # @param [Fixnum] target_bucket_width
1317
- # The desired width of each reported coverage bucket in base pairs. This
1318
- # will be rounded down to the nearest precomputed bucket width; the value
1319
- # of which is returned as `bucketWidth` in the response. Defaults
1320
- # to infinity (each bucket spans an entire reference sequence) or the length
1321
- # of the target range, if specified. The smallest precomputed
1322
- # `bucketWidth` is currently 2048 base pairs; this is subject to
1323
- # change.
1324
- # @param [String] fields
1325
- # Selector specifying which fields to include in a partial response.
1326
- # @param [String] quota_user
1327
- # Available to use for quota purposes for server-side applications. Can be any
1328
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1329
- # @param [Google::Apis::RequestOptions] options
1330
- # Request-specific options
1331
- #
1332
- # @yield [result, err] Result & error if block supplied
1333
- # @yieldparam result [Google::Apis::GenomicsV1::ListCoverageBucketsResponse] parsed result object
1334
- # @yieldparam err [StandardError] error object if request failed
1335
- #
1336
- # @return [Google::Apis::GenomicsV1::ListCoverageBucketsResponse]
1337
- #
1338
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1339
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1340
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1341
- def list_coverage_buckets(read_group_set_id, end_: nil, page_size: nil, page_token: nil, reference_name: nil, start: nil, target_bucket_width: nil, fields: nil, quota_user: nil, options: nil, &block)
1342
- command = make_simple_command(:get, 'v1/readgroupsets/{readGroupSetId}/coveragebuckets', options)
1343
- command.response_representation = Google::Apis::GenomicsV1::ListCoverageBucketsResponse::Representation
1344
- command.response_class = Google::Apis::GenomicsV1::ListCoverageBucketsResponse
1345
- command.params['readGroupSetId'] = read_group_set_id unless read_group_set_id.nil?
1346
- command.query['end'] = end_ unless end_.nil?
1347
- command.query['pageSize'] = page_size unless page_size.nil?
1348
- command.query['pageToken'] = page_token unless page_token.nil?
1349
- command.query['referenceName'] = reference_name unless reference_name.nil?
1350
- command.query['start'] = start unless start.nil?
1351
- command.query['targetBucketWidth'] = target_bucket_width unless target_bucket_width.nil?
1352
- command.query['fields'] = fields unless fields.nil?
1353
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1354
- execute_or_queue_command(command, &block)
1355
- end
1356
-
1357
- # Gets a list of reads for one or more read group sets.
1358
- # Reads search operates over a genomic coordinate space of reference sequence
1359
- # & position defined over the reference sequences to which the requested
1360
- # read group sets are aligned.
1361
- # If a target positional range is specified, search returns all reads whose
1362
- # alignment to the reference genome overlap the range. A query which
1363
- # specifies only read group set IDs yields all reads in those read group
1364
- # sets, including unmapped reads.
1365
- # All reads returned (including reads on subsequent pages) are ordered by
1366
- # genomic coordinate (by reference sequence, then position). Reads with
1367
- # equivalent genomic coordinates are returned in an unspecified order. This
1368
- # order is consistent, such that two queries for the same content (regardless
1369
- # of page size) yield reads in the same order across their respective streams
1370
- # of paginated responses.
1371
- # Implements
1372
- # [GlobalAllianceApi.searchReads](https://github.com/ga4gh/schemas/blob/v0.5.1/
1373
- # src/main/resources/avro/readmethods.avdl#L85).
1374
- # @param [Google::Apis::GenomicsV1::SearchReadsRequest] search_reads_request_object
1375
- # @param [String] fields
1376
- # Selector specifying which fields to include in a partial response.
1377
- # @param [String] quota_user
1378
- # Available to use for quota purposes for server-side applications. Can be any
1379
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1380
- # @param [Google::Apis::RequestOptions] options
1381
- # Request-specific options
1382
- #
1383
- # @yield [result, err] Result & error if block supplied
1384
- # @yieldparam result [Google::Apis::GenomicsV1::SearchReadsResponse] parsed result object
1385
- # @yieldparam err [StandardError] error object if request failed
1386
- #
1387
- # @return [Google::Apis::GenomicsV1::SearchReadsResponse]
1388
- #
1389
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1390
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1391
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1392
- def search_reads(search_reads_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1393
- command = make_simple_command(:post, 'v1/reads/search', options)
1394
- command.request_representation = Google::Apis::GenomicsV1::SearchReadsRequest::Representation
1395
- command.request_object = search_reads_request_object
1396
- command.response_representation = Google::Apis::GenomicsV1::SearchReadsResponse::Representation
1397
- command.response_class = Google::Apis::GenomicsV1::SearchReadsResponse
1398
- command.query['fields'] = fields unless fields.nil?
1399
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1400
- execute_or_queue_command(command, &block)
1401
- end
1402
-
1403
- # Gets a reference.
1404
- # Implements
1405
- # [GlobalAllianceApi.getReference](https://github.com/ga4gh/schemas/blob/v0.5.1/
1406
- # src/main/resources/avro/referencemethods.avdl#L158).
1407
- # @param [String] reference_id
1408
- # The ID of the reference.
1409
- # @param [String] fields
1410
- # Selector specifying which fields to include in a partial response.
1411
- # @param [String] quota_user
1412
- # Available to use for quota purposes for server-side applications. Can be any
1413
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1414
- # @param [Google::Apis::RequestOptions] options
1415
- # Request-specific options
1416
- #
1417
- # @yield [result, err] Result & error if block supplied
1418
- # @yieldparam result [Google::Apis::GenomicsV1::Reference] parsed result object
1419
- # @yieldparam err [StandardError] error object if request failed
1420
- #
1421
- # @return [Google::Apis::GenomicsV1::Reference]
1422
- #
1423
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1424
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1425
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1426
- def get_reference(reference_id, fields: nil, quota_user: nil, options: nil, &block)
1427
- command = make_simple_command(:get, 'v1/references/{referenceId}', options)
1428
- command.response_representation = Google::Apis::GenomicsV1::Reference::Representation
1429
- command.response_class = Google::Apis::GenomicsV1::Reference
1430
- command.params['referenceId'] = reference_id unless reference_id.nil?
1431
- command.query['fields'] = fields unless fields.nil?
1432
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1433
- execute_or_queue_command(command, &block)
1434
- end
1435
-
1436
- # Searches for references which match the given criteria.
1437
- # Implements
1438
- # [GlobalAllianceApi.searchReferences](https://github.com/ga4gh/schemas/blob/v0.
1439
- # 5.1/src/main/resources/avro/referencemethods.avdl#L146).
1440
- # @param [Google::Apis::GenomicsV1::SearchReferencesRequest] search_references_request_object
1441
- # @param [String] fields
1442
- # Selector specifying which fields to include in a partial response.
1443
- # @param [String] quota_user
1444
- # Available to use for quota purposes for server-side applications. Can be any
1445
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1446
- # @param [Google::Apis::RequestOptions] options
1447
- # Request-specific options
1448
- #
1449
- # @yield [result, err] Result & error if block supplied
1450
- # @yieldparam result [Google::Apis::GenomicsV1::SearchReferencesResponse] parsed result object
1451
- # @yieldparam err [StandardError] error object if request failed
1452
- #
1453
- # @return [Google::Apis::GenomicsV1::SearchReferencesResponse]
1454
- #
1455
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1456
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1457
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1458
- def search_references(search_references_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1459
- command = make_simple_command(:post, 'v1/references/search', options)
1460
- command.request_representation = Google::Apis::GenomicsV1::SearchReferencesRequest::Representation
1461
- command.request_object = search_references_request_object
1462
- command.response_representation = Google::Apis::GenomicsV1::SearchReferencesResponse::Representation
1463
- command.response_class = Google::Apis::GenomicsV1::SearchReferencesResponse
1464
- command.query['fields'] = fields unless fields.nil?
1465
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1466
- execute_or_queue_command(command, &block)
1467
- end
1468
-
1469
- # Lists the bases in a reference, optionally restricted to a range.
1470
- # Implements
1471
- # [GlobalAllianceApi.getReferenceBases](https://github.com/ga4gh/schemas/blob/v0.
1472
- # 5.1/src/main/resources/avro/referencemethods.avdl#L221).
1473
- # @param [String] reference_id
1474
- # The ID of the reference.
1475
- # @param [Fixnum] end_position
1476
- # The end position (0-based, exclusive) of this query. Defaults to the length
1477
- # of this reference.
1478
- # @param [Fixnum] page_size
1479
- # The maximum number of bases to return in a single page. If unspecified,
1480
- # defaults to 200Kbp (kilo base pairs). The maximum value is 10Mbp (mega base
1481
- # pairs).
1482
- # @param [String] page_token
1483
- # The continuation token, which is used to page through large result sets.
1484
- # To get the next page of results, set this parameter to the value of
1485
- # `nextPageToken` from the previous response.
1486
- # @param [Fixnum] start_position
1487
- # The start position (0-based) of this query. Defaults to 0.
1488
- # @param [String] fields
1489
- # Selector specifying which fields to include in a partial response.
1490
- # @param [String] quota_user
1491
- # Available to use for quota purposes for server-side applications. Can be any
1492
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1493
- # @param [Google::Apis::RequestOptions] options
1494
- # Request-specific options
1495
- #
1496
- # @yield [result, err] Result & error if block supplied
1497
- # @yieldparam result [Google::Apis::GenomicsV1::ListBasesResponse] parsed result object
1498
- # @yieldparam err [StandardError] error object if request failed
1499
- #
1500
- # @return [Google::Apis::GenomicsV1::ListBasesResponse]
1501
- #
1502
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1503
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1504
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1505
- def list_reference_bases(reference_id, end_position: nil, page_size: nil, page_token: nil, start_position: nil, fields: nil, quota_user: nil, options: nil, &block)
1506
- command = make_simple_command(:get, 'v1/references/{referenceId}/bases', options)
1507
- command.response_representation = Google::Apis::GenomicsV1::ListBasesResponse::Representation
1508
- command.response_class = Google::Apis::GenomicsV1::ListBasesResponse
1509
- command.params['referenceId'] = reference_id unless reference_id.nil?
1510
- command.query['end'] = end_position unless end_position.nil?
1511
- command.query['pageSize'] = page_size unless page_size.nil?
1512
- command.query['pageToken'] = page_token unless page_token.nil?
1513
- command.query['start'] = start_position unless start_position.nil?
1514
- command.query['fields'] = fields unless fields.nil?
1515
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1516
- execute_or_queue_command(command, &block)
1517
- end
1518
-
1519
- # Gets a reference set.
1520
- # Implements
1521
- # [GlobalAllianceApi.getReferenceSet](https://github.com/ga4gh/schemas/blob/v0.5.
1522
- # 1/src/main/resources/avro/referencemethods.avdl#L83).
1523
- # @param [String] reference_set_id
1524
- # The ID of the reference set.
1525
- # @param [String] fields
1526
- # Selector specifying which fields to include in a partial response.
1527
- # @param [String] quota_user
1528
- # Available to use for quota purposes for server-side applications. Can be any
1529
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1530
- # @param [Google::Apis::RequestOptions] options
1531
- # Request-specific options
1532
- #
1533
- # @yield [result, err] Result & error if block supplied
1534
- # @yieldparam result [Google::Apis::GenomicsV1::ReferenceSet] parsed result object
1535
- # @yieldparam err [StandardError] error object if request failed
1536
- #
1537
- # @return [Google::Apis::GenomicsV1::ReferenceSet]
1538
- #
1539
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1540
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1541
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1542
- def get_reference_set(reference_set_id, fields: nil, quota_user: nil, options: nil, &block)
1543
- command = make_simple_command(:get, 'v1/referencesets/{referenceSetId}', options)
1544
- command.response_representation = Google::Apis::GenomicsV1::ReferenceSet::Representation
1545
- command.response_class = Google::Apis::GenomicsV1::ReferenceSet
1546
- command.params['referenceSetId'] = reference_set_id unless reference_set_id.nil?
1547
- command.query['fields'] = fields unless fields.nil?
1548
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1549
- execute_or_queue_command(command, &block)
1550
- end
1551
-
1552
- # Searches for reference sets which match the given criteria.
1553
- # Implements
1554
- # [GlobalAllianceApi.searchReferenceSets](https://github.com/ga4gh/schemas/blob/
1555
- # v0.5.1/src/main/resources/avro/referencemethods.avdl#L71)
1556
- # @param [Google::Apis::GenomicsV1::SearchReferenceSetsRequest] search_reference_sets_request_object
1557
- # @param [String] fields
1558
- # Selector specifying which fields to include in a partial response.
1559
- # @param [String] quota_user
1560
- # Available to use for quota purposes for server-side applications. Can be any
1561
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1562
- # @param [Google::Apis::RequestOptions] options
1563
- # Request-specific options
1564
- #
1565
- # @yield [result, err] Result & error if block supplied
1566
- # @yieldparam result [Google::Apis::GenomicsV1::SearchReferenceSetsResponse] parsed result object
1567
- # @yieldparam err [StandardError] error object if request failed
1568
- #
1569
- # @return [Google::Apis::GenomicsV1::SearchReferenceSetsResponse]
1570
- #
1571
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1572
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1573
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1574
- def search_reference_sets(search_reference_sets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1575
- command = make_simple_command(:post, 'v1/referencesets/search', options)
1576
- command.request_representation = Google::Apis::GenomicsV1::SearchReferenceSetsRequest::Representation
1577
- command.request_object = search_reference_sets_request_object
1578
- command.response_representation = Google::Apis::GenomicsV1::SearchReferenceSetsResponse::Representation
1579
- command.response_class = Google::Apis::GenomicsV1::SearchReferenceSetsResponse
1580
- command.query['fields'] = fields unless fields.nil?
1581
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1582
- execute_or_queue_command(command, &block)
1583
- end
1584
-
1585
- # Creates a new variant.
1586
- # @param [Google::Apis::GenomicsV1::Variant] variant_object
1587
- # @param [String] fields
1588
- # Selector specifying which fields to include in a partial response.
1589
- # @param [String] quota_user
1590
- # Available to use for quota purposes for server-side applications. Can be any
1591
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1592
- # @param [Google::Apis::RequestOptions] options
1593
- # Request-specific options
1594
- #
1595
- # @yield [result, err] Result & error if block supplied
1596
- # @yieldparam result [Google::Apis::GenomicsV1::Variant] parsed result object
1597
- # @yieldparam err [StandardError] error object if request failed
1598
- #
1599
- # @return [Google::Apis::GenomicsV1::Variant]
1600
- #
1601
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1602
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1603
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1604
- def create_variant(variant_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1605
- command = make_simple_command(:post, 'v1/variants', options)
1606
- command.request_representation = Google::Apis::GenomicsV1::Variant::Representation
1607
- command.request_object = variant_object
1608
- command.response_representation = Google::Apis::GenomicsV1::Variant::Representation
1609
- command.response_class = Google::Apis::GenomicsV1::Variant
1610
- command.query['fields'] = fields unless fields.nil?
1611
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1612
- execute_or_queue_command(command, &block)
1613
- end
1614
-
1615
- # Deletes a variant.
1616
- # @param [String] variant_id
1617
- # The ID of the variant to be deleted.
1618
- # @param [String] fields
1619
- # Selector specifying which fields to include in a partial response.
1620
- # @param [String] quota_user
1621
- # Available to use for quota purposes for server-side applications. Can be any
1622
- # arbitrary string assigned to a user, but should not exceed 40 characters.
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::GenomicsV1::Empty] parsed result object
1628
- # @yieldparam err [StandardError] error object if request failed
1629
- #
1630
- # @return [Google::Apis::GenomicsV1::Empty]
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 delete_variant(variant_id, fields: nil, quota_user: nil, options: nil, &block)
1636
- command = make_simple_command(:delete, 'v1/variants/{variantId}', options)
1637
- command.response_representation = Google::Apis::GenomicsV1::Empty::Representation
1638
- command.response_class = Google::Apis::GenomicsV1::Empty
1639
- command.params['variantId'] = variant_id unless variant_id.nil?
1640
- command.query['fields'] = fields unless fields.nil?
1641
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1642
- execute_or_queue_command(command, &block)
1643
- end
1644
-
1645
- # Gets a variant by ID.
1646
- # @param [String] variant_id
1647
- # The ID of the variant.
1648
- # @param [String] fields
1649
- # Selector specifying which fields to include in a partial response.
1650
- # @param [String] quota_user
1651
- # Available to use for quota purposes for server-side applications. Can be any
1652
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1653
- # @param [Google::Apis::RequestOptions] options
1654
- # Request-specific options
1655
- #
1656
- # @yield [result, err] Result & error if block supplied
1657
- # @yieldparam result [Google::Apis::GenomicsV1::Variant] parsed result object
1658
- # @yieldparam err [StandardError] error object if request failed
1659
- #
1660
- # @return [Google::Apis::GenomicsV1::Variant]
1661
- #
1662
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1663
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1664
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1665
- def get_variant(variant_id, fields: nil, quota_user: nil, options: nil, &block)
1666
- command = make_simple_command(:get, 'v1/variants/{variantId}', options)
1667
- command.response_representation = Google::Apis::GenomicsV1::Variant::Representation
1668
- command.response_class = Google::Apis::GenomicsV1::Variant
1669
- command.params['variantId'] = variant_id unless variant_id.nil?
1670
- command.query['fields'] = fields unless fields.nil?
1671
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1672
- execute_or_queue_command(command, &block)
1673
- end
1674
-
1675
- # Creates variant data by asynchronously importing the provided information.
1676
- # The variants for import will be merged with any existing variant that
1677
- # matches its reference sequence, start, end, reference bases, and
1678
- # alternative bases. If no such variant exists, a new one will be created.
1679
- # When variants are merged, the call information from the new variant
1680
- # is added to the existing variant, and Variant info fields are merged
1681
- # as specified in
1682
- # infoMergeConfig.
1683
- # As a special case, for single-sample VCF files, QUAL and FILTER fields will
1684
- # be moved to the call level; these are sometimes interpreted in a
1685
- # call-specific context.
1686
- # Imported VCF headers are appended to the metadata already in a variant set.
1687
- # @param [Google::Apis::GenomicsV1::ImportVariantsRequest] import_variants_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
- # @param [Google::Apis::RequestOptions] options
1694
- # Request-specific options
1695
- #
1696
- # @yield [result, err] Result & error if block supplied
1697
- # @yieldparam result [Google::Apis::GenomicsV1::Operation] parsed result object
1698
- # @yieldparam err [StandardError] error object if request failed
1699
- #
1700
- # @return [Google::Apis::GenomicsV1::Operation]
1701
- #
1702
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1703
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1704
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1705
- def import_variants(import_variants_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1706
- command = make_simple_command(:post, 'v1/variants:import', options)
1707
- command.request_representation = Google::Apis::GenomicsV1::ImportVariantsRequest::Representation
1708
- command.request_object = import_variants_request_object
1709
- command.response_representation = Google::Apis::GenomicsV1::Operation::Representation
1710
- command.response_class = Google::Apis::GenomicsV1::Operation
1711
- command.query['fields'] = fields unless fields.nil?
1712
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1713
- execute_or_queue_command(command, &block)
1714
- end
1715
-
1716
- # Merges the given variants with existing variants.
1717
- # Each variant will be
1718
- # merged with an existing variant that matches its reference sequence,
1719
- # start, end, reference bases, and alternative bases. If no such variant
1720
- # exists, a new one will be created.
1721
- # When variants are merged, the call information from the new variant
1722
- # is added to the existing variant. Variant info fields are merged as
1723
- # specified in the
1724
- # infoMergeConfig
1725
- # field of the MergeVariantsRequest.
1726
- # Please exercise caution when using this method! It is easy to introduce
1727
- # mistakes in existing variants and difficult to back out of them. For
1728
- # example,
1729
- # suppose you were trying to merge a new variant with an existing one and
1730
- # both
1731
- # variants contain calls that belong to callsets with the same callset ID.
1732
- # // Existing variant - irrelevant fields trimmed for clarity
1733
- # `
1734
- # "variantSetId": "10473108253681171589",
1735
- # "referenceName": "1",
1736
- # "start": "10582",
1737
- # "referenceBases": "G",
1738
- # "alternateBases": [
1739
- # "A"
1740
- # ],
1741
- # "calls": [
1742
- # `
1743
- # "callSetId": "10473108253681171589-0",
1744
- # "callSetName": "CALLSET0",
1745
- # "genotype": [
1746
- # 0,
1747
- # 1
1748
- # ],
1749
- # `
1750
- # ]
1751
- # `
1752
- # // New variant with conflicting call information
1753
- # `
1754
- # "variantSetId": "10473108253681171589",
1755
- # "referenceName": "1",
1756
- # "start": "10582",
1757
- # "referenceBases": "G",
1758
- # "alternateBases": [
1759
- # "A"
1760
- # ],
1761
- # "calls": [
1762
- # `
1763
- # "callSetId": "10473108253681171589-0",
1764
- # "callSetName": "CALLSET0",
1765
- # "genotype": [
1766
- # 1,
1767
- # 1
1768
- # ],
1769
- # `
1770
- # ]
1771
- # `
1772
- # The resulting merged variant would overwrite the existing calls with those
1773
- # from the new variant:
1774
- # `
1775
- # "variantSetId": "10473108253681171589",
1776
- # "referenceName": "1",
1777
- # "start": "10582",
1778
- # "referenceBases": "G",
1779
- # "alternateBases": [
1780
- # "A"
1781
- # ],
1782
- # "calls": [
1783
- # `
1784
- # "callSetId": "10473108253681171589-0",
1785
- # "callSetName": "CALLSET0",
1786
- # "genotype": [
1787
- # 1,
1788
- # 1
1789
- # ],
1790
- # `
1791
- # ]
1792
- # `
1793
- # This may be the desired outcome, but it is up to the user to determine if
1794
- # if that is indeed the case.
1795
- # @param [Google::Apis::GenomicsV1::MergeVariantsRequest] merge_variants_request_object
1796
- # @param [String] fields
1797
- # Selector specifying which fields to include in a partial response.
1798
- # @param [String] quota_user
1799
- # Available to use for quota purposes for server-side applications. Can be any
1800
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1801
- # @param [Google::Apis::RequestOptions] options
1802
- # Request-specific options
1803
- #
1804
- # @yield [result, err] Result & error if block supplied
1805
- # @yieldparam result [Google::Apis::GenomicsV1::Empty] parsed result object
1806
- # @yieldparam err [StandardError] error object if request failed
1807
- #
1808
- # @return [Google::Apis::GenomicsV1::Empty]
1809
- #
1810
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1811
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1812
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1813
- def merge_variants(merge_variants_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1814
- command = make_simple_command(:post, 'v1/variants:merge', options)
1815
- command.request_representation = Google::Apis::GenomicsV1::MergeVariantsRequest::Representation
1816
- command.request_object = merge_variants_request_object
1817
- command.response_representation = Google::Apis::GenomicsV1::Empty::Representation
1818
- command.response_class = Google::Apis::GenomicsV1::Empty
1819
- command.query['fields'] = fields unless fields.nil?
1820
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1821
- execute_or_queue_command(command, &block)
1822
- end
1823
-
1824
- # Updates a variant.
1825
- # This method supports patch semantics. Returns the modified variant without
1826
- # its calls.
1827
- # @param [String] variant_id
1828
- # The ID of the variant to be updated.
1829
- # @param [Google::Apis::GenomicsV1::Variant] variant_object
1830
- # @param [String] update_mask
1831
- # An optional mask specifying which fields to update. At this time, mutable
1832
- # fields are names and
1833
- # info. Acceptable values are "names" and
1834
- # "info". If unspecified, all mutable fields will be updated.
1835
- # @param [String] fields
1836
- # Selector specifying which fields to include in a partial response.
1837
- # @param [String] quota_user
1838
- # Available to use for quota purposes for server-side applications. Can be any
1839
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1840
- # @param [Google::Apis::RequestOptions] options
1841
- # Request-specific options
1842
- #
1843
- # @yield [result, err] Result & error if block supplied
1844
- # @yieldparam result [Google::Apis::GenomicsV1::Variant] parsed result object
1845
- # @yieldparam err [StandardError] error object if request failed
1846
- #
1847
- # @return [Google::Apis::GenomicsV1::Variant]
1848
- #
1849
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1850
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1851
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1852
- def patch_variant(variant_id, variant_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1853
- command = make_simple_command(:patch, 'v1/variants/{variantId}', options)
1854
- command.request_representation = Google::Apis::GenomicsV1::Variant::Representation
1855
- command.request_object = variant_object
1856
- command.response_representation = Google::Apis::GenomicsV1::Variant::Representation
1857
- command.response_class = Google::Apis::GenomicsV1::Variant
1858
- command.params['variantId'] = variant_id unless variant_id.nil?
1859
- command.query['updateMask'] = update_mask unless update_mask.nil?
1860
- command.query['fields'] = fields unless fields.nil?
1861
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1862
- execute_or_queue_command(command, &block)
1863
- end
1864
-
1865
- # Gets a list of variants matching the criteria.
1866
- # Implements
1867
- # [GlobalAllianceApi.searchVariants](https://github.com/ga4gh/schemas/blob/v0.5.
1868
- # 1/src/main/resources/avro/variantmethods.avdl#L126).
1869
- # @param [Google::Apis::GenomicsV1::SearchVariantsRequest] search_variants_request_object
1870
- # @param [String] fields
1871
- # Selector specifying which fields to include in a partial response.
1872
- # @param [String] quota_user
1873
- # Available to use for quota purposes for server-side applications. Can be any
1874
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1875
- # @param [Google::Apis::RequestOptions] options
1876
- # Request-specific options
1877
- #
1878
- # @yield [result, err] Result & error if block supplied
1879
- # @yieldparam result [Google::Apis::GenomicsV1::SearchVariantsResponse] parsed result object
1880
- # @yieldparam err [StandardError] error object if request failed
1881
- #
1882
- # @return [Google::Apis::GenomicsV1::SearchVariantsResponse]
1883
- #
1884
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1885
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1886
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1887
- def search_variants(search_variants_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1888
- command = make_simple_command(:post, 'v1/variants/search', options)
1889
- command.request_representation = Google::Apis::GenomicsV1::SearchVariantsRequest::Representation
1890
- command.request_object = search_variants_request_object
1891
- command.response_representation = Google::Apis::GenomicsV1::SearchVariantsResponse::Representation
1892
- command.response_class = Google::Apis::GenomicsV1::SearchVariantsResponse
1893
- command.query['fields'] = fields unless fields.nil?
1894
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1895
- execute_or_queue_command(command, &block)
1896
- end
1897
-
1898
- # Creates a new variant set.
1899
- # The provided variant set must have a valid `datasetId` set - all other
1900
- # fields are optional. Note that the `id` field will be ignored, as this is
1901
- # assigned by the server.
1902
- # @param [Google::Apis::GenomicsV1::VariantSet] variant_set_object
1903
- # @param [String] fields
1904
- # Selector specifying which fields to include in a partial response.
1905
- # @param [String] quota_user
1906
- # Available to use for quota purposes for server-side applications. Can be any
1907
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1908
- # @param [Google::Apis::RequestOptions] options
1909
- # Request-specific options
1910
- #
1911
- # @yield [result, err] Result & error if block supplied
1912
- # @yieldparam result [Google::Apis::GenomicsV1::VariantSet] parsed result object
1913
- # @yieldparam err [StandardError] error object if request failed
1914
- #
1915
- # @return [Google::Apis::GenomicsV1::VariantSet]
1916
- #
1917
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1918
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1919
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1920
- def create_variantset(variant_set_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1921
- command = make_simple_command(:post, 'v1/variantsets', options)
1922
- command.request_representation = Google::Apis::GenomicsV1::VariantSet::Representation
1923
- command.request_object = variant_set_object
1924
- command.response_representation = Google::Apis::GenomicsV1::VariantSet::Representation
1925
- command.response_class = Google::Apis::GenomicsV1::VariantSet
1926
- command.query['fields'] = fields unless fields.nil?
1927
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1928
- execute_or_queue_command(command, &block)
1929
- end
1930
-
1931
- # Deletes a variant set including all variants, call sets, and calls within.
1932
- # This is not reversible.
1933
- # @param [String] variant_set_id
1934
- # The ID of the variant set to be deleted.
50
+ # Starts asynchronous cancellation on a long-running operation.
51
+ # The server makes a best effort to cancel the operation, but success is not
52
+ # guaranteed. Clients may use Operations.GetOperation
53
+ # or Operations.ListOperations
54
+ # to check whether the cancellation succeeded or the operation completed
55
+ # despite cancellation.
56
+ # Authorization requires the following [Google IAM](https://cloud.google.com/iam)
57
+ # permission&#58;
58
+ # * `genomics.operations.cancel`
59
+ # @param [String] name
60
+ # The name of the operation resource to be cancelled.
61
+ # @param [Google::Apis::GenomicsV1::CancelOperationRequest] cancel_operation_request_object
1935
62
  # @param [String] fields
1936
63
  # Selector specifying which fields to include in a partial response.
1937
64
  # @param [String] quota_user
@@ -1949,21 +76,26 @@ module Google
1949
76
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1950
77
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1951
78
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1952
- def delete_variantset(variant_set_id, fields: nil, quota_user: nil, options: nil, &block)
1953
- command = make_simple_command(:delete, 'v1/variantsets/{variantSetId}', options)
79
+ def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
80
+ command = make_simple_command(:post, 'v1/{+name}:cancel', options)
81
+ command.request_representation = Google::Apis::GenomicsV1::CancelOperationRequest::Representation
82
+ command.request_object = cancel_operation_request_object
1954
83
  command.response_representation = Google::Apis::GenomicsV1::Empty::Representation
1955
84
  command.response_class = Google::Apis::GenomicsV1::Empty
1956
- command.params['variantSetId'] = variant_set_id unless variant_set_id.nil?
85
+ command.params['name'] = name unless name.nil?
1957
86
  command.query['fields'] = fields unless fields.nil?
1958
87
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1959
88
  execute_or_queue_command(command, &block)
1960
89
  end
1961
90
 
1962
- # Exports variant set data to an external destination.
1963
- # @param [String] variant_set_id
1964
- # Required. The ID of the variant set that contains variant data which
1965
- # should be exported. The caller must have READ access to this variant set.
1966
- # @param [Google::Apis::GenomicsV1::ExportVariantSetRequest] export_variant_set_request_object
91
+ # Gets the latest state of a long-running operation.
92
+ # Clients can use this method to poll the operation result at intervals as
93
+ # recommended by the API service.
94
+ # Authorization requires the following [Google IAM](https://cloud.google.com/iam)
95
+ # permission&#58;
96
+ # * `genomics.operations.get`
97
+ # @param [String] name
98
+ # The name of the operation resource.
1967
99
  # @param [String] fields
1968
100
  # Selector specifying which fields to include in a partial response.
1969
101
  # @param [String] quota_user
@@ -1981,94 +113,53 @@ module Google
1981
113
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1982
114
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1983
115
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1984
- def export_variant_set(variant_set_id, export_variant_set_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1985
- command = make_simple_command(:post, 'v1/variantsets/{variantSetId}:export', options)
1986
- command.request_representation = Google::Apis::GenomicsV1::ExportVariantSetRequest::Representation
1987
- command.request_object = export_variant_set_request_object
116
+ def get_operation(name, fields: nil, quota_user: nil, options: nil, &block)
117
+ command = make_simple_command(:get, 'v1/{+name}', options)
1988
118
  command.response_representation = Google::Apis::GenomicsV1::Operation::Representation
1989
119
  command.response_class = Google::Apis::GenomicsV1::Operation
1990
- command.params['variantSetId'] = variant_set_id unless variant_set_id.nil?
1991
- command.query['fields'] = fields unless fields.nil?
1992
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1993
- execute_or_queue_command(command, &block)
1994
- end
1995
-
1996
- # Gets a variant set by ID.
1997
- # @param [String] variant_set_id
1998
- # Required. The ID of the variant set.
1999
- # @param [String] fields
2000
- # Selector specifying which fields to include in a partial response.
2001
- # @param [String] quota_user
2002
- # Available to use for quota purposes for server-side applications. Can be any
2003
- # arbitrary string assigned to a user, but should not exceed 40 characters.
2004
- # @param [Google::Apis::RequestOptions] options
2005
- # Request-specific options
2006
- #
2007
- # @yield [result, err] Result & error if block supplied
2008
- # @yieldparam result [Google::Apis::GenomicsV1::VariantSet] parsed result object
2009
- # @yieldparam err [StandardError] error object if request failed
2010
- #
2011
- # @return [Google::Apis::GenomicsV1::VariantSet]
2012
- #
2013
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2014
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2015
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2016
- def get_variantset(variant_set_id, fields: nil, quota_user: nil, options: nil, &block)
2017
- command = make_simple_command(:get, 'v1/variantsets/{variantSetId}', options)
2018
- command.response_representation = Google::Apis::GenomicsV1::VariantSet::Representation
2019
- command.response_class = Google::Apis::GenomicsV1::VariantSet
2020
- command.params['variantSetId'] = variant_set_id unless variant_set_id.nil?
2021
- command.query['fields'] = fields unless fields.nil?
2022
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2023
- execute_or_queue_command(command, &block)
2024
- end
2025
-
2026
- # Updates a variant set using patch semantics.
2027
- # @param [String] variant_set_id
2028
- # The ID of the variant to be updated (must already exist).
2029
- # @param [Google::Apis::GenomicsV1::VariantSet] variant_set_object
2030
- # @param [String] update_mask
2031
- # An optional mask specifying which fields to update. Supported fields:
2032
- # * metadata.
2033
- # * name.
2034
- # * description.
2035
- # Leaving `updateMask` unset is equivalent to specifying all mutable
2036
- # fields.
2037
- # @param [String] fields
2038
- # Selector specifying which fields to include in a partial response.
2039
- # @param [String] quota_user
2040
- # Available to use for quota purposes for server-side applications. Can be any
2041
- # arbitrary string assigned to a user, but should not exceed 40 characters.
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::GenomicsV1::VariantSet] parsed result object
2047
- # @yieldparam err [StandardError] error object if request failed
2048
- #
2049
- # @return [Google::Apis::GenomicsV1::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 patch_variantset(variant_set_id, variant_set_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
2055
- command = make_simple_command(:patch, 'v1/variantsets/{variantSetId}', options)
2056
- command.request_representation = Google::Apis::GenomicsV1::VariantSet::Representation
2057
- command.request_object = variant_set_object
2058
- command.response_representation = Google::Apis::GenomicsV1::VariantSet::Representation
2059
- command.response_class = Google::Apis::GenomicsV1::VariantSet
2060
- command.params['variantSetId'] = variant_set_id unless variant_set_id.nil?
2061
- command.query['updateMask'] = update_mask unless update_mask.nil?
120
+ command.params['name'] = name unless name.nil?
2062
121
  command.query['fields'] = fields unless fields.nil?
2063
122
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2064
123
  execute_or_queue_command(command, &block)
2065
124
  end
2066
125
 
2067
- # Returns a list of all variant sets matching search criteria.
2068
- # Implements
2069
- # [GlobalAllianceApi.searchVariantSets](https://github.com/ga4gh/schemas/blob/v0.
2070
- # 5.1/src/main/resources/avro/variantmethods.avdl#L49).
2071
- # @param [Google::Apis::GenomicsV1::SearchVariantSetsRequest] search_variant_sets_request_object
126
+ # Lists operations that match the specified filter in the request.
127
+ # Authorization requires the following [Google IAM](https://cloud.google.com/iam)
128
+ # permission&#58;
129
+ # * `genomics.operations.list`
130
+ # @param [String] name
131
+ # The name of the operation's parent resource.
132
+ # @param [String] filter
133
+ # A string for filtering Operations.
134
+ # In v2alpha1, the following filter fields are supported&#58;
135
+ # * createTime&#58; The time this job was created
136
+ # * events&#58; The set of event (names) that have occurred while running
137
+ # the pipeline. The &#58; operator can be used to determine if a
138
+ # particular event has occurred.
139
+ # * error&#58; If the pipeline is running, this value is NULL. Once the
140
+ # pipeline finishes, the value is the standard Google error code.
141
+ # * labels.key or labels."key with space" where key is a label key.
142
+ # * done&#58; If the pipeline is running, this value is false. Once the
143
+ # pipeline finishes, the value is true.
144
+ # In v1 and v1alpha2, the following filter fields are supported&#58;
145
+ # * projectId&#58; Required. Corresponds to
146
+ # OperationMetadata.projectId.
147
+ # * createTime&#58; The time this job was created, in seconds from the
148
+ # [epoch](http://en.wikipedia.org/wiki/Unix_time). Can use `>=` and/or `<=`
149
+ # operators.
150
+ # * status&#58; Can be `RUNNING`, `SUCCESS`, `FAILURE`, or `CANCELED`. Only
151
+ # one status may be specified.
152
+ # * labels.key where key is a label key.
153
+ # Examples&#58;
154
+ # * `projectId = my-project AND createTime >= 1432140000`
155
+ # * `projectId = my-project AND createTime >= 1432140000 AND createTime <=
156
+ # 1432150000 AND status = RUNNING`
157
+ # * `projectId = my-project AND labels.color = *`
158
+ # * `projectId = my-project AND labels.color = red`
159
+ # @param [Fixnum] page_size
160
+ # The maximum number of results to return. The maximum value is 256.
161
+ # @param [String] page_token
162
+ # The standard list page token.
2072
163
  # @param [String] fields
2073
164
  # Selector specifying which fields to include in a partial response.
2074
165
  # @param [String] quota_user
@@ -2078,20 +169,22 @@ module Google
2078
169
  # Request-specific options
2079
170
  #
2080
171
  # @yield [result, err] Result & error if block supplied
2081
- # @yieldparam result [Google::Apis::GenomicsV1::SearchVariantSetsResponse] parsed result object
172
+ # @yieldparam result [Google::Apis::GenomicsV1::ListOperationsResponse] parsed result object
2082
173
  # @yieldparam err [StandardError] error object if request failed
2083
174
  #
2084
- # @return [Google::Apis::GenomicsV1::SearchVariantSetsResponse]
175
+ # @return [Google::Apis::GenomicsV1::ListOperationsResponse]
2085
176
  #
2086
177
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2087
178
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2088
179
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2089
- def search_variant_sets(search_variant_sets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2090
- command = make_simple_command(:post, 'v1/variantsets/search', options)
2091
- command.request_representation = Google::Apis::GenomicsV1::SearchVariantSetsRequest::Representation
2092
- command.request_object = search_variant_sets_request_object
2093
- command.response_representation = Google::Apis::GenomicsV1::SearchVariantSetsResponse::Representation
2094
- command.response_class = Google::Apis::GenomicsV1::SearchVariantSetsResponse
180
+ def list_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
181
+ command = make_simple_command(:get, 'v1/{+name}', options)
182
+ command.response_representation = Google::Apis::GenomicsV1::ListOperationsResponse::Representation
183
+ command.response_class = Google::Apis::GenomicsV1::ListOperationsResponse
184
+ command.params['name'] = name unless name.nil?
185
+ command.query['filter'] = filter unless filter.nil?
186
+ command.query['pageSize'] = page_size unless page_size.nil?
187
+ command.query['pageToken'] = page_token unless page_token.nil?
2095
188
  command.query['fields'] = fields unless fields.nil?
2096
189
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2097
190
  execute_or_queue_command(command, &block)