google-api-client 0.9.pre3 → 0.9.pre4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/CHANGELOG.md +14 -2
- data/Gemfile +4 -0
- data/MIGRATING.md +1 -1
- data/README.md +17 -3
- data/api_names.yaml +127 -14
- data/api_names_out.yaml +5442 -710
- data/bin/generate-api +16 -14
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +213 -2
- data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +71 -0
- data/generated/google/apis/adexchangebuyer_v1_3/service.rb +21 -42
- data/generated/google/apis/adexchangeseller_v2_0.rb +1 -1
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +15 -29
- data/generated/google/apis/admin_datatransfer_v1.rb +37 -0
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +267 -0
- data/generated/google/apis/admin_datatransfer_v1/representations.rb +118 -0
- data/generated/google/apis/admin_datatransfer_v1/service.rb +262 -0
- data/generated/google/apis/admin_directory_v1.rb +25 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +718 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +244 -0
- data/generated/google/apis/admin_directory_v1/service.rb +1522 -509
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/admin_reports_v1/service.rb +5 -10
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +6 -0
- data/generated/google/apis/adsense_v1_4/representations.rb +1 -0
- data/generated/google/apis/adsense_v1_4/service.rb +40 -78
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +26 -52
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +11 -13
- data/generated/google/apis/analytics_v3/service.rb +84 -158
- data/generated/google/apis/androidenterprise_v1.rb +2 -2
- data/generated/google/apis/androidenterprise_v1/classes.rb +276 -8
- data/generated/google/apis/androidenterprise_v1/representations.rb +106 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +715 -97
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +2 -2
- data/generated/google/apis/androidpublisher_v2/service.rb +55 -107
- data/generated/google/apis/appengine_v1beta4.rb +35 -0
- data/generated/google/apis/appengine_v1beta4/classes.rb +1532 -0
- data/generated/google/apis/appengine_v1beta4/representations.rb +526 -0
- data/generated/google/apis/appengine_v1beta4/service.rb +476 -0
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appsactivity_v1/service.rb +1 -2
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/appstate_v1/service.rb +6 -11
- data/generated/google/apis/autoscaler_v1beta2/service.rb +10 -20
- data/generated/google/apis/bigquery_v2.rb +4 -1
- data/generated/google/apis/bigquery_v2/classes.rb +231 -16
- data/generated/google/apis/bigquery_v2/representations.rb +62 -0
- data/generated/google/apis/bigquery_v2/service.rb +24 -45
- data/generated/google/apis/blogger_v3/service.rb +33 -66
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +441 -0
- data/generated/google/apis/books_v1/representations.rb +177 -0
- data/generated/google/apis/books_v1/service.rb +210 -90
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +34 -18
- data/generated/google/apis/calendar_v3/service.rb +118 -103
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +12 -3
- data/generated/google/apis/civicinfo_v2/representations.rb +1 -0
- data/generated/google/apis/civicinfo_v2/service.rb +5 -10
- data/generated/google/apis/classroom_v1.rb +49 -0
- data/generated/google/apis/classroom_v1/classes.rb +512 -0
- data/generated/google/apis/classroom_v1/representations.rb +217 -0
- data/generated/google/apis/classroom_v1/service.rb +970 -0
- data/generated/google/apis/cloudbilling_v1.rb +35 -0
- data/generated/google/apis/cloudbilling_v1/classes.rb +169 -0
- data/generated/google/apis/cloudbilling_v1/representations.rb +79 -0
- data/generated/google/apis/cloudbilling_v1/service.rb +258 -0
- data/generated/google/apis/clouddebugger_v2.rb +41 -0
- data/generated/google/apis/clouddebugger_v2/classes.rb +1004 -0
- data/generated/google/apis/clouddebugger_v2/representations.rb +410 -0
- data/generated/google/apis/clouddebugger_v2/service.rb +370 -0
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudmonitoring_v2beta2/service.rb +6 -12
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +5 -2
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +173 -249
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +36 -68
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +293 -80
- data/generated/google/apis/cloudtrace_v1.rb +35 -0
- data/generated/google/apis/cloudtrace_v1/classes.rb +188 -0
- data/generated/google/apis/cloudtrace_v1/representations.rb +92 -0
- data/generated/google/apis/cloudtrace_v1/service.rb +190 -0
- data/generated/google/apis/clouduseraccounts_beta.rb +43 -0
- data/generated/google/apis/clouduseraccounts_beta/classes.rb +823 -0
- data/generated/google/apis/clouduseraccounts_beta/representations.rb +313 -0
- data/generated/google/apis/clouduseraccounts_beta/service.rb +854 -0
- data/generated/google/apis/compute_beta.rb +49 -0
- data/generated/google/apis/compute_beta/classes.rb +9128 -0
- data/generated/google/apis/compute_beta/representations.rb +3048 -0
- data/generated/google/apis/compute_beta/service.rb +10154 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1305 -520
- data/generated/google/apis/compute_v1/representations.rb +122 -15
- data/generated/google/apis/compute_v1/service.rb +2202 -1085
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +56 -31
- data/generated/google/apis/container_v1/representations.rb +12 -0
- data/generated/google/apis/container_v1/service.rb +62 -41
- data/generated/google/apis/content_v2.rb +2 -2
- data/generated/google/apis/content_v2/classes.rb +2252 -56
- data/generated/google/apis/content_v2/representations.rb +917 -87
- data/generated/google/apis/content_v2/service.rb +680 -85
- data/generated/google/apis/coordinate_v1.rb +1 -1
- data/generated/google/apis/coordinate_v1/service.rb +16 -25
- data/generated/google/apis/customsearch_v1/service.rb +1 -2
- data/generated/google/apis/datastore_v1beta2.rb +1 -1
- data/generated/google/apis/datastore_v1beta2/service.rb +12 -18
- data/generated/google/apis/deploymentmanager_v2.rb +44 -0
- data/generated/google/apis/deploymentmanager_v2/classes.rb +1089 -0
- data/generated/google/apis/deploymentmanager_v2/representations.rb +422 -0
- data/generated/google/apis/deploymentmanager_v2/service.rb +857 -0
- data/generated/google/apis/deploymentmanager_v2beta2.rb +5 -2
- data/generated/google/apis/deploymentmanager_v2beta2/classes.rb +22 -3
- data/generated/google/apis/deploymentmanager_v2beta2/representations.rb +3 -0
- data/generated/google/apis/deploymentmanager_v2beta2/service.rb +14 -27
- data/generated/google/apis/dfareporting_v2_1.rb +1 -1
- data/generated/google/apis/dfareporting_v2_1/classes.rb +29 -14
- data/generated/google/apis/dfareporting_v2_1/service.rb +196 -389
- data/generated/google/apis/discovery_v1/classes.rb +7 -0
- data/generated/google/apis/discovery_v1/representations.rb +1 -0
- data/generated/google/apis/discovery_v1/service.rb +2 -4
- data/generated/google/apis/dns_v1.rb +4 -1
- data/generated/google/apis/dns_v1/service.rb +9 -18
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +9 -2
- data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +1 -0
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +8 -16
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +15 -6
- data/generated/google/apis/doubleclicksearch_v2/representations.rb +1 -0
- data/generated/google/apis/doubleclicksearch_v2/service.rb +13 -23
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +73 -30
- data/generated/google/apis/drive_v2/representations.rb +14 -0
- data/generated/google/apis/drive_v2/service.rb +139 -135
- data/generated/google/apis/drive_v3.rb +55 -0
- data/generated/google/apis/drive_v3/classes.rb +1534 -0
- data/generated/google/apis/drive_v3/representations.rb +497 -0
- data/generated/google/apis/drive_v3/service.rb +1541 -0
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/service.rb +14 -27
- data/generated/google/apis/fusiontables_v2/service.rb +40 -73
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/service.rb +14 -27
- data/generated/google/apis/games_management_v1management.rb +37 -0
- data/generated/google/apis/games_management_v1management/classes.rb +524 -0
- data/generated/google/apis/games_management_v1management/representations.rb +231 -0
- data/generated/google/apis/games_management_v1management/service.rb +994 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +39 -0
- data/generated/google/apis/games_v1/representations.rb +14 -0
- data/generated/google/apis/games_v1/service.rb +93 -109
- data/generated/google/apis/gan_v1beta1/service.rb +10 -20
- data/generated/google/apis/genomics_v1.rb +5 -3
- data/generated/google/apis/genomics_v1/classes.rb +519 -200
- data/generated/google/apis/genomics_v1/representations.rb +126 -13
- data/generated/google/apis/genomics_v1/service.rb +392 -236
- data/generated/google/apis/gmail_v1.rb +4 -1
- data/generated/google/apis/gmail_v1/service.rb +39 -71
- data/generated/google/apis/groupsmigration_v1/service.rb +2 -3
- data/generated/google/apis/groupssettings_v1/service.rb +3 -6
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +125 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +37 -0
- data/generated/google/apis/identitytoolkit_v3/service.rb +44 -24
- data/generated/google/apis/kgsearch_v1.rb +32 -0
- data/generated/google/apis/kgsearch_v1/classes.rb +59 -0
- data/generated/google/apis/kgsearch_v1/representations.rb +39 -0
- data/generated/google/apis/kgsearch_v1/service.rb +111 -0
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +7 -14
- data/generated/google/apis/logging_v1beta3.rb +16 -4
- data/generated/google/apis/logging_v1beta3/classes.rb +620 -46
- data/generated/google/apis/logging_v1beta3/representations.rb +144 -0
- data/generated/google/apis/logging_v1beta3/service.rb +435 -104
- data/generated/google/apis/manager_v1beta2.rb +3 -0
- data/generated/google/apis/manager_v1beta2/service.rb +8 -16
- data/generated/google/apis/mapsengine_v1.rb +1 -1
- data/generated/google/apis/mapsengine_v1/service.rb +85 -162
- data/generated/google/apis/mirror_v1.rb +1 -1
- data/generated/google/apis/mirror_v1/service.rb +28 -52
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/oauth2_v2/service.rb +4 -8
- data/generated/google/apis/pagespeedonline_v2/service.rb +1 -2
- data/generated/google/apis/partners_v2.rb +32 -0
- data/generated/google/apis/partners_v2/classes.rb +942 -0
- data/generated/google/apis/partners_v2/representations.rb +402 -0
- data/generated/google/apis/partners_v2/service.rb +400 -0
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_domains_v1/classes.rb +207 -0
- data/generated/google/apis/plus_domains_v1/representations.rb +114 -0
- data/generated/google/apis/plus_domains_v1/service.rb +21 -41
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/plus_v1/classes.rb +207 -0
- data/generated/google/apis/plus_v1/representations.rb +114 -0
- data/generated/google/apis/plus_v1/service.rb +11 -56
- data/generated/google/apis/prediction_v1_6.rb +1 -1
- data/generated/google/apis/prediction_v1_6/service.rb +8 -16
- data/generated/google/apis/proximitybeacon_v1beta1.rb +31 -0
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +639 -0
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +274 -0
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +591 -0
- data/generated/google/apis/pubsub_v1.rb +37 -0
- data/generated/google/apis/pubsub_v1/classes.rb +614 -0
- data/generated/google/apis/pubsub_v1/representations.rb +281 -0
- data/generated/google/apis/pubsub_v1/service.rb +774 -0
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +78 -283
- data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -85
- data/generated/google/apis/pubsub_v1beta2/service.rb +79 -87
- data/generated/google/apis/qpx_express_v1/service.rb +1 -2
- data/generated/google/apis/replicapool_v1beta2.rb +3 -0
- data/generated/google/apis/replicapool_v1beta2/service.rb +12 -24
- data/generated/google/apis/replicapoolupdater_v1beta1.rb +4 -1
- data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +46 -2
- data/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +16 -0
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +58 -18
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/reseller_v1/classes.rb +19 -1
- data/generated/google/apis/reseller_v1/representations.rb +1 -0
- data/generated/google/apis/reseller_v1/service.rb +16 -30
- data/generated/google/apis/resourceviews_v1beta2.rb +3 -0
- data/generated/google/apis/resourceviews_v1beta2/service.rb +16 -27
- data/generated/google/apis/script_v1.rb +61 -0
- data/generated/google/apis/script_v1/classes.rb +259 -0
- data/generated/google/apis/script_v1/representations.rb +106 -0
- data/generated/google/apis/script_v1/service.rb +98 -0
- data/generated/google/apis/site_verification_v1.rb +1 -1
- data/generated/google/apis/site_verification_v1/service.rb +8 -15
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +186 -2
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +70 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +166 -75
- data/generated/google/apis/storage_v1.rb +5 -2
- data/generated/google/apis/storage_v1/classes.rb +47 -4
- data/generated/google/apis/storage_v1/representations.rb +18 -0
- data/generated/google/apis/storage_v1/service.rb +77 -94
- data/generated/google/apis/storagetransfer_v1.rb +35 -0
- data/generated/google/apis/storagetransfer_v1/classes.rb +1046 -0
- data/generated/google/apis/storagetransfer_v1/representations.rb +370 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +473 -0
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1/classes.rb +189 -31
- data/generated/google/apis/tagmanager_v1/representations.rb +69 -15
- data/generated/google/apis/tagmanager_v1/service.rb +114 -275
- data/generated/google/apis/taskqueue_v1beta2/service.rb +8 -16
- data/generated/google/apis/tasks_v1/service.rb +14 -28
- data/generated/google/apis/translate_v2/service.rb +3 -6
- data/generated/google/apis/urlshortener_v1/service.rb +3 -6
- data/generated/google/apis/webmasters_v3.rb +3 -3
- data/generated/google/apis/webmasters_v3/classes.rb +4 -4
- data/generated/google/apis/webmasters_v3/service.rb +16 -30
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/classes.rb +6 -0
- data/generated/google/apis/youtube_analytics_v1/representations.rb +1 -0
- data/generated/google/apis/youtube_analytics_v1/service.rb +16 -21
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +111 -78
- data/generated/google/apis/youtube_v3/representations.rb +2 -0
- data/generated/google/apis/youtube_v3/service.rb +78 -246
- data/generated/google/apis/youtubereporting_v1.rb +38 -0
- data/generated/google/apis/youtubereporting_v1/classes.rb +258 -0
- data/generated/google/apis/youtubereporting_v1/representations.rb +128 -0
- data/generated/google/apis/youtubereporting_v1/service.rb +364 -0
- data/google-api-client.gemspec +3 -3
- data/lib/google/api_client/auth/installed_app.rb +2 -2
- data/lib/google/api_client/auth/key_utils.rb +1 -0
- data/lib/google/api_client/auth/storage.rb +1 -0
- data/lib/google/api_client/auth/storages/file_store.rb +1 -0
- data/lib/google/api_client/auth/storages/redis_store.rb +1 -0
- data/lib/google/api_client/client_secrets.rb +4 -5
- data/lib/google/apis/core/api_command.rb +2 -2
- data/lib/google/apis/core/base_service.rb +1 -0
- data/lib/google/apis/core/batch.rb +25 -8
- data/lib/google/apis/core/download.rb +1 -1
- data/lib/google/apis/core/http_command.rb +24 -12
- data/lib/google/apis/core/multipart.rb +20 -6
- data/lib/google/apis/core/upload.rb +11 -4
- data/lib/google/apis/generator/annotator.rb +29 -10
- data/lib/google/apis/generator/helpers.rb +1 -1
- data/lib/google/apis/generator/templates/_method.tmpl +5 -6
- data/lib/google/apis/options.rb +7 -3
- data/lib/google/apis/version.rb +1 -1
- data/samples/calendar/calendar.rb +1 -1
- data/samples/drive/drive.rb +9 -2
- data/samples/pubsub/pubsub.rb +5 -6
- data/samples/translate/translate.rb +1 -5
- data/script/generate +20 -5
- data/spec/fixtures/files/child/.gitignore +0 -0
- data/spec/fixtures/files/invalid.json +1 -0
- data/spec/google/api_client/client_secrets_spec.rb +38 -1
- data/spec/google/apis/core/batch_spec.rb +22 -8
- data/spec/google/apis/core/download_spec.rb +13 -0
- data/spec/google/apis/core/http_command_spec.rb +26 -9
- data/spec/google/apis/core/upload_spec.rb +65 -17
- data/spec/google/apis/options_spec.rb +8 -0
- data/spec/integration_tests/adsense_spec.rb +28 -0
- data/spec/integration_tests/pubsub_spec.rb +3 -3
- data/spec/spec_helper.rb +5 -1
- data/third_party/hurley_patches.rb +103 -0
- metadata +87 -7
@@ -38,6 +38,30 @@ module Google
|
|
38
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
39
|
end
|
40
40
|
|
41
|
+
class SetIamPolicyRequest
|
42
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
43
|
+
end
|
44
|
+
|
45
|
+
class Policy
|
46
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
47
|
+
end
|
48
|
+
|
49
|
+
class Binding
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
end
|
52
|
+
|
53
|
+
class GetIamPolicyRequest
|
54
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
55
|
+
end
|
56
|
+
|
57
|
+
class TestIamPermissionsRequest
|
58
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
59
|
+
end
|
60
|
+
|
61
|
+
class TestIamPermissionsResponse
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
end
|
64
|
+
|
41
65
|
class Operation
|
42
66
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
43
67
|
end
|
@@ -122,6 +146,14 @@ module Google
|
|
122
146
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
147
|
end
|
124
148
|
|
149
|
+
class StreamReadsRequest
|
150
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
151
|
+
end
|
152
|
+
|
153
|
+
class StreamReadsResponse
|
154
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
155
|
+
end
|
156
|
+
|
125
157
|
class SearchReferenceSetsRequest
|
126
158
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
127
159
|
end
|
@@ -194,10 +226,6 @@ module Google
|
|
194
226
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
227
|
end
|
196
228
|
|
197
|
-
class MergeVariantsRequest
|
198
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
199
|
-
end
|
200
|
-
|
201
229
|
class SearchCallSetsRequest
|
202
230
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
203
231
|
end
|
@@ -210,6 +238,14 @@ module Google
|
|
210
238
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
211
239
|
end
|
212
240
|
|
241
|
+
class StreamVariantsRequest
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
end
|
244
|
+
|
245
|
+
class StreamVariantsResponse
|
246
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
247
|
+
end
|
248
|
+
|
213
249
|
class ImportReadGroupSetsResponse
|
214
250
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
215
251
|
end
|
@@ -257,6 +293,52 @@ module Google
|
|
257
293
|
end
|
258
294
|
end
|
259
295
|
|
296
|
+
class SetIamPolicyRequest
|
297
|
+
# @private
|
298
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
299
|
+
property :policy, as: 'policy', class: Google::Apis::GenomicsV1::Policy, decorator: Google::Apis::GenomicsV1::Policy::Representation
|
300
|
+
|
301
|
+
end
|
302
|
+
end
|
303
|
+
|
304
|
+
class Policy
|
305
|
+
# @private
|
306
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
307
|
+
property :version, as: 'version'
|
308
|
+
collection :bindings, as: 'bindings', class: Google::Apis::GenomicsV1::Binding, decorator: Google::Apis::GenomicsV1::Binding::Representation
|
309
|
+
|
310
|
+
property :etag, :base64 => true, as: 'etag'
|
311
|
+
end
|
312
|
+
end
|
313
|
+
|
314
|
+
class Binding
|
315
|
+
# @private
|
316
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
317
|
+
property :role, as: 'role'
|
318
|
+
collection :members, as: 'members'
|
319
|
+
end
|
320
|
+
end
|
321
|
+
|
322
|
+
class GetIamPolicyRequest
|
323
|
+
# @private
|
324
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
325
|
+
end
|
326
|
+
end
|
327
|
+
|
328
|
+
class TestIamPermissionsRequest
|
329
|
+
# @private
|
330
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
331
|
+
collection :permissions, as: 'permissions'
|
332
|
+
end
|
333
|
+
end
|
334
|
+
|
335
|
+
class TestIamPermissionsResponse
|
336
|
+
# @private
|
337
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
338
|
+
collection :permissions, as: 'permissions'
|
339
|
+
end
|
340
|
+
end
|
341
|
+
|
260
342
|
class Operation
|
261
343
|
# @private
|
262
344
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -500,6 +582,25 @@ module Google
|
|
500
582
|
end
|
501
583
|
end
|
502
584
|
|
585
|
+
class StreamReadsRequest
|
586
|
+
# @private
|
587
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
588
|
+
property :project_id, as: 'projectId'
|
589
|
+
property :read_group_set_id, as: 'readGroupSetId'
|
590
|
+
property :reference_name, as: 'referenceName'
|
591
|
+
property :start, as: 'start'
|
592
|
+
property :end, as: 'end'
|
593
|
+
end
|
594
|
+
end
|
595
|
+
|
596
|
+
class StreamReadsResponse
|
597
|
+
# @private
|
598
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
599
|
+
collection :alignments, as: 'alignments', class: Google::Apis::GenomicsV1::Read, decorator: Google::Apis::GenomicsV1::Read::Representation
|
600
|
+
|
601
|
+
end
|
602
|
+
end
|
603
|
+
|
503
604
|
class SearchReferenceSetsRequest
|
504
605
|
# @private
|
505
606
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -591,6 +692,7 @@ module Google
|
|
591
692
|
class Representation < Google::Apis::Core::JsonRepresentation
|
592
693
|
property :dataset_id, as: 'datasetId'
|
593
694
|
property :id, as: 'id'
|
695
|
+
property :reference_set_id, as: 'referenceSetId'
|
594
696
|
collection :reference_bounds, as: 'referenceBounds', class: Google::Apis::GenomicsV1::ReferenceBound, decorator: Google::Apis::GenomicsV1::ReferenceBound::Representation
|
595
697
|
|
596
698
|
collection :metadata, as: 'metadata', class: Google::Apis::GenomicsV1::VariantSetMetadata, decorator: Google::Apis::GenomicsV1::VariantSetMetadata::Representation
|
@@ -716,15 +818,6 @@ module Google
|
|
716
818
|
end
|
717
819
|
end
|
718
820
|
|
719
|
-
class MergeVariantsRequest
|
720
|
-
# @private
|
721
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
722
|
-
property :variant_set_id, as: 'variantSetId'
|
723
|
-
collection :variants, as: 'variants', class: Google::Apis::GenomicsV1::Variant, decorator: Google::Apis::GenomicsV1::Variant::Representation
|
724
|
-
|
725
|
-
end
|
726
|
-
end
|
727
|
-
|
728
821
|
class SearchCallSetsRequest
|
729
822
|
# @private
|
730
823
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -760,6 +853,26 @@ module Google
|
|
760
853
|
end
|
761
854
|
end
|
762
855
|
|
856
|
+
class StreamVariantsRequest
|
857
|
+
# @private
|
858
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
859
|
+
property :project_id, as: 'projectId'
|
860
|
+
property :variant_set_id, as: 'variantSetId'
|
861
|
+
collection :call_set_ids, as: 'callSetIds'
|
862
|
+
property :reference_name, as: 'referenceName'
|
863
|
+
property :start, as: 'start'
|
864
|
+
property :end, as: 'end'
|
865
|
+
end
|
866
|
+
end
|
867
|
+
|
868
|
+
class StreamVariantsResponse
|
869
|
+
# @private
|
870
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
871
|
+
collection :variants, as: 'variants', class: Google::Apis::GenomicsV1::Variant, decorator: Google::Apis::GenomicsV1::Variant::Representation
|
872
|
+
|
873
|
+
end
|
874
|
+
end
|
875
|
+
|
763
876
|
class ImportReadGroupSetsResponse
|
764
877
|
# @private
|
765
878
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -22,8 +22,10 @@ module Google
|
|
22
22
|
module GenomicsV1
|
23
23
|
# Genomics API
|
24
24
|
#
|
25
|
-
# An API to store, process, explore, and share
|
26
|
-
# based
|
25
|
+
# An API to store, process, explore, and share genomic data. It supports
|
26
|
+
# reference-based alignements, genetic variants, and reference genomes. This API
|
27
|
+
# provides an implementation of the Global Alliance for Genomics and Health (
|
28
|
+
# GA4GH) v0.5.1 API as well as several extensions.
|
27
29
|
#
|
28
30
|
# @example
|
29
31
|
# require 'google/apis/genomics_v1'
|
@@ -47,11 +49,13 @@ module Google
|
|
47
49
|
super('https://genomics.googleapis.com/', '')
|
48
50
|
end
|
49
51
|
|
50
|
-
# Lists datasets within a project.
|
52
|
+
# Lists datasets within a project. For the definitions of datasets and other
|
53
|
+
# genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.
|
54
|
+
# com/genomics/fundamentals-of-google-genomics)
|
51
55
|
# @param [String] project_id
|
52
56
|
# Required. The project to list datasets for.
|
53
57
|
# @param [Fixnum] page_size
|
54
|
-
# The maximum number of results
|
58
|
+
# The maximum number of results to return in a single page. If unspecified,
|
55
59
|
# defaults to 50. The maximum value is 1024.
|
56
60
|
# @param [String] page_token
|
57
61
|
# The continuation token, which is used to page through large result sets. To
|
@@ -75,8 +79,7 @@ module Google
|
|
75
79
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
76
80
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
77
81
|
def list_datasets(project_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
78
|
-
|
79
|
-
command = make_simple_command(:get, path, options)
|
82
|
+
command = make_simple_command(:get, 'v1/datasets', options)
|
80
83
|
command.response_representation = Google::Apis::GenomicsV1::ListDatasetsResponse::Representation
|
81
84
|
command.response_class = Google::Apis::GenomicsV1::ListDatasetsResponse
|
82
85
|
command.query['projectId'] = project_id unless project_id.nil?
|
@@ -87,7 +90,9 @@ module Google
|
|
87
90
|
execute_or_queue_command(command, &block)
|
88
91
|
end
|
89
92
|
|
90
|
-
# Creates a new dataset.
|
93
|
+
# Creates a new dataset. For the definitions of datasets and other genomics
|
94
|
+
# resources, see [Fundamentals of Google Genomics](https://cloud.google.com/
|
95
|
+
# genomics/fundamentals-of-google-genomics)
|
91
96
|
# @param [Google::Apis::GenomicsV1::Dataset] dataset_object
|
92
97
|
# @param [String] fields
|
93
98
|
# Selector specifying which fields to include in a partial response.
|
@@ -107,8 +112,7 @@ module Google
|
|
107
112
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
108
113
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
109
114
|
def create_dataset(dataset_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
110
|
-
|
111
|
-
command = make_simple_command(:post, path, options)
|
115
|
+
command = make_simple_command(:post, 'v1/datasets', options)
|
112
116
|
command.request_representation = Google::Apis::GenomicsV1::Dataset::Representation
|
113
117
|
command.request_object = dataset_object
|
114
118
|
command.response_representation = Google::Apis::GenomicsV1::Dataset::Representation
|
@@ -118,7 +122,9 @@ module Google
|
|
118
122
|
execute_or_queue_command(command, &block)
|
119
123
|
end
|
120
124
|
|
121
|
-
# Gets a dataset by ID.
|
125
|
+
# Gets a dataset by ID. For the definitions of datasets and other genomics
|
126
|
+
# resources, see [Fundamentals of Google Genomics](https://cloud.google.com/
|
127
|
+
# genomics/fundamentals-of-google-genomics)
|
122
128
|
# @param [String] dataset_id
|
123
129
|
# The ID of the dataset.
|
124
130
|
# @param [String] fields
|
@@ -139,8 +145,7 @@ module Google
|
|
139
145
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
140
146
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
141
147
|
def get_dataset(dataset_id, fields: nil, quota_user: nil, options: nil, &block)
|
142
|
-
|
143
|
-
command = make_simple_command(:get, path, options)
|
148
|
+
command = make_simple_command(:get, 'v1/datasets/{datasetId}', options)
|
144
149
|
command.response_representation = Google::Apis::GenomicsV1::Dataset::Representation
|
145
150
|
command.response_class = Google::Apis::GenomicsV1::Dataset
|
146
151
|
command.params['datasetId'] = dataset_id unless dataset_id.nil?
|
@@ -149,14 +154,16 @@ module Google
|
|
149
154
|
execute_or_queue_command(command, &block)
|
150
155
|
end
|
151
156
|
|
152
|
-
# Updates a dataset.
|
157
|
+
# Updates a dataset. For the definitions of datasets and other genomics
|
158
|
+
# resources, see [Fundamentals of Google Genomics](https://cloud.google.com/
|
159
|
+
# genomics/fundamentals-of-google-genomics) This method supports patch semantics.
|
153
160
|
# @param [String] dataset_id
|
154
161
|
# The ID of the dataset to be updated.
|
155
162
|
# @param [Google::Apis::GenomicsV1::Dataset] dataset_object
|
156
163
|
# @param [String] update_mask
|
157
164
|
# An optional mask specifying which fields to update. At this time, the only
|
158
|
-
# mutable field is
|
159
|
-
#
|
165
|
+
# mutable field is name. The only acceptable value is "name". If unspecified,
|
166
|
+
# all mutable fields will be updated.
|
160
167
|
# @param [String] fields
|
161
168
|
# Selector specifying which fields to include in a partial response.
|
162
169
|
# @param [String] quota_user
|
@@ -175,8 +182,7 @@ module Google
|
|
175
182
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
176
183
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
177
184
|
def patch_dataset(dataset_id, dataset_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
178
|
-
|
179
|
-
command = make_simple_command(:patch, path, options)
|
185
|
+
command = make_simple_command(:patch, 'v1/datasets/{datasetId}', options)
|
180
186
|
command.request_representation = Google::Apis::GenomicsV1::Dataset::Representation
|
181
187
|
command.request_object = dataset_object
|
182
188
|
command.response_representation = Google::Apis::GenomicsV1::Dataset::Representation
|
@@ -188,7 +194,9 @@ module Google
|
|
188
194
|
execute_or_queue_command(command, &block)
|
189
195
|
end
|
190
196
|
|
191
|
-
# Deletes a dataset.
|
197
|
+
# Deletes a dataset. For the definitions of datasets and other genomics
|
198
|
+
# resources, see [Fundamentals of Google Genomics](https://cloud.google.com/
|
199
|
+
# genomics/fundamentals-of-google-genomics)
|
192
200
|
# @param [String] dataset_id
|
193
201
|
# The ID of the dataset to be deleted.
|
194
202
|
# @param [String] fields
|
@@ -209,8 +217,7 @@ module Google
|
|
209
217
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
210
218
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
211
219
|
def delete_dataset(dataset_id, fields: nil, quota_user: nil, options: nil, &block)
|
212
|
-
|
213
|
-
command = make_simple_command(:delete, path, options)
|
220
|
+
command = make_simple_command(:delete, 'v1/datasets/{datasetId}', options)
|
214
221
|
command.response_representation = Google::Apis::GenomicsV1::Empty::Representation
|
215
222
|
command.response_class = Google::Apis::GenomicsV1::Empty
|
216
223
|
command.params['datasetId'] = dataset_id unless dataset_id.nil?
|
@@ -219,8 +226,11 @@ module Google
|
|
219
226
|
execute_or_queue_command(command, &block)
|
220
227
|
end
|
221
228
|
|
222
|
-
# Undeletes a dataset by restoring a dataset which was deleted via this API.
|
223
|
-
#
|
229
|
+
# Undeletes a dataset by restoring a dataset which was deleted via this API. For
|
230
|
+
# the definitions of datasets and other genomics resources, see [Fundamentals of
|
231
|
+
# Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-
|
232
|
+
# genomics) This operation is only possible for a week after the deletion
|
233
|
+
# occurred.
|
224
234
|
# @param [String] dataset_id
|
225
235
|
# The ID of the dataset to be undeleted.
|
226
236
|
# @param [Google::Apis::GenomicsV1::UndeleteDatasetRequest] undelete_dataset_request_object
|
@@ -242,8 +252,7 @@ module Google
|
|
242
252
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
243
253
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
244
254
|
def undelete_dataset(dataset_id, undelete_dataset_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
245
|
-
|
246
|
-
command = make_simple_command(:post, path, options)
|
255
|
+
command = make_simple_command(:post, 'v1/datasets/{datasetId}:undelete', options)
|
247
256
|
command.request_representation = Google::Apis::GenomicsV1::UndeleteDatasetRequest::Representation
|
248
257
|
command.request_object = undelete_dataset_request_object
|
249
258
|
command.response_representation = Google::Apis::GenomicsV1::Dataset::Representation
|
@@ -254,6 +263,118 @@ module Google
|
|
254
263
|
execute_or_queue_command(command, &block)
|
255
264
|
end
|
256
265
|
|
266
|
+
# Sets the access control policy on the specified dataset. Replaces any existing
|
267
|
+
# policy. For the definitions of datasets and other genomics resources, see [
|
268
|
+
# Fundamentals of Google Genomics](https://cloud.google.com/genomics/
|
269
|
+
# fundamentals-of-google-genomics) See Setting a Policy for more information.
|
270
|
+
# @param [String] resource
|
271
|
+
# REQUIRED: The resource for which policy is being specified. Format is `
|
272
|
+
# datasets/`.
|
273
|
+
# @param [Google::Apis::GenomicsV1::SetIamPolicyRequest] set_iam_policy_request_object
|
274
|
+
# @param [String] fields
|
275
|
+
# Selector specifying which fields to include in a partial response.
|
276
|
+
# @param [String] quota_user
|
277
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
278
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
279
|
+
# @param [Google::Apis::RequestOptions] options
|
280
|
+
# Request-specific options
|
281
|
+
#
|
282
|
+
# @yield [result, err] Result & error if block supplied
|
283
|
+
# @yieldparam result [Google::Apis::GenomicsV1::Policy] parsed result object
|
284
|
+
# @yieldparam err [StandardError] error object if request failed
|
285
|
+
#
|
286
|
+
# @return [Google::Apis::GenomicsV1::Policy]
|
287
|
+
#
|
288
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
289
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
290
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
291
|
+
def set_dataset_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
292
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
293
|
+
command.request_representation = Google::Apis::GenomicsV1::SetIamPolicyRequest::Representation
|
294
|
+
command.request_object = set_iam_policy_request_object
|
295
|
+
command.response_representation = Google::Apis::GenomicsV1::Policy::Representation
|
296
|
+
command.response_class = Google::Apis::GenomicsV1::Policy
|
297
|
+
command.params['resource'] = resource unless resource.nil?
|
298
|
+
command.query['fields'] = fields unless fields.nil?
|
299
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
300
|
+
execute_or_queue_command(command, &block)
|
301
|
+
end
|
302
|
+
|
303
|
+
# Gets the access control policy for the dataset. This is empty if the policy or
|
304
|
+
# resource does not exist. See Getting a Policy for more information. For the
|
305
|
+
# definitions of datasets and other genomics resources, see [Fundamentals of
|
306
|
+
# Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-
|
307
|
+
# genomics)
|
308
|
+
# @param [String] resource
|
309
|
+
# REQUIRED: The resource for which policy is being specified. Format is `
|
310
|
+
# datasets/`.
|
311
|
+
# @param [Google::Apis::GenomicsV1::GetIamPolicyRequest] get_iam_policy_request_object
|
312
|
+
# @param [String] fields
|
313
|
+
# Selector specifying which fields to include in a partial response.
|
314
|
+
# @param [String] quota_user
|
315
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
316
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
317
|
+
# @param [Google::Apis::RequestOptions] options
|
318
|
+
# Request-specific options
|
319
|
+
#
|
320
|
+
# @yield [result, err] Result & error if block supplied
|
321
|
+
# @yieldparam result [Google::Apis::GenomicsV1::Policy] parsed result object
|
322
|
+
# @yieldparam err [StandardError] error object if request failed
|
323
|
+
#
|
324
|
+
# @return [Google::Apis::GenomicsV1::Policy]
|
325
|
+
#
|
326
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
327
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
328
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
329
|
+
def get_dataset_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
330
|
+
command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
|
331
|
+
command.request_representation = Google::Apis::GenomicsV1::GetIamPolicyRequest::Representation
|
332
|
+
command.request_object = get_iam_policy_request_object
|
333
|
+
command.response_representation = Google::Apis::GenomicsV1::Policy::Representation
|
334
|
+
command.response_class = Google::Apis::GenomicsV1::Policy
|
335
|
+
command.params['resource'] = resource unless resource.nil?
|
336
|
+
command.query['fields'] = fields unless fields.nil?
|
337
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
338
|
+
execute_or_queue_command(command, &block)
|
339
|
+
end
|
340
|
+
|
341
|
+
# Returns permissions that a caller has on the specified resource. See Testing
|
342
|
+
# Permissions for more information. For the definitions of datasets and other
|
343
|
+
# genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.
|
344
|
+
# com/genomics/fundamentals-of-google-genomics)
|
345
|
+
# @param [String] resource
|
346
|
+
# REQUIRED: The resource for which policy is being specified. Format is `
|
347
|
+
# datasets/`.
|
348
|
+
# @param [Google::Apis::GenomicsV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
349
|
+
# @param [String] fields
|
350
|
+
# Selector specifying which fields to include in a partial response.
|
351
|
+
# @param [String] quota_user
|
352
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
353
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
354
|
+
# @param [Google::Apis::RequestOptions] options
|
355
|
+
# Request-specific options
|
356
|
+
#
|
357
|
+
# @yield [result, err] Result & error if block supplied
|
358
|
+
# @yieldparam result [Google::Apis::GenomicsV1::TestIamPermissionsResponse] parsed result object
|
359
|
+
# @yieldparam err [StandardError] error object if request failed
|
360
|
+
#
|
361
|
+
# @return [Google::Apis::GenomicsV1::TestIamPermissionsResponse]
|
362
|
+
#
|
363
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
364
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
365
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
366
|
+
def test_dataset_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
367
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
368
|
+
command.request_representation = Google::Apis::GenomicsV1::TestIamPermissionsRequest::Representation
|
369
|
+
command.request_object = test_iam_permissions_request_object
|
370
|
+
command.response_representation = Google::Apis::GenomicsV1::TestIamPermissionsResponse::Representation
|
371
|
+
command.response_class = Google::Apis::GenomicsV1::TestIamPermissionsResponse
|
372
|
+
command.params['resource'] = resource unless resource.nil?
|
373
|
+
command.query['fields'] = fields unless fields.nil?
|
374
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
375
|
+
execute_or_queue_command(command, &block)
|
376
|
+
end
|
377
|
+
|
257
378
|
# Gets the latest state of a long-running operation. Clients can use this method
|
258
379
|
# to poll the operation result at intervals as recommended by the API service.
|
259
380
|
# @param [String] name
|
@@ -276,8 +397,7 @@ module Google
|
|
276
397
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
277
398
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
278
399
|
def get_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
279
|
-
|
280
|
-
command = make_simple_command(:get, path, options)
|
400
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
281
401
|
command.response_representation = Google::Apis::GenomicsV1::Operation::Representation
|
282
402
|
command.response_class = Google::Apis::GenomicsV1::Operation
|
283
403
|
command.params['name'] = name unless name.nil?
|
@@ -290,13 +410,12 @@ module Google
|
|
290
410
|
# @param [String] name
|
291
411
|
# The name of the operation collection.
|
292
412
|
# @param [String] filter
|
293
|
-
# A string for filtering
|
294
|
-
#
|
295
|
-
#
|
296
|
-
#
|
297
|
-
#
|
298
|
-
#
|
299
|
-
# 1432150000 AND status = RUNNING`
|
413
|
+
# A string for filtering Operations. The following filter fields are supported: *
|
414
|
+
# projectId: Required. Corresponds to OperationMetadata.projectId. * createTime:
|
415
|
+
# The time this job was created, in seconds from the [epoch](http://en.
|
416
|
+
# wikipedia.org/wiki/Unix_time). Can use `>=` and/or `= 1432140000` * `projectId
|
417
|
+
# = my-project AND createTime >= 1432140000 AND createTime <= 1432150000 AND
|
418
|
+
# status = RUNNING`
|
300
419
|
# @param [Fixnum] page_size
|
301
420
|
# The maximum number of results to return. If unspecified, defaults to 256. The
|
302
421
|
# maximum value is 2048.
|
@@ -320,8 +439,7 @@ module Google
|
|
320
439
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
321
440
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
322
441
|
def list_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
323
|
-
|
324
|
-
command = make_simple_command(:get, path, options)
|
442
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
325
443
|
command.response_representation = Google::Apis::GenomicsV1::ListOperationsResponse::Representation
|
326
444
|
command.response_class = Google::Apis::GenomicsV1::ListOperationsResponse
|
327
445
|
command.params['name'] = name unless name.nil?
|
@@ -335,10 +453,8 @@ module Google
|
|
335
453
|
|
336
454
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
337
455
|
# a best effort to cancel the operation, but success is not guaranteed. Clients
|
338
|
-
# may use
|
339
|
-
# or
|
340
|
-
# to check whether the cancellation succeeded or the operation completed despite
|
341
|
-
# cancellation.
|
456
|
+
# may use Operations.GetOperation or Operations.ListOperations to check whether
|
457
|
+
# the cancellation succeeded or the operation completed despite cancellation.
|
342
458
|
# @param [String] name
|
343
459
|
# The name of the operation resource to be cancelled.
|
344
460
|
# @param [Google::Apis::GenomicsV1::CancelOperationRequest] cancel_operation_request_object
|
@@ -360,8 +476,7 @@ module Google
|
|
360
476
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
361
477
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
362
478
|
def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
363
|
-
|
364
|
-
command = make_simple_command(:post, path, options)
|
479
|
+
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
365
480
|
command.request_representation = Google::Apis::GenomicsV1::CancelOperationRequest::Representation
|
366
481
|
command.request_object = cancel_operation_request_object
|
367
482
|
command.response_representation = Google::Apis::GenomicsV1::Empty::Representation
|
@@ -372,42 +487,17 @@ module Google
|
|
372
487
|
execute_or_queue_command(command, &block)
|
373
488
|
end
|
374
489
|
|
375
|
-
# This method is not implemented. To cancel an operation, please use [Operations.
|
376
|
-
# CancelOperation][google.longrunning.Operations.CancelOperation].
|
377
|
-
# @param [String] name
|
378
|
-
# The name of the operation resource to be deleted.
|
379
|
-
# @param [String] fields
|
380
|
-
# Selector specifying which fields to include in a partial response.
|
381
|
-
# @param [String] quota_user
|
382
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
383
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
384
|
-
# @param [Google::Apis::RequestOptions] options
|
385
|
-
# Request-specific options
|
386
|
-
#
|
387
|
-
# @yield [result, err] Result & error if block supplied
|
388
|
-
# @yieldparam result [Google::Apis::GenomicsV1::Empty] parsed result object
|
389
|
-
# @yieldparam err [StandardError] error object if request failed
|
390
|
-
#
|
391
|
-
# @return [Google::Apis::GenomicsV1::Empty]
|
392
|
-
#
|
393
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
394
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
395
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
396
|
-
def delete_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
397
|
-
path = 'v1/{+name}'
|
398
|
-
command = make_simple_command(:delete, path, options)
|
399
|
-
command.response_representation = Google::Apis::GenomicsV1::Empty::Representation
|
400
|
-
command.response_class = Google::Apis::GenomicsV1::Empty
|
401
|
-
command.params['name'] = name unless name.nil?
|
402
|
-
command.query['fields'] = fields unless fields.nil?
|
403
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
404
|
-
execute_or_queue_command(command, &block)
|
405
|
-
end
|
406
|
-
|
407
490
|
# Creates read group sets by asynchronously importing the provided information.
|
408
|
-
#
|
409
|
-
#
|
410
|
-
#
|
491
|
+
# For the definitions of read group sets and other genomics resources, see [
|
492
|
+
# Fundamentals of Google Genomics](https://cloud.google.com/genomics/
|
493
|
+
# fundamentals-of-google-genomics) The caller must have WRITE permissions to the
|
494
|
+
# dataset. ## Notes on [BAM](https://samtools.github.io/hts-specs/SAMv1.pdf)
|
495
|
+
# import - Tags will be converted to strings - tag types are not preserved -
|
496
|
+
# Comments (`@CO`) in the input file header will not be preserved - Original
|
497
|
+
# header order of references (`@SQ`) will not be preserved - Any reverse
|
498
|
+
# stranded unmapped reads will be reverse complemented, and their qualities (and
|
499
|
+
# "BQ" tag, if any) will be reversed - Unmapped reads will be stripped of
|
500
|
+
# positional information (reference name and position)
|
411
501
|
# @param [Google::Apis::GenomicsV1::ImportReadGroupSetsRequest] import_read_group_sets_request_object
|
412
502
|
# @param [String] fields
|
413
503
|
# Selector specifying which fields to include in a partial response.
|
@@ -427,8 +517,7 @@ module Google
|
|
427
517
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
428
518
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
429
519
|
def import_read_group_sets(import_read_group_sets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
430
|
-
|
431
|
-
command = make_simple_command(:post, path, options)
|
520
|
+
command = make_simple_command(:post, 'v1/readgroupsets:import', options)
|
432
521
|
command.request_representation = Google::Apis::GenomicsV1::ImportReadGroupSetsRequest::Representation
|
433
522
|
command.request_object = import_read_group_sets_request_object
|
434
523
|
command.response_representation = Google::Apis::GenomicsV1::Operation::Representation
|
@@ -438,13 +527,16 @@ module Google
|
|
438
527
|
execute_or_queue_command(command, &block)
|
439
528
|
end
|
440
529
|
|
441
|
-
# Exports a read group set to a BAM file in Google Cloud Storage.
|
442
|
-
#
|
443
|
-
#
|
444
|
-
#
|
445
|
-
#
|
530
|
+
# Exports a read group set to a BAM file in Google Cloud Storage. For the
|
531
|
+
# definitions of read group sets and other genomics resources, see [Fundamentals
|
532
|
+
# of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-
|
533
|
+
# genomics) Note that currently there may be some differences between exported
|
534
|
+
# BAM files and the original BAM file at the time of import. See [
|
535
|
+
# ImportReadGroupSets](google.genomics.v1.ReadServiceV1.ImportReadGroupSets) for
|
536
|
+
# caveats.
|
446
537
|
# @param [String] read_group_set_id
|
447
|
-
# Required. The ID of the read group set to export.
|
538
|
+
# Required. The ID of the read group set to export. The caller must have READ
|
539
|
+
# access to this read group set.
|
448
540
|
# @param [Google::Apis::GenomicsV1::ExportReadGroupSetRequest] export_read_group_set_request_object
|
449
541
|
# @param [String] fields
|
450
542
|
# Selector specifying which fields to include in a partial response.
|
@@ -464,8 +556,7 @@ module Google
|
|
464
556
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
465
557
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
466
558
|
def export_read_group_sets(read_group_set_id, export_read_group_set_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
467
|
-
|
468
|
-
command = make_simple_command(:post, path, options)
|
559
|
+
command = make_simple_command(:post, 'v1/readgroupsets/{readGroupSetId}:export', options)
|
469
560
|
command.request_representation = Google::Apis::GenomicsV1::ExportReadGroupSetRequest::Representation
|
470
561
|
command.request_object = export_read_group_set_request_object
|
471
562
|
command.response_representation = Google::Apis::GenomicsV1::Operation::Representation
|
@@ -476,9 +567,11 @@ module Google
|
|
476
567
|
execute_or_queue_command(command, &block)
|
477
568
|
end
|
478
569
|
|
479
|
-
# Searches for read group sets matching the criteria.
|
480
|
-
#
|
481
|
-
#
|
570
|
+
# Searches for read group sets matching the criteria. For the definitions of
|
571
|
+
# read group sets and other genomics resources, see [Fundamentals of Google
|
572
|
+
# Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
|
573
|
+
# Implements [GlobalAllianceApi.searchReadGroupSets](https://github.com/ga4gh/
|
574
|
+
# schemas/blob/v0.5.1/src/main/resources/avro/readmethods.avdl#L135).
|
482
575
|
# @param [Google::Apis::GenomicsV1::SearchReadGroupSetsRequest] search_read_group_sets_request_object
|
483
576
|
# @param [String] fields
|
484
577
|
# Selector specifying which fields to include in a partial response.
|
@@ -498,8 +591,7 @@ module Google
|
|
498
591
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
499
592
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
500
593
|
def search_read_group_sets(search_read_group_sets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
501
|
-
|
502
|
-
command = make_simple_command(:post, path, options)
|
594
|
+
command = make_simple_command(:post, 'v1/readgroupsets/search', options)
|
503
595
|
command.request_representation = Google::Apis::GenomicsV1::SearchReadGroupSetsRequest::Representation
|
504
596
|
command.request_object = search_read_group_sets_request_object
|
505
597
|
command.response_representation = Google::Apis::GenomicsV1::SearchReadGroupSetsResponse::Representation
|
@@ -509,16 +601,18 @@ module Google
|
|
509
601
|
execute_or_queue_command(command, &block)
|
510
602
|
end
|
511
603
|
|
512
|
-
# Updates a read group set.
|
604
|
+
# Updates a read group set. For the definitions of read group sets and other
|
605
|
+
# genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.
|
606
|
+
# com/genomics/fundamentals-of-google-genomics) This method supports patch
|
607
|
+
# semantics.
|
513
608
|
# @param [String] read_group_set_id
|
514
609
|
# The ID of the read group set to be updated. The caller must have WRITE
|
515
610
|
# permissions to the dataset associated with this read group set.
|
516
611
|
# @param [Google::Apis::GenomicsV1::ReadGroupSet] read_group_set_object
|
517
612
|
# @param [String] update_mask
|
518
|
-
# An optional mask specifying which fields to update.
|
519
|
-
#
|
520
|
-
#
|
521
|
-
# referenceSetId" and "name". If unspecified, all mutable fields will be updated.
|
613
|
+
# An optional mask specifying which fields to update. Supported fields: * name. *
|
614
|
+
# referenceSetId. Leaving `updateMask` unset is equivalent to specifying all
|
615
|
+
# mutable fields.
|
522
616
|
# @param [String] fields
|
523
617
|
# Selector specifying which fields to include in a partial response.
|
524
618
|
# @param [String] quota_user
|
@@ -537,8 +631,7 @@ module Google
|
|
537
631
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
538
632
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
539
633
|
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)
|
540
|
-
|
541
|
-
command = make_simple_command(:patch, path, options)
|
634
|
+
command = make_simple_command(:patch, 'v1/readgroupsets/{readGroupSetId}', options)
|
542
635
|
command.request_representation = Google::Apis::GenomicsV1::ReadGroupSet::Representation
|
543
636
|
command.request_object = read_group_set_object
|
544
637
|
command.response_representation = Google::Apis::GenomicsV1::ReadGroupSet::Representation
|
@@ -550,7 +643,9 @@ module Google
|
|
550
643
|
execute_or_queue_command(command, &block)
|
551
644
|
end
|
552
645
|
|
553
|
-
# Deletes a read group set.
|
646
|
+
# Deletes a read group set. For the definitions of read group sets and other
|
647
|
+
# genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.
|
648
|
+
# com/genomics/fundamentals-of-google-genomics)
|
554
649
|
# @param [String] read_group_set_id
|
555
650
|
# The ID of the read group set to be deleted. The caller must have WRITE
|
556
651
|
# permissions to the dataset associated with this read group set.
|
@@ -572,8 +667,7 @@ module Google
|
|
572
667
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
573
668
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
574
669
|
def delete_read_group_set(read_group_set_id, fields: nil, quota_user: nil, options: nil, &block)
|
575
|
-
|
576
|
-
command = make_simple_command(:delete, path, options)
|
670
|
+
command = make_simple_command(:delete, 'v1/readgroupsets/{readGroupSetId}', options)
|
577
671
|
command.response_representation = Google::Apis::GenomicsV1::Empty::Representation
|
578
672
|
command.response_class = Google::Apis::GenomicsV1::Empty
|
579
673
|
command.params['readGroupSetId'] = read_group_set_id unless read_group_set_id.nil?
|
@@ -582,7 +676,9 @@ module Google
|
|
582
676
|
execute_or_queue_command(command, &block)
|
583
677
|
end
|
584
678
|
|
585
|
-
# Gets a read group set by ID.
|
679
|
+
# Gets a read group set by ID. For the definitions of read group sets and other
|
680
|
+
# genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.
|
681
|
+
# com/genomics/fundamentals-of-google-genomics)
|
586
682
|
# @param [String] read_group_set_id
|
587
683
|
# The ID of the read group set.
|
588
684
|
# @param [String] fields
|
@@ -603,8 +699,7 @@ module Google
|
|
603
699
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
604
700
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
605
701
|
def get_read_group_set(read_group_set_id, fields: nil, quota_user: nil, options: nil, &block)
|
606
|
-
|
607
|
-
command = make_simple_command(:get, path, options)
|
702
|
+
command = make_simple_command(:get, 'v1/readgroupsets/{readGroupSetId}', options)
|
608
703
|
command.response_representation = Google::Apis::GenomicsV1::ReadGroupSet::Representation
|
609
704
|
command.response_class = Google::Apis::GenomicsV1::ReadGroupSet
|
610
705
|
command.params['readGroupSetId'] = read_group_set_id unless read_group_set_id.nil?
|
@@ -615,11 +710,13 @@ module Google
|
|
615
710
|
|
616
711
|
# Lists fixed width coverage buckets for a read group set, each of which
|
617
712
|
# correspond to a range of a reference sequence. Each bucket summarizes coverage
|
618
|
-
# information across its corresponding genomic range.
|
619
|
-
#
|
620
|
-
#
|
621
|
-
#
|
622
|
-
#
|
713
|
+
# information across its corresponding genomic range. For the definitions of
|
714
|
+
# read group sets and other genomics resources, see [Fundamentals of Google
|
715
|
+
# Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
|
716
|
+
# Coverage is defined as the number of reads which are aligned to a given base
|
717
|
+
# in the reference sequence. Coverage buckets are available at several
|
718
|
+
# precomputed bucket widths, enabling retrieval of various coverage 'zoom levels'
|
719
|
+
# . The caller must have READ permissions for the target read group set.
|
623
720
|
# @param [String] read_group_set_id
|
624
721
|
# Required. The ID of the read group set over which coverage is requested.
|
625
722
|
# @param [String] reference_name
|
@@ -664,8 +761,7 @@ module Google
|
|
664
761
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
665
762
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
666
763
|
def list_coverage_buckets(read_group_set_id, reference_name: nil, start: nil, end_: nil, target_bucket_width: nil, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block)
|
667
|
-
|
668
|
-
command = make_simple_command(:get, path, options)
|
764
|
+
command = make_simple_command(:get, 'v1/readgroupsets/{readGroupSetId}/coveragebuckets', options)
|
669
765
|
command.response_representation = Google::Apis::GenomicsV1::ListCoverageBucketsResponse::Representation
|
670
766
|
command.response_class = Google::Apis::GenomicsV1::ListCoverageBucketsResponse
|
671
767
|
command.params['readGroupSetId'] = read_group_set_id unless read_group_set_id.nil?
|
@@ -680,17 +776,22 @@ module Google
|
|
680
776
|
execute_or_queue_command(command, &block)
|
681
777
|
end
|
682
778
|
|
683
|
-
# Gets a list of reads for one or more read group sets.
|
684
|
-
#
|
685
|
-
#
|
686
|
-
#
|
687
|
-
#
|
688
|
-
#
|
689
|
-
#
|
690
|
-
#
|
691
|
-
#
|
692
|
-
#
|
693
|
-
#
|
779
|
+
# Gets a list of reads for one or more read group sets. For the definitions of
|
780
|
+
# read group sets and other genomics resources, see [Fundamentals of Google
|
781
|
+
# Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
|
782
|
+
# Reads search operates over a genomic coordinate space of reference sequence &
|
783
|
+
# position defined over the reference sequences to which the requested read
|
784
|
+
# group sets are aligned. If a target positional range is specified, search
|
785
|
+
# returns all reads whose alignment to the reference genome overlap the range. A
|
786
|
+
# query which specifies only read group set IDs yields all reads in those read
|
787
|
+
# group sets, including unmapped reads. All reads returned (including reads on
|
788
|
+
# subsequent pages) are ordered by genomic coordinate (by reference sequence,
|
789
|
+
# then position). Reads with equivalent genomic coordinates are returned in an
|
790
|
+
# unspecified order. This order is consistent, such that two queries for the
|
791
|
+
# same content (regardless of page size) yield reads in the same order across
|
792
|
+
# their respective streams of paginated responses. Implements [GlobalAllianceApi.
|
793
|
+
# searchReads](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/
|
794
|
+
# avro/readmethods.avdl#L85).
|
694
795
|
# @param [Google::Apis::GenomicsV1::SearchReadsRequest] search_reads_request_object
|
695
796
|
# @param [String] fields
|
696
797
|
# Selector specifying which fields to include in a partial response.
|
@@ -710,8 +811,7 @@ module Google
|
|
710
811
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
711
812
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
712
813
|
def search_reads(search_reads_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
713
|
-
|
714
|
-
command = make_simple_command(:post, path, options)
|
814
|
+
command = make_simple_command(:post, 'v1/reads/search', options)
|
715
815
|
command.request_representation = Google::Apis::GenomicsV1::SearchReadsRequest::Representation
|
716
816
|
command.request_object = search_reads_request_object
|
717
817
|
command.response_representation = Google::Apis::GenomicsV1::SearchReadsResponse::Representation
|
@@ -721,9 +821,43 @@ module Google
|
|
721
821
|
execute_or_queue_command(command, &block)
|
722
822
|
end
|
723
823
|
|
724
|
-
#
|
725
|
-
#
|
726
|
-
#
|
824
|
+
# Returns a stream of all the reads matching the search request, ordered by
|
825
|
+
# reference name, position, and ID.
|
826
|
+
# @param [Google::Apis::GenomicsV1::StreamReadsRequest] stream_reads_request_object
|
827
|
+
# @param [String] fields
|
828
|
+
# Selector specifying which fields to include in a partial response.
|
829
|
+
# @param [String] quota_user
|
830
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
831
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
832
|
+
# @param [Google::Apis::RequestOptions] options
|
833
|
+
# Request-specific options
|
834
|
+
#
|
835
|
+
# @yield [result, err] Result & error if block supplied
|
836
|
+
# @yieldparam result [Google::Apis::GenomicsV1::StreamReadsResponse] parsed result object
|
837
|
+
# @yieldparam err [StandardError] error object if request failed
|
838
|
+
#
|
839
|
+
# @return [Google::Apis::GenomicsV1::StreamReadsResponse]
|
840
|
+
#
|
841
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
842
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
843
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
844
|
+
def stream_reads(stream_reads_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
845
|
+
command = make_simple_command(:post, 'v1/reads:stream', options)
|
846
|
+
command.request_representation = Google::Apis::GenomicsV1::StreamReadsRequest::Representation
|
847
|
+
command.request_object = stream_reads_request_object
|
848
|
+
command.response_representation = Google::Apis::GenomicsV1::StreamReadsResponse::Representation
|
849
|
+
command.response_class = Google::Apis::GenomicsV1::StreamReadsResponse
|
850
|
+
command.query['fields'] = fields unless fields.nil?
|
851
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
852
|
+
execute_or_queue_command(command, &block)
|
853
|
+
end
|
854
|
+
|
855
|
+
# Searches for reference sets which match the given criteria. For the
|
856
|
+
# definitions of references and other genomics resources, see [Fundamentals of
|
857
|
+
# Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-
|
858
|
+
# genomics) Implements [GlobalAllianceApi.searchReferenceSets](https://github.
|
859
|
+
# com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#
|
860
|
+
# L71)
|
727
861
|
# @param [Google::Apis::GenomicsV1::SearchReferenceSetsRequest] search_reference_sets_request_object
|
728
862
|
# @param [String] fields
|
729
863
|
# Selector specifying which fields to include in a partial response.
|
@@ -743,8 +877,7 @@ module Google
|
|
743
877
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
744
878
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
745
879
|
def search_reference_sets(search_reference_sets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
746
|
-
|
747
|
-
command = make_simple_command(:post, path, options)
|
880
|
+
command = make_simple_command(:post, 'v1/referencesets/search', options)
|
748
881
|
command.request_representation = Google::Apis::GenomicsV1::SearchReferenceSetsRequest::Representation
|
749
882
|
command.request_object = search_reference_sets_request_object
|
750
883
|
command.response_representation = Google::Apis::GenomicsV1::SearchReferenceSetsResponse::Representation
|
@@ -754,9 +887,11 @@ module Google
|
|
754
887
|
execute_or_queue_command(command, &block)
|
755
888
|
end
|
756
889
|
|
757
|
-
# Gets a reference set.
|
758
|
-
#
|
759
|
-
#
|
890
|
+
# Gets a reference set. For the definitions of references and other genomics
|
891
|
+
# resources, see [Fundamentals of Google Genomics](https://cloud.google.com/
|
892
|
+
# genomics/fundamentals-of-google-genomics) Implements [GlobalAllianceApi.
|
893
|
+
# getReferenceSet](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/
|
894
|
+
# resources/avro/referencemethods.avdl#L83).
|
760
895
|
# @param [String] reference_set_id
|
761
896
|
# The ID of the reference set.
|
762
897
|
# @param [String] fields
|
@@ -777,8 +912,7 @@ module Google
|
|
777
912
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
778
913
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
779
914
|
def get_reference_set(reference_set_id, fields: nil, quota_user: nil, options: nil, &block)
|
780
|
-
|
781
|
-
command = make_simple_command(:get, path, options)
|
915
|
+
command = make_simple_command(:get, 'v1/referencesets/{referenceSetId}', options)
|
782
916
|
command.response_representation = Google::Apis::GenomicsV1::ReferenceSet::Representation
|
783
917
|
command.response_class = Google::Apis::GenomicsV1::ReferenceSet
|
784
918
|
command.params['referenceSetId'] = reference_set_id unless reference_set_id.nil?
|
@@ -787,7 +921,9 @@ module Google
|
|
787
921
|
execute_or_queue_command(command, &block)
|
788
922
|
end
|
789
923
|
|
790
|
-
# Searches for references which match the given criteria.
|
924
|
+
# Searches for references which match the given criteria. For the definitions of
|
925
|
+
# references and other genomics resources, see [Fundamentals of Google Genomics](
|
926
|
+
# https://cloud.google.com/genomics/fundamentals-of-google-genomics) Implements [
|
791
927
|
# GlobalAllianceApi.searchReferences](https://github.com/ga4gh/schemas/blob/v0.5.
|
792
928
|
# 1/src/main/resources/avro/referencemethods.avdl#L146).
|
793
929
|
# @param [Google::Apis::GenomicsV1::SearchReferencesRequest] search_references_request_object
|
@@ -809,8 +945,7 @@ module Google
|
|
809
945
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
810
946
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
811
947
|
def search_references(search_references_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
812
|
-
|
813
|
-
command = make_simple_command(:post, path, options)
|
948
|
+
command = make_simple_command(:post, 'v1/references/search', options)
|
814
949
|
command.request_representation = Google::Apis::GenomicsV1::SearchReferencesRequest::Representation
|
815
950
|
command.request_object = search_references_request_object
|
816
951
|
command.response_representation = Google::Apis::GenomicsV1::SearchReferencesResponse::Representation
|
@@ -820,9 +955,11 @@ module Google
|
|
820
955
|
execute_or_queue_command(command, &block)
|
821
956
|
end
|
822
957
|
|
823
|
-
# Gets a reference.
|
824
|
-
#
|
825
|
-
#
|
958
|
+
# Gets a reference. For the definitions of references and other genomics
|
959
|
+
# resources, see [Fundamentals of Google Genomics](https://cloud.google.com/
|
960
|
+
# genomics/fundamentals-of-google-genomics) Implements [GlobalAllianceApi.
|
961
|
+
# getReference](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/
|
962
|
+
# avro/referencemethods.avdl#L158).
|
826
963
|
# @param [String] reference_id
|
827
964
|
# The ID of the reference.
|
828
965
|
# @param [String] fields
|
@@ -843,8 +980,7 @@ module Google
|
|
843
980
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
844
981
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
845
982
|
def get_reference(reference_id, fields: nil, quota_user: nil, options: nil, &block)
|
846
|
-
|
847
|
-
command = make_simple_command(:get, path, options)
|
983
|
+
command = make_simple_command(:get, 'v1/references/{referenceId}', options)
|
848
984
|
command.response_representation = Google::Apis::GenomicsV1::Reference::Representation
|
849
985
|
command.response_class = Google::Apis::GenomicsV1::Reference
|
850
986
|
command.params['referenceId'] = reference_id unless reference_id.nil?
|
@@ -853,9 +989,11 @@ module Google
|
|
853
989
|
execute_or_queue_command(command, &block)
|
854
990
|
end
|
855
991
|
|
856
|
-
# Lists the bases in a reference, optionally restricted to a range.
|
857
|
-
#
|
858
|
-
#
|
992
|
+
# Lists the bases in a reference, optionally restricted to a range. For the
|
993
|
+
# definitions of references and other genomics resources, see [Fundamentals of
|
994
|
+
# Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-
|
995
|
+
# genomics) Implements [GlobalAllianceApi.getReferenceBases](https://github.com/
|
996
|
+
# ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L221).
|
859
997
|
# @param [String] reference_id
|
860
998
|
# The ID of the reference.
|
861
999
|
# @param [String] start_position
|
@@ -868,7 +1006,9 @@ module Google
|
|
868
1006
|
# get the next page of results, set this parameter to the value of `
|
869
1007
|
# nextPageToken` from the previous response.
|
870
1008
|
# @param [Fixnum] page_size
|
871
|
-
#
|
1009
|
+
# The maximum number of bases to return in a single page. If unspecified,
|
1010
|
+
# defaults to 200Kbp (kilo base pairs). The maximum value is 10Mbp (mega base
|
1011
|
+
# pairs).
|
872
1012
|
# @param [String] fields
|
873
1013
|
# Selector specifying which fields to include in a partial response.
|
874
1014
|
# @param [String] quota_user
|
@@ -887,8 +1027,7 @@ module Google
|
|
887
1027
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
888
1028
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
889
1029
|
def list_reference_bases(reference_id, start_position: nil, end_position: nil, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block)
|
890
|
-
|
891
|
-
command = make_simple_command(:get, path, options)
|
1030
|
+
command = make_simple_command(:get, 'v1/references/{referenceId}/bases', options)
|
892
1031
|
command.response_representation = Google::Apis::GenomicsV1::ListBasesResponse::Representation
|
893
1032
|
command.response_class = Google::Apis::GenomicsV1::ListBasesResponse
|
894
1033
|
command.params['referenceId'] = reference_id unless reference_id.nil?
|
@@ -901,14 +1040,20 @@ module Google
|
|
901
1040
|
execute_or_queue_command(command, &block)
|
902
1041
|
end
|
903
1042
|
|
904
|
-
# Creates variant data by asynchronously importing the provided information.
|
905
|
-
#
|
906
|
-
#
|
907
|
-
#
|
908
|
-
#
|
909
|
-
#
|
910
|
-
#
|
911
|
-
#
|
1043
|
+
# Creates variant data by asynchronously importing the provided information. For
|
1044
|
+
# the definitions of variant sets and other genomics resources, see [
|
1045
|
+
# Fundamentals of Google Genomics](https://cloud.google.com/genomics/
|
1046
|
+
# fundamentals-of-google-genomics) The variants for import will be merged with
|
1047
|
+
# any existing variant that matches its reference sequence, start, end,
|
1048
|
+
# reference bases, and alternative bases. If no such variant exists, a new one
|
1049
|
+
# will be created. When variants are merged, the call information from the new
|
1050
|
+
# variant is added to the existing variant, and other fields (such as key/value
|
1051
|
+
# pairs) are discarded. In particular, this means for merged VCF variants that
|
1052
|
+
# have conflicting INFO fields, some data will be arbitrarily discarded. As a
|
1053
|
+
# special case, for single-sample VCF files, QUAL and FILTER fields will be
|
1054
|
+
# moved to the call level; these are sometimes interpreted in a call-specific
|
1055
|
+
# context. Imported VCF headers are appended to the metadata already in a
|
1056
|
+
# variant set.
|
912
1057
|
# @param [Google::Apis::GenomicsV1::ImportVariantsRequest] import_variants_request_object
|
913
1058
|
# @param [String] fields
|
914
1059
|
# Selector specifying which fields to include in a partial response.
|
@@ -928,8 +1073,7 @@ module Google
|
|
928
1073
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
929
1074
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
930
1075
|
def import_variants(import_variants_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
931
|
-
|
932
|
-
command = make_simple_command(:post, path, options)
|
1076
|
+
command = make_simple_command(:post, 'v1/variants:import', options)
|
933
1077
|
command.request_representation = Google::Apis::GenomicsV1::ImportVariantsRequest::Representation
|
934
1078
|
command.request_object = import_variants_request_object
|
935
1079
|
command.response_representation = Google::Apis::GenomicsV1::Operation::Representation
|
@@ -939,9 +1083,11 @@ module Google
|
|
939
1083
|
execute_or_queue_command(command, &block)
|
940
1084
|
end
|
941
1085
|
|
942
|
-
# Gets a list of variants matching the criteria.
|
943
|
-
#
|
944
|
-
#
|
1086
|
+
# Gets a list of variants matching the criteria. For the definitions of variants
|
1087
|
+
# and other genomics resources, see [Fundamentals of Google Genomics](https://
|
1088
|
+
# cloud.google.com/genomics/fundamentals-of-google-genomics) Implements [
|
1089
|
+
# GlobalAllianceApi.searchVariants](https://github.com/ga4gh/schemas/blob/v0.5.1/
|
1090
|
+
# src/main/resources/avro/variantmethods.avdl#L126).
|
945
1091
|
# @param [Google::Apis::GenomicsV1::SearchVariantsRequest] search_variants_request_object
|
946
1092
|
# @param [String] fields
|
947
1093
|
# Selector specifying which fields to include in a partial response.
|
@@ -961,8 +1107,7 @@ module Google
|
|
961
1107
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
962
1108
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
963
1109
|
def search_variants(search_variants_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
964
|
-
|
965
|
-
command = make_simple_command(:post, path, options)
|
1110
|
+
command = make_simple_command(:post, 'v1/variants/search', options)
|
966
1111
|
command.request_representation = Google::Apis::GenomicsV1::SearchVariantsRequest::Representation
|
967
1112
|
command.request_object = search_variants_request_object
|
968
1113
|
command.response_representation = Google::Apis::GenomicsV1::SearchVariantsResponse::Representation
|
@@ -972,7 +1117,9 @@ module Google
|
|
972
1117
|
execute_or_queue_command(command, &block)
|
973
1118
|
end
|
974
1119
|
|
975
|
-
# Creates a new variant.
|
1120
|
+
# Creates a new variant. For the definitions of variants and other genomics
|
1121
|
+
# resources, see [Fundamentals of Google Genomics](https://cloud.google.com/
|
1122
|
+
# genomics/fundamentals-of-google-genomics)
|
976
1123
|
# @param [Google::Apis::GenomicsV1::Variant] variant_object
|
977
1124
|
# @param [String] fields
|
978
1125
|
# Selector specifying which fields to include in a partial response.
|
@@ -992,8 +1139,7 @@ module Google
|
|
992
1139
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
993
1140
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
994
1141
|
def create_variant(variant_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
995
|
-
|
996
|
-
command = make_simple_command(:post, path, options)
|
1142
|
+
command = make_simple_command(:post, 'v1/variants', options)
|
997
1143
|
command.request_representation = Google::Apis::GenomicsV1::Variant::Representation
|
998
1144
|
command.request_object = variant_object
|
999
1145
|
command.response_representation = Google::Apis::GenomicsV1::Variant::Representation
|
@@ -1003,15 +1149,16 @@ module Google
|
|
1003
1149
|
execute_or_queue_command(command, &block)
|
1004
1150
|
end
|
1005
1151
|
|
1006
|
-
# Updates a variant.
|
1007
|
-
#
|
1152
|
+
# Updates a variant. For the definitions of variants and other genomics
|
1153
|
+
# resources, see [Fundamentals of Google Genomics](https://cloud.google.com/
|
1154
|
+
# genomics/fundamentals-of-google-genomics) This method supports patch semantics.
|
1155
|
+
# Returns the modified variant without its calls.
|
1008
1156
|
# @param [String] variant_id
|
1009
1157
|
# The ID of the variant to be updated.
|
1010
1158
|
# @param [Google::Apis::GenomicsV1::Variant] variant_object
|
1011
1159
|
# @param [String] update_mask
|
1012
1160
|
# An optional mask specifying which fields to update. At this time, mutable
|
1013
|
-
# fields are
|
1014
|
-
# genomics.v1.Variant.info]. Acceptable values are "names" and "info". If
|
1161
|
+
# fields are names and info. Acceptable values are "names" and "info". If
|
1015
1162
|
# unspecified, all mutable fields will be updated.
|
1016
1163
|
# @param [String] fields
|
1017
1164
|
# Selector specifying which fields to include in a partial response.
|
@@ -1031,8 +1178,7 @@ module Google
|
|
1031
1178
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1032
1179
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1033
1180
|
def patch_variant(variant_id, variant_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1034
|
-
|
1035
|
-
command = make_simple_command(:patch, path, options)
|
1181
|
+
command = make_simple_command(:patch, 'v1/variants/{variantId}', options)
|
1036
1182
|
command.request_representation = Google::Apis::GenomicsV1::Variant::Representation
|
1037
1183
|
command.request_object = variant_object
|
1038
1184
|
command.response_representation = Google::Apis::GenomicsV1::Variant::Representation
|
@@ -1044,7 +1190,9 @@ module Google
|
|
1044
1190
|
execute_or_queue_command(command, &block)
|
1045
1191
|
end
|
1046
1192
|
|
1047
|
-
# Deletes a variant.
|
1193
|
+
# Deletes a variant. For the definitions of variants and other genomics
|
1194
|
+
# resources, see [Fundamentals of Google Genomics](https://cloud.google.com/
|
1195
|
+
# genomics/fundamentals-of-google-genomics)
|
1048
1196
|
# @param [String] variant_id
|
1049
1197
|
# The ID of the variant to be deleted.
|
1050
1198
|
# @param [String] fields
|
@@ -1065,8 +1213,7 @@ module Google
|
|
1065
1213
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1066
1214
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1067
1215
|
def delete_variant(variant_id, fields: nil, quota_user: nil, options: nil, &block)
|
1068
|
-
|
1069
|
-
command = make_simple_command(:delete, path, options)
|
1216
|
+
command = make_simple_command(:delete, 'v1/variants/{variantId}', options)
|
1070
1217
|
command.response_representation = Google::Apis::GenomicsV1::Empty::Representation
|
1071
1218
|
command.response_class = Google::Apis::GenomicsV1::Empty
|
1072
1219
|
command.params['variantId'] = variant_id unless variant_id.nil?
|
@@ -1075,7 +1222,9 @@ module Google
|
|
1075
1222
|
execute_or_queue_command(command, &block)
|
1076
1223
|
end
|
1077
1224
|
|
1078
|
-
# Gets a variant by ID.
|
1225
|
+
# Gets a variant by ID. For the definitions of variants and other genomics
|
1226
|
+
# resources, see [Fundamentals of Google Genomics](https://cloud.google.com/
|
1227
|
+
# genomics/fundamentals-of-google-genomics)
|
1079
1228
|
# @param [String] variant_id
|
1080
1229
|
# The ID of the variant.
|
1081
1230
|
# @param [String] fields
|
@@ -1096,8 +1245,7 @@ module Google
|
|
1096
1245
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1097
1246
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1098
1247
|
def get_variant(variant_id, fields: nil, quota_user: nil, options: nil, &block)
|
1099
|
-
|
1100
|
-
command = make_simple_command(:get, path, options)
|
1248
|
+
command = make_simple_command(:get, 'v1/variants/{variantId}', options)
|
1101
1249
|
command.response_representation = Google::Apis::GenomicsV1::Variant::Representation
|
1102
1250
|
command.response_class = Google::Apis::GenomicsV1::Variant
|
1103
1251
|
command.params['variantId'] = variant_id unless variant_id.nil?
|
@@ -1106,13 +1254,9 @@ module Google
|
|
1106
1254
|
execute_or_queue_command(command, &block)
|
1107
1255
|
end
|
1108
1256
|
|
1109
|
-
#
|
1110
|
-
#
|
1111
|
-
#
|
1112
|
-
# will be created. When variants are merged, the call information from the new
|
1113
|
-
# variant is added to the existing variant, and other fields (such as key/value
|
1114
|
-
# pairs) are discarded.
|
1115
|
-
# @param [Google::Apis::GenomicsV1::MergeVariantsRequest] merge_variants_request_object
|
1257
|
+
# Returns a stream of all the variants matching the search request, ordered by
|
1258
|
+
# reference name, position, and ID.
|
1259
|
+
# @param [Google::Apis::GenomicsV1::StreamVariantsRequest] stream_variants_request_object
|
1116
1260
|
# @param [String] fields
|
1117
1261
|
# Selector specifying which fields to include in a partial response.
|
1118
1262
|
# @param [String] quota_user
|
@@ -1122,27 +1266,30 @@ module Google
|
|
1122
1266
|
# Request-specific options
|
1123
1267
|
#
|
1124
1268
|
# @yield [result, err] Result & error if block supplied
|
1125
|
-
# @yieldparam result [Google::Apis::GenomicsV1::
|
1269
|
+
# @yieldparam result [Google::Apis::GenomicsV1::StreamVariantsResponse] parsed result object
|
1126
1270
|
# @yieldparam err [StandardError] error object if request failed
|
1127
1271
|
#
|
1128
|
-
# @return [Google::Apis::GenomicsV1::
|
1272
|
+
# @return [Google::Apis::GenomicsV1::StreamVariantsResponse]
|
1129
1273
|
#
|
1130
1274
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1131
1275
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1132
1276
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1133
|
-
def
|
1134
|
-
|
1135
|
-
command =
|
1136
|
-
command.
|
1137
|
-
command.
|
1138
|
-
command.
|
1139
|
-
command.response_class = Google::Apis::GenomicsV1::Empty
|
1277
|
+
def stream_variants(stream_variants_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1278
|
+
command = make_simple_command(:post, 'v1/variants:stream', options)
|
1279
|
+
command.request_representation = Google::Apis::GenomicsV1::StreamVariantsRequest::Representation
|
1280
|
+
command.request_object = stream_variants_request_object
|
1281
|
+
command.response_representation = Google::Apis::GenomicsV1::StreamVariantsResponse::Representation
|
1282
|
+
command.response_class = Google::Apis::GenomicsV1::StreamVariantsResponse
|
1140
1283
|
command.query['fields'] = fields unless fields.nil?
|
1141
1284
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1142
1285
|
execute_or_queue_command(command, &block)
|
1143
1286
|
end
|
1144
1287
|
|
1145
|
-
# Creates a new variant set.
|
1288
|
+
# Creates a new variant set. For the definitions of variant sets and other
|
1289
|
+
# genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.
|
1290
|
+
# com/genomics/fundamentals-of-google-genomics) The provided variant set must
|
1291
|
+
# have a valid `datasetId` set - all other fields are optional. Note that the `
|
1292
|
+
# id` field will be ignored, as this is assigned by the server.
|
1146
1293
|
# @param [Google::Apis::GenomicsV1::VariantSet] variant_set_object
|
1147
1294
|
# @param [String] fields
|
1148
1295
|
# Selector specifying which fields to include in a partial response.
|
@@ -1162,8 +1309,7 @@ module Google
|
|
1162
1309
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1163
1310
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1164
1311
|
def create_variantset(variant_set_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1165
|
-
|
1166
|
-
command = make_simple_command(:post, path, options)
|
1312
|
+
command = make_simple_command(:post, 'v1/variantsets', options)
|
1167
1313
|
command.request_representation = Google::Apis::GenomicsV1::VariantSet::Representation
|
1168
1314
|
command.request_object = variant_set_object
|
1169
1315
|
command.response_representation = Google::Apis::GenomicsV1::VariantSet::Representation
|
@@ -1173,7 +1319,9 @@ module Google
|
|
1173
1319
|
execute_or_queue_command(command, &block)
|
1174
1320
|
end
|
1175
1321
|
|
1176
|
-
# Exports variant set data to an external destination.
|
1322
|
+
# Exports variant set data to an external destination. For the definitions of
|
1323
|
+
# variant sets and other genomics resources, see [Fundamentals of Google
|
1324
|
+
# Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
|
1177
1325
|
# @param [String] variant_set_id
|
1178
1326
|
# Required. The ID of the variant set that contains variant data which should be
|
1179
1327
|
# exported. The caller must have READ access to this variant set.
|
@@ -1196,8 +1344,7 @@ module Google
|
|
1196
1344
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1197
1345
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1198
1346
|
def export_variant_set(variant_set_id, export_variant_set_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1199
|
-
|
1200
|
-
command = make_simple_command(:post, path, options)
|
1347
|
+
command = make_simple_command(:post, 'v1/variantsets/{variantSetId}:export', options)
|
1201
1348
|
command.request_representation = Google::Apis::GenomicsV1::ExportVariantSetRequest::Representation
|
1202
1349
|
command.request_object = export_variant_set_request_object
|
1203
1350
|
command.response_representation = Google::Apis::GenomicsV1::Operation::Representation
|
@@ -1208,7 +1355,9 @@ module Google
|
|
1208
1355
|
execute_or_queue_command(command, &block)
|
1209
1356
|
end
|
1210
1357
|
|
1211
|
-
# Gets a variant set by ID.
|
1358
|
+
# Gets a variant set by ID. For the definitions of variant sets and other
|
1359
|
+
# genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.
|
1360
|
+
# com/genomics/fundamentals-of-google-genomics)
|
1212
1361
|
# @param [String] variant_set_id
|
1213
1362
|
# Required. The ID of the variant set.
|
1214
1363
|
# @param [String] fields
|
@@ -1229,8 +1378,7 @@ module Google
|
|
1229
1378
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1230
1379
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1231
1380
|
def get_variantset(variant_set_id, fields: nil, quota_user: nil, options: nil, &block)
|
1232
|
-
|
1233
|
-
command = make_simple_command(:get, path, options)
|
1381
|
+
command = make_simple_command(:get, 'v1/variantsets/{variantSetId}', options)
|
1234
1382
|
command.response_representation = Google::Apis::GenomicsV1::VariantSet::Representation
|
1235
1383
|
command.response_class = Google::Apis::GenomicsV1::VariantSet
|
1236
1384
|
command.params['variantSetId'] = variant_set_id unless variant_set_id.nil?
|
@@ -1239,9 +1387,11 @@ module Google
|
|
1239
1387
|
execute_or_queue_command(command, &block)
|
1240
1388
|
end
|
1241
1389
|
|
1242
|
-
# Returns a list of all variant sets matching search criteria.
|
1243
|
-
#
|
1244
|
-
#
|
1390
|
+
# Returns a list of all variant sets matching search criteria. For the
|
1391
|
+
# definitions of variant sets and other genomics resources, see [Fundamentals of
|
1392
|
+
# Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-
|
1393
|
+
# genomics) Implements [GlobalAllianceApi.searchVariantSets](https://github.com/
|
1394
|
+
# ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variantmethods.avdl#L49).
|
1245
1395
|
# @param [Google::Apis::GenomicsV1::SearchVariantSetsRequest] search_variant_sets_request_object
|
1246
1396
|
# @param [String] fields
|
1247
1397
|
# Selector specifying which fields to include in a partial response.
|
@@ -1261,8 +1411,7 @@ module Google
|
|
1261
1411
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1262
1412
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1263
1413
|
def search_variant_sets(search_variant_sets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1264
|
-
|
1265
|
-
command = make_simple_command(:post, path, options)
|
1414
|
+
command = make_simple_command(:post, 'v1/variantsets/search', options)
|
1266
1415
|
command.request_representation = Google::Apis::GenomicsV1::SearchVariantSetsRequest::Representation
|
1267
1416
|
command.request_object = search_variant_sets_request_object
|
1268
1417
|
command.response_representation = Google::Apis::GenomicsV1::SearchVariantSetsResponse::Representation
|
@@ -1273,6 +1422,9 @@ module Google
|
|
1273
1422
|
end
|
1274
1423
|
|
1275
1424
|
# Deletes the contents of a variant set. The variant set object is not deleted.
|
1425
|
+
# For the definitions of variant sets and other genomics resources, see [
|
1426
|
+
# Fundamentals of Google Genomics](https://cloud.google.com/genomics/
|
1427
|
+
# fundamentals-of-google-genomics)
|
1276
1428
|
# @param [String] variant_set_id
|
1277
1429
|
# The ID of the variant set to be deleted.
|
1278
1430
|
# @param [String] fields
|
@@ -1293,8 +1445,7 @@ module Google
|
|
1293
1445
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1294
1446
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1295
1447
|
def delete_variantset(variant_set_id, fields: nil, quota_user: nil, options: nil, &block)
|
1296
|
-
|
1297
|
-
command = make_simple_command(:delete, path, options)
|
1448
|
+
command = make_simple_command(:delete, 'v1/variantsets/{variantSetId}', options)
|
1298
1449
|
command.response_representation = Google::Apis::GenomicsV1::Empty::Representation
|
1299
1450
|
command.response_class = Google::Apis::GenomicsV1::Empty
|
1300
1451
|
command.params['variantSetId'] = variant_set_id unless variant_set_id.nil?
|
@@ -1303,15 +1454,16 @@ module Google
|
|
1303
1454
|
execute_or_queue_command(command, &block)
|
1304
1455
|
end
|
1305
1456
|
|
1306
|
-
# Updates a variant set.
|
1457
|
+
# Updates a variant set using patch semantics. For the definitions of variant
|
1458
|
+
# sets and other genomics resources, see [Fundamentals of Google Genomics](https:
|
1459
|
+
# //cloud.google.com/genomics/fundamentals-of-google-genomics)
|
1307
1460
|
# @param [String] variant_set_id
|
1308
1461
|
# The ID of the variant to be updated (must already exist).
|
1309
1462
|
# @param [Google::Apis::GenomicsV1::VariantSet] variant_set_object
|
1310
1463
|
# @param [String] update_mask
|
1311
|
-
# An optional mask specifying which fields to update.
|
1312
|
-
#
|
1313
|
-
#
|
1314
|
-
# updated.
|
1464
|
+
# An optional mask specifying which fields to update. Supported fields: *
|
1465
|
+
# metadata. Leaving `updateMask` unset is equivalent to specifying all mutable
|
1466
|
+
# fields.
|
1315
1467
|
# @param [String] fields
|
1316
1468
|
# Selector specifying which fields to include in a partial response.
|
1317
1469
|
# @param [String] quota_user
|
@@ -1330,8 +1482,7 @@ module Google
|
|
1330
1482
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1331
1483
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1332
1484
|
def patch_variantset(variant_set_id, variant_set_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1333
|
-
|
1334
|
-
command = make_simple_command(:patch, path, options)
|
1485
|
+
command = make_simple_command(:patch, 'v1/variantsets/{variantSetId}', options)
|
1335
1486
|
command.request_representation = Google::Apis::GenomicsV1::VariantSet::Representation
|
1336
1487
|
command.request_object = variant_set_object
|
1337
1488
|
command.response_representation = Google::Apis::GenomicsV1::VariantSet::Representation
|
@@ -1343,9 +1494,11 @@ module Google
|
|
1343
1494
|
execute_or_queue_command(command, &block)
|
1344
1495
|
end
|
1345
1496
|
|
1346
|
-
# Gets a list of call sets matching the criteria.
|
1347
|
-
#
|
1348
|
-
#
|
1497
|
+
# Gets a list of call sets matching the criteria. For the definitions of call
|
1498
|
+
# sets and other genomics resources, see [Fundamentals of Google Genomics](https:
|
1499
|
+
# //cloud.google.com/genomics/fundamentals-of-google-genomics) Implements [
|
1500
|
+
# GlobalAllianceApi.searchCallSets](https://github.com/ga4gh/schemas/blob/v0.5.1/
|
1501
|
+
# src/main/resources/avro/variantmethods.avdl#L178).
|
1349
1502
|
# @param [Google::Apis::GenomicsV1::SearchCallSetsRequest] search_call_sets_request_object
|
1350
1503
|
# @param [String] fields
|
1351
1504
|
# Selector specifying which fields to include in a partial response.
|
@@ -1365,8 +1518,7 @@ module Google
|
|
1365
1518
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1366
1519
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1367
1520
|
def search_call_sets(search_call_sets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1368
|
-
|
1369
|
-
command = make_simple_command(:post, path, options)
|
1521
|
+
command = make_simple_command(:post, 'v1/callsets/search', options)
|
1370
1522
|
command.request_representation = Google::Apis::GenomicsV1::SearchCallSetsRequest::Representation
|
1371
1523
|
command.request_object = search_call_sets_request_object
|
1372
1524
|
command.response_representation = Google::Apis::GenomicsV1::SearchCallSetsResponse::Representation
|
@@ -1376,7 +1528,9 @@ module Google
|
|
1376
1528
|
execute_or_queue_command(command, &block)
|
1377
1529
|
end
|
1378
1530
|
|
1379
|
-
# Creates a new call set.
|
1531
|
+
# Creates a new call set. For the definitions of call sets and other genomics
|
1532
|
+
# resources, see [Fundamentals of Google Genomics](https://cloud.google.com/
|
1533
|
+
# genomics/fundamentals-of-google-genomics)
|
1380
1534
|
# @param [Google::Apis::GenomicsV1::CallSet] call_set_object
|
1381
1535
|
# @param [String] fields
|
1382
1536
|
# Selector specifying which fields to include in a partial response.
|
@@ -1396,8 +1550,7 @@ module Google
|
|
1396
1550
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1397
1551
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1398
1552
|
def create_call_set(call_set_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1399
|
-
|
1400
|
-
command = make_simple_command(:post, path, options)
|
1553
|
+
command = make_simple_command(:post, 'v1/callsets', options)
|
1401
1554
|
command.request_representation = Google::Apis::GenomicsV1::CallSet::Representation
|
1402
1555
|
command.request_object = call_set_object
|
1403
1556
|
command.response_representation = Google::Apis::GenomicsV1::CallSet::Representation
|
@@ -1407,14 +1560,16 @@ module Google
|
|
1407
1560
|
execute_or_queue_command(command, &block)
|
1408
1561
|
end
|
1409
1562
|
|
1410
|
-
# Updates a call set.
|
1563
|
+
# Updates a call set. For the definitions of call sets and other genomics
|
1564
|
+
# resources, see [Fundamentals of Google Genomics](https://cloud.google.com/
|
1565
|
+
# genomics/fundamentals-of-google-genomics) This method supports patch semantics.
|
1411
1566
|
# @param [String] call_set_id
|
1412
1567
|
# The ID of the call set to be updated.
|
1413
1568
|
# @param [Google::Apis::GenomicsV1::CallSet] call_set_object
|
1414
1569
|
# @param [String] update_mask
|
1415
1570
|
# An optional mask specifying which fields to update. At this time, the only
|
1416
|
-
# mutable field is
|
1417
|
-
#
|
1571
|
+
# mutable field is name. The only acceptable value is "name". If unspecified,
|
1572
|
+
# all mutable fields will be updated.
|
1418
1573
|
# @param [String] fields
|
1419
1574
|
# Selector specifying which fields to include in a partial response.
|
1420
1575
|
# @param [String] quota_user
|
@@ -1433,8 +1588,7 @@ module Google
|
|
1433
1588
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1434
1589
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1435
1590
|
def patch_call_set(call_set_id, call_set_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1436
|
-
|
1437
|
-
command = make_simple_command(:patch, path, options)
|
1591
|
+
command = make_simple_command(:patch, 'v1/callsets/{callSetId}', options)
|
1438
1592
|
command.request_representation = Google::Apis::GenomicsV1::CallSet::Representation
|
1439
1593
|
command.request_object = call_set_object
|
1440
1594
|
command.response_representation = Google::Apis::GenomicsV1::CallSet::Representation
|
@@ -1446,7 +1600,9 @@ module Google
|
|
1446
1600
|
execute_or_queue_command(command, &block)
|
1447
1601
|
end
|
1448
1602
|
|
1449
|
-
# Deletes a call set.
|
1603
|
+
# Deletes a call set. For the definitions of call sets and other genomics
|
1604
|
+
# resources, see [Fundamentals of Google Genomics](https://cloud.google.com/
|
1605
|
+
# genomics/fundamentals-of-google-genomics)
|
1450
1606
|
# @param [String] call_set_id
|
1451
1607
|
# The ID of the call set to be deleted.
|
1452
1608
|
# @param [String] fields
|
@@ -1467,8 +1623,7 @@ module Google
|
|
1467
1623
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1468
1624
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1469
1625
|
def delete_call_set(call_set_id, fields: nil, quota_user: nil, options: nil, &block)
|
1470
|
-
|
1471
|
-
command = make_simple_command(:delete, path, options)
|
1626
|
+
command = make_simple_command(:delete, 'v1/callsets/{callSetId}', options)
|
1472
1627
|
command.response_representation = Google::Apis::GenomicsV1::Empty::Representation
|
1473
1628
|
command.response_class = Google::Apis::GenomicsV1::Empty
|
1474
1629
|
command.params['callSetId'] = call_set_id unless call_set_id.nil?
|
@@ -1477,7 +1632,9 @@ module Google
|
|
1477
1632
|
execute_or_queue_command(command, &block)
|
1478
1633
|
end
|
1479
1634
|
|
1480
|
-
# Gets a call set by ID.
|
1635
|
+
# Gets a call set by ID. For the definitions of call sets and other genomics
|
1636
|
+
# resources, see [Fundamentals of Google Genomics](https://cloud.google.com/
|
1637
|
+
# genomics/fundamentals-of-google-genomics)
|
1481
1638
|
# @param [String] call_set_id
|
1482
1639
|
# The ID of the call set.
|
1483
1640
|
# @param [String] fields
|
@@ -1498,8 +1655,7 @@ module Google
|
|
1498
1655
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1499
1656
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1500
1657
|
def get_call_set(call_set_id, fields: nil, quota_user: nil, options: nil, &block)
|
1501
|
-
|
1502
|
-
command = make_simple_command(:get, path, options)
|
1658
|
+
command = make_simple_command(:get, 'v1/callsets/{callSetId}', options)
|
1503
1659
|
command.response_representation = Google::Apis::GenomicsV1::CallSet::Representation
|
1504
1660
|
command.response_class = Google::Apis::GenomicsV1::CallSet
|
1505
1661
|
command.params['callSetId'] = call_set_id unless call_set_id.nil?
|