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
@@ -84,8 +84,7 @@ module Google
|
|
84
84
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
85
85
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
86
86
|
def get_advertiser(role, role_id, advertiser_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
87
|
-
|
88
|
-
command = make_simple_command(:get, path, options)
|
87
|
+
command = make_simple_command(:get, '{role}/{roleId}/advertiser', options)
|
89
88
|
command.response_representation = Google::Apis::GanV1beta1::Advertiser::Representation
|
90
89
|
command.response_class = Google::Apis::GanV1beta1::Advertiser
|
91
90
|
command.params['role'] = role unless role.nil?
|
@@ -149,8 +148,7 @@ module Google
|
|
149
148
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
150
149
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
151
150
|
def list_advertisers(role, role_id, advertiser_category: nil, max_results: nil, min_ninety_day_epc: nil, min_payout_rank: nil, min_seven_day_epc: nil, page_token: nil, relationship_status: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
152
|
-
|
153
|
-
command = make_simple_command(:get, path, options)
|
151
|
+
command = make_simple_command(:get, '{role}/{roleId}/advertisers', options)
|
154
152
|
command.response_representation = Google::Apis::GanV1beta1::Advertisers::Representation
|
155
153
|
command.response_class = Google::Apis::GanV1beta1::Advertisers
|
156
154
|
command.params['role'] = role unless role.nil?
|
@@ -198,8 +196,7 @@ module Google
|
|
198
196
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
199
197
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
200
198
|
def list_cc_offers(publisher, advertiser: nil, projection: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
201
|
-
|
202
|
-
command = make_simple_command(:get, path, options)
|
199
|
+
command = make_simple_command(:get, 'publishers/{publisher}/ccOffers', options)
|
203
200
|
command.response_representation = Google::Apis::GanV1beta1::CcOffers::Representation
|
204
201
|
command.response_class = Google::Apis::GanV1beta1::CcOffers
|
205
202
|
command.params['publisher'] = publisher unless publisher.nil?
|
@@ -287,8 +284,7 @@ module Google
|
|
287
284
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
288
285
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
289
286
|
def list_events(role, role_id, advertiser_id: nil, charge_type: nil, event_date_max: nil, event_date_min: nil, link_id: nil, max_results: nil, member_id: nil, modify_date_max: nil, modify_date_min: nil, order_id: nil, page_token: nil, product_category: nil, publisher_id: nil, sku: nil, status: nil, type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
290
|
-
|
291
|
-
command = make_simple_command(:get, path, options)
|
287
|
+
command = make_simple_command(:get, '{role}/{roleId}/events', options)
|
292
288
|
command.response_representation = Google::Apis::GanV1beta1::Events::Representation
|
293
289
|
command.response_class = Google::Apis::GanV1beta1::Events
|
294
290
|
command.params['role'] = role unless role.nil?
|
@@ -347,8 +343,7 @@ module Google
|
|
347
343
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
348
344
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
349
345
|
def get_link(role, role_id, link_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
350
|
-
|
351
|
-
command = make_simple_command(:get, path, options)
|
346
|
+
command = make_simple_command(:get, '{role}/{roleId}/link/{linkId}', options)
|
352
347
|
command.response_representation = Google::Apis::GanV1beta1::Link::Representation
|
353
348
|
command.response_class = Google::Apis::GanV1beta1::Link
|
354
349
|
command.params['role'] = role unless role.nil?
|
@@ -388,8 +383,7 @@ module Google
|
|
388
383
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
389
384
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
390
385
|
def insert_link(role, role_id, link_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
391
|
-
|
392
|
-
command = make_simple_command(:post, path, options)
|
386
|
+
command = make_simple_command(:post, '{role}/{roleId}/link', options)
|
393
387
|
command.request_representation = Google::Apis::GanV1beta1::Link::Representation
|
394
388
|
command.request_object = link_object
|
395
389
|
command.response_representation = Google::Apis::GanV1beta1::Link::Representation
|
@@ -456,8 +450,7 @@ module Google
|
|
456
450
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
457
451
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
458
452
|
def list_links(role, role_id, advertiser_id: nil, asset_size: nil, authorship: nil, create_date_max: nil, create_date_min: nil, link_type: nil, max_results: nil, page_token: nil, promotion_type: nil, relationship_status: nil, search_text: nil, start_date_max: nil, start_date_min: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
459
|
-
|
460
|
-
command = make_simple_command(:get, path, options)
|
453
|
+
command = make_simple_command(:get, '{role}/{roleId}/links', options)
|
461
454
|
command.response_representation = Google::Apis::GanV1beta1::Links::Representation
|
462
455
|
command.response_class = Google::Apis::GanV1beta1::Links
|
463
456
|
command.params['role'] = role unless role.nil?
|
@@ -513,8 +506,7 @@ module Google
|
|
513
506
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
514
507
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
515
508
|
def get_publisher(role, role_id, publisher_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
516
|
-
|
517
|
-
command = make_simple_command(:get, path, options)
|
509
|
+
command = make_simple_command(:get, '{role}/{roleId}/publisher', options)
|
518
510
|
command.response_representation = Google::Apis::GanV1beta1::Publisher::Representation
|
519
511
|
command.response_class = Google::Apis::GanV1beta1::Publisher
|
520
512
|
command.params['role'] = role unless role.nil?
|
@@ -578,8 +570,7 @@ module Google
|
|
578
570
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
579
571
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
580
572
|
def list_publishers(role, role_id, max_results: nil, min_ninety_day_epc: nil, min_payout_rank: nil, min_seven_day_epc: nil, page_token: nil, publisher_category: nil, relationship_status: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
581
|
-
|
582
|
-
command = make_simple_command(:get, path, options)
|
573
|
+
command = make_simple_command(:get, '{role}/{roleId}/publishers', options)
|
583
574
|
command.response_representation = Google::Apis::GanV1beta1::Publishers::Representation
|
584
575
|
command.response_class = Google::Apis::GanV1beta1::Publishers
|
585
576
|
command.params['role'] = role unless role.nil?
|
@@ -655,8 +646,7 @@ module Google
|
|
655
646
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
656
647
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
657
648
|
def get_report(role, role_id, report_type, advertiser_id: nil, calculate_totals: nil, end_date: nil, event_type: nil, link_id: nil, max_results: nil, order_id: nil, publisher_id: nil, start_date: nil, start_index: nil, status: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
658
|
-
|
659
|
-
command = make_simple_command(:get, path, options)
|
649
|
+
command = make_simple_command(:get, '{role}/{roleId}/report/{reportType}', options)
|
660
650
|
command.response_representation = Google::Apis::GanV1beta1::Report::Representation
|
661
651
|
command.response_class = Google::Apis::GanV1beta1::Report
|
662
652
|
command.params['role'] = role unless role.nil?
|
@@ -20,13 +20,15 @@ module Google
|
|
20
20
|
module Apis
|
21
21
|
# Genomics API
|
22
22
|
#
|
23
|
-
# An API to store, process, explore, and share
|
24
|
-
# based
|
23
|
+
# An API to store, process, explore, and share genomic data. It supports
|
24
|
+
# reference-based alignements, genetic variants, and reference genomes. This API
|
25
|
+
# provides an implementation of the Global Alliance for Genomics and Health (
|
26
|
+
# GA4GH) v0.5.1 API as well as several extensions.
|
25
27
|
#
|
26
28
|
# @see
|
27
29
|
module GenomicsV1
|
28
30
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
31
|
+
REVISION = '20151215'
|
30
32
|
|
31
33
|
# View and manage your data in Google BigQuery
|
32
34
|
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
@@ -49,7 +49,9 @@ module Google
|
|
49
49
|
end
|
50
50
|
end
|
51
51
|
|
52
|
-
# A Dataset is a collection of genomic data.
|
52
|
+
# A Dataset is a collection of genomic data. For more genomics resource
|
53
|
+
# definitions, see [Fundamentals of Google Genomics](https://cloud.google.com/
|
54
|
+
# genomics/fundamentals-of-google-genomics)
|
53
55
|
class Dataset
|
54
56
|
include Google::Apis::Core::Hashable
|
55
57
|
|
@@ -116,6 +118,175 @@ module Google
|
|
116
118
|
end
|
117
119
|
end
|
118
120
|
|
121
|
+
# Request message for `SetIamPolicy` method.
|
122
|
+
class SetIamPolicyRequest
|
123
|
+
include Google::Apis::Core::Hashable
|
124
|
+
|
125
|
+
# Defines an Identity and Access Management (IAM) policy. It is used to specify
|
126
|
+
# access control policies for Cloud Platform resources. A `Policy` consists of a
|
127
|
+
# list of `bindings`. A `Binding` binds a list of `members` to a `role`, where
|
128
|
+
# the members can be user accounts, Google groups, Google domains, and service
|
129
|
+
# accounts. A `role` is a named list of permissions defined by IAM. **Example** `
|
130
|
+
# "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com", "
|
131
|
+
# group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@
|
132
|
+
# appspot.gserviceaccount.com"] `, ` "role": "roles/viewer", "members": ["user:
|
133
|
+
# sean@example.com"] ` ] ` For a description of IAM and its features, see the [
|
134
|
+
# IAM developer's guide](https://cloud.google.com/iam).
|
135
|
+
# Corresponds to the JSON property `policy`
|
136
|
+
# @return [Google::Apis::GenomicsV1::Policy]
|
137
|
+
attr_accessor :policy
|
138
|
+
|
139
|
+
def initialize(**args)
|
140
|
+
update!(**args)
|
141
|
+
end
|
142
|
+
|
143
|
+
# Update properties of this object
|
144
|
+
def update!(**args)
|
145
|
+
@policy = args[:policy] unless args[:policy].nil?
|
146
|
+
end
|
147
|
+
end
|
148
|
+
|
149
|
+
# Defines an Identity and Access Management (IAM) policy. It is used to specify
|
150
|
+
# access control policies for Cloud Platform resources. A `Policy` consists of a
|
151
|
+
# list of `bindings`. A `Binding` binds a list of `members` to a `role`, where
|
152
|
+
# the members can be user accounts, Google groups, Google domains, and service
|
153
|
+
# accounts. A `role` is a named list of permissions defined by IAM. **Example** `
|
154
|
+
# "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com", "
|
155
|
+
# group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@
|
156
|
+
# appspot.gserviceaccount.com"] `, ` "role": "roles/viewer", "members": ["user:
|
157
|
+
# sean@example.com"] ` ] ` For a description of IAM and its features, see the [
|
158
|
+
# IAM developer's guide](https://cloud.google.com/iam).
|
159
|
+
class Policy
|
160
|
+
include Google::Apis::Core::Hashable
|
161
|
+
|
162
|
+
# Version of the `Policy`. The default version is 0.
|
163
|
+
# Corresponds to the JSON property `version`
|
164
|
+
# @return [Fixnum]
|
165
|
+
attr_accessor :version
|
166
|
+
|
167
|
+
# Associates a list of `members` to a `role`. Multiple `bindings` must not be
|
168
|
+
# specified for the same `role`. `bindings` with no members will result in an
|
169
|
+
# error.
|
170
|
+
# Corresponds to the JSON property `bindings`
|
171
|
+
# @return [Array<Google::Apis::GenomicsV1::Binding>]
|
172
|
+
attr_accessor :bindings
|
173
|
+
|
174
|
+
# `etag` is used for optimistic concurrency control as a way to help prevent
|
175
|
+
# simultaneous updates of a policy from overwriting each other. It is strongly
|
176
|
+
# suggested that systems make use of the `etag` in the read-modify-write cycle
|
177
|
+
# to perform policy updates in order to avoid race conditions: An `etag` is
|
178
|
+
# returned in the response to `getIamPolicy`, and systems are expected to put
|
179
|
+
# that etag in the request to `setIamPolicy` to ensure that their change will be
|
180
|
+
# applied to the same version of the policy. If no `etag` is provided in the
|
181
|
+
# call to `setIamPolicy`, then the existing policy is overwritten blindly.
|
182
|
+
# Corresponds to the JSON property `etag`
|
183
|
+
# @return [String]
|
184
|
+
attr_accessor :etag
|
185
|
+
|
186
|
+
def initialize(**args)
|
187
|
+
update!(**args)
|
188
|
+
end
|
189
|
+
|
190
|
+
# Update properties of this object
|
191
|
+
def update!(**args)
|
192
|
+
@version = args[:version] unless args[:version].nil?
|
193
|
+
@bindings = args[:bindings] unless args[:bindings].nil?
|
194
|
+
@etag = args[:etag] unless args[:etag].nil?
|
195
|
+
end
|
196
|
+
end
|
197
|
+
|
198
|
+
# Associates `members` with a `role`.
|
199
|
+
class Binding
|
200
|
+
include Google::Apis::Core::Hashable
|
201
|
+
|
202
|
+
# Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
|
203
|
+
# , or `roles/owner`. Required
|
204
|
+
# Corresponds to the JSON property `role`
|
205
|
+
# @return [String]
|
206
|
+
attr_accessor :role
|
207
|
+
|
208
|
+
# Specifies the identities requesting access for a Cloud Platform resource. `
|
209
|
+
# members` can have the following values: * `allUsers`: A special identifier
|
210
|
+
# that represents anyone who is on the internet; with or without a Google
|
211
|
+
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
212
|
+
# anyone who is authenticated with a Google account or a service account. * `
|
213
|
+
# user:`emailid``: An email address that represents a specific Google account.
|
214
|
+
# For example, `alice@gmail.com` or `joe@example.com`. * `serviceAccount:`
|
215
|
+
# emailid``: An email address that represents a service account. For example, `
|
216
|
+
# my-other-app@appspot.gserviceaccount.com`. * `group:`emailid``: An email
|
217
|
+
# address that represents a Google group. For example, `admins@example.com`. * `
|
218
|
+
# domain:`domain``: A Google Apps domain name that represents all the users of
|
219
|
+
# that domain. For example, `google.com` or `example.com`.
|
220
|
+
# Corresponds to the JSON property `members`
|
221
|
+
# @return [Array<String>]
|
222
|
+
attr_accessor :members
|
223
|
+
|
224
|
+
def initialize(**args)
|
225
|
+
update!(**args)
|
226
|
+
end
|
227
|
+
|
228
|
+
# Update properties of this object
|
229
|
+
def update!(**args)
|
230
|
+
@role = args[:role] unless args[:role].nil?
|
231
|
+
@members = args[:members] unless args[:members].nil?
|
232
|
+
end
|
233
|
+
end
|
234
|
+
|
235
|
+
# Request message for `GetIamPolicy` method.
|
236
|
+
class GetIamPolicyRequest
|
237
|
+
include Google::Apis::Core::Hashable
|
238
|
+
|
239
|
+
def initialize(**args)
|
240
|
+
update!(**args)
|
241
|
+
end
|
242
|
+
|
243
|
+
# Update properties of this object
|
244
|
+
def update!(**args)
|
245
|
+
end
|
246
|
+
end
|
247
|
+
|
248
|
+
# Request message for `TestIamPermissions` method.
|
249
|
+
class TestIamPermissionsRequest
|
250
|
+
include Google::Apis::Core::Hashable
|
251
|
+
|
252
|
+
# REQUIRED: The set of permissions to check for the 'resource'. Permissions with
|
253
|
+
# wildcards (such as '*' or 'storage.*') are not allowed. Allowed permissions
|
254
|
+
# are: * `genomics.datasets.create` * `genomics.datasets.delete` * `genomics.
|
255
|
+
# datasets.get` * `genomics.datasets.list` * `genomics.datasets.update` * `
|
256
|
+
# genomics.datasets.getIamPolicy` * `genomics.datasets.setIamPolicy`
|
257
|
+
# Corresponds to the JSON property `permissions`
|
258
|
+
# @return [Array<String>]
|
259
|
+
attr_accessor :permissions
|
260
|
+
|
261
|
+
def initialize(**args)
|
262
|
+
update!(**args)
|
263
|
+
end
|
264
|
+
|
265
|
+
# Update properties of this object
|
266
|
+
def update!(**args)
|
267
|
+
@permissions = args[:permissions] unless args[:permissions].nil?
|
268
|
+
end
|
269
|
+
end
|
270
|
+
|
271
|
+
# Response message for `TestIamPermissions` method.
|
272
|
+
class TestIamPermissionsResponse
|
273
|
+
include Google::Apis::Core::Hashable
|
274
|
+
|
275
|
+
# A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
|
276
|
+
# Corresponds to the JSON property `permissions`
|
277
|
+
# @return [Array<String>]
|
278
|
+
attr_accessor :permissions
|
279
|
+
|
280
|
+
def initialize(**args)
|
281
|
+
update!(**args)
|
282
|
+
end
|
283
|
+
|
284
|
+
# Update properties of this object
|
285
|
+
def update!(**args)
|
286
|
+
@permissions = args[:permissions] unless args[:permissions].nil?
|
287
|
+
end
|
288
|
+
end
|
289
|
+
|
119
290
|
# This resource represents a long-running operation that is the result of a
|
120
291
|
# network API call.
|
121
292
|
class Operation
|
@@ -128,14 +299,13 @@ module Google
|
|
128
299
|
# @return [String]
|
129
300
|
attr_accessor :name
|
130
301
|
|
131
|
-
# An
|
132
|
-
# always be returned with the [Operation][google.longrunning.Operation].
|
302
|
+
# An OperationMetadata object. This will always be returned with the Operation.
|
133
303
|
# Corresponds to the JSON property `metadata`
|
134
304
|
# @return [Hash<String,Object>]
|
135
305
|
attr_accessor :metadata
|
136
306
|
|
137
307
|
# If the value is `false`, it means the operation is still in progress. If true,
|
138
|
-
# the operation is completed and
|
308
|
+
# the operation is completed, and either `error` or `response` is available.
|
139
309
|
# Corresponds to the JSON property `done`
|
140
310
|
# @return [Boolean]
|
141
311
|
attr_accessor :done
|
@@ -146,42 +316,40 @@ module Google
|
|
146
316
|
# gRPC](https://github.com/grpc). The error model is designed to be: - Simple to
|
147
317
|
# use and understand for most users - Flexible enough to meet unexpected needs #
|
148
318
|
# Overview The `Status` message contains three pieces of data: error code, error
|
149
|
-
# message, and error details. The error code should be an enum value of
|
150
|
-
# rpc.Code
|
151
|
-
#
|
152
|
-
#
|
153
|
-
#
|
154
|
-
#
|
155
|
-
#
|
156
|
-
#
|
157
|
-
#
|
158
|
-
#
|
159
|
-
#
|
160
|
-
#
|
161
|
-
#
|
162
|
-
#
|
163
|
-
#
|
164
|
-
#
|
165
|
-
#
|
166
|
-
#
|
167
|
-
#
|
168
|
-
#
|
169
|
-
#
|
170
|
-
#
|
171
|
-
#
|
172
|
-
#
|
173
|
-
#
|
174
|
-
#
|
175
|
-
#
|
319
|
+
# message, and error details. The error code should be an enum value of google.
|
320
|
+
# rpc.Code, but it may accept additional error codes if needed. The error
|
321
|
+
# message should be a developer-facing English message that helps developers *
|
322
|
+
# understand* and *resolve* the error. If a localized user-facing error message
|
323
|
+
# is needed, put the localized message in the error details or localize it in
|
324
|
+
# the client. The optional error details may contain arbitrary information about
|
325
|
+
# the error. There is a predefined set of error detail types in the package `
|
326
|
+
# google.rpc` which can be used for common error conditions. # Language mapping
|
327
|
+
# The `Status` message is the logical representation of the error model, but it
|
328
|
+
# is not necessarily the actual wire format. When the `Status` message is
|
329
|
+
# exposed in different client libraries and different wire protocols, it can be
|
330
|
+
# mapped differently. For example, it will likely be mapped to some exceptions
|
331
|
+
# in Java, but more likely mapped to some error codes in C. # Other uses The
|
332
|
+
# error model and the `Status` message can be used in a variety of environments,
|
333
|
+
# either with or without APIs, to provide a consistent developer experience
|
334
|
+
# across different environments. Example uses of this error model include: -
|
335
|
+
# Partial errors. If a service needs to return partial errors to the client, it
|
336
|
+
# may embed the `Status` in the normal response to indicate the partial errors. -
|
337
|
+
# Workflow errors. A typical workflow has multiple steps. Each step may have a `
|
338
|
+
# Status` message for error reporting purpose. - Batch operations. If a client
|
339
|
+
# uses batch request and batch response, the `Status` message should be used
|
340
|
+
# directly inside batch response, one for each error sub-response. -
|
341
|
+
# Asynchronous operations. If an API call embeds asynchronous operation results
|
342
|
+
# in its response, the status of those operations should be represented directly
|
343
|
+
# using the `Status` message. - Logging. If some API errors are stored in logs,
|
344
|
+
# the message `Status` could be used directly after any stripping needed for
|
345
|
+
# security/privacy reasons.
|
176
346
|
# Corresponds to the JSON property `error`
|
177
347
|
# @return [Google::Apis::GenomicsV1::Status]
|
178
348
|
attr_accessor :error
|
179
349
|
|
180
|
-
# If importing
|
181
|
-
#
|
182
|
-
# is returned.
|
183
|
-
# ImportVariantsResponse][google.genomics.v1.ImportVariantsResponse] is returned.
|
184
|
-
# For exports, an empty response is returned.
|
350
|
+
# If importing ReadGroupSets, an ImportReadGroupSetsResponse is returned. If
|
351
|
+
# importing Variants, an ImportVariantsResponse is returned. For exports, an
|
352
|
+
# empty response is returned.
|
185
353
|
# Corresponds to the JSON property `response`
|
186
354
|
# @return [Hash<String,Object>]
|
187
355
|
attr_accessor :response
|
@@ -205,45 +373,44 @@ module Google
|
|
205
373
|
# gRPC](https://github.com/grpc). The error model is designed to be: - Simple to
|
206
374
|
# use and understand for most users - Flexible enough to meet unexpected needs #
|
207
375
|
# Overview The `Status` message contains three pieces of data: error code, error
|
208
|
-
# message, and error details. The error code should be an enum value of
|
209
|
-
# rpc.Code
|
210
|
-
#
|
211
|
-
#
|
212
|
-
#
|
213
|
-
#
|
214
|
-
#
|
215
|
-
#
|
216
|
-
#
|
217
|
-
#
|
218
|
-
#
|
219
|
-
#
|
220
|
-
#
|
221
|
-
#
|
222
|
-
#
|
223
|
-
#
|
224
|
-
#
|
225
|
-
#
|
226
|
-
#
|
227
|
-
#
|
228
|
-
#
|
229
|
-
#
|
230
|
-
#
|
231
|
-
#
|
232
|
-
#
|
233
|
-
#
|
234
|
-
#
|
376
|
+
# message, and error details. The error code should be an enum value of google.
|
377
|
+
# rpc.Code, but it may accept additional error codes if needed. The error
|
378
|
+
# message should be a developer-facing English message that helps developers *
|
379
|
+
# understand* and *resolve* the error. If a localized user-facing error message
|
380
|
+
# is needed, put the localized message in the error details or localize it in
|
381
|
+
# the client. The optional error details may contain arbitrary information about
|
382
|
+
# the error. There is a predefined set of error detail types in the package `
|
383
|
+
# google.rpc` which can be used for common error conditions. # Language mapping
|
384
|
+
# The `Status` message is the logical representation of the error model, but it
|
385
|
+
# is not necessarily the actual wire format. When the `Status` message is
|
386
|
+
# exposed in different client libraries and different wire protocols, it can be
|
387
|
+
# mapped differently. For example, it will likely be mapped to some exceptions
|
388
|
+
# in Java, but more likely mapped to some error codes in C. # Other uses The
|
389
|
+
# error model and the `Status` message can be used in a variety of environments,
|
390
|
+
# either with or without APIs, to provide a consistent developer experience
|
391
|
+
# across different environments. Example uses of this error model include: -
|
392
|
+
# Partial errors. If a service needs to return partial errors to the client, it
|
393
|
+
# may embed the `Status` in the normal response to indicate the partial errors. -
|
394
|
+
# Workflow errors. A typical workflow has multiple steps. Each step may have a `
|
395
|
+
# Status` message for error reporting purpose. - Batch operations. If a client
|
396
|
+
# uses batch request and batch response, the `Status` message should be used
|
397
|
+
# directly inside batch response, one for each error sub-response. -
|
398
|
+
# Asynchronous operations. If an API call embeds asynchronous operation results
|
399
|
+
# in its response, the status of those operations should be represented directly
|
400
|
+
# using the `Status` message. - Logging. If some API errors are stored in logs,
|
401
|
+
# the message `Status` could be used directly after any stripping needed for
|
402
|
+
# security/privacy reasons.
|
235
403
|
class Status
|
236
404
|
include Google::Apis::Core::Hashable
|
237
405
|
|
238
|
-
# The status code, which should be an enum value of
|
239
|
-
# Code].
|
406
|
+
# The status code, which should be an enum value of google.rpc.Code.
|
240
407
|
# Corresponds to the JSON property `code`
|
241
408
|
# @return [Fixnum]
|
242
409
|
attr_accessor :code
|
243
410
|
|
244
411
|
# A developer-facing error message, which should be in English. Any user-facing
|
245
|
-
# error message should be localized and sent in the
|
246
|
-
#
|
412
|
+
# error message should be localized and sent in the google.rpc.Status.details
|
413
|
+
# field, or localized by the client.
|
247
414
|
# Corresponds to the JSON property `message`
|
248
415
|
# @return [String]
|
249
416
|
attr_accessor :message
|
@@ -266,8 +433,7 @@ module Google
|
|
266
433
|
end
|
267
434
|
end
|
268
435
|
|
269
|
-
# The response message for
|
270
|
-
# Operations.ListOperations].
|
436
|
+
# The response message for Operations.ListOperations.
|
271
437
|
class ListOperationsResponse
|
272
438
|
include Google::Apis::Core::Hashable
|
273
439
|
|
@@ -292,8 +458,7 @@ module Google
|
|
292
458
|
end
|
293
459
|
end
|
294
460
|
|
295
|
-
# The request message for
|
296
|
-
# Operations.CancelOperation].
|
461
|
+
# The request message for Operations.CancelOperation.
|
297
462
|
class CancelOperationRequest
|
298
463
|
include Google::Apis::Core::Hashable
|
299
464
|
|
@@ -324,7 +489,8 @@ module Google
|
|
324
489
|
# @return [String]
|
325
490
|
attr_accessor :reference_set_id
|
326
491
|
|
327
|
-
# A list of URIs pointing at BAM files
|
492
|
+
# A list of URIs pointing at [BAM files](https://samtools.github.io/hts-specs/
|
493
|
+
# SAMv1.pdf) in Google Cloud Storage.
|
328
494
|
# Corresponds to the JSON property `sourceUris`
|
329
495
|
# @return [Array<String>]
|
330
496
|
attr_accessor :source_uris
|
@@ -352,7 +518,8 @@ module Google
|
|
352
518
|
class ExportReadGroupSetRequest
|
353
519
|
include Google::Apis::Core::Hashable
|
354
520
|
|
355
|
-
# Required. The Google Developers Console project ID that owns this export.
|
521
|
+
# Required. The Google Developers Console project ID that owns this export. The
|
522
|
+
# caller must have WRITE access to this project.
|
356
523
|
# Corresponds to the JSON property `projectId`
|
357
524
|
# @return [String]
|
358
525
|
attr_accessor :project_id
|
@@ -406,8 +573,8 @@ module Google
|
|
406
573
|
# @return [String]
|
407
574
|
attr_accessor :page_token
|
408
575
|
|
409
|
-
#
|
410
|
-
#
|
576
|
+
# The maximum number of results to return in a single page. If unspecified,
|
577
|
+
# defaults to 256. The maximum value is 1024.
|
411
578
|
# Corresponds to the JSON property `pageSize`
|
412
579
|
# @return [Fixnum]
|
413
580
|
attr_accessor :page_size
|
@@ -456,7 +623,9 @@ module Google
|
|
456
623
|
# of reads produced by a sequencer. A read group set typically models reads
|
457
624
|
# corresponding to one sample, sequenced one way, and aligned one way. * A read
|
458
625
|
# group set belongs to one dataset. * A read group belongs to one read group set.
|
459
|
-
# * A read belongs to one read group.
|
626
|
+
# * A read belongs to one read group. For more genomics resource definitions,
|
627
|
+
# see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/
|
628
|
+
# fundamentals-of-google-genomics)
|
460
629
|
class ReadGroupSet
|
461
630
|
include Google::Apis::Core::Hashable
|
462
631
|
|
@@ -465,12 +634,12 @@ module Google
|
|
465
634
|
# @return [String]
|
466
635
|
attr_accessor :id
|
467
636
|
|
468
|
-
# The dataset
|
637
|
+
# The dataset to which this read group set belongs.
|
469
638
|
# Corresponds to the JSON property `datasetId`
|
470
639
|
# @return [String]
|
471
640
|
attr_accessor :dataset_id
|
472
641
|
|
473
|
-
# The reference set the reads in this read group set are aligned
|
642
|
+
# The reference set to which the reads in this read group set are aligned.
|
474
643
|
# Corresponds to the JSON property `referenceSetId`
|
475
644
|
# @return [String]
|
476
645
|
attr_accessor :reference_set_id
|
@@ -518,13 +687,12 @@ module Google
|
|
518
687
|
include Google::Apis::Core::Hashable
|
519
688
|
|
520
689
|
# The server-generated read group ID, unique for all read groups. Note: This is
|
521
|
-
# different than the
|
522
|
-
# name` field.
|
690
|
+
# different than the @RG ID field in the SAM spec. For that value, see name.
|
523
691
|
# Corresponds to the JSON property `id`
|
524
692
|
# @return [String]
|
525
693
|
attr_accessor :id
|
526
694
|
|
527
|
-
# The
|
695
|
+
# The dataset to which this read group belongs.
|
528
696
|
# Corresponds to the JSON property `datasetId`
|
529
697
|
# @return [String]
|
530
698
|
attr_accessor :dataset_id
|
@@ -539,9 +707,7 @@ module Google
|
|
539
707
|
# @return [String]
|
540
708
|
attr_accessor :description
|
541
709
|
|
542
|
-
#
|
543
|
-
# actual ID within this repository, but rather an identifier for a sample which
|
544
|
-
# may be meaningful to some external system.
|
710
|
+
# A client-supplied sample identifier for the reads in this read group.
|
545
711
|
# Corresponds to the JSON property `sampleId`
|
546
712
|
# @return [String]
|
547
713
|
attr_accessor :sample_id
|
@@ -564,8 +730,7 @@ module Google
|
|
564
730
|
# @return [Array<Google::Apis::GenomicsV1::Program>]
|
565
731
|
attr_accessor :programs
|
566
732
|
|
567
|
-
# The reference set the reads in this read group are aligned to.
|
568
|
-
# there are any read alignments.
|
733
|
+
# The reference set the reads in this read group are aligned to.
|
569
734
|
# Corresponds to the JSON property `referenceSetId`
|
570
735
|
# @return [String]
|
571
736
|
attr_accessor :reference_set_id
|
@@ -599,16 +764,17 @@ module Google
|
|
599
764
|
class Experiment
|
600
765
|
include Google::Apis::Core::Hashable
|
601
766
|
|
602
|
-
#
|
603
|
-
#
|
604
|
-
#
|
767
|
+
# A client-supplied library identifier; a library is a collection of DNA
|
768
|
+
# fragments which have been prepared for sequencing from a sample. This field is
|
769
|
+
# important for quality control as error or bias can be introduced during sample
|
770
|
+
# preparation.
|
605
771
|
# Corresponds to the JSON property `libraryId`
|
606
772
|
# @return [String]
|
607
773
|
attr_accessor :library_id
|
608
774
|
|
609
|
-
# The platform unit used as part of this experiment
|
610
|
-
# for Illumina or slide for SOLiD. Corresponds to the @RG PU field
|
611
|
-
# spec.
|
775
|
+
# The platform unit used as part of this experiment, for example flowcell-
|
776
|
+
# barcode.lane for Illumina or slide for SOLiD. Corresponds to the @RG PU field
|
777
|
+
# in the SAM spec.
|
612
778
|
# Corresponds to the JSON property `platformUnit`
|
613
779
|
# @return [String]
|
614
780
|
attr_accessor :platform_unit
|
@@ -619,7 +785,7 @@ module Google
|
|
619
785
|
attr_accessor :sequencing_center
|
620
786
|
|
621
787
|
# The instrument model used as part of this experiment. This maps to sequencing
|
622
|
-
# technology in
|
788
|
+
# technology in the SAM spec.
|
623
789
|
# Corresponds to the JSON property `instrumentModel`
|
624
790
|
# @return [String]
|
625
791
|
attr_accessor :instrument_model
|
@@ -652,7 +818,8 @@ module Google
|
|
652
818
|
# @return [String]
|
653
819
|
attr_accessor :id
|
654
820
|
|
655
|
-
# The name of the program.
|
821
|
+
# The display name of the program. This is typically the colloquial name of the
|
822
|
+
# tool used, for example 'bwa' or 'picard'.
|
656
823
|
# Corresponds to the JSON property `name`
|
657
824
|
# @return [String]
|
658
825
|
attr_accessor :name
|
@@ -797,8 +964,9 @@ module Google
|
|
797
964
|
# @return [Array<String>]
|
798
965
|
attr_accessor :read_group_ids
|
799
966
|
|
800
|
-
# The reference sequence name, for example `chr1`, `1`, or `chrX`. If set to
|
801
|
-
# only unmapped reads are returned.
|
967
|
+
# The reference sequence name, for example `chr1`, `1`, or `chrX`. If set to `*`,
|
968
|
+
# only unmapped reads are returned. If unspecified, all reads (mapped and
|
969
|
+
# unmapped) are returned.
|
802
970
|
# Corresponds to the JSON property `referenceName`
|
803
971
|
# @return [String]
|
804
972
|
attr_accessor :reference_name
|
@@ -822,8 +990,8 @@ module Google
|
|
822
990
|
# @return [String]
|
823
991
|
attr_accessor :page_token
|
824
992
|
|
825
|
-
#
|
826
|
-
#
|
993
|
+
# The maximum number of results to return in a single page. If unspecified,
|
994
|
+
# defaults to 256. The maximum value is 2048.
|
827
995
|
# Corresponds to the JSON property `pageSize`
|
828
996
|
# @return [Fixnum]
|
829
997
|
attr_accessor :page_size
|
@@ -850,7 +1018,7 @@ module Google
|
|
850
1018
|
|
851
1019
|
# The list of matching alignments sorted by mapped genomic coordinate, if any,
|
852
1020
|
# ascending in position within the same reference. Unmapped reads, which have no
|
853
|
-
# position, are returned
|
1021
|
+
# position, are returned contiguously and are sorted in ascending lexicographic
|
854
1022
|
# order by fragment name.
|
855
1023
|
# Corresponds to the JSON property `alignments`
|
856
1024
|
# @return [Array<Google::Apis::GenomicsV1::Read>]
|
@@ -874,17 +1042,31 @@ module Google
|
|
874
1042
|
end
|
875
1043
|
end
|
876
1044
|
|
877
|
-
# A read alignment describes a linear alignment of a string of DNA to a
|
878
|
-
# reference sequence
|
879
|
-
#
|
880
|
-
#
|
881
|
-
#
|
882
|
-
# [google.genomics
|
883
|
-
#
|
884
|
-
#
|
885
|
-
#
|
886
|
-
#
|
887
|
-
#
|
1045
|
+
# A read alignment describes a linear alignment of a string of DNA to a
|
1046
|
+
# reference sequence, in addition to metadata about the fragment (the molecule
|
1047
|
+
# of DNA sequenced) and the read (the bases which were read by the sequencer). A
|
1048
|
+
# read is equivalent to a line in a SAM file. A read belongs to exactly one read
|
1049
|
+
# group and exactly one read group set. For more genomics resource definitions,
|
1050
|
+
# see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/
|
1051
|
+
# fundamentals-of-google-genomics) ### Reverse-stranded reads Mapped reads (
|
1052
|
+
# reads having a non-null `alignment`) can be aligned to either the forward or
|
1053
|
+
# the reverse strand of their associated reference. Strandedness of a mapped
|
1054
|
+
# read is encoded by `alignment.position.reverseStrand`. If we consider the
|
1055
|
+
# reference to be a forward-stranded coordinate space of `[0, reference.length)`
|
1056
|
+
# with `0` as the left-most position and `reference.length` as the right-most
|
1057
|
+
# position, reads are always aligned left to right. That is, `alignment.position.
|
1058
|
+
# position` always refers to the left-most reference coordinate and `alignment.
|
1059
|
+
# cigar` describes the alignment of this read to the reference from left to
|
1060
|
+
# right. All per-base fields such as `alignedSequence` and `alignedQuality`
|
1061
|
+
# share this same left-to-right orientation; this is true of reads which are
|
1062
|
+
# aligned to either strand. For reverse-stranded reads, this means that `
|
1063
|
+
# alignedSequence` is the reverse complement of the bases that were originally
|
1064
|
+
# reported by the sequencing machine. ### Generating a reference-aligned
|
1065
|
+
# sequence string When interacting with mapped reads, it's often useful to
|
1066
|
+
# produce a string representing the local alignment of the read to reference.
|
1067
|
+
# The following pseudocode demonstrates one way of doing this: out = "" offset =
|
1068
|
+
# 0 for c in read.alignment.cigar ` switch c.operation ` case "ALIGNMENT_MATCH",
|
1069
|
+
# "SEQUENCE_MATCH", "SEQUENCE_MISMATCH": out += read.alignedSequence[offset:
|
888
1070
|
# offset+c.operationLength] offset += c.operationLength break case "CLIP_SOFT", "
|
889
1071
|
# INSERT": offset += c.operationLength break case "PAD": out += repeat("*", c.
|
890
1072
|
# operationLength) break case "DELETE": out += repeat("-", c.operationLength)
|
@@ -905,14 +1087,15 @@ module Google
|
|
905
1087
|
# @return [String]
|
906
1088
|
attr_accessor :id
|
907
1089
|
|
908
|
-
# The ID of the read group this read belongs to.
|
909
|
-
#
|
1090
|
+
# The ID of the read group this read belongs to. A read belongs to exactly one
|
1091
|
+
# read group. This is a server-generated ID which is distinct from SAM's RG tag (
|
1092
|
+
# for that value, see ReadGroup.name).
|
910
1093
|
# Corresponds to the JSON property `readGroupId`
|
911
1094
|
# @return [String]
|
912
1095
|
attr_accessor :read_group_id
|
913
1096
|
|
914
|
-
# The ID of the read group set this read belongs to.
|
915
|
-
#
|
1097
|
+
# The ID of the read group set this read belongs to. A read belongs to exactly
|
1098
|
+
# one read group set.
|
916
1099
|
# Corresponds to the JSON property `readGroupSetId`
|
917
1100
|
# @return [String]
|
918
1101
|
attr_accessor :read_group_set_id
|
@@ -923,13 +1106,13 @@ module Google
|
|
923
1106
|
attr_accessor :fragment_name
|
924
1107
|
|
925
1108
|
# The orientation and the distance between reads from the fragment are
|
926
|
-
# consistent with the sequencing protocol (SAM flag 0x2)
|
1109
|
+
# consistent with the sequencing protocol (SAM flag 0x2).
|
927
1110
|
# Corresponds to the JSON property `properPlacement`
|
928
1111
|
# @return [Boolean]
|
929
1112
|
attr_accessor :proper_placement
|
930
1113
|
alias_method :proper_placement?, :proper_placement
|
931
1114
|
|
932
|
-
# The fragment is a PCR or optical duplicate (SAM flag 0x400)
|
1115
|
+
# The fragment is a PCR or optical duplicate (SAM flag 0x400).
|
933
1116
|
# Corresponds to the JSON property `duplicateFragment`
|
934
1117
|
# @return [Boolean]
|
935
1118
|
attr_accessor :duplicate_fragment
|
@@ -951,7 +1134,8 @@ module Google
|
|
951
1134
|
# @return [Fixnum]
|
952
1135
|
attr_accessor :number_reads
|
953
1136
|
|
954
|
-
#
|
1137
|
+
# Whether this read did not pass filters, such as platform or vendor quality
|
1138
|
+
# controls (SAM flag 0x200).
|
955
1139
|
# Corresponds to the JSON property `failedVendorQualityChecks`
|
956
1140
|
# @return [Boolean]
|
957
1141
|
attr_accessor :failed_vendor_quality_checks
|
@@ -989,22 +1173,22 @@ module Google
|
|
989
1173
|
attr_accessor :supplementary_alignment
|
990
1174
|
alias_method :supplementary_alignment?, :supplementary_alignment
|
991
1175
|
|
992
|
-
# The bases of the read sequence contained in this alignment record,
|
993
|
-
# CIGAR operations applied
|
994
|
-
# shorter than the full read sequence and quality. This
|
995
|
-
# alignment is part of a chimeric alignment, or if the read
|
996
|
-
# this occurs, the CIGAR for this read will begin/end with a
|
997
|
-
# that will indicate the length of the excised sequence.
|
1176
|
+
# The bases of the read sequence contained in this alignment record, **without
|
1177
|
+
# CIGAR operations applied** (equivalent to SEQ in SAM). `alignedSequence` and `
|
1178
|
+
# alignedQuality` may be shorter than the full read sequence and quality. This
|
1179
|
+
# will occur if the alignment is part of a chimeric alignment, or if the read
|
1180
|
+
# was trimmed. When this occurs, the CIGAR for this read will begin/end with a
|
1181
|
+
# hard clip operator that will indicate the length of the excised sequence.
|
998
1182
|
# Corresponds to the JSON property `alignedSequence`
|
999
1183
|
# @return [String]
|
1000
1184
|
attr_accessor :aligned_sequence
|
1001
1185
|
|
1002
|
-
# The quality of the read sequence contained in this alignment record
|
1003
|
-
# alignedSequence` and `alignedQuality` may be
|
1004
|
-
# sequence and quality. This will occur if the
|
1005
|
-
# alignment, or if the read was trimmed. When
|
1006
|
-
# read will begin/end with a hard clip operator
|
1007
|
-
# the excised sequence.
|
1186
|
+
# The quality of the read sequence contained in this alignment record (
|
1187
|
+
# equivalent to QUAL in SAM). `alignedSequence` and `alignedQuality` may be
|
1188
|
+
# shorter than the full read sequence and quality. This will occur if the
|
1189
|
+
# alignment is part of a chimeric alignment, or if the read was trimmed. When
|
1190
|
+
# this occurs, the CIGAR for this read will begin/end with a hard clip operator
|
1191
|
+
# that will indicate the length of the excised sequence.
|
1008
1192
|
# Corresponds to the JSON property `alignedQuality`
|
1009
1193
|
# @return [Array<Fixnum>]
|
1010
1194
|
attr_accessor :aligned_quality
|
@@ -1063,7 +1247,8 @@ module Google
|
|
1063
1247
|
attr_accessor :position
|
1064
1248
|
|
1065
1249
|
# The mapping quality of this alignment. Represents how likely the read maps to
|
1066
|
-
# this position as opposed to other locations.
|
1250
|
+
# this position as opposed to other locations. Specifically, this is -10 log10
|
1251
|
+
# Pr(mapping position is wrong), rounded to the nearest integer.
|
1067
1252
|
# Corresponds to the JSON property `mappingQuality`
|
1068
1253
|
# @return [Fixnum]
|
1069
1254
|
attr_accessor :mapping_quality
|
@@ -1155,21 +1340,84 @@ module Google
|
|
1155
1340
|
end
|
1156
1341
|
end
|
1157
1342
|
|
1343
|
+
# The stream reads request.
|
1344
|
+
class StreamReadsRequest
|
1345
|
+
include Google::Apis::Core::Hashable
|
1346
|
+
|
1347
|
+
# The Google Developers Console project ID or number which will be billed for
|
1348
|
+
# this access. The caller must have WRITE access to this project. Required.
|
1349
|
+
# Corresponds to the JSON property `projectId`
|
1350
|
+
# @return [String]
|
1351
|
+
attr_accessor :project_id
|
1352
|
+
|
1353
|
+
# The ID of the read group set from which to stream reads.
|
1354
|
+
# Corresponds to the JSON property `readGroupSetId`
|
1355
|
+
# @return [String]
|
1356
|
+
attr_accessor :read_group_set_id
|
1357
|
+
|
1358
|
+
# The reference sequence name, for example `chr1`, `1`, or `chrX`. If set to *,
|
1359
|
+
# only unmapped reads are returned.
|
1360
|
+
# Corresponds to the JSON property `referenceName`
|
1361
|
+
# @return [String]
|
1362
|
+
attr_accessor :reference_name
|
1363
|
+
|
1364
|
+
# The start position of the range on the reference, 0-based inclusive. If
|
1365
|
+
# specified, `referenceName` must also be specified.
|
1366
|
+
# Corresponds to the JSON property `start`
|
1367
|
+
# @return [String]
|
1368
|
+
attr_accessor :start
|
1369
|
+
|
1370
|
+
# The end position of the range on the reference, 0-based exclusive. If
|
1371
|
+
# specified, `referenceName` must also be specified.
|
1372
|
+
# Corresponds to the JSON property `end`
|
1373
|
+
# @return [String]
|
1374
|
+
attr_accessor :end
|
1375
|
+
|
1376
|
+
def initialize(**args)
|
1377
|
+
update!(**args)
|
1378
|
+
end
|
1379
|
+
|
1380
|
+
# Update properties of this object
|
1381
|
+
def update!(**args)
|
1382
|
+
@project_id = args[:project_id] unless args[:project_id].nil?
|
1383
|
+
@read_group_set_id = args[:read_group_set_id] unless args[:read_group_set_id].nil?
|
1384
|
+
@reference_name = args[:reference_name] unless args[:reference_name].nil?
|
1385
|
+
@start = args[:start] unless args[:start].nil?
|
1386
|
+
@end = args[:end] unless args[:end].nil?
|
1387
|
+
end
|
1388
|
+
end
|
1389
|
+
|
1390
|
+
#
|
1391
|
+
class StreamReadsResponse
|
1392
|
+
include Google::Apis::Core::Hashable
|
1393
|
+
|
1394
|
+
#
|
1395
|
+
# Corresponds to the JSON property `alignments`
|
1396
|
+
# @return [Array<Google::Apis::GenomicsV1::Read>]
|
1397
|
+
attr_accessor :alignments
|
1398
|
+
|
1399
|
+
def initialize(**args)
|
1400
|
+
update!(**args)
|
1401
|
+
end
|
1402
|
+
|
1403
|
+
# Update properties of this object
|
1404
|
+
def update!(**args)
|
1405
|
+
@alignments = args[:alignments] unless args[:alignments].nil?
|
1406
|
+
end
|
1407
|
+
end
|
1408
|
+
|
1158
1409
|
#
|
1159
1410
|
class SearchReferenceSetsRequest
|
1160
1411
|
include Google::Apis::Core::Hashable
|
1161
1412
|
|
1162
|
-
# If present, return
|
1163
|
-
# ReferenceSet.md5checksum` for details.
|
1413
|
+
# If present, return reference sets for which the md5checksum matches exactly.
|
1164
1414
|
# Corresponds to the JSON property `md5checksums`
|
1165
1415
|
# @return [Array<String>]
|
1166
1416
|
attr_accessor :md5checksums
|
1167
1417
|
|
1168
|
-
# If present, return
|
1169
|
-
#
|
1170
|
-
#
|
1171
|
-
# accession will be returned, whichever version. Note that different versions
|
1172
|
-
# will have different sequences.
|
1418
|
+
# If present, return reference sets for which a prefix of any of
|
1419
|
+
# sourceAccessions match any of these strings. Accession numbers typically have
|
1420
|
+
# a main number and a version, for example `NC_000001.11`.
|
1173
1421
|
# Corresponds to the JSON property `accessions`
|
1174
1422
|
# @return [Array<String>]
|
1175
1423
|
attr_accessor :accessions
|
@@ -1187,7 +1435,8 @@ module Google
|
|
1187
1435
|
# @return [String]
|
1188
1436
|
attr_accessor :page_token
|
1189
1437
|
|
1190
|
-
#
|
1438
|
+
# The maximum number of results to return in a single page. If unspecified,
|
1439
|
+
# defaults to 1024. The maximum value is 4096.
|
1191
1440
|
# Corresponds to the JSON property `pageSize`
|
1192
1441
|
# @return [Fixnum]
|
1193
1442
|
attr_accessor :page_size
|
@@ -1237,7 +1486,9 @@ module Google
|
|
1237
1486
|
# assembly for a species, such as `GRCh38` which is representative of the human
|
1238
1487
|
# genome. A reference set defines a common coordinate space for comparing
|
1239
1488
|
# reference-aligned experimental data. A reference set contains 1 or more
|
1240
|
-
# references.
|
1489
|
+
# references. For more genomics resource definitions, see [Fundamentals of
|
1490
|
+
# Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-
|
1491
|
+
# genomics)
|
1241
1492
|
class ReferenceSet
|
1242
1493
|
include Google::Apis::Core::Hashable
|
1243
1494
|
|
@@ -1261,11 +1512,11 @@ module Google
|
|
1261
1512
|
# @return [String]
|
1262
1513
|
attr_accessor :md5checksum
|
1263
1514
|
|
1264
|
-
# ID from http://www.ncbi.nlm.nih.gov/taxonomy (
|
1265
|
-
# species which this
|
1266
|
-
# references may specify a different `ncbiTaxonId`, as assemblies
|
1267
|
-
# reference sequences which do not belong to the modeled species,
|
1268
|
-
# human reference genome.
|
1515
|
+
# ID from http://www.ncbi.nlm.nih.gov/taxonomy (for example, 9606 for human)
|
1516
|
+
# indicating the species which this reference set is intended to model. Note
|
1517
|
+
# that contained references may specify a different `ncbiTaxonId`, as assemblies
|
1518
|
+
# may contain reference sequences which do not belong to the modeled species,
|
1519
|
+
# for example EBV in a human reference genome.
|
1269
1520
|
# Corresponds to the JSON property `ncbiTaxonId`
|
1270
1521
|
# @return [Fixnum]
|
1271
1522
|
attr_accessor :ncbi_taxon_id
|
@@ -1312,17 +1563,14 @@ module Google
|
|
1312
1563
|
class SearchReferencesRequest
|
1313
1564
|
include Google::Apis::Core::Hashable
|
1314
1565
|
|
1315
|
-
# If present, return references for which the
|
1316
|
-
# Reference.md5checksum` for construction details.
|
1566
|
+
# If present, return references for which the md5checksum matches exactly.
|
1317
1567
|
# Corresponds to the JSON property `md5checksums`
|
1318
1568
|
# @return [Array<String>]
|
1319
1569
|
attr_accessor :md5checksums
|
1320
1570
|
|
1321
|
-
# If present, return references for which
|
1322
|
-
#
|
1323
|
-
#
|
1324
|
-
# be returned, whichever version. Note that different versions will have
|
1325
|
-
# different sequences.
|
1571
|
+
# If present, return references for which a prefix of any of sourceAccessions
|
1572
|
+
# match any of these strings. Accession numbers typically have a main number and
|
1573
|
+
# a version, for example `GCF_000001405.26`.
|
1326
1574
|
# Corresponds to the JSON property `accessions`
|
1327
1575
|
# @return [Array<String>]
|
1328
1576
|
attr_accessor :accessions
|
@@ -1339,7 +1587,8 @@ module Google
|
|
1339
1587
|
# @return [String]
|
1340
1588
|
attr_accessor :page_token
|
1341
1589
|
|
1342
|
-
#
|
1590
|
+
# The maximum number of results to return in a single page. If unspecified,
|
1591
|
+
# defaults to 1024. The maximum value is 4096.
|
1343
1592
|
# Corresponds to the JSON property `pageSize`
|
1344
1593
|
# @return [Fixnum]
|
1345
1594
|
attr_accessor :page_size
|
@@ -1388,7 +1637,9 @@ module Google
|
|
1388
1637
|
# A reference is a canonical assembled DNA sequence, intended to act as a
|
1389
1638
|
# reference coordinate space for other genomic annotations. A single reference
|
1390
1639
|
# might represent the human chromosome 1 or mitochandrial DNA, for instance. A
|
1391
|
-
# reference belongs to one or more reference sets.
|
1640
|
+
# reference belongs to one or more reference sets. For more genomics resource
|
1641
|
+
# definitions, see [Fundamentals of Google Genomics](https://cloud.google.com/
|
1642
|
+
# genomics/fundamentals-of-google-genomics)
|
1392
1643
|
class Reference
|
1393
1644
|
include Google::Apis::Core::Hashable
|
1394
1645
|
|
@@ -1414,8 +1665,8 @@ module Google
|
|
1414
1665
|
# @return [String]
|
1415
1666
|
attr_accessor :name
|
1416
1667
|
|
1417
|
-
# The URI from which the sequence was obtained.
|
1418
|
-
#
|
1668
|
+
# The URI from which the sequence was obtained. Typically specifies a FASTA
|
1669
|
+
# format file.
|
1419
1670
|
# Corresponds to the JSON property `sourceUri`
|
1420
1671
|
# @return [String]
|
1421
1672
|
attr_accessor :source_uri
|
@@ -1426,8 +1677,7 @@ module Google
|
|
1426
1677
|
# @return [Array<String>]
|
1427
1678
|
attr_accessor :source_accessions
|
1428
1679
|
|
1429
|
-
# ID from http://www.ncbi.nlm.nih.gov/taxonomy
|
1430
|
-
# specified by the containing reference set.
|
1680
|
+
# ID from http://www.ncbi.nlm.nih.gov/taxonomy. For example, 9606 for human.
|
1431
1681
|
# Corresponds to the JSON property `ncbiTaxonId`
|
1432
1682
|
# @return [Fixnum]
|
1433
1683
|
attr_accessor :ncbi_taxon_id
|
@@ -1530,7 +1780,9 @@ module Google
|
|
1530
1780
|
end
|
1531
1781
|
|
1532
1782
|
# A variant set is a collection of call sets and variants. It contains summary
|
1533
|
-
# statistics of those contents. A variant set belongs to a dataset.
|
1783
|
+
# statistics of those contents. A variant set belongs to a dataset. For more
|
1784
|
+
# genomics resource definitions, see [Fundamentals of Google Genomics](https://
|
1785
|
+
# cloud.google.com/genomics/fundamentals-of-google-genomics)
|
1534
1786
|
class VariantSet
|
1535
1787
|
include Google::Apis::Core::Hashable
|
1536
1788
|
|
@@ -1544,6 +1796,18 @@ module Google
|
|
1544
1796
|
# @return [String]
|
1545
1797
|
attr_accessor :id
|
1546
1798
|
|
1799
|
+
# The reference set to which the variant set is mapped. The reference set
|
1800
|
+
# describes the alignment provenance of the variant set, while the `
|
1801
|
+
# referenceBounds` describe the shape of the actual variant data. The reference
|
1802
|
+
# set's reference names are a superset of those found in the `referenceBounds`.
|
1803
|
+
# For example, given a variant set that is mapped to the GRCh38 reference set
|
1804
|
+
# and contains a single variant on reference 'X', `referenceBounds` would
|
1805
|
+
# contain only an entry for 'X', while the associated reference set enumerates
|
1806
|
+
# all possible references: '1', '2', 'X', 'Y', 'MT', etc.
|
1807
|
+
# Corresponds to the JSON property `referenceSetId`
|
1808
|
+
# @return [String]
|
1809
|
+
attr_accessor :reference_set_id
|
1810
|
+
|
1547
1811
|
# A list of all references used by the variants in a variant set with associated
|
1548
1812
|
# coordinate upper bounds for each one.
|
1549
1813
|
# Corresponds to the JSON property `referenceBounds`
|
@@ -1563,6 +1827,7 @@ module Google
|
|
1563
1827
|
def update!(**args)
|
1564
1828
|
@dataset_id = args[:dataset_id] unless args[:dataset_id].nil?
|
1565
1829
|
@id = args[:id] unless args[:id].nil?
|
1830
|
+
@reference_set_id = args[:reference_set_id] unless args[:reference_set_id].nil?
|
1566
1831
|
@reference_bounds = args[:reference_bounds] unless args[:reference_bounds].nil?
|
1567
1832
|
@metadata = args[:metadata] unless args[:metadata].nil?
|
1568
1833
|
end
|
@@ -1573,7 +1838,7 @@ module Google
|
|
1573
1838
|
class ReferenceBound
|
1574
1839
|
include Google::Apis::Core::Hashable
|
1575
1840
|
|
1576
|
-
# The
|
1841
|
+
# The name of the reference associated with this ReferenceBound.
|
1577
1842
|
# Corresponds to the JSON property `referenceName`
|
1578
1843
|
# @return [String]
|
1579
1844
|
attr_accessor :reference_name
|
@@ -1626,7 +1891,7 @@ module Google
|
|
1626
1891
|
# The number of values that can be included in a field described by this
|
1627
1892
|
# metadata.
|
1628
1893
|
# Corresponds to the JSON property `number`
|
1629
|
-
# @return [
|
1894
|
+
# @return [String]
|
1630
1895
|
attr_accessor :number
|
1631
1896
|
|
1632
1897
|
# A textual description of this metadata.
|
@@ -1721,7 +1986,8 @@ module Google
|
|
1721
1986
|
# @return [String]
|
1722
1987
|
attr_accessor :page_token
|
1723
1988
|
|
1724
|
-
# The maximum number of
|
1989
|
+
# The maximum number of results to return in a single page. If unspecified,
|
1990
|
+
# defaults to 1024.
|
1725
1991
|
# Corresponds to the JSON property `pageSize`
|
1726
1992
|
# @return [Fixnum]
|
1727
1993
|
attr_accessor :page_size
|
@@ -1813,14 +2079,16 @@ module Google
|
|
1813
2079
|
# @return [String]
|
1814
2080
|
attr_accessor :page_token
|
1815
2081
|
|
1816
|
-
# The maximum number of variants to return. If unspecified,
|
2082
|
+
# The maximum number of variants to return in a single page. If unspecified,
|
2083
|
+
# defaults to 5000. The maximum value is 10000.
|
1817
2084
|
# Corresponds to the JSON property `pageSize`
|
1818
2085
|
# @return [Fixnum]
|
1819
2086
|
attr_accessor :page_size
|
1820
2087
|
|
1821
|
-
# The maximum number of calls to return
|
1822
|
-
#
|
1823
|
-
# defaults to 5000.
|
2088
|
+
# The maximum number of calls to return in a single page. Note that this limit
|
2089
|
+
# may be exceeded; at least one variant is always returned per page, even if it
|
2090
|
+
# has more calls than this limit. If unspecified, defaults to 5000. The maximum
|
2091
|
+
# value is 10000.
|
1824
2092
|
# Corresponds to the JSON property `maxCalls`
|
1825
2093
|
# @return [Fixnum]
|
1826
2094
|
attr_accessor :max_calls
|
@@ -1872,11 +2140,12 @@ module Google
|
|
1872
2140
|
|
1873
2141
|
# A variant represents a change in DNA sequence relative to a reference sequence.
|
1874
2142
|
# For example, a variant could represent a SNP or an insertion. Variants belong
|
1875
|
-
# to a variant set.
|
1876
|
-
#
|
1877
|
-
#
|
1878
|
-
#
|
1879
|
-
#
|
2143
|
+
# to a variant set. For more genomics resource definitions, see [Fundamentals of
|
2144
|
+
# Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-
|
2145
|
+
# genomics) Each of the calls on a variant represent a determination of genotype
|
2146
|
+
# with respect to that variant. For example, a call might assign probability of
|
2147
|
+
# 0.32 to the occurrence of a SNP named rs1234 in a sample named NA12345. A call
|
2148
|
+
# belongs to a call set, which contains related calls typically from one sample.
|
1880
2149
|
class Variant
|
1881
2150
|
include Google::Apis::Core::Hashable
|
1882
2151
|
|
@@ -2043,31 +2312,6 @@ module Google
|
|
2043
2312
|
end
|
2044
2313
|
end
|
2045
2314
|
|
2046
|
-
#
|
2047
|
-
class MergeVariantsRequest
|
2048
|
-
include Google::Apis::Core::Hashable
|
2049
|
-
|
2050
|
-
# The destination variant set.
|
2051
|
-
# Corresponds to the JSON property `variantSetId`
|
2052
|
-
# @return [String]
|
2053
|
-
attr_accessor :variant_set_id
|
2054
|
-
|
2055
|
-
# The variants to be merged with existing variants.
|
2056
|
-
# Corresponds to the JSON property `variants`
|
2057
|
-
# @return [Array<Google::Apis::GenomicsV1::Variant>]
|
2058
|
-
attr_accessor :variants
|
2059
|
-
|
2060
|
-
def initialize(**args)
|
2061
|
-
update!(**args)
|
2062
|
-
end
|
2063
|
-
|
2064
|
-
# Update properties of this object
|
2065
|
-
def update!(**args)
|
2066
|
-
@variant_set_id = args[:variant_set_id] unless args[:variant_set_id].nil?
|
2067
|
-
@variants = args[:variants] unless args[:variants].nil?
|
2068
|
-
end
|
2069
|
-
end
|
2070
|
-
|
2071
2315
|
# The call set search request.
|
2072
2316
|
class SearchCallSetsRequest
|
2073
2317
|
include Google::Apis::Core::Hashable
|
@@ -2090,7 +2334,8 @@ module Google
|
|
2090
2334
|
# @return [String]
|
2091
2335
|
attr_accessor :page_token
|
2092
2336
|
|
2093
|
-
# The maximum number of
|
2337
|
+
# The maximum number of results to return in a single page. If unspecified,
|
2338
|
+
# defaults to 1024.
|
2094
2339
|
# Corresponds to the JSON property `pageSize`
|
2095
2340
|
# @return [Fixnum]
|
2096
2341
|
attr_accessor :page_size
|
@@ -2136,7 +2381,9 @@ module Google
|
|
2136
2381
|
end
|
2137
2382
|
|
2138
2383
|
# A call set is a collection of variant calls, typically for one sample. It
|
2139
|
-
# belongs to a variant set.
|
2384
|
+
# belongs to a variant set. For more genomics resource definitions, see [
|
2385
|
+
# Fundamentals of Google Genomics](https://cloud.google.com/genomics/
|
2386
|
+
# fundamentals-of-google-genomics)
|
2140
2387
|
class CallSet
|
2141
2388
|
include Google::Apis::Core::Hashable
|
2142
2389
|
|
@@ -2189,6 +2436,78 @@ module Google
|
|
2189
2436
|
end
|
2190
2437
|
end
|
2191
2438
|
|
2439
|
+
# The stream variants request.
|
2440
|
+
class StreamVariantsRequest
|
2441
|
+
include Google::Apis::Core::Hashable
|
2442
|
+
|
2443
|
+
# The Google Developers Console project ID or number which will be billed for
|
2444
|
+
# this access. The caller must have WRITE access to this project. Required.
|
2445
|
+
# Corresponds to the JSON property `projectId`
|
2446
|
+
# @return [String]
|
2447
|
+
attr_accessor :project_id
|
2448
|
+
|
2449
|
+
# The variant set ID from which to stream variants.
|
2450
|
+
# Corresponds to the JSON property `variantSetId`
|
2451
|
+
# @return [String]
|
2452
|
+
attr_accessor :variant_set_id
|
2453
|
+
|
2454
|
+
# Only return variant calls which belong to call sets with these IDs. Leaving
|
2455
|
+
# this blank returns all variant calls.
|
2456
|
+
# Corresponds to the JSON property `callSetIds`
|
2457
|
+
# @return [Array<String>]
|
2458
|
+
attr_accessor :call_set_ids
|
2459
|
+
|
2460
|
+
# Required. Only return variants in this reference sequence.
|
2461
|
+
# Corresponds to the JSON property `referenceName`
|
2462
|
+
# @return [String]
|
2463
|
+
attr_accessor :reference_name
|
2464
|
+
|
2465
|
+
# The beginning of the window (0-based, inclusive) for which overlapping
|
2466
|
+
# variants should be returned.
|
2467
|
+
# Corresponds to the JSON property `start`
|
2468
|
+
# @return [String]
|
2469
|
+
attr_accessor :start
|
2470
|
+
|
2471
|
+
# The end of the window (0-based, exclusive) for which overlapping variants
|
2472
|
+
# should be returned.
|
2473
|
+
# Corresponds to the JSON property `end`
|
2474
|
+
# @return [String]
|
2475
|
+
attr_accessor :end
|
2476
|
+
|
2477
|
+
def initialize(**args)
|
2478
|
+
update!(**args)
|
2479
|
+
end
|
2480
|
+
|
2481
|
+
# Update properties of this object
|
2482
|
+
def update!(**args)
|
2483
|
+
@project_id = args[:project_id] unless args[:project_id].nil?
|
2484
|
+
@variant_set_id = args[:variant_set_id] unless args[:variant_set_id].nil?
|
2485
|
+
@call_set_ids = args[:call_set_ids] unless args[:call_set_ids].nil?
|
2486
|
+
@reference_name = args[:reference_name] unless args[:reference_name].nil?
|
2487
|
+
@start = args[:start] unless args[:start].nil?
|
2488
|
+
@end = args[:end] unless args[:end].nil?
|
2489
|
+
end
|
2490
|
+
end
|
2491
|
+
|
2492
|
+
#
|
2493
|
+
class StreamVariantsResponse
|
2494
|
+
include Google::Apis::Core::Hashable
|
2495
|
+
|
2496
|
+
#
|
2497
|
+
# Corresponds to the JSON property `variants`
|
2498
|
+
# @return [Array<Google::Apis::GenomicsV1::Variant>]
|
2499
|
+
attr_accessor :variants
|
2500
|
+
|
2501
|
+
def initialize(**args)
|
2502
|
+
update!(**args)
|
2503
|
+
end
|
2504
|
+
|
2505
|
+
# Update properties of this object
|
2506
|
+
def update!(**args)
|
2507
|
+
@variants = args[:variants] unless args[:variants].nil?
|
2508
|
+
end
|
2509
|
+
end
|
2510
|
+
|
2192
2511
|
# The read group set import response.
|
2193
2512
|
class ImportReadGroupSetsResponse
|
2194
2513
|
include Google::Apis::Core::Hashable
|
@@ -2212,7 +2531,7 @@ module Google
|
|
2212
2531
|
class ImportVariantsResponse
|
2213
2532
|
include Google::Apis::Core::Hashable
|
2214
2533
|
|
2215
|
-
# IDs of the call sets
|
2534
|
+
# IDs of the call sets created during the import.
|
2216
2535
|
# Corresponds to the JSON property `callSetIds`
|
2217
2536
|
# @return [Array<String>]
|
2218
2537
|
attr_accessor :call_set_ids
|
@@ -2227,7 +2546,7 @@ module Google
|
|
2227
2546
|
end
|
2228
2547
|
end
|
2229
2548
|
|
2230
|
-
# Metadata describing an
|
2549
|
+
# Metadata describing an Operation.
|
2231
2550
|
class OperationMetadata
|
2232
2551
|
include Google::Apis::Core::Hashable
|
2233
2552
|
|
@@ -2267,7 +2586,7 @@ module Google
|
|
2267
2586
|
end
|
2268
2587
|
end
|
2269
2588
|
|
2270
|
-
# An event that occurred during an
|
2589
|
+
# An event that occurred during an Operation.
|
2271
2590
|
class OperationEvent
|
2272
2591
|
include Google::Apis::Core::Hashable
|
2273
2592
|
|