google-api-client 0.11.1 → 0.11.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (252) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/api_names.yaml +42335 -1
  4. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +3 -3
  5. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +28 -28
  6. data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +12 -12
  7. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
  8. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +757 -757
  10. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +162 -162
  11. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +48 -48
  12. data/generated/google/apis/admin_directory_v1.rb +1 -1
  13. data/generated/google/apis/admin_directory_v1/classes.rb +75 -7
  14. data/generated/google/apis/admin_directory_v1/representations.rb +20 -0
  15. data/generated/google/apis/admin_directory_v1/service.rb +61 -61
  16. data/generated/google/apis/adsense_v1_4.rb +1 -1
  17. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  18. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  19. data/generated/google/apis/analyticsreporting_v4/classes.rb +403 -403
  20. data/generated/google/apis/analyticsreporting_v4/representations.rb +108 -108
  21. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  22. data/generated/google/apis/androidenterprise_v1/classes.rb +36 -11
  23. data/generated/google/apis/androidenterprise_v1/representations.rb +2 -0
  24. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  25. data/generated/google/apis/appengine_v1.rb +6 -5
  26. data/generated/google/apis/appengine_v1/classes.rb +1429 -1421
  27. data/generated/google/apis/appengine_v1/representations.rb +331 -331
  28. data/generated/google/apis/appengine_v1/service.rb +173 -168
  29. data/generated/google/apis/appstate_v1.rb +1 -1
  30. data/generated/google/apis/bigquery_v2.rb +1 -1
  31. data/generated/google/apis/calendar_v3.rb +1 -1
  32. data/generated/google/apis/classroom_v1.rb +1 -1
  33. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  34. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  35. data/generated/google/apis/cloudbuild_v1/classes.rb +624 -618
  36. data/generated/google/apis/cloudbuild_v1/representations.rb +126 -125
  37. data/generated/google/apis/cloudbuild_v1/service.rb +87 -87
  38. data/generated/google/apis/clouddebugger_v2.rb +4 -4
  39. data/generated/google/apis/clouddebugger_v2/classes.rb +267 -267
  40. data/generated/google/apis/clouddebugger_v2/representations.rb +83 -83
  41. data/generated/google/apis/clouddebugger_v2/service.rb +137 -137
  42. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  43. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +131 -131
  44. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +28 -28
  45. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +17 -17
  46. data/generated/google/apis/cloudfunctions_v1.rb +1 -4
  47. data/generated/google/apis/cloudfunctions_v1/classes.rb +7 -47
  48. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -17
  49. data/generated/google/apis/cloudfunctions_v1/service.rb +0 -30
  50. data/generated/google/apis/cloudkms_v1.rb +1 -1
  51. data/generated/google/apis/cloudkms_v1/classes.rb +625 -625
  52. data/generated/google/apis/cloudkms_v1/representations.rb +132 -132
  53. data/generated/google/apis/cloudkms_v1/service.rb +272 -272
  54. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  55. data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
  56. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +242 -242
  57. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +43 -43
  58. data/generated/google/apis/cloudresourcemanager_v1/service.rb +505 -505
  59. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
  60. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +172 -172
  61. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +39 -39
  62. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +310 -310
  63. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  64. data/generated/google/apis/cloudtrace_v1/classes.rb +96 -69
  65. data/generated/google/apis/cloudtrace_v1/representations.rb +16 -16
  66. data/generated/google/apis/cloudtrace_v1/service.rb +42 -15
  67. data/generated/google/apis/compute_beta.rb +1 -1
  68. data/generated/google/apis/compute_beta/classes.rb +194 -25
  69. data/generated/google/apis/compute_beta/representations.rb +42 -0
  70. data/generated/google/apis/compute_beta/service.rb +196 -100
  71. data/generated/google/apis/compute_v1.rb +1 -1
  72. data/generated/google/apis/compute_v1/classes.rb +69 -18
  73. data/generated/google/apis/compute_v1/representations.rb +16 -0
  74. data/generated/google/apis/compute_v1/service.rb +84 -26
  75. data/generated/google/apis/container_v1.rb +3 -3
  76. data/generated/google/apis/container_v1/classes.rb +794 -586
  77. data/generated/google/apis/container_v1/representations.rb +202 -118
  78. data/generated/google/apis/container_v1/service.rb +396 -167
  79. data/generated/google/apis/content_v2.rb +1 -1
  80. data/generated/google/apis/content_v2/service.rb +4 -4
  81. data/generated/google/apis/dataproc_v1.rb +1 -1
  82. data/generated/google/apis/dataproc_v1/classes.rb +487 -484
  83. data/generated/google/apis/dataproc_v1/representations.rb +83 -83
  84. data/generated/google/apis/dataproc_v1/service.rb +299 -297
  85. data/generated/google/apis/datastore_v1.rb +1 -1
  86. data/generated/google/apis/datastore_v1/classes.rb +703 -703
  87. data/generated/google/apis/datastore_v1/representations.rb +148 -148
  88. data/generated/google/apis/datastore_v1/service.rb +62 -62
  89. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  90. data/generated/google/apis/deploymentmanager_v2/classes.rb +7 -5
  91. data/generated/google/apis/dfareporting_v2_6.rb +1 -1
  92. data/generated/google/apis/dfareporting_v2_6/classes.rb +66 -53
  93. data/generated/google/apis/dfareporting_v2_6/service.rb +30 -30
  94. data/generated/google/apis/dfareporting_v2_7.rb +1 -1
  95. data/generated/google/apis/dfareporting_v2_7/classes.rb +69 -55
  96. data/generated/google/apis/dfareporting_v2_7/service.rb +38 -37
  97. data/generated/google/apis/dfareporting_v2_8.rb +40 -0
  98. data/generated/google/apis/dfareporting_v2_8/classes.rb +12046 -0
  99. data/generated/google/apis/dfareporting_v2_8/representations.rb +4310 -0
  100. data/generated/google/apis/dfareporting_v2_8/service.rb +9135 -0
  101. data/generated/google/apis/dns_v1.rb +1 -1
  102. data/generated/google/apis/dns_v2beta1.rb +1 -1
  103. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  104. data/generated/google/apis/drive_v2.rb +1 -1
  105. data/generated/google/apis/drive_v2/classes.rb +15 -0
  106. data/generated/google/apis/drive_v2/representations.rb +2 -0
  107. data/generated/google/apis/drive_v2/service.rb +2 -1
  108. data/generated/google/apis/drive_v3.rb +1 -1
  109. data/generated/google/apis/drive_v3/classes.rb +16 -0
  110. data/generated/google/apis/drive_v3/representations.rb +2 -0
  111. data/generated/google/apis/drive_v3/service.rb +2 -1
  112. data/generated/google/apis/firebasedynamiclinks_v1.rb +2 -3
  113. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +159 -159
  114. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +55 -55
  115. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +5 -6
  116. data/generated/google/apis/firebaserules_v1.rb +1 -1
  117. data/generated/google/apis/firebaserules_v1/classes.rb +73 -73
  118. data/generated/google/apis/firebaserules_v1/representations.rb +25 -25
  119. data/generated/google/apis/firebaserules_v1/service.rb +118 -118
  120. data/generated/google/apis/fusiontables_v2.rb +1 -1
  121. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  122. data/generated/google/apis/games_management_v1management.rb +1 -1
  123. data/generated/google/apis/games_v1.rb +1 -1
  124. data/generated/google/apis/genomics_v1.rb +1 -1
  125. data/generated/google/apis/genomics_v1/classes.rb +920 -920
  126. data/generated/google/apis/genomics_v1/representations.rb +202 -202
  127. data/generated/google/apis/genomics_v1/service.rb +1092 -1092
  128. data/generated/google/apis/gmail_v1.rb +1 -1
  129. data/generated/google/apis/iam_v1.rb +1 -1
  130. data/generated/google/apis/iam_v1/classes.rb +455 -435
  131. data/generated/google/apis/iam_v1/representations.rb +96 -93
  132. data/generated/google/apis/iam_v1/service.rb +157 -157
  133. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  134. data/generated/google/apis/identitytoolkit_v3/classes.rb +12 -0
  135. data/generated/google/apis/identitytoolkit_v3/representations.rb +2 -0
  136. data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
  137. data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
  138. data/generated/google/apis/kgsearch_v1/service.rb +9 -9
  139. data/generated/google/apis/language_v1.rb +1 -1
  140. data/generated/google/apis/language_v1/classes.rb +455 -455
  141. data/generated/google/apis/language_v1/representations.rb +102 -102
  142. data/generated/google/apis/language_v1/service.rb +42 -42
  143. data/generated/google/apis/language_v1beta1.rb +1 -1
  144. data/generated/google/apis/language_v1beta1/classes.rb +216 -215
  145. data/generated/google/apis/language_v1beta1/representations.rb +75 -75
  146. data/generated/google/apis/language_v1beta1/service.rb +45 -45
  147. data/generated/google/apis/logging_v2.rb +1 -1
  148. data/generated/google/apis/logging_v2/classes.rb +908 -895
  149. data/generated/google/apis/logging_v2/representations.rb +121 -120
  150. data/generated/google/apis/logging_v2/service.rb +489 -489
  151. data/generated/google/apis/logging_v2beta1.rb +4 -4
  152. data/generated/google/apis/logging_v2beta1/classes.rb +928 -915
  153. data/generated/google/apis/logging_v2beta1/representations.rb +121 -120
  154. data/generated/google/apis/logging_v2beta1/service.rb +249 -249
  155. data/generated/google/apis/manufacturers_v1.rb +1 -1
  156. data/generated/google/apis/manufacturers_v1/classes.rb +294 -294
  157. data/generated/google/apis/manufacturers_v1/representations.rb +84 -84
  158. data/generated/google/apis/manufacturers_v1/service.rb +8 -8
  159. data/generated/google/apis/mirror_v1.rb +1 -1
  160. data/generated/google/apis/ml_v1.rb +1 -1
  161. data/generated/google/apis/ml_v1/classes.rb +1186 -1183
  162. data/generated/google/apis/ml_v1/representations.rb +177 -177
  163. data/generated/google/apis/ml_v1/service.rb +244 -244
  164. data/generated/google/apis/monitoring_v3.rb +1 -1
  165. data/generated/google/apis/monitoring_v3/classes.rb +866 -866
  166. data/generated/google/apis/monitoring_v3/representations.rb +163 -163
  167. data/generated/google/apis/monitoring_v3/service.rb +355 -316
  168. data/generated/google/apis/oauth2_v2.rb +1 -1
  169. data/generated/google/apis/partners_v2.rb +1 -1
  170. data/generated/google/apis/partners_v2/classes.rb +1499 -1499
  171. data/generated/google/apis/partners_v2/representations.rb +368 -368
  172. data/generated/google/apis/partners_v2/service.rb +512 -512
  173. data/generated/google/apis/people_v1.rb +10 -10
  174. data/generated/google/apis/people_v1/classes.rb +544 -423
  175. data/generated/google/apis/people_v1/representations.rb +127 -109
  176. data/generated/google/apis/people_v1/service.rb +8 -8
  177. data/generated/google/apis/plus_domains_v1.rb +1 -1
  178. data/generated/google/apis/plus_v1.rb +1 -1
  179. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  180. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +200 -200
  181. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +41 -41
  182. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +80 -80
  183. data/generated/google/apis/pubsub_v1.rb +1 -1
  184. data/generated/google/apis/pubsub_v1/classes.rb +377 -377
  185. data/generated/google/apis/pubsub_v1/representations.rb +82 -82
  186. data/generated/google/apis/pubsub_v1/service.rb +93 -93
  187. data/generated/google/apis/runtimeconfig_v1.rb +6 -4
  188. data/generated/google/apis/runtimeconfig_v1/classes.rb +22 -22
  189. data/generated/google/apis/runtimeconfig_v1/representations.rb +2 -2
  190. data/generated/google/apis/runtimeconfig_v1/service.rb +57 -55
  191. data/generated/google/apis/script_v1.rb +14 -14
  192. data/generated/google/apis/script_v1/classes.rb +113 -58
  193. data/generated/google/apis/script_v1/representations.rb +43 -14
  194. data/generated/google/apis/script_v1/service.rb +6 -6
  195. data/generated/google/apis/searchconsole_v1.rb +1 -1
  196. data/generated/google/apis/searchconsole_v1/classes.rb +67 -67
  197. data/generated/google/apis/searchconsole_v1/representations.rb +29 -29
  198. data/generated/google/apis/searchconsole_v1/service.rb +6 -6
  199. data/generated/google/apis/servicecontrol_v1.rb +4 -4
  200. data/generated/google/apis/servicecontrol_v1/classes.rb +1125 -1125
  201. data/generated/google/apis/servicecontrol_v1/representations.rb +213 -213
  202. data/generated/google/apis/servicecontrol_v1/service.rb +92 -92
  203. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  204. data/generated/google/apis/servicemanagement_v1/classes.rb +3364 -3622
  205. data/generated/google/apis/servicemanagement_v1/representations.rb +546 -530
  206. data/generated/google/apis/servicemanagement_v1/service.rb +262 -152
  207. data/generated/google/apis/serviceuser_v1.rb +4 -4
  208. data/generated/google/apis/serviceuser_v1/classes.rb +2616 -2874
  209. data/generated/google/apis/serviceuser_v1/representations.rb +294 -278
  210. data/generated/google/apis/serviceuser_v1/service.rb +19 -19
  211. data/generated/google/apis/sheets_v4.rb +4 -1
  212. data/generated/google/apis/sheets_v4/classes.rb +4315 -4313
  213. data/generated/google/apis/sheets_v4/representations.rb +858 -858
  214. data/generated/google/apis/sheets_v4/service.rb +115 -115
  215. data/generated/google/apis/slides_v1.rb +1 -1
  216. data/generated/google/apis/slides_v1/classes.rb +2890 -2890
  217. data/generated/google/apis/slides_v1/representations.rb +638 -638
  218. data/generated/google/apis/slides_v1/service.rb +36 -36
  219. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  220. data/generated/google/apis/sourcerepo_v1/classes.rb +283 -283
  221. data/generated/google/apis/sourcerepo_v1/representations.rb +67 -67
  222. data/generated/google/apis/sourcerepo_v1/service.rb +88 -88
  223. data/generated/google/apis/spanner_v1.rb +1 -1
  224. data/generated/google/apis/spanner_v1/classes.rb +2258 -2233
  225. data/generated/google/apis/spanner_v1/representations.rb +325 -325
  226. data/generated/google/apis/spanner_v1/service.rb +466 -466
  227. data/generated/google/apis/speech_v1beta1.rb +2 -2
  228. data/generated/google/apis/speech_v1beta1/classes.rb +97 -97
  229. data/generated/google/apis/speech_v1beta1/representations.rb +29 -29
  230. data/generated/google/apis/speech_v1beta1/service.rb +49 -49
  231. data/generated/google/apis/storage_v1.rb +1 -1
  232. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  233. data/generated/google/apis/storagetransfer_v1/classes.rb +786 -786
  234. data/generated/google/apis/storagetransfer_v1/representations.rb +133 -133
  235. data/generated/google/apis/storagetransfer_v1/service.rb +30 -30
  236. data/generated/google/apis/surveys_v2.rb +1 -1
  237. data/generated/google/apis/surveys_v2/classes.rb +0 -12
  238. data/generated/google/apis/surveys_v2/representations.rb +0 -4
  239. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  240. data/generated/google/apis/vision_v1.rb +1 -1
  241. data/generated/google/apis/vision_v1/classes.rb +1301 -1302
  242. data/generated/google/apis/vision_v1/representations.rb +183 -183
  243. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  244. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  245. data/generated/google/apis/youtube_partner_v1/classes.rb +10 -0
  246. data/generated/google/apis/youtube_partner_v1/representations.rb +1 -0
  247. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  248. data/generated/google/apis/youtubereporting_v1/classes.rb +64 -64
  249. data/generated/google/apis/youtubereporting_v1/representations.rb +12 -12
  250. data/generated/google/apis/youtubereporting_v1/service.rb +94 -94
  251. data/lib/google/apis/version.rb +1 -1
  252. metadata +7 -3
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/fusiontables
26
26
  module FusiontablesV2
27
27
  VERSION = 'V2'
28
- REVISION = '20170321'
28
+ REVISION = '20170413'
29
29
 
30
30
  # Manage your Fusion Tables
31
31
  AUTH_FUSIONTABLES = 'https://www.googleapis.com/auth/fusiontables'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/games/services
26
26
  module GamesConfigurationV1configuration
27
27
  VERSION = 'V1configuration'
28
- REVISION = '20170329'
28
+ REVISION = '20170427'
29
29
 
30
30
  # View and manage your Google Play Developer account
31
31
  AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/games/services
26
26
  module GamesManagementV1management
27
27
  VERSION = 'V1management'
28
- REVISION = '20170329'
28
+ REVISION = '20170427'
29
29
 
30
30
  # Share your Google+ profile information and view and manage your game activity
31
31
  AUTH_GAMES = 'https://www.googleapis.com/auth/games'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/games/services/
26
26
  module GamesV1
27
27
  VERSION = 'V1'
28
- REVISION = '20170329'
28
+ REVISION = '20170427'
29
29
 
30
30
  # View and manage its own configuration data in your Google Drive
31
31
  AUTH_DRIVE_APPDATA = 'https://www.googleapis.com/auth/drive.appdata'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/genomics
26
26
  module GenomicsV1
27
27
  VERSION = 'V1'
28
- REVISION = '20170330'
28
+ REVISION = '20170504'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -22,6 +22,117 @@ module Google
22
22
  module Apis
23
23
  module GenomicsV1
24
24
 
