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