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