25
+ # A read group set is a logical collection of read groups, which are
26
+ # collections of reads produced by a sequencer. A read group set typically
27
+ # models reads corresponding to one sample, sequenced one way, and aligned one
28
+ # way.
29
+ # * A read group set belongs to one dataset.
30
+ # * A read group belongs to one read group set.
31
+ # * A read belongs to one read group.
32
+ # For more genomics resource definitions, see [Fundamentals of Google
33
+ # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
34
+ class ReadGroupSet
35
+ include Google::Apis::Core::Hashable
36
+
37
+ # A map of additional read group set information.
38
+ # Corresponds to the JSON property `info`
39
+ # @return [Hash<String,Array<Object>>]
40
+ attr_accessor :info
41
+
42
+ # The server-generated read group set ID, unique for all read group sets.
43
+ # Corresponds to the JSON property `id`
44
+ # @return [String]
45
+ attr_accessor :id
46
+
47
+ # The dataset to which this read group set belongs.
48
+ # Corresponds to the JSON property `datasetId`
49
+ # @return [String]
50
+ attr_accessor :dataset_id
51
+
52
+ # The read groups in this set. There are typically 1-10 read groups in a read
53
+ # group set.
54
+ # Corresponds to the JSON property `readGroups`
55
+ # @return [Array<Google::Apis::GenomicsV1::ReadGroup>]
56
+ attr_accessor :read_groups
57
+
58
+ # The filename of the original source file for this read group set, if any.
59
+ # Corresponds to the JSON property `filename`
60
+ # @return [String]
61
+ attr_accessor :filename
62
+
63
+ # The read group set name. By default this will be initialized to the sample
64
+ # name of the sequenced data contained in this set.
65
+ # Corresponds to the JSON property `name`
66
+ # @return [String]
67
+ attr_accessor :name
68
+
69
+ # The reference set to which the reads in this read group set are aligned.
70
+ # Corresponds to the JSON property `referenceSetId`
71
+ # @return [String]
72
+ attr_accessor :reference_set_id
73
+
74
+ def initialize(**args)
75
+ update!(**args)
76
+ end
77
+
78
+ # Update properties of this object
79
+ def update!(**args)
80
+ @info = args[:info] if args.key?(:info)
81
+ @id = args[:id] if args.key?(:id)
82
+ @dataset_id = args[:dataset_id] if args.key?(:dataset_id)
83
+ @read_groups = args[:read_groups] if args.key?(:read_groups)
84
+ @filename = args[:filename] if args.key?(:filename)
85
+ @name = args[:name] if args.key?(:name)
86
+ @reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id)
87
+ end
88
+ end
89
+
90
+ # The search variant sets response.
91
+ class SearchVariantSetsResponse
92
+ include Google::Apis::Core::Hashable
93
+
94
+ # The continuation token, which is used to page through large result sets.
95
+ # Provide this value in a subsequent request to return the next page of
96
+ # results. This field will be empty if there aren't any additional results.
97
+ # Corresponds to the JSON property `nextPageToken`
98
+ # @return [String]
99
+ attr_accessor :next_page_token
100
+
101
+ # The variant sets belonging to the requested dataset.
102
+ # Corresponds to the JSON property `variantSets`
103
+ # @return [Array<Google::Apis::GenomicsV1::VariantSet>]
104
+ attr_accessor :variant_sets
105
+
106
+ def initialize(**args)
107
+ update!(**args)
108
+ end
109
+
110
+ # Update properties of this object
111
+ def update!(**args)
112
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
113
+ @variant_sets = args[:variant_sets] if args.key?(:variant_sets)
114
+ end
115
+ end
116
+
117
+ # A generic empty message that you can re-use to avoid defining duplicated
118
+ # empty messages in your APIs. A typical example is to use it as the request
119
+ # or the response type of an API method. For instance:
120
+ # service Foo `
121
+ # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
122
+ # `
123
+ # The JSON representation for `Empty` is empty JSON object ````.
124
+ class Empty
125
+ include Google::Apis::Core::Hashable
126
+
127
+ def initialize(**args)
128
+ update!(**args)
129
+ end
130
+
131
+ # Update properties of this object
132
+ def update!(**args)
133
+ end
134
+ end
135
+
25
136
  #
26
137
  class Entry
27
138
  include Google::Apis::Core::Hashable
@@ -56,7 +167,7 @@ module Google
56
167
  # it may embed the `Status` in the normal response to indicate the partial
57
168
  # errors.
58
169
  # - Workflow errors. A typical workflow has multiple steps. Each step may
59
- # have a `Status` message for error reporting purpose.
170
+ # have a `Status` message for error reporting.
60
171
  # - Batch operations. If a client uses batch request and batch response, the
61
172
  # `Status` message should be used directly inside batch response, one for
62
173
  # each error sub-response.
@@ -97,6 +208,13 @@ module Google
97
208
  class Position
98
209
  include Google::Apis::Core::Hashable
99
210
 
211
+ # Whether this position is on the reverse strand, as opposed to the forward
212
+ # strand.
213
+ # Corresponds to the JSON property `reverseStrand`
214
+ # @return [Boolean]
215
+ attr_accessor :reverse_strand
216
+ alias_method :reverse_strand?, :reverse_strand
217
+
100
218
  # The 0-based offset from the start of the forward strand for that reference.
101
219
  # Corresponds to the JSON property `position`
102
220
  # @return [Fixnum]
@@ -107,22 +225,15 @@ module Google
107
225
  # @return [String]
108
226
  attr_accessor :reference_name
109
227
 
110
- # Whether this position is on the reverse strand, as opposed to the forward
111
- # strand.
112
- # Corresponds to the JSON property `reverseStrand`
113
- # @return [Boolean]
114
- attr_accessor :reverse_strand
115
- alias_method :reverse_strand?, :reverse_strand
116
-
117
228
  def initialize(**args)
118
229
  update!(**args)
119
230
  end
120
231
 
121
232
  # Update properties of this object
122
233
  def update!(**args)
234
+ @reverse_strand = args[:reverse_strand] if args.key?(:reverse_strand)
123
235
  @position = args[:position] if args.key?(:position)
124
236
  @reference_name = args[:reference_name] if args.key?(:reference_name)
125
- @reverse_strand = args[:reverse_strand] if args.key?(:reverse_strand)
126
237
  end
127
238
  end
128
239
 
@@ -199,19 +310,6 @@ module Google
199
310
  class ImportReadGroupSetsRequest
200
311
  include Google::Apis::Core::Hashable
201
312
 
202
- # A list of URIs pointing at [BAM
203
- # files](https://samtools.github.io/hts-specs/SAMv1.pdf)
204
- # in Google Cloud Storage.
205
- # Those URIs can include wildcards (*), but do not add or remove
206
- # matching files before import has completed.
207
- # Note that Google Cloud Storage object listing is only eventually
208
- # consistent: files added may be not be immediately visible to
209
- # everyone. Thus, if using a wildcard it is preferable not to start
210
- # the import immediately after the files are created.
211
- # Corresponds to the JSON property `sourceUris`
212
- # @return [Array<String>]
213
- attr_accessor :source_uris
214
-
215
313
  # The reference set to which the imported read group sets are aligned to, if
216
314
  # any. The reference names of this reference set must be a superset of those
217
315
  # found in the imported file headers. If no reference set id is provided, a
@@ -232,16 +330,29 @@ module Google
232
330
  # @return [String]
233
331
  attr_accessor :dataset_id
234
332
 
333
+ # A list of URIs pointing at [BAM
334
+ # files](https://samtools.github.io/hts-specs/SAMv1.pdf)
335
+ # in Google Cloud Storage.
336
+ # Those URIs can include wildcards (*), but do not add or remove
337
+ # matching files before import has completed.
338
+ # Note that Google Cloud Storage object listing is only eventually
339
+ # consistent: files added may be not be immediately visible to
340
+ # everyone. Thus, if using a wildcard it is preferable not to start
341
+ # the import immediately after the files are created.
342
+ # Corresponds to the JSON property `sourceUris`
343
+ # @return [Array<String>]
344
+ attr_accessor :source_uris
345
+
235
346
  def initialize(**args)
236
347
  update!(**args)
237
348
  end
238
349
 
239
350
  # Update properties of this object
240
351
  def update!(**args)
241
- @source_uris = args[:source_uris] if args.key?(:source_uris)
242
352
  @reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id)
243
353
  @partition_strategy = args[:partition_strategy] if args.key?(:partition_strategy)
244
354
  @dataset_id = args[:dataset_id] if args.key?(:dataset_id)
355
+ @source_uris = args[:source_uris] if args.key?(:source_uris)
245
356
  end
246
357
  end
247
358
 
@@ -274,6 +385,18 @@ module Google
274
385
  class Policy
275
386
  include Google::Apis::Core::Hashable
276
387
 
388
+ # Version of the `Policy`. The default version is 0.
389
+ # Corresponds to the JSON property `version`
390
+ # @return [Fixnum]
391
+ attr_accessor :version
392
+
393
+ # Associates a list of `members` to a `role`.
394
+ # Multiple `bindings` must not be specified for the same `role`.
395
+ # `bindings` with no members will result in an error.
396
+ # Corresponds to the JSON property `bindings`
397
+ # @return [Array<Google::Apis::GenomicsV1::Binding>]
398
+ attr_accessor :bindings
399
+
277
400
  # `etag` is used for optimistic concurrency control as a way to help
278
401
  # prevent simultaneous updates of a policy from overwriting each other.
279
402
  # It is strongly suggested that systems make use of the `etag` in the
@@ -288,27 +411,15 @@ module Google
288
411
  # @return [String]
289
412
  attr_accessor :etag
290
413
 
291
- # Version of the `Policy`. The default version is 0.
292
- # Corresponds to the JSON property `version`
293
- # @return [Fixnum]
294
- attr_accessor :version
295
-
296
- # Associates a list of `members` to a `role`.
297
- # Multiple `bindings` must not be specified for the same `role`.
298
- # `bindings` with no members will result in an error.
299
- # Corresponds to the JSON property `bindings`
300
- # @return [Array<Google::Apis::GenomicsV1::Binding>]
301
- attr_accessor :bindings
302
-
303
414
  def initialize(**args)
304
415
  update!(**args)
305
416
  end
306
417
 
307
418
  # Update properties of this object
308
419
  def update!(**args)
309
- @etag = args[:etag] if args.key?(:etag)
310
420
  @version = args[:version] if args.key?(:version)
311
421
  @bindings = args[:bindings] if args.key?(:bindings)
422
+ @etag = args[:etag] if args.key?(:etag)
312
423
  end
313
424
  end
314
425
 
@@ -321,6 +432,35 @@ module Google
321
432
  class Annotation
322
433
  include Google::Apis::Core::Hashable
323
434
 
435
+ # The display name corresponding to the reference specified by
436
+ # `referenceId`, for example `chr1`, `1`, or `chrX`.
437
+ # Corresponds to the JSON property `referenceName`
438
+ # @return [String]
439
+ attr_accessor :reference_name
440
+
441
+ # The data type for this annotation. Must match the containing annotation
442
+ # set's type.
443
+ # Corresponds to the JSON property `type`
444
+ # @return [String]
445
+ attr_accessor :type
446
+
447
+ # A map of additional read alignment information. This must be of the form
448
+ # map<string, string[]> (string key mapping to a list of string values).
449
+ # Corresponds to the JSON property `info`
450
+ # @return [Hash<String,Array<Object>>]
451
+ attr_accessor :info
452
+
453
+ # The end position of the range on the reference, 0-based exclusive.
454
+ # Corresponds to the JSON property `end`
455
+ # @return [Fixnum]
456
+ attr_accessor :end
457
+
458
+ # A transcript represents the assertion that a particular region of the
459
+ # reference genome may be transcribed as RNA.
460
+ # Corresponds to the JSON property `transcript`
461
+ # @return [Google::Apis::GenomicsV1::Transcript]
462
+ attr_accessor :transcript
463
+
324
464
  # The start position of the range on the reference, 0-based inclusive.
325
465
  # Corresponds to the JSON property `start`
326
466
  # @return [Fixnum]
@@ -362,41 +502,17 @@ module Google
362
502
  attr_accessor :reverse_strand
363
503
  alias_method :reverse_strand?, :reverse_strand
364
504
 
365
- # The display name corresponding to the reference specified by
366
- # `referenceId`, for example `chr1`, `1`, or `chrX`.
367
- # Corresponds to the JSON property `referenceName`
368
- # @return [String]
369
- attr_accessor :reference_name
370
-
371
- # The data type for this annotation. Must match the containing annotation
372
- # set's type.
373
- # Corresponds to the JSON property `type`
374
- # @return [String]
375
- attr_accessor :type
376
-
377
- # A map of additional read alignment information. This must be of the form
378
- # map<string, string[]> (string key mapping to a list of string values).
379
- # Corresponds to the JSON property `info`
380
- # @return [Hash<String,Array<Object>>]
381
- attr_accessor :info
382
-
383
- # The end position of the range on the reference, 0-based exclusive.
384
- # Corresponds to the JSON property `end`
385
- # @return [Fixnum]
386
- attr_accessor :end
387
-
388
- # A transcript represents the assertion that a particular region of the
389
- # reference genome may be transcribed as RNA.
390
- # Corresponds to the JSON property `transcript`
391
- # @return [Google::Apis::GenomicsV1::Transcript]
392
- attr_accessor :transcript
393
-
394
505
  def initialize(**args)
395
506
  update!(**args)
396
507
  end
397
508
 
398
509
  # Update properties of this object
399
510
  def update!(**args)
511
+ @reference_name = args[:reference_name] if args.key?(:reference_name)
512
+ @type = args[:type] if args.key?(:type)
513
+ @info = args[:info] if args.key?(:info)
514
+ @end = args[:end] if args.key?(:end)
515
+ @transcript = args[:transcript] if args.key?(:transcript)
400
516
  @start = args[:start] if args.key?(:start)
401
517
  @annotation_set_id = args[:annotation_set_id] if args.key?(:annotation_set_id)
402
518
  @name = args[:name] if args.key?(:name)
@@ -404,11 +520,6 @@ module Google
404
520
  @id = args[:id] if args.key?(:id)
405
521
  @reference_id = args[:reference_id] if args.key?(:reference_id)
406
522
  @reverse_strand = args[:reverse_strand] if args.key?(:reverse_strand)
407
- @reference_name = args[:reference_name] if args.key?(:reference_name)
408
- @type = args[:type] if args.key?(:type)
409
- @info = args[:info] if args.key?(:info)
410
- @end = args[:end] if args.key?(:end)
411
- @transcript = args[:transcript] if args.key?(:transcript)
412
523
  end
413
524
  end
414
525
 
@@ -429,12 +540,6 @@ module Google
429
540
  class SearchReadsRequest
430
541
  include Google::Apis::Core::Hashable
431
542
 
432
- # The start position of the range on the reference, 0-based inclusive. If
433
- # specified, `referenceName` must also be specified.
434
- # Corresponds to the JSON property `start`
435
- # @return [Fixnum]
436
- attr_accessor :start
437
-
438
543
  # The reference sequence name, for example `chr1`, `1`, or `chrX`. If set to
439
544
  # `*`, only unmapped reads are returned. If unspecified, all reads (mapped
440
545
  # and unmapped) are returned.
@@ -476,19 +581,25 @@ module Google
476
581
  # @return [Fixnum]
477
582
  attr_accessor :page_size
478
583
 
479
- def initialize(**args)
584
+ # The start position of the range on the reference, 0-based inclusive. If
585
+ # specified, `referenceName` must also be specified.
586
+ # Corresponds to the JSON property `start`
587
+ # @return [Fixnum]
588
+ attr_accessor :start
589
+
590
+ def initialize(**args)
480
591
  update!(**args)
481
592
  end
482
593
 
483
594
  # Update properties of this object
484
595
  def update!(**args)
485
- @start = args[:start] if args.key?(:start)
486
596
  @reference_name = args[:reference_name] if args.key?(:reference_name)
487
597
  @read_group_set_ids = args[:read_group_set_ids] if args.key?(:read_group_set_ids)
488
598
  @read_group_ids = args[:read_group_ids] if args.key?(:read_group_ids)
489
599
  @end = args[:end] if args.key?(:end)
490
600
  @page_token = args[:page_token] if args.key?(:page_token)
491
601
  @page_size = args[:page_size] if args.key?(:page_size)
602
+ @start = args[:start] if args.key?(:start)
492
603
  end
493
604
  end
494
605
 
@@ -519,6 +630,14 @@ module Google
519
630
  class Operation
520
631
  include Google::Apis::Core::Hashable
521
632
 
633
+ # If the value is `false`, it means the operation is still in progress.
634
+ # If true, the operation is completed, and either `error` or `response` is
635
+ # available.
636
+ # Corresponds to the JSON property `done`
637
+ # @return [Boolean]
638
+ attr_accessor :done
639
+ alias_method :done?, :done
640
+
522
641
  # If importing ReadGroupSets, an ImportReadGroupSetsResponse is returned. If
523
642
  # importing Variants, an ImportVariantsResponse is returned. For pipelines and
524
643
  # exports, an empty response is returned.
@@ -563,7 +682,7 @@ module Google
563
682
  # it may embed the `Status` in the normal response to indicate the partial
564
683
  # errors.
565
684
  # - Workflow errors. A typical workflow has multiple steps. Each step may
566
- # have a `Status` message for error reporting purpose.
685
+ # have a `Status` message for error reporting.
567
686
  # - Batch operations. If a client uses batch request and batch response, the
568
687
  # `Status` message should be used directly inside batch response, one for
569
688
  # each error sub-response.
@@ -581,25 +700,17 @@ module Google
581
700
  # @return [Hash<String,Object>]
582
701
  attr_accessor :metadata
