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