google-api-client 0.8.7 → 0.9.pre1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +20 -0
- data/.rspec +2 -0
- data/.rubocop.yml +7 -0
- data/.rubocop_todo.yml +63 -0
- data/.travis.yml +21 -0
- data/.yardopts +12 -0
- data/CHANGELOG.md +6 -3
- data/CONTRIBUTING.md +31 -0
- data/Gemfile +28 -2
- data/MIGRATING.md +171 -0
- data/README.md +158 -150
- data/Rakefile +1 -40
- data/api_names.yaml +872 -0
- data/api_names_out.yaml +20843 -0
- data/bin/generate-api +93 -0
- data/generated/google/apis/adexchangebuyer_v1_3.rb +35 -0
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +1124 -0
- data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +375 -0
- data/generated/google/apis/adexchangebuyer_v1_3/service.rb +893 -0
- data/generated/google/apis/adexchangeseller_v2_0.rb +38 -0
- data/generated/google/apis/adexchangeseller_v2_0/classes.rb +792 -0
- data/generated/google/apis/adexchangeseller_v2_0/representations.rb +309 -0
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +682 -0
- data/generated/google/apis/admin_directory_v1.rb +89 -0
- data/generated/google/apis/admin_directory_v1/classes.rb +2389 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +780 -0
- data/generated/google/apis/admin_directory_v1/service.rb +2805 -0
- data/generated/google/apis/admin_reports_v1.rb +38 -0
- data/generated/google/apis/admin_reports_v1/classes.rb +582 -0
- data/generated/google/apis/admin_reports_v1/representations.rb +231 -0
- data/generated/google/apis/admin_reports_v1/service.rb +341 -0
- data/generated/google/apis/adsense_v1_4.rb +38 -0
- data/generated/google/apis/adsense_v1_4/classes.rb +1279 -0
- data/generated/google/apis/adsense_v1_4/representations.rb +493 -0
- data/generated/google/apis/adsense_v1_4/service.rb +1752 -0
- data/generated/google/apis/adsensehost_v4_1.rb +35 -0
- data/generated/google/apis/adsensehost_v4_1/classes.rb +834 -0
- data/generated/google/apis/adsensehost_v4_1/representations.rb +327 -0
- data/generated/google/apis/adsensehost_v4_1/service.rb +1190 -0
- data/generated/google/apis/analytics_v3.rb +49 -0
- data/generated/google/apis/analytics_v3/classes.rb +5113 -0
- data/generated/google/apis/analytics_v3/representations.rb +1661 -0
- data/generated/google/apis/analytics_v3/service.rb +3600 -0
- data/generated/google/apis/androidenterprise_v1.rb +34 -0
- data/generated/google/apis/androidenterprise_v1/classes.rb +1162 -0
- data/generated/google/apis/androidenterprise_v1/representations.rb +431 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +1979 -0
- data/generated/google/apis/androidpublisher_v2.rb +34 -0
- data/generated/google/apis/androidpublisher_v2/classes.rb +1374 -0
- data/generated/google/apis/androidpublisher_v2/representations.rb +630 -0
- data/generated/google/apis/androidpublisher_v2/service.rb +2390 -0
- data/generated/google/apis/appsactivity_v1.rb +46 -0
- data/generated/google/apis/appsactivity_v1/classes.rb +392 -0
- data/generated/google/apis/appsactivity_v1/representations.rb +184 -0
- data/generated/google/apis/appsactivity_v1/service.rb +129 -0
- data/generated/google/apis/appstate_v1.rb +34 -0
- data/generated/google/apis/appstate_v1/classes.rb +154 -0
- data/generated/google/apis/appstate_v1/representations.rb +79 -0
- data/generated/google/apis/appstate_v1/service.rb +265 -0
- data/generated/google/apis/autoscaler_v1beta2.rb +38 -0
- data/generated/google/apis/autoscaler_v1beta2/classes.rb +747 -0
- data/generated/google/apis/autoscaler_v1beta2/representations.rb +281 -0
- data/generated/google/apis/autoscaler_v1beta2/service.rb +488 -0
- data/generated/google/apis/bigquery_v2.rb +49 -0
- data/generated/google/apis/bigquery_v2/classes.rb +2255 -0
- data/generated/google/apis/bigquery_v2/representations.rb +754 -0
- data/generated/google/apis/bigquery_v2/service.rb +1003 -0
- data/generated/google/apis/blogger_v3.rb +37 -0
- data/generated/google/apis/blogger_v3/classes.rb +1354 -0
- data/generated/google/apis/blogger_v3/representations.rb +562 -0
- data/generated/google/apis/blogger_v3/service.rb +1620 -0
- data/generated/google/apis/books_v1.rb +34 -0
- data/generated/google/apis/books_v1/classes.rb +3515 -0
- data/generated/google/apis/books_v1/representations.rb +1361 -0
- data/generated/google/apis/books_v1/service.rb +2170 -0
- data/generated/google/apis/calendar_v3.rb +37 -0
- data/generated/google/apis/calendar_v3/classes.rb +1702 -0
- data/generated/google/apis/calendar_v3/representations.rb +566 -0
- data/generated/google/apis/calendar_v3/service.rb +1943 -0
- data/generated/google/apis/civicinfo_v2.rb +31 -0
- data/generated/google/apis/civicinfo_v2/classes.rb +1057 -0
- data/generated/google/apis/civicinfo_v2/representations.rb +374 -0
- data/generated/google/apis/civicinfo_v2/service.rb +284 -0
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +34 -0
- data/generated/google/apis/cloudmonitoring_v2beta2/classes.rb +679 -0
- data/generated/google/apis/cloudmonitoring_v2beta2/representations.rb +311 -0
- data/generated/google/apis/cloudmonitoring_v2beta2/service.rb +458 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +38 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +139 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +65 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +301 -0
- data/generated/google/apis/compute_v1.rb +49 -0
- data/generated/google/apis/compute_v1/classes.rb +6391 -0
- data/generated/google/apis/compute_v1/representations.rb +2209 -0
- data/generated/google/apis/compute_v1/service.rb +6352 -0
- data/generated/google/apis/container_v1beta1.rb +35 -0
- data/generated/google/apis/container_v1beta1/classes.rb +466 -0
- data/generated/google/apis/container_v1beta1/representations.rb +177 -0
- data/generated/google/apis/container_v1beta1/service.rb +394 -0
- data/generated/google/apis/content_v2.rb +35 -0
- data/generated/google/apis/content_v2/classes.rb +3780 -0
- data/generated/google/apis/content_v2/representations.rb +1456 -0
- data/generated/google/apis/content_v2/service.rb +1706 -0
- data/generated/google/apis/coordinate_v1.rb +37 -0
- data/generated/google/apis/coordinate_v1/classes.rb +669 -0
- data/generated/google/apis/coordinate_v1/representations.rb +285 -0
- data/generated/google/apis/coordinate_v1/service.rb +687 -0
- data/{lib/google/api_client/auth/compute_service_account.rb → generated/google/apis/customsearch_v1.rb} +13 -10
- data/generated/google/apis/customsearch_v1/classes.rb +771 -0
- data/generated/google/apis/customsearch_v1/representations.rb +276 -0
- data/generated/google/apis/customsearch_v1/service.rb +208 -0
- data/generated/google/apis/datastore_v1beta2.rb +40 -0
- data/generated/google/apis/datastore_v1beta2/classes.rb +1186 -0
- data/generated/google/apis/datastore_v1beta2/representations.rb +526 -0
- data/generated/google/apis/datastore_v1beta2/service.rb +300 -0
- data/generated/google/apis/deploymentmanager_v2beta2.rb +41 -0
- data/generated/google/apis/deploymentmanager_v2beta2/classes.rb +820 -0
- data/generated/google/apis/deploymentmanager_v2beta2/representations.rb +303 -0
- data/generated/google/apis/deploymentmanager_v2beta2/service.rb +647 -0
- data/generated/google/apis/dfareporting_v2_1.rb +37 -0
- data/generated/google/apis/dfareporting_v2_1/classes.rb +10755 -0
- data/generated/google/apis/dfareporting_v2_1/representations.rb +3438 -0
- data/generated/google/apis/dfareporting_v2_1/service.rb +8775 -0
- data/generated/google/apis/discovery_v1.rb +32 -0
- data/generated/google/apis/discovery_v1/classes.rb +947 -0
- data/generated/google/apis/discovery_v1/representations.rb +355 -0
- data/generated/google/apis/discovery_v1/service.rb +144 -0
- data/generated/google/apis/dns_v1.rb +41 -0
- data/generated/google/apis/dns_v1/classes.rb +406 -0
- data/generated/google/apis/dns_v1/representations.rb +151 -0
- data/generated/google/apis/dns_v1/service.rb +460 -0
- data/{spec/google/api_client/request_spec.rb → generated/google/apis/doubleclickbidmanager_v1.rb} +15 -13
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +709 -0
- data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +297 -0
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +349 -0
- data/generated/google/apis/doubleclicksearch_v2.rb +35 -0
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +947 -0
- data/generated/google/apis/doubleclicksearch_v2/representations.rb +315 -0
- data/generated/google/apis/doubleclicksearch_v2/service.rb +490 -0
- data/generated/google/apis/drive_v2.rb +55 -0
- data/generated/google/apis/drive_v2/classes.rb +2519 -0
- data/generated/google/apis/drive_v2/representations.rb +781 -0
- data/generated/google/apis/drive_v2/service.rb +2685 -0
- data/generated/google/apis/fitness_v1.rb +49 -0
- data/generated/google/apis/fitness_v1/classes.rb +809 -0
- data/generated/google/apis/fitness_v1/representations.rb +295 -0
- data/generated/google/apis/fitness_v1/service.rb +684 -0
- data/generated/google/apis/fusiontables_v2.rb +37 -0
- data/generated/google/apis/fusiontables_v2/classes.rb +1048 -0
- data/generated/google/apis/fusiontables_v2/representations.rb +409 -0
- data/generated/google/apis/fusiontables_v2/service.rb +1496 -0
- data/generated/google/apis/games_configuration_v1configuration.rb +34 -0
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +506 -0
- data/generated/google/apis/games_configuration_v1configuration/representations.rb +206 -0
- data/generated/google/apis/games_configuration_v1configuration/service.rb +578 -0
- data/generated/google/apis/games_v1.rb +40 -0
- data/generated/google/apis/games_v1/classes.rb +4578 -0
- data/generated/google/apis/games_v1/representations.rb +1570 -0
- data/generated/google/apis/games_v1/service.rb +2306 -0
- data/generated/google/apis/gan_v1beta1.rb +31 -0
- data/generated/google/apis/gan_v1beta1/classes.rb +1428 -0
- data/generated/google/apis/gan_v1beta1/representations.rb +428 -0
- data/generated/google/apis/gan_v1beta1/service.rb +692 -0
- data/generated/google/apis/genomics_v1beta2.rb +46 -0
- data/generated/google/apis/genomics_v1beta2/classes.rb +3288 -0
- data/generated/google/apis/genomics_v1beta2/representations.rb +1194 -0
- data/generated/google/apis/genomics_v1beta2/service.rb +2356 -0
- data/generated/google/apis/gmail_v1.rb +49 -0
- data/generated/google/apis/gmail_v1/classes.rb +794 -0
- data/generated/google/apis/gmail_v1/representations.rb +339 -0
- data/generated/google/apis/gmail_v1/service.rb +1502 -0
- data/generated/google/apis/groupsmigration_v1.rb +34 -0
- data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
- data/generated/google/apis/groupsmigration_v1/representations.rb +38 -0
- data/generated/google/apis/groupsmigration_v1/service.rb +111 -0
- data/generated/google/apis/groupssettings_v1.rb +34 -0
- data/generated/google/apis/groupssettings_v1/classes.rb +221 -0
- data/generated/google/apis/groupssettings_v1/representations.rb +64 -0
- data/generated/google/apis/groupssettings_v1/service.rb +179 -0
- data/generated/google/apis/identitytoolkit_v3.rb +31 -0
- data/generated/google/apis/identitytoolkit_v3/classes.rb +1229 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +422 -0
- data/generated/google/apis/identitytoolkit_v3/service.rb +491 -0
- data/generated/google/apis/licensing_v1.rb +34 -0
- data/generated/google/apis/licensing_v1/classes.rb +132 -0
- data/generated/google/apis/licensing_v1/representations.rb +68 -0
- data/generated/google/apis/licensing_v1/service.rb +376 -0
- data/generated/google/apis/logging_v1beta3.rb +35 -0
- data/generated/google/apis/logging_v1beta3/classes.rb +505 -0
- data/generated/google/apis/logging_v1beta3/representations.rb +222 -0
- data/generated/google/apis/logging_v1beta3/service.rb +670 -0
- data/generated/google/apis/manager_v1beta2.rb +50 -0
- data/generated/google/apis/manager_v1beta2/classes.rb +1287 -0
- data/generated/google/apis/manager_v1beta2/representations.rb +536 -0
- data/generated/google/apis/manager_v1beta2/service.rb +380 -0
- data/generated/google/apis/mapsengine_v1.rb +38 -0
- data/generated/google/apis/mapsengine_v1/classes.rb +2873 -0
- data/generated/google/apis/mapsengine_v1/representations.rb +1235 -0
- data/generated/google/apis/mapsengine_v1/service.rb +3465 -0
- data/generated/google/apis/mirror_v1.rb +37 -0
- data/generated/google/apis/mirror_v1/classes.rb +1072 -0
- data/generated/google/apis/mirror_v1/representations.rb +350 -0
- data/generated/google/apis/mirror_v1/service.rb +1001 -0
- data/generated/google/apis/oauth2_v2.rb +43 -0
- data/generated/google/apis/oauth2_v2/classes.rb +245 -0
- data/generated/google/apis/oauth2_v2/representations.rb +94 -0
- data/generated/google/apis/oauth2_v2/service.rb +203 -0
- data/generated/google/apis/pagespeedonline_v2.rb +32 -0
- data/generated/google/apis/pagespeedonline_v2/classes.rb +614 -0
- data/generated/google/apis/pagespeedonline_v2/representations.rb +244 -0
- data/generated/google/apis/pagespeedonline_v2/service.rb +120 -0
- data/generated/google/apis/plus_domains_v1.rb +61 -0
- data/generated/google/apis/plus_domains_v1/classes.rb +2402 -0
- data/generated/google/apis/plus_domains_v1/representations.rb +873 -0
- data/generated/google/apis/plus_domains_v1/service.rb +924 -0
- data/generated/google/apis/plus_v1.rb +43 -0
- data/generated/google/apis/plus_v1/classes.rb +2384 -0
- data/generated/google/apis/plus_v1/representations.rb +812 -0
- data/generated/google/apis/plus_v1/service.rb +616 -0
- data/generated/google/apis/prediction_v1_6.rb +44 -0
- data/generated/google/apis/prediction_v1_6/classes.rb +751 -0
- data/generated/google/apis/prediction_v1_6/representations.rb +327 -0
- data/generated/google/apis/prediction_v1_6/service.rb +388 -0
- data/generated/google/apis/pubsub_v1beta2.rb +37 -0
- data/generated/google/apis/pubsub_v1beta2/classes.rb +824 -0
- data/generated/google/apis/pubsub_v1beta2/representations.rb +366 -0
- data/generated/google/apis/pubsub_v1beta2/service.rb +778 -0
- data/generated/google/apis/qpx_express_v1.rb +31 -0
- data/generated/google/apis/qpx_express_v1/classes.rb +1268 -0
- data/generated/google/apis/qpx_express_v1/representations.rb +424 -0
- data/generated/google/apis/qpx_express_v1/service.rb +101 -0
- data/generated/google/apis/replicapool_v1beta2.rb +41 -0
- data/generated/google/apis/replicapool_v1beta2/classes.rb +621 -0
- data/generated/google/apis/replicapool_v1beta2/representations.rb +235 -0
- data/generated/google/apis/replicapool_v1beta2/service.rb +620 -0
- data/generated/google/apis/replicapoolupdater_v1beta1.rb +41 -0
- data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +682 -0
- data/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +247 -0
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +472 -0
- data/generated/google/apis/reseller_v1.rb +37 -0
- data/generated/google/apis/reseller_v1/classes.rb +502 -0
- data/generated/google/apis/reseller_v1/representations.rb +199 -0
- data/generated/google/apis/reseller_v1/service.rb +637 -0
- data/generated/google/apis/resourceviews_v1beta2.rb +47 -0
- data/generated/google/apis/resourceviews_v1beta2/classes.rb +660 -0
- data/generated/google/apis/resourceviews_v1beta2/representations.rb +269 -0
- data/generated/google/apis/resourceviews_v1beta2/service.rb +574 -0
- data/generated/google/apis/site_verification_v1.rb +37 -0
- data/generated/google/apis/site_verification_v1/classes.rb +185 -0
- data/generated/google/apis/site_verification_v1/representations.rb +101 -0
- data/generated/google/apis/site_verification_v1/service.rb +322 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +37 -0
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +1817 -0
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +688 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +1534 -0
- data/generated/google/apis/storage_v1.rb +43 -0
- data/generated/google/apis/storage_v1/classes.rb +1177 -0
- data/generated/google/apis/storage_v1/representations.rb +427 -0
- data/generated/google/apis/storage_v1/service.rb +1920 -0
- data/generated/google/apis/tagmanager_v1.rb +52 -0
- data/generated/google/apis/tagmanager_v1/classes.rb +1226 -0
- data/generated/google/apis/tagmanager_v1/representations.rb +461 -0
- data/generated/google/apis/tagmanager_v1/service.rb +1978 -0
- data/generated/google/apis/taskqueue_v1beta2.rb +37 -0
- data/generated/google/apis/taskqueue_v1beta2/classes.rb +254 -0
- data/generated/google/apis/taskqueue_v1beta2/representations.rb +114 -0
- data/generated/google/apis/taskqueue_v1beta2/service.rb +416 -0
- data/generated/google/apis/tasks_v1.rb +37 -0
- data/generated/google/apis/tasks_v1/classes.rb +296 -0
- data/generated/google/apis/tasks_v1/representations.rb +115 -0
- data/generated/google/apis/tasks_v1/service.rb +657 -0
- data/generated/google/apis/translate_v2.rb +31 -0
- data/generated/google/apis/translate_v2/classes.rb +168 -0
- data/generated/google/apis/translate_v2/representations.rb +109 -0
- data/generated/google/apis/translate_v2/service.rb +185 -0
- data/generated/google/apis/urlshortener_v1.rb +34 -0
- data/generated/google/apis/urlshortener_v1/classes.rb +246 -0
- data/generated/google/apis/urlshortener_v1/representations.rb +111 -0
- data/generated/google/apis/urlshortener_v1/service.rb +179 -0
- data/generated/google/apis/webmasters_v3.rb +37 -0
- data/generated/google/apis/webmasters_v3/classes.rb +563 -0
- data/generated/google/apis/webmasters_v3/representations.rb +250 -0
- data/generated/google/apis/webmasters_v3/service.rb +587 -0
- data/generated/google/apis/youtube_analytics_v1.rb +46 -0
- data/generated/google/apis/youtube_analytics_v1/classes.rb +540 -0
- data/generated/google/apis/youtube_analytics_v1/representations.rb +242 -0
- data/generated/google/apis/youtube_analytics_v1/service.rb +567 -0
- data/generated/google/apis/youtube_v3.rb +49 -0
- data/generated/google/apis/youtube_v3/classes.rb +7225 -0
- data/generated/google/apis/youtube_v3/representations.rb +2529 -0
- data/generated/google/apis/youtube_v3/service.rb +4051 -0
- data/google-api-client.gemspec +27 -39
- data/lib/google/api_client/auth/storage.rb +3 -2
- data/lib/google/api_client/auth/storages/file_store.rb +1 -3
- data/lib/google/api_client/auth/storages/redis_store.rb +6 -2
- data/lib/google/apis.rb +48 -0
- data/lib/google/apis/core/api_command.rb +128 -0
- data/lib/google/apis/core/base_service.rb +314 -0
- data/lib/google/apis/core/batch.rb +222 -0
- data/lib/google/apis/core/download.rb +94 -0
- data/lib/google/apis/core/hashable.rb +44 -0
- data/lib/google/apis/core/http_command.rb +275 -0
- data/lib/google/apis/core/json_representation.rb +122 -0
- data/lib/google/{api_client/version.rb → apis/core/logging.rb} +12 -8
- data/lib/google/apis/core/multipart.rb +173 -0
- data/lib/google/apis/core/upload.rb +275 -0
- data/lib/google/{api_client → apis}/errors.rb +32 -28
- data/lib/google/apis/generator.rb +70 -0
- data/lib/google/apis/generator/annotator.rb +271 -0
- data/lib/google/apis/generator/helpers.rb +74 -0
- data/lib/google/apis/generator/model.rb +130 -0
- data/lib/google/apis/generator/template.rb +124 -0
- data/lib/google/apis/generator/templates/_class.tmpl +40 -0
- data/lib/google/apis/generator/templates/_method.tmpl +90 -0
- data/lib/google/apis/generator/templates/_representation.tmpl +51 -0
- data/lib/google/apis/generator/templates/_representation_stub.tmpl +15 -0
- data/lib/google/apis/generator/templates/_representation_type.tmpl +10 -0
- data/lib/google/{api_client/reference.rb → apis/generator/templates/classes.rb.tmpl} +11 -9
- data/lib/google/apis/generator/templates/module.rb.tmpl +40 -0
- data/lib/google/apis/generator/templates/representations.rb.tmpl +32 -0
- data/lib/google/apis/generator/templates/service.rb.tmpl +60 -0
- data/lib/google/apis/options.rb +79 -0
- data/lib/google/apis/version.rb +39 -0
- data/rakelib/metrics.rake +22 -0
- data/rakelib/rubocop.rake +10 -0
- data/rakelib/spec.rake +11 -0
- data/rakelib/yard.rake +11 -0
- data/samples/calendar/calendar.rb +43 -0
- data/samples/drive/drive.rb +40 -0
- data/samples/pubsub/pubsub.rb +52 -0
- data/{lib/google/api_client/discovery.rb → samples/translate/translate.rb} +14 -5
- data/script/generate +79 -0
- data/script/package +8 -0
- data/script/release +15 -0
- data/spec/fixtures/files/api_names.yaml +3 -0
- data/spec/fixtures/files/auth_stored_credentials.json +8 -0
- data/spec/fixtures/files/client_secrets.json +1 -0
- data/spec/fixtures/files/test.blah +1 -0
- data/spec/fixtures/files/test.txt +1 -0
- data/spec/fixtures/files/test_api.json +440 -0
- data/spec/google/api_client/auth/storage_spec.rb +1 -3
- data/spec/google/api_client/auth/storages/file_store_spec.rb +1 -2
- data/spec/google/api_client/auth/storages/redis_store_spec.rb +1 -3
- data/spec/google/apis/core/api_command_spec.rb +170 -0
- data/spec/google/apis/core/batch_spec.rb +128 -0
- data/spec/google/apis/core/download_spec.rb +90 -0
- data/spec/google/apis/core/hashable_spec.rb +60 -0
- data/spec/google/apis/core/http_command_spec.rb +238 -0
- data/spec/google/apis/core/json_representation_spec.rb +192 -0
- data/spec/google/apis/core/service_spec.rb +247 -0
- data/spec/google/apis/core/upload_spec.rb +238 -0
- data/{lib/google/api_client/service_account.rb → spec/google/apis/generated_spec.rb} +14 -8
- data/spec/google/apis/generator/generator_spec.rb +272 -0
- data/spec/google/apis/logging_spec.rb +45 -0
- data/spec/google/apis/options_spec.rb +40 -0
- data/spec/integration_tests/drive_spec.rb +35 -0
- data/spec/integration_tests/pubsub_spec.rb +48 -0
- data/spec/integration_tests/url_shortener_spec.rb +31 -0
- data/spec/spec_helper.rb +102 -46
- metadata +433 -178
- data/lib/compat/multi_json.rb +0 -19
- data/lib/google/api_client.rb +0 -750
- data/lib/google/api_client/auth/file_storage.rb +0 -59
- data/lib/google/api_client/auth/jwt_asserter.rb +0 -126
- data/lib/google/api_client/auth/key_utils.rb +0 -93
- data/lib/google/api_client/auth/pkcs12.rb +0 -41
- data/lib/google/api_client/batch.rb +0 -326
- data/lib/google/api_client/charset.rb +0 -33
- data/lib/google/api_client/discovery/api.rb +0 -310
- data/lib/google/api_client/discovery/media.rb +0 -77
- data/lib/google/api_client/discovery/method.rb +0 -363
- data/lib/google/api_client/discovery/resource.rb +0 -156
- data/lib/google/api_client/discovery/schema.rb +0 -117
- data/lib/google/api_client/environment.rb +0 -42
- data/lib/google/api_client/gzip.rb +0 -28
- data/lib/google/api_client/logging.rb +0 -32
- data/lib/google/api_client/media.rb +0 -259
- data/lib/google/api_client/railtie.rb +0 -18
- data/lib/google/api_client/request.rb +0 -350
- data/lib/google/api_client/result.rb +0 -255
- data/lib/google/api_client/service.rb +0 -233
- data/lib/google/api_client/service/batch.rb +0 -110
- data/lib/google/api_client/service/request.rb +0 -144
- data/lib/google/api_client/service/resource.rb +0 -40
- data/lib/google/api_client/service/result.rb +0 -162
- data/lib/google/api_client/service/simple_file_store.rb +0 -151
- data/lib/google/api_client/service/stub_generator.rb +0 -61
- data/spec/google/api_client/batch_spec.rb +0 -248
- data/spec/google/api_client/discovery_spec.rb +0 -708
- data/spec/google/api_client/gzip_spec.rb +0 -98
- data/spec/google/api_client/media_spec.rb +0 -178
- data/spec/google/api_client/result_spec.rb +0 -207
- data/spec/google/api_client/service_account_spec.rb +0 -169
- data/spec/google/api_client/service_spec.rb +0 -618
- data/spec/google/api_client/simple_file_store_spec.rb +0 -133
- data/spec/google/api_client_spec.rb +0 -352
@@ -0,0 +1,1194 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'date'
|
16
|
+
require 'google/apis/core/base_service'
|
17
|
+
require 'google/apis/core/json_representation'
|
18
|
+
require 'google/apis/core/hashable'
|
19
|
+
require 'google/apis/errors'
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Apis
|
23
|
+
module GenomicsV1beta2
|
24
|
+
|
25
|
+
class AlignReadGroupSetsRequest
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
end
|
28
|
+
|
29
|
+
class AlignReadGroupSetsResponse
|
30
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
31
|
+
end
|
32
|
+
|
33
|
+
class Annotation
|
34
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
35
|
+
end
|
36
|
+
|
37
|
+
class AnnotationSet
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
end
|
40
|
+
|
41
|
+
class BatchAnnotationsResponse
|
42
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
43
|
+
end
|
44
|
+
|
45
|
+
class BatchAnnotationsResponseEntry
|
46
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
47
|
+
end
|
48
|
+
|
49
|
+
class BatchAnnotationsResponseEntryStatus
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
end
|
52
|
+
|
53
|
+
class BatchCreateAnnotationsRequest
|
54
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
55
|
+
end
|
56
|
+
|
57
|
+
class Call
|
58
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
59
|
+
end
|
60
|
+
|
61
|
+
class CallReadGroupSetsRequest
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
end
|
64
|
+
|
65
|
+
class CallReadGroupSetsResponse
|
66
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
67
|
+
end
|
68
|
+
|
69
|
+
class CallSet
|
70
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
71
|
+
end
|
72
|
+
|
73
|
+
class CigarUnit
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
end
|
76
|
+
|
77
|
+
class CoverageBucket
|
78
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
79
|
+
end
|
80
|
+
|
81
|
+
class Dataset
|
82
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
83
|
+
end
|
84
|
+
|
85
|
+
class ExperimentalCreateJobRequest
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
end
|
88
|
+
|
89
|
+
class ExperimentalCreateJobResponse
|
90
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
91
|
+
end
|
92
|
+
|
93
|
+
class ExportReadGroupSetsRequest
|
94
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
95
|
+
end
|
96
|
+
|
97
|
+
class ExportReadGroupSetsResponse
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
end
|
100
|
+
|
101
|
+
class ExportVariantSetRequest
|
102
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
103
|
+
end
|
104
|
+
|
105
|
+
class ExportVariantSetResponse
|
106
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
107
|
+
end
|
108
|
+
|
109
|
+
class ExternalId
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
end
|
112
|
+
|
113
|
+
class FastqMetadata
|
114
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
115
|
+
end
|
116
|
+
|
117
|
+
class ImportReadGroupSetsRequest
|
118
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
119
|
+
end
|
120
|
+
|
121
|
+
class ImportReadGroupSetsResponse
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
end
|
124
|
+
|
125
|
+
class ImportVariantsRequest
|
126
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
127
|
+
end
|
128
|
+
|
129
|
+
class ImportVariantsResponse
|
130
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
131
|
+
end
|
132
|
+
|
133
|
+
class Int32Value
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
end
|
136
|
+
|
137
|
+
class InterleavedFastqSource
|
138
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
139
|
+
end
|
140
|
+
|
141
|
+
class Job
|
142
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
143
|
+
end
|
144
|
+
|
145
|
+
class JobRequest
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
end
|
148
|
+
|
149
|
+
class KeyValue
|
150
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
151
|
+
end
|
152
|
+
|
153
|
+
class LinearAlignment
|
154
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
155
|
+
end
|
156
|
+
|
157
|
+
class ListBasesResponse
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
end
|
160
|
+
|
161
|
+
class ListCoverageBucketsResponse
|
162
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
163
|
+
end
|
164
|
+
|
165
|
+
class ListDatasetsResponse
|
166
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
167
|
+
end
|
168
|
+
|
169
|
+
class MergeVariantsRequest
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
end
|
172
|
+
|
173
|
+
class Metadata
|
174
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
175
|
+
end
|
176
|
+
|
177
|
+
class PairedFastqSource
|
178
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
179
|
+
end
|
180
|
+
|
181
|
+
class Position
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
end
|
184
|
+
|
185
|
+
class QueryRange
|
186
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
187
|
+
end
|
188
|
+
|
189
|
+
class Range
|
190
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
191
|
+
end
|
192
|
+
|
193
|
+
class RangePosition
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
end
|
196
|
+
|
197
|
+
class Read
|
198
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
199
|
+
end
|
200
|
+
|
201
|
+
class ReadGroup
|
202
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
203
|
+
end
|
204
|
+
|
205
|
+
class ReadGroupExperiment
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
end
|
208
|
+
|
209
|
+
class ReadGroupProgram
|
210
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
211
|
+
end
|
212
|
+
|
213
|
+
class ReadGroupSet
|
214
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
215
|
+
end
|
216
|
+
|
217
|
+
class Reference
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
end
|
220
|
+
|
221
|
+
class ReferenceBound
|
222
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
223
|
+
end
|
224
|
+
|
225
|
+
class ReferenceSet
|
226
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
227
|
+
end
|
228
|
+
|
229
|
+
class SearchAnnotationSetsRequest
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
end
|
232
|
+
|
233
|
+
class SearchAnnotationSetsResponse
|
234
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
235
|
+
end
|
236
|
+
|
237
|
+
class SearchAnnotationsRequest
|
238
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
239
|
+
end
|
240
|
+
|
241
|
+
class SearchAnnotationsResponse
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
end
|
244
|
+
|
245
|
+
class SearchCallSetsRequest
|
246
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
247
|
+
end
|
248
|
+
|
249
|
+
class SearchCallSetsResponse
|
250
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
251
|
+
end
|
252
|
+
|
253
|
+
class SearchJobsRequest
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
|
+
end
|
256
|
+
|
257
|
+
class SearchJobsResponse
|
258
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
259
|
+
end
|
260
|
+
|
261
|
+
class SearchReadGroupSetsRequest
|
262
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
263
|
+
end
|
264
|
+
|
265
|
+
class SearchReadGroupSetsResponse
|
266
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
|
+
end
|
268
|
+
|
269
|
+
class SearchReadsRequest
|
270
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
271
|
+
end
|
272
|
+
|
273
|
+
class SearchReadsResponse
|
274
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
275
|
+
end
|
276
|
+
|
277
|
+
class SearchReferenceSetsRequest
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
|
+
end
|
280
|
+
|
281
|
+
class SearchReferenceSetsResponse
|
282
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
283
|
+
end
|
284
|
+
|
285
|
+
class SearchReferencesRequest
|
286
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
287
|
+
end
|
288
|
+
|
289
|
+
class SearchReferencesResponse
|
290
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
|
+
end
|
292
|
+
|
293
|
+
class SearchVariantSetsRequest
|
294
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
295
|
+
end
|
296
|
+
|
297
|
+
class SearchVariantSetsResponse
|
298
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
299
|
+
end
|
300
|
+
|
301
|
+
class SearchVariantsRequest
|
302
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
|
+
end
|
304
|
+
|
305
|
+
class SearchVariantsResponse
|
306
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
307
|
+
end
|
308
|
+
|
309
|
+
class Transcript
|
310
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
311
|
+
end
|
312
|
+
|
313
|
+
class TranscriptCodingSequence
|
314
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
|
+
end
|
316
|
+
|
317
|
+
class TranscriptExon
|
318
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
319
|
+
end
|
320
|
+
|
321
|
+
class Variant
|
322
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
323
|
+
end
|
324
|
+
|
325
|
+
class VariantAnnotation
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
|
+
end
|
328
|
+
|
329
|
+
class VariantAnnotationCondition
|
330
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
331
|
+
end
|
332
|
+
|
333
|
+
class VariantSet
|
334
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
335
|
+
end
|
336
|
+
|
337
|
+
class AlignReadGroupSetsRequest
|
338
|
+
# @private
|
339
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
340
|
+
collection :bam_source_uris, as: 'bamSourceUris'
|
341
|
+
property :dataset_id, as: 'datasetId'
|
342
|
+
property :interleaved_fastq_source, as: 'interleavedFastqSource', class: Google::Apis::GenomicsV1beta2::InterleavedFastqSource, decorator: Google::Apis::GenomicsV1beta2::InterleavedFastqSource::Representation
|
343
|
+
|
344
|
+
property :paired_fastq_source, as: 'pairedFastqSource', class: Google::Apis::GenomicsV1beta2::PairedFastqSource, decorator: Google::Apis::GenomicsV1beta2::PairedFastqSource::Representation
|
345
|
+
|
346
|
+
property :read_group_set_id, as: 'readGroupSetId'
|
347
|
+
end
|
348
|
+
end
|
349
|
+
|
350
|
+
class AlignReadGroupSetsResponse
|
351
|
+
# @private
|
352
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
353
|
+
property :job_id, as: 'jobId'
|
354
|
+
end
|
355
|
+
end
|
356
|
+
|
357
|
+
class Annotation
|
358
|
+
# @private
|
359
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
360
|
+
property :annotation_set_id, as: 'annotationSetId'
|
361
|
+
property :id, as: 'id'
|
362
|
+
hash :info, as: 'info', :class => Array do
|
363
|
+
include Representable::JSON::Collection
|
364
|
+
items
|
365
|
+
end
|
366
|
+
|
367
|
+
property :name, as: 'name'
|
368
|
+
property :position, as: 'position', class: Google::Apis::GenomicsV1beta2::RangePosition, decorator: Google::Apis::GenomicsV1beta2::RangePosition::Representation
|
369
|
+
|
370
|
+
property :transcript, as: 'transcript', class: Google::Apis::GenomicsV1beta2::Transcript, decorator: Google::Apis::GenomicsV1beta2::Transcript::Representation
|
371
|
+
|
372
|
+
property :type, as: 'type'
|
373
|
+
property :variant, as: 'variant', class: Google::Apis::GenomicsV1beta2::VariantAnnotation, decorator: Google::Apis::GenomicsV1beta2::VariantAnnotation::Representation
|
374
|
+
|
375
|
+
end
|
376
|
+
end
|
377
|
+
|
378
|
+
class AnnotationSet
|
379
|
+
# @private
|
380
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
381
|
+
property :dataset_id, as: 'datasetId'
|
382
|
+
property :id, as: 'id'
|
383
|
+
hash :info, as: 'info', :class => Array do
|
384
|
+
include Representable::JSON::Collection
|
385
|
+
items
|
386
|
+
end
|
387
|
+
|
388
|
+
property :name, as: 'name'
|
389
|
+
property :reference_set_id, as: 'referenceSetId'
|
390
|
+
property :source_uri, as: 'sourceUri'
|
391
|
+
property :type, as: 'type'
|
392
|
+
end
|
393
|
+
end
|
394
|
+
|
395
|
+
class BatchAnnotationsResponse
|
396
|
+
# @private
|
397
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
398
|
+
collection :entries, as: 'entries', class: Google::Apis::GenomicsV1beta2::BatchAnnotationsResponseEntry, decorator: Google::Apis::GenomicsV1beta2::BatchAnnotationsResponseEntry::Representation
|
399
|
+
|
400
|
+
end
|
401
|
+
end
|
402
|
+
|
403
|
+
class BatchAnnotationsResponseEntry
|
404
|
+
# @private
|
405
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
406
|
+
property :annotation, as: 'annotation', class: Google::Apis::GenomicsV1beta2::Annotation, decorator: Google::Apis::GenomicsV1beta2::Annotation::Representation
|
407
|
+
|
408
|
+
property :status, as: 'status', class: Google::Apis::GenomicsV1beta2::BatchAnnotationsResponseEntryStatus, decorator: Google::Apis::GenomicsV1beta2::BatchAnnotationsResponseEntryStatus::Representation
|
409
|
+
|
410
|
+
end
|
411
|
+
end
|
412
|
+
|
413
|
+
class BatchAnnotationsResponseEntryStatus
|
414
|
+
# @private
|
415
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
416
|
+
property :code, as: 'code'
|
417
|
+
property :message, as: 'message'
|
418
|
+
end
|
419
|
+
end
|
420
|
+
|
421
|
+
class BatchCreateAnnotationsRequest
|
422
|
+
# @private
|
423
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
424
|
+
collection :annotations, as: 'annotations', class: Google::Apis::GenomicsV1beta2::Annotation, decorator: Google::Apis::GenomicsV1beta2::Annotation::Representation
|
425
|
+
|
426
|
+
end
|
427
|
+
end
|
428
|
+
|
429
|
+
class Call
|
430
|
+
# @private
|
431
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
432
|
+
property :call_set_id, as: 'callSetId'
|
433
|
+
property :call_set_name, as: 'callSetName'
|
434
|
+
collection :genotype, as: 'genotype'
|
435
|
+
collection :genotype_likelihood, as: 'genotypeLikelihood'
|
436
|
+
hash :info, as: 'info', :class => Array do
|
437
|
+
include Representable::JSON::Collection
|
438
|
+
items
|
439
|
+
end
|
440
|
+
|
441
|
+
property :phaseset, as: 'phaseset'
|
442
|
+
end
|
443
|
+
end
|
444
|
+
|
445
|
+
class CallReadGroupSetsRequest
|
446
|
+
# @private
|
447
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
448
|
+
property :dataset_id, as: 'datasetId'
|
449
|
+
property :read_group_set_id, as: 'readGroupSetId'
|
450
|
+
collection :source_uris, as: 'sourceUris'
|
451
|
+
end
|
452
|
+
end
|
453
|
+
|
454
|
+
class CallReadGroupSetsResponse
|
455
|
+
# @private
|
456
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
457
|
+
property :job_id, as: 'jobId'
|
458
|
+
end
|
459
|
+
end
|
460
|
+
|
461
|
+
class CallSet
|
462
|
+
# @private
|
463
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
464
|
+
property :created, as: 'created'
|
465
|
+
property :id, as: 'id'
|
466
|
+
hash :info, as: 'info', :class => Array do
|
467
|
+
include Representable::JSON::Collection
|
468
|
+
items
|
469
|
+
end
|
470
|
+
|
471
|
+
property :name, as: 'name'
|
472
|
+
property :sample_id, as: 'sampleId'
|
473
|
+
collection :variant_set_ids, as: 'variantSetIds'
|
474
|
+
end
|
475
|
+
end
|
476
|
+
|
477
|
+
class CigarUnit
|
478
|
+
# @private
|
479
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
480
|
+
property :operation, as: 'operation'
|
481
|
+
property :operation_length, as: 'operationLength'
|
482
|
+
property :reference_sequence, as: 'referenceSequence'
|
483
|
+
end
|
484
|
+
end
|
485
|
+
|
486
|
+
class CoverageBucket
|
487
|
+
# @private
|
488
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
489
|
+
property :mean_coverage, as: 'meanCoverage'
|
490
|
+
property :range, as: 'range', class: Google::Apis::GenomicsV1beta2::Range, decorator: Google::Apis::GenomicsV1beta2::Range::Representation
|
491
|
+
|
492
|
+
end
|
493
|
+
end
|
494
|
+
|
495
|
+
class Dataset
|
496
|
+
# @private
|
497
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
498
|
+
property :create_time, as: 'createTime'
|
499
|
+
property :id, as: 'id'
|
500
|
+
property :is_public, as: 'isPublic'
|
501
|
+
property :name, as: 'name'
|
502
|
+
property :project_number, as: 'projectNumber'
|
503
|
+
end
|
504
|
+
end
|
505
|
+
|
506
|
+
class ExperimentalCreateJobRequest
|
507
|
+
# @private
|
508
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
509
|
+
property :align, as: 'align'
|
510
|
+
property :call_variants, as: 'callVariants'
|
511
|
+
property :gcs_output_path, as: 'gcsOutputPath'
|
512
|
+
collection :paired_source_uris, as: 'pairedSourceUris'
|
513
|
+
property :project_number, as: 'projectNumber'
|
514
|
+
collection :source_uris, as: 'sourceUris'
|
515
|
+
end
|
516
|
+
end
|
517
|
+
|
518
|
+
class ExperimentalCreateJobResponse
|
519
|
+
# @private
|
520
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
521
|
+
property :job_id, as: 'jobId'
|
522
|
+
end
|
523
|
+
end
|
524
|
+
|
525
|
+
class ExportReadGroupSetsRequest
|
526
|
+
# @private
|
527
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
528
|
+
property :export_uri, as: 'exportUri'
|
529
|
+
property :project_number, as: 'projectNumber'
|
530
|
+
collection :read_group_set_ids, as: 'readGroupSetIds'
|
531
|
+
collection :reference_names, as: 'referenceNames'
|
532
|
+
end
|
533
|
+
end
|
534
|
+
|
535
|
+
class ExportReadGroupSetsResponse
|
536
|
+
# @private
|
537
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
538
|
+
property :job_id, as: 'jobId'
|
539
|
+
end
|
540
|
+
end
|
541
|
+
|
542
|
+
class ExportVariantSetRequest
|
543
|
+
# @private
|
544
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
545
|
+
property :bigquery_dataset, as: 'bigqueryDataset'
|
546
|
+
property :bigquery_table, as: 'bigqueryTable'
|
547
|
+
collection :call_set_ids, as: 'callSetIds'
|
548
|
+
property :format, as: 'format'
|
549
|
+
property :project_number, as: 'projectNumber'
|
550
|
+
end
|
551
|
+
end
|
552
|
+
|
553
|
+
class ExportVariantSetResponse
|
554
|
+
# @private
|
555
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
556
|
+
property :job_id, as: 'jobId'
|
557
|
+
end
|
558
|
+
end
|
559
|
+
|
560
|
+
class ExternalId
|
561
|
+
# @private
|
562
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
563
|
+
property :id, as: 'id'
|
564
|
+
property :source_name, as: 'sourceName'
|
565
|
+
end
|
566
|
+
end
|
567
|
+
|
568
|
+
class FastqMetadata
|
569
|
+
# @private
|
570
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
571
|
+
property :library_name, as: 'libraryName'
|
572
|
+
property :platform_name, as: 'platformName'
|
573
|
+
property :platform_unit, as: 'platformUnit'
|
574
|
+
property :read_group_name, as: 'readGroupName'
|
575
|
+
property :sample_name, as: 'sampleName'
|
576
|
+
end
|
577
|
+
end
|
578
|
+
|
579
|
+
class ImportReadGroupSetsRequest
|
580
|
+
# @private
|
581
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
582
|
+
property :dataset_id, as: 'datasetId'
|
583
|
+
property :partition_strategy, as: 'partitionStrategy'
|
584
|
+
property :reference_set_id, as: 'referenceSetId'
|
585
|
+
collection :source_uris, as: 'sourceUris'
|
586
|
+
end
|
587
|
+
end
|
588
|
+
|
589
|
+
class ImportReadGroupSetsResponse
|
590
|
+
# @private
|
591
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
592
|
+
property :job_id, as: 'jobId'
|
593
|
+
end
|
594
|
+
end
|
595
|
+
|
596
|
+
class ImportVariantsRequest
|
597
|
+
# @private
|
598
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
599
|
+
property :format, as: 'format'
|
600
|
+
property :normalize_reference_names, as: 'normalizeReferenceNames'
|
601
|
+
collection :source_uris, as: 'sourceUris'
|
602
|
+
end
|
603
|
+
end
|
604
|
+
|
605
|
+
class ImportVariantsResponse
|
606
|
+
# @private
|
607
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
608
|
+
property :job_id, as: 'jobId'
|
609
|
+
end
|
610
|
+
end
|
611
|
+
|
612
|
+
class Int32Value
|
613
|
+
# @private
|
614
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
615
|
+
property :value, as: 'value'
|
616
|
+
end
|
617
|
+
end
|
618
|
+
|
619
|
+
class InterleavedFastqSource
|
620
|
+
# @private
|
621
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
622
|
+
property :metadata, as: 'metadata', class: Google::Apis::GenomicsV1beta2::FastqMetadata, decorator: Google::Apis::GenomicsV1beta2::FastqMetadata::Representation
|
623
|
+
|
624
|
+
collection :source_uris, as: 'sourceUris'
|
625
|
+
end
|
626
|
+
end
|
627
|
+
|
628
|
+
class Job
|
629
|
+
# @private
|
630
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
631
|
+
property :created, as: 'created'
|
632
|
+
property :detailed_status, as: 'detailedStatus'
|
633
|
+
collection :errors, as: 'errors'
|
634
|
+
property :id, as: 'id'
|
635
|
+
collection :imported_ids, as: 'importedIds'
|
636
|
+
property :project_number, as: 'projectNumber'
|
637
|
+
property :request, as: 'request', class: Google::Apis::GenomicsV1beta2::JobRequest, decorator: Google::Apis::GenomicsV1beta2::JobRequest::Representation
|
638
|
+
|
639
|
+
property :status, as: 'status'
|
640
|
+
collection :warnings, as: 'warnings'
|
641
|
+
end
|
642
|
+
end
|
643
|
+
|
644
|
+
class JobRequest
|
645
|
+
# @private
|
646
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
647
|
+
collection :destination, as: 'destination'
|
648
|
+
collection :source, as: 'source'
|
649
|
+
property :type, as: 'type'
|
650
|
+
end
|
651
|
+
end
|
652
|
+
|
653
|
+
class KeyValue
|
654
|
+
# @private
|
655
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
656
|
+
property :key, as: 'key'
|
657
|
+
collection :value, as: 'value'
|
658
|
+
end
|
659
|
+
end
|
660
|
+
|
661
|
+
class LinearAlignment
|
662
|
+
# @private
|
663
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
664
|
+
collection :cigar, as: 'cigar', class: Google::Apis::GenomicsV1beta2::CigarUnit, decorator: Google::Apis::GenomicsV1beta2::CigarUnit::Representation
|
665
|
+
|
666
|
+
property :mapping_quality, as: 'mappingQuality'
|
667
|
+
property :position, as: 'position', class: Google::Apis::GenomicsV1beta2::Position, decorator: Google::Apis::GenomicsV1beta2::Position::Representation
|
668
|
+
|
669
|
+
end
|
670
|
+
end
|
671
|
+
|
672
|
+
class ListBasesResponse
|
673
|
+
# @private
|
674
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
675
|
+
property :next_page_token, as: 'nextPageToken'
|
676
|
+
property :offset, as: 'offset'
|
677
|
+
property :sequence, as: 'sequence'
|
678
|
+
end
|
679
|
+
end
|
680
|
+
|
681
|
+
class ListCoverageBucketsResponse
|
682
|
+
# @private
|
683
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
684
|
+
property :bucket_width, as: 'bucketWidth'
|
685
|
+
collection :coverage_buckets, as: 'coverageBuckets', class: Google::Apis::GenomicsV1beta2::CoverageBucket, decorator: Google::Apis::GenomicsV1beta2::CoverageBucket::Representation
|
686
|
+
|
687
|
+
property :next_page_token, as: 'nextPageToken'
|
688
|
+
end
|
689
|
+
end
|
690
|
+
|
691
|
+
class ListDatasetsResponse
|
692
|
+
# @private
|
693
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
694
|
+
collection :datasets, as: 'datasets', class: Google::Apis::GenomicsV1beta2::Dataset, decorator: Google::Apis::GenomicsV1beta2::Dataset::Representation
|
695
|
+
|
696
|
+
property :next_page_token, as: 'nextPageToken'
|
697
|
+
end
|
698
|
+
end
|
699
|
+
|
700
|
+
class MergeVariantsRequest
|
701
|
+
# @private
|
702
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
703
|
+
collection :variants, as: 'variants', class: Google::Apis::GenomicsV1beta2::Variant, decorator: Google::Apis::GenomicsV1beta2::Variant::Representation
|
704
|
+
|
705
|
+
end
|
706
|
+
end
|
707
|
+
|
708
|
+
class Metadata
|
709
|
+
# @private
|
710
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
711
|
+
property :description, as: 'description'
|
712
|
+
property :id, as: 'id'
|
713
|
+
hash :info, as: 'info', :class => Array do
|
714
|
+
include Representable::JSON::Collection
|
715
|
+
items
|
716
|
+
end
|
717
|
+
|
718
|
+
property :key, as: 'key'
|
719
|
+
property :number, as: 'number'
|
720
|
+
property :type, as: 'type'
|
721
|
+
property :value, as: 'value'
|
722
|
+
end
|
723
|
+
end
|
724
|
+
|
725
|
+
class PairedFastqSource
|
726
|
+
# @private
|
727
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
728
|
+
collection :first_source_uris, as: 'firstSourceUris'
|
729
|
+
property :metadata, as: 'metadata', class: Google::Apis::GenomicsV1beta2::FastqMetadata, decorator: Google::Apis::GenomicsV1beta2::FastqMetadata::Representation
|
730
|
+
|
731
|
+
collection :second_source_uris, as: 'secondSourceUris'
|
732
|
+
end
|
733
|
+
end
|
734
|
+
|
735
|
+
class Position
|
736
|
+
# @private
|
737
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
738
|
+
property :position, as: 'position'
|
739
|
+
property :reference_name, as: 'referenceName'
|
740
|
+
property :reverse_strand, as: 'reverseStrand'
|
741
|
+
end
|
742
|
+
end
|
743
|
+
|
744
|
+
class QueryRange
|
745
|
+
# @private
|
746
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
747
|
+
property :end, as: 'end'
|
748
|
+
property :reference_id, as: 'referenceId'
|
749
|
+
property :reference_name, as: 'referenceName'
|
750
|
+
property :start, as: 'start'
|
751
|
+
end
|
752
|
+
end
|
753
|
+
|
754
|
+
class Range
|
755
|
+
# @private
|
756
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
757
|
+
property :end, as: 'end'
|
758
|
+
property :reference_name, as: 'referenceName'
|
759
|
+
property :start, as: 'start'
|
760
|
+
end
|
761
|
+
end
|
762
|
+
|
763
|
+
class RangePosition
|
764
|
+
# @private
|
765
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
766
|
+
property :end, as: 'end'
|
767
|
+
property :reference_id, as: 'referenceId'
|
768
|
+
property :reference_name, as: 'referenceName'
|
769
|
+
property :reverse_strand, as: 'reverseStrand'
|
770
|
+
property :start, as: 'start'
|
771
|
+
end
|
772
|
+
end
|
773
|
+
|
774
|
+
class Read
|
775
|
+
# @private
|
776
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
777
|
+
collection :aligned_quality, as: 'alignedQuality'
|
778
|
+
property :aligned_sequence, as: 'alignedSequence'
|
779
|
+
property :alignment, as: 'alignment', class: Google::Apis::GenomicsV1beta2::LinearAlignment, decorator: Google::Apis::GenomicsV1beta2::LinearAlignment::Representation
|
780
|
+
|
781
|
+
property :duplicate_fragment, as: 'duplicateFragment'
|
782
|
+
property :failed_vendor_quality_checks, as: 'failedVendorQualityChecks'
|
783
|
+
property :fragment_length, as: 'fragmentLength'
|
784
|
+
property :fragment_name, as: 'fragmentName'
|
785
|
+
property :id, as: 'id'
|
786
|
+
hash :info, as: 'info', :class => Array do
|
787
|
+
include Representable::JSON::Collection
|
788
|
+
items
|
789
|
+
end
|
790
|
+
|
791
|
+
property :next_mate_position, as: 'nextMatePosition', class: Google::Apis::GenomicsV1beta2::Position, decorator: Google::Apis::GenomicsV1beta2::Position::Representation
|
792
|
+
|
793
|
+
property :number_reads, as: 'numberReads'
|
794
|
+
property :proper_placement, as: 'properPlacement'
|
795
|
+
property :read_group_id, as: 'readGroupId'
|
796
|
+
property :read_group_set_id, as: 'readGroupSetId'
|
797
|
+
property :read_number, as: 'readNumber'
|
798
|
+
property :secondary_alignment, as: 'secondaryAlignment'
|
799
|
+
property :supplementary_alignment, as: 'supplementaryAlignment'
|
800
|
+
end
|
801
|
+
end
|
802
|
+
|
803
|
+
class ReadGroup
|
804
|
+
# @private
|
805
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
806
|
+
property :dataset_id, as: 'datasetId'
|
807
|
+
property :description, as: 'description'
|
808
|
+
property :experiment, as: 'experiment', class: Google::Apis::GenomicsV1beta2::ReadGroupExperiment, decorator: Google::Apis::GenomicsV1beta2::ReadGroupExperiment::Representation
|
809
|
+
|
810
|
+
property :id, as: 'id'
|
811
|
+
hash :info, as: 'info', :class => Array do
|
812
|
+
include Representable::JSON::Collection
|
813
|
+
items
|
814
|
+
end
|
815
|
+
|
816
|
+
property :name, as: 'name'
|
817
|
+
property :predicted_insert_size, as: 'predictedInsertSize'
|
818
|
+
collection :programs, as: 'programs', class: Google::Apis::GenomicsV1beta2::ReadGroupProgram, decorator: Google::Apis::GenomicsV1beta2::ReadGroupProgram::Representation
|
819
|
+
|
820
|
+
property :reference_set_id, as: 'referenceSetId'
|
821
|
+
property :sample_id, as: 'sampleId'
|
822
|
+
end
|
823
|
+
end
|
824
|
+
|
825
|
+
class ReadGroupExperiment
|
826
|
+
# @private
|
827
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
828
|
+
property :instrument_model, as: 'instrumentModel'
|
829
|
+
property :library_id, as: 'libraryId'
|
830
|
+
property :platform_unit, as: 'platformUnit'
|
831
|
+
property :sequencing_center, as: 'sequencingCenter'
|
832
|
+
end
|
833
|
+
end
|
834
|
+
|
835
|
+
class ReadGroupProgram
|
836
|
+
# @private
|
837
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
838
|
+
property :command_line, as: 'commandLine'
|
839
|
+
property :id, as: 'id'
|
840
|
+
property :name, as: 'name'
|
841
|
+
property :prev_program_id, as: 'prevProgramId'
|
842
|
+
property :version, as: 'version'
|
843
|
+
end
|
844
|
+
end
|
845
|
+
|
846
|
+
class ReadGroupSet
|
847
|
+
# @private
|
848
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
849
|
+
property :dataset_id, as: 'datasetId'
|
850
|
+
property :filename, as: 'filename'
|
851
|
+
property :id, as: 'id'
|
852
|
+
hash :info, as: 'info', :class => Array do
|
853
|
+
include Representable::JSON::Collection
|
854
|
+
items
|
855
|
+
end
|
856
|
+
|
857
|
+
property :name, as: 'name'
|
858
|
+
collection :read_groups, as: 'readGroups', class: Google::Apis::GenomicsV1beta2::ReadGroup, decorator: Google::Apis::GenomicsV1beta2::ReadGroup::Representation
|
859
|
+
|
860
|
+
property :reference_set_id, as: 'referenceSetId'
|
861
|
+
end
|
862
|
+
end
|
863
|
+
|
864
|
+
class Reference
|
865
|
+
# @private
|
866
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
867
|
+
property :id, as: 'id'
|
868
|
+
property :length, as: 'length'
|
869
|
+
property :md5checksum, as: 'md5checksum'
|
870
|
+
property :name, as: 'name'
|
871
|
+
property :ncbi_taxon_id, as: 'ncbiTaxonId'
|
872
|
+
collection :source_accessions, as: 'sourceAccessions'
|
873
|
+
property :source_uri, as: 'sourceURI'
|
874
|
+
end
|
875
|
+
end
|
876
|
+
|
877
|
+
class ReferenceBound
|
878
|
+
# @private
|
879
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
880
|
+
property :reference_name, as: 'referenceName'
|
881
|
+
property :upper_bound, as: 'upperBound'
|
882
|
+
end
|
883
|
+
end
|
884
|
+
|
885
|
+
class ReferenceSet
|
886
|
+
# @private
|
887
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
888
|
+
property :assembly_id, as: 'assemblyId'
|
889
|
+
property :description, as: 'description'
|
890
|
+
property :id, as: 'id'
|
891
|
+
property :md5checksum, as: 'md5checksum'
|
892
|
+
property :ncbi_taxon_id, as: 'ncbiTaxonId'
|
893
|
+
collection :reference_ids, as: 'referenceIds'
|
894
|
+
collection :source_accessions, as: 'sourceAccessions'
|
895
|
+
property :source_uri, as: 'sourceURI'
|
896
|
+
end
|
897
|
+
end
|
898
|
+
|
899
|
+
class SearchAnnotationSetsRequest
|
900
|
+
# @private
|
901
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
902
|
+
collection :dataset_ids, as: 'datasetIds'
|
903
|
+
property :name, as: 'name'
|
904
|
+
property :page_size, as: 'pageSize'
|
905
|
+
property :page_token, as: 'pageToken'
|
906
|
+
property :reference_set_id, as: 'referenceSetId'
|
907
|
+
collection :types, as: 'types'
|
908
|
+
end
|
909
|
+
end
|
910
|
+
|
911
|
+
class SearchAnnotationSetsResponse
|
912
|
+
# @private
|
913
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
914
|
+
collection :annotation_sets, as: 'annotationSets', class: Google::Apis::GenomicsV1beta2::AnnotationSet, decorator: Google::Apis::GenomicsV1beta2::AnnotationSet::Representation
|
915
|
+
|
916
|
+
property :next_page_token, as: 'nextPageToken'
|
917
|
+
end
|
918
|
+
end
|
919
|
+
|
920
|
+
class SearchAnnotationsRequest
|
921
|
+
# @private
|
922
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
923
|
+
collection :annotation_set_ids, as: 'annotationSetIds'
|
924
|
+
property :page_size, as: 'pageSize'
|
925
|
+
property :page_token, as: 'pageToken'
|
926
|
+
property :range, as: 'range', class: Google::Apis::GenomicsV1beta2::QueryRange, decorator: Google::Apis::GenomicsV1beta2::QueryRange::Representation
|
927
|
+
|
928
|
+
end
|
929
|
+
end
|
930
|
+
|
931
|
+
class SearchAnnotationsResponse
|
932
|
+
# @private
|
933
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
934
|
+
collection :annotations, as: 'annotations', class: Google::Apis::GenomicsV1beta2::Annotation, decorator: Google::Apis::GenomicsV1beta2::Annotation::Representation
|
935
|
+
|
936
|
+
property :next_page_token, as: 'nextPageToken'
|
937
|
+
end
|
938
|
+
end
|
939
|
+
|
940
|
+
class SearchCallSetsRequest
|
941
|
+
# @private
|
942
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
943
|
+
property :name, as: 'name'
|
944
|
+
property :page_size, as: 'pageSize'
|
945
|
+
property :page_token, as: 'pageToken'
|
946
|
+
collection :variant_set_ids, as: 'variantSetIds'
|
947
|
+
end
|
948
|
+
end
|
949
|
+
|
950
|
+
class SearchCallSetsResponse
|
951
|
+
# @private
|
952
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
953
|
+
collection :call_sets, as: 'callSets', class: Google::Apis::GenomicsV1beta2::CallSet, decorator: Google::Apis::GenomicsV1beta2::CallSet::Representation
|
954
|
+
|
955
|
+
property :next_page_token, as: 'nextPageToken'
|
956
|
+
end
|
957
|
+
end
|
958
|
+
|
959
|
+
class SearchJobsRequest
|
960
|
+
# @private
|
961
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
962
|
+
property :created_after, as: 'createdAfter'
|
963
|
+
property :created_before, as: 'createdBefore'
|
964
|
+
property :page_size, as: 'pageSize'
|
965
|
+
property :page_token, as: 'pageToken'
|
966
|
+
property :project_number, as: 'projectNumber'
|
967
|
+
collection :status, as: 'status'
|
968
|
+
end
|
969
|
+
end
|
970
|
+
|
971
|
+
class SearchJobsResponse
|
972
|
+
# @private
|
973
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
974
|
+
collection :jobs, as: 'jobs', class: Google::Apis::GenomicsV1beta2::Job, decorator: Google::Apis::GenomicsV1beta2::Job::Representation
|
975
|
+
|
976
|
+
property :next_page_token, as: 'nextPageToken'
|
977
|
+
end
|
978
|
+
end
|
979
|
+
|
980
|
+
class SearchReadGroupSetsRequest
|
981
|
+
# @private
|
982
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
983
|
+
collection :dataset_ids, as: 'datasetIds'
|
984
|
+
property :name, as: 'name'
|
985
|
+
property :page_size, as: 'pageSize'
|
986
|
+
property :page_token, as: 'pageToken'
|
987
|
+
end
|
988
|
+
end
|
989
|
+
|
990
|
+
class SearchReadGroupSetsResponse
|
991
|
+
# @private
|
992
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
993
|
+
property :next_page_token, as: 'nextPageToken'
|
994
|
+
collection :read_group_sets, as: 'readGroupSets', class: Google::Apis::GenomicsV1beta2::ReadGroupSet, decorator: Google::Apis::GenomicsV1beta2::ReadGroupSet::Representation
|
995
|
+
|
996
|
+
end
|
997
|
+
end
|
998
|
+
|
999
|
+
class SearchReadsRequest
|
1000
|
+
# @private
|
1001
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1002
|
+
property :end, as: 'end'
|
1003
|
+
property :page_size, as: 'pageSize'
|
1004
|
+
property :page_token, as: 'pageToken'
|
1005
|
+
collection :read_group_ids, as: 'readGroupIds'
|
1006
|
+
collection :read_group_set_ids, as: 'readGroupSetIds'
|
1007
|
+
property :reference_name, as: 'referenceName'
|
1008
|
+
property :start, as: 'start'
|
1009
|
+
end
|
1010
|
+
end
|
1011
|
+
|
1012
|
+
class SearchReadsResponse
|
1013
|
+
# @private
|
1014
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1015
|
+
collection :alignments, as: 'alignments', class: Google::Apis::GenomicsV1beta2::Read, decorator: Google::Apis::GenomicsV1beta2::Read::Representation
|
1016
|
+
|
1017
|
+
property :next_page_token, as: 'nextPageToken'
|
1018
|
+
end
|
1019
|
+
end
|
1020
|
+
|
1021
|
+
class SearchReferenceSetsRequest
|
1022
|
+
# @private
|
1023
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1024
|
+
collection :accessions, as: 'accessions'
|
1025
|
+
property :assembly_id, as: 'assemblyId'
|
1026
|
+
collection :md5checksums, as: 'md5checksums'
|
1027
|
+
property :page_size, as: 'pageSize'
|
1028
|
+
property :page_token, as: 'pageToken'
|
1029
|
+
end
|
1030
|
+
end
|
1031
|
+
|
1032
|
+
class SearchReferenceSetsResponse
|
1033
|
+
# @private
|
1034
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1035
|
+
property :next_page_token, as: 'nextPageToken'
|
1036
|
+
collection :reference_sets, as: 'referenceSets', class: Google::Apis::GenomicsV1beta2::ReferenceSet, decorator: Google::Apis::GenomicsV1beta2::ReferenceSet::Representation
|
1037
|
+
|
1038
|
+
end
|
1039
|
+
end
|
1040
|
+
|
1041
|
+
class SearchReferencesRequest
|
1042
|
+
# @private
|
1043
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1044
|
+
collection :accessions, as: 'accessions'
|
1045
|
+
collection :md5checksums, as: 'md5checksums'
|
1046
|
+
property :page_size, as: 'pageSize'
|
1047
|
+
property :page_token, as: 'pageToken'
|
1048
|
+
property :reference_set_id, as: 'referenceSetId'
|
1049
|
+
end
|
1050
|
+
end
|
1051
|
+
|
1052
|
+
class SearchReferencesResponse
|
1053
|
+
# @private
|
1054
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1055
|
+
property :next_page_token, as: 'nextPageToken'
|
1056
|
+
collection :references, as: 'references', class: Google::Apis::GenomicsV1beta2::Reference, decorator: Google::Apis::GenomicsV1beta2::Reference::Representation
|
1057
|
+
|
1058
|
+
end
|
1059
|
+
end
|
1060
|
+
|
1061
|
+
class SearchVariantSetsRequest
|
1062
|
+
# @private
|
1063
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1064
|
+
collection :dataset_ids, as: 'datasetIds'
|
1065
|
+
property :page_size, as: 'pageSize'
|
1066
|
+
property :page_token, as: 'pageToken'
|
1067
|
+
end
|
1068
|
+
end
|
1069
|
+
|
1070
|
+
class SearchVariantSetsResponse
|
1071
|
+
# @private
|
1072
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1073
|
+
property :next_page_token, as: 'nextPageToken'
|
1074
|
+
collection :variant_sets, as: 'variantSets', class: Google::Apis::GenomicsV1beta2::VariantSet, decorator: Google::Apis::GenomicsV1beta2::VariantSet::Representation
|
1075
|
+
|
1076
|
+
end
|
1077
|
+
end
|
1078
|
+
|
1079
|
+
class SearchVariantsRequest
|
1080
|
+
# @private
|
1081
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1082
|
+
collection :call_set_ids, as: 'callSetIds'
|
1083
|
+
property :end, as: 'end'
|
1084
|
+
property :max_calls, as: 'maxCalls'
|
1085
|
+
property :page_size, as: 'pageSize'
|
1086
|
+
property :page_token, as: 'pageToken'
|
1087
|
+
property :reference_name, as: 'referenceName'
|
1088
|
+
property :start, as: 'start'
|
1089
|
+
property :variant_name, as: 'variantName'
|
1090
|
+
collection :variant_set_ids, as: 'variantSetIds'
|
1091
|
+
end
|
1092
|
+
end
|
1093
|
+
|
1094
|
+
class SearchVariantsResponse
|
1095
|
+
# @private
|
1096
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1097
|
+
property :next_page_token, as: 'nextPageToken'
|
1098
|
+
collection :variants, as: 'variants', class: Google::Apis::GenomicsV1beta2::Variant, decorator: Google::Apis::GenomicsV1beta2::Variant::Representation
|
1099
|
+
|
1100
|
+
end
|
1101
|
+
end
|
1102
|
+
|
1103
|
+
class Transcript
|
1104
|
+
# @private
|
1105
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1106
|
+
property :coding_sequence, as: 'codingSequence', class: Google::Apis::GenomicsV1beta2::TranscriptCodingSequence, decorator: Google::Apis::GenomicsV1beta2::TranscriptCodingSequence::Representation
|
1107
|
+
|
1108
|
+
collection :exons, as: 'exons', class: Google::Apis::GenomicsV1beta2::TranscriptExon, decorator: Google::Apis::GenomicsV1beta2::TranscriptExon::Representation
|
1109
|
+
|
1110
|
+
property :gene_id, as: 'geneId'
|
1111
|
+
end
|
1112
|
+
end
|
1113
|
+
|
1114
|
+
class TranscriptCodingSequence
|
1115
|
+
# @private
|
1116
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1117
|
+
property :end, as: 'end'
|
1118
|
+
property :start, as: 'start'
|
1119
|
+
end
|
1120
|
+
end
|
1121
|
+
|
1122
|
+
class TranscriptExon
|
1123
|
+
# @private
|
1124
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1125
|
+
property :end, as: 'end'
|
1126
|
+
property :frame, as: 'frame', class: Google::Apis::GenomicsV1beta2::Int32Value, decorator: Google::Apis::GenomicsV1beta2::Int32Value::Representation
|
1127
|
+
|
1128
|
+
property :start, as: 'start'
|
1129
|
+
end
|
1130
|
+
end
|
1131
|
+
|
1132
|
+
class Variant
|
1133
|
+
# @private
|
1134
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1135
|
+
collection :alternate_bases, as: 'alternateBases'
|
1136
|
+
collection :calls, as: 'calls', class: Google::Apis::GenomicsV1beta2::Call, decorator: Google::Apis::GenomicsV1beta2::Call::Representation
|
1137
|
+
|
1138
|
+
property :created, as: 'created'
|
1139
|
+
property :end, as: 'end'
|
1140
|
+
collection :filter, as: 'filter'
|
1141
|
+
property :id, as: 'id'
|
1142
|
+
hash :info, as: 'info', :class => Array do
|
1143
|
+
include Representable::JSON::Collection
|
1144
|
+
items
|
1145
|
+
end
|
1146
|
+
|
1147
|
+
collection :names, as: 'names'
|
1148
|
+
property :quality, as: 'quality'
|
1149
|
+
property :reference_bases, as: 'referenceBases'
|
1150
|
+
property :reference_name, as: 'referenceName'
|
1151
|
+
property :start, as: 'start'
|
1152
|
+
property :variant_set_id, as: 'variantSetId'
|
1153
|
+
end
|
1154
|
+
end
|
1155
|
+
|
1156
|
+
class VariantAnnotation
|
1157
|
+
# @private
|
1158
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1159
|
+
property :alternate_bases, as: 'alternateBases'
|
1160
|
+
property :clinical_significance, as: 'clinicalSignificance'
|
1161
|
+
collection :conditions, as: 'conditions', class: Google::Apis::GenomicsV1beta2::VariantAnnotationCondition, decorator: Google::Apis::GenomicsV1beta2::VariantAnnotationCondition::Representation
|
1162
|
+
|
1163
|
+
property :effect, as: 'effect'
|
1164
|
+
property :gene_id, as: 'geneId'
|
1165
|
+
collection :transcript_ids, as: 'transcriptIds'
|
1166
|
+
property :type, as: 'type'
|
1167
|
+
end
|
1168
|
+
end
|
1169
|
+
|
1170
|
+
class VariantAnnotationCondition
|
1171
|
+
# @private
|
1172
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1173
|
+
property :concept_id, as: 'conceptId'
|
1174
|
+
collection :external_ids, as: 'externalIds', class: Google::Apis::GenomicsV1beta2::ExternalId, decorator: Google::Apis::GenomicsV1beta2::ExternalId::Representation
|
1175
|
+
|
1176
|
+
collection :names, as: 'names'
|
1177
|
+
property :omim_id, as: 'omimId'
|
1178
|
+
end
|
1179
|
+
end
|
1180
|
+
|
1181
|
+
class VariantSet
|
1182
|
+
# @private
|
1183
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1184
|
+
property :dataset_id, as: 'datasetId'
|
1185
|
+
property :id, as: 'id'
|
1186
|
+
collection :metadata, as: 'metadata', class: Google::Apis::GenomicsV1beta2::Metadata, decorator: Google::Apis::GenomicsV1beta2::Metadata::Representation
|
1187
|
+
|
1188
|
+
collection :reference_bounds, as: 'referenceBounds', class: Google::Apis::GenomicsV1beta2::ReferenceBound, decorator: Google::Apis::GenomicsV1beta2::ReferenceBound::Representation
|
1189
|
+
|
1190
|
+
end
|
1191
|
+
end
|
1192
|
+
end
|
1193
|
+
end
|
1194
|
+
end
|