583
702
 
584
- # If the value is `false`, it means the operation is still in progress.
585
- # If true, the operation is completed, and either `error` or `response` is
586
- # available.
587
- # Corresponds to the JSON property `done`
588
- # @return [Boolean]
589
- attr_accessor :done
590
- alias_method :done?, :done
591
-
592
703
  def initialize(**args)
593
704
  update!(**args)
594
705
  end
595
706
 
596
707
  # Update properties of this object
597
708
  def update!(**args)
709
+ @done = args[:done] if args.key?(:done)
598
710
  @response = args[:response] if args.key?(:response)
599
711
  @name = args[:name] if args.key?(:name)
600
712
  @error = args[:error] if args.key?(:error)
601
713
  @metadata = args[:metadata] if args.key?(:metadata)
602
- @done = args[:done] if args.key?(:done)
603
714
  end
604
715
  end
605
716
 
@@ -629,6 +740,15 @@ module Google
629
740
  class VariantCall
630
741
  include Google::Apis::Core::Hashable
631
742
 
743
+ # If this field is present, this variant call's genotype ordering implies
744
+ # the phase of the bases and is consistent with any other variant calls in
745
+ # the same reference sequence which have the same phaseset value.
746
+ # When importing data from VCF, if the genotype data was phased but no
747
+ # phase set was specified this field will be set to `*`.
748
+ # Corresponds to the JSON property `phaseset`
749
+ # @return [String]
750
+ attr_accessor :phaseset
751
+
632
752
  # A map of additional variant call information. This must be of the form
633
753
  # map<string, string[]> (string key mapping to a list of string values).
634
754
  # Corresponds to the JSON property `info`
@@ -671,27 +791,18 @@ module Google
671
791
  # @return [Array<Fixnum>]
672
792
  attr_accessor :genotype
673
793
 
674
- # If this field is present, this variant call's genotype ordering implies
675
- # the phase of the bases and is consistent with any other variant calls in
676
- # the same reference sequence which have the same phaseset value.
677
- # When importing data from VCF, if the genotype data was phased but no
678
- # phase set was specified this field will be set to `*`.
679
- # Corresponds to the JSON property `phaseset`
680
- # @return [String]
681
- attr_accessor :phaseset
682
-
683
794
  def initialize(**args)
684
795
  update!(**args)
685
796
  end
686
797
 
687
798
  # Update properties of this object
688
799
  def update!(**args)
800
+ @phaseset = args[:phaseset] if args.key?(:phaseset)
689
801
  @info = args[:info] if args.key?(:info)
690
802
  @call_set_name = args[:call_set_name] if args.key?(:call_set_name)
691
803
  @genotype_likelihood = args[:genotype_likelihood] if args.key?(:genotype_likelihood)
692
804
  @call_set_id = args[:call_set_id] if args.key?(:call_set_id)
693
805
  @genotype = args[:genotype] if args.key?(:genotype)
694
- @phaseset = args[:phaseset] if args.key?(:phaseset)
695
806
  end
696
807
  end
697
808
 
@@ -787,7 +898,7 @@ module Google
787
898
  # it may embed the `Status` in the normal response to indicate the partial
788
899
  # errors.
789
900
  # - Workflow errors. A typical workflow has multiple steps. Each step may
790
- # have a `Status` message for error reporting purpose.
901
+ # have a `Status` message for error reporting.
791
902
  # - Batch operations. If a client uses batch request and batch response, the
792
903
  # `Status` message should be used directly inside batch response, one for
793
904
  # each error sub-response.
@@ -799,12 +910,6 @@ module Google
799
910
  class Status
800
911
  include Google::Apis::Core::Hashable
801
912
 
802
- # A list of messages that carry the error details. There will be a
803
- # common set of message types for APIs to use.
804
- # Corresponds to the JSON property `details`
805
- # @return [Array<Hash<String,Object>>]
806
- attr_accessor :details
807
-
808
913
  # The status code, which should be an enum value of google.rpc.Code.
809
914
  # Corresponds to the JSON property `code`
810
915
  # @return [Fixnum]
@@ -817,15 +922,34 @@ module Google
817
922
  # @return [String]
818
923
  attr_accessor :message
819
924
 
925
+ # A list of messages that carry the error details. There will be a
926
+ # common set of message types for APIs to use.
927
+ # Corresponds to the JSON property `details`
928
+ # @return [Array<Hash<String,Object>>]
929
+ attr_accessor :details
930
+
820
931
  def initialize(**args)
821
932
  update!(**args)
822
933
  end
823
934
 
824
935
  # Update properties of this object
825
936
  def update!(**args)
826
- @details = args[:details] if args.key?(:details)
827
937
  @code = args[:code] if args.key?(:code)
828
938
  @message = args[:message] if args.key?(:message)
939
+ @details = args[:details] if args.key?(:details)
940
+ end
941
+ end
942
+
943
+ #
944
+ class UndeleteDatasetRequest
945
+ include Google::Apis::Core::Hashable
946
+
947
+ def initialize(**args)
948
+ update!(**args)
949
+ end
950
+
951
+ # Update properties of this object
952
+ def update!(**args)
829
953
  end
830
954
  end
831
955
 
@@ -869,29 +993,10 @@ module Google
869
993
  end
870
994
  end
871
995
 
872
- #
873
- class UndeleteDatasetRequest
874
- include Google::Apis::Core::Hashable
875
-
876
- def initialize(**args)
877
- update!(**args)
878
- end
879
-
880
- # Update properties of this object
881
- def update!(**args)
882
- end
883
- end
884
-
885
996
  # A 0-based half-open genomic coordinate range for search requests.
886
997
  class Range
887
998
  include Google::Apis::Core::Hashable
888
999
 
889
- # The reference sequence name, for example `chr1`,
890
- # `1`, or `chrX`.
891
- # Corresponds to the JSON property `referenceName`
892
- # @return [String]
893
- attr_accessor :reference_name
894
-
895
1000
  # The start position of the range on the reference, 0-based inclusive.
896
1001
  # Corresponds to the JSON property `start`
897
1002
  # @return [Fixnum]
@@ -902,15 +1007,21 @@ module Google
902
1007
  # @return [Fixnum]
903
1008
  attr_accessor :end
904
1009
 
1010
+ # The reference sequence name, for example `chr1`,
1011
+ # `1`, or `chrX`.
1012
+ # Corresponds to the JSON property `referenceName`
1013
+ # @return [String]
1014
+ attr_accessor :reference_name
1015
+
905
1016
  def initialize(**args)
906
1017
  update!(**args)
907
1018
  end
908
1019
 
909
1020
  # Update properties of this object
910
1021
  def update!(**args)
911
- @reference_name = args[:reference_name] if args.key?(:reference_name)
912
1022
  @start = args[:start] if args.key?(:start)
913
1023
  @end = args[:end] if args.key?(:end)
1024
+ @reference_name = args[:reference_name] if args.key?(:reference_name)
914
1025
  end
915
1026
  end
916
1027
 
@@ -921,22 +1032,6 @@ module Google
921
1032
  class VariantSet
922
1033
  include Google::Apis::Core::Hashable
923
1034
 
924
- # The metadata associated with this variant set.
925
- # Corresponds to the JSON property `metadata`
926
- # @return [Array<Google::Apis::GenomicsV1::VariantSetMetadata>]
927
- attr_accessor :metadata
928
-
929
- # A list of all references used by the variants in a variant set
930
- # with associated coordinate upper bounds for each one.
931
- # Corresponds to the JSON property `referenceBounds`
932
- # @return [Array<Google::Apis::GenomicsV1::ReferenceBound>]
933
- attr_accessor :reference_bounds
934
-
935
- # The server-generated variant set ID, unique across all variant sets.
936
- # Corresponds to the JSON property `id`
937
- # @return [String]
938
- attr_accessor :id
939
-
940
1035
  # A textual description of this variant set.
941
1036
  # Corresponds to the JSON property `description`
942
1037
  # @return [String]
@@ -965,37 +1060,47 @@ module Google
965
1060
  # @return [String]
966
1061
  attr_accessor :reference_set_id
967
1062
 
1063
+ # The metadata associated with this variant set.
1064
+ # Corresponds to the JSON property `metadata`
1065
+ # @return [Array<Google::Apis::GenomicsV1::VariantSetMetadata>]
1066
+ attr_accessor :metadata
1067
+
1068
+ # A list of all references used by the variants in a variant set
1069
+ # with associated coordinate upper bounds for each one.
1070
+ # Corresponds to the JSON property `referenceBounds`
1071
+ # @return [Array<Google::Apis::GenomicsV1::ReferenceBound>]
1072
+ attr_accessor :reference_bounds
1073
+
1074
+ # The server-generated variant set ID, unique across all variant sets.
1075
+ # Corresponds to the JSON property `id`
1076
+ # @return [String]
1077
+ attr_accessor :id
1078
+
968
1079
  def initialize(**args)
969
1080
  update!(**args)
970
1081
  end
971
1082
 
972
1083
  # Update properties of this object
973
1084
  def update!(**args)
974
- @metadata = args[:metadata] if args.key?(:metadata)
975
- @reference_bounds = args[:reference_bounds] if args.key?(:reference_bounds)
976
- @id = args[:id] if args.key?(:id)
977
1085
  @description = args[:description] if args.key?(:description)
978
1086
  @dataset_id = args[:dataset_id] if args.key?(:dataset_id)
979
1087
  @name = args[:name] if args.key?(:name)
980
1088
  @reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id)
1089
+ @metadata = args[:metadata] if args.key?(:metadata)
1090
+ @reference_bounds = args[:reference_bounds] if args.key?(:reference_bounds)
1091
+ @id = args[:id] if args.key?(:id)
981
1092
  end
982
1093
  end
983
1094
 
984
- # ReferenceBound records an upper bound for the starting coordinate of
985
- # variants in a particular reference.
986
- class ReferenceBound
1095
+ #
1096
+ class BatchCreateAnnotationsResponse
987
1097
  include Google::Apis::Core::Hashable
988
1098
 
989
- # The name of the reference associated with this reference bound.
990
- # Corresponds to the JSON property `referenceName`
991
- # @return [String]
992
- attr_accessor :reference_name
993
-
994
- # An upper bound (inclusive) on the starting coordinate of any
995
- # variant in the reference sequence.
996
- # Corresponds to the JSON property `upperBound`
997
- # @return [Fixnum]
998
- attr_accessor :upper_bound
1099
+ # The resulting per-annotation entries, ordered consistently with the
1100
+ # original request.
1101
+ # Corresponds to the JSON property `entries`
1102
+ # @return [Array<Google::Apis::GenomicsV1::Entry>]
1103
+ attr_accessor :entries
999
1104
 
1000
1105
  def initialize(**args)
1001
1106
  update!(**args)
@@ -1003,20 +1108,25 @@ module Google
1003
1108
 
1004
1109
  # Update properties of this object
1005
1110
  def update!(**args)
1006
- @reference_name = args[:reference_name] if args.key?(:reference_name)
1007
- @upper_bound = args[:upper_bound] if args.key?(:upper_bound)
1111
+ @entries = args[:entries] if args.key?(:entries)
1008
1112
  end
1009
1113
  end
1010
1114
 
1011
- #
1012
- class BatchCreateAnnotationsResponse
1115
+ # ReferenceBound records an upper bound for the starting coordinate of
1116
+ # variants in a particular reference.
1117
+ class ReferenceBound
1013
1118
  include Google::Apis::Core::Hashable
1014
1119
 
1015
- # The resulting per-annotation entries, ordered consistently with the
1016
- # original request.
1017
- # Corresponds to the JSON property `entries`
1018
- # @return [Array<Google::Apis::GenomicsV1::Entry>]
1019
- attr_accessor :entries
1120
+ # An upper bound (inclusive) on the starting coordinate of any
1121
+ # variant in the reference sequence.
1122
+ # Corresponds to the JSON property `upperBound`
1123
+ # @return [Fixnum]
1124
+ attr_accessor :upper_bound
1125
+
1126
+ # The name of the reference associated with this reference bound.
1127
+ # Corresponds to the JSON property `referenceName`
1128
+ # @return [String]
1129
+ attr_accessor :reference_name
1020
1130
 
1021
1131
  def initialize(**args)
1022
1132
  update!(**args)
@@ -1024,7 +1134,8 @@ module Google
1024
1134
 
1025
1135
  # Update properties of this object
1026
1136
  def update!(**args)
1027
- @entries = args[:entries] if args.key?(:entries)
1137
+ @upper_bound = args[:upper_bound] if args.key?(:upper_bound)
1138
+ @reference_name = args[:reference_name] if args.key?(:reference_name)
1028
1139
  end
1029
1140
  end
1030
1141
 
@@ -1066,48 +1177,6 @@ module Google
1066
1177
  class Variant
1067
1178
  include Google::Apis::Core::Hashable
1068
1179
 
1069
- # A map of additional variant information. This must be of the form
1070
- # map<string, string[]> (string key mapping to a list of string values).
1071
- # Corresponds to the JSON property `info`
1072
- # @return [Hash<String,Array<Object>>]
1073
- attr_accessor :info
1074
-
1075
- # The reference bases for this variant. They start at the given
1076
- # position.
1077
- # Corresponds to the JSON property `referenceBases`
1078
- # @return [String]
1079
- attr_accessor :reference_bases
1080
-
1081
- # The bases that appear instead of the reference bases.
1082
- # Corresponds to the JSON property `alternateBases`
1083
- # @return [Array<String>]
1084
- attr_accessor :alternate_bases
1085
-
1086
- # Names for the variant, for example a RefSNP ID.
1087
- # Corresponds to the JSON property `names`
1088
- # @return [Array<String>]
1089
- attr_accessor :names
1090
-
1091
- # The end position (0-based) of this variant. This corresponds to the first
1092
- # base after the last base in the reference allele. So, the length of
1093
- # the reference allele is (end - start). This is useful for variants
1094
- # that don't explicitly give alternate bases, for example large deletions.
1095
- # Corresponds to the JSON property `end`
1096
- # @return [Fixnum]
1097
- attr_accessor :end
1098
-
1099
- # A list of filters (normally quality filters) this variant has failed.
1100
- # `PASS` indicates this variant has passed all filters.
1101
- # Corresponds to the JSON property `filter`
1102
- # @return [Array<String>]
1103
- attr_accessor :filter
1104
-
1105
- # The variant calls for this particular variant. Each one represents the
1106
- # determination of genotype with respect to this variant.
1107
- # Corresponds to the JSON property `calls`
1108
- # @return [Array<Google::Apis::GenomicsV1::VariantCall>]
1109
- attr_accessor :calls
1110
-
1111
1180
  # The date this variant was created, in milliseconds from the epoch.
1112
1181
  # Corresponds to the JSON property `created`
1113
1182
  # @return [Fixnum]
@@ -1141,31 +1210,73 @@ module Google
1141
1210
  # @return [String]
1142
1211
  attr_accessor :reference_name
1143
1212
 
1144
- def initialize(**args)
1145
- update!(**args)
1146
- end
1147
-
1148
- # Update properties of this object
1149
- def update!(**args)
1150
- @info = args[:info] if args.key?(:info)
1151
- @reference_bases = args[:reference_bases] if args.key?(:reference_bases)
1152
- @alternate_bases = args[:alternate_bases] if args.key?(:alternate_bases)
1153
- @names = args[:names] if args.key?(:names)
1154
- @end = args[:end] if args.key?(:end)
1155
- @filter = args[:filter] if args.key?(:filter)
1156
- @calls = args[:calls] if args.key?(:calls)
1157
- @created = args[:created] if args.key?(:created)
1158
- @start = args[:start] if args.key?(:start)
1159
- @quality = args[:quality] if args.key?(:quality)
1160
- @id = args[:id] if args.key?(:id)
1161
- @variant_set_id = args[:variant_set_id] if args.key?(:variant_set_id)
1162
- @reference_name = args[:reference_name] if args.key?(:reference_name)
1163
- end
1164
- end
1213
+ # A map of additional variant information. This must be of the form
1214
+ # map<string, string[]> (string key mapping to a list of string values).
1215
+ # Corresponds to the JSON property `info`
1216
+ # @return [Hash<String,Array<Object>>]
1217
+ attr_accessor :info
1165
1218
 
