google-api-client 0.9.28 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +7 -4
- data/CHANGELOG.md +10 -0
- data/api_names.yaml +36512 -36326
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +41 -41
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +13 -13
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +110 -110
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4.rb +3 -3
- data/generated/google/apis/analyticsreporting_v4/classes.rb +845 -845
- data/generated/google/apis/analyticsreporting_v4/representations.rb +184 -184
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +5 -5
- data/generated/google/apis/androidenterprise_v1/service.rb +3 -1
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +22 -25
- data/generated/google/apis/classroom_v1/classes.rb +998 -907
- data/generated/google/apis/classroom_v1/representations.rb +240 -240
- data/generated/google/apis/classroom_v1/service.rb +1269 -1061
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +322 -322
- data/generated/google/apis/cloudbuild_v1/representations.rb +88 -88
- data/generated/google/apis/cloudbuild_v1/service.rb +57 -57
- data/generated/google/apis/clouddebugger_v2.rb +4 -4
- data/generated/google/apis/clouddebugger_v2/classes.rb +311 -311
- data/generated/google/apis/clouddebugger_v2/representations.rb +92 -92
- data/generated/google/apis/clouddebugger_v2/service.rb +41 -41
- data/generated/google/apis/cloudkms_v1beta1.rb +1 -1
- data/generated/google/apis/cloudkms_v1beta1/classes.rb +611 -611
- data/generated/google/apis/cloudkms_v1beta1/representations.rb +124 -124
- data/generated/google/apis/cloudkms_v1beta1/service.rb +254 -248
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +116 -116
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +28 -28
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +257 -257
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +394 -394
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +79 -79
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +269 -269
- data/generated/google/apis/cloudtrace_v1.rb +8 -8
- data/generated/google/apis/cloudtrace_v1/classes.rb +90 -84
- data/generated/google/apis/cloudtrace_v1/representations.rb +22 -22
- data/generated/google/apis/cloudtrace_v1/service.rb +40 -35
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +406 -31
- data/generated/google/apis/compute_beta/representations.rb +154 -0
- data/generated/google/apis/compute_beta/service.rb +262 -9
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +17 -20
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +3226 -2847
- data/generated/google/apis/dataflow_v1b3/representations.rb +825 -677
- data/generated/google/apis/dataflow_v1b3/service.rb +175 -175
- data/generated/google/apis/dataproc_v1.rb +2 -2
- data/generated/google/apis/dataproc_v1/classes.rb +1213 -1136
- data/generated/google/apis/dataproc_v1/representations.rb +262 -244
- data/generated/google/apis/dataproc_v1/service.rb +298 -243
- data/generated/google/apis/datastore_v1.rb +4 -4
- data/generated/google/apis/datastore_v1/classes.rb +728 -728
- data/generated/google/apis/datastore_v1/representations.rb +167 -167
- data/generated/google/apis/datastore_v1/service.rb +68 -68
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +7 -7
- data/generated/google/apis/genomics_v1/classes.rb +932 -932
- data/generated/google/apis/genomics_v1/representations.rb +205 -205
- data/generated/google/apis/genomics_v1/service.rb +1228 -1228
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +440 -440
- data/generated/google/apis/iam_v1/representations.rb +94 -94
- data/generated/google/apis/iam_v1/service.rb +60 -60
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +21 -1
- data/generated/google/apis/identitytoolkit_v3/representations.rb +3 -0
- data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
- data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
- data/generated/google/apis/kgsearch_v1/service.rb +21 -21
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +232 -232
- data/generated/google/apis/language_v1beta1/representations.rb +75 -75
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +345 -337
- data/generated/google/apis/logging_v2beta1/representations.rb +55 -55
- data/generated/google/apis/logging_v2beta1/service.rb +331 -306
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +253 -253
- data/generated/google/apis/monitoring_v3/representations.rb +58 -58
- data/generated/google/apis/monitoring_v3/service.rb +135 -135
- data/generated/google/apis/people_v1.rb +15 -16
- data/generated/google/apis/people_v1/classes.rb +985 -855
- data/generated/google/apis/people_v1/representations.rb +227 -220
- data/generated/google/apis/people_v1/service.rb +58 -52
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +257 -257
- data/generated/google/apis/pubsub_v1/representations.rb +83 -83
- data/generated/google/apis/pubsub_v1/service.rb +390 -390
- data/generated/google/apis/script_v1.rb +17 -17
- data/generated/google/apis/script_v1/classes.rb +149 -141
- data/generated/google/apis/script_v1/representations.rb +26 -27
- data/generated/google/apis/script_v1/service.rb +9 -8
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +4223 -4188
- data/generated/google/apis/sheets_v4/representations.rb +850 -834
- data/generated/google/apis/sheets_v4/service.rb +192 -192
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +927 -800
- data/generated/google/apis/slides_v1/representations.rb +253 -211
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +94 -107
- data/generated/google/apis/speech_v1beta1/representations.rb +24 -36
- data/generated/google/apis/speech_v1beta1/service.rb +51 -54
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +888 -885
- data/generated/google/apis/vision_v1/representations.rb +139 -139
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/service.rb +5 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +80 -80
- data/generated/google/apis/youtubereporting_v1/representations.rb +23 -23
- data/generated/google/apis/youtubereporting_v1/service.rb +51 -51
- data/google-api-client.gemspec +2 -2
- data/lib/google/apis/core/api_command.rb +1 -1
- data/lib/google/apis/core/json_representation.rb +2 -2
- data/lib/google/apis/version.rb +1 -1
- data/samples/cli/lib/samples/you_tube.rb +4 -1
- metadata +36 -30
|
@@ -51,11 +51,11 @@ module Google
|
|
|
51
51
|
# @param [String] project_id
|
|
52
52
|
# The ID of the project against which to make the request.
|
|
53
53
|
# @param [Google::Apis::DatastoreV1::RunQueryRequest] run_query_request_object
|
|
54
|
+
# @param [String] fields
|
|
55
|
+
# Selector specifying which fields to include in a partial response.
|
|
54
56
|
# @param [String] quota_user
|
|
55
57
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
56
58
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
57
|
-
# @param [String] fields
|
|
58
|
-
# Selector specifying which fields to include in a partial response.
|
|
59
59
|
# @param [Google::Apis::RequestOptions] options
|
|
60
60
|
# Request-specific options
|
|
61
61
|
#
|
|
@@ -68,48 +68,81 @@ module Google
|
|
|
68
68
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
69
69
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
70
70
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
71
|
-
def run_project_query(project_id, run_query_request_object = nil,
|
|
71
|
+
def run_project_query(project_id, run_query_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
72
72
|
command = make_simple_command(:post, 'v1/projects/{projectId}:runQuery', options)
|
|
73
73
|
command.request_representation = Google::Apis::DatastoreV1::RunQueryRequest::Representation
|
|
74
74
|
command.request_object = run_query_request_object
|
|
75
75
|
command.response_representation = Google::Apis::DatastoreV1::RunQueryResponse::Representation
|
|
76
76
|
command.response_class = Google::Apis::DatastoreV1::RunQueryResponse
|
|
77
77
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
78
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
79
78
|
command.query['fields'] = fields unless fields.nil?
|
|
79
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
80
80
|
execute_or_queue_command(command, &block)
|
|
81
81
|
end
|
|
82
82
|
|
|
83
|
-
#
|
|
83
|
+
# Rolls back a transaction.
|
|
84
84
|
# @param [String] project_id
|
|
85
85
|
# The ID of the project against which to make the request.
|
|
86
|
-
# @param [Google::Apis::DatastoreV1::
|
|
86
|
+
# @param [Google::Apis::DatastoreV1::RollbackRequest] rollback_request_object
|
|
87
|
+
# @param [String] fields
|
|
88
|
+
# Selector specifying which fields to include in a partial response.
|
|
87
89
|
# @param [String] quota_user
|
|
88
90
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
89
91
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
92
|
+
# @param [Google::Apis::RequestOptions] options
|
|
93
|
+
# Request-specific options
|
|
94
|
+
#
|
|
95
|
+
# @yield [result, err] Result & error if block supplied
|
|
96
|
+
# @yieldparam result [Google::Apis::DatastoreV1::RollbackResponse] parsed result object
|
|
97
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
98
|
+
#
|
|
99
|
+
# @return [Google::Apis::DatastoreV1::RollbackResponse]
|
|
100
|
+
#
|
|
101
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
102
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
103
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
104
|
+
def rollback_project(project_id, rollback_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
105
|
+
command = make_simple_command(:post, 'v1/projects/{projectId}:rollback', options)
|
|
106
|
+
command.request_representation = Google::Apis::DatastoreV1::RollbackRequest::Representation
|
|
107
|
+
command.request_object = rollback_request_object
|
|
108
|
+
command.response_representation = Google::Apis::DatastoreV1::RollbackResponse::Representation
|
|
109
|
+
command.response_class = Google::Apis::DatastoreV1::RollbackResponse
|
|
110
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
|
111
|
+
command.query['fields'] = fields unless fields.nil?
|
|
112
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
113
|
+
execute_or_queue_command(command, &block)
|
|
114
|
+
end
|
|
115
|
+
|
|
116
|
+
# Looks up entities by key.
|
|
117
|
+
# @param [String] project_id
|
|
118
|
+
# The ID of the project against which to make the request.
|
|
119
|
+
# @param [Google::Apis::DatastoreV1::LookupRequest] lookup_request_object
|
|
90
120
|
# @param [String] fields
|
|
91
121
|
# Selector specifying which fields to include in a partial response.
|
|
122
|
+
# @param [String] quota_user
|
|
123
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
124
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
92
125
|
# @param [Google::Apis::RequestOptions] options
|
|
93
126
|
# Request-specific options
|
|
94
127
|
#
|
|
95
128
|
# @yield [result, err] Result & error if block supplied
|
|
96
|
-
# @yieldparam result [Google::Apis::DatastoreV1::
|
|
129
|
+
# @yieldparam result [Google::Apis::DatastoreV1::LookupResponse] parsed result object
|
|
97
130
|
# @yieldparam err [StandardError] error object if request failed
|
|
98
131
|
#
|
|
99
|
-
# @return [Google::Apis::DatastoreV1::
|
|
132
|
+
# @return [Google::Apis::DatastoreV1::LookupResponse]
|
|
100
133
|
#
|
|
101
134
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
102
135
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
103
136
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
104
|
-
def
|
|
105
|
-
command = make_simple_command(:post, 'v1/projects/{projectId}:
|
|
106
|
-
command.request_representation = Google::Apis::DatastoreV1::
|
|
107
|
-
command.request_object =
|
|
108
|
-
command.response_representation = Google::Apis::DatastoreV1::
|
|
109
|
-
command.response_class = Google::Apis::DatastoreV1::
|
|
137
|
+
def lookup_project(project_id, lookup_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
138
|
+
command = make_simple_command(:post, 'v1/projects/{projectId}:lookup', options)
|
|
139
|
+
command.request_representation = Google::Apis::DatastoreV1::LookupRequest::Representation
|
|
140
|
+
command.request_object = lookup_request_object
|
|
141
|
+
command.response_representation = Google::Apis::DatastoreV1::LookupResponse::Representation
|
|
142
|
+
command.response_class = Google::Apis::DatastoreV1::LookupResponse
|
|
110
143
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
111
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
112
144
|
command.query['fields'] = fields unless fields.nil?
|
|
145
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
113
146
|
execute_or_queue_command(command, &block)
|
|
114
147
|
end
|
|
115
148
|
|
|
@@ -118,11 +151,11 @@ module Google
|
|
|
118
151
|
# @param [String] project_id
|
|
119
152
|
# The ID of the project against which to make the request.
|
|
120
153
|
# @param [Google::Apis::DatastoreV1::AllocateIdsRequest] allocate_ids_request_object
|
|
154
|
+
# @param [String] fields
|
|
155
|
+
# Selector specifying which fields to include in a partial response.
|
|
121
156
|
# @param [String] quota_user
|
|
122
157
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
123
158
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
124
|
-
# @param [String] fields
|
|
125
|
-
# Selector specifying which fields to include in a partial response.
|
|
126
159
|
# @param [Google::Apis::RequestOptions] options
|
|
127
160
|
# Request-specific options
|
|
128
161
|
#
|
|
@@ -135,48 +168,48 @@ module Google
|
|
|
135
168
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
136
169
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
137
170
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
138
|
-
def allocate_project_ids(project_id, allocate_ids_request_object = nil,
|
|
171
|
+
def allocate_project_ids(project_id, allocate_ids_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
139
172
|
command = make_simple_command(:post, 'v1/projects/{projectId}:allocateIds', options)
|
|
140
173
|
command.request_representation = Google::Apis::DatastoreV1::AllocateIdsRequest::Representation
|
|
141
174
|
command.request_object = allocate_ids_request_object
|
|
142
175
|
command.response_representation = Google::Apis::DatastoreV1::AllocateIdsResponse::Representation
|
|
143
176
|
command.response_class = Google::Apis::DatastoreV1::AllocateIdsResponse
|
|
144
177
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
145
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
146
178
|
command.query['fields'] = fields unless fields.nil?
|
|
179
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
147
180
|
execute_or_queue_command(command, &block)
|
|
148
181
|
end
|
|
149
182
|
|
|
150
|
-
#
|
|
183
|
+
# Begins a new transaction.
|
|
151
184
|
# @param [String] project_id
|
|
152
185
|
# The ID of the project against which to make the request.
|
|
153
|
-
# @param [Google::Apis::DatastoreV1::
|
|
186
|
+
# @param [Google::Apis::DatastoreV1::BeginTransactionRequest] begin_transaction_request_object
|
|
187
|
+
# @param [String] fields
|
|
188
|
+
# Selector specifying which fields to include in a partial response.
|
|
154
189
|
# @param [String] quota_user
|
|
155
190
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
156
191
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
157
|
-
# @param [String] fields
|
|
158
|
-
# Selector specifying which fields to include in a partial response.
|
|
159
192
|
# @param [Google::Apis::RequestOptions] options
|
|
160
193
|
# Request-specific options
|
|
161
194
|
#
|
|
162
195
|
# @yield [result, err] Result & error if block supplied
|
|
163
|
-
# @yieldparam result [Google::Apis::DatastoreV1::
|
|
196
|
+
# @yieldparam result [Google::Apis::DatastoreV1::BeginTransactionResponse] parsed result object
|
|
164
197
|
# @yieldparam err [StandardError] error object if request failed
|
|
165
198
|
#
|
|
166
|
-
# @return [Google::Apis::DatastoreV1::
|
|
199
|
+
# @return [Google::Apis::DatastoreV1::BeginTransactionResponse]
|
|
167
200
|
#
|
|
168
201
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
169
202
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
170
203
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
171
|
-
def
|
|
172
|
-
command = make_simple_command(:post, 'v1/projects/{projectId}:
|
|
173
|
-
command.request_representation = Google::Apis::DatastoreV1::
|
|
174
|
-
command.request_object =
|
|
175
|
-
command.response_representation = Google::Apis::DatastoreV1::
|
|
176
|
-
command.response_class = Google::Apis::DatastoreV1::
|
|
204
|
+
def begin_project_transaction(project_id, begin_transaction_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
205
|
+
command = make_simple_command(:post, 'v1/projects/{projectId}:beginTransaction', options)
|
|
206
|
+
command.request_representation = Google::Apis::DatastoreV1::BeginTransactionRequest::Representation
|
|
207
|
+
command.request_object = begin_transaction_request_object
|
|
208
|
+
command.response_representation = Google::Apis::DatastoreV1::BeginTransactionResponse::Representation
|
|
209
|
+
command.response_class = Google::Apis::DatastoreV1::BeginTransactionResponse
|
|
177
210
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
178
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
179
211
|
command.query['fields'] = fields unless fields.nil?
|
|
212
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
180
213
|
execute_or_queue_command(command, &block)
|
|
181
214
|
end
|
|
182
215
|
|
|
@@ -185,11 +218,11 @@ module Google
|
|
|
185
218
|
# @param [String] project_id
|
|
186
219
|
# The ID of the project against which to make the request.
|
|
187
220
|
# @param [Google::Apis::DatastoreV1::CommitRequest] commit_request_object
|
|
221
|
+
# @param [String] fields
|
|
222
|
+
# Selector specifying which fields to include in a partial response.
|
|
188
223
|
# @param [String] quota_user
|
|
189
224
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
190
225
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
191
|
-
# @param [String] fields
|
|
192
|
-
# Selector specifying which fields to include in a partial response.
|
|
193
226
|
# @param [Google::Apis::RequestOptions] options
|
|
194
227
|
# Request-specific options
|
|
195
228
|
#
|
|
@@ -202,48 +235,15 @@ module Google
|
|
|
202
235
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
203
236
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
204
237
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
205
|
-
def commit_project(project_id, commit_request_object = nil,
|
|
238
|
+
def commit_project(project_id, commit_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
206
239
|
command = make_simple_command(:post, 'v1/projects/{projectId}:commit', options)
|
|
207
240
|
command.request_representation = Google::Apis::DatastoreV1::CommitRequest::Representation
|
|
208
241
|
command.request_object = commit_request_object
|
|
209
242
|
command.response_representation = Google::Apis::DatastoreV1::CommitResponse::Representation
|
|
210
243
|
command.response_class = Google::Apis::DatastoreV1::CommitResponse
|
|
211
244
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
212
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
213
245
|
command.query['fields'] = fields unless fields.nil?
|
|
214
|
-
execute_or_queue_command(command, &block)
|
|
215
|
-
end
|
|
216
|
-
|
|
217
|
-
# Rolls back a transaction.
|
|
218
|
-
# @param [String] project_id
|
|
219
|
-
# The ID of the project against which to make the request.
|
|
220
|
-
# @param [Google::Apis::DatastoreV1::RollbackRequest] rollback_request_object
|
|
221
|
-
# @param [String] quota_user
|
|
222
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
223
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
224
|
-
# @param [String] fields
|
|
225
|
-
# Selector specifying which fields to include in a partial response.
|
|
226
|
-
# @param [Google::Apis::RequestOptions] options
|
|
227
|
-
# Request-specific options
|
|
228
|
-
#
|
|
229
|
-
# @yield [result, err] Result & error if block supplied
|
|
230
|
-
# @yieldparam result [Google::Apis::DatastoreV1::RollbackResponse] parsed result object
|
|
231
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
232
|
-
#
|
|
233
|
-
# @return [Google::Apis::DatastoreV1::RollbackResponse]
|
|
234
|
-
#
|
|
235
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
236
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
237
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
238
|
-
def rollback_project(project_id, rollback_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
239
|
-
command = make_simple_command(:post, 'v1/projects/{projectId}:rollback', options)
|
|
240
|
-
command.request_representation = Google::Apis::DatastoreV1::RollbackRequest::Representation
|
|
241
|
-
command.request_object = rollback_request_object
|
|
242
|
-
command.response_representation = Google::Apis::DatastoreV1::RollbackResponse::Representation
|
|
243
|
-
command.response_class = Google::Apis::DatastoreV1::RollbackResponse
|
|
244
|
-
command.params['projectId'] = project_id unless project_id.nil?
|
|
245
246
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
246
|
-
command.query['fields'] = fields unless fields.nil?
|
|
247
247
|
execute_or_queue_command(command, &block)
|
|
248
248
|
end
|
|
249
249
|
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://developers.google.com/doubleclick-search/
|
|
27
27
|
module DoubleclicksearchV2
|
|
28
28
|
VERSION = 'V2'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20170207'
|
|
30
30
|
|
|
31
31
|
# View and manage your advertising data in DoubleClick Search
|
|
32
32
|
AUTH_DOUBLECLICKSEARCH = 'https://www.googleapis.com/auth/doubleclicksearch'
|
|
@@ -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 = '
|
|
28
|
+
REVISION = '20170201'
|
|
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 = '
|
|
28
|
+
REVISION = '20170201'
|
|
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 = '
|
|
28
|
+
REVISION = '20170201'
|
|
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,13 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/genomics
|
|
26
26
|
module GenomicsV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20170211'
|
|
29
|
+
|
|
30
|
+
# View and manage your data across Google Cloud Platform services
|
|
31
|
+
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
32
|
+
|
|
33
|
+
# View Genomics data
|
|
34
|
+
AUTH_GENOMICS_READONLY = 'https://www.googleapis.com/auth/genomics.readonly'
|
|
29
35
|
|
|
30
36
|
# View and manage Genomics data
|
|
31
37
|
AUTH_GENOMICS = 'https://www.googleapis.com/auth/genomics'
|
|
@@ -35,12 +41,6 @@ module Google
|
|
|
35
41
|
|
|
36
42
|
# Manage your data in Google Cloud Storage
|
|
37
43
|
AUTH_DEVSTORAGE_READ_WRITE = 'https://www.googleapis.com/auth/devstorage.read_write'
|
|
38
|
-
|
|
39
|
-
# View and manage your data across Google Cloud Platform services
|
|
40
|
-
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
41
|
-
|
|
42
|
-
# View Genomics data
|
|
43
|
-
AUTH_GENOMICS_READONLY = 'https://www.googleapis.com/auth/genomics.readonly'
|
|
44
44
|
end
|
|
45
45
|
end
|
|
46
46
|
end
|
|
@@ -22,6 +22,192 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module GenomicsV1
|
|
24
24
|
|
|
25
|
+
#
|
|
26
|
+
class SearchAnnotationSetsResponse
|
|
27
|
+
include Google::Apis::Core::Hashable
|
|
28
|
+
|
|
29
|
+
# The matching annotation sets.
|
|
30
|
+
# Corresponds to the JSON property `annotationSets`
|
|
31
|
+
# @return [Array<Google::Apis::GenomicsV1::AnnotationSet>]
|
|
32
|
+
attr_accessor :annotation_sets
|
|
33
|
+
|
|
34
|
+
# The continuation token, which is used to page through large result sets.
|
|
35
|
+
# Provide this value in a subsequent request to return the next page of
|
|
36
|
+
# results. This field will be empty if there aren't any additional results.
|
|
37
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
38
|
+
# @return [String]
|
|
39
|
+
attr_accessor :next_page_token
|
|
40
|
+
|
|
41
|
+
def initialize(**args)
|
|
42
|
+
update!(**args)
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
# Update properties of this object
|
|
46
|
+
def update!(**args)
|
|
47
|
+
@annotation_sets = args[:annotation_sets] if args.key?(:annotation_sets)
|
|
48
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
# The variant data import request.
|
|
53
|
+
class ImportVariantsRequest
|
|
54
|
+
include Google::Apis::Core::Hashable
|
|
55
|
+
|
|
56
|
+
# A mapping between info field keys and the InfoMergeOperations to
|
|
57
|
+
# be performed on them. This is plumbed down to the MergeVariantRequests
|
|
58
|
+
# generated by the resulting import job.
|
|
59
|
+
# Corresponds to the JSON property `infoMergeConfig`
|
|
60
|
+
# @return [Hash<String,String>]
|
|
61
|
+
attr_accessor :info_merge_config
|
|
62
|
+
|
|
63
|
+
# Required. The variant set to which variant data should be imported.
|
|
64
|
+
# Corresponds to the JSON property `variantSetId`
|
|
65
|
+
# @return [String]
|
|
66
|
+
attr_accessor :variant_set_id
|
|
67
|
+
|
|
68
|
+
# A list of URIs referencing variant files in Google Cloud Storage. URIs can
|
|
69
|
+
# include wildcards [as described
|
|
70
|
+
# here](https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames).
|
|
71
|
+
# Note that recursive wildcards ('**') are not supported.
|
|
72
|
+
# Corresponds to the JSON property `sourceUris`
|
|
73
|
+
# @return [Array<String>]
|
|
74
|
+
attr_accessor :source_uris
|
|
75
|
+
|
|
76
|
+
# Convert reference names to the canonical representation.
|
|
77
|
+
# hg19 haploytypes (those reference names containing "_hap")
|
|
78
|
+
# are not modified in any way.
|
|
79
|
+
# All other reference names are modified according to the following rules:
|
|
80
|
+
# The reference name is capitalized.
|
|
81
|
+
# The "chr" prefix is dropped for all autosomes and sex chromsomes.
|
|
82
|
+
# For example "chr17" becomes "17" and "chrX" becomes "X".
|
|
83
|
+
# All mitochondrial chromosomes ("chrM", "chrMT", etc) become "MT".
|
|
84
|
+
# Corresponds to the JSON property `normalizeReferenceNames`
|
|
85
|
+
# @return [Boolean]
|
|
86
|
+
attr_accessor :normalize_reference_names
|
|
87
|
+
alias_method :normalize_reference_names?, :normalize_reference_names
|
|
88
|
+
|
|
89
|
+
# The format of the variant data being imported. If unspecified, defaults to
|
|
90
|
+
# to `VCF`.
|
|
91
|
+
# Corresponds to the JSON property `format`
|
|
92
|
+
# @return [String]
|
|
93
|
+
attr_accessor :format
|
|
94
|
+
|
|
95
|
+
def initialize(**args)
|
|
96
|
+
update!(**args)
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
# Update properties of this object
|
|
100
|
+
def update!(**args)
|
|
101
|
+
@info_merge_config = args[:info_merge_config] if args.key?(:info_merge_config)
|
|
102
|
+
@variant_set_id = args[:variant_set_id] if args.key?(:variant_set_id)
|
|
103
|
+
@source_uris = args[:source_uris] if args.key?(:source_uris)
|
|
104
|
+
@normalize_reference_names = args[:normalize_reference_names] if args.key?(:normalize_reference_names)
|
|
105
|
+
@format = args[:format] if args.key?(:format)
|
|
106
|
+
end
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
#
|
|
110
|
+
class ListCoverageBucketsResponse
|
|
111
|
+
include Google::Apis::Core::Hashable
|
|
112
|
+
|
|
113
|
+
# The continuation token, which is used to page through large result sets.
|
|
114
|
+
# Provide this value in a subsequent request to return the next page of
|
|
115
|
+
# results. This field will be empty if there aren't any additional results.
|
|
116
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
117
|
+
# @return [String]
|
|
118
|
+
attr_accessor :next_page_token
|
|
119
|
+
|
|
120
|
+
# The length of each coverage bucket in base pairs. Note that buckets at the
|
|
121
|
+
# end of a reference sequence may be shorter. This value is omitted if the
|
|
122
|
+
# bucket width is infinity (the default behaviour, with no range or
|
|
123
|
+
# `targetBucketWidth`).
|
|
124
|
+
# Corresponds to the JSON property `bucketWidth`
|
|
125
|
+
# @return [String]
|
|
126
|
+
attr_accessor :bucket_width
|
|
127
|
+
|
|
128
|
+
# The coverage buckets. The list of buckets is sparse; a bucket with 0
|
|
129
|
+
# overlapping reads is not returned. A bucket never crosses more than one
|
|
130
|
+
# reference sequence. Each bucket has width `bucketWidth`, unless
|
|
131
|
+
# its end is the end of the reference sequence.
|
|
132
|
+
# Corresponds to the JSON property `coverageBuckets`
|
|
133
|
+
# @return [Array<Google::Apis::GenomicsV1::CoverageBucket>]
|
|
134
|
+
attr_accessor :coverage_buckets
|
|
135
|
+
|
|
136
|
+
def initialize(**args)
|
|
137
|
+
update!(**args)
|
|
138
|
+
end
|
|
139
|
+
|
|
140
|
+
# Update properties of this object
|
|
141
|
+
def update!(**args)
|
|
142
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
143
|
+
@bucket_width = args[:bucket_width] if args.key?(:bucket_width)
|
|
144
|
+
@coverage_buckets = args[:coverage_buckets] if args.key?(:coverage_buckets)
|
|
145
|
+
end
|
|
146
|
+
end
|
|
147
|
+
|
|
148
|
+
#
|
|
149
|
+
class VariantAnnotation
|
|
150
|
+
include Google::Apis::Core::Hashable
|
|
151
|
+
|
|
152
|
+
# Effect of the variant on the coding sequence.
|
|
153
|
+
# Corresponds to the JSON property `effect`
|
|
154
|
+
# @return [String]
|
|
155
|
+
attr_accessor :effect
|
|
156
|
+
|
|
157
|
+
# Google annotation IDs of the transcripts affected by this variant. These
|
|
158
|
+
# should be provided when the variant is created.
|
|
159
|
+
# Corresponds to the JSON property `transcriptIds`
|
|
160
|
+
# @return [Array<String>]
|
|
161
|
+
attr_accessor :transcript_ids
|
|
162
|
+
|
|
163
|
+
# Type has been adapted from ClinVar's list of variant types.
|
|
164
|
+
# Corresponds to the JSON property `type`
|
|
165
|
+
# @return [String]
|
|
166
|
+
attr_accessor :type
|
|
167
|
+
|
|
168
|
+
# The alternate allele for this variant. If multiple alternate alleles
|
|
169
|
+
# exist at this location, create a separate variant for each one, as they
|
|
170
|
+
# may represent distinct conditions.
|
|
171
|
+
# Corresponds to the JSON property `alternateBases`
|
|
172
|
+
# @return [String]
|
|
173
|
+
attr_accessor :alternate_bases
|
|
174
|
+
|
|
175
|
+
# Google annotation ID of the gene affected by this variant. This should
|
|
176
|
+
# be provided when the variant is created.
|
|
177
|
+
# Corresponds to the JSON property `geneId`
|
|
178
|
+
# @return [String]
|
|
179
|
+
attr_accessor :gene_id
|
|
180
|
+
|
|
181
|
+
# Describes the clinical significance of a variant.
|
|
182
|
+
# It is adapted from the ClinVar controlled vocabulary for clinical
|
|
183
|
+
# significance described at:
|
|
184
|
+
# http://www.ncbi.nlm.nih.gov/clinvar/docs/clinsig/
|
|
185
|
+
# Corresponds to the JSON property `clinicalSignificance`
|
|
186
|
+
# @return [String]
|
|
187
|
+
attr_accessor :clinical_significance
|
|
188
|
+
|
|
189
|
+
# The set of conditions associated with this variant.
|
|
190
|
+
# A condition describes the way a variant influences human health.
|
|
191
|
+
# Corresponds to the JSON property `conditions`
|
|
192
|
+
# @return [Array<Google::Apis::GenomicsV1::ClinicalCondition>]
|
|
193
|
+
attr_accessor :conditions
|
|
194
|
+
|
|
195
|
+
def initialize(**args)
|
|
196
|
+
update!(**args)
|
|
197
|
+
end
|
|
198
|
+
|
|
199
|
+
# Update properties of this object
|
|
200
|
+
def update!(**args)
|
|
201
|
+
@effect = args[:effect] if args.key?(:effect)
|
|
202
|
+
@transcript_ids = args[:transcript_ids] if args.key?(:transcript_ids)
|
|
203
|
+
@type = args[:type] if args.key?(:type)
|
|
204
|
+
@alternate_bases = args[:alternate_bases] if args.key?(:alternate_bases)
|
|
205
|
+
@gene_id = args[:gene_id] if args.key?(:gene_id)
|
|
206
|
+
@clinical_significance = args[:clinical_significance] if args.key?(:clinical_significance)
|
|
207
|
+
@conditions = args[:conditions] if args.key?(:conditions)
|
|
208
|
+
end
|
|
209
|
+
end
|
|
210
|
+
|
|
25
211
|
# The variant data export request.
|
|
26
212
|
class ExportVariantSetRequest
|
|
27
213
|
include Google::Apis::Core::Hashable
|
|
@@ -75,27 +261,6 @@ module Google
|
|
|
75
261
|
class SearchAnnotationsRequest
|
|
76
262
|
include Google::Apis::Core::Hashable
|
|
77
263
|
|
|
78
|
-
# The end position of the range on the reference, 0-based exclusive. If
|
|
79
|
-
# referenceId or
|
|
80
|
-
# referenceName
|
|
81
|
-
# must be specified, Defaults to the length of the reference.
|
|
82
|
-
# Corresponds to the JSON property `end`
|
|
83
|
-
# @return [String]
|
|
84
|
-
attr_accessor :end
|
|
85
|
-
|
|
86
|
-
# The continuation token, which is used to page through large result sets.
|
|
87
|
-
# To get the next page of results, set this parameter to the value of
|
|
88
|
-
# `nextPageToken` from the previous response.
|
|
89
|
-
# Corresponds to the JSON property `pageToken`
|
|
90
|
-
# @return [String]
|
|
91
|
-
attr_accessor :page_token
|
|
92
|
-
|
|
93
|
-
# The maximum number of results to return in a single page. If unspecified,
|
|
94
|
-
# defaults to 256. The maximum value is 2048.
|
|
95
|
-
# Corresponds to the JSON property `pageSize`
|
|
96
|
-
# @return [Fixnum]
|
|
97
|
-
attr_accessor :page_size
|
|
98
|
-
|
|
99
264
|
# The start position of the range on the reference, 0-based inclusive. If
|
|
100
265
|
# specified,
|
|
101
266
|
# referenceId or
|
|
@@ -123,19 +288,40 @@ module Google
|
|
|
123
288
|
# @return [String]
|
|
124
289
|
attr_accessor :reference_id
|
|
125
290
|
|
|
291
|
+
# The end position of the range on the reference, 0-based exclusive. If
|
|
292
|
+
# referenceId or
|
|
293
|
+
# referenceName
|
|
294
|
+
# must be specified, Defaults to the length of the reference.
|
|
295
|
+
# Corresponds to the JSON property `end`
|
|
296
|
+
# @return [String]
|
|
297
|
+
attr_accessor :end
|
|
298
|
+
|
|
299
|
+
# The continuation token, which is used to page through large result sets.
|
|
300
|
+
# To get the next page of results, set this parameter to the value of
|
|
301
|
+
# `nextPageToken` from the previous response.
|
|
302
|
+
# Corresponds to the JSON property `pageToken`
|
|
303
|
+
# @return [String]
|
|
304
|
+
attr_accessor :page_token
|
|
305
|
+
|
|
306
|
+
# The maximum number of results to return in a single page. If unspecified,
|
|
307
|
+
# defaults to 256. The maximum value is 2048.
|
|
308
|
+
# Corresponds to the JSON property `pageSize`
|
|
309
|
+
# @return [Fixnum]
|
|
310
|
+
attr_accessor :page_size
|
|
311
|
+
|
|
126
312
|
def initialize(**args)
|
|
127
313
|
update!(**args)
|
|
128
314
|
end
|
|
129
315
|
|
|
130
316
|
# Update properties of this object
|
|
131
317
|
def update!(**args)
|
|
132
|
-
@end = args[:end] if args.key?(:end)
|
|
133
|
-
@page_token = args[:page_token] if args.key?(:page_token)
|
|
134
|
-
@page_size = args[:page_size] if args.key?(:page_size)
|
|
135
318
|
@start = args[:start] if args.key?(:start)
|
|
136
319
|
@annotation_set_ids = args[:annotation_set_ids] if args.key?(:annotation_set_ids)
|
|
137
320
|
@reference_name = args[:reference_name] if args.key?(:reference_name)
|
|
138
321
|
@reference_id = args[:reference_id] if args.key?(:reference_id)
|
|
322
|
+
@end = args[:end] if args.key?(:end)
|
|
323
|
+
@page_token = args[:page_token] if args.key?(:page_token)
|
|
324
|
+
@page_size = args[:page_size] if args.key?(:page_size)
|
|
139
325
|
end
|
|
140
326
|
end
|
|
141
327
|
|
|
@@ -175,13 +361,6 @@ module Google
|
|
|
175
361
|
class CodingSequence
|
|
176
362
|
include Google::Apis::Core::Hashable
|
|
177
363
|
|
|
178
|
-
# The end of the coding sequence on this annotation's reference sequence,
|
|
179
|
-
# 0-based exclusive. Note that this position is relative to the reference
|
|
180
|
-
# start, and *not* the containing annotation start.
|
|
181
|
-
# Corresponds to the JSON property `end`
|
|
182
|
-
# @return [String]
|
|
183
|
-
attr_accessor :end
|
|
184
|
-
|
|
185
364
|
# The start of the coding sequence on this annotation's reference sequence,
|
|
186
365
|
# 0-based inclusive. Note that this position is relative to the reference
|
|
187
366
|
# start, and *not* the containing annotation start.
|
|
@@ -189,14 +368,21 @@ module Google
|
|
|
189
368
|
# @return [String]
|
|
190
369
|
attr_accessor :start
|
|
191
370
|
|
|
371
|
+
# The end of the coding sequence on this annotation's reference sequence,
|
|
372
|
+
# 0-based exclusive. Note that this position is relative to the reference
|
|
373
|
+
# start, and *not* the containing annotation start.
|
|
374
|
+
# Corresponds to the JSON property `end`
|
|
375
|
+
# @return [String]
|
|
376
|
+
attr_accessor :end
|
|
377
|
+
|
|
192
378
|
def initialize(**args)
|
|
193
379
|
update!(**args)
|
|
194
380
|
end
|
|
195
381
|
|
|
196
382
|
# Update properties of this object
|
|
197
383
|
def update!(**args)
|
|
198
|
-
@end = args[:end] if args.key?(:end)
|
|
199
384
|
@start = args[:start] if args.key?(:start)
|
|
385
|
+
@end = args[:end] if args.key?(:end)
|
|
200
386
|
end
|
|
201
387
|
end
|
|
202
388
|
|
|
@@ -320,11 +506,6 @@ module Google
|
|
|
320
506
|
class SearchReadGroupSetsResponse
|
|
321
507
|
include Google::Apis::Core::Hashable
|
|
322
508
|
|
|
323
|
-
# The list of matching read group sets.
|
|
324
|
-
# Corresponds to the JSON property `readGroupSets`
|
|
325
|
-
# @return [Array<Google::Apis::GenomicsV1::ReadGroupSet>]
|
|
326
|
-
attr_accessor :read_group_sets
|
|
327
|
-
|
|
328
509
|
# The continuation token, which is used to page through large result sets.
|
|
329
510
|
# Provide this value in a subsequent request to return the next page of
|
|
330
511
|
# results. This field will be empty if there aren't any additional results.
|
|
@@ -332,14 +513,19 @@ module Google
|
|
|
332
513
|
# @return [String]
|
|
333
514
|
attr_accessor :next_page_token
|
|
334
515
|
|
|
335
|
-
|
|
516
|
+
# The list of matching read group sets.
|
|
517
|
+
# Corresponds to the JSON property `readGroupSets`
|
|
518
|
+
# @return [Array<Google::Apis::GenomicsV1::ReadGroupSet>]
|
|
519
|
+
attr_accessor :read_group_sets
|
|
520
|
+
|
|
521
|
+
def initialize(**args)
|
|
336
522
|
update!(**args)
|
|
337
523
|
end
|
|
338
524
|
|
|
339
525
|
# Update properties of this object
|
|
340
526
|
def update!(**args)
|
|
341
|
-
@read_group_sets = args[:read_group_sets] if args.key?(:read_group_sets)
|
|
342
527
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
528
|
+
@read_group_sets = args[:read_group_sets] if args.key?(:read_group_sets)
|
|
343
529
|
end
|
|
344
530
|
end
|
|
345
531
|
|
|
@@ -348,6 +534,14 @@ module Google
|
|
|
348
534
|
class LinearAlignment
|
|
349
535
|
include Google::Apis::Core::Hashable
|
|
350
536
|
|
|
537
|
+
# The mapping quality of this alignment. Represents how likely
|
|
538
|
+
# the read maps to this position as opposed to other locations.
|
|
539
|
+
# Specifically, this is -10 log10 Pr(mapping position is wrong), rounded to
|
|
540
|
+
# the nearest integer.
|
|
541
|
+
# Corresponds to the JSON property `mappingQuality`
|
|
542
|
+
# @return [Fixnum]
|
|
543
|
+
attr_accessor :mapping_quality
|
|
544
|
+
|
|
351
545
|
# An abstraction for referring to a genomic position, in relation to some
|
|
352
546
|
# already known reference. For now, represents a genomic position as a
|
|
353
547
|
# reference name, a base number on that reference (0-based), and a
|
|
@@ -362,23 +556,15 @@ module Google
|
|
|
362
556
|
# @return [Array<Google::Apis::GenomicsV1::CigarUnit>]
|
|
363
557
|
attr_accessor :cigar
|
|
364
558
|
|
|
365
|
-
# The mapping quality of this alignment. Represents how likely
|
|
366
|
-
# the read maps to this position as opposed to other locations.
|
|
367
|
-
# Specifically, this is -10 log10 Pr(mapping position is wrong), rounded to
|
|
368
|
-
# the nearest integer.
|
|
369
|
-
# Corresponds to the JSON property `mappingQuality`
|
|
370
|
-
# @return [Fixnum]
|
|
371
|
-
attr_accessor :mapping_quality
|
|
372
|
-
|
|
373
559
|
def initialize(**args)
|
|
374
560
|
update!(**args)
|
|
375
561
|
end
|
|
376
562
|
|
|
377
563
|
# Update properties of this object
|
|
378
564
|
def update!(**args)
|
|
565
|
+
@mapping_quality = args[:mapping_quality] if args.key?(:mapping_quality)
|
|
379
566
|
@position = args[:position] if args.key?(:position)
|
|
380
567
|
@cigar = args[:cigar] if args.key?(:cigar)
|
|
381
|
-
@mapping_quality = args[:mapping_quality] if args.key?(:mapping_quality)
|
|
382
568
|
end
|
|
383
569
|
end
|
|
384
570
|
|
|
@@ -386,6 +572,12 @@ module Google
|
|
|
386
572
|
class SearchReferencesRequest
|
|
387
573
|
include Google::Apis::Core::Hashable
|
|
388
574
|
|
|
575
|
+
# If present, return references for which the
|
|
576
|
+
# md5checksum matches exactly.
|
|
577
|
+
# Corresponds to the JSON property `md5checksums`
|
|
578
|
+
# @return [Array<String>]
|
|
579
|
+
attr_accessor :md5checksums
|
|
580
|
+
|
|
389
581
|
# If present, return references for which a prefix of any of
|
|
390
582
|
# sourceAccessions match
|
|
391
583
|
# any of these strings. Accession numbers typically have a main number and a
|
|
@@ -412,23 +604,17 @@ module Google
|
|
|
412
604
|
# @return [Fixnum]
|
|
413
605
|
attr_accessor :page_size
|
|
414
606
|
|
|
415
|
-
# If present, return references for which the
|
|
416
|
-
# md5checksum matches exactly.
|
|
417
|
-
# Corresponds to the JSON property `md5checksums`
|
|
418
|
-
# @return [Array<String>]
|
|
419
|
-
attr_accessor :md5checksums
|
|
420
|
-
|
|
421
607
|
def initialize(**args)
|
|
422
608
|
update!(**args)
|
|
423
609
|
end
|
|
424
610
|
|
|
425
611
|
# Update properties of this object
|
|
426
612
|
def update!(**args)
|
|
613
|
+
@md5checksums = args[:md5checksums] if args.key?(:md5checksums)
|
|
427
614
|
@accessions = args[:accessions] if args.key?(:accessions)
|
|
428
615
|
@page_token = args[:page_token] if args.key?(:page_token)
|
|
429
616
|
@reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id)
|
|
430
617
|
@page_size = args[:page_size] if args.key?(:page_size)
|
|
431
|
-
@md5checksums = args[:md5checksums] if args.key?(:md5checksums)
|
|
432
618
|
end
|
|
433
619
|
end
|
|
434
620
|
|
|
@@ -438,11 +624,6 @@ module Google
|
|
|
438
624
|
class Dataset
|
|
439
625
|
include Google::Apis::Core::Hashable
|
|
440
626
|
|
|
441
|
-
# The dataset name.
|
|
442
|
-
# Corresponds to the JSON property `name`
|
|
443
|
-
# @return [String]
|
|
444
|
-
attr_accessor :name
|
|
445
|
-
|
|
446
627
|
# The Google Cloud project ID that this dataset belongs to.
|
|
447
628
|
# Corresponds to the JSON property `projectId`
|
|
448
629
|
# @return [String]
|
|
@@ -458,16 +639,21 @@ module Google
|
|
|
458
639
|
# @return [String]
|
|
459
640
|
attr_accessor :create_time
|
|
460
641
|
|
|
642
|
+
# The dataset name.
|
|
643
|
+
# Corresponds to the JSON property `name`
|
|
644
|
+
# @return [String]
|
|
645
|
+
attr_accessor :name
|
|
646
|
+
|
|
461
647
|
def initialize(**args)
|
|
462
648
|
update!(**args)
|
|
463
649
|
end
|
|
464
650
|
|
|
465
651
|
# Update properties of this object
|
|
466
652
|
def update!(**args)
|
|
467
|
-
@name = args[:name] if args.key?(:name)
|
|
468
653
|
@project_id = args[:project_id] if args.key?(:project_id)
|
|
469
654
|
@id = args[:id] if args.key?(:id)
|
|
470
655
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
656
|
+
@name = args[:name] if args.key?(:name)
|
|
471
657
|
end
|
|
472
658
|
end
|
|
473
659
|
|
|
@@ -494,6 +680,37 @@ module Google
|
|
|
494
680
|
class ReadGroup
|
|
495
681
|
include Google::Apis::Core::Hashable
|
|
496
682
|
|
|
683
|
+
# The server-generated read group ID, unique for all read groups.
|
|
684
|
+
# Note: This is different than the @RG ID field in the SAM spec. For that
|
|
685
|
+
# value, see name.
|
|
686
|
+
# Corresponds to the JSON property `id`
|
|
687
|
+
# @return [String]
|
|
688
|
+
attr_accessor :id
|
|
689
|
+
|
|
690
|
+
# The programs used to generate this read group. Programs are always
|
|
691
|
+
# identical for all read groups within a read group set. For this reason,
|
|
692
|
+
# only the first read group in a returned set will have this field
|
|
693
|
+
# populated.
|
|
694
|
+
# Corresponds to the JSON property `programs`
|
|
695
|
+
# @return [Array<Google::Apis::GenomicsV1::Program>]
|
|
696
|
+
attr_accessor :programs
|
|
697
|
+
|
|
698
|
+
# The predicted insert size of this read group. The insert size is the length
|
|
699
|
+
# the sequenced DNA fragment from end-to-end, not including the adapters.
|
|
700
|
+
# Corresponds to the JSON property `predictedInsertSize`
|
|
701
|
+
# @return [Fixnum]
|
|
702
|
+
attr_accessor :predicted_insert_size
|
|
703
|
+
|
|
704
|
+
# A free-form text description of this read group.
|
|
705
|
+
# Corresponds to the JSON property `description`
|
|
706
|
+
# @return [String]
|
|
707
|
+
attr_accessor :description
|
|
708
|
+
|
|
709
|
+
# A client-supplied sample identifier for the reads in this read group.
|
|
710
|
+
# Corresponds to the JSON property `sampleId`
|
|
711
|
+
# @return [String]
|
|
712
|
+
attr_accessor :sample_id
|
|
713
|
+
|
|
497
714
|
# The dataset to which this read group belongs.
|
|
498
715
|
# Corresponds to the JSON property `datasetId`
|
|
499
716
|
# @return [String]
|
|
@@ -520,53 +737,22 @@ module Google
|
|
|
520
737
|
# @return [Hash<String,Array<Object>>]
|
|
521
738
|
attr_accessor :info
|
|
522
739
|
|
|
523
|
-
# The server-generated read group ID, unique for all read groups.
|
|
524
|
-
# Note: This is different than the @RG ID field in the SAM spec. For that
|
|
525
|
-
# value, see name.
|
|
526
|
-
# Corresponds to the JSON property `id`
|
|
527
|
-
# @return [String]
|
|
528
|
-
attr_accessor :id
|
|
529
|
-
|
|
530
|
-
# The predicted insert size of this read group. The insert size is the length
|
|
531
|
-
# the sequenced DNA fragment from end-to-end, not including the adapters.
|
|
532
|
-
# Corresponds to the JSON property `predictedInsertSize`
|
|
533
|
-
# @return [Fixnum]
|
|
534
|
-
attr_accessor :predicted_insert_size
|
|
535
|
-
|
|
536
|
-
# The programs used to generate this read group. Programs are always
|
|
537
|
-
# identical for all read groups within a read group set. For this reason,
|
|
538
|
-
# only the first read group in a returned set will have this field
|
|
539
|
-
# populated.
|
|
540
|
-
# Corresponds to the JSON property `programs`
|
|
541
|
-
# @return [Array<Google::Apis::GenomicsV1::Program>]
|
|
542
|
-
attr_accessor :programs
|
|
543
|
-
|
|
544
|
-
# A free-form text description of this read group.
|
|
545
|
-
# Corresponds to the JSON property `description`
|
|
546
|
-
# @return [String]
|
|
547
|
-
attr_accessor :description
|
|
548
|
-
|
|
549
|
-
# A client-supplied sample identifier for the reads in this read group.
|
|
550
|
-
# Corresponds to the JSON property `sampleId`
|
|
551
|
-
# @return [String]
|
|
552
|
-
attr_accessor :sample_id
|
|
553
|
-
|
|
554
740
|
def initialize(**args)
|
|
555
741
|
update!(**args)
|
|
556
742
|
end
|
|
557
743
|
|
|
558
744
|
# Update properties of this object
|
|
559
745
|
def update!(**args)
|
|
746
|
+
@id = args[:id] if args.key?(:id)
|
|
747
|
+
@programs = args[:programs] if args.key?(:programs)
|
|
748
|
+
@predicted_insert_size = args[:predicted_insert_size] if args.key?(:predicted_insert_size)
|
|
749
|
+
@description = args[:description] if args.key?(:description)
|
|
750
|
+
@sample_id = args[:sample_id] if args.key?(:sample_id)
|
|
560
751
|
@dataset_id = args[:dataset_id] if args.key?(:dataset_id)
|
|
561
752
|
@experiment = args[:experiment] if args.key?(:experiment)
|
|
562
753
|
@name = args[:name] if args.key?(:name)
|
|
563
754
|
@reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id)
|
|
564
755
|
@info = args[:info] if args.key?(:info)
|
|
565
|
-
@id = args[:id] if args.key?(:id)
|
|
566
|
-
@predicted_insert_size = args[:predicted_insert_size] if args.key?(:predicted_insert_size)
|
|
567
|
-
@programs = args[:programs] if args.key?(:programs)
|
|
568
|
-
@description = args[:description] if args.key?(:description)
|
|
569
|
-
@sample_id = args[:sample_id] if args.key?(:sample_id)
|
|
570
756
|
end
|
|
571
757
|
end
|
|
572
758
|
|
|
@@ -582,10 +768,20 @@ module Google
|
|
|
582
768
|
class ReadGroupSet
|
|
583
769
|
include Google::Apis::Core::Hashable
|
|
584
770
|
|
|
585
|
-
#
|
|
586
|
-
# Corresponds to the JSON property `
|
|
771
|
+
# A map of additional read group set information.
|
|
772
|
+
# Corresponds to the JSON property `info`
|
|
773
|
+
# @return [Hash<String,Array<Object>>]
|
|
774
|
+
attr_accessor :info
|
|
775
|
+
|
|
776
|
+
# The server-generated read group set ID, unique for all read group sets.
|
|
777
|
+
# Corresponds to the JSON property `id`
|
|
587
778
|
# @return [String]
|
|
588
|
-
attr_accessor :
|
|
779
|
+
attr_accessor :id
|
|
780
|
+
|
|
781
|
+
# The dataset to which this read group set belongs.
|
|
782
|
+
# Corresponds to the JSON property `datasetId`
|
|
783
|
+
# @return [String]
|
|
784
|
+
attr_accessor :dataset_id
|
|
589
785
|
|
|
590
786
|
# The read groups in this set. There are typically 1-10 read groups in a read
|
|
591
787
|
# group set.
|
|
@@ -593,6 +789,11 @@ module Google
|
|
|
593
789
|
# @return [Array<Google::Apis::GenomicsV1::ReadGroup>]
|
|
594
790
|
attr_accessor :read_groups
|
|
595
791
|
|
|
792
|
+
# The filename of the original source file for this read group set, if any.
|
|
793
|
+
# Corresponds to the JSON property `filename`
|
|
794
|
+
# @return [String]
|
|
795
|
+
attr_accessor :filename
|
|
796
|
+
|
|
596
797
|
# The read group set name. By default this will be initialized to the sample
|
|
597
798
|
# name of the sequenced data contained in this set.
|
|
598
799
|
# Corresponds to the JSON property `name`
|
|
@@ -604,34 +805,19 @@ module Google
|
|
|
604
805
|
# @return [String]
|
|
605
806
|
attr_accessor :reference_set_id
|
|
606
807
|
|
|
607
|
-
# A map of additional read group set information.
|
|
608
|
-
# Corresponds to the JSON property `info`
|
|
609
|
-
# @return [Hash<String,Array<Object>>]
|
|
610
|
-
attr_accessor :info
|
|
611
|
-
|
|
612
|
-
# The server-generated read group set ID, unique for all read group sets.
|
|
613
|
-
# Corresponds to the JSON property `id`
|
|
614
|
-
# @return [String]
|
|
615
|
-
attr_accessor :id
|
|
616
|
-
|
|
617
|
-
# The dataset to which this read group set belongs.
|
|
618
|
-
# Corresponds to the JSON property `datasetId`
|
|
619
|
-
# @return [String]
|
|
620
|
-
attr_accessor :dataset_id
|
|
621
|
-
|
|
622
808
|
def initialize(**args)
|
|
623
809
|
update!(**args)
|
|
624
810
|
end
|
|
625
811
|
|
|
626
812
|
# Update properties of this object
|
|
627
813
|
def update!(**args)
|
|
628
|
-
@filename = args[:filename] if args.key?(:filename)
|
|
629
|
-
@read_groups = args[:read_groups] if args.key?(:read_groups)
|
|
630
|
-
@name = args[:name] if args.key?(:name)
|
|
631
|
-
@reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id)
|
|
632
814
|
@info = args[:info] if args.key?(:info)
|
|
633
815
|
@id = args[:id] if args.key?(:id)
|
|
634
816
|
@dataset_id = args[:dataset_id] if args.key?(:dataset_id)
|
|
817
|
+
@read_groups = args[:read_groups] if args.key?(:read_groups)
|
|
818
|
+
@filename = args[:filename] if args.key?(:filename)
|
|
819
|
+
@name = args[:name] if args.key?(:name)
|
|
820
|
+
@reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id)
|
|
635
821
|
end
|
|
636
822
|
end
|
|
637
823
|
|
|
@@ -756,13 +942,6 @@ module Google
|
|
|
756
942
|
class Position
|
|
757
943
|
include Google::Apis::Core::Hashable
|
|
758
944
|
|
|
759
|
-
# Whether this position is on the reverse strand, as opposed to the forward
|
|
760
|
-
# strand.
|
|
761
|
-
# Corresponds to the JSON property `reverseStrand`
|
|
762
|
-
# @return [Boolean]
|
|
763
|
-
attr_accessor :reverse_strand
|
|
764
|
-
alias_method :reverse_strand?, :reverse_strand
|
|
765
|
-
|
|
766
945
|
# The 0-based offset from the start of the forward strand for that reference.
|
|
767
946
|
# Corresponds to the JSON property `position`
|
|
768
947
|
# @return [String]
|
|
@@ -773,15 +952,22 @@ module Google
|
|
|
773
952
|
# @return [String]
|
|
774
953
|
attr_accessor :reference_name
|
|
775
954
|
|
|
955
|
+
# Whether this position is on the reverse strand, as opposed to the forward
|
|
956
|
+
# strand.
|
|
957
|
+
# Corresponds to the JSON property `reverseStrand`
|
|
958
|
+
# @return [Boolean]
|
|
959
|
+
attr_accessor :reverse_strand
|
|
960
|
+
alias_method :reverse_strand?, :reverse_strand
|
|
961
|
+
|
|
776
962
|
def initialize(**args)
|
|
777
963
|
update!(**args)
|
|
778
964
|
end
|
|
779
965
|
|
|
780
966
|
# Update properties of this object
|
|
781
967
|
def update!(**args)
|
|
782
|
-
@reverse_strand = args[:reverse_strand] if args.key?(:reverse_strand)
|
|
783
968
|
@position = args[:position] if args.key?(:position)
|
|
784
969
|
@reference_name = args[:reference_name] if args.key?(:reference_name)
|
|
970
|
+
@reverse_strand = args[:reverse_strand] if args.key?(:reverse_strand)
|
|
785
971
|
end
|
|
786
972
|
end
|
|
787
973
|
|
|
@@ -816,6 +1002,18 @@ module Google
|
|
|
816
1002
|
class SearchCallSetsRequest
|
|
817
1003
|
include Google::Apis::Core::Hashable
|
|
818
1004
|
|
|
1005
|
+
# The maximum number of results to return in a single page. If unspecified,
|
|
1006
|
+
# defaults to 1024.
|
|
1007
|
+
# Corresponds to the JSON property `pageSize`
|
|
1008
|
+
# @return [Fixnum]
|
|
1009
|
+
attr_accessor :page_size
|
|
1010
|
+
|
|
1011
|
+
# Restrict the query to call sets within the given variant sets. At least one
|
|
1012
|
+
# ID must be provided.
|
|
1013
|
+
# Corresponds to the JSON property `variantSetIds`
|
|
1014
|
+
# @return [Array<String>]
|
|
1015
|
+
attr_accessor :variant_set_ids
|
|
1016
|
+
|
|
819
1017
|
# Only return call sets for which a substring of the name matches this
|
|
820
1018
|
# string.
|
|
821
1019
|
# Corresponds to the JSON property `name`
|
|
@@ -829,28 +1027,16 @@ module Google
|
|
|
829
1027
|
# @return [String]
|
|
830
1028
|
attr_accessor :page_token
|
|
831
1029
|
|
|
832
|
-
# The maximum number of results to return in a single page. If unspecified,
|
|
833
|
-
# defaults to 1024.
|
|
834
|
-
# Corresponds to the JSON property `pageSize`
|
|
835
|
-
# @return [Fixnum]
|
|
836
|
-
attr_accessor :page_size
|
|
837
|
-
|
|
838
|
-
# Restrict the query to call sets within the given variant sets. At least one
|
|
839
|
-
# ID must be provided.
|
|
840
|
-
# Corresponds to the JSON property `variantSetIds`
|
|
841
|
-
# @return [Array<String>]
|
|
842
|
-
attr_accessor :variant_set_ids
|
|
843
|
-
|
|
844
1030
|
def initialize(**args)
|
|
845
1031
|
update!(**args)
|
|
846
1032
|
end
|
|
847
1033
|
|
|
848
1034
|
# Update properties of this object
|
|
849
1035
|
def update!(**args)
|
|
850
|
-
@name = args[:name] if args.key?(:name)
|
|
851
|
-
@page_token = args[:page_token] if args.key?(:page_token)
|
|
852
1036
|
@page_size = args[:page_size] if args.key?(:page_size)
|
|
853
1037
|
@variant_set_ids = args[:variant_set_ids] if args.key?(:variant_set_ids)
|
|
1038
|
+
@name = args[:name] if args.key?(:name)
|
|
1039
|
+
@page_token = args[:page_token] if args.key?(:page_token)
|
|
854
1040
|
end
|
|
855
1041
|
end
|
|
856
1042
|
|
|
@@ -858,14 +1044,6 @@ module Google
|
|
|
858
1044
|
class ImportReadGroupSetsRequest
|
|
859
1045
|
include Google::Apis::Core::Hashable
|
|
860
1046
|
|
|
861
|
-
# The reference set to which the imported read group sets are aligned to, if
|
|
862
|
-
# any. The reference names of this reference set must be a superset of those
|
|
863
|
-
# found in the imported file headers. If no reference set id is provided, a
|
|
864
|
-
# best effort is made to associate with a matching reference set.
|
|
865
|
-
# Corresponds to the JSON property `referenceSetId`
|
|
866
|
-
# @return [String]
|
|
867
|
-
attr_accessor :reference_set_id
|
|
868
|
-
|
|
869
1047
|
# The partition strategy describes how read groups are partitioned into read
|
|
870
1048
|
# group sets.
|
|
871
1049
|
# Corresponds to the JSON property `partitionStrategy`
|
|
@@ -891,16 +1069,24 @@ module Google
|
|
|
891
1069
|
# @return [Array<String>]
|
|
892
1070
|
attr_accessor :source_uris
|
|
893
1071
|
|
|
1072
|
+
# The reference set to which the imported read group sets are aligned to, if
|
|
1073
|
+
# any. The reference names of this reference set must be a superset of those
|
|
1074
|
+
# found in the imported file headers. If no reference set id is provided, a
|
|
1075
|
+
# best effort is made to associate with a matching reference set.
|
|
1076
|
+
# Corresponds to the JSON property `referenceSetId`
|
|
1077
|
+
# @return [String]
|
|
1078
|
+
attr_accessor :reference_set_id
|
|
1079
|
+
|
|
894
1080
|
def initialize(**args)
|
|
895
1081
|
update!(**args)
|
|
896
1082
|
end
|
|
897
1083
|
|
|
898
1084
|
# Update properties of this object
|
|
899
1085
|
def update!(**args)
|
|
900
|
-
@reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id)
|
|
901
1086
|
@partition_strategy = args[:partition_strategy] if args.key?(:partition_strategy)
|
|
902
1087
|
@dataset_id = args[:dataset_id] if args.key?(:dataset_id)
|
|
903
1088
|
@source_uris = args[:source_uris] if args.key?(:source_uris)
|
|
1089
|
+
@reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id)
|
|
904
1090
|
end
|
|
905
1091
|
end
|
|
906
1092
|
|
|
@@ -933,13 +1119,6 @@ module Google
|
|
|
933
1119
|
class Policy
|
|
934
1120
|
include Google::Apis::Core::Hashable
|
|
935
1121
|
|
|
936
|
-
# Associates a list of `members` to a `role`.
|
|
937
|
-
# Multiple `bindings` must not be specified for the same `role`.
|
|
938
|
-
# `bindings` with no members will result in an error.
|
|
939
|
-
# Corresponds to the JSON property `bindings`
|
|
940
|
-
# @return [Array<Google::Apis::GenomicsV1::Binding>]
|
|
941
|
-
attr_accessor :bindings
|
|
942
|
-
|
|
943
1122
|
# `etag` is used for optimistic concurrency control as a way to help
|
|
944
1123
|
# prevent simultaneous updates of a policy from overwriting each other.
|
|
945
1124
|
# It is strongly suggested that systems make use of the `etag` in the
|
|
@@ -958,15 +1137,22 @@ module Google
|
|
|
958
1137
|
# @return [Fixnum]
|
|
959
1138
|
attr_accessor :version
|
|
960
1139
|
|
|
1140
|
+
# Associates a list of `members` to a `role`.
|
|
1141
|
+
# Multiple `bindings` must not be specified for the same `role`.
|
|
1142
|
+
# `bindings` with no members will result in an error.
|
|
1143
|
+
# Corresponds to the JSON property `bindings`
|
|
1144
|
+
# @return [Array<Google::Apis::GenomicsV1::Binding>]
|
|
1145
|
+
attr_accessor :bindings
|
|
1146
|
+
|
|
961
1147
|
def initialize(**args)
|
|
962
1148
|
update!(**args)
|
|
963
1149
|
end
|
|
964
1150
|
|
|
965
1151
|
# Update properties of this object
|
|
966
1152
|
def update!(**args)
|
|
967
|
-
@bindings = args[:bindings] if args.key?(:bindings)
|
|
968
1153
|
@etag = args[:etag] if args.key?(:etag)
|
|
969
1154
|
@version = args[:version] if args.key?(:version)
|
|
1155
|
+
@bindings = args[:bindings] if args.key?(:bindings)
|
|
970
1156
|
end
|
|
971
1157
|
end
|
|
972
1158
|
|
|
@@ -1059,47 +1245,17 @@ module Google
|
|
|
1059
1245
|
class Annotation
|
|
1060
1246
|
include Google::Apis::Core::Hashable
|
|
1061
1247
|
|
|
1062
|
-
# The
|
|
1063
|
-
#
|
|
1248
|
+
# The display name corresponding to the reference specified by
|
|
1249
|
+
# `referenceId`, for example `chr1`, `1`, or `chrX`.
|
|
1250
|
+
# Corresponds to the JSON property `referenceName`
|
|
1064
1251
|
# @return [String]
|
|
1065
|
-
attr_accessor :
|
|
1252
|
+
attr_accessor :reference_name
|
|
1066
1253
|
|
|
1067
|
-
# The
|
|
1068
|
-
#
|
|
1069
|
-
#
|
|
1070
|
-
attr_accessor :name
|
|
1071
|
-
|
|
1072
|
-
# A variant annotation, which describes the effect of a variant on the
|
|
1073
|
-
# genome, the coding sequence, and/or higher level consequences at the
|
|
1074
|
-
# organism level e.g. pathogenicity. This field is only set for annotations
|
|
1075
|
-
# of type `VARIANT`.
|
|
1076
|
-
# Corresponds to the JSON property `variant`
|
|
1077
|
-
# @return [Google::Apis::GenomicsV1::VariantAnnotation]
|
|
1078
|
-
attr_accessor :variant
|
|
1079
|
-
|
|
1080
|
-
# The server-generated annotation ID, unique across all annotations.
|
|
1081
|
-
# Corresponds to the JSON property `id`
|
|
1082
|
-
# @return [String]
|
|
1083
|
-
attr_accessor :id
|
|
1084
|
-
|
|
1085
|
-
# The ID of the Google Genomics reference associated with this range.
|
|
1086
|
-
# Corresponds to the JSON property `referenceId`
|
|
1087
|
-
# @return [String]
|
|
1088
|
-
attr_accessor :reference_id
|
|
1089
|
-
|
|
1090
|
-
# Whether this range refers to the reverse strand, as opposed to the forward
|
|
1091
|
-
# strand. Note that regardless of this field, the start/end position of the
|
|
1092
|
-
# range always refer to the forward strand.
|
|
1093
|
-
# Corresponds to the JSON property `reverseStrand`
|
|
1094
|
-
# @return [Boolean]
|
|
1095
|
-
attr_accessor :reverse_strand
|
|
1096
|
-
alias_method :reverse_strand?, :reverse_strand
|
|
1097
|
-
|
|
1098
|
-
# The display name corresponding to the reference specified by
|
|
1099
|
-
# `referenceId`, for example `chr1`, `1`, or `chrX`.
|
|
1100
|
-
# Corresponds to the JSON property `referenceName`
|
|
1254
|
+
# The data type for this annotation. Must match the containing annotation
|
|
1255
|
+
# set's type.
|
|
1256
|
+
# Corresponds to the JSON property `type`
|
|
1101
1257
|
# @return [String]
|
|
1102
|
-
attr_accessor :
|
|
1258
|
+
attr_accessor :type
|
|
1103
1259
|
|
|
1104
1260
|
# A map of additional read alignment information. This must be of the form
|
|
1105
1261
|
# map<string, string[]> (string key mapping to a list of string values).
|
|
@@ -1107,12 +1263,6 @@ module Google
|
|
|
1107
1263
|
# @return [Hash<String,Array<Object>>]
|
|
1108
1264
|
attr_accessor :info
|
|
1109
1265
|
|
|
1110
|
-
# The data type for this annotation. Must match the containing annotation
|
|
1111
|
-
# set's type.
|
|
1112
|
-
# Corresponds to the JSON property `type`
|
|
1113
|
-
# @return [String]
|
|
1114
|
-
attr_accessor :type
|
|
1115
|
-
|
|
1116
1266
|
# The end position of the range on the reference, 0-based exclusive.
|
|
1117
1267
|
# Corresponds to the JSON property `end`
|
|
1118
1268
|
# @return [String]
|
|
@@ -1129,24 +1279,82 @@ module Google
|
|
|
1129
1279
|
# @return [String]
|
|
1130
1280
|
attr_accessor :start
|
|
1131
1281
|
|
|
1282
|
+
# The annotation set to which this annotation belongs.
|
|
1283
|
+
# Corresponds to the JSON property `annotationSetId`
|
|
1284
|
+
# @return [String]
|
|
1285
|
+
attr_accessor :annotation_set_id
|
|
1286
|
+
|
|
1287
|
+
# The display name of this annotation.
|
|
1288
|
+
# Corresponds to the JSON property `name`
|
|
1289
|
+
# @return [String]
|
|
1290
|
+
attr_accessor :name
|
|
1291
|
+
|
|
1292
|
+
# A variant annotation, which describes the effect of a variant on the
|
|
1293
|
+
# genome, the coding sequence, and/or higher level consequences at the
|
|
1294
|
+
# organism level e.g. pathogenicity. This field is only set for annotations
|
|
1295
|
+
# of type `VARIANT`.
|
|
1296
|
+
# Corresponds to the JSON property `variant`
|
|
1297
|
+
# @return [Google::Apis::GenomicsV1::VariantAnnotation]
|
|
1298
|
+
attr_accessor :variant
|
|
1299
|
+
|
|
1300
|
+
# The ID of the Google Genomics reference associated with this range.
|
|
1301
|
+
# Corresponds to the JSON property `referenceId`
|
|
1302
|
+
# @return [String]
|
|
1303
|
+
attr_accessor :reference_id
|
|
1304
|
+
|
|
1305
|
+
# The server-generated annotation ID, unique across all annotations.
|
|
1306
|
+
# Corresponds to the JSON property `id`
|
|
1307
|
+
# @return [String]
|
|
1308
|
+
attr_accessor :id
|
|
1309
|
+
|
|
1310
|
+
# Whether this range refers to the reverse strand, as opposed to the forward
|
|
1311
|
+
# strand. Note that regardless of this field, the start/end position of the
|
|
1312
|
+
# range always refer to the forward strand.
|
|
1313
|
+
# Corresponds to the JSON property `reverseStrand`
|
|
1314
|
+
# @return [Boolean]
|
|
1315
|
+
attr_accessor :reverse_strand
|
|
1316
|
+
alias_method :reverse_strand?, :reverse_strand
|
|
1317
|
+
|
|
1132
1318
|
def initialize(**args)
|
|
1133
1319
|
update!(**args)
|
|
1134
1320
|
end
|
|
1135
1321
|
|
|
1136
1322
|
# Update properties of this object
|
|
1137
1323
|
def update!(**args)
|
|
1138
|
-
@annotation_set_id = args[:annotation_set_id] if args.key?(:annotation_set_id)
|
|
1139
|
-
@name = args[:name] if args.key?(:name)
|
|
1140
|
-
@variant = args[:variant] if args.key?(:variant)
|
|
1141
|
-
@id = args[:id] if args.key?(:id)
|
|
1142
|
-
@reference_id = args[:reference_id] if args.key?(:reference_id)
|
|
1143
|
-
@reverse_strand = args[:reverse_strand] if args.key?(:reverse_strand)
|
|
1144
1324
|
@reference_name = args[:reference_name] if args.key?(:reference_name)
|
|
1145
|
-
@info = args[:info] if args.key?(:info)
|
|
1146
1325
|
@type = args[:type] if args.key?(:type)
|
|
1326
|
+
@info = args[:info] if args.key?(:info)
|
|
1147
1327
|
@end = args[:end] if args.key?(:end)
|
|
1148
1328
|
@transcript = args[:transcript] if args.key?(:transcript)
|
|
1149
1329
|
@start = args[:start] if args.key?(:start)
|
|
1330
|
+
@annotation_set_id = args[:annotation_set_id] if args.key?(:annotation_set_id)
|
|
1331
|
+
@name = args[:name] if args.key?(:name)
|
|
1332
|
+
@variant = args[:variant] if args.key?(:variant)
|
|
1333
|
+
@reference_id = args[:reference_id] if args.key?(:reference_id)
|
|
1334
|
+
@id = args[:id] if args.key?(:id)
|
|
1335
|
+
@reverse_strand = args[:reverse_strand] if args.key?(:reverse_strand)
|
|
1336
|
+
end
|
|
1337
|
+
end
|
|
1338
|
+
|
|
1339
|
+
# Runtime metadata that will be populated in the
|
|
1340
|
+
# runtimeMetadata
|
|
1341
|
+
# field of the Operation associated with a RunPipeline execution.
|
|
1342
|
+
class RuntimeMetadata
|
|
1343
|
+
include Google::Apis::Core::Hashable
|
|
1344
|
+
|
|
1345
|
+
# Describes a Compute Engine resource that is being managed by a running
|
|
1346
|
+
# pipeline.
|
|
1347
|
+
# Corresponds to the JSON property `computeEngine`
|
|
1348
|
+
# @return [Google::Apis::GenomicsV1::ComputeEngine]
|
|
1349
|
+
attr_accessor :compute_engine
|
|
1350
|
+
|
|
1351
|
+
def initialize(**args)
|
|
1352
|
+
update!(**args)
|
|
1353
|
+
end
|
|
1354
|
+
|
|
1355
|
+
# Update properties of this object
|
|
1356
|
+
def update!(**args)
|
|
1357
|
+
@compute_engine = args[:compute_engine] if args.key?(:compute_engine)
|
|
1150
1358
|
end
|
|
1151
1359
|
end
|
|
1152
1360
|
|
|
@@ -1155,6 +1363,14 @@ module Google
|
|
|
1155
1363
|
class Operation
|
|
1156
1364
|
include Google::Apis::Core::Hashable
|
|
1157
1365
|
|
|
1366
|
+
# If the value is `false`, it means the operation is still in progress.
|
|
1367
|
+
# If true, the operation is completed, and either `error` or `response` is
|
|
1368
|
+
# available.
|
|
1369
|
+
# Corresponds to the JSON property `done`
|
|
1370
|
+
# @return [Boolean]
|
|
1371
|
+
attr_accessor :done
|
|
1372
|
+
alias_method :done?, :done
|
|
1373
|
+
|
|
1158
1374
|
# If importing ReadGroupSets, an ImportReadGroupSetsResponse is returned. If
|
|
1159
1375
|
# importing Variants, an ImportVariantsResponse is returned. For pipelines and
|
|
1160
1376
|
# exports, an empty response is returned.
|
|
@@ -1217,47 +1433,17 @@ module Google
|
|
|
1217
1433
|
# @return [Hash<String,Object>]
|
|
1218
1434
|
attr_accessor :metadata
|
|
1219
1435
|
|
|
1220
|
-
# If the value is `false`, it means the operation is still in progress.
|
|
1221
|
-
# If true, the operation is completed, and either `error` or `response` is
|
|
1222
|
-
# available.
|
|
1223
|
-
# Corresponds to the JSON property `done`
|
|
1224
|
-
# @return [Boolean]
|
|
1225
|
-
attr_accessor :done
|
|
1226
|
-
alias_method :done?, :done
|
|
1227
|
-
|
|
1228
1436
|
def initialize(**args)
|
|
1229
1437
|
update!(**args)
|
|
1230
1438
|
end
|
|
1231
1439
|
|
|
1232
1440
|
# Update properties of this object
|
|
1233
1441
|
def update!(**args)
|
|
1442
|
+
@done = args[:done] if args.key?(:done)
|
|
1234
1443
|
@response = args[:response] if args.key?(:response)
|
|
1235
1444
|
@name = args[:name] if args.key?(:name)
|
|
1236
1445
|
@error = args[:error] if args.key?(:error)
|
|
1237
1446
|
@metadata = args[:metadata] if args.key?(:metadata)
|
|
1238
|
-
@done = args[:done] if args.key?(:done)
|
|
1239
|
-
end
|
|
1240
|
-
end
|
|
1241
|
-
|
|
1242
|
-
# Runtime metadata that will be populated in the
|
|
1243
|
-
# runtimeMetadata
|
|
1244
|
-
# field of the Operation associated with a RunPipeline execution.
|
|
1245
|
-
class RuntimeMetadata
|
|
1246
|
-
include Google::Apis::Core::Hashable
|
|
1247
|
-
|
|
1248
|
-
# Describes a Compute Engine resource that is being managed by a running
|
|
1249
|
-
# pipeline.
|
|
1250
|
-
# Corresponds to the JSON property `computeEngine`
|
|
1251
|
-
# @return [Google::Apis::GenomicsV1::ComputeEngine]
|
|
1252
|
-
attr_accessor :compute_engine
|
|
1253
|
-
|
|
1254
|
-
def initialize(**args)
|
|
1255
|
-
update!(**args)
|
|
1256
|
-
end
|
|
1257
|
-
|
|
1258
|
-
# Update properties of this object
|
|
1259
|
-
def update!(**args)
|
|
1260
|
-
@compute_engine = args[:compute_engine] if args.key?(:compute_engine)
|
|
1261
1447
|
end
|
|
1262
1448
|
end
|
|
1263
1449
|
|
|
@@ -1287,6 +1473,21 @@ module Google
|
|
|
1287
1473
|
class VariantCall
|
|
1288
1474
|
include Google::Apis::Core::Hashable
|
|
1289
1475
|
|
|
1476
|
+
# If this field is present, this variant call's genotype ordering implies
|
|
1477
|
+
# the phase of the bases and is consistent with any other variant calls in
|
|
1478
|
+
# the same reference sequence which have the same phaseset value.
|
|
1479
|
+
# When importing data from VCF, if the genotype data was phased but no
|
|
1480
|
+
# phase set was specified this field will be set to `*`.
|
|
1481
|
+
# Corresponds to the JSON property `phaseset`
|
|
1482
|
+
# @return [String]
|
|
1483
|
+
attr_accessor :phaseset
|
|
1484
|
+
|
|
1485
|
+
# A map of additional variant call information. This must be of the form
|
|
1486
|
+
# map<string, string[]> (string key mapping to a list of string values).
|
|
1487
|
+
# Corresponds to the JSON property `info`
|
|
1488
|
+
# @return [Hash<String,Array<Object>>]
|
|
1489
|
+
attr_accessor :info
|
|
1490
|
+
|
|
1290
1491
|
# The name of the call set this variant call belongs to.
|
|
1291
1492
|
# Corresponds to the JSON property `callSetName`
|
|
1292
1493
|
# @return [String]
|
|
@@ -1323,33 +1524,18 @@ module Google
|
|
|
1323
1524
|
# @return [Array<Fixnum>]
|
|
1324
1525
|
attr_accessor :genotype
|
|
1325
1526
|
|
|
1326
|
-
# If this field is present, this variant call's genotype ordering implies
|
|
1327
|
-
# the phase of the bases and is consistent with any other variant calls in
|
|
1328
|
-
# the same reference sequence which have the same phaseset value.
|
|
1329
|
-
# When importing data from VCF, if the genotype data was phased but no
|
|
1330
|
-
# phase set was specified this field will be set to `*`.
|
|
1331
|
-
# Corresponds to the JSON property `phaseset`
|
|
1332
|
-
# @return [String]
|
|
1333
|
-
attr_accessor :phaseset
|
|
1334
|
-
|
|
1335
|
-
# A map of additional variant call information. This must be of the form
|
|
1336
|
-
# map<string, string[]> (string key mapping to a list of string values).
|
|
1337
|
-
# Corresponds to the JSON property `info`
|
|
1338
|
-
# @return [Hash<String,Array<Object>>]
|
|
1339
|
-
attr_accessor :info
|
|
1340
|
-
|
|
1341
1527
|
def initialize(**args)
|
|
1342
1528
|
update!(**args)
|
|
1343
1529
|
end
|
|
1344
1530
|
|
|
1345
1531
|
# Update properties of this object
|
|
1346
1532
|
def update!(**args)
|
|
1533
|
+
@phaseset = args[:phaseset] if args.key?(:phaseset)
|
|
1534
|
+
@info = args[:info] if args.key?(:info)
|
|
1347
1535
|
@call_set_name = args[:call_set_name] if args.key?(:call_set_name)
|
|
1348
1536
|
@genotype_likelihood = args[:genotype_likelihood] if args.key?(:genotype_likelihood)
|
|
1349
1537
|
@call_set_id = args[:call_set_id] if args.key?(:call_set_id)
|
|
1350
1538
|
@genotype = args[:genotype] if args.key?(:genotype)
|
|
1351
|
-
@phaseset = args[:phaseset] if args.key?(:phaseset)
|
|
1352
|
-
@info = args[:info] if args.key?(:info)
|
|
1353
1539
|
end
|
|
1354
1540
|
end
|
|
1355
1541
|
|
|
@@ -1487,10 +1673,30 @@ module Google
|
|
|
1487
1673
|
end
|
|
1488
1674
|
end
|
|
1489
1675
|
|
|
1676
|
+
#
|
|
1677
|
+
class UndeleteDatasetRequest
|
|
1678
|
+
include Google::Apis::Core::Hashable
|
|
1679
|
+
|
|
1680
|
+
def initialize(**args)
|
|
1681
|
+
update!(**args)
|
|
1682
|
+
end
|
|
1683
|
+
|
|
1684
|
+
# Update properties of this object
|
|
1685
|
+
def update!(**args)
|
|
1686
|
+
end
|
|
1687
|
+
end
|
|
1688
|
+
|
|
1490
1689
|
# Associates `members` with a `role`.
|
|
1491
1690
|
class Binding
|
|
1492
1691
|
include Google::Apis::Core::Hashable
|
|
1493
1692
|
|
|
1693
|
+
# Role that is assigned to `members`.
|
|
1694
|
+
# For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
|
|
1695
|
+
# Required
|
|
1696
|
+
# Corresponds to the JSON property `role`
|
|
1697
|
+
# @return [String]
|
|
1698
|
+
attr_accessor :role
|
|
1699
|
+
|
|
1494
1700
|
# Specifies the identities requesting access for a Cloud Platform resource.
|
|
1495
1701
|
# `members` can have the following values:
|
|
1496
1702
|
# * `allUsers`: A special identifier that represents anyone who is
|
|
@@ -1509,34 +1715,14 @@ module Google
|
|
|
1509
1715
|
# @return [Array<String>]
|
|
1510
1716
|
attr_accessor :members
|
|
1511
1717
|
|
|
1512
|
-
# Role that is assigned to `members`.
|
|
1513
|
-
# For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
|
|
1514
|
-
# Required
|
|
1515
|
-
# Corresponds to the JSON property `role`
|
|
1516
|
-
# @return [String]
|
|
1517
|
-
attr_accessor :role
|
|
1518
|
-
|
|
1519
1718
|
def initialize(**args)
|
|
1520
1719
|
update!(**args)
|
|
1521
1720
|
end
|
|
1522
1721
|
|
|
1523
1722
|
# Update properties of this object
|
|
1524
1723
|
def update!(**args)
|
|
1525
|
-
@members = args[:members] if args.key?(:members)
|
|
1526
1724
|
@role = args[:role] if args.key?(:role)
|
|
1527
|
-
|
|
1528
|
-
end
|
|
1529
|
-
|
|
1530
|
-
#
|
|
1531
|
-
class UndeleteDatasetRequest
|
|
1532
|
-
include Google::Apis::Core::Hashable
|
|
1533
|
-
|
|
1534
|
-
def initialize(**args)
|
|
1535
|
-
update!(**args)
|
|
1536
|
-
end
|
|
1537
|
-
|
|
1538
|
-
# Update properties of this object
|
|
1539
|
-
def update!(**args)
|
|
1725
|
+
@members = args[:members] if args.key?(:members)
|
|
1540
1726
|
end
|
|
1541
1727
|
end
|
|
1542
1728
|
|
|
@@ -1579,11 +1765,6 @@ module Google
|
|
|
1579
1765
|
class VariantSet
|
|
1580
1766
|
include Google::Apis::Core::Hashable
|
|
1581
1767
|
|
|
1582
|
-
# The dataset to which this variant set belongs.
|
|
1583
|
-
# Corresponds to the JSON property `datasetId`
|
|
1584
|
-
# @return [String]
|
|
1585
|
-
attr_accessor :dataset_id
|
|
1586
|
-
|
|
1587
1768
|
# User-specified, mutable name.
|
|
1588
1769
|
# Corresponds to the JSON property `name`
|
|
1589
1770
|
# @return [String]
|
|
@@ -1623,19 +1804,24 @@ module Google
|
|
|
1623
1804
|
# @return [String]
|
|
1624
1805
|
attr_accessor :description
|
|
1625
1806
|
|
|
1807
|
+
# The dataset to which this variant set belongs.
|
|
1808
|
+
# Corresponds to the JSON property `datasetId`
|
|
1809
|
+
# @return [String]
|
|
1810
|
+
attr_accessor :dataset_id
|
|
1811
|
+
|
|
1626
1812
|
def initialize(**args)
|
|
1627
1813
|
update!(**args)
|
|
1628
1814
|
end
|
|
1629
1815
|
|
|
1630
1816
|
# Update properties of this object
|
|
1631
1817
|
def update!(**args)
|
|
1632
|
-
@dataset_id = args[:dataset_id] if args.key?(:dataset_id)
|
|
1633
1818
|
@name = args[:name] if args.key?(:name)
|
|
1634
1819
|
@reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id)
|
|
1635
1820
|
@metadata = args[:metadata] if args.key?(:metadata)
|
|
1636
1821
|
@reference_bounds = args[:reference_bounds] if args.key?(:reference_bounds)
|
|
1637
1822
|
@id = args[:id] if args.key?(:id)
|
|
1638
1823
|
@description = args[:description] if args.key?(:description)
|
|
1824
|
+
@dataset_id = args[:dataset_id] if args.key?(:dataset_id)
|
|
1639
1825
|
end
|
|
1640
1826
|
end
|
|
1641
1827
|
|
|
@@ -1664,40 +1850,38 @@ module Google
|
|
|
1664
1850
|
class ReferenceBound
|
|
1665
1851
|
include Google::Apis::Core::Hashable
|
|
1666
1852
|
|
|
1667
|
-
# The name of the reference associated with this reference bound.
|
|
1668
|
-
# Corresponds to the JSON property `referenceName`
|
|
1669
|
-
# @return [String]
|
|
1670
|
-
attr_accessor :reference_name
|
|
1671
|
-
|
|
1672
1853
|
# An upper bound (inclusive) on the starting coordinate of any
|
|
1673
1854
|
# variant in the reference sequence.
|
|
1674
1855
|
# Corresponds to the JSON property `upperBound`
|
|
1675
1856
|
# @return [String]
|
|
1676
1857
|
attr_accessor :upper_bound
|
|
1677
1858
|
|
|
1859
|
+
# The name of the reference associated with this reference bound.
|
|
1860
|
+
# Corresponds to the JSON property `referenceName`
|
|
1861
|
+
# @return [String]
|
|
1862
|
+
attr_accessor :reference_name
|
|
1863
|
+
|
|
1678
1864
|
def initialize(**args)
|
|
1679
1865
|
update!(**args)
|
|
1680
1866
|
end
|
|
1681
1867
|
|
|
1682
1868
|
# Update properties of this object
|
|
1683
1869
|
def update!(**args)
|
|
1684
|
-
@reference_name = args[:reference_name] if args.key?(:reference_name)
|
|
1685
1870
|
@upper_bound = args[:upper_bound] if args.key?(:upper_bound)
|
|
1871
|
+
@reference_name = args[:reference_name] if args.key?(:reference_name)
|
|
1686
1872
|
end
|
|
1687
1873
|
end
|
|
1688
1874
|
|
|
1689
|
-
# The
|
|
1690
|
-
class
|
|
1875
|
+
# The response message for Operations.ListOperations.
|
|
1876
|
+
class ListOperationsResponse
|
|
1691
1877
|
include Google::Apis::Core::Hashable
|
|
1692
1878
|
|
|
1693
|
-
#
|
|
1694
|
-
# Corresponds to the JSON property `
|
|
1695
|
-
# @return [Array<Google::Apis::GenomicsV1::
|
|
1696
|
-
attr_accessor :
|
|
1879
|
+
# A list of operations that matches the specified filter in the request.
|
|
1880
|
+
# Corresponds to the JSON property `operations`
|
|
1881
|
+
# @return [Array<Google::Apis::GenomicsV1::Operation>]
|
|
1882
|
+
attr_accessor :operations
|
|
1697
1883
|
|
|
1698
|
-
# The
|
|
1699
|
-
# Provide this value in a subsequent request to return the next page of
|
|
1700
|
-
# results. This field will be empty if there aren't any additional results.
|
|
1884
|
+
# The standard List next-page token.
|
|
1701
1885
|
# Corresponds to the JSON property `nextPageToken`
|
|
1702
1886
|
# @return [String]
|
|
1703
1887
|
attr_accessor :next_page_token
|
|
@@ -1708,7 +1892,7 @@ module Google
|
|
|
1708
1892
|
|
|
1709
1893
|
# Update properties of this object
|
|
1710
1894
|
def update!(**args)
|
|
1711
|
-
@
|
|
1895
|
+
@operations = args[:operations] if args.key?(:operations)
|
|
1712
1896
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
1713
1897
|
end
|
|
1714
1898
|
end
|
|
@@ -1726,6 +1910,47 @@ module Google
|
|
|
1726
1910
|
class Variant
|
|
1727
1911
|
include Google::Apis::Core::Hashable
|
|
1728
1912
|
|
|
1913
|
+
# The bases that appear instead of the reference bases.
|
|
1914
|
+
# Corresponds to the JSON property `alternateBases`
|
|
1915
|
+
# @return [Array<String>]
|
|
1916
|
+
attr_accessor :alternate_bases
|
|
1917
|
+
|
|
1918
|
+
# Names for the variant, for example a RefSNP ID.
|
|
1919
|
+
# Corresponds to the JSON property `names`
|
|
1920
|
+
# @return [Array<String>]
|
|
1921
|
+
attr_accessor :names
|
|
1922
|
+
|
|
1923
|
+
# The end position (0-based) of this variant. This corresponds to the first
|
|
1924
|
+
# base after the last base in the reference allele. So, the length of
|
|
1925
|
+
# the reference allele is (end - start). This is useful for variants
|
|
1926
|
+
# that don't explicitly give alternate bases, for example large deletions.
|
|
1927
|
+
# Corresponds to the JSON property `end`
|
|
1928
|
+
# @return [String]
|
|
1929
|
+
attr_accessor :end
|
|
1930
|
+
|
|
1931
|
+
# A list of filters (normally quality filters) this variant has failed.
|
|
1932
|
+
# `PASS` indicates this variant has passed all filters.
|
|
1933
|
+
# Corresponds to the JSON property `filter`
|
|
1934
|
+
# @return [Array<String>]
|
|
1935
|
+
attr_accessor :filter
|
|
1936
|
+
|
|
1937
|
+
# The variant calls for this particular variant. Each one represents the
|
|
1938
|
+
# determination of genotype with respect to this variant.
|
|
1939
|
+
# Corresponds to the JSON property `calls`
|
|
1940
|
+
# @return [Array<Google::Apis::GenomicsV1::VariantCall>]
|
|
1941
|
+
attr_accessor :calls
|
|
1942
|
+
|
|
1943
|
+
# The date this variant was created, in milliseconds from the epoch.
|
|
1944
|
+
# Corresponds to the JSON property `created`
|
|
1945
|
+
# @return [String]
|
|
1946
|
+
attr_accessor :created
|
|
1947
|
+
|
|
1948
|
+
# The position at which this variant occurs (0-based).
|
|
1949
|
+
# This corresponds to the first base of the string of reference bases.
|
|
1950
|
+
# Corresponds to the JSON property `start`
|
|
1951
|
+
# @return [String]
|
|
1952
|
+
attr_accessor :start
|
|
1953
|
+
|
|
1729
1954
|
# A measure of how likely this variant is to be real.
|
|
1730
1955
|
# A higher value is better.
|
|
1731
1956
|
# Corresponds to the JSON property `quality`
|
|
@@ -1760,102 +1985,137 @@ module Google
|
|
|
1760
1985
|
# @return [String]
|
|
1761
1986
|
attr_accessor :reference_bases
|
|
1762
1987
|
|
|
1763
|
-
# Names for the variant, for example a RefSNP ID.
|
|
1764
|
-
# Corresponds to the JSON property `names`
|
|
1765
|
-
# @return [Array<String>]
|
|
1766
|
-
attr_accessor :names
|
|
1767
|
-
|
|
1768
|
-
# The bases that appear instead of the reference bases.
|
|
1769
|
-
# Corresponds to the JSON property `alternateBases`
|
|
1770
|
-
# @return [Array<String>]
|
|
1771
|
-
attr_accessor :alternate_bases
|
|
1772
|
-
|
|
1773
|
-
# A list of filters (normally quality filters) this variant has failed.
|
|
1774
|
-
# `PASS` indicates this variant has passed all filters.
|
|
1775
|
-
# Corresponds to the JSON property `filter`
|
|
1776
|
-
# @return [Array<String>]
|
|
1777
|
-
attr_accessor :filter
|
|
1778
|
-
|
|
1779
|
-
# The end position (0-based) of this variant. This corresponds to the first
|
|
1780
|
-
# base after the last base in the reference allele. So, the length of
|
|
1781
|
-
# the reference allele is (end - start). This is useful for variants
|
|
1782
|
-
# that don't explicitly give alternate bases, for example large deletions.
|
|
1783
|
-
# Corresponds to the JSON property `end`
|
|
1784
|
-
# @return [String]
|
|
1785
|
-
attr_accessor :end
|
|
1786
|
-
|
|
1787
|
-
# The variant calls for this particular variant. Each one represents the
|
|
1788
|
-
# determination of genotype with respect to this variant.
|
|
1789
|
-
# Corresponds to the JSON property `calls`
|
|
1790
|
-
# @return [Array<Google::Apis::GenomicsV1::VariantCall>]
|
|
1791
|
-
attr_accessor :calls
|
|
1792
|
-
|
|
1793
|
-
# The date this variant was created, in milliseconds from the epoch.
|
|
1794
|
-
# Corresponds to the JSON property `created`
|
|
1795
|
-
# @return [String]
|
|
1796
|
-
attr_accessor :created
|
|
1797
|
-
|
|
1798
|
-
# The position at which this variant occurs (0-based).
|
|
1799
|
-
# This corresponds to the first base of the string of reference bases.
|
|
1800
|
-
# Corresponds to the JSON property `start`
|
|
1801
|
-
# @return [String]
|
|
1802
|
-
attr_accessor :start
|
|
1803
|
-
|
|
1804
1988
|
def initialize(**args)
|
|
1805
1989
|
update!(**args)
|
|
1806
1990
|
end
|
|
1807
1991
|
|
|
1808
1992
|
# Update properties of this object
|
|
1809
1993
|
def update!(**args)
|
|
1994
|
+
@alternate_bases = args[:alternate_bases] if args.key?(:alternate_bases)
|
|
1995
|
+
@names = args[:names] if args.key?(:names)
|
|
1996
|
+
@end = args[:end] if args.key?(:end)
|
|
1997
|
+
@filter = args[:filter] if args.key?(:filter)
|
|
1998
|
+
@calls = args[:calls] if args.key?(:calls)
|
|
1999
|
+
@created = args[:created] if args.key?(:created)
|
|
2000
|
+
@start = args[:start] if args.key?(:start)
|
|
1810
2001
|
@quality = args[:quality] if args.key?(:quality)
|
|
1811
2002
|
@id = args[:id] if args.key?(:id)
|
|
1812
2003
|
@variant_set_id = args[:variant_set_id] if args.key?(:variant_set_id)
|
|
1813
2004
|
@reference_name = args[:reference_name] if args.key?(:reference_name)
|
|
1814
2005
|
@info = args[:info] if args.key?(:info)
|
|
1815
2006
|
@reference_bases = args[:reference_bases] if args.key?(:reference_bases)
|
|
1816
|
-
@names = args[:names] if args.key?(:names)
|
|
1817
|
-
@alternate_bases = args[:alternate_bases] if args.key?(:alternate_bases)
|
|
1818
|
-
@filter = args[:filter] if args.key?(:filter)
|
|
1819
|
-
@end = args[:end] if args.key?(:end)
|
|
1820
|
-
@calls = args[:calls] if args.key?(:calls)
|
|
1821
|
-
@created = args[:created] if args.key?(:created)
|
|
1822
|
-
@start = args[:start] if args.key?(:start)
|
|
1823
2007
|
end
|
|
1824
2008
|
end
|
|
1825
2009
|
|
|
1826
|
-
# The
|
|
1827
|
-
class
|
|
2010
|
+
# The call set search response.
|
|
2011
|
+
class SearchCallSetsResponse
|
|
1828
2012
|
include Google::Apis::Core::Hashable
|
|
1829
2013
|
|
|
1830
|
-
#
|
|
1831
|
-
#
|
|
1832
|
-
#
|
|
1833
|
-
attr_accessor :operations
|
|
1834
|
-
|
|
1835
|
-
# The standard List next-page token.
|
|
2014
|
+
# The continuation token, which is used to page through large result sets.
|
|
2015
|
+
# Provide this value in a subsequent request to return the next page of
|
|
2016
|
+
# results. This field will be empty if there aren't any additional results.
|
|
1836
2017
|
# Corresponds to the JSON property `nextPageToken`
|
|
1837
2018
|
# @return [String]
|
|
1838
2019
|
attr_accessor :next_page_token
|
|
1839
2020
|
|
|
2021
|
+
# The list of matching call sets.
|
|
2022
|
+
# Corresponds to the JSON property `callSets`
|
|
2023
|
+
# @return [Array<Google::Apis::GenomicsV1::CallSet>]
|
|
2024
|
+
attr_accessor :call_sets
|
|
2025
|
+
|
|
1840
2026
|
def initialize(**args)
|
|
1841
2027
|
update!(**args)
|
|
1842
2028
|
end
|
|
1843
2029
|
|
|
1844
2030
|
# Update properties of this object
|
|
1845
2031
|
def update!(**args)
|
|
1846
|
-
@operations = args[:operations] if args.key?(:operations)
|
|
1847
2032
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
2033
|
+
@call_sets = args[:call_sets] if args.key?(:call_sets)
|
|
1848
2034
|
end
|
|
1849
2035
|
end
|
|
1850
2036
|
|
|
1851
|
-
#
|
|
1852
|
-
class
|
|
2037
|
+
# The variant search request.
|
|
2038
|
+
class SearchVariantsRequest
|
|
1853
2039
|
include Google::Apis::Core::Hashable
|
|
1854
2040
|
|
|
1855
|
-
#
|
|
1856
|
-
# Corresponds to the JSON property `
|
|
2041
|
+
# Required. Only return variants in this reference sequence.
|
|
2042
|
+
# Corresponds to the JSON property `referenceName`
|
|
1857
2043
|
# @return [String]
|
|
1858
|
-
attr_accessor :
|
|
2044
|
+
attr_accessor :reference_name
|
|
2045
|
+
|
|
2046
|
+
# At most one variant set ID must be provided. Only variants from this
|
|
2047
|
+
# variant set will be returned. If omitted, a call set id must be included in
|
|
2048
|
+
# the request.
|
|
2049
|
+
# Corresponds to the JSON property `variantSetIds`
|
|
2050
|
+
# @return [Array<String>]
|
|
2051
|
+
attr_accessor :variant_set_ids
|
|
2052
|
+
|
|
2053
|
+
# The end of the window, 0-based exclusive. If unspecified or 0, defaults to
|
|
2054
|
+
# the length of the reference.
|
|
2055
|
+
# Corresponds to the JSON property `end`
|
|
2056
|
+
# @return [String]
|
|
2057
|
+
attr_accessor :end
|
|
2058
|
+
|
|
2059
|
+
# The maximum number of calls to return in a single page. Note that this
|
|
2060
|
+
# limit may be exceeded in the event that a matching variant contains more
|
|
2061
|
+
# calls than the requested maximum. If unspecified, defaults to 5000. The
|
|
2062
|
+
# maximum value is 10000.
|
|
2063
|
+
# Corresponds to the JSON property `maxCalls`
|
|
2064
|
+
# @return [Fixnum]
|
|
2065
|
+
attr_accessor :max_calls
|
|
2066
|
+
|
|
2067
|
+
# The continuation token, which is used to page through large result sets.
|
|
2068
|
+
# To get the next page of results, set this parameter to the value of
|
|
2069
|
+
# `nextPageToken` from the previous response.
|
|
2070
|
+
# Corresponds to the JSON property `pageToken`
|
|
2071
|
+
# @return [String]
|
|
2072
|
+
attr_accessor :page_token
|
|
2073
|
+
|
|
2074
|
+
# The maximum number of variants to return in a single page. If unspecified,
|
|
2075
|
+
# defaults to 5000. The maximum value is 10000.
|
|
2076
|
+
# Corresponds to the JSON property `pageSize`
|
|
2077
|
+
# @return [Fixnum]
|
|
2078
|
+
attr_accessor :page_size
|
|
2079
|
+
|
|
2080
|
+
# Only return variant calls which belong to call sets with these ids.
|
|
2081
|
+
# Leaving this blank returns all variant calls. If a variant has no
|
|
2082
|
+
# calls belonging to any of these call sets, it won't be returned at all.
|
|
2083
|
+
# Corresponds to the JSON property `callSetIds`
|
|
2084
|
+
# @return [Array<String>]
|
|
2085
|
+
attr_accessor :call_set_ids
|
|
2086
|
+
|
|
2087
|
+
# The beginning of the window (0-based, inclusive) for which
|
|
2088
|
+
# overlapping variants should be returned. If unspecified, defaults to 0.
|
|
2089
|
+
# Corresponds to the JSON property `start`
|
|
2090
|
+
# @return [String]
|
|
2091
|
+
attr_accessor :start
|
|
2092
|
+
|
|
2093
|
+
# Only return variants which have exactly this name.
|
|
2094
|
+
# Corresponds to the JSON property `variantName`
|
|
2095
|
+
# @return [String]
|
|
2096
|
+
attr_accessor :variant_name
|
|
2097
|
+
|
|
2098
|
+
def initialize(**args)
|
|
2099
|
+
update!(**args)
|
|
2100
|
+
end
|
|
2101
|
+
|
|
2102
|
+
# Update properties of this object
|
|
2103
|
+
def update!(**args)
|
|
2104
|
+
@reference_name = args[:reference_name] if args.key?(:reference_name)
|
|
2105
|
+
@variant_set_ids = args[:variant_set_ids] if args.key?(:variant_set_ids)
|
|
2106
|
+
@end = args[:end] if args.key?(:end)
|
|
2107
|
+
@max_calls = args[:max_calls] if args.key?(:max_calls)
|
|
2108
|
+
@page_token = args[:page_token] if args.key?(:page_token)
|
|
2109
|
+
@page_size = args[:page_size] if args.key?(:page_size)
|
|
2110
|
+
@call_set_ids = args[:call_set_ids] if args.key?(:call_set_ids)
|
|
2111
|
+
@start = args[:start] if args.key?(:start)
|
|
2112
|
+
@variant_name = args[:variant_name] if args.key?(:variant_name)
|
|
2113
|
+
end
|
|
2114
|
+
end
|
|
2115
|
+
|
|
2116
|
+
# Metadata describing an Operation.
|
|
2117
|
+
class OperationMetadata
|
|
2118
|
+
include Google::Apis::Core::Hashable
|
|
1859
2119
|
|
|
1860
2120
|
# The original request that started the operation. Note that this will be in
|
|
1861
2121
|
# current version of the API. If the operation was started with v1beta2 API
|
|
@@ -1903,13 +2163,17 @@ module Google
|
|
|
1903
2163
|
# @return [Array<Google::Apis::GenomicsV1::OperationEvent>]
|
|
1904
2164
|
attr_accessor :events
|
|
1905
2165
|
|
|
2166
|
+
# The time at which the job began to run.
|
|
2167
|
+
# Corresponds to the JSON property `startTime`
|
|
2168
|
+
# @return [String]
|
|
2169
|
+
attr_accessor :start_time
|
|
2170
|
+
|
|
1906
2171
|
def initialize(**args)
|
|
1907
2172
|
update!(**args)
|
|
1908
2173
|
end
|
|
1909
2174
|
|
|
1910
2175
|
# Update properties of this object
|
|
1911
2176
|
def update!(**args)
|
|
1912
|
-
@start_time = args[:start_time] if args.key?(:start_time)
|
|
1913
2177
|
@request = args[:request] if args.key?(:request)
|
|
1914
2178
|
@runtime_metadata = args[:runtime_metadata] if args.key?(:runtime_metadata)
|
|
1915
2179
|
@labels = args[:labels] if args.key?(:labels)
|
|
@@ -1918,30 +2182,19 @@ module Google
|
|
|
1918
2182
|
@client_id = args[:client_id] if args.key?(:client_id)
|
|
1919
2183
|
@end_time = args[:end_time] if args.key?(:end_time)
|
|
1920
2184
|
@events = args[:events] if args.key?(:events)
|
|
2185
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
|
1921
2186
|
end
|
|
1922
2187
|
end
|
|
1923
2188
|
|
|
1924
|
-
# The
|
|
1925
|
-
class
|
|
2189
|
+
# The read group set search request.
|
|
2190
|
+
class SearchReadGroupSetsRequest
|
|
1926
2191
|
include Google::Apis::Core::Hashable
|
|
1927
2192
|
|
|
1928
|
-
#
|
|
1929
|
-
#
|
|
1930
|
-
#
|
|
1931
|
-
attr_accessor :reference_name
|
|
1932
|
-
|
|
1933
|
-
# At most one variant set ID must be provided. Only variants from this
|
|
1934
|
-
# variant set will be returned. If omitted, a call set id must be included in
|
|
1935
|
-
# the request.
|
|
1936
|
-
# Corresponds to the JSON property `variantSetIds`
|
|
1937
|
-
# @return [Array<String>]
|
|
1938
|
-
attr_accessor :variant_set_ids
|
|
1939
|
-
|
|
1940
|
-
# The end of the window, 0-based exclusive. If unspecified or 0, defaults to
|
|
1941
|
-
# the length of the reference.
|
|
1942
|
-
# Corresponds to the JSON property `end`
|
|
2193
|
+
# Only return read group sets for which a substring of the name matches this
|
|
2194
|
+
# string.
|
|
2195
|
+
# Corresponds to the JSON property `name`
|
|
1943
2196
|
# @return [String]
|
|
1944
|
-
attr_accessor :
|
|
2197
|
+
attr_accessor :name
|
|
1945
2198
|
|
|
1946
2199
|
# The continuation token, which is used to page through large result sets.
|
|
1947
2200
|
# To get the next page of results, set this parameter to the value of
|
|
@@ -1950,37 +2203,17 @@ module Google
|
|
|
1950
2203
|
# @return [String]
|
|
1951
2204
|
attr_accessor :page_token
|
|
1952
2205
|
|
|
1953
|
-
# The maximum number of
|
|
1954
|
-
#
|
|
1955
|
-
#
|
|
1956
|
-
# maximum value is 10000.
|
|
1957
|
-
# Corresponds to the JSON property `maxCalls`
|
|
1958
|
-
# @return [Fixnum]
|
|
1959
|
-
attr_accessor :max_calls
|
|
1960
|
-
|
|
1961
|
-
# The maximum number of variants to return in a single page. If unspecified,
|
|
1962
|
-
# defaults to 5000. The maximum value is 10000.
|
|
1963
|
-
# Corresponds to the JSON property `pageSize`
|
|
2206
|
+
# The maximum number of results to return in a single page. If unspecified,
|
|
2207
|
+
# defaults to 256. The maximum value is 1024.
|
|
2208
|
+
# Corresponds to the JSON property `pageSize`
|
|
1964
2209
|
# @return [Fixnum]
|
|
1965
2210
|
attr_accessor :page_size
|
|
1966
2211
|
|
|
1967
|
-
#
|
|
1968
|
-
#
|
|
1969
|
-
#
|
|
1970
|
-
# Corresponds to the JSON property `callSetIds`
|
|
2212
|
+
# Restricts this query to read group sets within the given datasets. At least
|
|
2213
|
+
# one ID must be provided.
|
|
2214
|
+
# Corresponds to the JSON property `datasetIds`
|
|
1971
2215
|
# @return [Array<String>]
|
|
1972
|
-
attr_accessor :
|
|
1973
|
-
|
|
1974
|
-
# Only return variants which have exactly this name.
|
|
1975
|
-
# Corresponds to the JSON property `variantName`
|
|
1976
|
-
# @return [String]
|
|
1977
|
-
attr_accessor :variant_name
|
|
1978
|
-
|
|
1979
|
-
# The beginning of the window (0-based, inclusive) for which
|
|
1980
|
-
# overlapping variants should be returned. If unspecified, defaults to 0.
|
|
1981
|
-
# Corresponds to the JSON property `start`
|
|
1982
|
-
# @return [String]
|
|
1983
|
-
attr_accessor :start
|
|
2216
|
+
attr_accessor :dataset_ids
|
|
1984
2217
|
|
|
1985
2218
|
def initialize(**args)
|
|
1986
2219
|
update!(**args)
|
|
@@ -1988,46 +2221,28 @@ module Google
|
|
|
1988
2221
|
|
|
1989
2222
|
# Update properties of this object
|
|
1990
2223
|
def update!(**args)
|
|
1991
|
-
@
|
|
1992
|
-
@variant_set_ids = args[:variant_set_ids] if args.key?(:variant_set_ids)
|
|
1993
|
-
@end = args[:end] if args.key?(:end)
|
|
2224
|
+
@name = args[:name] if args.key?(:name)
|
|
1994
2225
|
@page_token = args[:page_token] if args.key?(:page_token)
|
|
1995
|
-
@max_calls = args[:max_calls] if args.key?(:max_calls)
|
|
1996
2226
|
@page_size = args[:page_size] if args.key?(:page_size)
|
|
1997
|
-
@
|
|
1998
|
-
@variant_name = args[:variant_name] if args.key?(:variant_name)
|
|
1999
|
-
@start = args[:start] if args.key?(:start)
|
|
2227
|
+
@dataset_ids = args[:dataset_ids] if args.key?(:dataset_ids)
|
|
2000
2228
|
end
|
|
2001
2229
|
end
|
|
2002
2230
|
|
|
2003
|
-
#
|
|
2004
|
-
class
|
|
2231
|
+
#
|
|
2232
|
+
class SearchAnnotationsResponse
|
|
2005
2233
|
include Google::Apis::Core::Hashable
|
|
2006
2234
|
|
|
2007
|
-
# Restricts this query to read group sets within the given datasets. At least
|
|
2008
|
-
# one ID must be provided.
|
|
2009
|
-
# Corresponds to the JSON property `datasetIds`
|
|
2010
|
-
# @return [Array<String>]
|
|
2011
|
-
attr_accessor :dataset_ids
|
|
2012
|
-
|
|
2013
|
-
# Only return read group sets for which a substring of the name matches this
|
|
2014
|
-
# string.
|
|
2015
|
-
# Corresponds to the JSON property `name`
|
|
2016
|
-
# @return [String]
|
|
2017
|
-
attr_accessor :name
|
|
2018
|
-
|
|
2019
2235
|
# The continuation token, which is used to page through large result sets.
|
|
2020
|
-
#
|
|
2021
|
-
#
|
|
2022
|
-
# Corresponds to the JSON property `
|
|
2236
|
+
# Provide this value in a subsequent request to return the next page of
|
|
2237
|
+
# results. This field will be empty if there aren't any additional results.
|
|
2238
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
2023
2239
|
# @return [String]
|
|
2024
|
-
attr_accessor :
|
|
2240
|
+
attr_accessor :next_page_token
|
|
2025
2241
|
|
|
2026
|
-
# The
|
|
2027
|
-
#
|
|
2028
|
-
#
|
|
2029
|
-
|
|
2030
|
-
attr_accessor :page_size
|
|
2242
|
+
# The matching annotations.
|
|
2243
|
+
# Corresponds to the JSON property `annotations`
|
|
2244
|
+
# @return [Array<Google::Apis::GenomicsV1::Annotation>]
|
|
2245
|
+
attr_accessor :annotations
|
|
2031
2246
|
|
|
2032
2247
|
def initialize(**args)
|
|
2033
2248
|
update!(**args)
|
|
@@ -2035,17 +2250,23 @@ module Google
|
|
|
2035
2250
|
|
|
2036
2251
|
# Update properties of this object
|
|
2037
2252
|
def update!(**args)
|
|
2038
|
-
@
|
|
2039
|
-
@
|
|
2040
|
-
@page_token = args[:page_token] if args.key?(:page_token)
|
|
2041
|
-
@page_size = args[:page_size] if args.key?(:page_size)
|
|
2253
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
2254
|
+
@annotations = args[:annotations] if args.key?(:annotations)
|
|
2042
2255
|
end
|
|
2043
2256
|
end
|
|
2044
2257
|
|
|
2045
|
-
#
|
|
2046
|
-
class
|
|
2258
|
+
# The read search response.
|
|
2259
|
+
class SearchReadsResponse
|
|
2047
2260
|
include Google::Apis::Core::Hashable
|
|
2048
2261
|
|
|
2262
|
+
# The list of matching alignments sorted by mapped genomic coordinate,
|
|
2263
|
+
# if any, ascending in position within the same reference. Unmapped reads,
|
|
2264
|
+
# which have no position, are returned contiguously and are sorted in
|
|
2265
|
+
# ascending lexicographic order by fragment name.
|
|
2266
|
+
# Corresponds to the JSON property `alignments`
|
|
2267
|
+
# @return [Array<Google::Apis::GenomicsV1::Read>]
|
|
2268
|
+
attr_accessor :alignments
|
|
2269
|
+
|
|
2049
2270
|
# The continuation token, which is used to page through large result sets.
|
|
2050
2271
|
# Provide this value in a subsequent request to return the next page of
|
|
2051
2272
|
# results. This field will be empty if there aren't any additional results.
|
|
@@ -2053,19 +2274,14 @@ module Google
|
|
|
2053
2274
|
# @return [String]
|
|
2054
2275
|
attr_accessor :next_page_token
|
|
2055
2276
|
|
|
2056
|
-
# The matching annotations.
|
|
2057
|
-
# Corresponds to the JSON property `annotations`
|
|
2058
|
-
# @return [Array<Google::Apis::GenomicsV1::Annotation>]
|
|
2059
|
-
attr_accessor :annotations
|
|
2060
|
-
|
|
2061
2277
|
def initialize(**args)
|
|
2062
2278
|
update!(**args)
|
|
2063
2279
|
end
|
|
2064
2280
|
|
|
2065
2281
|
# Update properties of this object
|
|
2066
2282
|
def update!(**args)
|
|
2283
|
+
@alignments = args[:alignments] if args.key?(:alignments)
|
|
2067
2284
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
2068
|
-
@annotations = args[:annotations] if args.key?(:annotations)
|
|
2069
2285
|
end
|
|
2070
2286
|
end
|
|
2071
2287
|
|
|
@@ -2073,11 +2289,6 @@ module Google
|
|
|
2073
2289
|
class ClinicalCondition
|
|
2074
2290
|
include Google::Apis::Core::Hashable
|
|
2075
2291
|
|
|
2076
|
-
# A set of names for the condition.
|
|
2077
|
-
# Corresponds to the JSON property `names`
|
|
2078
|
-
# @return [Array<String>]
|
|
2079
|
-
attr_accessor :names
|
|
2080
|
-
|
|
2081
2292
|
# The OMIM id for this condition.
|
|
2082
2293
|
# Search for these IDs at http://omim.org/
|
|
2083
2294
|
# Corresponds to the JSON property `omimId`
|
|
@@ -2095,46 +2306,21 @@ module Google
|
|
|
2095
2306
|
# @return [String]
|
|
2096
2307
|
attr_accessor :concept_id
|
|
2097
2308
|
|
|
2309
|
+
# A set of names for the condition.
|
|
2310
|
+
# Corresponds to the JSON property `names`
|
|
2311
|
+
# @return [Array<String>]
|
|
2312
|
+
attr_accessor :names
|
|
2313
|
+
|
|
2098
2314
|
def initialize(**args)
|
|
2099
2315
|
update!(**args)
|
|
2100
2316
|
end
|
|
2101
2317
|
|
|
2102
2318
|
# Update properties of this object
|
|
2103
2319
|
def update!(**args)
|
|
2104
|
-
@names = args[:names] if args.key?(:names)
|
|
2105
2320
|
@omim_id = args[:omim_id] if args.key?(:omim_id)
|
|
2106
2321
|
@external_ids = args[:external_ids] if args.key?(:external_ids)
|
|
2107
2322
|
@concept_id = args[:concept_id] if args.key?(:concept_id)
|
|
2108
|
-
|
|
2109
|
-
end
|
|
2110
|
-
|
|
2111
|
-
# The read search response.
|
|
2112
|
-
class SearchReadsResponse
|
|
2113
|
-
include Google::Apis::Core::Hashable
|
|
2114
|
-
|
|
2115
|
-
# The list of matching alignments sorted by mapped genomic coordinate,
|
|
2116
|
-
# if any, ascending in position within the same reference. Unmapped reads,
|
|
2117
|
-
# which have no position, are returned contiguously and are sorted in
|
|
2118
|
-
# ascending lexicographic order by fragment name.
|
|
2119
|
-
# Corresponds to the JSON property `alignments`
|
|
2120
|
-
# @return [Array<Google::Apis::GenomicsV1::Read>]
|
|
2121
|
-
attr_accessor :alignments
|
|
2122
|
-
|
|
2123
|
-
# The continuation token, which is used to page through large result sets.
|
|
2124
|
-
# Provide this value in a subsequent request to return the next page of
|
|
2125
|
-
# results. This field will be empty if there aren't any additional results.
|
|
2126
|
-
# Corresponds to the JSON property `nextPageToken`
|
|
2127
|
-
# @return [String]
|
|
2128
|
-
attr_accessor :next_page_token
|
|
2129
|
-
|
|
2130
|
-
def initialize(**args)
|
|
2131
|
-
update!(**args)
|
|
2132
|
-
end
|
|
2133
|
-
|
|
2134
|
-
# Update properties of this object
|
|
2135
|
-
def update!(**args)
|
|
2136
|
-
@alignments = args[:alignments] if args.key?(:alignments)
|
|
2137
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
2323
|
+
@names = args[:names] if args.key?(:names)
|
|
2138
2324
|
end
|
|
2139
2325
|
end
|
|
2140
2326
|
|
|
@@ -2142,12 +2328,6 @@ module Google
|
|
|
2142
2328
|
class Program
|
|
2143
2329
|
include Google::Apis::Core::Hashable
|
|
2144
2330
|
|
|
2145
|
-
# The display name of the program. This is typically the colloquial name of
|
|
2146
|
-
# the tool used, for example 'bwa' or 'picard'.
|
|
2147
|
-
# Corresponds to the JSON property `name`
|
|
2148
|
-
# @return [String]
|
|
2149
|
-
attr_accessor :name
|
|
2150
|
-
|
|
2151
2331
|
# The command line used to run this program.
|
|
2152
2332
|
# Corresponds to the JSON property `commandLine`
|
|
2153
2333
|
# @return [String]
|
|
@@ -2169,17 +2349,23 @@ module Google
|
|
|
2169
2349
|
# @return [String]
|
|
2170
2350
|
attr_accessor :version
|
|
2171
2351
|
|
|
2352
|
+
# The display name of the program. This is typically the colloquial name of
|
|
2353
|
+
# the tool used, for example 'bwa' or 'picard'.
|
|
2354
|
+
# Corresponds to the JSON property `name`
|
|
2355
|
+
# @return [String]
|
|
2356
|
+
attr_accessor :name
|
|
2357
|
+
|
|
2172
2358
|
def initialize(**args)
|
|
2173
2359
|
update!(**args)
|
|
2174
2360
|
end
|
|
2175
2361
|
|
|
2176
2362
|
# Update properties of this object
|
|
2177
2363
|
def update!(**args)
|
|
2178
|
-
@name = args[:name] if args.key?(:name)
|
|
2179
2364
|
@command_line = args[:command_line] if args.key?(:command_line)
|
|
2180
2365
|
@prev_program_id = args[:prev_program_id] if args.key?(:prev_program_id)
|
|
2181
2366
|
@id = args[:id] if args.key?(:id)
|
|
2182
2367
|
@version = args[:version] if args.key?(:version)
|
|
2368
|
+
@name = args[:name] if args.key?(:name)
|
|
2183
2369
|
end
|
|
2184
2370
|
end
|
|
2185
2371
|
|
|
@@ -2215,6 +2401,11 @@ module Google
|
|
|
2215
2401
|
class ComputeEngine
|
|
2216
2402
|
include Google::Apis::Core::Hashable
|
|
2217
2403
|
|
|
2404
|
+
# The availability zone in which the instance resides.
|
|
2405
|
+
# Corresponds to the JSON property `zone`
|
|
2406
|
+
# @return [String]
|
|
2407
|
+
attr_accessor :zone
|
|
2408
|
+
|
|
2218
2409
|
# The machine type of the instance.
|
|
2219
2410
|
# Corresponds to the JSON property `machineType`
|
|
2220
2411
|
# @return [String]
|
|
@@ -2230,21 +2421,16 @@ module Google
|
|
|
2230
2421
|
# @return [String]
|
|
2231
2422
|
attr_accessor :instance_name
|
|
2232
2423
|
|
|
2233
|
-
# The availability zone in which the instance resides.
|
|
2234
|
-
# Corresponds to the JSON property `zone`
|
|
2235
|
-
# @return [String]
|
|
2236
|
-
attr_accessor :zone
|
|
2237
|
-
|
|
2238
2424
|
def initialize(**args)
|
|
2239
2425
|
update!(**args)
|
|
2240
2426
|
end
|
|
2241
2427
|
|
|
2242
2428
|
# Update properties of this object
|
|
2243
2429
|
def update!(**args)
|
|
2430
|
+
@zone = args[:zone] if args.key?(:zone)
|
|
2244
2431
|
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
|
2245
2432
|
@disk_names = args[:disk_names] if args.key?(:disk_names)
|
|
2246
2433
|
@instance_name = args[:instance_name] if args.key?(:instance_name)
|
|
2247
|
-
@zone = args[:zone] if args.key?(:zone)
|
|
2248
2434
|
end
|
|
2249
2435
|
end
|
|
2250
2436
|
|
|
@@ -2273,53 +2459,28 @@ module Google
|
|
|
2273
2459
|
end
|
|
2274
2460
|
end
|
|
2275
2461
|
|
|
2276
|
-
#
|
|
2277
|
-
|
|
2278
|
-
# might represent the human chromosome 1 or mitochandrial DNA, for instance. A
|
|
2279
|
-
# reference belongs to one or more reference sets.
|
|
2280
|
-
# For more genomics resource definitions, see [Fundamentals of Google
|
|
2281
|
-
# Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
|
|
2282
|
-
class Reference
|
|
2462
|
+
# The search variant sets request.
|
|
2463
|
+
class SearchVariantSetsRequest
|
|
2283
2464
|
include Google::Apis::Core::Hashable
|
|
2284
2465
|
|
|
2285
|
-
# The
|
|
2286
|
-
#
|
|
2287
|
-
#
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
# MD5 of the upper-case sequence excluding all whitespace characters (this
|
|
2291
|
-
# is equivalent to SQ:M5 in SAM). This value is represented in lower case
|
|
2292
|
-
# hexadecimal format.
|
|
2293
|
-
# Corresponds to the JSON property `md5checksum`
|
|
2294
|
-
# @return [String]
|
|
2295
|
-
attr_accessor :md5checksum
|
|
2296
|
-
|
|
2297
|
-
# The server-generated reference ID, unique across all references.
|
|
2298
|
-
# Corresponds to the JSON property `id`
|
|
2299
|
-
# @return [String]
|
|
2300
|
-
attr_accessor :id
|
|
2301
|
-
|
|
2302
|
-
# The length of this reference's sequence.
|
|
2303
|
-
# Corresponds to the JSON property `length`
|
|
2466
|
+
# The continuation token, which is used to page through large result sets.
|
|
2467
|
+
# To get the next page of results, set this parameter to the value of
|
|
2468
|
+
# `nextPageToken` from the previous response.
|
|
2469
|
+
# Corresponds to the JSON property `pageToken`
|
|
2304
2470
|
# @return [String]
|
|
2305
|
-
attr_accessor :
|
|
2306
|
-
|
|
2307
|
-
# All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally
|
|
2308
|
-
# with a version number, for example `GCF_000001405.26`.
|
|
2309
|
-
# Corresponds to the JSON property `sourceAccessions`
|
|
2310
|
-
# @return [Array<String>]
|
|
2311
|
-
attr_accessor :source_accessions
|
|
2471
|
+
attr_accessor :page_token
|
|
2312
2472
|
|
|
2313
|
-
#
|
|
2314
|
-
#
|
|
2473
|
+
# The maximum number of results to return in a single page. If unspecified,
|
|
2474
|
+
# defaults to 1024.
|
|
2475
|
+
# Corresponds to the JSON property `pageSize`
|
|
2315
2476
|
# @return [Fixnum]
|
|
2316
|
-
attr_accessor :
|
|
2477
|
+
attr_accessor :page_size
|
|
2317
2478
|
|
|
2318
|
-
#
|
|
2319
|
-
#
|
|
2320
|
-
# Corresponds to the JSON property `
|
|
2321
|
-
# @return [String]
|
|
2322
|
-
attr_accessor :
|
|
2479
|
+
# Exactly one dataset ID must be provided here. Only variant sets which
|
|
2480
|
+
# belong to this dataset will be returned.
|
|
2481
|
+
# Corresponds to the JSON property `datasetIds`
|
|
2482
|
+
# @return [Array<String>]
|
|
2483
|
+
attr_accessor :dataset_ids
|
|
2323
2484
|
|
|
2324
2485
|
def initialize(**args)
|
|
2325
2486
|
update!(**args)
|
|
@@ -2327,13 +2488,9 @@ module Google
|
|
|
2327
2488
|
|
|
2328
2489
|
# Update properties of this object
|
|
2329
2490
|
def update!(**args)
|
|
2330
|
-
@
|
|
2331
|
-
@
|
|
2332
|
-
@
|
|
2333
|
-
@length = args[:length] if args.key?(:length)
|
|
2334
|
-
@source_accessions = args[:source_accessions] if args.key?(:source_accessions)
|
|
2335
|
-
@ncbi_taxon_id = args[:ncbi_taxon_id] if args.key?(:ncbi_taxon_id)
|
|
2336
|
-
@source_uri = args[:source_uri] if args.key?(:source_uri)
|
|
2491
|
+
@page_token = args[:page_token] if args.key?(:page_token)
|
|
2492
|
+
@page_size = args[:page_size] if args.key?(:page_size)
|
|
2493
|
+
@dataset_ids = args[:dataset_ids] if args.key?(:dataset_ids)
|
|
2337
2494
|
end
|
|
2338
2495
|
end
|
|
2339
2496
|
|
|
@@ -2344,23 +2501,22 @@ module Google
|
|
|
2344
2501
|
class VariantSetMetadata
|
|
2345
2502
|
include Google::Apis::Core::Hashable
|
|
2346
2503
|
|
|
2347
|
-
# Remaining structured metadata key-value pairs. This must be of the form
|
|
2348
|
-
# map<string, string[]> (string key mapping to a list of string values).
|
|
2349
|
-
# Corresponds to the JSON property `info`
|
|
2350
|
-
# @return [Hash<String,Array<Object>>]
|
|
2351
|
-
attr_accessor :info
|
|
2352
|
-
|
|
2353
2504
|
# The type of data. Possible types include: Integer, Float,
|
|
2354
2505
|
# Flag, Character, and String.
|
|
2355
2506
|
# Corresponds to the JSON property `type`
|
|
2356
2507
|
# @return [String]
|
|
2357
2508
|
attr_accessor :type
|
|
2358
2509
|
|
|
2359
|
-
#
|
|
2360
|
-
#
|
|
2361
|
-
# Corresponds to the JSON property `
|
|
2510
|
+
# Remaining structured metadata key-value pairs. This must be of the form
|
|
2511
|
+
# map<string, string[]> (string key mapping to a list of string values).
|
|
2512
|
+
# Corresponds to the JSON property `info`
|
|
2513
|
+
# @return [Hash<String,Array<Object>>]
|
|
2514
|
+
attr_accessor :info
|
|
2515
|
+
|
|
2516
|
+
# The value field for simple metadata
|
|
2517
|
+
# Corresponds to the JSON property `value`
|
|
2362
2518
|
# @return [String]
|
|
2363
|
-
attr_accessor :
|
|
2519
|
+
attr_accessor :value
|
|
2364
2520
|
|
|
2365
2521
|
# User-provided ID field, not enforced by this API.
|
|
2366
2522
|
# Two or more pieces of structured metadata with identical
|
|
@@ -2369,10 +2525,11 @@ module Google
|
|
|
2369
2525
|
# @return [String]
|
|
2370
2526
|
attr_accessor :id
|
|
2371
2527
|
|
|
2372
|
-
# The
|
|
2373
|
-
#
|
|
2528
|
+
# The number of values that can be included in a field described by this
|
|
2529
|
+
# metadata.
|
|
2530
|
+
# Corresponds to the JSON property `number`
|
|
2374
2531
|
# @return [String]
|
|
2375
|
-
attr_accessor :
|
|
2532
|
+
attr_accessor :number
|
|
2376
2533
|
|
|
2377
2534
|
# The top-level key.
|
|
2378
2535
|
# Corresponds to the JSON property `key`
|
|
@@ -2390,38 +2547,63 @@ module Google
|
|
|
2390
2547
|
|
|
2391
2548
|
# Update properties of this object
|
|
2392
2549
|
def update!(**args)
|
|
2393
|
-
@info = args[:info] if args.key?(:info)
|
|
2394
2550
|
@type = args[:type] if args.key?(:type)
|
|
2395
|
-
@
|
|
2396
|
-
@id = args[:id] if args.key?(:id)
|
|
2551
|
+
@info = args[:info] if args.key?(:info)
|
|
2397
2552
|
@value = args[:value] if args.key?(:value)
|
|
2553
|
+
@id = args[:id] if args.key?(:id)
|
|
2554
|
+
@number = args[:number] if args.key?(:number)
|
|
2398
2555
|
@key = args[:key] if args.key?(:key)
|
|
2399
2556
|
@description = args[:description] if args.key?(:description)
|
|
2400
2557
|
end
|
|
2401
2558
|
end
|
|
2402
2559
|
|
|
2403
|
-
#
|
|
2404
|
-
|
|
2560
|
+
# A reference is a canonical assembled DNA sequence, intended to act as a
|
|
2561
|
+
# reference coordinate space for other genomic annotations. A single reference
|
|
2562
|
+
# might represent the human chromosome 1 or mitochandrial DNA, for instance. A
|
|
2563
|
+
# reference belongs to one or more reference sets.
|
|
2564
|
+
# For more genomics resource definitions, see [Fundamentals of Google
|
|
2565
|
+
# Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
|
|
2566
|
+
class Reference
|
|
2405
2567
|
include Google::Apis::Core::Hashable
|
|
2406
2568
|
|
|
2407
|
-
#
|
|
2408
|
-
#
|
|
2409
|
-
# Corresponds to the JSON property `
|
|
2569
|
+
# All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally
|
|
2570
|
+
# with a version number, for example `GCF_000001405.26`.
|
|
2571
|
+
# Corresponds to the JSON property `sourceAccessions`
|
|
2410
2572
|
# @return [Array<String>]
|
|
2411
|
-
attr_accessor :
|
|
2573
|
+
attr_accessor :source_accessions
|
|
2412
2574
|
|
|
2413
|
-
#
|
|
2414
|
-
#
|
|
2415
|
-
#
|
|
2416
|
-
|
|
2575
|
+
# ID from http://www.ncbi.nlm.nih.gov/taxonomy. For example, 9606 for human.
|
|
2576
|
+
# Corresponds to the JSON property `ncbiTaxonId`
|
|
2577
|
+
# @return [Fixnum]
|
|
2578
|
+
attr_accessor :ncbi_taxon_id
|
|
2579
|
+
|
|
2580
|
+
# The URI from which the sequence was obtained. Typically specifies a FASTA
|
|
2581
|
+
# format file.
|
|
2582
|
+
# Corresponds to the JSON property `sourceUri`
|
|
2417
2583
|
# @return [String]
|
|
2418
|
-
attr_accessor :
|
|
2584
|
+
attr_accessor :source_uri
|
|
2419
2585
|
|
|
2420
|
-
# The
|
|
2421
|
-
#
|
|
2422
|
-
#
|
|
2423
|
-
|
|
2424
|
-
|
|
2586
|
+
# The name of this reference, for example `22`.
|
|
2587
|
+
# Corresponds to the JSON property `name`
|
|
2588
|
+
# @return [String]
|
|
2589
|
+
attr_accessor :name
|
|
2590
|
+
|
|
2591
|
+
# MD5 of the upper-case sequence excluding all whitespace characters (this
|
|
2592
|
+
# is equivalent to SQ:M5 in SAM). This value is represented in lower case
|
|
2593
|
+
# hexadecimal format.
|
|
2594
|
+
# Corresponds to the JSON property `md5checksum`
|
|
2595
|
+
# @return [String]
|
|
2596
|
+
attr_accessor :md5checksum
|
|
2597
|
+
|
|
2598
|
+
# The server-generated reference ID, unique across all references.
|
|
2599
|
+
# Corresponds to the JSON property `id`
|
|
2600
|
+
# @return [String]
|
|
2601
|
+
attr_accessor :id
|
|
2602
|
+
|
|
2603
|
+
# The length of this reference's sequence.
|
|
2604
|
+
# Corresponds to the JSON property `length`
|
|
2605
|
+
# @return [String]
|
|
2606
|
+
attr_accessor :length
|
|
2425
2607
|
|
|
2426
2608
|
def initialize(**args)
|
|
2427
2609
|
update!(**args)
|
|
@@ -2429,9 +2611,13 @@ module Google
|
|
|
2429
2611
|
|
|
2430
2612
|
# Update properties of this object
|
|
2431
2613
|
def update!(**args)
|
|
2432
|
-
@
|
|
2433
|
-
@
|
|
2434
|
-
@
|
|
2614
|
+
@source_accessions = args[:source_accessions] if args.key?(:source_accessions)
|
|
2615
|
+
@ncbi_taxon_id = args[:ncbi_taxon_id] if args.key?(:ncbi_taxon_id)
|
|
2616
|
+
@source_uri = args[:source_uri] if args.key?(:source_uri)
|
|
2617
|
+
@name = args[:name] if args.key?(:name)
|
|
2618
|
+
@md5checksum = args[:md5checksum] if args.key?(:md5checksum)
|
|
2619
|
+
@id = args[:id] if args.key?(:id)
|
|
2620
|
+
@length = args[:length] if args.key?(:length)
|
|
2435
2621
|
end
|
|
2436
2622
|
end
|
|
2437
2623
|
|
|
@@ -2439,12 +2625,6 @@ module Google
|
|
|
2439
2625
|
class SearchReferenceSetsRequest
|
|
2440
2626
|
include Google::Apis::Core::Hashable
|
|
2441
2627
|
|
|
2442
|
-
# If present, return reference sets for which a substring of their
|
|
2443
|
-
# `assemblyId` matches this string (case insensitive).
|
|
2444
|
-
# Corresponds to the JSON property `assemblyId`
|
|
2445
|
-
# @return [String]
|
|
2446
|
-
attr_accessor :assembly_id
|
|
2447
|
-
|
|
2448
2628
|
# If present, return reference sets for which the
|
|
2449
2629
|
# md5checksum matches exactly.
|
|
2450
2630
|
# Corresponds to the JSON property `md5checksums`
|
|
@@ -2472,17 +2652,23 @@ module Google
|
|
|
2472
2652
|
# @return [Fixnum]
|
|
2473
2653
|
attr_accessor :page_size
|
|
2474
2654
|
|
|
2655
|
+
# If present, return reference sets for which a substring of their
|
|
2656
|
+
# `assemblyId` matches this string (case insensitive).
|
|
2657
|
+
# Corresponds to the JSON property `assemblyId`
|
|
2658
|
+
# @return [String]
|
|
2659
|
+
attr_accessor :assembly_id
|
|
2660
|
+
|
|
2475
2661
|
def initialize(**args)
|
|
2476
2662
|
update!(**args)
|
|
2477
2663
|
end
|
|
2478
2664
|
|
|
2479
2665
|
# Update properties of this object
|
|
2480
2666
|
def update!(**args)
|
|
2481
|
-
@assembly_id = args[:assembly_id] if args.key?(:assembly_id)
|
|
2482
2667
|
@md5checksums = args[:md5checksums] if args.key?(:md5checksums)
|
|
2483
2668
|
@accessions = args[:accessions] if args.key?(:accessions)
|
|
2484
2669
|
@page_token = args[:page_token] if args.key?(:page_token)
|
|
2485
2670
|
@page_size = args[:page_size] if args.key?(:page_size)
|
|
2671
|
+
@assembly_id = args[:assembly_id] if args.key?(:assembly_id)
|
|
2486
2672
|
end
|
|
2487
2673
|
end
|
|
2488
2674
|
|
|
@@ -2534,11 +2720,6 @@ module Google
|
|
|
2534
2720
|
class MergeVariantsRequest
|
|
2535
2721
|
include Google::Apis::Core::Hashable
|
|
2536
2722
|
|
|
2537
|
-
# The destination variant set.
|
|
2538
|
-
# Corresponds to the JSON property `variantSetId`
|
|
2539
|
-
# @return [String]
|
|
2540
|
-
attr_accessor :variant_set_id
|
|
2541
|
-
|
|
2542
2723
|
# The variants to be merged with existing variants.
|
|
2543
2724
|
# Corresponds to the JSON property `variants`
|
|
2544
2725
|
# @return [Array<Google::Apis::GenomicsV1::Variant>]
|
|
@@ -2550,15 +2731,20 @@ module Google
|
|
|
2550
2731
|
# @return [Hash<String,String>]
|
|
2551
2732
|
attr_accessor :info_merge_config
|
|
2552
2733
|
|
|
2734
|
+
# The destination variant set.
|
|
2735
|
+
# Corresponds to the JSON property `variantSetId`
|
|
2736
|
+
# @return [String]
|
|
2737
|
+
attr_accessor :variant_set_id
|
|
2738
|
+
|
|
2553
2739
|
def initialize(**args)
|
|
2554
2740
|
update!(**args)
|
|
2555
2741
|
end
|
|
2556
2742
|
|
|
2557
2743
|
# Update properties of this object
|
|
2558
2744
|
def update!(**args)
|
|
2559
|
-
@variant_set_id = args[:variant_set_id] if args.key?(:variant_set_id)
|
|
2560
2745
|
@variants = args[:variants] if args.key?(:variants)
|
|
2561
2746
|
@info_merge_config = args[:info_merge_config] if args.key?(:info_merge_config)
|
|
2747
|
+
@variant_set_id = args[:variant_set_id] if args.key?(:variant_set_id)
|
|
2562
2748
|
end
|
|
2563
2749
|
end
|
|
2564
2750
|
|
|
@@ -2721,17 +2907,17 @@ module Google
|
|
|
2721
2907
|
# @return [Google::Apis::GenomicsV1::LinearAlignment]
|
|
2722
2908
|
attr_accessor :alignment
|
|
2723
2909
|
|
|
2910
|
+
# The number of reads in the fragment (extension to SAM flag 0x1).
|
|
2911
|
+
# Corresponds to the JSON property `numberReads`
|
|
2912
|
+
# @return [Fixnum]
|
|
2913
|
+
attr_accessor :number_reads
|
|
2914
|
+
|
|
2724
2915
|
# The server-generated read ID, unique across all reads. This is different
|
|
2725
2916
|
# from the `fragmentName`.
|
|
2726
2917
|
# Corresponds to the JSON property `id`
|
|
2727
2918
|
# @return [String]
|
|
2728
2919
|
attr_accessor :id
|
|
2729
2920
|
|
|
2730
|
-
# The number of reads in the fragment (extension to SAM flag 0x1).
|
|
2731
|
-
# Corresponds to the JSON property `numberReads`
|
|
2732
|
-
# @return [Fixnum]
|
|
2733
|
-
attr_accessor :number_reads
|
|
2734
|
-
|
|
2735
2921
|
# Whether this alignment is secondary. Equivalent to SAM flag 0x100.
|
|
2736
2922
|
# A secondary alignment represents an alternative to the primary alignment
|
|
2737
2923
|
# for this read. Aligners may return secondary alignments if a read can map
|
|
@@ -2811,8 +2997,8 @@ module Google
|
|
|
2811
2997
|
@failed_vendor_quality_checks = args[:failed_vendor_quality_checks] if args.key?(:failed_vendor_quality_checks)
|
|
2812
2998
|
@aligned_quality = args[:aligned_quality] if args.key?(:aligned_quality)
|
|
2813
2999
|
@alignment = args[:alignment] if args.key?(:alignment)
|
|
2814
|
-
@id = args[:id] if args.key?(:id)
|
|
2815
3000
|
@number_reads = args[:number_reads] if args.key?(:number_reads)
|
|
3001
|
+
@id = args[:id] if args.key?(:id)
|
|
2816
3002
|
@secondary_alignment = args[:secondary_alignment] if args.key?(:secondary_alignment)
|
|
2817
3003
|
@fragment_name = args[:fragment_name] if args.key?(:fragment_name)
|
|
2818
3004
|
@read_group_set_id = args[:read_group_set_id] if args.key?(:read_group_set_id)
|
|
@@ -2835,6 +3021,22 @@ module Google
|
|
|
2835
3021
|
class ReferenceSet
|
|
2836
3022
|
include Google::Apis::Core::Hashable
|
|
2837
3023
|
|
|
3024
|
+
# The server-generated reference set ID, unique across all reference sets.
|
|
3025
|
+
# Corresponds to the JSON property `id`
|
|
3026
|
+
# @return [String]
|
|
3027
|
+
attr_accessor :id
|
|
3028
|
+
|
|
3029
|
+
# All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally
|
|
3030
|
+
# with a version number, for example `NC_000001.11`.
|
|
3031
|
+
# Corresponds to the JSON property `sourceAccessions`
|
|
3032
|
+
# @return [Array<String>]
|
|
3033
|
+
attr_accessor :source_accessions
|
|
3034
|
+
|
|
3035
|
+
# Free text description of this reference set.
|
|
3036
|
+
# Corresponds to the JSON property `description`
|
|
3037
|
+
# @return [String]
|
|
3038
|
+
attr_accessor :description
|
|
3039
|
+
|
|
2838
3040
|
# The URI from which the references were obtained.
|
|
2839
3041
|
# Corresponds to the JSON property `sourceUri`
|
|
2840
3042
|
# @return [String]
|
|
@@ -2869,36 +3071,20 @@ module Google
|
|
|
2869
3071
|
# @return [String]
|
|
2870
3072
|
attr_accessor :assembly_id
|
|
2871
3073
|
|
|
2872
|
-
# The server-generated reference set ID, unique across all reference sets.
|
|
2873
|
-
# Corresponds to the JSON property `id`
|
|
2874
|
-
# @return [String]
|
|
2875
|
-
attr_accessor :id
|
|
2876
|
-
|
|
2877
|
-
# All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally
|
|
2878
|
-
# with a version number, for example `NC_000001.11`.
|
|
2879
|
-
# Corresponds to the JSON property `sourceAccessions`
|
|
2880
|
-
# @return [Array<String>]
|
|
2881
|
-
attr_accessor :source_accessions
|
|
2882
|
-
|
|
2883
|
-
# Free text description of this reference set.
|
|
2884
|
-
# Corresponds to the JSON property `description`
|
|
2885
|
-
# @return [String]
|
|
2886
|
-
attr_accessor :description
|
|
2887
|
-
|
|
2888
3074
|
def initialize(**args)
|
|
2889
3075
|
update!(**args)
|
|
2890
3076
|
end
|
|
2891
3077
|
|
|
2892
3078
|
# Update properties of this object
|
|
2893
3079
|
def update!(**args)
|
|
3080
|
+
@id = args[:id] if args.key?(:id)
|
|
3081
|
+
@source_accessions = args[:source_accessions] if args.key?(:source_accessions)
|
|
3082
|
+
@description = args[:description] if args.key?(:description)
|
|
2894
3083
|
@source_uri = args[:source_uri] if args.key?(:source_uri)
|
|
2895
3084
|
@ncbi_taxon_id = args[:ncbi_taxon_id] if args.key?(:ncbi_taxon_id)
|
|
2896
3085
|
@reference_ids = args[:reference_ids] if args.key?(:reference_ids)
|
|
2897
3086
|
@md5checksum = args[:md5checksum] if args.key?(:md5checksum)
|
|
2898
3087
|
@assembly_id = args[:assembly_id] if args.key?(:assembly_id)
|
|
2899
|
-
@id = args[:id] if args.key?(:id)
|
|
2900
|
-
@source_accessions = args[:source_accessions] if args.key?(:source_accessions)
|
|
2901
|
-
@description = args[:description] if args.key?(:description)
|
|
2902
3088
|
end
|
|
2903
3089
|
end
|
|
2904
3090
|
|
|
@@ -2906,6 +3092,11 @@ module Google
|
|
|
2906
3092
|
class CigarUnit
|
|
2907
3093
|
include Google::Apis::Core::Hashable
|
|
2908
3094
|
|
|
3095
|
+
#
|
|
3096
|
+
# Corresponds to the JSON property `operation`
|
|
3097
|
+
# @return [String]
|
|
3098
|
+
attr_accessor :operation
|
|
3099
|
+
|
|
2909
3100
|
# `referenceSequence` is only used at mismatches
|
|
2910
3101
|
# (`SEQUENCE_MISMATCH`) and deletions (`DELETE`).
|
|
2911
3102
|
# Filling this field replaces SAM's MD tag. If the relevant information is
|
|
@@ -2919,20 +3110,68 @@ module Google
|
|
|
2919
3110
|
# @return [String]
|
|
2920
3111
|
attr_accessor :operation_length
|
|
2921
3112
|
|
|
2922
|
-
#
|
|
2923
|
-
# Corresponds to the JSON property `operation`
|
|
2924
|
-
# @return [String]
|
|
2925
|
-
attr_accessor :operation
|
|
2926
|
-
|
|
2927
3113
|
def initialize(**args)
|
|
2928
3114
|
update!(**args)
|
|
2929
3115
|
end
|
|
2930
3116
|
|
|
2931
3117
|
# Update properties of this object
|
|
2932
3118
|
def update!(**args)
|
|
3119
|
+
@operation = args[:operation] if args.key?(:operation)
|
|
2933
3120
|
@reference_sequence = args[:reference_sequence] if args.key?(:reference_sequence)
|
|
2934
3121
|
@operation_length = args[:operation_length] if args.key?(:operation_length)
|
|
2935
|
-
|
|
3122
|
+
end
|
|
3123
|
+
end
|
|
3124
|
+
|
|
3125
|
+
# A transcript represents the assertion that a particular region of the
|
|
3126
|
+
# reference genome may be transcribed as RNA.
|
|
3127
|
+
class Transcript
|
|
3128
|
+
include Google::Apis::Core::Hashable
|
|
3129
|
+
|
|
3130
|
+
# The annotation ID of the gene from which this transcript is transcribed.
|
|
3131
|
+
# Corresponds to the JSON property `geneId`
|
|
3132
|
+
# @return [String]
|
|
3133
|
+
attr_accessor :gene_id
|
|
3134
|
+
|
|
3135
|
+
# The <a href="http://en.wikipedia.org/wiki/Exon">exons</a> that compose
|
|
3136
|
+
# this transcript. This field should be unset for genomes where transcript
|
|
3137
|
+
# splicing does not occur, for example prokaryotes.
|
|
3138
|
+
# Introns are regions of the transcript that are not included in the
|
|
3139
|
+
# spliced RNA product. Though not explicitly modeled here, intron ranges can
|
|
3140
|
+
# be deduced; all regions of this transcript that are not exons are introns.
|
|
3141
|
+
# Exonic sequences do not necessarily code for a translational product
|
|
3142
|
+
# (amino acids). Only the regions of exons bounded by the
|
|
3143
|
+
# codingSequence correspond
|
|
3144
|
+
# to coding DNA sequence.
|
|
3145
|
+
# Exons are ordered by start position and may not overlap.
|
|
3146
|
+
# Corresponds to the JSON property `exons`
|
|
3147
|
+
# @return [Array<Google::Apis::GenomicsV1::Exon>]
|
|
3148
|
+
attr_accessor :exons
|
|
3149
|
+
|
|
3150
|
+
# The range of the coding sequence for this transcript, if any. To determine
|
|
3151
|
+
# the exact ranges of coding sequence, intersect this range with those of the
|
|
3152
|
+
# exons, if any. If there are any
|
|
3153
|
+
# exons, the
|
|
3154
|
+
# codingSequence must start
|
|
3155
|
+
# and end within them.
|
|
3156
|
+
# Note that in some cases, the reference genome will not exactly match the
|
|
3157
|
+
# observed mRNA transcript e.g. due to variance in the source genome from
|
|
3158
|
+
# reference. In these cases,
|
|
3159
|
+
# exon.frame will not necessarily
|
|
3160
|
+
# match the expected reference reading frame and coding exon reference bases
|
|
3161
|
+
# cannot necessarily be concatenated to produce the original transcript mRNA.
|
|
3162
|
+
# Corresponds to the JSON property `codingSequence`
|
|
3163
|
+
# @return [Google::Apis::GenomicsV1::CodingSequence]
|
|
3164
|
+
attr_accessor :coding_sequence
|
|
3165
|
+
|
|
3166
|
+
def initialize(**args)
|
|
3167
|
+
update!(**args)
|
|
3168
|
+
end
|
|
3169
|
+
|
|
3170
|
+
# Update properties of this object
|
|
3171
|
+
def update!(**args)
|
|
3172
|
+
@gene_id = args[:gene_id] if args.key?(:gene_id)
|
|
3173
|
+
@exons = args[:exons] if args.key?(:exons)
|
|
3174
|
+
@coding_sequence = args[:coding_sequence] if args.key?(:coding_sequence)
|
|
2936
3175
|
end
|
|
2937
3176
|
end
|
|
2938
3177
|
|
|
@@ -2942,6 +3181,11 @@ module Google
|
|
|
2942
3181
|
class AnnotationSet
|
|
2943
3182
|
include Google::Apis::Core::Hashable
|
|
2944
3183
|
|
|
3184
|
+
# The server-generated annotation set ID, unique across all annotation sets.
|
|
3185
|
+
# Corresponds to the JSON property `id`
|
|
3186
|
+
# @return [String]
|
|
3187
|
+
attr_accessor :id
|
|
3188
|
+
|
|
2945
3189
|
# The source URI describing the file from which this annotation set was
|
|
2946
3190
|
# generated, if any.
|
|
2947
3191
|
# Corresponds to the JSON property `sourceUri`
|
|
@@ -2975,88 +3219,30 @@ module Google
|
|
|
2975
3219
|
# @return [String]
|
|
2976
3220
|
attr_accessor :type
|
|
2977
3221
|
|
|
2978
|
-
# The server-generated annotation set ID, unique across all annotation sets.
|
|
2979
|
-
# Corresponds to the JSON property `id`
|
|
2980
|
-
# @return [String]
|
|
2981
|
-
attr_accessor :id
|
|
2982
|
-
|
|
2983
3222
|
def initialize(**args)
|
|
2984
3223
|
update!(**args)
|
|
2985
3224
|
end
|
|
2986
3225
|
|
|
2987
3226
|
# Update properties of this object
|
|
2988
3227
|
def update!(**args)
|
|
3228
|
+
@id = args[:id] if args.key?(:id)
|
|
2989
3229
|
@source_uri = args[:source_uri] if args.key?(:source_uri)
|
|
2990
3230
|
@dataset_id = args[:dataset_id] if args.key?(:dataset_id)
|
|
2991
3231
|
@name = args[:name] if args.key?(:name)
|
|
2992
3232
|
@reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id)
|
|
2993
3233
|
@info = args[:info] if args.key?(:info)
|
|
2994
3234
|
@type = args[:type] if args.key?(:type)
|
|
2995
|
-
@id = args[:id] if args.key?(:id)
|
|
2996
3235
|
end
|
|
2997
3236
|
end
|
|
2998
3237
|
|
|
2999
|
-
#
|
|
3000
|
-
|
|
3001
|
-
class Transcript
|
|
3238
|
+
#
|
|
3239
|
+
class Experiment
|
|
3002
3240
|
include Google::Apis::Core::Hashable
|
|
3003
3241
|
|
|
3004
|
-
# The
|
|
3005
|
-
#
|
|
3006
|
-
#
|
|
3007
|
-
|
|
3008
|
-
# spliced RNA product. Though not explicitly modeled here, intron ranges can
|
|
3009
|
-
# be deduced; all regions of this transcript that are not exons are introns.
|
|
3010
|
-
# Exonic sequences do not necessarily code for a translational product
|
|
3011
|
-
# (amino acids). Only the regions of exons bounded by the
|
|
3012
|
-
# codingSequence correspond
|
|
3013
|
-
# to coding DNA sequence.
|
|
3014
|
-
# Exons are ordered by start position and may not overlap.
|
|
3015
|
-
# Corresponds to the JSON property `exons`
|
|
3016
|
-
# @return [Array<Google::Apis::GenomicsV1::Exon>]
|
|
3017
|
-
attr_accessor :exons
|
|
3018
|
-
|
|
3019
|
-
# The range of the coding sequence for this transcript, if any. To determine
|
|
3020
|
-
# the exact ranges of coding sequence, intersect this range with those of the
|
|
3021
|
-
# exons, if any. If there are any
|
|
3022
|
-
# exons, the
|
|
3023
|
-
# codingSequence must start
|
|
3024
|
-
# and end within them.
|
|
3025
|
-
# Note that in some cases, the reference genome will not exactly match the
|
|
3026
|
-
# observed mRNA transcript e.g. due to variance in the source genome from
|
|
3027
|
-
# reference. In these cases,
|
|
3028
|
-
# exon.frame will not necessarily
|
|
3029
|
-
# match the expected reference reading frame and coding exon reference bases
|
|
3030
|
-
# cannot necessarily be concatenated to produce the original transcript mRNA.
|
|
3031
|
-
# Corresponds to the JSON property `codingSequence`
|
|
3032
|
-
# @return [Google::Apis::GenomicsV1::CodingSequence]
|
|
3033
|
-
attr_accessor :coding_sequence
|
|
3034
|
-
|
|
3035
|
-
# The annotation ID of the gene from which this transcript is transcribed.
|
|
3036
|
-
# Corresponds to the JSON property `geneId`
|
|
3037
|
-
# @return [String]
|
|
3038
|
-
attr_accessor :gene_id
|
|
3039
|
-
|
|
3040
|
-
def initialize(**args)
|
|
3041
|
-
update!(**args)
|
|
3042
|
-
end
|
|
3043
|
-
|
|
3044
|
-
# Update properties of this object
|
|
3045
|
-
def update!(**args)
|
|
3046
|
-
@exons = args[:exons] if args.key?(:exons)
|
|
3047
|
-
@coding_sequence = args[:coding_sequence] if args.key?(:coding_sequence)
|
|
3048
|
-
@gene_id = args[:gene_id] if args.key?(:gene_id)
|
|
3049
|
-
end
|
|
3050
|
-
end
|
|
3051
|
-
|
|
3052
|
-
#
|
|
3053
|
-
class Experiment
|
|
3054
|
-
include Google::Apis::Core::Hashable
|
|
3055
|
-
|
|
3056
|
-
# The sequencing center used as part of this experiment.
|
|
3057
|
-
# Corresponds to the JSON property `sequencingCenter`
|
|
3058
|
-
# @return [String]
|
|
3059
|
-
attr_accessor :sequencing_center
|
|
3242
|
+
# The sequencing center used as part of this experiment.
|
|
3243
|
+
# Corresponds to the JSON property `sequencingCenter`
|
|
3244
|
+
# @return [String]
|
|
3245
|
+
attr_accessor :sequencing_center
|
|
3060
3246
|
|
|
3061
3247
|
# The platform unit used as part of this experiment, for example
|
|
3062
3248
|
# flowcell-barcode.lane for Illumina or slide for SOLiD. Corresponds to the
|
|
@@ -3147,10 +3333,53 @@ module Google
|
|
|
3147
3333
|
end
|
|
3148
3334
|
end
|
|
3149
3335
|
|
|
3336
|
+
# The read group set export request.
|
|
3337
|
+
class ExportReadGroupSetRequest
|
|
3338
|
+
include Google::Apis::Core::Hashable
|
|
3339
|
+
|
|
3340
|
+
# Required. A Google Cloud Storage URI for the exported BAM file.
|
|
3341
|
+
# The currently authenticated user must have write access to the new file.
|
|
3342
|
+
# An error will be returned if the URI already contains data.
|
|
3343
|
+
# Corresponds to the JSON property `exportUri`
|
|
3344
|
+
# @return [String]
|
|
3345
|
+
attr_accessor :export_uri
|
|
3346
|
+
|
|
3347
|
+
# The reference names to export. If this is not specified, all reference
|
|
3348
|
+
# sequences, including unmapped reads, are exported.
|
|
3349
|
+
# Use `*` to export only unmapped reads.
|
|
3350
|
+
# Corresponds to the JSON property `referenceNames`
|
|
3351
|
+
# @return [Array<String>]
|
|
3352
|
+
attr_accessor :reference_names
|
|
3353
|
+
|
|
3354
|
+
# Required. The Google Cloud project ID that owns this
|
|
3355
|
+
# export. The caller must have WRITE access to this project.
|
|
3356
|
+
# Corresponds to the JSON property `projectId`
|
|
3357
|
+
# @return [String]
|
|
3358
|
+
attr_accessor :project_id
|
|
3359
|
+
|
|
3360
|
+
def initialize(**args)
|
|
3361
|
+
update!(**args)
|
|
3362
|
+
end
|
|
3363
|
+
|
|
3364
|
+
# Update properties of this object
|
|
3365
|
+
def update!(**args)
|
|
3366
|
+
@export_uri = args[:export_uri] if args.key?(:export_uri)
|
|
3367
|
+
@reference_names = args[:reference_names] if args.key?(:reference_names)
|
|
3368
|
+
@project_id = args[:project_id] if args.key?(:project_id)
|
|
3369
|
+
end
|
|
3370
|
+
end
|
|
3371
|
+
|
|
3150
3372
|
#
|
|
3151
3373
|
class Exon
|
|
3152
3374
|
include Google::Apis::Core::Hashable
|
|
3153
3375
|
|
|
3376
|
+
# The start position of the exon on this annotation's reference sequence,
|
|
3377
|
+
# 0-based inclusive. Note that this is relative to the reference start, and
|
|
3378
|
+
# **not** the containing annotation start.
|
|
3379
|
+
# Corresponds to the JSON property `start`
|
|
3380
|
+
# @return [String]
|
|
3381
|
+
attr_accessor :start
|
|
3382
|
+
|
|
3154
3383
|
# The end position of the exon on this annotation's reference sequence,
|
|
3155
3384
|
# 0-based exclusive. Note that this is relative to the reference start, and
|
|
3156
3385
|
# *not* the containing annotation start.
|
|
@@ -3174,58 +3403,15 @@ module Google
|
|
|
3174
3403
|
# @return [Fixnum]
|
|
3175
3404
|
attr_accessor :frame
|
|
3176
3405
|
|
|
3177
|
-
# The start position of the exon on this annotation's reference sequence,
|
|
3178
|
-
# 0-based inclusive. Note that this is relative to the reference start, and
|
|
3179
|
-
# **not** the containing annotation start.
|
|
3180
|
-
# Corresponds to the JSON property `start`
|
|
3181
|
-
# @return [String]
|
|
3182
|
-
attr_accessor :start
|
|
3183
|
-
|
|
3184
3406
|
def initialize(**args)
|
|
3185
3407
|
update!(**args)
|
|
3186
3408
|
end
|
|
3187
3409
|
|
|
3188
3410
|
# Update properties of this object
|
|
3189
3411
|
def update!(**args)
|
|
3412
|
+
@start = args[:start] if args.key?(:start)
|
|
3190
3413
|
@end = args[:end] if args.key?(:end)
|
|
3191
3414
|
@frame = args[:frame] if args.key?(:frame)
|
|
3192
|
-
@start = args[:start] if args.key?(:start)
|
|
3193
|
-
end
|
|
3194
|
-
end
|
|
3195
|
-
|
|
3196
|
-
# The read group set export request.
|
|
3197
|
-
class ExportReadGroupSetRequest
|
|
3198
|
-
include Google::Apis::Core::Hashable
|
|
3199
|
-
|
|
3200
|
-
# Required. A Google Cloud Storage URI for the exported BAM file.
|
|
3201
|
-
# The currently authenticated user must have write access to the new file.
|
|
3202
|
-
# An error will be returned if the URI already contains data.
|
|
3203
|
-
# Corresponds to the JSON property `exportUri`
|
|
3204
|
-
# @return [String]
|
|
3205
|
-
attr_accessor :export_uri
|
|
3206
|
-
|
|
3207
|
-
# The reference names to export. If this is not specified, all reference
|
|
3208
|
-
# sequences, including unmapped reads, are exported.
|
|
3209
|
-
# Use `*` to export only unmapped reads.
|
|
3210
|
-
# Corresponds to the JSON property `referenceNames`
|
|
3211
|
-
# @return [Array<String>]
|
|
3212
|
-
attr_accessor :reference_names
|
|
3213
|
-
|
|
3214
|
-
# Required. The Google Cloud project ID that owns this
|
|
3215
|
-
# export. The caller must have WRITE access to this project.
|
|
3216
|
-
# Corresponds to the JSON property `projectId`
|
|
3217
|
-
# @return [String]
|
|
3218
|
-
attr_accessor :project_id
|
|
3219
|
-
|
|
3220
|
-
def initialize(**args)
|
|
3221
|
-
update!(**args)
|
|
3222
|
-
end
|
|
3223
|
-
|
|
3224
|
-
# Update properties of this object
|
|
3225
|
-
def update!(**args)
|
|
3226
|
-
@export_uri = args[:export_uri] if args.key?(:export_uri)
|
|
3227
|
-
@reference_names = args[:reference_names] if args.key?(:reference_names)
|
|
3228
|
-
@project_id = args[:project_id] if args.key?(:project_id)
|
|
3229
3415
|
end
|
|
3230
3416
|
end
|
|
3231
3417
|
|
|
@@ -3236,6 +3422,16 @@ module Google
|
|
|
3236
3422
|
class CallSet
|
|
3237
3423
|
include Google::Apis::Core::Hashable
|
|
3238
3424
|
|
|
3425
|
+
# The IDs of the variant sets this call set belongs to. This field must
|
|
3426
|
+
# have exactly length one, as a call set belongs to a single variant set.
|
|
3427
|
+
# This field is repeated for compatibility with the
|
|
3428
|
+
# [GA4GH 0.5.1
|
|
3429
|
+
# API](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/
|
|
3430
|
+
# variants.avdl#L76).
|
|
3431
|
+
# Corresponds to the JSON property `variantSetIds`
|
|
3432
|
+
# @return [Array<String>]
|
|
3433
|
+
attr_accessor :variant_set_ids
|
|
3434
|
+
|
|
3239
3435
|
# The server-generated call set ID, unique across all call sets.
|
|
3240
3436
|
# Corresponds to the JSON property `id`
|
|
3241
3437
|
# @return [String]
|
|
@@ -3262,214 +3458,18 @@ module Google
|
|
|
3262
3458
|
# @return [Hash<String,Array<Object>>]
|
|
3263
3459
|
attr_accessor :info
|
|
3264
3460
|
|
|
3265
|
-
# The IDs of the variant sets this call set belongs to. This field must
|
|
3266
|
-
# have exactly length one, as a call set belongs to a single variant set.
|
|
3267
|
-
# This field is repeated for compatibility with the
|
|
3268
|
-
# [GA4GH 0.5.1
|
|
3269
|
-
# API](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/
|
|
3270
|
-
# variants.avdl#L76).
|
|
3271
|
-
# Corresponds to the JSON property `variantSetIds`
|
|
3272
|
-
# @return [Array<String>]
|
|
3273
|
-
attr_accessor :variant_set_ids
|
|
3274
|
-
|
|
3275
3461
|
def initialize(**args)
|
|
3276
3462
|
update!(**args)
|
|
3277
3463
|
end
|
|
3278
3464
|
|
|
3279
3465
|
# Update properties of this object
|
|
3280
3466
|
def update!(**args)
|
|
3467
|
+
@variant_set_ids = args[:variant_set_ids] if args.key?(:variant_set_ids)
|
|
3281
3468
|
@id = args[:id] if args.key?(:id)
|
|
3282
3469
|
@created = args[:created] if args.key?(:created)
|
|
3283
3470
|
@sample_id = args[:sample_id] if args.key?(:sample_id)
|
|
3284
3471
|
@name = args[:name] if args.key?(:name)
|
|
3285
3472
|
@info = args[:info] if args.key?(:info)
|
|
3286
|
-
@variant_set_ids = args[:variant_set_ids] if args.key?(:variant_set_ids)
|
|
3287
|
-
end
|
|
3288
|
-
end
|
|
3289
|
-
|
|
3290
|
-
#
|
|
3291
|
-
class SearchAnnotationSetsResponse
|
|
3292
|
-
include Google::Apis::Core::Hashable
|
|
3293
|
-
|
|
3294
|
-
# The continuation token, which is used to page through large result sets.
|
|
3295
|
-
# Provide this value in a subsequent request to return the next page of
|
|
3296
|
-
# results. This field will be empty if there aren't any additional results.
|
|
3297
|
-
# Corresponds to the JSON property `nextPageToken`
|
|
3298
|
-
# @return [String]
|
|
3299
|
-
attr_accessor :next_page_token
|
|
3300
|
-
|
|
3301
|
-
# The matching annotation sets.
|
|
3302
|
-
# Corresponds to the JSON property `annotationSets`
|
|
3303
|
-
# @return [Array<Google::Apis::GenomicsV1::AnnotationSet>]
|
|
3304
|
-
attr_accessor :annotation_sets
|
|
3305
|
-
|
|
3306
|
-
def initialize(**args)
|
|
3307
|
-
update!(**args)
|
|
3308
|
-
end
|
|
3309
|
-
|
|
3310
|
-
# Update properties of this object
|
|
3311
|
-
def update!(**args)
|
|
3312
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
3313
|
-
@annotation_sets = args[:annotation_sets] if args.key?(:annotation_sets)
|
|
3314
|
-
end
|
|
3315
|
-
end
|
|
3316
|
-
|
|
3317
|
-
# The variant data import request.
|
|
3318
|
-
class ImportVariantsRequest
|
|
3319
|
-
include Google::Apis::Core::Hashable
|
|
3320
|
-
|
|
3321
|
-
# The format of the variant data being imported. If unspecified, defaults to
|
|
3322
|
-
# to `VCF`.
|
|
3323
|
-
# Corresponds to the JSON property `format`
|
|
3324
|
-
# @return [String]
|
|
3325
|
-
attr_accessor :format
|
|
3326
|
-
|
|
3327
|
-
# A mapping between info field keys and the InfoMergeOperations to
|
|
3328
|
-
# be performed on them. This is plumbed down to the MergeVariantRequests
|
|
3329
|
-
# generated by the resulting import job.
|
|
3330
|
-
# Corresponds to the JSON property `infoMergeConfig`
|
|
3331
|
-
# @return [Hash<String,String>]
|
|
3332
|
-
attr_accessor :info_merge_config
|
|
3333
|
-
|
|
3334
|
-
# Required. The variant set to which variant data should be imported.
|
|
3335
|
-
# Corresponds to the JSON property `variantSetId`
|
|
3336
|
-
# @return [String]
|
|
3337
|
-
attr_accessor :variant_set_id
|
|
3338
|
-
|
|
3339
|
-
# A list of URIs referencing variant files in Google Cloud Storage. URIs can
|
|
3340
|
-
# include wildcards [as described
|
|
3341
|
-
# here](https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames).
|
|
3342
|
-
# Note that recursive wildcards ('**') are not supported.
|
|
3343
|
-
# Corresponds to the JSON property `sourceUris`
|
|
3344
|
-
# @return [Array<String>]
|
|
3345
|
-
attr_accessor :source_uris
|
|
3346
|
-
|
|
3347
|
-
# Convert reference names to the canonical representation.
|
|
3348
|
-
# hg19 haploytypes (those reference names containing "_hap")
|
|
3349
|
-
# are not modified in any way.
|
|
3350
|
-
# All other reference names are modified according to the following rules:
|
|
3351
|
-
# The reference name is capitalized.
|
|
3352
|
-
# The "chr" prefix is dropped for all autosomes and sex chromsomes.
|
|
3353
|
-
# For example "chr17" becomes "17" and "chrX" becomes "X".
|
|
3354
|
-
# All mitochondrial chromosomes ("chrM", "chrMT", etc) become "MT".
|
|
3355
|
-
# Corresponds to the JSON property `normalizeReferenceNames`
|
|
3356
|
-
# @return [Boolean]
|
|
3357
|
-
attr_accessor :normalize_reference_names
|
|
3358
|
-
alias_method :normalize_reference_names?, :normalize_reference_names
|
|
3359
|
-
|
|
3360
|
-
def initialize(**args)
|
|
3361
|
-
update!(**args)
|
|
3362
|
-
end
|
|
3363
|
-
|
|
3364
|
-
# Update properties of this object
|
|
3365
|
-
def update!(**args)
|
|
3366
|
-
@format = args[:format] if args.key?(:format)
|
|
3367
|
-
@info_merge_config = args[:info_merge_config] if args.key?(:info_merge_config)
|
|
3368
|
-
@variant_set_id = args[:variant_set_id] if args.key?(:variant_set_id)
|
|
3369
|
-
@source_uris = args[:source_uris] if args.key?(:source_uris)
|
|
3370
|
-
@normalize_reference_names = args[:normalize_reference_names] if args.key?(:normalize_reference_names)
|
|
3371
|
-
end
|
|
3372
|
-
end
|
|
3373
|
-
|
|
3374
|
-
#
|
|
3375
|
-
class VariantAnnotation
|
|
3376
|
-
include Google::Apis::Core::Hashable
|
|
3377
|
-
|
|
3378
|
-
# Google annotation IDs of the transcripts affected by this variant. These
|
|
3379
|
-
# should be provided when the variant is created.
|
|
3380
|
-
# Corresponds to the JSON property `transcriptIds`
|
|
3381
|
-
# @return [Array<String>]
|
|
3382
|
-
attr_accessor :transcript_ids
|
|
3383
|
-
|
|
3384
|
-
# Type has been adapted from ClinVar's list of variant types.
|
|
3385
|
-
# Corresponds to the JSON property `type`
|
|
3386
|
-
# @return [String]
|
|
3387
|
-
attr_accessor :type
|
|
3388
|
-
|
|
3389
|
-
# The alternate allele for this variant. If multiple alternate alleles
|
|
3390
|
-
# exist at this location, create a separate variant for each one, as they
|
|
3391
|
-
# may represent distinct conditions.
|
|
3392
|
-
# Corresponds to the JSON property `alternateBases`
|
|
3393
|
-
# @return [String]
|
|
3394
|
-
attr_accessor :alternate_bases
|
|
3395
|
-
|
|
3396
|
-
# Google annotation ID of the gene affected by this variant. This should
|
|
3397
|
-
# be provided when the variant is created.
|
|
3398
|
-
# Corresponds to the JSON property `geneId`
|
|
3399
|
-
# @return [String]
|
|
3400
|
-
attr_accessor :gene_id
|
|
3401
|
-
|
|
3402
|
-
# Describes the clinical significance of a variant.
|
|
3403
|
-
# It is adapted from the ClinVar controlled vocabulary for clinical
|
|
3404
|
-
# significance described at:
|
|
3405
|
-
# http://www.ncbi.nlm.nih.gov/clinvar/docs/clinsig/
|
|
3406
|
-
# Corresponds to the JSON property `clinicalSignificance`
|
|
3407
|
-
# @return [String]
|
|
3408
|
-
attr_accessor :clinical_significance
|
|
3409
|
-
|
|
3410
|
-
# The set of conditions associated with this variant.
|
|
3411
|
-
# A condition describes the way a variant influences human health.
|
|
3412
|
-
# Corresponds to the JSON property `conditions`
|
|
3413
|
-
# @return [Array<Google::Apis::GenomicsV1::ClinicalCondition>]
|
|
3414
|
-
attr_accessor :conditions
|
|
3415
|
-
|
|
3416
|
-
# Effect of the variant on the coding sequence.
|
|
3417
|
-
# Corresponds to the JSON property `effect`
|
|
3418
|
-
# @return [String]
|
|
3419
|
-
attr_accessor :effect
|
|
3420
|
-
|
|
3421
|
-
def initialize(**args)
|
|
3422
|
-
update!(**args)
|
|
3423
|
-
end
|
|
3424
|
-
|
|
3425
|
-
# Update properties of this object
|
|
3426
|
-
def update!(**args)
|
|
3427
|
-
@transcript_ids = args[:transcript_ids] if args.key?(:transcript_ids)
|
|
3428
|
-
@type = args[:type] if args.key?(:type)
|
|
3429
|
-
@alternate_bases = args[:alternate_bases] if args.key?(:alternate_bases)
|
|
3430
|
-
@gene_id = args[:gene_id] if args.key?(:gene_id)
|
|
3431
|
-
@clinical_significance = args[:clinical_significance] if args.key?(:clinical_significance)
|
|
3432
|
-
@conditions = args[:conditions] if args.key?(:conditions)
|
|
3433
|
-
@effect = args[:effect] if args.key?(:effect)
|
|
3434
|
-
end
|
|
3435
|
-
end
|
|
3436
|
-
|
|
3437
|
-
#
|
|
3438
|
-
class ListCoverageBucketsResponse
|
|
3439
|
-
include Google::Apis::Core::Hashable
|
|
3440
|
-
|
|
3441
|
-
# The continuation token, which is used to page through large result sets.
|
|
3442
|
-
# Provide this value in a subsequent request to return the next page of
|
|
3443
|
-
# results. This field will be empty if there aren't any additional results.
|
|
3444
|
-
# Corresponds to the JSON property `nextPageToken`
|
|
3445
|
-
# @return [String]
|
|
3446
|
-
attr_accessor :next_page_token
|
|
3447
|
-
|
|
3448
|
-
# The length of each coverage bucket in base pairs. Note that buckets at the
|
|
3449
|
-
# end of a reference sequence may be shorter. This value is omitted if the
|
|
3450
|
-
# bucket width is infinity (the default behaviour, with no range or
|
|
3451
|
-
# `targetBucketWidth`).
|
|
3452
|
-
# Corresponds to the JSON property `bucketWidth`
|
|
3453
|
-
# @return [String]
|
|
3454
|
-
attr_accessor :bucket_width
|
|
3455
|
-
|
|
3456
|
-
# The coverage buckets. The list of buckets is sparse; a bucket with 0
|
|
3457
|
-
# overlapping reads is not returned. A bucket never crosses more than one
|
|
3458
|
-
# reference sequence. Each bucket has width `bucketWidth`, unless
|
|
3459
|
-
# its end is the end of the reference sequence.
|
|
3460
|
-
# Corresponds to the JSON property `coverageBuckets`
|
|
3461
|
-
# @return [Array<Google::Apis::GenomicsV1::CoverageBucket>]
|
|
3462
|
-
attr_accessor :coverage_buckets
|
|
3463
|
-
|
|
3464
|
-
def initialize(**args)
|
|
3465
|
-
update!(**args)
|
|
3466
|
-
end
|
|
3467
|
-
|
|
3468
|
-
# Update properties of this object
|
|
3469
|
-
def update!(**args)
|
|
3470
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
3471
|
-
@bucket_width = args[:bucket_width] if args.key?(:bucket_width)
|
|
3472
|
-
@coverage_buckets = args[:coverage_buckets] if args.key?(:coverage_buckets)
|
|
3473
3473
|
end
|
|
3474
3474
|
end
|
|
3475
3475
|
end
|