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