1166
- # The call set search response.
1167
- class SearchCallSetsResponse
1168
- include Google::Apis::Core::Hashable
1219
+ # The reference bases for this variant. They start at the given
1220
+ # position.
1221
+ # Corresponds to the JSON property `referenceBases`
1222
+ # @return [String]
1223
+ attr_accessor :reference_bases
1224
+
1225
+ # Names for the variant, for example a RefSNP ID.
1226
+ # Corresponds to the JSON property `names`
1227
+ # @return [Array<String>]
1228
+ attr_accessor :names
1229
+
1230
+ # The bases that appear instead of the reference bases.
1231
+ # Corresponds to the JSON property `alternateBases`
1232
+ # @return [Array<String>]
1233
+ attr_accessor :alternate_bases
1234
+
1235
+ # A list of filters (normally quality filters) this variant has failed.
1236
+ # `PASS` indicates this variant has passed all filters.
1237
+ # Corresponds to the JSON property `filter`
1238
+ # @return [Array<String>]
1239
+ attr_accessor :filter
1240
+
1241
+ # The end position (0-based) of this variant. This corresponds to the first
1242
+ # base after the last base in the reference allele. So, the length of
1243
+ # the reference allele is (end - start). This is useful for variants
1244
+ # that don't explicitly give alternate bases, for example large deletions.
1245
+ # Corresponds to the JSON property `end`
1246
+ # @return [Fixnum]
1247
+ attr_accessor :end
1248
+
1249
+ # The variant calls for this particular variant. Each one represents the
1250
+ # determination of genotype with respect to this variant.
1251
+ # Corresponds to the JSON property `calls`
1252
+ # @return [Array<Google::Apis::GenomicsV1::VariantCall>]
1253
+ attr_accessor :calls
1254
+
1255
+ def initialize(**args)
1256
+ update!(**args)
1257
+ end
1258
+
1259
+ # Update properties of this object
1260
+ def update!(**args)
1261
+ @created = args[:created] if args.key?(:created)
1262
+ @start = args[:start] if args.key?(:start)
1263
+ @quality = args[:quality] if args.key?(:quality)
1264
+ @id = args[:id] if args.key?(:id)
1265
+ @variant_set_id = args[:variant_set_id] if args.key?(:variant_set_id)
1266
+ @reference_name = args[:reference_name] if args.key?(:reference_name)
1267
+ @info = args[:info] if args.key?(:info)
1268
+ @reference_bases = args[:reference_bases] if args.key?(:reference_bases)
1269
+ @names = args[:names] if args.key?(:names)
1270
+ @alternate_bases = args[:alternate_bases] if args.key?(:alternate_bases)
1271
+ @filter = args[:filter] if args.key?(:filter)
1272
+ @end = args[:end] if args.key?(:end)
1273
+ @calls = args[:calls] if args.key?(:calls)
1274
+ end
1275
+ end
1276
+
1277
+ # The call set search response.
1278
+ class SearchCallSetsResponse
1279
+ include Google::Apis::Core::Hashable
1169
1280
 
1170
1281
  # The continuation token, which is used to page through large result sets.
1171
1282
  # Provide this value in a subsequent request to return the next page of
@@ -1190,6 +1301,85 @@ module Google
1190
1301
  end
1191
1302
  end
1192
1303
 
1304
+ # The variant search request.
1305
+ class SearchVariantsRequest
1306
+ include Google::Apis::Core::Hashable
1307
+
1308
+ # Only return variant calls which belong to call sets with these ids.
1309
+ # Leaving this blank returns all variant calls. If a variant has no
1310
+ # calls belonging to any of these call sets, it won't be returned at all.
1311
+ # Corresponds to the JSON property `callSetIds`
1312
+ # @return [Array<String>]
1313
+ attr_accessor :call_set_ids
1314
+
1315
+ # Only return variants which have exactly this name.
1316
+ # Corresponds to the JSON property `variantName`
1317
+ # @return [String]
1318
+ attr_accessor :variant_name
1319
+
1320
+ # The beginning of the window (0-based, inclusive) for which
1321
+ # overlapping variants should be returned. If unspecified, defaults to 0.
1322
+ # Corresponds to the JSON property `start`
1323
+ # @return [Fixnum]
1324
+ attr_accessor :start
1325
+
1326
+ # Required. Only return variants in this reference sequence.
1327
+ # Corresponds to the JSON property `referenceName`
1328
+ # @return [String]
1329
+ attr_accessor :reference_name
1330
+
1331
+ # At most one variant set ID must be provided. Only variants from this
1332
+ # variant set will be returned. If omitted, a call set id must be included in
1333
+ # the request.
1334
+ # Corresponds to the JSON property `variantSetIds`
1335
+ # @return [Array<String>]
1336
+ attr_accessor :variant_set_ids
1337
+
1338
+ # The end of the window, 0-based exclusive. If unspecified or 0, defaults to
1339
+ # the length of the reference.
1340
+ # Corresponds to the JSON property `end`
1341
+ # @return [Fixnum]
1342
+ attr_accessor :end
1343
+
1344
+ # The continuation token, which is used to page through large result sets.
1345
+ # To get the next page of results, set this parameter to the value of
1346
+ # `nextPageToken` from the previous response.
1347
+ # Corresponds to the JSON property `pageToken`
1348
+ # @return [String]
1349
+ attr_accessor :page_token
1350
+
1351
+ # The maximum number of calls to return in a single page. Note that this
1352
+ # limit may be exceeded in the event that a matching variant contains more
1353
+ # calls than the requested maximum. If unspecified, defaults to 5000. The
1354
+ # maximum value is 10000.
1355
+ # Corresponds to the JSON property `maxCalls`
1356
+ # @return [Fixnum]
1357
+ attr_accessor :max_calls
1358
+
1359
+ # The maximum number of variants to return in a single page. If unspecified,
1360
+ # defaults to 5000. The maximum value is 10000.
1361
+ # Corresponds to the JSON property `pageSize`
1362
+ # @return [Fixnum]
1363
+ attr_accessor :page_size
1364
+
1365
+ def initialize(**args)
1366
+ update!(**args)
1367
+ end
1368
+
1369
+ # Update properties of this object
1370
+ def update!(**args)
1371
+ @call_set_ids = args[:call_set_ids] if args.key?(:call_set_ids)
1372
+ @variant_name = args[:variant_name] if args.key?(:variant_name)
1373
+ @start = args[:start] if args.key?(:start)
1374
+ @reference_name = args[:reference_name] if args.key?(:reference_name)
1375
+ @variant_set_ids = args[:variant_set_ids] if args.key?(:variant_set_ids)
1376
+ @end = args[:end] if args.key?(:end)
1377
+ @page_token = args[:page_token] if args.key?(:page_token)
1378
+ @max_calls = args[:max_calls] if args.key?(:max_calls)
1379
+ @page_size = args[:page_size] if args.key?(:page_size)
1380
+ end
1381
+ end
1382
+
1193
1383
  # Metadata describing an Operation.
1194
1384
  class OperationMetadata
1195
1385
  include Google::Apis::Core::Hashable
@@ -1205,11 +1395,6 @@ module Google
1205
1395
  # @return [String]
1206
1396
  attr_accessor :client_id
1207
1397
 
1208
- # The time at which the job stopped running.
1209
- # Corresponds to the JSON property `endTime`
1210
- # @return [String]
1211
- attr_accessor :end_time
1212
-
1213
1398
  # Optional event messages that were generated during the job's execution.
1214
1399
  # This also contains any warnings that were generated during import
1215
1400
  # or export.
@@ -1217,6 +1402,11 @@ module Google
1217
1402
  # @return [Array<Google::Apis::GenomicsV1::OperationEvent>]
1218
1403
  attr_accessor :events
1219
1404
 
1405
+ # The time at which the job stopped running.
1406
+ # Corresponds to the JSON property `endTime`
1407
+ # @return [String]
1408
+ attr_accessor :end_time
1409
+
1220
1410
  # The time at which the job began to run.
1221
1411
  # Corresponds to the JSON property `startTime`
1222
1412
  # @return [String]
@@ -1234,17 +1424,17 @@ module Google
1234
1424
  # @return [Hash<String,Object>]
1235
1425
  attr_accessor :runtime_metadata
1236
1426
 
1427
+ # The time at which the job was submitted to the Genomics service.
1428
+ # Corresponds to the JSON property `createTime`
1429
+ # @return [String]
1430
+ attr_accessor :create_time
1431
+
1237
1432
  # Optionally provided by the caller when submitting the request that creates
1238
1433
  # the operation.
1239
1434
  # Corresponds to the JSON property `labels`
1240
1435
  # @return [Hash<String,String>]
1241
1436
  attr_accessor :labels
1242
1437
 
1243
- # The time at which the job was submitted to the Genomics service.
1244
- # Corresponds to the JSON property `createTime`
1245
- # @return [String]
1246
- attr_accessor :create_time
1247
-
1248
1438
  def initialize(**args)
1249
1439
  update!(**args)
1250
1440
  end
@@ -1253,92 +1443,13 @@ module Google
1253
1443
  def update!(**args)
1254
1444
  @project_id = args[:project_id] if args.key?(:project_id)
1255
1445
  @client_id = args[:client_id] if args.key?(:client_id)
1256
- @end_time = args[:end_time] if args.key?(:end_time)
1257
1446
  @events = args[:events] if args.key?(:events)
1447
+ @end_time = args[:end_time] if args.key?(:end_time)
1258
1448
  @start_time = args[:start_time] if args.key?(:start_time)
1259
1449
  @request = args[:request] if args.key?(:request)
1260
1450
  @runtime_metadata = args[:runtime_metadata] if args.key?(:runtime_metadata)
1261
- @labels = args[:labels] if args.key?(:labels)
1262
1451
  @create_time = args[:create_time] if args.key?(:create_time)
1263
- end
1264
- end
1265
-
1266
- # The variant search request.
1267
- class SearchVariantsRequest
1268
- include Google::Apis::Core::Hashable
1269
-
1270
- # Required. Only return variants in this reference sequence.
1271
- # Corresponds to the JSON property `referenceName`
1272
- # @return [String]
1273
- attr_accessor :reference_name
1274
-
1275
- # At most one variant set ID must be provided. Only variants from this
1276
- # variant set will be returned. If omitted, a call set id must be included in
1277
- # the request.
1278
- # Corresponds to the JSON property `variantSetIds`
1279
- # @return [Array<String>]
1280
- attr_accessor :variant_set_ids
1281
-
1282
- # The end of the window, 0-based exclusive. If unspecified or 0, defaults to
1283
- # the length of the reference.
1284
- # Corresponds to the JSON property `end`
1285
- # @return [Fixnum]
1286
- attr_accessor :end
1287
-
1288
- # The continuation token, which is used to page through large result sets.
1289
- # To get the next page of results, set this parameter to the value of
1290
- # `nextPageToken` from the previous response.
1291
- # Corresponds to the JSON property `pageToken`
1292
- # @return [String]
1293
- attr_accessor :page_token
1294
-
1295
- # The maximum number of calls to return in a single page. Note that this
1296
- # limit may be exceeded in the event that a matching variant contains more
1297
- # calls than the requested maximum. If unspecified, defaults to 5000. The
1298
- # maximum value is 10000.
1299
- # Corresponds to the JSON property `maxCalls`
1300
- # @return [Fixnum]
1301
- attr_accessor :max_calls
1302
-
1303
- # The maximum number of variants to return in a single page. If unspecified,
1304
- # defaults to 5000. The maximum value is 10000.
1305
- # Corresponds to the JSON property `pageSize`
1306
- # @return [Fixnum]
1307
- attr_accessor :page_size
1308
-
1309
- # Only return variant calls which belong to call sets with these ids.
1310
- # Leaving this blank returns all variant calls. If a variant has no
1311
- # calls belonging to any of these call sets, it won't be returned at all.
1312
- # Corresponds to the JSON property `callSetIds`
1313
- # @return [Array<String>]
1314
- attr_accessor :call_set_ids
1315
-
1316
- # Only return variants which have exactly this name.
1317
- # Corresponds to the JSON property `variantName`
1318
- # @return [String]
1319
- attr_accessor :variant_name
1320
-
1321
- # The beginning of the window (0-based, inclusive) for which
1322
- # overlapping variants should be returned. If unspecified, defaults to 0.
1323
- # Corresponds to the JSON property `start`
1324
- # @return [Fixnum]
1325
- attr_accessor :start
1326
-
1327
- def initialize(**args)
1328
- update!(**args)
1329
- end
1330
-
1331
- # Update properties of this object
1332
- def update!(**args)
1333
- @reference_name = args[:reference_name] if args.key?(:reference_name)
1334
- @variant_set_ids = args[:variant_set_ids] if args.key?(:variant_set_ids)
1335
- @end = args[:end] if args.key?(:end)
1336
- @page_token = args[:page_token] if args.key?(:page_token)
1337
- @max_calls = args[:max_calls] if args.key?(:max_calls)
1338
- @page_size = args[:page_size] if args.key?(:page_size)
1339
- @call_set_ids = args[:call_set_ids] if args.key?(:call_set_ids)
1340
- @variant_name = args[:variant_name] if args.key?(:variant_name)
1341
- @start = args[:start] if args.key?(:start)
1452
+ @labels = args[:labels] if args.key?(:labels)
1342
1453
  end
1343
1454
  end
1344
1455
 
@@ -1411,31 +1522,24 @@ module Google
1411
1522
  end
1412
1523
  end
1413
1524
 
1414
- #
1415
- class ClinicalCondition
1525
+ # The read search response.
1526
+ class SearchReadsResponse
1416
1527
  include Google::Apis::Core::Hashable
1417
1528
 
1418
- # The OMIM id for this condition.
1419
- # Search for these IDs at http://omim.org/
1420
- # Corresponds to the JSON property `omimId`
1421
- # @return [String]
1422
- attr_accessor :omim_id
1423
-
1424
- # The set of external IDs for this condition.
1425
- # Corresponds to the JSON property `externalIds`
1426
- # @return [Array<Google::Apis::GenomicsV1::ExternalId>]
1427
- attr_accessor :external_ids
1529
+ # The list of matching alignments sorted by mapped genomic coordinate,
1530
+ # if any, ascending in position within the same reference. Unmapped reads,
1531
+ # which have no position, are returned contiguously and are sorted in
1532
+ # ascending lexicographic order by fragment name.
1533
+ # Corresponds to the JSON property `alignments`
1534
+ # @return [Array<Google::Apis::GenomicsV1::Read>]
1535
+ attr_accessor :alignments
1428
1536
 
1429
- # The MedGen concept id associated with this gene.
1430
- # Search for these IDs at http://www.ncbi.nlm.nih.gov/medgen/
1431
- # Corresponds to the JSON property `conceptId`
1537
+ # The continuation token, which is used to page through large result sets.
1538
+ # Provide this value in a subsequent request to return the next page of
1539
+ # results. This field will be empty if there aren't any additional results.
1540
+ # Corresponds to the JSON property `nextPageToken`
1432
1541
  # @return [String]
1433
- attr_accessor :concept_id
1434
-
1435
- # A set of names for the condition.
1436
- # Corresponds to the JSON property `names`
1437
- # @return [Array<String>]
1438
- attr_accessor :names
1542
+ attr_accessor :next_page_token
1439
1543
 
1440
1544
  def initialize(**args)
1441
1545
  update!(**args)
@@ -1443,31 +1547,36 @@ module Google
1443
1547
 
1444
1548
  # Update properties of this object
1445
1549
  def update!(**args)
1446
- @omim_id = args[:omim_id] if args.key?(:omim_id)
1447
- @external_ids = args[:external_ids] if args.key?(:external_ids)
1448
- @concept_id = args[:concept_id] if args.key?(:concept_id)
1449
- @names = args[:names] if args.key?(:names)
1550
+ @alignments = args[:alignments] if args.key?(:alignments)
1551
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1450
1552
  end
1451
1553
  end
1452
1554
 
1453
- # The read search response.
1454
- class SearchReadsResponse
1555
+ #
1556
+ class ClinicalCondition
1455
1557
  include Google::Apis::Core::Hashable
1456
1558
 
1457
- # The continuation token, which is used to page through large result sets.
1458
- # Provide this value in a subsequent request to return the next page of
1459
- # results. This field will be empty if there aren't any additional results.
1460
- # Corresponds to the JSON property `nextPageToken`
1559
+ # The MedGen concept id associated with this gene.
1560
+ # Search for these IDs at http://www.ncbi.nlm.nih.gov/medgen/
1561
+ # Corresponds to the JSON property `conceptId`
1562
+ # @return [String]
1563
+ attr_accessor :concept_id
1564
+
1565
+ # A set of names for the condition.
1566
+ # Corresponds to the JSON property `names`
1567
+ # @return [Array<String>]
1568
+ attr_accessor :names
1569
+
1570
+ # The OMIM id for this condition.
1571
+ # Search for these IDs at http://omim.org/
1572
+ # Corresponds to the JSON property `omimId`
1461
1573
  # @return [String]
1462
- attr_accessor :next_page_token
1574
+ attr_accessor :omim_id
1463
1575
 
1464
- # The list of matching alignments sorted by mapped genomic coordinate,
1465
- # if any, ascending in position within the same reference. Unmapped reads,
1466
- # which have no position, are returned contiguously and are sorted in
1467
- # ascending lexicographic order by fragment name.
1468
- # Corresponds to the JSON property `alignments`
1469
- # @return [Array<Google::Apis::GenomicsV1::Read>]
1470
- attr_accessor :alignments
1576
+ # The set of external IDs for this condition.
1577
+ # Corresponds to the JSON property `externalIds`
1578
+ # @return [Array<Google::Apis::GenomicsV1::ExternalId>]
1579
+ attr_accessor :external_ids
1471
1580
 
1472
1581
  def initialize(**args)
1473
1582
  update!(**args)
@@ -1475,8 +1584,10 @@ module Google
1475
1584
 
1476
1585
  # Update properties of this object
1477
1586
  def update!(**args)
1478
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1479
- @alignments = args[:alignments] if args.key?(:alignments)
1587
+ @concept_id = args[:concept_id] if args.key?(:concept_id)
1588
+ @names = args[:names] if args.key?(:names)
1589
+ @omim_id = args[:omim_id] if args.key?(:omim_id)
1590
+ @external_ids = args[:external_ids] if args.key?(:external_ids)
1480
1591
  end
1481
1592
  end
1482
1593
 
@@ -1484,16 +1595,6 @@ module Google
1484
1595
  class Program
1485
1596
  include Google::Apis::Core::Hashable
1486
1597
 
1487
- # The command line used to run this program.
1488
- # Corresponds to the JSON property `commandLine`
1489
- # @return [String]
1490
- attr_accessor :command_line
1491
-
1492
- # The ID of the program run before this one.
1493
- # Corresponds to the JSON property `prevProgramId`
1494
- # @return [String]
1495
- attr_accessor :prev_program_id
1496
-
1497
1598
  # The user specified locally unique ID of the program. Used along with
1498
1599
  # `prevProgramId` to define an ordering between programs.
1499
1600
  # Corresponds to the JSON property `id`
@@ -1511,44 +1612,15 @@ module Google
1511
1612
  # @return [String]
1512
1613
  attr_accessor :name
1513
1614
 
1514
- def initialize(**args)
1515
- update!(**args)
1516
- end
1517
-
1518
- # Update properties of this object
1519
- def update!(**args)
1520
- @command_line = args[:command_line] if args.key?(:command_line)
1521
- @prev_program_id = args[:prev_program_id] if args.key?(:prev_program_id)
1522
- @id = args[:id] if args.key?(:id)
1523
- @version = args[:version] if args.key?(:version)
1524
- @name = args[:name] if args.key?(:name)
1525
- end
1526
- end
1527
-
1528
- # Describes a Compute Engine resource that is being managed by a running
1529
- # pipeline.
1530
- class ComputeEngine
1531
- include Google::Apis::Core::Hashable
1532
-
1533
- # The machine type of the instance.
1534
- # Corresponds to the JSON property `machineType`
1535
- # @return [String]
1536
- attr_accessor :machine_type
1537
-
1538
- # The names of the disks that were created for this pipeline.
1539
- # Corresponds to the JSON property `diskNames`
1540
- # @return [Array<String>]
1541
- attr_accessor :disk_names
1542
-
1543
- # The instance on which the operation is running.
1544
- # Corresponds to the JSON property `instanceName`
1615
+ # The command line used to run this program.
1616
+ # Corresponds to the JSON property `commandLine`
1545
1617
  # @return [String]
1546
- attr_accessor :instance_name
1618
+ attr_accessor :command_line
1547
1619
 
1548
- # The availability zone in which the instance resides.
1549
- # Corresponds to the JSON property `zone`
1620
+ # The ID of the program run before this one.
1621
+ # Corresponds to the JSON property `prevProgramId`
1550
1622
  # @return [String]
1551
- attr_accessor :zone
1623
+ attr_accessor :prev_program_id
1552
1624
 
1553
1625
  def initialize(**args)
1554
1626
  update!(**args)
@@ -1556,10 +1628,11 @@ module Google
1556
1628
 
1557
1629
  # Update properties of this object
1558
1630
  def update!(**args)
1559
- @machine_type = args[:machine_type] if args.key?(:machine_type)
1560
- @disk_names = args[:disk_names] if args.key?(:disk_names)
1561
- @instance_name = args[:instance_name] if args.key?(:instance_name)
1562
- @zone = args[:zone] if args.key?(:zone)
1631
+ @id = args[:id] if args.key?(:id)
1632
+ @version = args[:version] if args.key?(:version)
1633
+ @name = args[:name] if args.key?(:name)
1634
+ @command_line = args[:command_line] if args.key?(:command_line)
1635
+ @prev_program_id = args[:prev_program_id] if args.key?(:prev_program_id)
1563
1636
  end
1564
1637
  end
1565
1638
 
@@ -1590,6 +1663,44 @@ module Google
1590
1663
  end
1591
1664
  end
1592
1665
 
1666
+ # Describes a Compute Engine resource that is being managed by a running
1667
+ # pipeline.
1668
+ class ComputeEngine
1669
+ include Google::Apis::Core::Hashable
1670
+
1671
+ # The instance on which the operation is running.
1672
+ # Corresponds to the JSON property `instanceName`
1673
+ # @return [String]
1674
+ attr_accessor :instance_name
1675
+
1676
+ # The availability zone in which the instance resides.
1677
+ # Corresponds to the JSON property `zone`
1678
+ # @return [String]
1679
+ attr_accessor :zone
1680
+
1681
+ # The machine type of the instance.
1682
+ # Corresponds to the JSON property `machineType`
1683
+ # @return [String]
1684
+ attr_accessor :machine_type
1685
+
1686
+ # The names of the disks that were created for this pipeline.
1687
+ # Corresponds to the JSON property `diskNames`
1688
+ # @return [Array<String>]
1689
+ attr_accessor :disk_names
1690
+
1691
+ def initialize(**args)
1692
+ update!(**args)
1693
+ end
1694
+
1695
+ # Update properties of this object
1696
+ def update!(**args)
1697
+ @instance_name = args[:instance_name] if args.key?(:instance_name)
1698
+ @zone = args[:zone] if args.key?(:zone)
1699
+ @machine_type = args[:machine_type] if args.key?(:machine_type)
1700
+ @disk_names = args[:disk_names] if args.key?(:disk_names)
1701
+ end
1702
+ end
1703
+
1593
1704
  #
1594
1705
  class ExternalId
1595
1706
  include Google::Apis::Core::Hashable
@@ -1615,28 +1726,53 @@ module Google
1615
1726
  end
1616
1727
  end
1617
1728
 
1618
- # The search variant sets request.
1619
- class SearchVariantSetsRequest
1729
+ # A reference is a canonical assembled DNA sequence, intended to act as a
1730
+ # reference coordinate space for other genomic annotations. A single reference
1731
+ # might represent the human chromosome 1 or mitochandrial DNA, for instance. A
1732
+ # reference belongs to one or more reference sets.
1733
+ # For more genomics resource definitions, see [Fundamentals of Google
1734
+ # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
1735
+ class Reference
1620
1736
  include Google::Apis::Core::Hashable
1621
1737
 
1622
- # The continuation token, which is used to page through large result sets.
1623
- # To get the next page of results, set this parameter to the value of
1624
- # `nextPageToken` from the previous response.
1625
- # Corresponds to the JSON property `pageToken`
1738
+ # The URI from which the sequence was obtained. Typically specifies a FASTA
1739
+ # format file.
1740
+ # Corresponds to the JSON property `sourceUri`
1626
1741
  # @return [String]
1627
- attr_accessor :page_token
1742
+ attr_accessor :source_uri
1628
1743
 
1629
- # The maximum number of results to return in a single page. If unspecified,
1630
- # defaults to 1024.
1631
- # Corresponds to the JSON property `pageSize`
1744
+ # ID from http://www.ncbi.nlm.nih.gov/taxonomy. For example, 9606 for human.
1745
+ # Corresponds to the JSON property `ncbiTaxonId`
1632
1746
  # @return [Fixnum]
1633
- attr_accessor :page_size
1747
+ attr_accessor :ncbi_taxon_id
1634
1748
 
1635
- # Exactly one dataset ID must be provided here. Only variant sets which
1636
- # belong to this dataset will be returned.
1637
- # Corresponds to the JSON property `datasetIds`
1749
+ # The name of this reference, for example `22`.
1750
+ # Corresponds to the JSON property `name`
1751
+ # @return [String]
1752
+ attr_accessor :name
1753
+
1754
+ # MD5 of the upper-case sequence excluding all whitespace characters (this
1755
+ # is equivalent to SQ:M5 in SAM). This value is represented in lower case
1756
+ # hexadecimal format.
1757
+ # Corresponds to the JSON property `md5checksum`
1758
+ # @return [String]
1759
+ attr_accessor :md5checksum
1760
+
1761
+ # The server-generated reference ID, unique across all references.
1762
+ # Corresponds to the JSON property `id`
1763
+ # @return [String]
1764
+ attr_accessor :id
1765
+
1766
+ # The length of this reference's sequence.
1767
+ # Corresponds to the JSON property `length`
1768
+ # @return [Fixnum]
1769
+ attr_accessor :length
1770
+
1771
+ # All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally
1772
+ # with a version number, for example `GCF_000001405.26`.
1773
+ # Corresponds to the JSON property `sourceAccessions`
1638
1774
  # @return [Array<String>]
1639
- attr_accessor :dataset_ids
1775
+ attr_accessor :source_accessions
1640
1776
 
1641
1777
  def initialize(**args)
1642
1778
  update!(**args)
@@ -1644,9 +1780,13 @@ module Google
1644
1780
 
1645
1781
  # Update properties of this object
1646
1782
  def update!(**args)
1647
- @page_token = args[:page_token] if args.key?(:page_token)
1648
- @page_size = args[:page_size] if args.key?(:page_size)
1649
- @dataset_ids = args[:dataset_ids] if args.key?(:dataset_ids)
1783
+ @source_uri = args[:source_uri] if args.key?(:source_uri)
1784
+ @ncbi_taxon_id = args[:ncbi_taxon_id] if args.key?(:ncbi_taxon_id)
1785
+ @name = args[:name] if args.key?(:name)
1786
+ @md5checksum = args[:md5checksum] if args.key?(:md5checksum)
1787
+ @id = args[:id] if args.key?(:id)
1788
+ @length = args[:length] if args.key?(:length)
1789
+ @source_accessions = args[:source_accessions] if args.key?(:source_accessions)
1650
1790
  end
1651
1791
  end
1652
1792
 
@@ -1657,18 +1797,18 @@ module Google
1657
1797
  class VariantSetMetadata
1658
1798
  include Google::Apis::Core::Hashable
1659
1799
 
1660
- # Remaining structured metadata key-value pairs. This must be of the form
1661
- # map<string, string[]> (string key mapping to a list of string values).
1662
- # Corresponds to the JSON property `info`
1663
- # @return [Hash<String,Array<Object>>]
1664
- attr_accessor :info
1665
-
1666
1800
  # The type of data. Possible types include: Integer, Float,
1667
1801
  # Flag, Character, and String.
1668
1802
  # Corresponds to the JSON property `type`
1669
1803
  # @return [String]
1670
1804
  attr_accessor :type
1671
1805
 
1806
+ # Remaining structured metadata key-value pairs. This must be of the form
1807
+ # map<string, string[]> (string key mapping to a list of string values).
1808
+ # Corresponds to the JSON property `info`
1809
+ # @return [Hash<String,Array<Object>>]
1810
+ attr_accessor :info
1811
+
1672
1812
  # The value field for simple metadata
1673
1813
  # Corresponds to the JSON property `value`
1674
1814
  # @return [String]
@@ -1703,8 +1843,8 @@ module Google
1703
1843
 
1704
1844
  # Update properties of this object
1705
1845
  def update!(**args)
1706
- @info = args[:info] if args.key?(:info)
1707
1846
  @type = args[:type] if args.key?(:type)
1847
+ @info = args[:info] if args.key?(:info)
1708
1848
  @value = args[:value] if args.key?(:value)
1709
1849
  @id = args[:id] if args.key?(:id)
1710
1850
  @number = args[:number] if args.key?(:number)
@@ -1713,53 +1853,28 @@ module Google
1713
1853
  end
1714
1854
  end
1715
1855
 
1716
- # A reference is a canonical assembled DNA sequence, intended to act as a
1717
- # reference coordinate space for other genomic annotations. A single reference
1718
- # might represent the human chromosome 1 or mitochandrial DNA, for instance. A
1719
- # reference belongs to one or more reference sets.
1720
- # For more genomics resource definitions, see [Fundamentals of Google
1721
- # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
1722
- class Reference
1856
+ # The search variant sets request.
1857
+ class SearchVariantSetsRequest
1723
1858
  include Google::Apis::Core::Hashable
1724
1859
 
1725
- # All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally
1726
- # with a version number, for example `GCF_000001405.26`.
1727
- # Corresponds to the JSON property `sourceAccessions`
1860
+ # Exactly one dataset ID must be provided here. Only variant sets which
1861
+ # belong to this dataset will be returned.
1862
+ # Corresponds to the JSON property `datasetIds`
1728
1863
  # @return [Array<String>]
1729
- attr_accessor :source_accessions
1730
-
1731
- # ID from http://www.ncbi.nlm.nih.gov/taxonomy. For example, 9606 for human.
1732
- # Corresponds to the JSON property `ncbiTaxonId`
1733
- # @return [Fixnum]
1734
- attr_accessor :ncbi_taxon_id
1735
-
1736
- # The URI from which the sequence was obtained. Typically specifies a FASTA
1737
- # format file.
1738
- # Corresponds to the JSON property `sourceUri`
1739
- # @return [String]
1740
- attr_accessor :source_uri
1741
-
1742
- # The name of this reference, for example `22`.
1743
- # Corresponds to the JSON property `name`
1744
- # @return [String]
1745
- attr_accessor :name
1746
-
1747
- # MD5 of the upper-case sequence excluding all whitespace characters (this
1748
- # is equivalent to SQ:M5 in SAM). This value is represented in lower case
1749
- # hexadecimal format.
1750
- # Corresponds to the JSON property `md5checksum`
1751
- # @return [String]
1752
- attr_accessor :md5checksum
1864
+ attr_accessor :dataset_ids
1753
1865
 
1754
- # The server-generated reference ID, unique across all references.
1755
- # Corresponds to the JSON property `id`
1866
+ # The continuation token, which is used to page through large result sets.
1867
+ # To get the next page of results, set this parameter to the value of
1868
+ # `nextPageToken` from the previous response.
1869
+ # Corresponds to the JSON property `pageToken`
1756
1870
  # @return [String]
1757
- attr_accessor :id
1871
+ attr_accessor :page_token
1758
1872
 
1759
- # The length of this reference's sequence.
1760
- # Corresponds to the JSON property `length`
1873
+ # The maximum number of results to return in a single page. If unspecified,
1874
+ # defaults to 1024.
1875
+ # Corresponds to the JSON property `pageSize`
1761
1876
  # @return [Fixnum]
1762
- attr_accessor :length
1877
+ attr_accessor :page_size
1763
1878
 
1764
1879
  def initialize(**args)
1765
1880
  update!(**args)
@@ -1767,13 +1882,9 @@ module Google
1767
1882
 
1768
1883
  # Update properties of this object
1769
1884
  def update!(**args)
1770
- @source_accessions = args[:source_accessions] if args.key?(:source_accessions)
1771
- @ncbi_taxon_id = args[:ncbi_taxon_id] if args.key?(:ncbi_taxon_id)
1772
- @source_uri = args[:source_uri] if args.key?(:source_uri)
1773
- @name = args[:name] if args.key?(:name)
1774
- @md5checksum = args[:md5checksum] if args.key?(:md5checksum)
1775
- @id = args[:id] if args.key?(:id)
1776
- @length = args[:length] if args.key?(:length)
1885
+ @dataset_ids = args[:dataset_ids] if args.key?(:dataset_ids)
1886
+ @page_token = args[:page_token] if args.key?(:page_token)
1887
+ @page_size = args[:page_size] if args.key?(:page_size)
1777
1888
  end
1778
1889
  end
1779
1890
 
@@ -1781,12 +1892,6 @@ module Google
1781
1892
  class SearchReferenceSetsRequest
1782
1893
  include Google::Apis::Core::Hashable
1783
1894
 
1784
- # If present, return reference sets for which a substring of their
1785
- # `assemblyId` matches this string (case insensitive).
1786
- # Corresponds to the JSON property `assemblyId`
1787
- # @return [String]
1788
- attr_accessor :assembly_id
1789
-
1790
1895
  # If present, return reference sets for which the
1791
1896
  # md5checksum matches exactly.
1792
1897
  # Corresponds to the JSON property `md5checksums`
@@ -1814,17 +1919,23 @@ module Google
1814
1919
  # @return [Fixnum]
1815
1920
  attr_accessor :page_size
1816
1921
 
1922
+ # If present, return reference sets for which a substring of their
1923
+ # `assemblyId` matches this string (case insensitive).
1924
+ # Corresponds to the JSON property `assemblyId`
1925
+ # @return [String]
1926
+ attr_accessor :assembly_id
1927
+
1817
1928
  def initialize(**args)
1818
1929
  update!(**args)
1819
1930
  end
1820
1931
 
1821
1932
  # Update properties of this object
1822
1933
  def update!(**args)
1823
- @assembly_id = args[:assembly_id] if args.key?(:assembly_id)
1824
1934
  @md5checksums = args[:md5checksums] if args.key?(:md5checksums)
1825
1935
  @accessions = args[:accessions] if args.key?(:accessions)
1826
1936
  @page_token = args[:page_token] if args.key?(:page_token)
1827
1937
  @page_size = args[:page_size] if args.key?(:page_size)
1938
+ @assembly_id = args[:assembly_id] if args.key?(:assembly_id)
1828
1939
  end
1829
1940
  end
1830
1941
 
@@ -1876,11 +1987,6 @@ module Google
1876
1987
  class MergeVariantsRequest
1877
1988
  include Google::Apis::Core::Hashable
1878
1989
 
1879
- # The variants to be merged with existing variants.
1880
- # Corresponds to the JSON property `variants`
1881
- # @return [Array<Google::Apis::GenomicsV1::Variant>]
1882
- attr_accessor :variants
1883
-
1884
1990
  # A mapping between info field keys and the InfoMergeOperations to
1885
1991
  # be performed on them.
1886
1992
  # Corresponds to the JSON property `infoMergeConfig`
@@ -1892,15 +1998,20 @@ module Google
1892
1998
  # @return [String]
1893
1999
  attr_accessor :variant_set_id
1894
2000
 
2001
+ # The variants to be merged with existing variants.
2002
+ # Corresponds to the JSON property `variants`
2003
+ # @return [Array<Google::Apis::GenomicsV1::Variant>]
2004
+ attr_accessor :variants
2005
+
1895
2006
  def initialize(**args)
1896
2007
  update!(**args)
1897
2008
  end
1898
2009
 
1899
2010
  # Update properties of this object
1900
2011
  def update!(**args)
1901
- @variants = args[:variants] if args.key?(:variants)
1902
2012
  @info_merge_config = args[:info_merge_config] if args.key?(:info_merge_config)
1903
2013
  @variant_set_id = args[:variant_set_id] if args.key?(:variant_set_id)
2014
+ @variants = args[:variants] if args.key?(:variants)
1904
2015
  end
1905
2016
  end
1906
2017
 
@@ -1979,50 +2090,12 @@ module Google
1979
2090
  class Read
1980
2091
  include Google::Apis::Core::Hashable
1981
2092
 
1982
- # The fragment is a PCR or optical duplicate (SAM flag 0x400).
1983
- # Corresponds to the JSON property `duplicateFragment`
2093
+ # The orientation and the distance between reads from the fragment are
2094
+ # consistent with the sequencing protocol (SAM flag 0x2).
2095
+ # Corresponds to the JSON property `properPlacement`
1984
2096
  # @return [Boolean]
1985
- attr_accessor :duplicate_fragment
1986
- alias_method :duplicate_fragment?, :duplicate_fragment
1987
-
1988
- # The read number in sequencing. 0-based and less than numberReads. This
1989
- # field replaces SAM flag 0x40 and 0x80.
1990
- # Corresponds to the JSON property `readNumber`
1991
- # @return [Fixnum]
1992
- attr_accessor :read_number
1993
-
1994
- # The ID of the read group this read belongs to. A read belongs to exactly
1995
- # one read group. This is a server-generated ID which is distinct from SAM's
1996
- # RG tag (for that value, see
1997
- # ReadGroup.name).
1998
- # Corresponds to the JSON property `readGroupId`
1999
- # @return [String]
2000
- attr_accessor :read_group_id
2001
-
2002
- # The bases of the read sequence contained in this alignment record,
2003
- # **without CIGAR operations applied** (equivalent to SEQ in SAM).
2004
- # `alignedSequence` and `alignedQuality` may be
2005
- # shorter than the full read sequence and quality. This will occur if the
2006
- # alignment is part of a chimeric alignment, or if the read was trimmed. When
2007
- # this occurs, the CIGAR for this read will begin/end with a hard clip
2008
- # operator that will indicate the length of the excised sequence.
2009
- # Corresponds to the JSON property `alignedSequence`
2010
- # @return [String]
2011
- attr_accessor :aligned_sequence
2012
-
2013
- # A map of additional read alignment information. This must be of the form
2014
- # map<string, string[]> (string key mapping to a list of string values).
2015
- # Corresponds to the JSON property `info`
2016
- # @return [Hash<String,Array<Object>>]
2017
- attr_accessor :info
2018
-
2019
- # An abstraction for referring to a genomic position, in relation to some
2020
- # already known reference. For now, represents a genomic position as a
2021
- # reference name, a base number on that reference (0-based), and a
2022
- # determination of forward or reverse strand.
2023
- # Corresponds to the JSON property `nextMatePosition`
2024
- # @return [Google::Apis::GenomicsV1::Position]
2025
- attr_accessor :next_mate_position
2097
+ attr_accessor :proper_placement
2098
+ alias_method :proper_placement?, :proper_placement
2026
2099
 
2027
2100
  # Whether this alignment is supplementary. Equivalent to SAM flag 0x800.
2028
2101
  # Supplementary alignments are used in the representation of a chimeric
@@ -2040,13 +2113,6 @@ module Google
2040
2113
  attr_accessor :supplementary_alignment
2041
2114
  alias_method :supplementary_alignment?, :supplementary_alignment
2042
2115
 
2043
- # The orientation and the distance between reads from the fragment are
2044
- # consistent with the sequencing protocol (SAM flag 0x2).
2045
- # Corresponds to the JSON property `properPlacement`
2046
- # @return [Boolean]
2047
- attr_accessor :proper_placement
2048
- alias_method :proper_placement?, :proper_placement
2049
-
2050
2116
  # The observed length of the fragment, equivalent to TLEN in SAM.
2051
2117
  # Corresponds to the JSON property `fragmentLength`
2052
2118
  # @return [Fixnum]
@@ -2076,17 +2142,17 @@ module Google
2076
2142
  # @return [Google::Apis::GenomicsV1::LinearAlignment]
2077
2143
  attr_accessor :alignment
2078
2144
 
2145
+ # The number of reads in the fragment (extension to SAM flag 0x1).
2146
+ # Corresponds to the JSON property `numberReads`
2147
+ # @return [Fixnum]
2148
+ attr_accessor :number_reads
2149
+
2079
2150
  # The server-generated read ID, unique across all reads. This is different
2080
2151
  # from the `fragmentName`.
2081
2152
  # Corresponds to the JSON property `id`
2082
2153
  # @return [String]
2083
2154
  attr_accessor :id
2084
2155
 
2085
- # The number of reads in the fragment (extension to SAM flag 0x1).
2086
- # Corresponds to the JSON property `numberReads`
2087
- # @return [Fixnum]
2088
- attr_accessor :number_reads
2089
-
2090
2156
  # Whether this alignment is secondary. Equivalent to SAM flag 0x100.
2091
2157
  # A secondary alignment represents an alternative to the primary alignment
2092
2158
  # for this read. Aligners may return secondary alignments if a read can map
@@ -2109,29 +2175,74 @@ module Google
2109
2175
  # @return [String]
2110
2176
  attr_accessor :read_group_set_id
2111
2177
 
2178
+ # The fragment is a PCR or optical duplicate (SAM flag 0x400).
2179
+ # Corresponds to the JSON property `duplicateFragment`
2180
+ # @return [Boolean]
2181
+ attr_accessor :duplicate_fragment
2182
+ alias_method :duplicate_fragment?, :duplicate_fragment
2183
+
2184
+ # The read number in sequencing. 0-based and less than numberReads. This
2185
+ # field replaces SAM flag 0x40 and 0x80.
2186
+ # Corresponds to the JSON property `readNumber`
2187
+ # @return [Fixnum]
2188
+ attr_accessor :read_number
2189
+
2190
+ # The bases of the read sequence contained in this alignment record,
2191
+ # **without CIGAR operations applied** (equivalent to SEQ in SAM).
2192
+ # `alignedSequence` and `alignedQuality` may be
2193
+ # shorter than the full read sequence and quality. This will occur if the
2194
+ # alignment is part of a chimeric alignment, or if the read was trimmed. When
2195
+ # this occurs, the CIGAR for this read will begin/end with a hard clip
2196
+ # operator that will indicate the length of the excised sequence.
2197
+ # Corresponds to the JSON property `alignedSequence`
2198
+ # @return [String]
2199
+ attr_accessor :aligned_sequence
2200
+
2201
+ # The ID of the read group this read belongs to. A read belongs to exactly
2202
+ # one read group. This is a server-generated ID which is distinct from SAM's
2203
+ # RG tag (for that value, see
2204
+ # ReadGroup.name).
2205
+ # Corresponds to the JSON property `readGroupId`
2206
+ # @return [String]
2207
+ attr_accessor :read_group_id
2208
+
2209
+ # An abstraction for referring to a genomic position, in relation to some
2210
+ # already known reference. For now, represents a genomic position as a
2211
+ # reference name, a base number on that reference (0-based), and a
2212
+ # determination of forward or reverse strand.
2213
+ # Corresponds to the JSON property `nextMatePosition`
2214
+ # @return [Google::Apis::GenomicsV1::Position]
2215
+ attr_accessor :next_mate_position
2216
+
2217
+ # A map of additional read alignment information. This must be of the form
2218
+ # map<string, string[]> (string key mapping to a list of string values).
2219
+ # Corresponds to the JSON property `info`
2220
+ # @return [Hash<String,Array<Object>>]
2221
+ attr_accessor :info
2222
+
2112
2223
  def initialize(**args)
2113
2224
  update!(**args)
2114
2225
  end
2115
2226
 
2116
2227
  # Update properties of this object
2117
2228
  def update!(**args)
2118
- @duplicate_fragment = args[:duplicate_fragment] if args.key?(:duplicate_fragment)
2119
- @read_number = args[:read_number] if args.key?(:read_number)
2120
- @read_group_id = args[:read_group_id] if args.key?(:read_group_id)
2121
- @aligned_sequence = args[:aligned_sequence] if args.key?(:aligned_sequence)
2122
- @info = args[:info] if args.key?(:info)
2123
- @next_mate_position = args[:next_mate_position] if args.key?(:next_mate_position)
2124
- @supplementary_alignment = args[:supplementary_alignment] if args.key?(:supplementary_alignment)
2125
2229
  @proper_placement = args[:proper_placement] if args.key?(:proper_placement)
2230
+ @supplementary_alignment = args[:supplementary_alignment] if args.key?(:supplementary_alignment)
2126
2231
  @fragment_length = args[:fragment_length] if args.key?(:fragment_length)
2127
2232
  @failed_vendor_quality_checks = args[:failed_vendor_quality_checks] if args.key?(:failed_vendor_quality_checks)
2128
2233
  @aligned_quality = args[:aligned_quality] if args.key?(:aligned_quality)
2129
2234
  @alignment = args[:alignment] if args.key?(:alignment)
2130
- @id = args[:id] if args.key?(:id)
2131
2235
  @number_reads = args[:number_reads] if args.key?(:number_reads)
2236
+ @id = args[:id] if args.key?(:id)
2132
2237
  @secondary_alignment = args[:secondary_alignment] if args.key?(:secondary_alignment)
2133
2238
  @fragment_name = args[:fragment_name] if args.key?(:fragment_name)
2134
2239
  @read_group_set_id = args[:read_group_set_id] if args.key?(:read_group_set_id)
2240
+ @duplicate_fragment = args[:duplicate_fragment] if args.key?(:duplicate_fragment)
2241
+ @read_number = args[:read_number] if args.key?(:read_number)
2242
+ @aligned_sequence = args[:aligned_sequence] if args.key?(:aligned_sequence)
2243
+ @read_group_id = args[:read_group_id] if args.key?(:read_group_id)
2244
+ @next_mate_position = args[:next_mate_position] if args.key?(:next_mate_position)
2245
+ @info = args[:info] if args.key?(:info)
2135
2246
  end
2136
2247
  end
2137
2248
 
@@ -2171,6 +2282,11 @@ module Google
2171
2282
  class CigarUnit
2172
2283
  include Google::Apis::Core::Hashable
2173
2284
 
2285
+ #
2286
+ # Corresponds to the JSON property `operation`
2287
+ # @return [String]
2288
+ attr_accessor :operation
2289
+
2174
2290
  # `referenceSequence` is only used at mismatches
2175
2291
  # (`SEQUENCE_MISMATCH`) and deletions (`DELETE`).
2176
2292
  # Filling this field replaces SAM's MD tag. If the relevant information is
@@ -2184,20 +2300,15 @@ module Google
2184
2300
  # @return [Fixnum]
2185
2301
  attr_accessor :operation_length
2186
2302
 
2187
- #
2188
- # Corresponds to the JSON property `operation`
2189
- # @return [String]
2190
- attr_accessor :operation
2191
-
2192
2303
  def initialize(**args)
2193
2304
  update!(**args)
2194
2305
  end
2195
2306
 
2196
2307
  # Update properties of this object
2197
2308
  def update!(**args)
2309
+ @operation = args[:operation] if args.key?(:operation)
2198
2310
  @reference_sequence = args[:reference_sequence] if args.key?(:reference_sequence)
2199
2311
  @operation_length = args[:operation_length] if args.key?(:operation_length)
2200
- @operation = args[:operation] if args.key?(:operation)
2201
2312
  end
2202
2313
  end
2203
2314
 
@@ -2211,31 +2322,6 @@ module Google
2211
2322
  class ReferenceSet
2212
2323
  include Google::Apis::Core::Hashable
2213
2324
 
2214
- # The URI from which the references were obtained.
2215
- # Corresponds to the JSON property `sourceUri`
2216
- # @return [String]
2217
- attr_accessor :source_uri
2218
-
2219
- # ID from http://www.ncbi.nlm.nih.gov/taxonomy (for example, 9606 for human)
2220
- # indicating the species which this reference set is intended to model. Note
2221
- # that contained references may specify a different `ncbiTaxonId`, as
2222
- # assemblies may contain reference sequences which do not belong to the
2223
- # modeled species, for example EBV in a human reference genome.
2224
- # Corresponds to the JSON property `ncbiTaxonId`
2225
- # @return [Fixnum]
2226
- attr_accessor :ncbi_taxon_id
2227
-
2228
- # The IDs of the reference objects that are part of this set.
2229
- # `Reference.md5checksum` must be unique within this set.
2230
- # Corresponds to the JSON property `referenceIds`
2231
- # @return [Array<String>]
2232
- attr_accessor :reference_ids
2233
-
2234
- # Public id of this reference set, such as `GRCh37`.
2235
- # Corresponds to the JSON property `assemblyId`
2236
- # @return [String]
2237
- attr_accessor :assembly_id
2238
-
2239
2325
  # Order-independent MD5 checksum which identifies this reference set. The
2240
2326
  # checksum is computed by sorting all lower case hexidecimal string
2241
2327
  # `reference.md5checksum` (for all reference in this set) in
@@ -2245,21 +2331,46 @@ module Google
2245
2331
  # @return [String]
2246
2332
  attr_accessor :md5checksum
2247
2333
 
2334
+ # Public id of this reference set, such as `GRCh37`.
2335
+ # Corresponds to the JSON property `assemblyId`
2336
+ # @return [String]
2337
+ attr_accessor :assembly_id
2338
+
2248
2339
  # The server-generated reference set ID, unique across all reference sets.
2249
2340
  # Corresponds to the JSON property `id`
2250
2341
  # @return [String]
2251
2342
  attr_accessor :id
2252
2343
 
2344
+ # All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally
2345
+ # with a version number, for example `NC_000001.11`.
2346
+ # Corresponds to the JSON property `sourceAccessions`
2347
+ # @return [Array<String>]
2348
+ attr_accessor :source_accessions
2349
+
2253
2350
  # Free text description of this reference set.
2254
2351
  # Corresponds to the JSON property `description`
2255
2352
  # @return [String]
2256
2353
  attr_accessor :description
2257
2354
 
2258
- # All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally
2259
- # with a version number, for example `NC_000001.11`.
2260
- # Corresponds to the JSON property `sourceAccessions`
2355
+ # The URI from which the references were obtained.
2356
+ # Corresponds to the JSON property `sourceUri`
2357
+ # @return [String]
2358
+ attr_accessor :source_uri
2359
+
2360
+ # ID from http://www.ncbi.nlm.nih.gov/taxonomy (for example, 9606 for human)
2361
+ # indicating the species which this reference set is intended to model. Note
2362
+ # that contained references may specify a different `ncbiTaxonId`, as
2363
+ # assemblies may contain reference sequences which do not belong to the
2364
+ # modeled species, for example EBV in a human reference genome.
2365
+ # Corresponds to the JSON property `ncbiTaxonId`
2366
+ # @return [Fixnum]
2367
+ attr_accessor :ncbi_taxon_id
2368
+
2369
+ # The IDs of the reference objects that are part of this set.
2370
+ # `Reference.md5checksum` must be unique within this set.
2371
+ # Corresponds to the JSON property `referenceIds`
2261
2372
  # @return [Array<String>]
2262
- attr_accessor :source_accessions
2373
+ attr_accessor :reference_ids
2263
2374
 
2264
2375
  def initialize(**args)
2265
2376
  update!(**args)
@@ -2267,14 +2378,14 @@ module Google
2267
2378
 
2268
2379
  # Update properties of this object
2269
2380
  def update!(**args)
2270
- @source_uri = args[:source_uri] if args.key?(:source_uri)
2271
- @ncbi_taxon_id = args[:ncbi_taxon_id] if args.key?(:ncbi_taxon_id)
2272
- @reference_ids = args[:reference_ids] if args.key?(:reference_ids)
2273
- @assembly_id = args[:assembly_id] if args.key?(:assembly_id)
2274
2381
  @md5checksum = args[:md5checksum] if args.key?(:md5checksum)
2382
+ @assembly_id = args[:assembly_id] if args.key?(:assembly_id)
2275
2383
  @id = args[:id] if args.key?(:id)
2276
- @description = args[:description] if args.key?(:description)
2277
2384
  @source_accessions = args[:source_accessions] if args.key?(:source_accessions)
2385
+ @description = args[:description] if args.key?(:description)
2386
+ @source_uri = args[:source_uri] if args.key?(:source_uri)
2387
+ @ncbi_taxon_id = args[:ncbi_taxon_id] if args.key?(:ncbi_taxon_id)
2388
+ @reference_ids = args[:reference_ids] if args.key?(:reference_ids)
2278
2389
  end
2279
2390
  end
2280
2391
 
@@ -2283,11 +2394,6 @@ module Google
2283
2394
  class Transcript
2284
2395
  include Google::Apis::Core::Hashable
2285
2396
 
2286
- # The annotation ID of the gene from which this transcript is transcribed.
2287
- # Corresponds to the JSON property `geneId`
2288
- # @return [String]
2289
- attr_accessor :gene_id
2290
-
2291
2397
  # The <a href="http://en.wikipedia.org/wiki/Exon">exons</a> that compose
2292
2398
  # this transcript. This field should be unset for genomes where transcript
2293
2399
  # splicing does not occur, for example prokaryotes.
@@ -2319,15 +2425,20 @@ module Google
2319
2425
  # @return [Google::Apis::GenomicsV1::CodingSequence]
2320
2426
  attr_accessor :coding_sequence
2321
2427
 
2428
+ # The annotation ID of the gene from which this transcript is transcribed.
2429
+ # Corresponds to the JSON property `geneId`
2430
+ # @return [String]
2431
+ attr_accessor :gene_id
2432
+
2322
2433
  def initialize(**args)
2323
2434
  update!(**args)
2324
2435
  end
2325
2436
 
2326
2437
  # Update properties of this object
2327
2438
  def update!(**args)
2328
- @gene_id = args[:gene_id] if args.key?(:gene_id)
2329
2439
  @exons = args[:exons] if args.key?(:exons)
2330
2440
  @coding_sequence = args[:coding_sequence] if args.key?(:coding_sequence)
2441
+ @gene_id = args[:gene_id] if args.key?(:gene_id)
2331
2442
  end
2332
2443
  end
2333
2444
 
@@ -2337,17 +2448,6 @@ module Google
2337
2448
  class AnnotationSet
2338
2449
  include Google::Apis::Core::Hashable
2339
2450
 
2340
- # The source URI describing the file from which this annotation set was
2341
- # generated, if any.
2342
- # Corresponds to the JSON property `sourceUri`
2343
- # @return [String]
2344
- attr_accessor :source_uri
2345
-
2346
- # The dataset to which this annotation set belongs.
2347
- # Corresponds to the JSON property `datasetId`
2348
- # @return [String]
2349
- attr_accessor :dataset_id
2350
-
2351
2451
  # The display name for this annotation set.
2352
2452
  # Corresponds to the JSON property `name`
2353
2453
  # @return [String]
@@ -2375,19 +2475,30 @@ module Google
2375
2475
  # @return [String]
2376
2476
  attr_accessor :id
2377
2477
 
2478
+ # The source URI describing the file from which this annotation set was
2479
+ # generated, if any.
2480
+ # Corresponds to the JSON property `sourceUri`
2481
+ # @return [String]
2482
+ attr_accessor :source_uri
2483
+
2484
+ # The dataset to which this annotation set belongs.
2485
+ # Corresponds to the JSON property `datasetId`
2486
+ # @return [String]
2487
+ attr_accessor :dataset_id
2488
+
2378
2489
  def initialize(**args)
2379
2490
  update!(**args)
2380
2491
  end
2381
2492
 
2382
2493
  # Update properties of this object
2383
2494
  def update!(**args)
2384
- @source_uri = args[:source_uri] if args.key?(:source_uri)
2385
- @dataset_id = args[:dataset_id] if args.key?(:dataset_id)
2386
2495
  @name = args[:name] if args.key?(:name)
2387
2496
  @reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id)
2388
2497
  @type = args[:type] if args.key?(:type)
2389
2498
  @info = args[:info] if args.key?(:info)
2390
2499
  @id = args[:id] if args.key?(:id)
2500
+ @source_uri = args[:source_uri] if args.key?(:source_uri)
2501
+ @dataset_id = args[:dataset_id] if args.key?(:dataset_id)
2391
2502
  end
2392
2503
  end
2393
2504
 
@@ -2489,42 +2600,6 @@ module Google
2489
2600
  end
2490
2601
  end
2491
2602
 
2492
- # The read group set export request.
2493
- class ExportReadGroupSetRequest
2494
- include Google::Apis::Core::Hashable
2495
-
2496
- # Required. The Google Cloud project ID that owns this
2497
- # export. The caller must have WRITE access to this project.
2498
- # Corresponds to the JSON property `projectId`
2499
- # @return [String]
2500
- attr_accessor :project_id
2501
-
2502
- # Required. A Google Cloud Storage URI for the exported BAM file.
2503
- # The currently authenticated user must have write access to the new file.
2504
- # An error will be returned if the URI already contains data.
2505
- # Corresponds to the JSON property `exportUri`
2506
- # @return [String]
2507
- attr_accessor :export_uri
2508
-
2509
- # The reference names to export. If this is not specified, all reference
2510
- # sequences, including unmapped reads, are exported.
2511
- # Use `*` to export only unmapped reads.
2512
- # Corresponds to the JSON property `referenceNames`
2513
- # @return [Array<String>]
2514
- attr_accessor :reference_names
2515
-
2516
- def initialize(**args)
2517
- update!(**args)
2518
- end
2519
-
2520
- # Update properties of this object
2521
- def update!(**args)
2522
- @project_id = args[:project_id] if args.key?(:project_id)
2523
- @export_uri = args[:export_uri] if args.key?(:export_uri)
2524
- @reference_names = args[:reference_names] if args.key?(:reference_names)
2525
- end
2526
- end
2527
-
2528
2603
  #
2529
2604
  class Exon
2530
2605
  include Google::Apis::Core::Hashable
@@ -2571,6 +2646,42 @@ module Google
2571
2646
  end
2572
2647
  end
2573
2648
 
2649
+ # The read group set export request.
2650
+ class ExportReadGroupSetRequest
2651
+ include Google::Apis::Core::Hashable
2652
+
2653
+ # Required. The Google Cloud project ID that owns this
2654
+ # export. The caller must have WRITE access to this project.
2655
+ # Corresponds to the JSON property `projectId`
2656
+ # @return [String]
2657
+ attr_accessor :project_id
2658
+
2659
+ # Required. A Google Cloud Storage URI for the exported BAM file.
2660
+ # The currently authenticated user must have write access to the new file.
2661
+ # An error will be returned if the URI already contains data.
2662
+ # Corresponds to the JSON property `exportUri`
2663
+ # @return [String]
2664
+ attr_accessor :export_uri
2665
+
2666
+ # The reference names to export. If this is not specified, all reference
2667
+ # sequences, including unmapped reads, are exported.
2668
+ # Use `*` to export only unmapped reads.
2669
+ # Corresponds to the JSON property `referenceNames`
2670
+ # @return [Array<String>]
2671
+ attr_accessor :reference_names
2672
+
2673
+ def initialize(**args)
2674
+ update!(**args)
2675
+ end
2676
+
2677
+ # Update properties of this object
2678
+ def update!(**args)
2679
+ @project_id = args[:project_id] if args.key?(:project_id)
2680
+ @export_uri = args[:export_uri] if args.key?(:export_uri)
2681
+ @reference_names = args[:reference_names] if args.key?(:reference_names)
2682
+ end
2683
+ end
2684
+
2574
2685
  # A call set is a collection of variant calls, typically for one sample. It
2575
2686
  # belongs to a variant set.
2576
2687
  # For more genomics resource definitions, see [Fundamentals of Google
@@ -2660,6 +2771,25 @@ module Google
2660
2771
  class ImportVariantsRequest
2661
2772
  include Google::Apis::Core::Hashable
2662
2773
 
2774
+ # Convert reference names to the canonical representation.
2775
+ # hg19 haploytypes (those reference names containing "_hap")
2776
+ # are not modified in any way.
2777
+ # All other reference names are modified according to the following rules:
2778
+ # The reference name is capitalized.
2779
+ # The "chr" prefix is dropped for all autosomes and sex chromsomes.
2780
+ # For example "chr17" becomes "17" and "chrX" becomes "X".
2781
+ # All mitochondrial chromosomes ("chrM", "chrMT", etc) become "MT".
2782
+ # Corresponds to the JSON property `normalizeReferenceNames`
2783
+ # @return [Boolean]
2784
+ attr_accessor :normalize_reference_names
2785
+ alias_method :normalize_reference_names?, :normalize_reference_names
2786
+
2787
+ # The format of the variant data being imported. If unspecified, defaults to
2788
+ # to `VCF`.
2789
+ # Corresponds to the JSON property `format`
2790
+ # @return [String]
2791
+ attr_accessor :format
2792
+
2663
2793
  # A mapping between info field keys and the InfoMergeOperations to
2664
2794
  # be performed on them. This is plumbed down to the MergeVariantRequests
2665
2795
  # generated by the resulting import job.
@@ -2680,36 +2810,17 @@ module Google
2680
2810
  # @return [Array<String>]
2681
2811
  attr_accessor :source_uris
2682
2812
 
2683
- # Convert reference names to the canonical representation.
2684
- # hg19 haploytypes (those reference names containing "_hap")
2685
- # are not modified in any way.
2686
- # All other reference names are modified according to the following rules:
2687
- # The reference name is capitalized.
2688
- # The "chr" prefix is dropped for all autosomes and sex chromsomes.
2689
- # For example "chr17" becomes "17" and "chrX" becomes "X".
2690
- # All mitochondrial chromosomes ("chrM", "chrMT", etc) become "MT".
2691
- # Corresponds to the JSON property `normalizeReferenceNames`
2692
- # @return [Boolean]
2693
- attr_accessor :normalize_reference_names
2694
- alias_method :normalize_reference_names?, :normalize_reference_names
2695
-
2696
- # The format of the variant data being imported. If unspecified, defaults to
2697
- # to `VCF`.
2698
- # Corresponds to the JSON property `format`
2699
- # @return [String]
2700
- attr_accessor :format
2701
-
2702
2813
  def initialize(**args)
2703
2814
  update!(**args)
2704
2815
  end
2705
2816
 
2706
2817
  # Update properties of this object
2707
2818
  def update!(**args)
2819
+ @normalize_reference_names = args[:normalize_reference_names] if args.key?(:normalize_reference_names)
2820
+ @format = args[:format] if args.key?(:format)
2708
2821
  @info_merge_config = args[:info_merge_config] if args.key?(:info_merge_config)
2709
2822
  @variant_set_id = args[:variant_set_id] if args.key?(:variant_set_id)
2710
2823
  @source_uris = args[:source_uris] if args.key?(:source_uris)
2711
- @normalize_reference_names = args[:normalize_reference_names] if args.key?(:normalize_reference_names)
2712
- @format = args[:format] if args.key?(:format)
2713
2824
  end
2714
2825
  end
2715
2826
 
@@ -2717,6 +2828,27 @@ module Google
2717
2828
  class VariantAnnotation
2718
2829
  include Google::Apis::Core::Hashable
2719
2830
 
2831
+ # The alternate allele for this variant. If multiple alternate alleles
2832
+ # exist at this location, create a separate variant for each one, as they
2833
+ # may represent distinct conditions.
2834
+ # Corresponds to the JSON property `alternateBases`
2835
+ # @return [String]
2836
+ attr_accessor :alternate_bases
2837
+
2838
+ # Google annotation ID of the gene affected by this variant. This should
2839
+ # be provided when the variant is created.
2840
+ # Corresponds to the JSON property `geneId`
2841
+ # @return [String]
2842
+ attr_accessor :gene_id
2843
+
2844
+ # Describes the clinical significance of a variant.
2845
+ # It is adapted from the ClinVar controlled vocabulary for clinical
2846
+ # significance described at:
2847
+ # http://www.ncbi.nlm.nih.gov/clinvar/docs/clinsig/
2848
+ # Corresponds to the JSON property `clinicalSignificance`
2849
+ # @return [String]
2850
+ attr_accessor :clinical_significance
2851
+
2720
2852
  # The set of conditions associated with this variant.
2721
2853
  # A condition describes the way a variant influences human health.
2722
2854
  # Corresponds to the JSON property `conditions`
@@ -2739,40 +2871,19 @@ module Google
2739
2871
  # @return [String]
2740
2872
  attr_accessor :type
2741
2873
 
2742
- # The alternate allele for this variant. If multiple alternate alleles
2743
- # exist at this location, create a separate variant for each one, as they
2744
- # may represent distinct conditions.
2745
- # Corresponds to the JSON property `alternateBases`
2746
- # @return [String]
2747
- attr_accessor :alternate_bases
2748
-
2749
- # Google annotation ID of the gene affected by this variant. This should
2750
- # be provided when the variant is created.
2751
- # Corresponds to the JSON property `geneId`
2752
- # @return [String]
2753
- attr_accessor :gene_id
2754
-
2755
- # Describes the clinical significance of a variant.
2756
- # It is adapted from the ClinVar controlled vocabulary for clinical
2757
- # significance described at:
2758
- # http://www.ncbi.nlm.nih.gov/clinvar/docs/clinsig/
2759
- # Corresponds to the JSON property `clinicalSignificance`
2760
- # @return [String]
2761
- attr_accessor :clinical_significance
2762
-
2763
2874
  def initialize(**args)
2764
2875
  update!(**args)
2765
2876
  end
2766
2877
 
2767
2878
  # Update properties of this object
2768
2879
  def update!(**args)
2880
+ @alternate_bases = args[:alternate_bases] if args.key?(:alternate_bases)
2881
+ @gene_id = args[:gene_id] if args.key?(:gene_id)
2882
+ @clinical_significance = args[:clinical_significance] if args.key?(:clinical_significance)
2769
2883
  @conditions = args[:conditions] if args.key?(:conditions)
2770
2884
  @effect = args[:effect] if args.key?(:effect)
2771
2885
  @transcript_ids = args[:transcript_ids] if args.key?(:transcript_ids)
2772
2886
  @type = args[:type] if args.key?(:type)
2773
- @alternate_bases = args[:alternate_bases] if args.key?(:alternate_bases)
2774
- @gene_id = args[:gene_id] if args.key?(:gene_id)
2775
- @clinical_significance = args[:clinical_significance] if args.key?(:clinical_significance)
2776
2887
  end
2777
2888
  end
2778
2889
 
@@ -2780,13 +2891,6 @@ module Google
2780
2891
  class ListCoverageBucketsResponse
2781
2892
  include Google::Apis::Core::Hashable
2782
2893
 
2783
- # The continuation token, which is used to page through large result sets.
2784
- # Provide this value in a subsequent request to return the next page of
2785
- # results. This field will be empty if there aren't any additional results.
2786
- # Corresponds to the JSON property `nextPageToken`
2787
- # @return [String]
2788
- attr_accessor :next_page_token
2789
-
2790
2894
  # The length of each coverage bucket in base pairs. Note that buckets at the
2791
2895
  # end of a reference sequence may be shorter. This value is omitted if the
2792
2896
  # bucket width is infinity (the default behaviour, with no range or
@@ -2803,15 +2907,22 @@ module Google
2803
2907
  # @return [Array<Google::Apis::GenomicsV1::CoverageBucket>]
2804
2908
  attr_accessor :coverage_buckets
2805
2909
 
2910
+ # The continuation token, which is used to page through large result sets.
2911
+ # Provide this value in a subsequent request to return the next page of
2912
+ # results. This field will be empty if there aren't any additional results.
2913
+ # Corresponds to the JSON property `nextPageToken`
2914
+ # @return [String]
2915
+ attr_accessor :next_page_token
2916
+
2806
2917
  def initialize(**args)
2807
2918
  update!(**args)
2808
2919
  end
2809
2920
 
2810
2921
  # Update properties of this object
2811
2922
  def update!(**args)
2812
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2813
2923
  @bucket_width = args[:bucket_width] if args.key?(:bucket_width)
2814
2924
  @coverage_buckets = args[:coverage_buckets] if args.key?(:coverage_buckets)
2925
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2815
2926
  end
2816
2927
  end
2817
2928
 
@@ -2819,19 +2930,6 @@ module Google
2819
2930
  class ExportVariantSetRequest
2820
2931
  include Google::Apis::Core::Hashable
2821
2932
 
2822
- # If provided, only variant call information from the specified call sets
2823
- # will be exported. By default all variant calls are exported.
2824
- # Corresponds to the JSON property `callSetIds`
2825
- # @return [Array<String>]
2826
- attr_accessor :call_set_ids
2827
-
2828
- # Required. The Google Cloud project ID that owns the destination
2829
- # BigQuery dataset. The caller must have WRITE access to this project. This
2830
- # project will also own the resulting export job.
2831
- # Corresponds to the JSON property `projectId`
2832
- # @return [String]
2833
- attr_accessor :project_id
2834
-
2835
2933
  # The format for the exported data.
2836
2934
  # Corresponds to the JSON property `format`
2837
2935
  # @return [String]
@@ -2850,17 +2948,30 @@ module Google
2850
2948
  # @return [String]
2851
2949
  attr_accessor :bigquery_table
2852
2950
 
2951
+ # If provided, only variant call information from the specified call sets
2952
+ # will be exported. By default all variant calls are exported.
2953
+ # Corresponds to the JSON property `callSetIds`
2954
+ # @return [Array<String>]
2955
+ attr_accessor :call_set_ids
2956
+
2957
+ # Required. The Google Cloud project ID that owns the destination
2958
+ # BigQuery dataset. The caller must have WRITE access to this project. This
2959
+ # project will also own the resulting export job.
2960
+ # Corresponds to the JSON property `projectId`
2961
+ # @return [String]
2962
+ attr_accessor :project_id
2963
+
2853
2964
  def initialize(**args)
2854
2965
  update!(**args)
2855
2966
  end
2856
2967
 
2857
2968
  # Update properties of this object
2858
2969
  def update!(**args)
2859
- @call_set_ids = args[:call_set_ids] if args.key?(:call_set_ids)
2860
- @project_id = args[:project_id] if args.key?(:project_id)
2861
2970
  @format = args[:format] if args.key?(:format)
2862
2971
  @bigquery_dataset = args[:bigquery_dataset] if args.key?(:bigquery_dataset)
2863
2972
  @bigquery_table = args[:bigquery_table] if args.key?(:bigquery_table)
2973
+ @call_set_ids = args[:call_set_ids] if args.key?(:call_set_ids)
2974
+ @project_id = args[:project_id] if args.key?(:project_id)
2864
2975
  end
2865
2976
  end
2866
2977
 
@@ -2868,11 +2979,6 @@ module Google
2868
2979
  class SearchAnnotationsRequest
2869
2980
  include Google::Apis::Core::Hashable
2870
2981
 
2871
- # The ID of the reference to query.
2872
- # Corresponds to the JSON property `referenceId`
2873
- # @return [String]
2874
- attr_accessor :reference_id
2875
-
2876
2982
  # The end position of the range on the reference, 0-based exclusive. If
2877
2983
  # referenceId or
2878
2984
  # referenceName
@@ -2916,19 +3022,24 @@ module Google
2916
3022
  # @return [String]
2917
3023
  attr_accessor :reference_name
2918
3024
 
3025
+ # The ID of the reference to query.
3026
+ # Corresponds to the JSON property `referenceId`
3027
+ # @return [String]
3028
+ attr_accessor :reference_id
3029
+
2919
3030
  def initialize(**args)
2920
3031
  update!(**args)
2921
3032
  end
2922
3033
 
2923
3034
  # Update properties of this object
2924
3035
  def update!(**args)
2925
- @reference_id = args[:reference_id] if args.key?(:reference_id)
2926
3036
  @end = args[:end] if args.key?(:end)
2927
3037
  @page_token = args[:page_token] if args.key?(:page_token)
2928
3038
  @page_size = args[:page_size] if args.key?(:page_size)
2929
3039
  @start = args[:start] if args.key?(:start)
2930
3040
  @annotation_set_ids = args[:annotation_set_ids] if args.key?(:annotation_set_ids)
2931
3041
  @reference_name = args[:reference_name] if args.key?(:reference_name)
3042
+ @reference_id = args[:reference_id] if args.key?(:reference_id)
2932
3043
  end
2933
3044
  end
2934
3045
 
@@ -2936,12 +3047,6 @@ module Google
2936
3047
  class OperationEvent
2937
3048
  include Google::Apis::Core::Hashable
2938
3049
 
2939
- # Optional time of when event finished. An event can have a start time and no
2940
- # finish time. If an event has a finish time, there must be a start time.
2941
- # Corresponds to the JSON property `endTime`
2942
- # @return [String]
2943
- attr_accessor :end_time
2944
-
2945
3050
  # Optional time of when event started.
2946
3051
  # Corresponds to the JSON property `startTime`
2947
3052
  # @return [String]
@@ -2950,7 +3055,13 @@ module Google
2950
3055
  # Required description of event.
2951
3056
  # Corresponds to the JSON property `description`
2952
3057
  # @return [String]
2953
- attr_accessor :description
3058
+ attr_accessor :description
3059
+
3060
+ # Optional time of when event finished. An event can have a start time and no
3061
+ # finish time. If an event has a finish time, there must be a start time.
3062
+ # Corresponds to the JSON property `endTime`
3063
+ # @return [String]
3064
+ attr_accessor :end_time
2954
3065
 
2955
3066
  def initialize(**args)
2956
3067
  update!(**args)
@@ -2958,9 +3069,9 @@ module Google
2958
3069
 
2959
3070
  # Update properties of this object
2960
3071
  def update!(**args)
2961
- @end_time = args[:end_time] if args.key?(:end_time)
2962
3072
  @start_time = args[:start_time] if args.key?(:start_time)
2963
3073
  @description = args[:description] if args.key?(:description)
3074
+ @end_time = args[:end_time] if args.key?(:end_time)
2964
3075
  end
2965
3076
  end
2966
3077
 
@@ -2968,13 +3079,6 @@ module Google
2968
3079
  class CodingSequence
2969
3080
  include Google::Apis::Core::Hashable
2970
3081
 
2971
- # The start of the coding sequence on this annotation's reference sequence,
2972
- # 0-based inclusive. Note that this position is relative to the reference
2973
- # start, and *not* the containing annotation start.
2974
- # Corresponds to the JSON property `start`
2975
- # @return [Fixnum]
2976
- attr_accessor :start
2977
-
2978
3082
  # The end of the coding sequence on this annotation's reference sequence,
2979
3083
  # 0-based exclusive. Note that this position is relative to the reference
2980
3084
  # start, and *not* the containing annotation start.
@@ -2982,14 +3086,21 @@ module Google
2982
3086
  # @return [Fixnum]
2983
3087
  attr_accessor :end
2984
3088
 
3089
+ # The start of the coding sequence on this annotation's reference sequence,
3090
+ # 0-based inclusive. Note that this position is relative to the reference
3091
+ # start, and *not* the containing annotation start.
3092
+ # Corresponds to the JSON property `start`
3093
+ # @return [Fixnum]
3094
+ attr_accessor :start
3095
+
2985
3096
  def initialize(**args)
2986
3097
  update!(**args)
2987
3098
  end
2988
3099
 
2989
3100
  # Update properties of this object
2990
3101
  def update!(**args)
2991
- @start = args[:start] if args.key?(:start)
2992
3102
  @end = args[:end] if args.key?(:end)
3103
+ @start = args[:start] if args.key?(:start)
2993
3104
  end
2994
3105
  end
2995
3106
 
@@ -3013,19 +3124,6 @@ module Google
3013
3124
  end
3014
3125
  end
3015
3126
 
3016
- # Request message for `GetIamPolicy` method.
3017
- class GetIamPolicyRequest
3018
- include Google::Apis::Core::Hashable
3019
-
3020
- def initialize(**args)
3021
- update!(**args)
3022
- end
3023
-
3024
- # Update properties of this object
3025
- def update!(**args)
3026
- end
3027
- end
3028
-
3029
3127
  #
3030
3128
  class SearchReferencesResponse
3031
3129
  include Google::Apis::Core::Hashable
@@ -3053,10 +3151,36 @@ module Google
3053
3151
  end
3054
3152
  end
3055
3153
 
3154
+ # Request message for `GetIamPolicy` method.
3155
+ class GetIamPolicyRequest
3156
+ include Google::Apis::Core::Hashable
3157
+
3158
+ def initialize(**args)
3159
+ update!(**args)
3160
+ end
3161
+
3162
+ # Update properties of this object
3163
+ def update!(**args)
3164
+ end
3165
+ end
3166
+
3056
3167
  #
3057
3168
  class SearchAnnotationSetsRequest
3058
3169
  include Google::Apis::Core::Hashable
3059
3170
 
3171
+ # The continuation token, which is used to page through large result sets.
3172
+ # To get the next page of results, set this parameter to the value of
3173
+ # `nextPageToken` from the previous response.
3174
+ # Corresponds to the JSON property `pageToken`
3175
+ # @return [String]
3176
+ attr_accessor :page_token
3177
+
3178
+ # The maximum number of results to return in a single page. If unspecified,
3179
+ # defaults to 128. The maximum value is 1024.
3180
+ # Corresponds to the JSON property `pageSize`
3181
+ # @return [Fixnum]
3182
+ attr_accessor :page_size
3183
+
3060
3184
  # Required. The dataset IDs to search within. Caller must have `READ` access
3061
3185
  # to these datasets.
3062
3186
  # Corresponds to the JSON property `datasetIds`
@@ -3081,31 +3205,18 @@ module Google
3081
3205
  # @return [String]
3082
3206
  attr_accessor :reference_set_id
3083
3207
 
3084
- # The continuation token, which is used to page through large result sets.
3085
- # To get the next page of results, set this parameter to the value of
3086
- # `nextPageToken` from the previous response.
3087
- # Corresponds to the JSON property `pageToken`
3088
- # @return [String]
3089
- attr_accessor :page_token
3090
-
3091
- # The maximum number of results to return in a single page. If unspecified,
3092
- # defaults to 128. The maximum value is 1024.
3093
- # Corresponds to the JSON property `pageSize`
3094
- # @return [Fixnum]
3095
- attr_accessor :page_size
3096
-
3097
3208
  def initialize(**args)
3098
3209
  update!(**args)
3099
3210
  end
3100
3211
 
3101
3212
  # Update properties of this object
3102
3213
  def update!(**args)
3214
+ @page_token = args[:page_token] if args.key?(:page_token)
3215
+ @page_size = args[:page_size] if args.key?(:page_size)
3103
3216
  @dataset_ids = args[:dataset_ids] if args.key?(:dataset_ids)
3104
3217
  @types = args[:types] if args.key?(:types)
3105
3218
  @name = args[:name] if args.key?(:name)
3106
3219
  @reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id)
3107
- @page_token = args[:page_token] if args.key?(:page_token)
3108
- @page_size = args[:page_size] if args.key?(:page_size)
3109
3220
  end
3110
3221
  end
3111
3222
 
@@ -3113,11 +3224,6 @@ module Google
3113
3224
  class SearchReadGroupSetsResponse
3114
3225
  include Google::Apis::Core::Hashable
3115
3226
 
3116
- # The list of matching read group sets.
3117
- # Corresponds to the JSON property `readGroupSets`
3118
- # @return [Array<Google::Apis::GenomicsV1::ReadGroupSet>]
3119
- attr_accessor :read_group_sets
3120
-
3121
3227
  # The continuation token, which is used to page through large result sets.
3122
3228
  # Provide this value in a subsequent request to return the next page of
3123
3229
  # results. This field will be empty if there aren't any additional results.
@@ -3125,14 +3231,19 @@ module Google
3125
3231
  # @return [String]
3126
3232
  attr_accessor :next_page_token
3127
3233
 
3234
+ # The list of matching read group sets.
3235
+ # Corresponds to the JSON property `readGroupSets`
3236
+ # @return [Array<Google::Apis::GenomicsV1::ReadGroupSet>]
3237
+ attr_accessor :read_group_sets
3238
+
3128
3239
  def initialize(**args)
3129
3240
  update!(**args)
3130
3241
  end
3131
3242
 
3132
3243
  # Update properties of this object
3133
3244
  def update!(**args)
3134
- @read_group_sets = args[:read_group_sets] if args.key?(:read_group_sets)
3135
3245
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3246
+ @read_group_sets = args[:read_group_sets] if args.key?(:read_group_sets)
3136
3247
  end
3137
3248
  end
3138
3249
 
@@ -3231,11 +3342,6 @@ module Google
3231
3342
  class Dataset
3232
3343
  include Google::Apis::Core::Hashable
3233
3344
 
3234
- # The dataset name.
3235
- # Corresponds to the JSON property `name`
3236
- # @return [String]
3237
- attr_accessor :name
3238
-
3239
3345
  # The Google Cloud project ID that this dataset belongs to.
3240
3346
  # Corresponds to the JSON property `projectId`
3241
3347
  # @return [String]
@@ -3251,16 +3357,21 @@ module Google
3251
3357
  # @return [String]
3252
3358
  attr_accessor :create_time
3253
3359
 
3360
+ # The dataset name.
3361
+ # Corresponds to the JSON property `name`
3362
+ # @return [String]
3363
+ attr_accessor :name
3364
+
3254
3365
  def initialize(**args)
3255
3366
  update!(**args)
3256
3367
  end
3257
3368
 
3258
3369
  # Update properties of this object
3259
3370
  def update!(**args)
3260
- @name = args[:name] if args.key?(:name)
3261
3371
  @project_id = args[:project_id] if args.key?(:project_id)
3262
3372
  @id = args[:id] if args.key?(:id)
3263
3373
  @create_time = args[:create_time] if args.key?(:create_time)
3374
+ @name = args[:name] if args.key?(:name)
3264
3375
  end
3265
3376
  end
3266
3377
 
@@ -3287,6 +3398,24 @@ module Google
3287
3398
  class ReadGroup
3288
3399
  include Google::Apis::Core::Hashable
3289
3400
 
3401
+ # The reference set the reads in this read group are aligned to.
3402
+ # Corresponds to the JSON property `referenceSetId`
3403
+ # @return [String]
3404
+ attr_accessor :reference_set_id
3405
+
3406
+ # A map of additional read group information. This must be of the form
3407
+ # map<string, string[]> (string key mapping to a list of string values).
3408
+ # Corresponds to the JSON property `info`
3409
+ # @return [Hash<String,Array<Object>>]
3410
+ attr_accessor :info
3411
+
3412
+ # The server-generated read group ID, unique for all read groups.
3413
+ # Note: This is different than the @RG ID field in the SAM spec. For that
3414
+ # value, see name.
3415
+ # Corresponds to the JSON property `id`
3416
+ # @return [String]
3417
+ attr_accessor :id
3418
+
3290
3419
  # The predicted insert size of this read group. The insert size is the length
3291
3420
  # the sequenced DNA fragment from end-to-end, not including the adapters.
3292
3421
  # Corresponds to the JSON property `predictedInsertSize`
@@ -3326,30 +3455,15 @@ module Google
3326
3455
  # @return [String]
3327
3456
  attr_accessor :name
3328
3457
 
3329
- # The reference set the reads in this read group are aligned to.
3330
- # Corresponds to the JSON property `referenceSetId`
3331
- # @return [String]
3332
- attr_accessor :reference_set_id
3333
-
3334
- # A map of additional read group information. This must be of the form
3335
- # map<string, string[]> (string key mapping to a list of string values).
3336
- # Corresponds to the JSON property `info`
3337
- # @return [Hash<String,Array<Object>>]
3338
- attr_accessor :info
3339
-
3340
- # The server-generated read group ID, unique for all read groups.
3341
- # Note: This is different than the @RG ID field in the SAM spec. For that
3342
- # value, see name.
3343
- # Corresponds to the JSON property `id`
3344
- # @return [String]
3345
- attr_accessor :id
3346
-
3347
3458
  def initialize(**args)
3348
3459
  update!(**args)
3349
3460
  end
3350
3461
 
3351
3462
  # Update properties of this object
3352
3463
  def update!(**args)
3464
+ @reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id)
3465
+ @info = args[:info] if args.key?(:info)
3466
+ @id = args[:id] if args.key?(:id)
3353
3467
  @predicted_insert_size = args[:predicted_insert_size] if args.key?(:predicted_insert_size)
3354
3468
  @programs = args[:programs] if args.key?(:programs)
3355
3469
  @description = args[:description] if args.key?(:description)
@@ -3357,120 +3471,6 @@ module Google
3357
3471
  @dataset_id = args[:dataset_id] if args.key?(:dataset_id)
3358
3472
  @experiment = args[:experiment] if args.key?(:experiment)
3359
3473
  @name = args[:name] if args.key?(:name)
3360
- @reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id)
3361
- @info = args[:info] if args.key?(:info)
3362
- @id = args[:id] if args.key?(:id)
3363
- end
3364
- end
3365
-
3366
- # A read group set is a logical collection of read groups, which are
3367
- # collections of reads produced by a sequencer. A read group set typically
3368
- # models reads corresponding to one sample, sequenced one way, and aligned one
3369
- # way.
3370
- # * A read group set belongs to one dataset.
3371
- # * A read group belongs to one read group set.
3372
- # * A read belongs to one read group.
3373
- # For more genomics resource definitions, see [Fundamentals of Google
3374
- # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
3375
- class ReadGroupSet
3376
- include Google::Apis::Core::Hashable
3377
-
3378
- # The read groups in this set. There are typically 1-10 read groups in a read
3379
- # group set.
3380
- # Corresponds to the JSON property `readGroups`
3381
- # @return [Array<Google::Apis::GenomicsV1::ReadGroup>]
3382
- attr_accessor :read_groups
3383
-
3384
- # The filename of the original source file for this read group set, if any.
3385
- # Corresponds to the JSON property `filename`
3386
- # @return [String]
3387
- attr_accessor :filename
3388
-
3389
- # The read group set name. By default this will be initialized to the sample
3390
- # name of the sequenced data contained in this set.
3391
- # Corresponds to the JSON property `name`
3392
- # @return [String]
3393
- attr_accessor :name
3394
-
3395
- # The reference set to which the reads in this read group set are aligned.
3396
- # Corresponds to the JSON property `referenceSetId`
3397
- # @return [String]
3398
- attr_accessor :reference_set_id
3399
-
3400
- # A map of additional read group set information.
3401
- # Corresponds to the JSON property `info`
3402
- # @return [Hash<String,Array<Object>>]
3403
- attr_accessor :info
3404
-
3405
- # The server-generated read group set ID, unique for all read group sets.
3406
- # Corresponds to the JSON property `id`
3407
- # @return [String]
3408
- attr_accessor :id
3409
-
3410
- # The dataset to which this read group set belongs.
3411
- # Corresponds to the JSON property `datasetId`
3412
- # @return [String]
3413
- attr_accessor :dataset_id
3414
-
3415
- def initialize(**args)
3416
- update!(**args)
3417
- end
3418
-
3419
- # Update properties of this object
3420
- def update!(**args)
3421
- @read_groups = args[:read_groups] if args.key?(:read_groups)
3422
- @filename = args[:filename] if args.key?(:filename)
3423
- @name = args[:name] if args.key?(:name)
3424
- @reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id)
3425
- @info = args[:info] if args.key?(:info)
3426
- @id = args[:id] if args.key?(:id)
3427
- @dataset_id = args[:dataset_id] if args.key?(:dataset_id)
3428
- end
3429
- end
3430
-
3431
- # The search variant sets response.
3432
- class SearchVariantSetsResponse
3433
- include Google::Apis::Core::Hashable
3434
-
3435
- # The continuation token, which is used to page through large result sets.
3436
- # Provide this value in a subsequent request to return the next page of
3437
- # results. This field will be empty if there aren't any additional results.
3438
- # Corresponds to the JSON property `nextPageToken`
3439
- # @return [String]
3440
- attr_accessor :next_page_token
3441
-
3442
- # The variant sets belonging to the requested dataset.
3443
- # Corresponds to the JSON property `variantSets`
3444
- # @return [Array<Google::Apis::GenomicsV1::VariantSet>]
3445
- attr_accessor :variant_sets
3446
-
3447
- def initialize(**args)
3448
- update!(**args)
3449
- end
3450
-
3451
- # Update properties of this object
3452
- def update!(**args)
3453
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3454
- @variant_sets = args[:variant_sets] if args.key?(:variant_sets)
3455
- end
3456
- end
3457
-
3458
- # A generic empty message that you can re-use to avoid defining duplicated
3459
- # empty messages in your APIs. A typical example is to use it as the request
3460
- # or the response type of an API method. For instance:
3461
- # service Foo `
3462
- # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
3463
- # `
3464
- # The JSON representation for `Empty` is empty JSON object ````.
3465
- class Empty
3466
- include Google::Apis::Core::Hashable
3467
-
3468
- def initialize(**args)
3469
- update!(**args)
3470
- end
3471
-
3472
- # Update properties of this object
3473
- def update!(**args)
3474
3474
  end
3475
3475
  end
3476
3476
  end