google-api-client 0.28.4 → 0.28.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.kokoro/build.sh +3 -5
- data/.kokoro/continuous/linux.cfg +1 -1
- data/.kokoro/presubmit/linux.cfg +1 -1
- data/CHANGELOG.md +147 -0
- data/generated/google/apis/accesscontextmanager_v1.rb +34 -0
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +755 -0
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +282 -0
- data/generated/google/apis/accesscontextmanager_v1/service.rb +788 -0
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +46 -30
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +4 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +2 -2
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +5 -50
- data/generated/google/apis/admin_directory_v1/representations.rb +0 -2
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +3 -2
- data/generated/google/apis/alertcenter_v1beta1/service.rb +7 -7
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +638 -0
- data/generated/google/apis/analyticsreporting_v4/representations.rb +248 -0
- data/generated/google/apis/analyticsreporting_v4/service.rb +30 -0
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +10 -10
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +8 -0
- data/generated/google/apis/androidenterprise_v1/representations.rb +2 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +59 -2
- data/generated/google/apis/androidmanagement_v1/representations.rb +33 -0
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +43 -98
- data/generated/google/apis/appengine_v1/representations.rb +17 -35
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +0 -97
- data/generated/google/apis/appengine_v1alpha/representations.rb +0 -35
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +3 -99
- data/generated/google/apis/appengine_v1beta/representations.rb +0 -35
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +244 -173
- data/generated/google/apis/bigquery_v2/representations.rb +79 -58
- data/generated/google/apis/bigquerydatatransfer_v1.rb +3 -3
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +10 -10
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +38 -6
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +4 -4
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +66 -6
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +17 -0
- data/generated/google/apis/cloudasset_v1.rb +34 -0
- data/generated/google/apis/cloudasset_v1/classes.rb +805 -0
- data/generated/google/apis/cloudasset_v1/representations.rb +263 -0
- data/generated/google/apis/cloudasset_v1/service.rb +190 -0
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +20 -18
- data/generated/google/apis/cloudasset_v1beta1/service.rb +4 -4
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +149 -10
- data/generated/google/apis/cloudbuild_v1/representations.rb +65 -0
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +6 -0
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +11 -4
- data/generated/google/apis/cloudfunctions_v1/service.rb +8 -2
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +2 -1
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +6 -0
- data/generated/google/apis/cloudidentity_v1.rb +7 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +13 -13
- data/generated/google/apis/cloudidentity_v1/service.rb +6 -15
- data/generated/google/apis/cloudidentity_v1beta1.rb +7 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +10 -10
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +4 -10
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +11 -11
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +7 -3
- data/generated/google/apis/cloudprivatecatalog_v1beta1.rb +35 -0
- data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +358 -0
- data/generated/google/apis/cloudprivatecatalog_v1beta1/representations.rb +123 -0
- data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +486 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +35 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +1212 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +399 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +1073 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +17 -16
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +14 -15
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +14 -15
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +60 -44
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +5 -2
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +220 -48
- data/generated/google/apis/cloudsearch_v1/representations.rb +91 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +15 -13
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +10 -10
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +17 -10
- data/generated/google/apis/cloudshell_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/{partners_v2.rb → cloudtasks_v2.rb} +11 -9
- data/generated/google/apis/cloudtasks_v2/classes.rb +1432 -0
- data/generated/google/apis/cloudtasks_v2/representations.rb +408 -0
- data/generated/google/apis/cloudtasks_v2/service.rb +856 -0
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +119 -88
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +3 -2
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +122 -90
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +3 -2
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +10 -10
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +21 -15
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +165 -29
- data/generated/google/apis/composer_v1beta1/representations.rb +50 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +7147 -4656
- data/generated/google/apis/compute_alpha/representations.rb +1205 -236
- data/generated/google/apis/compute_alpha/service.rb +4338 -3274
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +5974 -4567
- data/generated/google/apis/compute_beta/representations.rb +846 -283
- data/generated/google/apis/compute_beta/service.rb +4274 -3153
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +325 -50
- data/generated/google/apis/compute_v1/representations.rb +104 -1
- data/generated/google/apis/compute_v1/service.rb +153 -2
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +1 -0
- data/generated/google/apis/container_v1/service.rb +4 -4
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +7 -0
- data/generated/google/apis/container_v1beta1/representations.rb +2 -0
- data/generated/google/apis/container_v1beta1/service.rb +4 -4
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +25 -17
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +137 -12
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +33 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +204 -93
- data/generated/google/apis/content_v2/representations.rb +49 -0
- data/generated/google/apis/content_v2/service.rb +82 -41
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +360 -209
- data/generated/google/apis/content_v2_1/representations.rb +129 -56
- data/generated/google/apis/content_v2_1/service.rb +97 -10
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +51 -19
- data/generated/google/apis/dataflow_v1b3/representations.rb +2 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +133 -25
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +20 -15
- data/generated/google/apis/dataproc_v1/representations.rb +1 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +516 -45
- data/generated/google/apis/dataproc_v1beta2/representations.rb +185 -7
- data/generated/google/apis/dataproc_v1beta2/service.rb +575 -6
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +3 -3
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +126 -77
- data/generated/google/apis/dialogflow_v2/service.rb +40 -24
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +126 -77
- data/generated/google/apis/dialogflow_v2beta1/service.rb +40 -24
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +44 -41
- data/generated/google/apis/dlp_v2/representations.rb +12 -0
- data/generated/google/apis/dlp_v2/service.rb +35 -0
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +163 -190
- data/generated/google/apis/dns_v1/representations.rb +34 -0
- data/generated/google/apis/dns_v1/service.rb +15 -110
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +117 -248
- data/generated/google/apis/dns_v1beta2/service.rb +21 -141
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +163 -190
- data/generated/google/apis/dns_v2beta1/representations.rb +34 -0
- data/generated/google/apis/dns_v2beta1/service.rb +15 -110
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +118 -47
- data/generated/google/apis/docs_v1/representations.rb +39 -0
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/service.rb +3 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/service.rb +3 -2
- data/generated/google/apis/factchecktools_v1alpha1.rb +34 -0
- data/generated/google/apis/factchecktools_v1alpha1/classes.rb +459 -0
- data/generated/google/apis/factchecktools_v1alpha1/representations.rb +207 -0
- data/generated/google/apis/factchecktools_v1alpha1/service.rb +300 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +203 -10
- data/generated/google/apis/file_v1/representations.rb +70 -0
- data/generated/google/apis/file_v1/service.rb +190 -0
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +10 -10
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +13 -10
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/service.rb +1 -1
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +3 -0
- data/generated/google/apis/fitness_v1/service.rb +1 -45
- data/generated/google/apis/games_management_v1management.rb +2 -2
- data/generated/google/apis/games_v1.rb +2 -2
- data/generated/google/apis/genomics_v1.rb +1 -10
- data/generated/google/apis/genomics_v1/classes.rb +190 -3321
- data/generated/google/apis/genomics_v1/representations.rb +128 -1265
- data/generated/google/apis/genomics_v1/service.rb +75 -1982
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +11 -51
- data/generated/google/apis/genomics_v1alpha2/representations.rb +0 -26
- data/generated/google/apis/genomics_v1alpha2/service.rb +1 -2
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +19 -58
- data/generated/google/apis/genomics_v2alpha1/representations.rb +0 -26
- data/generated/google/apis/genomics_v2alpha1/service.rb +1 -2
- data/generated/google/apis/groupssettings_v1.rb +2 -2
- data/generated/google/apis/groupssettings_v1/classes.rb +126 -1
- data/generated/google/apis/groupssettings_v1/representations.rb +18 -0
- data/generated/google/apis/groupssettings_v1/service.rb +1 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +123 -1
- data/generated/google/apis/iam_v1/representations.rb +67 -0
- data/generated/google/apis/iam_v1/service.rb +198 -5
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +8 -4
- data/generated/google/apis/iamcredentials_v1/service.rb +10 -5
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +1 -1
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +1 -1
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +7 -9
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +11 -11
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +5 -5
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +5 -5
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +5 -5
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +2 -3
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +2 -3
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +158 -36
- data/generated/google/apis/ml_v1/representations.rb +23 -2
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +8 -7
- data/generated/google/apis/monitoring_v3/service.rb +6 -1
- data/generated/google/apis/oauth2_v1.rb +2 -5
- data/generated/google/apis/oauth2_v1/classes.rb +0 -124
- data/generated/google/apis/oauth2_v1/representations.rb +0 -62
- data/generated/google/apis/oauth2_v1/service.rb +0 -159
- data/generated/google/apis/oauth2_v2.rb +2 -5
- data/generated/google/apis/people_v1.rb +3 -3
- data/generated/google/apis/people_v1/classes.rb +19 -18
- data/generated/google/apis/people_v1/service.rb +4 -0
- data/generated/google/apis/plus_domains_v1.rb +3 -3
- data/generated/google/apis/plus_v1.rb +3 -3
- data/generated/google/apis/poly_v1.rb +1 -1
- data/generated/google/apis/poly_v1/classes.rb +5 -4
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +8 -6
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +53 -38
- data/generated/google/apis/pubsub_v1/representations.rb +16 -0
- data/generated/google/apis/pubsub_v1/service.rb +6 -29
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +45 -1
- data/generated/google/apis/pubsub_v1beta2/representations.rb +16 -0
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +0 -10
- data/generated/google/apis/redis_v1beta1/representations.rb +0 -1
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +42 -28
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +2 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +42 -28
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +2 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +52 -38
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +2 -0
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/reseller_v1/classes.rb +32 -39
- data/generated/google/apis/reseller_v1/service.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +10 -10
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +25 -24
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +0 -6
- data/generated/google/apis/script_v1/representations.rb +0 -1
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +73 -151
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +48 -50
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +108 -24
- data/generated/google/apis/servicecontrol_v1/representations.rb +45 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +35 -113
- data/generated/google/apis/servicemanagement_v1/service.rb +6 -3
- data/generated/google/apis/servicenetworking_v1.rb +38 -0
- data/generated/google/apis/servicenetworking_v1/classes.rb +3591 -0
- data/generated/google/apis/servicenetworking_v1/representations.rb +1082 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +440 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +32 -110
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +33 -150
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +34 -190
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +115 -26
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +2 -2
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +1 -1
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +171 -0
- data/generated/google/apis/spanner_v1/representations.rb +49 -0
- data/generated/google/apis/spanner_v1/service.rb +51 -1
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +107 -10
- data/generated/google/apis/speech_v1/representations.rb +24 -0
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +16 -10
- data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +11 -15
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +57 -4
- data/generated/google/apis/storage_v1/representations.rb +19 -1
- data/generated/google/apis/storagetransfer_v1.rb +2 -2
- data/generated/google/apis/storagetransfer_v1/classes.rb +28 -21
- data/generated/google/apis/storagetransfer_v1/service.rb +4 -4
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +26 -26
- data/generated/google/apis/streetviewpublish_v1/service.rb +27 -31
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1/service.rb +0 -46
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tagmanager_v2/classes.rb +197 -292
- data/generated/google/apis/tagmanager_v2/representations.rb +62 -103
- data/generated/google/apis/tagmanager_v2/service.rb +219 -181
- data/generated/google/apis/tasks_v1.rb +2 -2
- data/generated/google/apis/tasks_v1/service.rb +5 -5
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +13 -13
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +92 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +47 -0
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +10 -10
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +10 -10
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +7 -0
- data/generated/google/apis/vault_v1/representations.rb +1 -0
- data/generated/google/apis/videointelligence_v1.rb +3 -2
- data/generated/google/apis/videointelligence_v1/classes.rb +2193 -350
- data/generated/google/apis/videointelligence_v1/representations.rb +805 -6
- data/generated/google/apis/videointelligence_v1/service.rb +2 -1
- data/generated/google/apis/videointelligence_v1beta2.rb +3 -2
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +2448 -605
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +806 -7
- data/generated/google/apis/videointelligence_v1beta2/service.rb +2 -1
- data/generated/google/apis/videointelligence_v1p1beta1.rb +3 -2
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +2422 -579
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +806 -7
- data/generated/google/apis/videointelligence_v1p1beta1/service.rb +2 -1
- data/generated/google/apis/videointelligence_v1p2beta1.rb +3 -2
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +2645 -830
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +796 -12
- data/generated/google/apis/videointelligence_v1p2beta1/service.rb +2 -1
- data/generated/google/apis/videointelligence_v1p3beta1.rb +36 -0
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +4687 -0
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +2005 -0
- data/generated/google/apis/videointelligence_v1p3beta1/service.rb +94 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1977 -40
- data/generated/google/apis/vision_v1/representations.rb +833 -0
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1972 -35
- data/generated/google/apis/vision_v1p1beta1/representations.rb +833 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +1972 -35
- data/generated/google/apis/vision_v1p2beta1/representations.rb +833 -0
- data/generated/google/apis/websecurityscanner_v1beta.rb +34 -0
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +973 -0
- data/generated/google/apis/websecurityscanner_v1beta/representations.rb +452 -0
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +548 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/lib/google/apis/core/http_command.rb +1 -0
- data/lib/google/apis/generator/model.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +39 -8
- data/generated/google/apis/partners_v2/classes.rb +0 -2260
- data/generated/google/apis/partners_v2/representations.rb +0 -905
- data/generated/google/apis/partners_v2/service.rb +0 -1077
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/filestore/
|
26
26
|
module FileV1beta1
|
27
27
|
VERSION = 'V1beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190312'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -357,14 +357,14 @@ module Google
|
|
357
357
|
attr_accessor :done
|
358
358
|
alias_method :done?, :done
|
359
359
|
|
360
|
-
# The `Status` type defines a logical error model that is suitable for
|
361
|
-
# programming environments, including REST APIs and RPC APIs. It is
|
362
|
-
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
360
|
+
# The `Status` type defines a logical error model that is suitable for
|
361
|
+
# different programming environments, including REST APIs and RPC APIs. It is
|
362
|
+
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
|
363
363
|
# - Simple to use and understand for most users
|
364
364
|
# - Flexible enough to meet unexpected needs
|
365
365
|
# # Overview
|
366
|
-
# The `Status` message contains three pieces of data: error code, error
|
367
|
-
# and error details. The error code should be an enum value of
|
366
|
+
# The `Status` message contains three pieces of data: error code, error
|
367
|
+
# message, and error details. The error code should be an enum value of
|
368
368
|
# google.rpc.Code, but it may accept additional error codes if needed. The
|
369
369
|
# error message should be a developer-facing English message that helps
|
370
370
|
# developers *understand* and *resolve* the error. If a localized user-facing
|
@@ -500,14 +500,14 @@ module Google
|
|
500
500
|
end
|
501
501
|
end
|
502
502
|
|
503
|
-
# The `Status` type defines a logical error model that is suitable for
|
504
|
-
# programming environments, including REST APIs and RPC APIs. It is
|
505
|
-
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
503
|
+
# The `Status` type defines a logical error model that is suitable for
|
504
|
+
# different programming environments, including REST APIs and RPC APIs. It is
|
505
|
+
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
|
506
506
|
# - Simple to use and understand for most users
|
507
507
|
# - Flexible enough to meet unexpected needs
|
508
508
|
# # Overview
|
509
|
-
# The `Status` message contains three pieces of data: error code, error
|
510
|
-
# and error details. The error code should be an enum value of
|
509
|
+
# The `Status` message contains three pieces of data: error code, error
|
510
|
+
# message, and error details. The error code should be an enum value of
|
511
511
|
# google.rpc.Code, but it may accept additional error codes if needed. The
|
512
512
|
# error message should be a developer-facing English message that helps
|
513
513
|
# developers *understand* and *resolve* the error. If a localized user-facing
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://firebase.google.com/docs/dynamic-links/
|
26
26
|
module FirebasedynamiclinksV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190304'
|
29
29
|
|
30
30
|
# View and administer all your Firebase data and settings
|
31
31
|
AUTH_FIREBASE = 'https://www.googleapis.com/auth/firebase'
|
@@ -27,8 +27,9 @@ module Google
|
|
27
27
|
include Google::Apis::Core::Hashable
|
28
28
|
|
29
29
|
# Parameters for Google Play Campaign Measurements.
|
30
|
-
# [Learn
|
31
|
-
# android/v4/
|
30
|
+
# [Learn
|
31
|
+
# more](https://developers.google.com/analytics/devguides/collection/android/v4/
|
32
|
+
# campaigns#campaign-params)
|
32
33
|
# Corresponds to the JSON property `googlePlayAnalytics`
|
33
34
|
# @return [Google::Apis::FirebasedynamiclinksV1::GooglePlayAnalytics]
|
34
35
|
attr_accessor :google_play_analytics
|
@@ -377,8 +378,9 @@ module Google
|
|
377
378
|
attr_accessor :domain_uri_prefix
|
378
379
|
|
379
380
|
# Dynamic Links domain that the project owns, e.g. abcd.app.goo.gl
|
380
|
-
# [Learn
|
381
|
-
# on
|
381
|
+
# [Learn
|
382
|
+
# more](https://firebase.google.com/docs/dynamic-links/android/receive) on
|
383
|
+
# how to set up Dynamic Link domain associated with your Firebase project.
|
382
384
|
# Required if missing domain_uri_prefix.
|
383
385
|
# Corresponds to the JSON property `dynamicLinkDomain`
|
384
386
|
# @return [String]
|
@@ -764,15 +766,16 @@ module Google
|
|
764
766
|
end
|
765
767
|
|
766
768
|
# Parameters for Google Play Campaign Measurements.
|
767
|
-
# [Learn
|
768
|
-
# android/v4/
|
769
|
+
# [Learn
|
770
|
+
# more](https://developers.google.com/analytics/devguides/collection/android/v4/
|
771
|
+
# campaigns#campaign-params)
|
769
772
|
class GooglePlayAnalytics
|
770
773
|
include Google::Apis::Core::Hashable
|
771
774
|
|
772
|
-
# [AdWords autotagging
|
773
|
-
# 1033981?hl=en);
|
774
|
-
#
|
775
|
-
#
|
775
|
+
# [AdWords autotagging
|
776
|
+
# parameter](https://support.google.com/analytics/answer/1033981?hl=en); used
|
777
|
+
# to measure Google AdWords ads. This value is generated dynamically and
|
778
|
+
# should never be modified.
|
776
779
|
# Corresponds to the JSON property `gclid`
|
777
780
|
# @return [String]
|
778
781
|
attr_accessor :gclid
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://firebase.google.com/docs/storage/security
|
27
27
|
module FirebaserulesV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190319'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -464,7 +464,7 @@ module Google
|
|
464
464
|
# `Ruleset.name`.
|
465
465
|
# Filters on `Ruleset.create_time` should use the `date` function which
|
466
466
|
# parses strings that conform to the RFC 3339 date/time specifications.
|
467
|
-
# Example: `create_time > date("2017-01-
|
467
|
+
# Example: `create_time > date("2017-01-01T00:00:00Z") AND name=UUID-*`
|
468
468
|
# @param [Fixnum] page_size
|
469
469
|
# Page size to load. Maximum of 100. Defaults to 10.
|
470
470
|
# Note: `page_size` is just a hint and the service may choose to load less
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/fit/rest/
|
26
26
|
module FitnessV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190312'
|
29
29
|
|
30
30
|
# View your activity information in Google Fit
|
31
31
|
AUTH_FITNESS_ACTIVITY_READ = 'https://www.googleapis.com/auth/fitness.activity.read'
|
@@ -387,6 +387,9 @@ module Google
|
|
387
387
|
# If the data point is contained in a dataset for a derived data source, this
|
388
388
|
# field will be populated with the data source stream ID that created the data
|
389
389
|
# point originally.
|
390
|
+
# WARNING: do not rely on this field for anything other than debugging. The
|
391
|
+
# value of this field, if it is set at all, is an implementation detail and is
|
392
|
+
# not guaranteed to remain consistent.
|
390
393
|
# Corresponds to the JSON property `originDataSourceId`
|
391
394
|
# @return [String]
|
392
395
|
attr_accessor :origin_data_source_id
|
@@ -210,50 +210,6 @@ module Google
|
|
210
210
|
execute_or_queue_command(command, &block)
|
211
211
|
end
|
212
212
|
|
213
|
-
# Updates the specified data source. The dataStreamId, dataType, type,
|
214
|
-
# dataStreamName, and device properties with the exception of version, cannot be
|
215
|
-
# modified.
|
216
|
-
# Data sources are identified by their dataStreamId. This method supports patch
|
217
|
-
# semantics.
|
218
|
-
# @param [String] user_id
|
219
|
-
# Update the data source for the person identified. Use me to indicate the
|
220
|
-
# authenticated user. Only me is supported at this time.
|
221
|
-
# @param [String] data_source_id
|
222
|
-
# The data stream ID of the data source to update.
|
223
|
-
# @param [Google::Apis::FitnessV1::DataSource] data_source_object
|
224
|
-
# @param [String] fields
|
225
|
-
# Selector specifying which fields to include in a partial response.
|
226
|
-
# @param [String] quota_user
|
227
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
228
|
-
# characters.
|
229
|
-
# @param [String] user_ip
|
230
|
-
# Deprecated. Please use quotaUser instead.
|
231
|
-
# @param [Google::Apis::RequestOptions] options
|
232
|
-
# Request-specific options
|
233
|
-
#
|
234
|
-
# @yield [result, err] Result & error if block supplied
|
235
|
-
# @yieldparam result [Google::Apis::FitnessV1::DataSource] parsed result object
|
236
|
-
# @yieldparam err [StandardError] error object if request failed
|
237
|
-
#
|
238
|
-
# @return [Google::Apis::FitnessV1::DataSource]
|
239
|
-
#
|
240
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
241
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
242
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
243
|
-
def patch_user_data_source(user_id, data_source_id, data_source_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
244
|
-
command = make_simple_command(:patch, '{userId}/dataSources/{dataSourceId}', options)
|
245
|
-
command.request_representation = Google::Apis::FitnessV1::DataSource::Representation
|
246
|
-
command.request_object = data_source_object
|
247
|
-
command.response_representation = Google::Apis::FitnessV1::DataSource::Representation
|
248
|
-
command.response_class = Google::Apis::FitnessV1::DataSource
|
249
|
-
command.params['userId'] = user_id unless user_id.nil?
|
250
|
-
command.params['dataSourceId'] = data_source_id unless data_source_id.nil?
|
251
|
-
command.query['fields'] = fields unless fields.nil?
|
252
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
253
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
254
|
-
execute_or_queue_command(command, &block)
|
255
|
-
end
|
256
|
-
|
257
213
|
# Updates the specified data source. The dataStreamId, dataType, type,
|
258
214
|
# dataStreamName, and device properties with the exception of version, cannot be
|
259
215
|
# modified.
|
@@ -603,7 +559,7 @@ module Google
|
|
603
559
|
# . If specified, the API returns sessions modified since this time. The page
|
604
560
|
# token is ignored if either start or end time is specified. If none of start
|
605
561
|
# time, end time, and the page token is specified, sessions modified in the last
|
606
|
-
#
|
562
|
+
# 30 days are returned.
|
607
563
|
# @param [String] start_time
|
608
564
|
# An RFC3339 timestamp. Only sessions ending between the start and end times
|
609
565
|
# will be included in the response.
|
@@ -25,9 +25,9 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/games/services
|
26
26
|
module GamesManagementV1management
|
27
27
|
VERSION = 'V1management'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190222'
|
29
29
|
|
30
|
-
#
|
30
|
+
# Create, edit, and delete your Google Play Games activity
|
31
31
|
AUTH_GAMES = 'https://www.googleapis.com/auth/games'
|
32
32
|
end
|
33
33
|
end
|
@@ -25,12 +25,12 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/games/services/
|
26
26
|
module GamesV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190222'
|
29
29
|
|
30
30
|
# View and manage its own configuration data in your Google Drive
|
31
31
|
AUTH_DRIVE_APPDATA = 'https://www.googleapis.com/auth/drive.appdata'
|
32
32
|
|
33
|
-
#
|
33
|
+
# Create, edit, and delete your Google Play Games activity
|
34
34
|
AUTH_GAMES = 'https://www.googleapis.com/auth/games'
|
35
35
|
|
36
36
|
# Know who you are on Google
|
@@ -25,22 +25,13 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/genomics
|
26
26
|
module GenomicsV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
29
|
-
|
30
|
-
# View and manage your data in Google BigQuery
|
31
|
-
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
28
|
+
REVISION = '20190323'
|
32
29
|
|
33
30
|
# View and manage your data across Google Cloud Platform services
|
34
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
35
32
|
|
36
|
-
# Manage your data in Google Cloud Storage
|
37
|
-
AUTH_DEVSTORAGE_READ_WRITE = 'https://www.googleapis.com/auth/devstorage.read_write'
|
38
|
-
|
39
33
|
# View and manage Genomics data
|
40
34
|
AUTH_GENOMICS = 'https://www.googleapis.com/auth/genomics'
|
41
|
-
|
42
|
-
# View Genomics data
|
43
|
-
AUTH_GENOMICS_READONLY = 'https://www.googleapis.com/auth/genomics.readonly'
|
44
35
|
end
|
45
36
|
end
|
46
37
|
end
|
@@ -22,322 +22,6 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module GenomicsV1
|
24
24
|
|
25
|
-
# An annotation describes a region of reference genome. The value of an
|
26
|
-
# annotation may be one of several canonical types, supplemented by arbitrary
|
27
|
-
# info tags. An annotation is not inherently associated with a specific
|
28
|
-
# sample or individual (though a client could choose to use annotations in
|
29
|
-
# this way). Example canonical annotation types are `GENE` and
|
30
|
-
# `VARIANT`.
|
31
|
-
class Annotation
|
32
|
-
include Google::Apis::Core::Hashable
|
33
|
-
|
34
|
-
# The annotation set to which this annotation belongs.
|
35
|
-
# Corresponds to the JSON property `annotationSetId`
|
36
|
-
# @return [String]
|
37
|
-
attr_accessor :annotation_set_id
|
38
|
-
|
39
|
-
# The end position of the range on the reference, 0-based exclusive.
|
40
|
-
# Corresponds to the JSON property `end`
|
41
|
-
# @return [Fixnum]
|
42
|
-
attr_accessor :end
|
43
|
-
|
44
|
-
# The server-generated annotation ID, unique across all annotations.
|
45
|
-
# Corresponds to the JSON property `id`
|
46
|
-
# @return [String]
|
47
|
-
attr_accessor :id
|
48
|
-
|
49
|
-
# A map of additional read alignment information. This must be of the form
|
50
|
-
# map<string, string[]> (string key mapping to a list of string values).
|
51
|
-
# Corresponds to the JSON property `info`
|
52
|
-
# @return [Hash<String,Array<Object>>]
|
53
|
-
attr_accessor :info
|
54
|
-
|
55
|
-
# The display name of this annotation.
|
56
|
-
# Corresponds to the JSON property `name`
|
57
|
-
# @return [String]
|
58
|
-
attr_accessor :name
|
59
|
-
|
60
|
-
# The ID of the Google Genomics reference associated with this range.
|
61
|
-
# Corresponds to the JSON property `referenceId`
|
62
|
-
# @return [String]
|
63
|
-
attr_accessor :reference_id
|
64
|
-
|
65
|
-
# The display name corresponding to the reference specified by
|
66
|
-
# `referenceId`, for example `chr1`, `1`, or `chrX`.
|
67
|
-
# Corresponds to the JSON property `referenceName`
|
68
|
-
# @return [String]
|
69
|
-
attr_accessor :reference_name
|
70
|
-
|
71
|
-
# Whether this range refers to the reverse strand, as opposed to the forward
|
72
|
-
# strand. Note that regardless of this field, the start/end position of the
|
73
|
-
# range always refer to the forward strand.
|
74
|
-
# Corresponds to the JSON property `reverseStrand`
|
75
|
-
# @return [Boolean]
|
76
|
-
attr_accessor :reverse_strand
|
77
|
-
alias_method :reverse_strand?, :reverse_strand
|
78
|
-
|
79
|
-
# The start position of the range on the reference, 0-based inclusive.
|
80
|
-
# Corresponds to the JSON property `start`
|
81
|
-
# @return [Fixnum]
|
82
|
-
attr_accessor :start
|
83
|
-
|
84
|
-
# A transcript represents the assertion that a particular region of the
|
85
|
-
# reference genome may be transcribed as RNA.
|
86
|
-
# Corresponds to the JSON property `transcript`
|
87
|
-
# @return [Google::Apis::GenomicsV1::Transcript]
|
88
|
-
attr_accessor :transcript
|
89
|
-
|
90
|
-
# The data type for this annotation. Must match the containing annotation
|
91
|
-
# set's type.
|
92
|
-
# Corresponds to the JSON property `type`
|
93
|
-
# @return [String]
|
94
|
-
attr_accessor :type
|
95
|
-
|
96
|
-
# A variant annotation, which describes the effect of a variant on the
|
97
|
-
# genome, the coding sequence, and/or higher level consequences at the
|
98
|
-
# organism level e.g. pathogenicity. This field is only set for annotations
|
99
|
-
# of type `VARIANT`.
|
100
|
-
# Corresponds to the JSON property `variant`
|
101
|
-
# @return [Google::Apis::GenomicsV1::VariantAnnotation]
|
102
|
-
attr_accessor :variant
|
103
|
-
|
104
|
-
def initialize(**args)
|
105
|
-
update!(**args)
|
106
|
-
end
|
107
|
-
|
108
|
-
# Update properties of this object
|
109
|
-
def update!(**args)
|
110
|
-
@annotation_set_id = args[:annotation_set_id] if args.key?(:annotation_set_id)
|
111
|
-
@end = args[:end] if args.key?(:end)
|
112
|
-
@id = args[:id] if args.key?(:id)
|
113
|
-
@info = args[:info] if args.key?(:info)
|
114
|
-
@name = args[:name] if args.key?(:name)
|
115
|
-
@reference_id = args[:reference_id] if args.key?(:reference_id)
|
116
|
-
@reference_name = args[:reference_name] if args.key?(:reference_name)
|
117
|
-
@reverse_strand = args[:reverse_strand] if args.key?(:reverse_strand)
|
118
|
-
@start = args[:start] if args.key?(:start)
|
119
|
-
@transcript = args[:transcript] if args.key?(:transcript)
|
120
|
-
@type = args[:type] if args.key?(:type)
|
121
|
-
@variant = args[:variant] if args.key?(:variant)
|
122
|
-
end
|
123
|
-
end
|
124
|
-
|
125
|
-
# An annotation set is a logical grouping of annotations that share consistent
|
126
|
-
# type information and provenance. Examples of annotation sets include 'all
|
127
|
-
# genes from refseq', and 'all variant annotations from ClinVar'.
|
128
|
-
class AnnotationSet
|
129
|
-
include Google::Apis::Core::Hashable
|
130
|
-
|
131
|
-
# The dataset to which this annotation set belongs.
|
132
|
-
# Corresponds to the JSON property `datasetId`
|
133
|
-
# @return [String]
|
134
|
-
attr_accessor :dataset_id
|
135
|
-
|
136
|
-
# The server-generated annotation set ID, unique across all annotation sets.
|
137
|
-
# Corresponds to the JSON property `id`
|
138
|
-
# @return [String]
|
139
|
-
attr_accessor :id
|
140
|
-
|
141
|
-
# A map of additional read alignment information. This must be of the form
|
142
|
-
# map<string, string[]> (string key mapping to a list of string values).
|
143
|
-
# Corresponds to the JSON property `info`
|
144
|
-
# @return [Hash<String,Array<Object>>]
|
145
|
-
attr_accessor :info
|
146
|
-
|
147
|
-
# The display name for this annotation set.
|
148
|
-
# Corresponds to the JSON property `name`
|
149
|
-
# @return [String]
|
150
|
-
attr_accessor :name
|
151
|
-
|
152
|
-
# The ID of the reference set that defines the coordinate space for this
|
153
|
-
# set's annotations.
|
154
|
-
# Corresponds to the JSON property `referenceSetId`
|
155
|
-
# @return [String]
|
156
|
-
attr_accessor :reference_set_id
|
157
|
-
|
158
|
-
# The source URI describing the file from which this annotation set was
|
159
|
-
# generated, if any.
|
160
|
-
# Corresponds to the JSON property `sourceUri`
|
161
|
-
# @return [String]
|
162
|
-
attr_accessor :source_uri
|
163
|
-
|
164
|
-
# The type of annotations contained within this set.
|
165
|
-
# Corresponds to the JSON property `type`
|
166
|
-
# @return [String]
|
167
|
-
attr_accessor :type
|
168
|
-
|
169
|
-
def initialize(**args)
|
170
|
-
update!(**args)
|
171
|
-
end
|
172
|
-
|
173
|
-
# Update properties of this object
|
174
|
-
def update!(**args)
|
175
|
-
@dataset_id = args[:dataset_id] if args.key?(:dataset_id)
|
176
|
-
@id = args[:id] if args.key?(:id)
|
177
|
-
@info = args[:info] if args.key?(:info)
|
178
|
-
@name = args[:name] if args.key?(:name)
|
179
|
-
@reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id)
|
180
|
-
@source_uri = args[:source_uri] if args.key?(:source_uri)
|
181
|
-
@type = args[:type] if args.key?(:type)
|
182
|
-
end
|
183
|
-
end
|
184
|
-
|
185
|
-
#
|
186
|
-
class BatchCreateAnnotationsRequest
|
187
|
-
include Google::Apis::Core::Hashable
|
188
|
-
|
189
|
-
# The annotations to be created. At most 4096 can be specified in a single
|
190
|
-
# request.
|
191
|
-
# Corresponds to the JSON property `annotations`
|
192
|
-
# @return [Array<Google::Apis::GenomicsV1::Annotation>]
|
193
|
-
attr_accessor :annotations
|
194
|
-
|
195
|
-
# A unique request ID which enables the server to detect duplicated requests.
|
196
|
-
# If provided, duplicated requests will result in the same response; if not
|
197
|
-
# provided, duplicated requests may result in duplicated data. For a given
|
198
|
-
# annotation set, callers should not reuse `request_id`s when writing
|
199
|
-
# different batches of annotations - behavior in this case is undefined.
|
200
|
-
# A common approach is to use a UUID. For batch jobs where worker crashes are
|
201
|
-
# a possibility, consider using some unique variant of a worker or run ID.
|
202
|
-
# Corresponds to the JSON property `requestId`
|
203
|
-
# @return [String]
|
204
|
-
attr_accessor :request_id
|
205
|
-
|
206
|
-
def initialize(**args)
|
207
|
-
update!(**args)
|
208
|
-
end
|
209
|
-
|
210
|
-
# Update properties of this object
|
211
|
-
def update!(**args)
|
212
|
-
@annotations = args[:annotations] if args.key?(:annotations)
|
213
|
-
@request_id = args[:request_id] if args.key?(:request_id)
|
214
|
-
end
|
215
|
-
end
|
216
|
-
|
217
|
-
#
|
218
|
-
class BatchCreateAnnotationsResponse
|
219
|
-
include Google::Apis::Core::Hashable
|
220
|
-
|
221
|
-
# The resulting per-annotation entries, ordered consistently with the
|
222
|
-
# original request.
|
223
|
-
# Corresponds to the JSON property `entries`
|
224
|
-
# @return [Array<Google::Apis::GenomicsV1::Entry>]
|
225
|
-
attr_accessor :entries
|
226
|
-
|
227
|
-
def initialize(**args)
|
228
|
-
update!(**args)
|
229
|
-
end
|
230
|
-
|
231
|
-
# Update properties of this object
|
232
|
-
def update!(**args)
|
233
|
-
@entries = args[:entries] if args.key?(:entries)
|
234
|
-
end
|
235
|
-
end
|
236
|
-
|
237
|
-
# Associates `members` with a `role`.
|
238
|
-
class Binding
|
239
|
-
include Google::Apis::Core::Hashable
|
240
|
-
|
241
|
-
# Represents an expression text. Example:
|
242
|
-
# title: "User account presence"
|
243
|
-
# description: "Determines whether the request has a user account"
|
244
|
-
# expression: "size(request.user) > 0"
|
245
|
-
# Corresponds to the JSON property `condition`
|
246
|
-
# @return [Google::Apis::GenomicsV1::Expr]
|
247
|
-
attr_accessor :condition
|
248
|
-
|
249
|
-
# Specifies the identities requesting access for a Cloud Platform resource.
|
250
|
-
# `members` can have the following values:
|
251
|
-
# * `allUsers`: A special identifier that represents anyone who is
|
252
|
-
# on the internet; with or without a Google account.
|
253
|
-
# * `allAuthenticatedUsers`: A special identifier that represents anyone
|
254
|
-
# who is authenticated with a Google account or a service account.
|
255
|
-
# * `user:`emailid``: An email address that represents a specific Google
|
256
|
-
# account. For example, `alice@gmail.com` .
|
257
|
-
# * `serviceAccount:`emailid``: An email address that represents a service
|
258
|
-
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
259
|
-
# * `group:`emailid``: An email address that represents a Google group.
|
260
|
-
# For example, `admins@example.com`.
|
261
|
-
# * `domain:`domain``: A Google Apps domain name that represents all the
|
262
|
-
# users of that domain. For example, `google.com` or `example.com`.
|
263
|
-
# Corresponds to the JSON property `members`
|
264
|
-
# @return [Array<String>]
|
265
|
-
attr_accessor :members
|
266
|
-
|
267
|
-
# Role that is assigned to `members`.
|
268
|
-
# For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
|
269
|
-
# Corresponds to the JSON property `role`
|
270
|
-
# @return [String]
|
271
|
-
attr_accessor :role
|
272
|
-
|
273
|
-
def initialize(**args)
|
274
|
-
update!(**args)
|
275
|
-
end
|
276
|
-
|
277
|
-
# Update properties of this object
|
278
|
-
def update!(**args)
|
279
|
-
@condition = args[:condition] if args.key?(:condition)
|
280
|
-
@members = args[:members] if args.key?(:members)
|
281
|
-
@role = args[:role] if args.key?(:role)
|
282
|
-
end
|
283
|
-
end
|
284
|
-
|
285
|
-
# A call set is a collection of variant calls, typically for one sample. It
|
286
|
-
# belongs to a variant set.
|
287
|
-
class CallSet
|
288
|
-
include Google::Apis::Core::Hashable
|
289
|
-
|
290
|
-
# The date this call set was created in milliseconds from the epoch.
|
291
|
-
# Corresponds to the JSON property `created`
|
292
|
-
# @return [Fixnum]
|
293
|
-
attr_accessor :created
|
294
|
-
|
295
|
-
# The server-generated call set ID, unique across all call sets.
|
296
|
-
# Corresponds to the JSON property `id`
|
297
|
-
# @return [String]
|
298
|
-
attr_accessor :id
|
299
|
-
|
300
|
-
# A map of additional call set information. This must be of the form
|
301
|
-
# map<string, string[]> (string key mapping to a list of string values).
|
302
|
-
# Corresponds to the JSON property `info`
|
303
|
-
# @return [Hash<String,Array<Object>>]
|
304
|
-
attr_accessor :info
|
305
|
-
|
306
|
-
# The call set name.
|
307
|
-
# Corresponds to the JSON property `name`
|
308
|
-
# @return [String]
|
309
|
-
attr_accessor :name
|
310
|
-
|
311
|
-
# The sample ID this call set corresponds to.
|
312
|
-
# Corresponds to the JSON property `sampleId`
|
313
|
-
# @return [String]
|
314
|
-
attr_accessor :sample_id
|
315
|
-
|
316
|
-
# The IDs of the variant sets this call set belongs to. This field must
|
317
|
-
# have exactly length one, as a call set belongs to a single variant set.
|
318
|
-
# This field is repeated for compatibility with the
|
319
|
-
# [GA4GH 0.5.1
|
320
|
-
# API](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/
|
321
|
-
# variants.avdl#L76).
|
322
|
-
# Corresponds to the JSON property `variantSetIds`
|
323
|
-
# @return [Array<String>]
|
324
|
-
attr_accessor :variant_set_ids
|
325
|
-
|
326
|
-
def initialize(**args)
|
327
|
-
update!(**args)
|
328
|
-
end
|
329
|
-
|
330
|
-
# Update properties of this object
|
331
|
-
def update!(**args)
|
332
|
-
@created = args[:created] if args.key?(:created)
|
333
|
-
@id = args[:id] if args.key?(:id)
|
334
|
-
@info = args[:info] if args.key?(:info)
|
335
|
-
@name = args[:name] if args.key?(:name)
|
336
|
-
@sample_id = args[:sample_id] if args.key?(:sample_id)
|
337
|
-
@variant_set_ids = args[:variant_set_ids] if args.key?(:variant_set_ids)
|
338
|
-
end
|
339
|
-
end
|
340
|
-
|
341
25
|
# The request message for Operations.CancelOperation.
|
342
26
|
class CancelOperationRequest
|
343
27
|
include Google::Apis::Core::Hashable
|
@@ -351,108 +35,6 @@ module Google
|
|
351
35
|
end
|
352
36
|
end
|
353
37
|
|
354
|
-
# A single CIGAR operation.
|
355
|
-
class CigarUnit
|
356
|
-
include Google::Apis::Core::Hashable
|
357
|
-
|
358
|
-
#
|
359
|
-
# Corresponds to the JSON property `operation`
|
360
|
-
# @return [String]
|
361
|
-
attr_accessor :operation
|
362
|
-
|
363
|
-
# The number of genomic bases that the operation runs for. Required.
|
364
|
-
# Corresponds to the JSON property `operationLength`
|
365
|
-
# @return [Fixnum]
|
366
|
-
attr_accessor :operation_length
|
367
|
-
|
368
|
-
# `referenceSequence` is only used at mismatches
|
369
|
-
# (`SEQUENCE_MISMATCH`) and deletions (`DELETE`).
|
370
|
-
# Filling this field replaces SAM's MD tag. If the relevant information is
|
371
|
-
# not available, this field is unset.
|
372
|
-
# Corresponds to the JSON property `referenceSequence`
|
373
|
-
# @return [String]
|
374
|
-
attr_accessor :reference_sequence
|
375
|
-
|
376
|
-
def initialize(**args)
|
377
|
-
update!(**args)
|
378
|
-
end
|
379
|
-
|
380
|
-
# Update properties of this object
|
381
|
-
def update!(**args)
|
382
|
-
@operation = args[:operation] if args.key?(:operation)
|
383
|
-
@operation_length = args[:operation_length] if args.key?(:operation_length)
|
384
|
-
@reference_sequence = args[:reference_sequence] if args.key?(:reference_sequence)
|
385
|
-
end
|
386
|
-
end
|
387
|
-
|
388
|
-
#
|
389
|
-
class ClinicalCondition
|
390
|
-
include Google::Apis::Core::Hashable
|
391
|
-
|
392
|
-
# The MedGen concept id associated with this gene.
|
393
|
-
# Search for these IDs at http://www.ncbi.nlm.nih.gov/medgen/
|
394
|
-
# Corresponds to the JSON property `conceptId`
|
395
|
-
# @return [String]
|
396
|
-
attr_accessor :concept_id
|
397
|
-
|
398
|
-
# The set of external IDs for this condition.
|
399
|
-
# Corresponds to the JSON property `externalIds`
|
400
|
-
# @return [Array<Google::Apis::GenomicsV1::ExternalId>]
|
401
|
-
attr_accessor :external_ids
|
402
|
-
|
403
|
-
# A set of names for the condition.
|
404
|
-
# Corresponds to the JSON property `names`
|
405
|
-
# @return [Array<String>]
|
406
|
-
attr_accessor :names
|
407
|
-
|
408
|
-
# The OMIM id for this condition.
|
409
|
-
# Search for these IDs at http://omim.org/
|
410
|
-
# Corresponds to the JSON property `omimId`
|
411
|
-
# @return [String]
|
412
|
-
attr_accessor :omim_id
|
413
|
-
|
414
|
-
def initialize(**args)
|
415
|
-
update!(**args)
|
416
|
-
end
|
417
|
-
|
418
|
-
# Update properties of this object
|
419
|
-
def update!(**args)
|
420
|
-
@concept_id = args[:concept_id] if args.key?(:concept_id)
|
421
|
-
@external_ids = args[:external_ids] if args.key?(:external_ids)
|
422
|
-
@names = args[:names] if args.key?(:names)
|
423
|
-
@omim_id = args[:omim_id] if args.key?(:omim_id)
|
424
|
-
end
|
425
|
-
end
|
426
|
-
|
427
|
-
#
|
428
|
-
class CodingSequence
|
429
|
-
include Google::Apis::Core::Hashable
|
430
|
-
|
431
|
-
# The end of the coding sequence on this annotation's reference sequence,
|
432
|
-
# 0-based exclusive. Note that this position is relative to the reference
|
433
|
-
# start, and *not* the containing annotation start.
|
434
|
-
# Corresponds to the JSON property `end`
|
435
|
-
# @return [Fixnum]
|
436
|
-
attr_accessor :end
|
437
|
-
|
438
|
-
# The start of the coding sequence on this annotation's reference sequence,
|
439
|
-
# 0-based inclusive. Note that this position is relative to the reference
|
440
|
-
# start, and *not* the containing annotation start.
|
441
|
-
# Corresponds to the JSON property `start`
|
442
|
-
# @return [Fixnum]
|
443
|
-
attr_accessor :start
|
444
|
-
|
445
|
-
def initialize(**args)
|
446
|
-
update!(**args)
|
447
|
-
end
|
448
|
-
|
449
|
-
# Update properties of this object
|
450
|
-
def update!(**args)
|
451
|
-
@end = args[:end] if args.key?(:end)
|
452
|
-
@start = args[:start] if args.key?(:start)
|
453
|
-
end
|
454
|
-
end
|
455
|
-
|
456
38
|
# Describes a Compute Engine resource that is being managed by a running
|
457
39
|
# pipeline.
|
458
40
|
class ComputeEngine
|
@@ -585,70 +167,6 @@ module Google
|
|
585
167
|
end
|
586
168
|
end
|
587
169
|
|
588
|
-
# A bucket over which read coverage has been precomputed. A bucket corresponds
|
589
|
-
# to a specific range of the reference sequence.
|
590
|
-
class CoverageBucket
|
591
|
-
include Google::Apis::Core::Hashable
|
592
|
-
|
593
|
-
# The average number of reads which are aligned to each individual
|
594
|
-
# reference base in this bucket.
|
595
|
-
# Corresponds to the JSON property `meanCoverage`
|
596
|
-
# @return [Float]
|
597
|
-
attr_accessor :mean_coverage
|
598
|
-
|
599
|
-
# A 0-based half-open genomic coordinate range for search requests.
|
600
|
-
# Corresponds to the JSON property `range`
|
601
|
-
# @return [Google::Apis::GenomicsV1::Range]
|
602
|
-
attr_accessor :range
|
603
|
-
|
604
|
-
def initialize(**args)
|
605
|
-
update!(**args)
|
606
|
-
end
|
607
|
-
|
608
|
-
# Update properties of this object
|
609
|
-
def update!(**args)
|
610
|
-
@mean_coverage = args[:mean_coverage] if args.key?(:mean_coverage)
|
611
|
-
@range = args[:range] if args.key?(:range)
|
612
|
-
end
|
613
|
-
end
|
614
|
-
|
615
|
-
# A Dataset is a collection of genomic data.
|
616
|
-
class Dataset
|
617
|
-
include Google::Apis::Core::Hashable
|
618
|
-
|
619
|
-
# The time this dataset was created, in seconds from the epoch.
|
620
|
-
# Corresponds to the JSON property `createTime`
|
621
|
-
# @return [String]
|
622
|
-
attr_accessor :create_time
|
623
|
-
|
624
|
-
# The server-generated dataset ID, unique across all datasets.
|
625
|
-
# Corresponds to the JSON property `id`
|
626
|
-
# @return [String]
|
627
|
-
attr_accessor :id
|
628
|
-
|
629
|
-
# The dataset name.
|
630
|
-
# Corresponds to the JSON property `name`
|
631
|
-
# @return [String]
|
632
|
-
attr_accessor :name
|
633
|
-
|
634
|
-
# The Google Cloud project ID that this dataset belongs to.
|
635
|
-
# Corresponds to the JSON property `projectId`
|
636
|
-
# @return [String]
|
637
|
-
attr_accessor :project_id
|
638
|
-
|
639
|
-
def initialize(**args)
|
640
|
-
update!(**args)
|
641
|
-
end
|
642
|
-
|
643
|
-
# Update properties of this object
|
644
|
-
def update!(**args)
|
645
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
646
|
-
@id = args[:id] if args.key?(:id)
|
647
|
-
@name = args[:name] if args.key?(:name)
|
648
|
-
@project_id = args[:project_id] if args.key?(:project_id)
|
649
|
-
end
|
650
|
-
end
|
651
|
-
|
652
170
|
# An event generated whenever a resource limitation or transient error
|
653
171
|
# delays execution of a pipeline that was otherwise ready to run.
|
654
172
|
class DelayedEvent
|
@@ -699,76 +217,8 @@ module Google
|
|
699
217
|
end
|
700
218
|
end
|
701
219
|
|
702
|
-
#
|
703
|
-
class
|
704
|
-
include Google::Apis::Core::Hashable
|
705
|
-
|
706
|
-
# An annotation describes a region of reference genome. The value of an
|
707
|
-
# annotation may be one of several canonical types, supplemented by arbitrary
|
708
|
-
# info tags. An annotation is not inherently associated with a specific
|
709
|
-
# sample or individual (though a client could choose to use annotations in
|
710
|
-
# this way). Example canonical annotation types are `GENE` and
|
711
|
-
# `VARIANT`.
|
712
|
-
# Corresponds to the JSON property `annotation`
|
713
|
-
# @return [Google::Apis::GenomicsV1::Annotation]
|
714
|
-
attr_accessor :annotation
|
715
|
-
|
716
|
-
# The `Status` type defines a logical error model that is suitable for different
|
717
|
-
# programming environments, including REST APIs and RPC APIs. It is used by
|
718
|
-
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
719
|
-
# - Simple to use and understand for most users
|
720
|
-
# - Flexible enough to meet unexpected needs
|
721
|
-
# # Overview
|
722
|
-
# The `Status` message contains three pieces of data: error code, error message,
|
723
|
-
# and error details. The error code should be an enum value of
|
724
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
725
|
-
# error message should be a developer-facing English message that helps
|
726
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
727
|
-
# error message is needed, put the localized message in the error details or
|
728
|
-
# localize it in the client. The optional error details may contain arbitrary
|
729
|
-
# information about the error. There is a predefined set of error detail types
|
730
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
731
|
-
# # Language mapping
|
732
|
-
# The `Status` message is the logical representation of the error model, but it
|
733
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
734
|
-
# exposed in different client libraries and different wire protocols, it can be
|
735
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
736
|
-
# in Java, but more likely mapped to some error codes in C.
|
737
|
-
# # Other uses
|
738
|
-
# The error model and the `Status` message can be used in a variety of
|
739
|
-
# environments, either with or without APIs, to provide a
|
740
|
-
# consistent developer experience across different environments.
|
741
|
-
# Example uses of this error model include:
|
742
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
743
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
744
|
-
# errors.
|
745
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
746
|
-
# have a `Status` message for error reporting.
|
747
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
748
|
-
# `Status` message should be used directly inside batch response, one for
|
749
|
-
# each error sub-response.
|
750
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
751
|
-
# results in its response, the status of those operations should be
|
752
|
-
# represented directly using the `Status` message.
|
753
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
754
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
755
|
-
# Corresponds to the JSON property `status`
|
756
|
-
# @return [Google::Apis::GenomicsV1::Status]
|
757
|
-
attr_accessor :status
|
758
|
-
|
759
|
-
def initialize(**args)
|
760
|
-
update!(**args)
|
761
|
-
end
|
762
|
-
|
763
|
-
# Update properties of this object
|
764
|
-
def update!(**args)
|
765
|
-
@annotation = args[:annotation] if args.key?(:annotation)
|
766
|
-
@status = args[:status] if args.key?(:status)
|
767
|
-
end
|
768
|
-
end
|
769
|
-
|
770
|
-
# Carries information about events that occur during pipeline execution.
|
771
|
-
class Event
|
220
|
+
# Carries information about events that occur during pipeline execution.
|
221
|
+
class Event
|
772
222
|
include Google::Apis::Core::Hashable
|
773
223
|
|
774
224
|
# A human-readable description of the event. Note that these strings can
|
@@ -800,81 +250,20 @@ module Google
|
|
800
250
|
end
|
801
251
|
end
|
802
252
|
|
803
|
-
#
|
804
|
-
|
805
|
-
|
806
|
-
|
807
|
-
# The end position of the exon on this annotation's reference sequence,
|
808
|
-
# 0-based exclusive. Note that this is relative to the reference start, and
|
809
|
-
# *not* the containing annotation start.
|
810
|
-
# Corresponds to the JSON property `end`
|
811
|
-
# @return [Fixnum]
|
812
|
-
attr_accessor :end
|
813
|
-
|
814
|
-
# The frame of this exon. Contains a value of 0, 1, or 2, which indicates
|
815
|
-
# the offset of the first coding base of the exon within the reading frame
|
816
|
-
# of the coding DNA sequence, if any. This field is dependent on the
|
817
|
-
# strandedness of this annotation (see
|
818
|
-
# Annotation.reverse_strand).
|
819
|
-
# For forward stranded annotations, this offset is relative to the
|
820
|
-
# exon.start. For reverse
|
821
|
-
# strand annotations, this offset is relative to the
|
822
|
-
# exon.end `- 1`.
|
823
|
-
# Unset if this exon does not intersect the coding sequence. Upon creation
|
824
|
-
# of a transcript, the frame must be populated for all or none of the
|
825
|
-
# coding exons.
|
826
|
-
# Corresponds to the JSON property `frame`
|
827
|
-
# @return [Fixnum]
|
828
|
-
attr_accessor :frame
|
829
|
-
|
830
|
-
# The start position of the exon on this annotation's reference sequence,
|
831
|
-
# 0-based inclusive. Note that this is relative to the reference start, and
|
832
|
-
# **not** the containing annotation start.
|
833
|
-
# Corresponds to the JSON property `start`
|
834
|
-
# @return [Fixnum]
|
835
|
-
attr_accessor :start
|
836
|
-
|
837
|
-
def initialize(**args)
|
838
|
-
update!(**args)
|
839
|
-
end
|
840
|
-
|
841
|
-
# Update properties of this object
|
842
|
-
def update!(**args)
|
843
|
-
@end = args[:end] if args.key?(:end)
|
844
|
-
@frame = args[:frame] if args.key?(:frame)
|
845
|
-
@start = args[:start] if args.key?(:start)
|
846
|
-
end
|
847
|
-
end
|
848
|
-
|
849
|
-
#
|
850
|
-
class Experiment
|
253
|
+
# An event generated when the execution of a pipeline has failed. Note
|
254
|
+
# that other events can continue to occur after this event.
|
255
|
+
class FailedEvent
|
851
256
|
include Google::Apis::Core::Hashable
|
852
257
|
|
853
|
-
# The
|
854
|
-
#
|
855
|
-
# Corresponds to the JSON property `instrumentModel`
|
856
|
-
# @return [String]
|
857
|
-
attr_accessor :instrument_model
|
858
|
-
|
859
|
-
# A client-supplied library identifier; a library is a collection of DNA
|
860
|
-
# fragments which have been prepared for sequencing from a sample. This
|
861
|
-
# field is important for quality control as error or bias can be introduced
|
862
|
-
# during sample preparation.
|
863
|
-
# Corresponds to the JSON property `libraryId`
|
864
|
-
# @return [String]
|
865
|
-
attr_accessor :library_id
|
866
|
-
|
867
|
-
# The platform unit used as part of this experiment, for example
|
868
|
-
# flowcell-barcode.lane for Illumina or slide for SOLiD. Corresponds to the
|
869
|
-
# @RG PU field in the SAM spec.
|
870
|
-
# Corresponds to the JSON property `platformUnit`
|
258
|
+
# The human-readable description of the cause of the failure.
|
259
|
+
# Corresponds to the JSON property `cause`
|
871
260
|
# @return [String]
|
872
|
-
attr_accessor :
|
261
|
+
attr_accessor :cause
|
873
262
|
|
874
|
-
# The
|
875
|
-
# Corresponds to the JSON property `
|
263
|
+
# The Google standard error code that best describes this failure.
|
264
|
+
# Corresponds to the JSON property `code`
|
876
265
|
# @return [String]
|
877
|
-
attr_accessor :
|
266
|
+
attr_accessor :code
|
878
267
|
|
879
268
|
def initialize(**args)
|
880
269
|
update!(**args)
|
@@ -882,36 +271,24 @@ module Google
|
|
882
271
|
|
883
272
|
# Update properties of this object
|
884
273
|
def update!(**args)
|
885
|
-
@
|
886
|
-
@
|
887
|
-
@platform_unit = args[:platform_unit] if args.key?(:platform_unit)
|
888
|
-
@sequencing_center = args[:sequencing_center] if args.key?(:sequencing_center)
|
274
|
+
@cause = args[:cause] if args.key?(:cause)
|
275
|
+
@code = args[:code] if args.key?(:code)
|
889
276
|
end
|
890
277
|
end
|
891
278
|
|
892
|
-
# The
|
893
|
-
class
|
279
|
+
# The response message for Operations.ListOperations.
|
280
|
+
class ListOperationsResponse
|
894
281
|
include Google::Apis::Core::Hashable
|
895
282
|
|
896
|
-
#
|
897
|
-
#
|
898
|
-
# An error will be returned if the URI already contains data.
|
899
|
-
# Corresponds to the JSON property `exportUri`
|
900
|
-
# @return [String]
|
901
|
-
attr_accessor :export_uri
|
902
|
-
|
903
|
-
# Required. The Google Cloud project ID that owns this
|
904
|
-
# export. The caller must have WRITE access to this project.
|
905
|
-
# Corresponds to the JSON property `projectId`
|
283
|
+
# The standard List next-page token.
|
284
|
+
# Corresponds to the JSON property `nextPageToken`
|
906
285
|
# @return [String]
|
907
|
-
attr_accessor :
|
286
|
+
attr_accessor :next_page_token
|
908
287
|
|
909
|
-
#
|
910
|
-
#
|
911
|
-
#
|
912
|
-
|
913
|
-
# @return [Array<String>]
|
914
|
-
attr_accessor :reference_names
|
288
|
+
# A list of operations that matches the specified filter in the request.
|
289
|
+
# Corresponds to the JSON property `operations`
|
290
|
+
# @return [Array<Google::Apis::GenomicsV1::Operation>]
|
291
|
+
attr_accessor :operations
|
915
292
|
|
916
293
|
def initialize(**args)
|
917
294
|
update!(**args)
|
@@ -919,46 +296,84 @@ module Google
|
|
919
296
|
|
920
297
|
# Update properties of this object
|
921
298
|
def update!(**args)
|
922
|
-
@
|
923
|
-
@
|
924
|
-
@reference_names = args[:reference_names] if args.key?(:reference_names)
|
299
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
300
|
+
@operations = args[:operations] if args.key?(:operations)
|
925
301
|
end
|
926
302
|
end
|
927
303
|
|
928
|
-
#
|
929
|
-
|
304
|
+
# This resource represents a long-running operation that is the result of a
|
305
|
+
# network API call.
|
306
|
+
class Operation
|
930
307
|
include Google::Apis::Core::Hashable
|
931
308
|
|
932
|
-
#
|
933
|
-
#
|
934
|
-
#
|
935
|
-
#
|
936
|
-
|
309
|
+
# If the value is `false`, it means the operation is still in progress.
|
310
|
+
# If `true`, the operation is completed, and either `error` or `response` is
|
311
|
+
# available.
|
312
|
+
# Corresponds to the JSON property `done`
|
313
|
+
# @return [Boolean]
|
314
|
+
attr_accessor :done
|
315
|
+
alias_method :done?, :done
|
937
316
|
|
938
|
-
#
|
939
|
-
#
|
940
|
-
#
|
941
|
-
#
|
942
|
-
#
|
943
|
-
|
317
|
+
# The `Status` type defines a logical error model that is suitable for
|
318
|
+
# different programming environments, including REST APIs and RPC APIs. It is
|
319
|
+
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
|
320
|
+
# - Simple to use and understand for most users
|
321
|
+
# - Flexible enough to meet unexpected needs
|
322
|
+
# # Overview
|
323
|
+
# The `Status` message contains three pieces of data: error code, error
|
324
|
+
# message, and error details. The error code should be an enum value of
|
325
|
+
# google.rpc.Code, but it may accept additional error codes if needed. The
|
326
|
+
# error message should be a developer-facing English message that helps
|
327
|
+
# developers *understand* and *resolve* the error. If a localized user-facing
|
328
|
+
# error message is needed, put the localized message in the error details or
|
329
|
+
# localize it in the client. The optional error details may contain arbitrary
|
330
|
+
# information about the error. There is a predefined set of error detail types
|
331
|
+
# in the package `google.rpc` that can be used for common error conditions.
|
332
|
+
# # Language mapping
|
333
|
+
# The `Status` message is the logical representation of the error model, but it
|
334
|
+
# is not necessarily the actual wire format. When the `Status` message is
|
335
|
+
# exposed in different client libraries and different wire protocols, it can be
|
336
|
+
# mapped differently. For example, it will likely be mapped to some exceptions
|
337
|
+
# in Java, but more likely mapped to some error codes in C.
|
338
|
+
# # Other uses
|
339
|
+
# The error model and the `Status` message can be used in a variety of
|
340
|
+
# environments, either with or without APIs, to provide a
|
341
|
+
# consistent developer experience across different environments.
|
342
|
+
# Example uses of this error model include:
|
343
|
+
# - Partial errors. If a service needs to return partial errors to the client,
|
344
|
+
# it may embed the `Status` in the normal response to indicate the partial
|
345
|
+
# errors.
|
346
|
+
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
347
|
+
# have a `Status` message for error reporting.
|
348
|
+
# - Batch operations. If a client uses batch request and batch response, the
|
349
|
+
# `Status` message should be used directly inside batch response, one for
|
350
|
+
# each error sub-response.
|
351
|
+
# - Asynchronous operations. If an API call embeds asynchronous operation
|
352
|
+
# results in its response, the status of those operations should be
|
353
|
+
# represented directly using the `Status` message.
|
354
|
+
# - Logging. If some API errors are stored in logs, the message `Status` could
|
355
|
+
# be used directly after any stripping needed for security/privacy reasons.
|
356
|
+
# Corresponds to the JSON property `error`
|
357
|
+
# @return [Google::Apis::GenomicsV1::Status]
|
358
|
+
attr_accessor :error
|
944
359
|
|
945
|
-
#
|
946
|
-
#
|
947
|
-
# Corresponds to the JSON property `
|
948
|
-
# @return [
|
949
|
-
attr_accessor :
|
360
|
+
# An OperationMetadata or Metadata object. This will always be returned with the
|
361
|
+
# Operation.
|
362
|
+
# Corresponds to the JSON property `metadata`
|
363
|
+
# @return [Hash<String,Object>]
|
364
|
+
attr_accessor :metadata
|
950
365
|
|
951
|
-
# The
|
952
|
-
#
|
366
|
+
# The server-assigned name, which is only unique within the same service that
|
367
|
+
# originally returns it. For example: `operations/CJHU7Oi_ChDrveSpBRjfuL-
|
368
|
+
# qzoWAgEw`
|
369
|
+
# Corresponds to the JSON property `name`
|
953
370
|
# @return [String]
|
954
|
-
attr_accessor :
|
371
|
+
attr_accessor :name
|
955
372
|
|
956
|
-
#
|
957
|
-
#
|
958
|
-
#
|
959
|
-
|
960
|
-
# @return [String]
|
961
|
-
attr_accessor :project_id
|
373
|
+
# An Empty object.
|
374
|
+
# Corresponds to the JSON property `response`
|
375
|
+
# @return [Hash<String,Object>]
|
376
|
+
attr_accessor :response
|
962
377
|
|
963
378
|
def initialize(**args)
|
964
379
|
update!(**args)
|
@@ -966,47 +381,33 @@ module Google
|
|
966
381
|
|
967
382
|
# Update properties of this object
|
968
383
|
def update!(**args)
|
969
|
-
@
|
970
|
-
@
|
971
|
-
@
|
972
|
-
@
|
973
|
-
@
|
384
|
+
@done = args[:done] if args.key?(:done)
|
385
|
+
@error = args[:error] if args.key?(:error)
|
386
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
387
|
+
@name = args[:name] if args.key?(:name)
|
388
|
+
@response = args[:response] if args.key?(:response)
|
974
389
|
end
|
975
390
|
end
|
976
391
|
|
977
|
-
#
|
978
|
-
|
979
|
-
# description: "Determines whether the request has a user account"
|
980
|
-
# expression: "size(request.user) > 0"
|
981
|
-
class Expr
|
392
|
+
# An event that occurred during an Operation.
|
393
|
+
class OperationEvent
|
982
394
|
include Google::Apis::Core::Hashable
|
983
395
|
|
984
|
-
#
|
985
|
-
# describes the expression, e.g. when hovered over it in a UI.
|
396
|
+
# Required description of event.
|
986
397
|
# Corresponds to the JSON property `description`
|
987
398
|
# @return [String]
|
988
399
|
attr_accessor :description
|
989
400
|
|
990
|
-
#
|
991
|
-
#
|
992
|
-
#
|
993
|
-
# well-known feature set of CEL is supported.
|
994
|
-
# Corresponds to the JSON property `expression`
|
995
|
-
# @return [String]
|
996
|
-
attr_accessor :expression
|
997
|
-
|
998
|
-
# An optional string indicating the location of the expression for error
|
999
|
-
# reporting, e.g. a file name and a position in the file.
|
1000
|
-
# Corresponds to the JSON property `location`
|
401
|
+
# Optional time of when event finished. An event can have a start time and no
|
402
|
+
# finish time. If an event has a finish time, there must be a start time.
|
403
|
+
# Corresponds to the JSON property `endTime`
|
1001
404
|
# @return [String]
|
1002
|
-
attr_accessor :
|
405
|
+
attr_accessor :end_time
|
1003
406
|
|
1004
|
-
#
|
1005
|
-
#
|
1006
|
-
# expression.
|
1007
|
-
# Corresponds to the JSON property `title`
|
407
|
+
# Optional time of when event started.
|
408
|
+
# Corresponds to the JSON property `startTime`
|
1008
409
|
# @return [String]
|
1009
|
-
attr_accessor :
|
410
|
+
attr_accessor :start_time
|
1010
411
|
|
1011
412
|
def initialize(**args)
|
1012
413
|
update!(**args)
|
@@ -1015,51 +416,65 @@ module Google
|
|
1015
416
|
# Update properties of this object
|
1016
417
|
def update!(**args)
|
1017
418
|
@description = args[:description] if args.key?(:description)
|
1018
|
-
@
|
1019
|
-
@
|
1020
|
-
@title = args[:title] if args.key?(:title)
|
419
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
420
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
1021
421
|
end
|
1022
422
|
end
|
1023
423
|
|
1024
|
-
#
|
1025
|
-
class
|
424
|
+
# Metadata describing an Operation.
|
425
|
+
class OperationMetadata
|
1026
426
|
include Google::Apis::Core::Hashable
|
1027
427
|
|
1028
|
-
#
|
1029
|
-
#
|
428
|
+
# This field is deprecated. Use `labels` instead. Optionally provided by the
|
429
|
+
# caller when submitting the request that creates the operation.
|
430
|
+
# Corresponds to the JSON property `clientId`
|
1030
431
|
# @return [String]
|
1031
|
-
attr_accessor :
|
432
|
+
attr_accessor :client_id
|
1032
433
|
|
1033
|
-
# The
|
1034
|
-
# Corresponds to the JSON property `
|
434
|
+
# The time at which the job was submitted to the Genomics service.
|
435
|
+
# Corresponds to the JSON property `createTime`
|
1035
436
|
# @return [String]
|
1036
|
-
attr_accessor :
|
437
|
+
attr_accessor :create_time
|
1037
438
|
|
1038
|
-
|
1039
|
-
|
1040
|
-
|
439
|
+
# The time at which the job stopped running.
|
440
|
+
# Corresponds to the JSON property `endTime`
|
441
|
+
# @return [String]
|
442
|
+
attr_accessor :end_time
|
1041
443
|
|
1042
|
-
#
|
1043
|
-
|
1044
|
-
|
1045
|
-
|
1046
|
-
|
1047
|
-
|
444
|
+
# Optional event messages that were generated during the job's execution.
|
445
|
+
# This also contains any warnings that were generated during import
|
446
|
+
# or export.
|
447
|
+
# Corresponds to the JSON property `events`
|
448
|
+
# @return [Array<Google::Apis::GenomicsV1::OperationEvent>]
|
449
|
+
attr_accessor :events
|
1048
450
|
|
1049
|
-
|
1050
|
-
|
1051
|
-
|
1052
|
-
|
451
|
+
# Optionally provided by the caller when submitting the request that creates
|
452
|
+
# the operation.
|
453
|
+
# Corresponds to the JSON property `labels`
|
454
|
+
# @return [Hash<String,String>]
|
455
|
+
attr_accessor :labels
|
1053
456
|
|
1054
|
-
# The
|
1055
|
-
# Corresponds to the JSON property `
|
457
|
+
# The Google Cloud Project in which the job is scoped.
|
458
|
+
# Corresponds to the JSON property `projectId`
|
1056
459
|
# @return [String]
|
1057
|
-
attr_accessor :
|
460
|
+
attr_accessor :project_id
|
1058
461
|
|
1059
|
-
# The
|
1060
|
-
#
|
462
|
+
# The original request that started the operation. Note that this will be in
|
463
|
+
# current version of the API. If the operation was started with v1beta2 API
|
464
|
+
# and a GetOperation is performed on v1 API, a v1 request will be returned.
|
465
|
+
# Corresponds to the JSON property `request`
|
466
|
+
# @return [Hash<String,Object>]
|
467
|
+
attr_accessor :request
|
468
|
+
|
469
|
+
# Runtime metadata on this Operation.
|
470
|
+
# Corresponds to the JSON property `runtimeMetadata`
|
471
|
+
# @return [Hash<String,Object>]
|
472
|
+
attr_accessor :runtime_metadata
|
473
|
+
|
474
|
+
# The time at which the job began to run.
|
475
|
+
# Corresponds to the JSON property `startTime`
|
1061
476
|
# @return [String]
|
1062
|
-
attr_accessor :
|
477
|
+
attr_accessor :start_time
|
1063
478
|
|
1064
479
|
def initialize(**args)
|
1065
480
|
update!(**args)
|
@@ -1067,60 +482,45 @@ module Google
|
|
1067
482
|
|
1068
483
|
# Update properties of this object
|
1069
484
|
def update!(**args)
|
1070
|
-
@
|
1071
|
-
@
|
485
|
+
@client_id = args[:client_id] if args.key?(:client_id)
|
486
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
487
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
488
|
+
@events = args[:events] if args.key?(:events)
|
489
|
+
@labels = args[:labels] if args.key?(:labels)
|
490
|
+
@project_id = args[:project_id] if args.key?(:project_id)
|
491
|
+
@request = args[:request] if args.key?(:request)
|
492
|
+
@runtime_metadata = args[:runtime_metadata] if args.key?(:runtime_metadata)
|
493
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
1072
494
|
end
|
1073
495
|
end
|
1074
496
|
|
1075
|
-
#
|
1076
|
-
class
|
497
|
+
# An event generated when the worker starts pulling an image.
|
498
|
+
class PullStartedEvent
|
1077
499
|
include Google::Apis::Core::Hashable
|
1078
500
|
|
501
|
+
# The URI of the image that was pulled.
|
502
|
+
# Corresponds to the JSON property `imageUri`
|
503
|
+
# @return [String]
|
504
|
+
attr_accessor :image_uri
|
505
|
+
|
1079
506
|
def initialize(**args)
|
1080
507
|
update!(**args)
|
1081
508
|
end
|
1082
509
|
|
1083
510
|
# Update properties of this object
|
1084
511
|
def update!(**args)
|
512
|
+
@image_uri = args[:image_uri] if args.key?(:image_uri)
|
1085
513
|
end
|
1086
514
|
end
|
1087
515
|
|
1088
|
-
#
|
1089
|
-
class
|
516
|
+
# An event generated when the worker stops pulling an image.
|
517
|
+
class PullStoppedEvent
|
1090
518
|
include Google::Apis::Core::Hashable
|
1091
519
|
|
1092
|
-
#
|
1093
|
-
#
|
1094
|
-
# Corresponds to the JSON property `datasetId`
|
1095
|
-
# @return [String]
|
1096
|
-
attr_accessor :dataset_id
|
1097
|
-
|
1098
|
-
# The partition strategy describes how read groups are partitioned into read
|
1099
|
-
# group sets.
|
1100
|
-
# Corresponds to the JSON property `partitionStrategy`
|
1101
|
-
# @return [String]
|
1102
|
-
attr_accessor :partition_strategy
|
1103
|
-
|
1104
|
-
# The reference set to which the imported read group sets are aligned to, if
|
1105
|
-
# any. The reference names of this reference set must be a superset of those
|
1106
|
-
# found in the imported file headers. If no reference set id is provided, a
|
1107
|
-
# best effort is made to associate with a matching reference set.
|
1108
|
-
# Corresponds to the JSON property `referenceSetId`
|
520
|
+
# The URI of the image that was pulled.
|
521
|
+
# Corresponds to the JSON property `imageUri`
|
1109
522
|
# @return [String]
|
1110
|
-
attr_accessor :
|
1111
|
-
|
1112
|
-
# A list of URIs pointing at [BAM
|
1113
|
-
# files](https://samtools.github.io/hts-specs/SAMv1.pdf)
|
1114
|
-
# in Google Cloud Storage.
|
1115
|
-
# Those URIs can include wildcards (*), but do not add or remove
|
1116
|
-
# matching files before import has completed.
|
1117
|
-
# Note that Google Cloud Storage object listing is only eventually
|
1118
|
-
# consistent: files added may be not be immediately visible to
|
1119
|
-
# everyone. Thus, if using a wildcard it is preferable not to start
|
1120
|
-
# the import immediately after the files are created.
|
1121
|
-
# Corresponds to the JSON property `sourceUris`
|
1122
|
-
# @return [Array<String>]
|
1123
|
-
attr_accessor :source_uris
|
523
|
+
attr_accessor :image_uri
|
1124
524
|
|
1125
525
|
def initialize(**args)
|
1126
526
|
update!(**args)
|
@@ -1128,74 +528,35 @@ module Google
|
|
1128
528
|
|
1129
529
|
# Update properties of this object
|
1130
530
|
def update!(**args)
|
1131
|
-
@
|
1132
|
-
@partition_strategy = args[:partition_strategy] if args.key?(:partition_strategy)
|
1133
|
-
@reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id)
|
1134
|
-
@source_uris = args[:source_uris] if args.key?(:source_uris)
|
531
|
+
@image_uri = args[:image_uri] if args.key?(:image_uri)
|
1135
532
|
end
|
1136
533
|
end
|
1137
534
|
|
1138
|
-
# The
|
1139
|
-
|
535
|
+
# The response to the RunPipeline method, returned in the operation's result
|
536
|
+
# field on success.
|
537
|
+
class RunPipelineResponse
|
1140
538
|
include Google::Apis::Core::Hashable
|
1141
539
|
|
1142
|
-
# IDs of the read group sets that were created.
|
1143
|
-
# Corresponds to the JSON property `readGroupSetIds`
|
1144
|
-
# @return [Array<String>]
|
1145
|
-
attr_accessor :read_group_set_ids
|
1146
|
-
|
1147
540
|
def initialize(**args)
|
1148
541
|
update!(**args)
|
1149
542
|
end
|
1150
543
|
|
1151
544
|
# Update properties of this object
|
1152
545
|
def update!(**args)
|
1153
|
-
@read_group_set_ids = args[:read_group_set_ids] if args.key?(:read_group_set_ids)
|
1154
546
|
end
|
1155
547
|
end
|
1156
548
|
|
1157
|
-
#
|
1158
|
-
|
549
|
+
# Runtime metadata that will be populated in the
|
550
|
+
# runtimeMetadata
|
551
|
+
# field of the Operation associated with a RunPipeline execution.
|
552
|
+
class RuntimeMetadata
|
1159
553
|
include Google::Apis::Core::Hashable
|
1160
554
|
|
1161
|
-
#
|
1162
|
-
#
|
1163
|
-
# Corresponds to the JSON property `
|
1164
|
-
# @return [
|
1165
|
-
attr_accessor :
|
1166
|
-
|
1167
|
-
# A mapping between info field keys and the InfoMergeOperations to
|
1168
|
-
# be performed on them. This is plumbed down to the MergeVariantRequests
|
1169
|
-
# generated by the resulting import job.
|
1170
|
-
# Corresponds to the JSON property `infoMergeConfig`
|
1171
|
-
# @return [Hash<String,String>]
|
1172
|
-
attr_accessor :info_merge_config
|
1173
|
-
|
1174
|
-
# Convert reference names to the canonical representation.
|
1175
|
-
# hg19 haploytypes (those reference names containing "_hap")
|
1176
|
-
# are not modified in any way.
|
1177
|
-
# All other reference names are modified according to the following rules:
|
1178
|
-
# The reference name is capitalized.
|
1179
|
-
# The "chr" prefix is dropped for all autosomes and sex chromsomes.
|
1180
|
-
# For example "chr17" becomes "17" and "chrX" becomes "X".
|
1181
|
-
# All mitochondrial chromosomes ("chrM", "chrMT", etc) become "MT".
|
1182
|
-
# Corresponds to the JSON property `normalizeReferenceNames`
|
1183
|
-
# @return [Boolean]
|
1184
|
-
attr_accessor :normalize_reference_names
|
1185
|
-
alias_method :normalize_reference_names?, :normalize_reference_names
|
1186
|
-
|
1187
|
-
# A list of URIs referencing variant files in Google Cloud Storage. URIs can
|
1188
|
-
# include wildcards [as described
|
1189
|
-
# here](https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames).
|
1190
|
-
# Note that recursive wildcards ('**') are not supported.
|
1191
|
-
# Corresponds to the JSON property `sourceUris`
|
1192
|
-
# @return [Array<String>]
|
1193
|
-
attr_accessor :source_uris
|
1194
|
-
|
1195
|
-
# Required. The variant set to which variant data should be imported.
|
1196
|
-
# Corresponds to the JSON property `variantSetId`
|
1197
|
-
# @return [String]
|
1198
|
-
attr_accessor :variant_set_id
|
555
|
+
# Describes a Compute Engine resource that is being managed by a running
|
556
|
+
# pipeline.
|
557
|
+
# Corresponds to the JSON property `computeEngine`
|
558
|
+
# @return [Google::Apis::GenomicsV1::ComputeEngine]
|
559
|
+
attr_accessor :compute_engine
|
1199
560
|
|
1200
561
|
def initialize(**args)
|
1201
562
|
update!(**args)
|
@@ -1203,2024 +564,18 @@ module Google
|
|
1203
564
|
|
1204
565
|
# Update properties of this object
|
1205
566
|
def update!(**args)
|
1206
|
-
@
|
1207
|
-
@info_merge_config = args[:info_merge_config] if args.key?(:info_merge_config)
|
1208
|
-
@normalize_reference_names = args[:normalize_reference_names] if args.key?(:normalize_reference_names)
|
1209
|
-
@source_uris = args[:source_uris] if args.key?(:source_uris)
|
1210
|
-
@variant_set_id = args[:variant_set_id] if args.key?(:variant_set_id)
|
1211
|
-
end
|
1212
|
-
end
|
1213
|
-
|
1214
|
-
# The variant data import response.
|
1215
|
-
class ImportVariantsResponse
|
1216
|
-
include Google::Apis::Core::Hashable
|
1217
|
-
|
1218
|
-
# IDs of the call sets created during the import.
|
1219
|
-
# Corresponds to the JSON property `callSetIds`
|
1220
|
-
# @return [Array<String>]
|
1221
|
-
attr_accessor :call_set_ids
|
1222
|
-
|
1223
|
-
def initialize(**args)
|
1224
|
-
update!(**args)
|
1225
|
-
end
|
1226
|
-
|
1227
|
-
# Update properties of this object
|
1228
|
-
def update!(**args)
|
1229
|
-
@call_set_ids = args[:call_set_ids] if args.key?(:call_set_ids)
|
1230
|
-
end
|
1231
|
-
end
|
1232
|
-
|
1233
|
-
# A linear alignment can be represented by one CIGAR string. Describes the
|
1234
|
-
# mapped position and local alignment of the read to the reference.
|
1235
|
-
class LinearAlignment
|
1236
|
-
include Google::Apis::Core::Hashable
|
1237
|
-
|
1238
|
-
# Represents the local alignment of this sequence (alignment matches, indels,
|
1239
|
-
# etc) against the reference.
|
1240
|
-
# Corresponds to the JSON property `cigar`
|
1241
|
-
# @return [Array<Google::Apis::GenomicsV1::CigarUnit>]
|
1242
|
-
attr_accessor :cigar
|
1243
|
-
|
1244
|
-
# The mapping quality of this alignment. Represents how likely
|
1245
|
-
# the read maps to this position as opposed to other locations.
|
1246
|
-
# Specifically, this is -10 log10 Pr(mapping position is wrong), rounded to
|
1247
|
-
# the nearest integer.
|
1248
|
-
# Corresponds to the JSON property `mappingQuality`
|
1249
|
-
# @return [Fixnum]
|
1250
|
-
attr_accessor :mapping_quality
|
1251
|
-
|
1252
|
-
# An abstraction for referring to a genomic position, in relation to some
|
1253
|
-
# already known reference. For now, represents a genomic position as a
|
1254
|
-
# reference name, a base number on that reference (0-based), and a
|
1255
|
-
# determination of forward or reverse strand.
|
1256
|
-
# Corresponds to the JSON property `position`
|
1257
|
-
# @return [Google::Apis::GenomicsV1::Position]
|
1258
|
-
attr_accessor :position
|
1259
|
-
|
1260
|
-
def initialize(**args)
|
1261
|
-
update!(**args)
|
1262
|
-
end
|
1263
|
-
|
1264
|
-
# Update properties of this object
|
1265
|
-
def update!(**args)
|
1266
|
-
@cigar = args[:cigar] if args.key?(:cigar)
|
1267
|
-
@mapping_quality = args[:mapping_quality] if args.key?(:mapping_quality)
|
1268
|
-
@position = args[:position] if args.key?(:position)
|
1269
|
-
end
|
1270
|
-
end
|
1271
|
-
|
1272
|
-
#
|
1273
|
-
class ListBasesResponse
|
1274
|
-
include Google::Apis::Core::Hashable
|
1275
|
-
|
1276
|
-
# The continuation token, which is used to page through large result sets.
|
1277
|
-
# Provide this value in a subsequent request to return the next page of
|
1278
|
-
# results. This field will be empty if there aren't any additional results.
|
1279
|
-
# Corresponds to the JSON property `nextPageToken`
|
1280
|
-
# @return [String]
|
1281
|
-
attr_accessor :next_page_token
|
1282
|
-
|
1283
|
-
# The offset position (0-based) of the given `sequence` from the
|
1284
|
-
# start of this `Reference`. This value will differ for each page
|
1285
|
-
# in a paginated request.
|
1286
|
-
# Corresponds to the JSON property `offset`
|
1287
|
-
# @return [Fixnum]
|
1288
|
-
attr_accessor :offset
|
1289
|
-
|
1290
|
-
# A substring of the bases that make up this reference.
|
1291
|
-
# Corresponds to the JSON property `sequence`
|
1292
|
-
# @return [String]
|
1293
|
-
attr_accessor :sequence
|
1294
|
-
|
1295
|
-
def initialize(**args)
|
1296
|
-
update!(**args)
|
1297
|
-
end
|
1298
|
-
|
1299
|
-
# Update properties of this object
|
1300
|
-
def update!(**args)
|
1301
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1302
|
-
@offset = args[:offset] if args.key?(:offset)
|
1303
|
-
@sequence = args[:sequence] if args.key?(:sequence)
|
1304
|
-
end
|
1305
|
-
end
|
1306
|
-
|
1307
|
-
#
|
1308
|
-
class ListCoverageBucketsResponse
|
1309
|
-
include Google::Apis::Core::Hashable
|
1310
|
-
|
1311
|
-
# The length of each coverage bucket in base pairs. Note that buckets at the
|
1312
|
-
# end of a reference sequence may be shorter. This value is omitted if the
|
1313
|
-
# bucket width is infinity (the default behaviour, with no range or
|
1314
|
-
# `targetBucketWidth`).
|
1315
|
-
# Corresponds to the JSON property `bucketWidth`
|
1316
|
-
# @return [Fixnum]
|
1317
|
-
attr_accessor :bucket_width
|
1318
|
-
|
1319
|
-
# The coverage buckets. The list of buckets is sparse; a bucket with 0
|
1320
|
-
# overlapping reads is not returned. A bucket never crosses more than one
|
1321
|
-
# reference sequence. Each bucket has width `bucketWidth`, unless
|
1322
|
-
# its end is the end of the reference sequence.
|
1323
|
-
# Corresponds to the JSON property `coverageBuckets`
|
1324
|
-
# @return [Array<Google::Apis::GenomicsV1::CoverageBucket>]
|
1325
|
-
attr_accessor :coverage_buckets
|
1326
|
-
|
1327
|
-
# The continuation token, which is used to page through large result sets.
|
1328
|
-
# Provide this value in a subsequent request to return the next page of
|
1329
|
-
# results. This field will be empty if there aren't any additional results.
|
1330
|
-
# Corresponds to the JSON property `nextPageToken`
|
1331
|
-
# @return [String]
|
1332
|
-
attr_accessor :next_page_token
|
1333
|
-
|
1334
|
-
def initialize(**args)
|
1335
|
-
update!(**args)
|
1336
|
-
end
|
1337
|
-
|
1338
|
-
# Update properties of this object
|
1339
|
-
def update!(**args)
|
1340
|
-
@bucket_width = args[:bucket_width] if args.key?(:bucket_width)
|
1341
|
-
@coverage_buckets = args[:coverage_buckets] if args.key?(:coverage_buckets)
|
1342
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1343
|
-
end
|
1344
|
-
end
|
1345
|
-
|
1346
|
-
# The dataset list response.
|
1347
|
-
class ListDatasetsResponse
|
1348
|
-
include Google::Apis::Core::Hashable
|
1349
|
-
|
1350
|
-
# The list of matching Datasets.
|
1351
|
-
# Corresponds to the JSON property `datasets`
|
1352
|
-
# @return [Array<Google::Apis::GenomicsV1::Dataset>]
|
1353
|
-
attr_accessor :datasets
|
1354
|
-
|
1355
|
-
# The continuation token, which is used to page through large result sets.
|
1356
|
-
# Provide this value in a subsequent request to return the next page of
|
1357
|
-
# results. This field will be empty if there aren't any additional results.
|
1358
|
-
# Corresponds to the JSON property `nextPageToken`
|
1359
|
-
# @return [String]
|
1360
|
-
attr_accessor :next_page_token
|
1361
|
-
|
1362
|
-
def initialize(**args)
|
1363
|
-
update!(**args)
|
1364
|
-
end
|
1365
|
-
|
1366
|
-
# Update properties of this object
|
1367
|
-
def update!(**args)
|
1368
|
-
@datasets = args[:datasets] if args.key?(:datasets)
|
1369
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1370
|
-
end
|
1371
|
-
end
|
1372
|
-
|
1373
|
-
# The response message for Operations.ListOperations.
|
1374
|
-
class ListOperationsResponse
|
1375
|
-
include Google::Apis::Core::Hashable
|
1376
|
-
|
1377
|
-
# The standard List next-page token.
|
1378
|
-
# Corresponds to the JSON property `nextPageToken`
|
1379
|
-
# @return [String]
|
1380
|
-
attr_accessor :next_page_token
|
1381
|
-
|
1382
|
-
# A list of operations that matches the specified filter in the request.
|
1383
|
-
# Corresponds to the JSON property `operations`
|
1384
|
-
# @return [Array<Google::Apis::GenomicsV1::Operation>]
|
1385
|
-
attr_accessor :operations
|
1386
|
-
|
1387
|
-
def initialize(**args)
|
1388
|
-
update!(**args)
|
1389
|
-
end
|
1390
|
-
|
1391
|
-
# Update properties of this object
|
1392
|
-
def update!(**args)
|
1393
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1394
|
-
@operations = args[:operations] if args.key?(:operations)
|
1395
|
-
end
|
1396
|
-
end
|
1397
|
-
|
1398
|
-
#
|
1399
|
-
class MergeVariantsRequest
|
1400
|
-
include Google::Apis::Core::Hashable
|
1401
|
-
|
1402
|
-
# A mapping between info field keys and the InfoMergeOperations to
|
1403
|
-
# be performed on them.
|
1404
|
-
# Corresponds to the JSON property `infoMergeConfig`
|
1405
|
-
# @return [Hash<String,String>]
|
1406
|
-
attr_accessor :info_merge_config
|
1407
|
-
|
1408
|
-
# The destination variant set.
|
1409
|
-
# Corresponds to the JSON property `variantSetId`
|
1410
|
-
# @return [String]
|
1411
|
-
attr_accessor :variant_set_id
|
1412
|
-
|
1413
|
-
# The variants to be merged with existing variants.
|
1414
|
-
# Corresponds to the JSON property `variants`
|
1415
|
-
# @return [Array<Google::Apis::GenomicsV1::Variant>]
|
1416
|
-
attr_accessor :variants
|
1417
|
-
|
1418
|
-
def initialize(**args)
|
1419
|
-
update!(**args)
|
1420
|
-
end
|
1421
|
-
|
1422
|
-
# Update properties of this object
|
1423
|
-
def update!(**args)
|
1424
|
-
@info_merge_config = args[:info_merge_config] if args.key?(:info_merge_config)
|
1425
|
-
@variant_set_id = args[:variant_set_id] if args.key?(:variant_set_id)
|
1426
|
-
@variants = args[:variants] if args.key?(:variants)
|
1427
|
-
end
|
1428
|
-
end
|
1429
|
-
|
1430
|
-
# This resource represents a long-running operation that is the result of a
|
1431
|
-
# network API call.
|
1432
|
-
class Operation
|
1433
|
-
include Google::Apis::Core::Hashable
|
1434
|
-
|
1435
|
-
# If the value is `false`, it means the operation is still in progress.
|
1436
|
-
# If `true`, the operation is completed, and either `error` or `response` is
|
1437
|
-
# available.
|
1438
|
-
# Corresponds to the JSON property `done`
|
1439
|
-
# @return [Boolean]
|
1440
|
-
attr_accessor :done
|
1441
|
-
alias_method :done?, :done
|
1442
|
-
|
1443
|
-
# The `Status` type defines a logical error model that is suitable for different
|
1444
|
-
# programming environments, including REST APIs and RPC APIs. It is used by
|
1445
|
-
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
1446
|
-
# - Simple to use and understand for most users
|
1447
|
-
# - Flexible enough to meet unexpected needs
|
1448
|
-
# # Overview
|
1449
|
-
# The `Status` message contains three pieces of data: error code, error message,
|
1450
|
-
# and error details. The error code should be an enum value of
|
1451
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
1452
|
-
# error message should be a developer-facing English message that helps
|
1453
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
1454
|
-
# error message is needed, put the localized message in the error details or
|
1455
|
-
# localize it in the client. The optional error details may contain arbitrary
|
1456
|
-
# information about the error. There is a predefined set of error detail types
|
1457
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
1458
|
-
# # Language mapping
|
1459
|
-
# The `Status` message is the logical representation of the error model, but it
|
1460
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
1461
|
-
# exposed in different client libraries and different wire protocols, it can be
|
1462
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
1463
|
-
# in Java, but more likely mapped to some error codes in C.
|
1464
|
-
# # Other uses
|
1465
|
-
# The error model and the `Status` message can be used in a variety of
|
1466
|
-
# environments, either with or without APIs, to provide a
|
1467
|
-
# consistent developer experience across different environments.
|
1468
|
-
# Example uses of this error model include:
|
1469
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
1470
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
1471
|
-
# errors.
|
1472
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
1473
|
-
# have a `Status` message for error reporting.
|
1474
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
1475
|
-
# `Status` message should be used directly inside batch response, one for
|
1476
|
-
# each error sub-response.
|
1477
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
1478
|
-
# results in its response, the status of those operations should be
|
1479
|
-
# represented directly using the `Status` message.
|
1480
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
1481
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
1482
|
-
# Corresponds to the JSON property `error`
|
1483
|
-
# @return [Google::Apis::GenomicsV1::Status]
|
1484
|
-
attr_accessor :error
|
1485
|
-
|
1486
|
-
# An OperationMetadata or Metadata object. This will always be returned with the
|
1487
|
-
# Operation.
|
1488
|
-
# Corresponds to the JSON property `metadata`
|
1489
|
-
# @return [Hash<String,Object>]
|
1490
|
-
attr_accessor :metadata
|
1491
|
-
|
1492
|
-
# The server-assigned name, which is only unique within the same service that
|
1493
|
-
# originally returns it. For example: `operations/CJHU7Oi_ChDrveSpBRjfuL-
|
1494
|
-
# qzoWAgEw`
|
1495
|
-
# Corresponds to the JSON property `name`
|
1496
|
-
# @return [String]
|
1497
|
-
attr_accessor :name
|
1498
|
-
|
1499
|
-
# If importing ReadGroupSets, an ImportReadGroupSetsResponse is returned. If
|
1500
|
-
# importing Variants, an ImportVariantsResponse is returned. For pipelines and
|
1501
|
-
# exports, an Empty response is returned.
|
1502
|
-
# Corresponds to the JSON property `response`
|
1503
|
-
# @return [Hash<String,Object>]
|
1504
|
-
attr_accessor :response
|
1505
|
-
|
1506
|
-
def initialize(**args)
|
1507
|
-
update!(**args)
|
1508
|
-
end
|
1509
|
-
|
1510
|
-
# Update properties of this object
|
1511
|
-
def update!(**args)
|
1512
|
-
@done = args[:done] if args.key?(:done)
|
1513
|
-
@error = args[:error] if args.key?(:error)
|
1514
|
-
@metadata = args[:metadata] if args.key?(:metadata)
|
1515
|
-
@name = args[:name] if args.key?(:name)
|
1516
|
-
@response = args[:response] if args.key?(:response)
|
1517
|
-
end
|
1518
|
-
end
|
1519
|
-
|
1520
|
-
# An event that occurred during an Operation.
|
1521
|
-
class OperationEvent
|
1522
|
-
include Google::Apis::Core::Hashable
|
1523
|
-
|
1524
|
-
# Required description of event.
|
1525
|
-
# Corresponds to the JSON property `description`
|
1526
|
-
# @return [String]
|
1527
|
-
attr_accessor :description
|
1528
|
-
|
1529
|
-
# Optional time of when event finished. An event can have a start time and no
|
1530
|
-
# finish time. If an event has a finish time, there must be a start time.
|
1531
|
-
# Corresponds to the JSON property `endTime`
|
1532
|
-
# @return [String]
|
1533
|
-
attr_accessor :end_time
|
1534
|
-
|
1535
|
-
# Optional time of when event started.
|
1536
|
-
# Corresponds to the JSON property `startTime`
|
1537
|
-
# @return [String]
|
1538
|
-
attr_accessor :start_time
|
1539
|
-
|
1540
|
-
def initialize(**args)
|
1541
|
-
update!(**args)
|
1542
|
-
end
|
1543
|
-
|
1544
|
-
# Update properties of this object
|
1545
|
-
def update!(**args)
|
1546
|
-
@description = args[:description] if args.key?(:description)
|
1547
|
-
@end_time = args[:end_time] if args.key?(:end_time)
|
1548
|
-
@start_time = args[:start_time] if args.key?(:start_time)
|
1549
|
-
end
|
1550
|
-
end
|
1551
|
-
|
1552
|
-
# Metadata describing an Operation.
|
1553
|
-
class OperationMetadata
|
1554
|
-
include Google::Apis::Core::Hashable
|
1555
|
-
|
1556
|
-
# This field is deprecated. Use `labels` instead. Optionally provided by the
|
1557
|
-
# caller when submitting the request that creates the operation.
|
1558
|
-
# Corresponds to the JSON property `clientId`
|
1559
|
-
# @return [String]
|
1560
|
-
attr_accessor :client_id
|
1561
|
-
|
1562
|
-
# The time at which the job was submitted to the Genomics service.
|
1563
|
-
# Corresponds to the JSON property `createTime`
|
1564
|
-
# @return [String]
|
1565
|
-
attr_accessor :create_time
|
1566
|
-
|
1567
|
-
# The time at which the job stopped running.
|
1568
|
-
# Corresponds to the JSON property `endTime`
|
1569
|
-
# @return [String]
|
1570
|
-
attr_accessor :end_time
|
1571
|
-
|
1572
|
-
# Optional event messages that were generated during the job's execution.
|
1573
|
-
# This also contains any warnings that were generated during import
|
1574
|
-
# or export.
|
1575
|
-
# Corresponds to the JSON property `events`
|
1576
|
-
# @return [Array<Google::Apis::GenomicsV1::OperationEvent>]
|
1577
|
-
attr_accessor :events
|
1578
|
-
|
1579
|
-
# Optionally provided by the caller when submitting the request that creates
|
1580
|
-
# the operation.
|
1581
|
-
# Corresponds to the JSON property `labels`
|
1582
|
-
# @return [Hash<String,String>]
|
1583
|
-
attr_accessor :labels
|
1584
|
-
|
1585
|
-
# The Google Cloud Project in which the job is scoped.
|
1586
|
-
# Corresponds to the JSON property `projectId`
|
1587
|
-
# @return [String]
|
1588
|
-
attr_accessor :project_id
|
1589
|
-
|
1590
|
-
# The original request that started the operation. Note that this will be in
|
1591
|
-
# current version of the API. If the operation was started with v1beta2 API
|
1592
|
-
# and a GetOperation is performed on v1 API, a v1 request will be returned.
|
1593
|
-
# Corresponds to the JSON property `request`
|
1594
|
-
# @return [Hash<String,Object>]
|
1595
|
-
attr_accessor :request
|
1596
|
-
|
1597
|
-
# Runtime metadata on this Operation.
|
1598
|
-
# Corresponds to the JSON property `runtimeMetadata`
|
1599
|
-
# @return [Hash<String,Object>]
|
1600
|
-
attr_accessor :runtime_metadata
|
1601
|
-
|
1602
|
-
# The time at which the job began to run.
|
1603
|
-
# Corresponds to the JSON property `startTime`
|
1604
|
-
# @return [String]
|
1605
|
-
attr_accessor :start_time
|
1606
|
-
|
1607
|
-
def initialize(**args)
|
1608
|
-
update!(**args)
|
1609
|
-
end
|
1610
|
-
|
1611
|
-
# Update properties of this object
|
1612
|
-
def update!(**args)
|
1613
|
-
@client_id = args[:client_id] if args.key?(:client_id)
|
1614
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
1615
|
-
@end_time = args[:end_time] if args.key?(:end_time)
|
1616
|
-
@events = args[:events] if args.key?(:events)
|
1617
|
-
@labels = args[:labels] if args.key?(:labels)
|
1618
|
-
@project_id = args[:project_id] if args.key?(:project_id)
|
1619
|
-
@request = args[:request] if args.key?(:request)
|
1620
|
-
@runtime_metadata = args[:runtime_metadata] if args.key?(:runtime_metadata)
|
1621
|
-
@start_time = args[:start_time] if args.key?(:start_time)
|
1622
|
-
end
|
1623
|
-
end
|
1624
|
-
|
1625
|
-
# Defines an Identity and Access Management (IAM) policy. It is used to
|
1626
|
-
# specify access control policies for Cloud Platform resources.
|
1627
|
-
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of
|
1628
|
-
# `members` to a `role`, where the members can be user accounts, Google groups,
|
1629
|
-
# Google domains, and service accounts. A `role` is a named list of permissions
|
1630
|
-
# defined by IAM.
|
1631
|
-
# **JSON Example**
|
1632
|
-
# `
|
1633
|
-
# "bindings": [
|
1634
|
-
# `
|
1635
|
-
# "role": "roles/owner",
|
1636
|
-
# "members": [
|
1637
|
-
# "user:mike@example.com",
|
1638
|
-
# "group:admins@example.com",
|
1639
|
-
# "domain:google.com",
|
1640
|
-
# "serviceAccount:my-other-app@appspot.gserviceaccount.com"
|
1641
|
-
# ]
|
1642
|
-
# `,
|
1643
|
-
# `
|
1644
|
-
# "role": "roles/viewer",
|
1645
|
-
# "members": ["user:sean@example.com"]
|
1646
|
-
# `
|
1647
|
-
# ]
|
1648
|
-
# `
|
1649
|
-
# **YAML Example**
|
1650
|
-
# bindings:
|
1651
|
-
# - members:
|
1652
|
-
# - user:mike@example.com
|
1653
|
-
# - group:admins@example.com
|
1654
|
-
# - domain:google.com
|
1655
|
-
# - serviceAccount:my-other-app@appspot.gserviceaccount.com
|
1656
|
-
# role: roles/owner
|
1657
|
-
# - members:
|
1658
|
-
# - user:sean@example.com
|
1659
|
-
# role: roles/viewer
|
1660
|
-
# For a description of IAM and its features, see the
|
1661
|
-
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
1662
|
-
class Policy
|
1663
|
-
include Google::Apis::Core::Hashable
|
1664
|
-
|
1665
|
-
# Associates a list of `members` to a `role`.
|
1666
|
-
# `bindings` with no members will result in an error.
|
1667
|
-
# Corresponds to the JSON property `bindings`
|
1668
|
-
# @return [Array<Google::Apis::GenomicsV1::Binding>]
|
1669
|
-
attr_accessor :bindings
|
1670
|
-
|
1671
|
-
# `etag` is used for optimistic concurrency control as a way to help
|
1672
|
-
# prevent simultaneous updates of a policy from overwriting each other.
|
1673
|
-
# It is strongly suggested that systems make use of the `etag` in the
|
1674
|
-
# read-modify-write cycle to perform policy updates in order to avoid race
|
1675
|
-
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
|
1676
|
-
# systems are expected to put that etag in the request to `setIamPolicy` to
|
1677
|
-
# ensure that their change will be applied to the same version of the policy.
|
1678
|
-
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
|
1679
|
-
# policy is overwritten blindly.
|
1680
|
-
# Corresponds to the JSON property `etag`
|
1681
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
1682
|
-
# @return [String]
|
1683
|
-
attr_accessor :etag
|
1684
|
-
|
1685
|
-
# Deprecated.
|
1686
|
-
# Corresponds to the JSON property `version`
|
1687
|
-
# @return [Fixnum]
|
1688
|
-
attr_accessor :version
|
1689
|
-
|
1690
|
-
def initialize(**args)
|
1691
|
-
update!(**args)
|
1692
|
-
end
|
1693
|
-
|
1694
|
-
# Update properties of this object
|
1695
|
-
def update!(**args)
|
1696
|
-
@bindings = args[:bindings] if args.key?(:bindings)
|
1697
|
-
@etag = args[:etag] if args.key?(:etag)
|
1698
|
-
@version = args[:version] if args.key?(:version)
|
1699
|
-
end
|
1700
|
-
end
|
1701
|
-
|
1702
|
-
# An abstraction for referring to a genomic position, in relation to some
|
1703
|
-
# already known reference. For now, represents a genomic position as a
|
1704
|
-
# reference name, a base number on that reference (0-based), and a
|
1705
|
-
# determination of forward or reverse strand.
|
1706
|
-
class Position
|
1707
|
-
include Google::Apis::Core::Hashable
|
1708
|
-
|
1709
|
-
# The 0-based offset from the start of the forward strand for that reference.
|
1710
|
-
# Corresponds to the JSON property `position`
|
1711
|
-
# @return [Fixnum]
|
1712
|
-
attr_accessor :position
|
1713
|
-
|
1714
|
-
# The name of the reference in whatever reference set is being used.
|
1715
|
-
# Corresponds to the JSON property `referenceName`
|
1716
|
-
# @return [String]
|
1717
|
-
attr_accessor :reference_name
|
1718
|
-
|
1719
|
-
# Whether this position is on the reverse strand, as opposed to the forward
|
1720
|
-
# strand.
|
1721
|
-
# Corresponds to the JSON property `reverseStrand`
|
1722
|
-
# @return [Boolean]
|
1723
|
-
attr_accessor :reverse_strand
|
1724
|
-
alias_method :reverse_strand?, :reverse_strand
|
1725
|
-
|
1726
|
-
def initialize(**args)
|
1727
|
-
update!(**args)
|
1728
|
-
end
|
1729
|
-
|
1730
|
-
# Update properties of this object
|
1731
|
-
def update!(**args)
|
1732
|
-
@position = args[:position] if args.key?(:position)
|
1733
|
-
@reference_name = args[:reference_name] if args.key?(:reference_name)
|
1734
|
-
@reverse_strand = args[:reverse_strand] if args.key?(:reverse_strand)
|
1735
|
-
end
|
1736
|
-
end
|
1737
|
-
|
1738
|
-
#
|
1739
|
-
class Program
|
1740
|
-
include Google::Apis::Core::Hashable
|
1741
|
-
|
1742
|
-
# The command line used to run this program.
|
1743
|
-
# Corresponds to the JSON property `commandLine`
|
1744
|
-
# @return [String]
|
1745
|
-
attr_accessor :command_line
|
1746
|
-
|
1747
|
-
# The user specified locally unique ID of the program. Used along with
|
1748
|
-
# `prevProgramId` to define an ordering between programs.
|
1749
|
-
# Corresponds to the JSON property `id`
|
1750
|
-
# @return [String]
|
1751
|
-
attr_accessor :id
|
1752
|
-
|
1753
|
-
# The display name of the program. This is typically the colloquial name of
|
1754
|
-
# the tool used, for example 'bwa' or 'picard'.
|
1755
|
-
# Corresponds to the JSON property `name`
|
1756
|
-
# @return [String]
|
1757
|
-
attr_accessor :name
|
1758
|
-
|
1759
|
-
# The ID of the program run before this one.
|
1760
|
-
# Corresponds to the JSON property `prevProgramId`
|
1761
|
-
# @return [String]
|
1762
|
-
attr_accessor :prev_program_id
|
1763
|
-
|
1764
|
-
# The version of the program run.
|
1765
|
-
# Corresponds to the JSON property `version`
|
1766
|
-
# @return [String]
|
1767
|
-
attr_accessor :version
|
1768
|
-
|
1769
|
-
def initialize(**args)
|
1770
|
-
update!(**args)
|
1771
|
-
end
|
1772
|
-
|
1773
|
-
# Update properties of this object
|
1774
|
-
def update!(**args)
|
1775
|
-
@command_line = args[:command_line] if args.key?(:command_line)
|
1776
|
-
@id = args[:id] if args.key?(:id)
|
1777
|
-
@name = args[:name] if args.key?(:name)
|
1778
|
-
@prev_program_id = args[:prev_program_id] if args.key?(:prev_program_id)
|
1779
|
-
@version = args[:version] if args.key?(:version)
|
1780
|
-
end
|
1781
|
-
end
|
1782
|
-
|
1783
|
-
# An event generated when the worker starts pulling an image.
|
1784
|
-
class PullStartedEvent
|
1785
|
-
include Google::Apis::Core::Hashable
|
1786
|
-
|
1787
|
-
# The URI of the image that was pulled.
|
1788
|
-
# Corresponds to the JSON property `imageUri`
|
1789
|
-
# @return [String]
|
1790
|
-
attr_accessor :image_uri
|
1791
|
-
|
1792
|
-
def initialize(**args)
|
1793
|
-
update!(**args)
|
1794
|
-
end
|
1795
|
-
|
1796
|
-
# Update properties of this object
|
1797
|
-
def update!(**args)
|
1798
|
-
@image_uri = args[:image_uri] if args.key?(:image_uri)
|
1799
|
-
end
|
1800
|
-
end
|
1801
|
-
|
1802
|
-
# An event generated when the worker stops pulling an image.
|
1803
|
-
class PullStoppedEvent
|
1804
|
-
include Google::Apis::Core::Hashable
|
1805
|
-
|
1806
|
-
# The URI of the image that was pulled.
|
1807
|
-
# Corresponds to the JSON property `imageUri`
|
1808
|
-
# @return [String]
|
1809
|
-
attr_accessor :image_uri
|
1810
|
-
|
1811
|
-
def initialize(**args)
|
1812
|
-
update!(**args)
|
1813
|
-
end
|
1814
|
-
|
1815
|
-
# Update properties of this object
|
1816
|
-
def update!(**args)
|
1817
|
-
@image_uri = args[:image_uri] if args.key?(:image_uri)
|
1818
|
-
end
|
1819
|
-
end
|
1820
|
-
|
1821
|
-
# A 0-based half-open genomic coordinate range for search requests.
|
1822
|
-
class Range
|
1823
|
-
include Google::Apis::Core::Hashable
|
1824
|
-
|
1825
|
-
# The end position of the range on the reference, 0-based exclusive.
|
1826
|
-
# Corresponds to the JSON property `end`
|
1827
|
-
# @return [Fixnum]
|
1828
|
-
attr_accessor :end
|
1829
|
-
|
1830
|
-
# The reference sequence name, for example `chr1`,
|
1831
|
-
# `1`, or `chrX`.
|
1832
|
-
# Corresponds to the JSON property `referenceName`
|
1833
|
-
# @return [String]
|
1834
|
-
attr_accessor :reference_name
|
1835
|
-
|
1836
|
-
# The start position of the range on the reference, 0-based inclusive.
|
1837
|
-
# Corresponds to the JSON property `start`
|
1838
|
-
# @return [Fixnum]
|
1839
|
-
attr_accessor :start
|
1840
|
-
|
1841
|
-
def initialize(**args)
|
1842
|
-
update!(**args)
|
1843
|
-
end
|
1844
|
-
|
1845
|
-
# Update properties of this object
|
1846
|
-
def update!(**args)
|
1847
|
-
@end = args[:end] if args.key?(:end)
|
1848
|
-
@reference_name = args[:reference_name] if args.key?(:reference_name)
|
1849
|
-
@start = args[:start] if args.key?(:start)
|
1850
|
-
end
|
1851
|
-
end
|
1852
|
-
|
1853
|
-
# A read alignment describes a linear alignment of a string of DNA to a
|
1854
|
-
# reference sequence, in addition to metadata
|
1855
|
-
# about the fragment (the molecule of DNA sequenced) and the read (the bases
|
1856
|
-
# which were read by the sequencer). A read is equivalent to a line in a SAM
|
1857
|
-
# file. A read belongs to exactly one read group and exactly one
|
1858
|
-
# read group set.
|
1859
|
-
# ### Reverse-stranded reads
|
1860
|
-
# Mapped reads (reads having a non-null `alignment`) can be aligned to either
|
1861
|
-
# the forward or the reverse strand of their associated reference. Strandedness
|
1862
|
-
# of a mapped read is encoded by `alignment.position.reverseStrand`.
|
1863
|
-
# If we consider the reference to be a forward-stranded coordinate space of
|
1864
|
-
# `[0, reference.length)` with `0` as the left-most position and
|
1865
|
-
# `reference.length` as the right-most position, reads are always aligned left
|
1866
|
-
# to right. That is, `alignment.position.position` always refers to the
|
1867
|
-
# left-most reference coordinate and `alignment.cigar` describes the alignment
|
1868
|
-
# of this read to the reference from left to right. All per-base fields such as
|
1869
|
-
# `alignedSequence` and `alignedQuality` share this same left-to-right
|
1870
|
-
# orientation; this is true of reads which are aligned to either strand. For
|
1871
|
-
# reverse-stranded reads, this means that `alignedSequence` is the reverse
|
1872
|
-
# complement of the bases that were originally reported by the sequencing
|
1873
|
-
# machine.
|
1874
|
-
# ### Generating a reference-aligned sequence string
|
1875
|
-
# When interacting with mapped reads, it's often useful to produce a string
|
1876
|
-
# representing the local alignment of the read to reference. The following
|
1877
|
-
# pseudocode demonstrates one way of doing this:
|
1878
|
-
# out = ""
|
1879
|
-
# offset = 0
|
1880
|
-
# for c in read.alignment.cigar `
|
1881
|
-
# switch c.operation `
|
1882
|
-
# case "ALIGNMENT_MATCH", "SEQUENCE_MATCH", "SEQUENCE_MISMATCH":
|
1883
|
-
# out += read.alignedSequence[offset:offset+c.operationLength]
|
1884
|
-
# offset += c.operationLength
|
1885
|
-
# break
|
1886
|
-
# case "CLIP_SOFT", "INSERT":
|
1887
|
-
# offset += c.operationLength
|
1888
|
-
# break
|
1889
|
-
# case "PAD":
|
1890
|
-
# out += repeat("*", c.operationLength)
|
1891
|
-
# break
|
1892
|
-
# case "DELETE":
|
1893
|
-
# out += repeat("-", c.operationLength)
|
1894
|
-
# break
|
1895
|
-
# case "SKIP":
|
1896
|
-
# out += repeat(" ", c.operationLength)
|
1897
|
-
# break
|
1898
|
-
# case "CLIP_HARD":
|
1899
|
-
# break
|
1900
|
-
# `
|
1901
|
-
# `
|
1902
|
-
# return out
|
1903
|
-
# ### Converting to SAM's CIGAR string
|
1904
|
-
# The following pseudocode generates a SAM CIGAR string from the
|
1905
|
-
# `cigar` field. Note that this is a lossy conversion
|
1906
|
-
# (`cigar.referenceSequence` is lost).
|
1907
|
-
# cigarMap = `
|
1908
|
-
# "ALIGNMENT_MATCH": "M",
|
1909
|
-
# "INSERT": "I",
|
1910
|
-
# "DELETE": "D",
|
1911
|
-
# "SKIP": "N",
|
1912
|
-
# "CLIP_SOFT": "S",
|
1913
|
-
# "CLIP_HARD": "H",
|
1914
|
-
# "PAD": "P",
|
1915
|
-
# "SEQUENCE_MATCH": "=",
|
1916
|
-
# "SEQUENCE_MISMATCH": "X",
|
1917
|
-
# `
|
1918
|
-
# cigarStr = ""
|
1919
|
-
# for c in read.alignment.cigar `
|
1920
|
-
# cigarStr += c.operationLength + cigarMap[c.operation]
|
1921
|
-
# `
|
1922
|
-
# return cigarStr
|
1923
|
-
class Read
|
1924
|
-
include Google::Apis::Core::Hashable
|
1925
|
-
|
1926
|
-
# The quality of the read sequence contained in this alignment record
|
1927
|
-
# (equivalent to QUAL in SAM).
|
1928
|
-
# `alignedSequence` and `alignedQuality` may be shorter than the full read
|
1929
|
-
# sequence and quality. This will occur if the alignment is part of a
|
1930
|
-
# chimeric alignment, or if the read was trimmed. When this occurs, the CIGAR
|
1931
|
-
# for this read will begin/end with a hard clip operator that will indicate
|
1932
|
-
# the length of the excised sequence.
|
1933
|
-
# Corresponds to the JSON property `alignedQuality`
|
1934
|
-
# @return [Array<Fixnum>]
|
1935
|
-
attr_accessor :aligned_quality
|
1936
|
-
|
1937
|
-
# The bases of the read sequence contained in this alignment record,
|
1938
|
-
# **without CIGAR operations applied** (equivalent to SEQ in SAM).
|
1939
|
-
# `alignedSequence` and `alignedQuality` may be
|
1940
|
-
# shorter than the full read sequence and quality. This will occur if the
|
1941
|
-
# alignment is part of a chimeric alignment, or if the read was trimmed. When
|
1942
|
-
# this occurs, the CIGAR for this read will begin/end with a hard clip
|
1943
|
-
# operator that will indicate the length of the excised sequence.
|
1944
|
-
# Corresponds to the JSON property `alignedSequence`
|
1945
|
-
# @return [String]
|
1946
|
-
attr_accessor :aligned_sequence
|
1947
|
-
|
1948
|
-
# A linear alignment can be represented by one CIGAR string. Describes the
|
1949
|
-
# mapped position and local alignment of the read to the reference.
|
1950
|
-
# Corresponds to the JSON property `alignment`
|
1951
|
-
# @return [Google::Apis::GenomicsV1::LinearAlignment]
|
1952
|
-
attr_accessor :alignment
|
1953
|
-
|
1954
|
-
# The fragment is a PCR or optical duplicate (SAM flag 0x400).
|
1955
|
-
# Corresponds to the JSON property `duplicateFragment`
|
1956
|
-
# @return [Boolean]
|
1957
|
-
attr_accessor :duplicate_fragment
|
1958
|
-
alias_method :duplicate_fragment?, :duplicate_fragment
|
1959
|
-
|
1960
|
-
# Whether this read did not pass filters, such as platform or vendor quality
|
1961
|
-
# controls (SAM flag 0x200).
|
1962
|
-
# Corresponds to the JSON property `failedVendorQualityChecks`
|
1963
|
-
# @return [Boolean]
|
1964
|
-
attr_accessor :failed_vendor_quality_checks
|
1965
|
-
alias_method :failed_vendor_quality_checks?, :failed_vendor_quality_checks
|
1966
|
-
|
1967
|
-
# The observed length of the fragment, equivalent to TLEN in SAM.
|
1968
|
-
# Corresponds to the JSON property `fragmentLength`
|
1969
|
-
# @return [Fixnum]
|
1970
|
-
attr_accessor :fragment_length
|
1971
|
-
|
1972
|
-
# The fragment name. Equivalent to QNAME (query template name) in SAM.
|
1973
|
-
# Corresponds to the JSON property `fragmentName`
|
1974
|
-
# @return [String]
|
1975
|
-
attr_accessor :fragment_name
|
1976
|
-
|
1977
|
-
# The server-generated read ID, unique across all reads. This is different
|
1978
|
-
# from the `fragmentName`.
|
1979
|
-
# Corresponds to the JSON property `id`
|
1980
|
-
# @return [String]
|
1981
|
-
attr_accessor :id
|
1982
|
-
|
1983
|
-
# A map of additional read alignment information. This must be of the form
|
1984
|
-
# map<string, string[]> (string key mapping to a list of string values).
|
1985
|
-
# Corresponds to the JSON property `info`
|
1986
|
-
# @return [Hash<String,Array<Object>>]
|
1987
|
-
attr_accessor :info
|
1988
|
-
|
1989
|
-
# An abstraction for referring to a genomic position, in relation to some
|
1990
|
-
# already known reference. For now, represents a genomic position as a
|
1991
|
-
# reference name, a base number on that reference (0-based), and a
|
1992
|
-
# determination of forward or reverse strand.
|
1993
|
-
# Corresponds to the JSON property `nextMatePosition`
|
1994
|
-
# @return [Google::Apis::GenomicsV1::Position]
|
1995
|
-
attr_accessor :next_mate_position
|
1996
|
-
|
1997
|
-
# The number of reads in the fragment (extension to SAM flag 0x1).
|
1998
|
-
# Corresponds to the JSON property `numberReads`
|
1999
|
-
# @return [Fixnum]
|
2000
|
-
attr_accessor :number_reads
|
2001
|
-
|
2002
|
-
# The orientation and the distance between reads from the fragment are
|
2003
|
-
# consistent with the sequencing protocol (SAM flag 0x2).
|
2004
|
-
# Corresponds to the JSON property `properPlacement`
|
2005
|
-
# @return [Boolean]
|
2006
|
-
attr_accessor :proper_placement
|
2007
|
-
alias_method :proper_placement?, :proper_placement
|
2008
|
-
|
2009
|
-
# The ID of the read group this read belongs to. A read belongs to exactly
|
2010
|
-
# one read group. This is a server-generated ID which is distinct from SAM's
|
2011
|
-
# RG tag (for that value, see
|
2012
|
-
# ReadGroup.name).
|
2013
|
-
# Corresponds to the JSON property `readGroupId`
|
2014
|
-
# @return [String]
|
2015
|
-
attr_accessor :read_group_id
|
2016
|
-
|
2017
|
-
# The ID of the read group set this read belongs to. A read belongs to
|
2018
|
-
# exactly one read group set.
|
2019
|
-
# Corresponds to the JSON property `readGroupSetId`
|
2020
|
-
# @return [String]
|
2021
|
-
attr_accessor :read_group_set_id
|
2022
|
-
|
2023
|
-
# The read number in sequencing. 0-based and less than numberReads. This
|
2024
|
-
# field replaces SAM flag 0x40 and 0x80.
|
2025
|
-
# Corresponds to the JSON property `readNumber`
|
2026
|
-
# @return [Fixnum]
|
2027
|
-
attr_accessor :read_number
|
2028
|
-
|
2029
|
-
# Whether this alignment is secondary. Equivalent to SAM flag 0x100.
|
2030
|
-
# A secondary alignment represents an alternative to the primary alignment
|
2031
|
-
# for this read. Aligners may return secondary alignments if a read can map
|
2032
|
-
# ambiguously to multiple coordinates in the genome. By convention, each read
|
2033
|
-
# has one and only one alignment where both `secondaryAlignment`
|
2034
|
-
# and `supplementaryAlignment` are false.
|
2035
|
-
# Corresponds to the JSON property `secondaryAlignment`
|
2036
|
-
# @return [Boolean]
|
2037
|
-
attr_accessor :secondary_alignment
|
2038
|
-
alias_method :secondary_alignment?, :secondary_alignment
|
2039
|
-
|
2040
|
-
# Whether this alignment is supplementary. Equivalent to SAM flag 0x800.
|
2041
|
-
# Supplementary alignments are used in the representation of a chimeric
|
2042
|
-
# alignment. In a chimeric alignment, a read is split into multiple
|
2043
|
-
# linear alignments that map to different reference contigs. The first
|
2044
|
-
# linear alignment in the read will be designated as the representative
|
2045
|
-
# alignment; the remaining linear alignments will be designated as
|
2046
|
-
# supplementary alignments. These alignments may have different mapping
|
2047
|
-
# quality scores. In each linear alignment in a chimeric alignment, the read
|
2048
|
-
# will be hard clipped. The `alignedSequence` and
|
2049
|
-
# `alignedQuality` fields in the alignment record will only
|
2050
|
-
# represent the bases for its respective linear alignment.
|
2051
|
-
# Corresponds to the JSON property `supplementaryAlignment`
|
2052
|
-
# @return [Boolean]
|
2053
|
-
attr_accessor :supplementary_alignment
|
2054
|
-
alias_method :supplementary_alignment?, :supplementary_alignment
|
2055
|
-
|
2056
|
-
def initialize(**args)
|
2057
|
-
update!(**args)
|
2058
|
-
end
|
2059
|
-
|
2060
|
-
# Update properties of this object
|
2061
|
-
def update!(**args)
|
2062
|
-
@aligned_quality = args[:aligned_quality] if args.key?(:aligned_quality)
|
2063
|
-
@aligned_sequence = args[:aligned_sequence] if args.key?(:aligned_sequence)
|
2064
|
-
@alignment = args[:alignment] if args.key?(:alignment)
|
2065
|
-
@duplicate_fragment = args[:duplicate_fragment] if args.key?(:duplicate_fragment)
|
2066
|
-
@failed_vendor_quality_checks = args[:failed_vendor_quality_checks] if args.key?(:failed_vendor_quality_checks)
|
2067
|
-
@fragment_length = args[:fragment_length] if args.key?(:fragment_length)
|
2068
|
-
@fragment_name = args[:fragment_name] if args.key?(:fragment_name)
|
2069
|
-
@id = args[:id] if args.key?(:id)
|
2070
|
-
@info = args[:info] if args.key?(:info)
|
2071
|
-
@next_mate_position = args[:next_mate_position] if args.key?(:next_mate_position)
|
2072
|
-
@number_reads = args[:number_reads] if args.key?(:number_reads)
|
2073
|
-
@proper_placement = args[:proper_placement] if args.key?(:proper_placement)
|
2074
|
-
@read_group_id = args[:read_group_id] if args.key?(:read_group_id)
|
2075
|
-
@read_group_set_id = args[:read_group_set_id] if args.key?(:read_group_set_id)
|
2076
|
-
@read_number = args[:read_number] if args.key?(:read_number)
|
2077
|
-
@secondary_alignment = args[:secondary_alignment] if args.key?(:secondary_alignment)
|
2078
|
-
@supplementary_alignment = args[:supplementary_alignment] if args.key?(:supplementary_alignment)
|
2079
|
-
end
|
2080
|
-
end
|
2081
|
-
|
2082
|
-
# A read group is all the data that's processed the same way by the sequencer.
|
2083
|
-
class ReadGroup
|
2084
|
-
include Google::Apis::Core::Hashable
|
2085
|
-
|
2086
|
-
# The dataset to which this read group belongs.
|
2087
|
-
# Corresponds to the JSON property `datasetId`
|
2088
|
-
# @return [String]
|
2089
|
-
attr_accessor :dataset_id
|
2090
|
-
|
2091
|
-
# A free-form text description of this read group.
|
2092
|
-
# Corresponds to the JSON property `description`
|
2093
|
-
# @return [String]
|
2094
|
-
attr_accessor :description
|
2095
|
-
|
2096
|
-
# The experiment used to generate this read group.
|
2097
|
-
# Corresponds to the JSON property `experiment`
|
2098
|
-
# @return [Google::Apis::GenomicsV1::Experiment]
|
2099
|
-
attr_accessor :experiment
|
2100
|
-
|
2101
|
-
# The server-generated read group ID, unique for all read groups.
|
2102
|
-
# Note: This is different than the @RG ID field in the SAM spec. For that
|
2103
|
-
# value, see name.
|
2104
|
-
# Corresponds to the JSON property `id`
|
2105
|
-
# @return [String]
|
2106
|
-
attr_accessor :id
|
2107
|
-
|
2108
|
-
# A map of additional read group information. This must be of the form
|
2109
|
-
# map<string, string[]> (string key mapping to a list of string values).
|
2110
|
-
# Corresponds to the JSON property `info`
|
2111
|
-
# @return [Hash<String,Array<Object>>]
|
2112
|
-
attr_accessor :info
|
2113
|
-
|
2114
|
-
# The read group name. This corresponds to the @RG ID field in the SAM spec.
|
2115
|
-
# Corresponds to the JSON property `name`
|
2116
|
-
# @return [String]
|
2117
|
-
attr_accessor :name
|
2118
|
-
|
2119
|
-
# The predicted insert size of this read group. The insert size is the length
|
2120
|
-
# the sequenced DNA fragment from end-to-end, not including the adapters.
|
2121
|
-
# Corresponds to the JSON property `predictedInsertSize`
|
2122
|
-
# @return [Fixnum]
|
2123
|
-
attr_accessor :predicted_insert_size
|
2124
|
-
|
2125
|
-
# The programs used to generate this read group. Programs are always
|
2126
|
-
# identical for all read groups within a read group set. For this reason,
|
2127
|
-
# only the first read group in a returned set will have this field
|
2128
|
-
# populated.
|
2129
|
-
# Corresponds to the JSON property `programs`
|
2130
|
-
# @return [Array<Google::Apis::GenomicsV1::Program>]
|
2131
|
-
attr_accessor :programs
|
2132
|
-
|
2133
|
-
# The reference set the reads in this read group are aligned to.
|
2134
|
-
# Corresponds to the JSON property `referenceSetId`
|
2135
|
-
# @return [String]
|
2136
|
-
attr_accessor :reference_set_id
|
2137
|
-
|
2138
|
-
# A client-supplied sample identifier for the reads in this read group.
|
2139
|
-
# Corresponds to the JSON property `sampleId`
|
2140
|
-
# @return [String]
|
2141
|
-
attr_accessor :sample_id
|
2142
|
-
|
2143
|
-
def initialize(**args)
|
2144
|
-
update!(**args)
|
2145
|
-
end
|
2146
|
-
|
2147
|
-
# Update properties of this object
|
2148
|
-
def update!(**args)
|
2149
|
-
@dataset_id = args[:dataset_id] if args.key?(:dataset_id)
|
2150
|
-
@description = args[:description] if args.key?(:description)
|
2151
|
-
@experiment = args[:experiment] if args.key?(:experiment)
|
2152
|
-
@id = args[:id] if args.key?(:id)
|
2153
|
-
@info = args[:info] if args.key?(:info)
|
2154
|
-
@name = args[:name] if args.key?(:name)
|
2155
|
-
@predicted_insert_size = args[:predicted_insert_size] if args.key?(:predicted_insert_size)
|
2156
|
-
@programs = args[:programs] if args.key?(:programs)
|
2157
|
-
@reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id)
|
2158
|
-
@sample_id = args[:sample_id] if args.key?(:sample_id)
|
2159
|
-
end
|
2160
|
-
end
|
2161
|
-
|
2162
|
-
# A read group set is a logical collection of read groups, which are
|
2163
|
-
# collections of reads produced by a sequencer. A read group set typically
|
2164
|
-
# models reads corresponding to one sample, sequenced one way, and aligned one
|
2165
|
-
# way.
|
2166
|
-
# * A read group set belongs to one dataset.
|
2167
|
-
# * A read group belongs to one read group set.
|
2168
|
-
# * A read belongs to one read group.
|
2169
|
-
class ReadGroupSet
|
2170
|
-
include Google::Apis::Core::Hashable
|
2171
|
-
|
2172
|
-
# The dataset to which this read group set belongs.
|
2173
|
-
# Corresponds to the JSON property `datasetId`
|
2174
|
-
# @return [String]
|
2175
|
-
attr_accessor :dataset_id
|
2176
|
-
|
2177
|
-
# The filename of the original source file for this read group set, if any.
|
2178
|
-
# Corresponds to the JSON property `filename`
|
2179
|
-
# @return [String]
|
2180
|
-
attr_accessor :filename
|
2181
|
-
|
2182
|
-
# The server-generated read group set ID, unique for all read group sets.
|
2183
|
-
# Corresponds to the JSON property `id`
|
2184
|
-
# @return [String]
|
2185
|
-
attr_accessor :id
|
2186
|
-
|
2187
|
-
# A map of additional read group set information.
|
2188
|
-
# Corresponds to the JSON property `info`
|
2189
|
-
# @return [Hash<String,Array<Object>>]
|
2190
|
-
attr_accessor :info
|
2191
|
-
|
2192
|
-
# The read group set name. By default this will be initialized to the sample
|
2193
|
-
# name of the sequenced data contained in this set.
|
2194
|
-
# Corresponds to the JSON property `name`
|
2195
|
-
# @return [String]
|
2196
|
-
attr_accessor :name
|
2197
|
-
|
2198
|
-
# The read groups in this set. There are typically 1-10 read groups in a read
|
2199
|
-
# group set.
|
2200
|
-
# Corresponds to the JSON property `readGroups`
|
2201
|
-
# @return [Array<Google::Apis::GenomicsV1::ReadGroup>]
|
2202
|
-
attr_accessor :read_groups
|
2203
|
-
|
2204
|
-
# The reference set to which the reads in this read group set are aligned.
|
2205
|
-
# Corresponds to the JSON property `referenceSetId`
|
2206
|
-
# @return [String]
|
2207
|
-
attr_accessor :reference_set_id
|
2208
|
-
|
2209
|
-
def initialize(**args)
|
2210
|
-
update!(**args)
|
2211
|
-
end
|
2212
|
-
|
2213
|
-
# Update properties of this object
|
2214
|
-
def update!(**args)
|
2215
|
-
@dataset_id = args[:dataset_id] if args.key?(:dataset_id)
|
2216
|
-
@filename = args[:filename] if args.key?(:filename)
|
2217
|
-
@id = args[:id] if args.key?(:id)
|
2218
|
-
@info = args[:info] if args.key?(:info)
|
2219
|
-
@name = args[:name] if args.key?(:name)
|
2220
|
-
@read_groups = args[:read_groups] if args.key?(:read_groups)
|
2221
|
-
@reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id)
|
2222
|
-
end
|
2223
|
-
end
|
2224
|
-
|
2225
|
-
# A reference is a canonical assembled DNA sequence, intended to act as a
|
2226
|
-
# reference coordinate space for other genomic annotations. A single reference
|
2227
|
-
# might represent the human chromosome 1 or mitochandrial DNA, for instance. A
|
2228
|
-
# reference belongs to one or more reference sets.
|
2229
|
-
class Reference
|
2230
|
-
include Google::Apis::Core::Hashable
|
2231
|
-
|
2232
|
-
# The server-generated reference ID, unique across all references.
|
2233
|
-
# Corresponds to the JSON property `id`
|
2234
|
-
# @return [String]
|
2235
|
-
attr_accessor :id
|
2236
|
-
|
2237
|
-
# The length of this reference's sequence.
|
2238
|
-
# Corresponds to the JSON property `length`
|
2239
|
-
# @return [Fixnum]
|
2240
|
-
attr_accessor :length
|
2241
|
-
|
2242
|
-
# MD5 of the upper-case sequence excluding all whitespace characters (this
|
2243
|
-
# is equivalent to SQ:M5 in SAM). This value is represented in lower case
|
2244
|
-
# hexadecimal format.
|
2245
|
-
# Corresponds to the JSON property `md5checksum`
|
2246
|
-
# @return [String]
|
2247
|
-
attr_accessor :md5checksum
|
2248
|
-
|
2249
|
-
# The name of this reference, for example `22`.
|
2250
|
-
# Corresponds to the JSON property `name`
|
2251
|
-
# @return [String]
|
2252
|
-
attr_accessor :name
|
2253
|
-
|
2254
|
-
# ID from http://www.ncbi.nlm.nih.gov/taxonomy. For example, 9606 for human.
|
2255
|
-
# Corresponds to the JSON property `ncbiTaxonId`
|
2256
|
-
# @return [Fixnum]
|
2257
|
-
attr_accessor :ncbi_taxon_id
|
2258
|
-
|
2259
|
-
# All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally
|
2260
|
-
# with a version number, for example `GCF_000001405.26`.
|
2261
|
-
# Corresponds to the JSON property `sourceAccessions`
|
2262
|
-
# @return [Array<String>]
|
2263
|
-
attr_accessor :source_accessions
|
2264
|
-
|
2265
|
-
# The URI from which the sequence was obtained. Typically specifies a FASTA
|
2266
|
-
# format file.
|
2267
|
-
# Corresponds to the JSON property `sourceUri`
|
2268
|
-
# @return [String]
|
2269
|
-
attr_accessor :source_uri
|
2270
|
-
|
2271
|
-
def initialize(**args)
|
2272
|
-
update!(**args)
|
2273
|
-
end
|
2274
|
-
|
2275
|
-
# Update properties of this object
|
2276
|
-
def update!(**args)
|
2277
|
-
@id = args[:id] if args.key?(:id)
|
2278
|
-
@length = args[:length] if args.key?(:length)
|
2279
|
-
@md5checksum = args[:md5checksum] if args.key?(:md5checksum)
|
2280
|
-
@name = args[:name] if args.key?(:name)
|
2281
|
-
@ncbi_taxon_id = args[:ncbi_taxon_id] if args.key?(:ncbi_taxon_id)
|
2282
|
-
@source_accessions = args[:source_accessions] if args.key?(:source_accessions)
|
2283
|
-
@source_uri = args[:source_uri] if args.key?(:source_uri)
|
2284
|
-
end
|
2285
|
-
end
|
2286
|
-
|
2287
|
-
# ReferenceBound records an upper bound for the starting coordinate of
|
2288
|
-
# variants in a particular reference.
|
2289
|
-
class ReferenceBound
|
2290
|
-
include Google::Apis::Core::Hashable
|
2291
|
-
|
2292
|
-
# The name of the reference associated with this reference bound.
|
2293
|
-
# Corresponds to the JSON property `referenceName`
|
2294
|
-
# @return [String]
|
2295
|
-
attr_accessor :reference_name
|
2296
|
-
|
2297
|
-
# An upper bound (inclusive) on the starting coordinate of any
|
2298
|
-
# variant in the reference sequence.
|
2299
|
-
# Corresponds to the JSON property `upperBound`
|
2300
|
-
# @return [Fixnum]
|
2301
|
-
attr_accessor :upper_bound
|
2302
|
-
|
2303
|
-
def initialize(**args)
|
2304
|
-
update!(**args)
|
2305
|
-
end
|
2306
|
-
|
2307
|
-
# Update properties of this object
|
2308
|
-
def update!(**args)
|
2309
|
-
@reference_name = args[:reference_name] if args.key?(:reference_name)
|
2310
|
-
@upper_bound = args[:upper_bound] if args.key?(:upper_bound)
|
2311
|
-
end
|
2312
|
-
end
|
2313
|
-
|
2314
|
-
# A reference set is a set of references which typically comprise a reference
|
2315
|
-
# assembly for a species, such as `GRCh38` which is representative
|
2316
|
-
# of the human genome. A reference set defines a common coordinate space for
|
2317
|
-
# comparing reference-aligned experimental data. A reference set contains 1 or
|
2318
|
-
# more references.
|
2319
|
-
class ReferenceSet
|
2320
|
-
include Google::Apis::Core::Hashable
|
2321
|
-
|
2322
|
-
# Public id of this reference set, such as `GRCh37`.
|
2323
|
-
# Corresponds to the JSON property `assemblyId`
|
2324
|
-
# @return [String]
|
2325
|
-
attr_accessor :assembly_id
|
2326
|
-
|
2327
|
-
# Free text description of this reference set.
|
2328
|
-
# Corresponds to the JSON property `description`
|
2329
|
-
# @return [String]
|
2330
|
-
attr_accessor :description
|
2331
|
-
|
2332
|
-
# The server-generated reference set ID, unique across all reference sets.
|
2333
|
-
# Corresponds to the JSON property `id`
|
2334
|
-
# @return [String]
|
2335
|
-
attr_accessor :id
|
2336
|
-
|
2337
|
-
# Order-independent MD5 checksum which identifies this reference set. The
|
2338
|
-
# checksum is computed by sorting all lower case hexidecimal string
|
2339
|
-
# `reference.md5checksum` (for all reference in this set) in
|
2340
|
-
# ascending lexicographic order, concatenating, and taking the MD5 of that
|
2341
|
-
# value. The resulting value is represented in lower case hexadecimal format.
|
2342
|
-
# Corresponds to the JSON property `md5checksum`
|
2343
|
-
# @return [String]
|
2344
|
-
attr_accessor :md5checksum
|
2345
|
-
|
2346
|
-
# ID from http://www.ncbi.nlm.nih.gov/taxonomy (for example, 9606 for human)
|
2347
|
-
# indicating the species which this reference set is intended to model. Note
|
2348
|
-
# that contained references may specify a different `ncbiTaxonId`, as
|
2349
|
-
# assemblies may contain reference sequences which do not belong to the
|
2350
|
-
# modeled species, for example EBV in a human reference genome.
|
2351
|
-
# Corresponds to the JSON property `ncbiTaxonId`
|
2352
|
-
# @return [Fixnum]
|
2353
|
-
attr_accessor :ncbi_taxon_id
|
2354
|
-
|
2355
|
-
# The IDs of the reference objects that are part of this set.
|
2356
|
-
# `Reference.md5checksum` must be unique within this set.
|
2357
|
-
# Corresponds to the JSON property `referenceIds`
|
2358
|
-
# @return [Array<String>]
|
2359
|
-
attr_accessor :reference_ids
|
2360
|
-
|
2361
|
-
# All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally
|
2362
|
-
# with a version number, for example `NC_000001.11`.
|
2363
|
-
# Corresponds to the JSON property `sourceAccessions`
|
2364
|
-
# @return [Array<String>]
|
2365
|
-
attr_accessor :source_accessions
|
2366
|
-
|
2367
|
-
# The URI from which the references were obtained.
|
2368
|
-
# Corresponds to the JSON property `sourceUri`
|
2369
|
-
# @return [String]
|
2370
|
-
attr_accessor :source_uri
|
2371
|
-
|
2372
|
-
def initialize(**args)
|
2373
|
-
update!(**args)
|
2374
|
-
end
|
2375
|
-
|
2376
|
-
# Update properties of this object
|
2377
|
-
def update!(**args)
|
2378
|
-
@assembly_id = args[:assembly_id] if args.key?(:assembly_id)
|
2379
|
-
@description = args[:description] if args.key?(:description)
|
2380
|
-
@id = args[:id] if args.key?(:id)
|
2381
|
-
@md5checksum = args[:md5checksum] if args.key?(:md5checksum)
|
2382
|
-
@ncbi_taxon_id = args[:ncbi_taxon_id] if args.key?(:ncbi_taxon_id)
|
2383
|
-
@reference_ids = args[:reference_ids] if args.key?(:reference_ids)
|
2384
|
-
@source_accessions = args[:source_accessions] if args.key?(:source_accessions)
|
2385
|
-
@source_uri = args[:source_uri] if args.key?(:source_uri)
|
2386
|
-
end
|
2387
|
-
end
|
2388
|
-
|
2389
|
-
# The response to the RunPipeline method, returned in the operation's result
|
2390
|
-
# field on success.
|
2391
|
-
class RunPipelineResponse
|
2392
|
-
include Google::Apis::Core::Hashable
|
2393
|
-
|
2394
|
-
def initialize(**args)
|
2395
|
-
update!(**args)
|
2396
|
-
end
|
2397
|
-
|
2398
|
-
# Update properties of this object
|
2399
|
-
def update!(**args)
|
2400
|
-
end
|
2401
|
-
end
|
2402
|
-
|
2403
|
-
# Runtime metadata that will be populated in the
|
2404
|
-
# runtimeMetadata
|
2405
|
-
# field of the Operation associated with a RunPipeline execution.
|
2406
|
-
class RuntimeMetadata
|
2407
|
-
include Google::Apis::Core::Hashable
|
2408
|
-
|
2409
|
-
# Describes a Compute Engine resource that is being managed by a running
|
2410
|
-
# pipeline.
|
2411
|
-
# Corresponds to the JSON property `computeEngine`
|
2412
|
-
# @return [Google::Apis::GenomicsV1::ComputeEngine]
|
2413
|
-
attr_accessor :compute_engine
|
2414
|
-
|
2415
|
-
def initialize(**args)
|
2416
|
-
update!(**args)
|
2417
|
-
end
|
2418
|
-
|
2419
|
-
# Update properties of this object
|
2420
|
-
def update!(**args)
|
2421
|
-
@compute_engine = args[:compute_engine] if args.key?(:compute_engine)
|
2422
|
-
end
|
2423
|
-
end
|
2424
|
-
|
2425
|
-
#
|
2426
|
-
class SearchAnnotationSetsRequest
|
2427
|
-
include Google::Apis::Core::Hashable
|
2428
|
-
|
2429
|
-
# Required. The dataset IDs to search within. Caller must have `READ` access
|
2430
|
-
# to these datasets.
|
2431
|
-
# Corresponds to the JSON property `datasetIds`
|
2432
|
-
# @return [Array<String>]
|
2433
|
-
attr_accessor :dataset_ids
|
2434
|
-
|
2435
|
-
# Only return annotations sets for which a substring of the name matches this
|
2436
|
-
# string (case insensitive).
|
2437
|
-
# Corresponds to the JSON property `name`
|
2438
|
-
# @return [String]
|
2439
|
-
attr_accessor :name
|
2440
|
-
|
2441
|
-
# The maximum number of results to return in a single page. If unspecified,
|
2442
|
-
# defaults to 128. The maximum value is 1024.
|
2443
|
-
# Corresponds to the JSON property `pageSize`
|
2444
|
-
# @return [Fixnum]
|
2445
|
-
attr_accessor :page_size
|
2446
|
-
|
2447
|
-
# The continuation token, which is used to page through large result sets.
|
2448
|
-
# To get the next page of results, set this parameter to the value of
|
2449
|
-
# `nextPageToken` from the previous response.
|
2450
|
-
# Corresponds to the JSON property `pageToken`
|
2451
|
-
# @return [String]
|
2452
|
-
attr_accessor :page_token
|
2453
|
-
|
2454
|
-
# If specified, only annotation sets associated with the given reference set
|
2455
|
-
# are returned.
|
2456
|
-
# Corresponds to the JSON property `referenceSetId`
|
2457
|
-
# @return [String]
|
2458
|
-
attr_accessor :reference_set_id
|
2459
|
-
|
2460
|
-
# If specified, only annotation sets that have any of these types are
|
2461
|
-
# returned.
|
2462
|
-
# Corresponds to the JSON property `types`
|
2463
|
-
# @return [Array<String>]
|
2464
|
-
attr_accessor :types
|
2465
|
-
|
2466
|
-
def initialize(**args)
|
2467
|
-
update!(**args)
|
2468
|
-
end
|
2469
|
-
|
2470
|
-
# Update properties of this object
|
2471
|
-
def update!(**args)
|
2472
|
-
@dataset_ids = args[:dataset_ids] if args.key?(:dataset_ids)
|
2473
|
-
@name = args[:name] if args.key?(:name)
|
2474
|
-
@page_size = args[:page_size] if args.key?(:page_size)
|
2475
|
-
@page_token = args[:page_token] if args.key?(:page_token)
|
2476
|
-
@reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id)
|
2477
|
-
@types = args[:types] if args.key?(:types)
|
2478
|
-
end
|
2479
|
-
end
|
2480
|
-
|
2481
|
-
#
|
2482
|
-
class SearchAnnotationSetsResponse
|
2483
|
-
include Google::Apis::Core::Hashable
|
2484
|
-
|
2485
|
-
# The matching annotation sets.
|
2486
|
-
# Corresponds to the JSON property `annotationSets`
|
2487
|
-
# @return [Array<Google::Apis::GenomicsV1::AnnotationSet>]
|
2488
|
-
attr_accessor :annotation_sets
|
2489
|
-
|
2490
|
-
# The continuation token, which is used to page through large result sets.
|
2491
|
-
# Provide this value in a subsequent request to return the next page of
|
2492
|
-
# results. This field will be empty if there aren't any additional results.
|
2493
|
-
# Corresponds to the JSON property `nextPageToken`
|
2494
|
-
# @return [String]
|
2495
|
-
attr_accessor :next_page_token
|
2496
|
-
|
2497
|
-
def initialize(**args)
|
2498
|
-
update!(**args)
|
2499
|
-
end
|
2500
|
-
|
2501
|
-
# Update properties of this object
|
2502
|
-
def update!(**args)
|
2503
|
-
@annotation_sets = args[:annotation_sets] if args.key?(:annotation_sets)
|
2504
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2505
|
-
end
|
2506
|
-
end
|
2507
|
-
|
2508
|
-
#
|
2509
|
-
class SearchAnnotationsRequest
|
2510
|
-
include Google::Apis::Core::Hashable
|
2511
|
-
|
2512
|
-
# Required. The annotation sets to search within. The caller must have
|
2513
|
-
# `READ` access to these annotation sets.
|
2514
|
-
# All queried annotation sets must have the same type.
|
2515
|
-
# Corresponds to the JSON property `annotationSetIds`
|
2516
|
-
# @return [Array<String>]
|
2517
|
-
attr_accessor :annotation_set_ids
|
2518
|
-
|
2519
|
-
# The end position of the range on the reference, 0-based exclusive. If
|
2520
|
-
# referenceId or
|
2521
|
-
# referenceName
|
2522
|
-
# must be specified, Defaults to the length of the reference.
|
2523
|
-
# Corresponds to the JSON property `end`
|
2524
|
-
# @return [Fixnum]
|
2525
|
-
attr_accessor :end
|
2526
|
-
|
2527
|
-
# The maximum number of results to return in a single page. If unspecified,
|
2528
|
-
# defaults to 256. The maximum value is 2048.
|
2529
|
-
# Corresponds to the JSON property `pageSize`
|
2530
|
-
# @return [Fixnum]
|
2531
|
-
attr_accessor :page_size
|
2532
|
-
|
2533
|
-
# The continuation token, which is used to page through large result sets.
|
2534
|
-
# To get the next page of results, set this parameter to the value of
|
2535
|
-
# `nextPageToken` from the previous response.
|
2536
|
-
# Corresponds to the JSON property `pageToken`
|
2537
|
-
# @return [String]
|
2538
|
-
attr_accessor :page_token
|
2539
|
-
|
2540
|
-
# The ID of the reference to query.
|
2541
|
-
# Corresponds to the JSON property `referenceId`
|
2542
|
-
# @return [String]
|
2543
|
-
attr_accessor :reference_id
|
2544
|
-
|
2545
|
-
# The name of the reference to query, within the reference set associated
|
2546
|
-
# with this query.
|
2547
|
-
# Corresponds to the JSON property `referenceName`
|
2548
|
-
# @return [String]
|
2549
|
-
attr_accessor :reference_name
|
2550
|
-
|
2551
|
-
# The start position of the range on the reference, 0-based inclusive. If
|
2552
|
-
# specified,
|
2553
|
-
# referenceId or
|
2554
|
-
# referenceName
|
2555
|
-
# must be specified. Defaults to 0.
|
2556
|
-
# Corresponds to the JSON property `start`
|
2557
|
-
# @return [Fixnum]
|
2558
|
-
attr_accessor :start
|
2559
|
-
|
2560
|
-
def initialize(**args)
|
2561
|
-
update!(**args)
|
2562
|
-
end
|
2563
|
-
|
2564
|
-
# Update properties of this object
|
2565
|
-
def update!(**args)
|
2566
|
-
@annotation_set_ids = args[:annotation_set_ids] if args.key?(:annotation_set_ids)
|
2567
|
-
@end = args[:end] if args.key?(:end)
|
2568
|
-
@page_size = args[:page_size] if args.key?(:page_size)
|
2569
|
-
@page_token = args[:page_token] if args.key?(:page_token)
|
2570
|
-
@reference_id = args[:reference_id] if args.key?(:reference_id)
|
2571
|
-
@reference_name = args[:reference_name] if args.key?(:reference_name)
|
2572
|
-
@start = args[:start] if args.key?(:start)
|
2573
|
-
end
|
2574
|
-
end
|
2575
|
-
|
2576
|
-
#
|
2577
|
-
class SearchAnnotationsResponse
|
2578
|
-
include Google::Apis::Core::Hashable
|
2579
|
-
|
2580
|
-
# The matching annotations.
|
2581
|
-
# Corresponds to the JSON property `annotations`
|
2582
|
-
# @return [Array<Google::Apis::GenomicsV1::Annotation>]
|
2583
|
-
attr_accessor :annotations
|
2584
|
-
|
2585
|
-
# The continuation token, which is used to page through large result sets.
|
2586
|
-
# Provide this value in a subsequent request to return the next page of
|
2587
|
-
# results. This field will be empty if there aren't any additional results.
|
2588
|
-
# Corresponds to the JSON property `nextPageToken`
|
2589
|
-
# @return [String]
|
2590
|
-
attr_accessor :next_page_token
|
2591
|
-
|
2592
|
-
def initialize(**args)
|
2593
|
-
update!(**args)
|
2594
|
-
end
|
2595
|
-
|
2596
|
-
# Update properties of this object
|
2597
|
-
def update!(**args)
|
2598
|
-
@annotations = args[:annotations] if args.key?(:annotations)
|
2599
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2600
|
-
end
|
2601
|
-
end
|
2602
|
-
|
2603
|
-
# The call set search request.
|
2604
|
-
class SearchCallSetsRequest
|
2605
|
-
include Google::Apis::Core::Hashable
|
2606
|
-
|
2607
|
-
# Only return call sets for which a substring of the name matches this
|
2608
|
-
# string.
|
2609
|
-
# Corresponds to the JSON property `name`
|
2610
|
-
# @return [String]
|
2611
|
-
attr_accessor :name
|
2612
|
-
|
2613
|
-
# The maximum number of results to return in a single page. If unspecified,
|
2614
|
-
# defaults to 1024.
|
2615
|
-
# Corresponds to the JSON property `pageSize`
|
2616
|
-
# @return [Fixnum]
|
2617
|
-
attr_accessor :page_size
|
2618
|
-
|
2619
|
-
# The continuation token, which is used to page through large result sets.
|
2620
|
-
# To get the next page of results, set this parameter to the value of
|
2621
|
-
# `nextPageToken` from the previous response.
|
2622
|
-
# Corresponds to the JSON property `pageToken`
|
2623
|
-
# @return [String]
|
2624
|
-
attr_accessor :page_token
|
2625
|
-
|
2626
|
-
# Restrict the query to call sets within the given variant sets. At least one
|
2627
|
-
# ID must be provided.
|
2628
|
-
# Corresponds to the JSON property `variantSetIds`
|
2629
|
-
# @return [Array<String>]
|
2630
|
-
attr_accessor :variant_set_ids
|
2631
|
-
|
2632
|
-
def initialize(**args)
|
2633
|
-
update!(**args)
|
2634
|
-
end
|
2635
|
-
|
2636
|
-
# Update properties of this object
|
2637
|
-
def update!(**args)
|
2638
|
-
@name = args[:name] if args.key?(:name)
|
2639
|
-
@page_size = args[:page_size] if args.key?(:page_size)
|
2640
|
-
@page_token = args[:page_token] if args.key?(:page_token)
|
2641
|
-
@variant_set_ids = args[:variant_set_ids] if args.key?(:variant_set_ids)
|
2642
|
-
end
|
2643
|
-
end
|
2644
|
-
|
2645
|
-
# The call set search response.
|
2646
|
-
class SearchCallSetsResponse
|
2647
|
-
include Google::Apis::Core::Hashable
|
2648
|
-
|
2649
|
-
# The list of matching call sets.
|
2650
|
-
# Corresponds to the JSON property `callSets`
|
2651
|
-
# @return [Array<Google::Apis::GenomicsV1::CallSet>]
|
2652
|
-
attr_accessor :call_sets
|
2653
|
-
|
2654
|
-
# The continuation token, which is used to page through large result sets.
|
2655
|
-
# Provide this value in a subsequent request to return the next page of
|
2656
|
-
# results. This field will be empty if there aren't any additional results.
|
2657
|
-
# Corresponds to the JSON property `nextPageToken`
|
2658
|
-
# @return [String]
|
2659
|
-
attr_accessor :next_page_token
|
2660
|
-
|
2661
|
-
def initialize(**args)
|
2662
|
-
update!(**args)
|
2663
|
-
end
|
2664
|
-
|
2665
|
-
# Update properties of this object
|
2666
|
-
def update!(**args)
|
2667
|
-
@call_sets = args[:call_sets] if args.key?(:call_sets)
|
2668
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2669
|
-
end
|
2670
|
-
end
|
2671
|
-
|
2672
|
-
# The read group set search request.
|
2673
|
-
class SearchReadGroupSetsRequest
|
2674
|
-
include Google::Apis::Core::Hashable
|
2675
|
-
|
2676
|
-
# Restricts this query to read group sets within the given datasets. At least
|
2677
|
-
# one ID must be provided.
|
2678
|
-
# Corresponds to the JSON property `datasetIds`
|
2679
|
-
# @return [Array<String>]
|
2680
|
-
attr_accessor :dataset_ids
|
2681
|
-
|
2682
|
-
# Only return read group sets for which a substring of the name matches this
|
2683
|
-
# string.
|
2684
|
-
# Corresponds to the JSON property `name`
|
2685
|
-
# @return [String]
|
2686
|
-
attr_accessor :name
|
2687
|
-
|
2688
|
-
# The maximum number of results to return in a single page. If unspecified,
|
2689
|
-
# defaults to 256. The maximum value is 1024.
|
2690
|
-
# Corresponds to the JSON property `pageSize`
|
2691
|
-
# @return [Fixnum]
|
2692
|
-
attr_accessor :page_size
|
2693
|
-
|
2694
|
-
# The continuation token, which is used to page through large result sets.
|
2695
|
-
# To get the next page of results, set this parameter to the value of
|
2696
|
-
# `nextPageToken` from the previous response.
|
2697
|
-
# Corresponds to the JSON property `pageToken`
|
2698
|
-
# @return [String]
|
2699
|
-
attr_accessor :page_token
|
2700
|
-
|
2701
|
-
def initialize(**args)
|
2702
|
-
update!(**args)
|
2703
|
-
end
|
2704
|
-
|
2705
|
-
# Update properties of this object
|
2706
|
-
def update!(**args)
|
2707
|
-
@dataset_ids = args[:dataset_ids] if args.key?(:dataset_ids)
|
2708
|
-
@name = args[:name] if args.key?(:name)
|
2709
|
-
@page_size = args[:page_size] if args.key?(:page_size)
|
2710
|
-
@page_token = args[:page_token] if args.key?(:page_token)
|
2711
|
-
end
|
2712
|
-
end
|
2713
|
-
|
2714
|
-
# The read group set search response.
|
2715
|
-
class SearchReadGroupSetsResponse
|
2716
|
-
include Google::Apis::Core::Hashable
|
2717
|
-
|
2718
|
-
# The continuation token, which is used to page through large result sets.
|
2719
|
-
# Provide this value in a subsequent request to return the next page of
|
2720
|
-
# results. This field will be empty if there aren't any additional results.
|
2721
|
-
# Corresponds to the JSON property `nextPageToken`
|
2722
|
-
# @return [String]
|
2723
|
-
attr_accessor :next_page_token
|
2724
|
-
|
2725
|
-
# The list of matching read group sets.
|
2726
|
-
# Corresponds to the JSON property `readGroupSets`
|
2727
|
-
# @return [Array<Google::Apis::GenomicsV1::ReadGroupSet>]
|
2728
|
-
attr_accessor :read_group_sets
|
2729
|
-
|
2730
|
-
def initialize(**args)
|
2731
|
-
update!(**args)
|
2732
|
-
end
|
2733
|
-
|
2734
|
-
# Update properties of this object
|
2735
|
-
def update!(**args)
|
2736
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2737
|
-
@read_group_sets = args[:read_group_sets] if args.key?(:read_group_sets)
|
2738
|
-
end
|
2739
|
-
end
|
2740
|
-
|
2741
|
-
# The read search request.
|
2742
|
-
class SearchReadsRequest
|
2743
|
-
include Google::Apis::Core::Hashable
|
2744
|
-
|
2745
|
-
# The end position of the range on the reference, 0-based exclusive. If
|
2746
|
-
# specified, `referenceName` must also be specified.
|
2747
|
-
# Corresponds to the JSON property `end`
|
2748
|
-
# @return [Fixnum]
|
2749
|
-
attr_accessor :end
|
2750
|
-
|
2751
|
-
# The maximum number of results to return in a single page. If unspecified,
|
2752
|
-
# defaults to 256. The maximum value is 2048.
|
2753
|
-
# Corresponds to the JSON property `pageSize`
|
2754
|
-
# @return [Fixnum]
|
2755
|
-
attr_accessor :page_size
|
2756
|
-
|
2757
|
-
# The continuation token, which is used to page through large result sets.
|
2758
|
-
# To get the next page of results, set this parameter to the value of
|
2759
|
-
# `nextPageToken` from the previous response.
|
2760
|
-
# Corresponds to the JSON property `pageToken`
|
2761
|
-
# @return [String]
|
2762
|
-
attr_accessor :page_token
|
2763
|
-
|
2764
|
-
# The IDs of the read groups within which to search for reads. All specified
|
2765
|
-
# read groups must belong to the same read group sets. Must specify one of
|
2766
|
-
# `readGroupSetIds` or `readGroupIds`.
|
2767
|
-
# Corresponds to the JSON property `readGroupIds`
|
2768
|
-
# @return [Array<String>]
|
2769
|
-
attr_accessor :read_group_ids
|
2770
|
-
|
2771
|
-
# The IDs of the read groups sets within which to search for reads. All
|
2772
|
-
# specified read group sets must be aligned against a common set of reference
|
2773
|
-
# sequences; this defines the genomic coordinates for the query. Must specify
|
2774
|
-
# one of `readGroupSetIds` or `readGroupIds`.
|
2775
|
-
# Corresponds to the JSON property `readGroupSetIds`
|
2776
|
-
# @return [Array<String>]
|
2777
|
-
attr_accessor :read_group_set_ids
|
2778
|
-
|
2779
|
-
# The reference sequence name, for example `chr1`, `1`, or `chrX`. If set to
|
2780
|
-
# `*`, only unmapped reads are returned. If unspecified, all reads (mapped
|
2781
|
-
# and unmapped) are returned.
|
2782
|
-
# Corresponds to the JSON property `referenceName`
|
2783
|
-
# @return [String]
|
2784
|
-
attr_accessor :reference_name
|
2785
|
-
|
2786
|
-
# The start position of the range on the reference, 0-based inclusive. If
|
2787
|
-
# specified, `referenceName` must also be specified.
|
2788
|
-
# Corresponds to the JSON property `start`
|
2789
|
-
# @return [Fixnum]
|
2790
|
-
attr_accessor :start
|
2791
|
-
|
2792
|
-
def initialize(**args)
|
2793
|
-
update!(**args)
|
2794
|
-
end
|
2795
|
-
|
2796
|
-
# Update properties of this object
|
2797
|
-
def update!(**args)
|
2798
|
-
@end = args[:end] if args.key?(:end)
|
2799
|
-
@page_size = args[:page_size] if args.key?(:page_size)
|
2800
|
-
@page_token = args[:page_token] if args.key?(:page_token)
|
2801
|
-
@read_group_ids = args[:read_group_ids] if args.key?(:read_group_ids)
|
2802
|
-
@read_group_set_ids = args[:read_group_set_ids] if args.key?(:read_group_set_ids)
|
2803
|
-
@reference_name = args[:reference_name] if args.key?(:reference_name)
|
2804
|
-
@start = args[:start] if args.key?(:start)
|
2805
|
-
end
|
2806
|
-
end
|
2807
|
-
|
2808
|
-
# The read search response.
|
2809
|
-
class SearchReadsResponse
|
2810
|
-
include Google::Apis::Core::Hashable
|
2811
|
-
|
2812
|
-
# The list of matching alignments sorted by mapped genomic coordinate,
|
2813
|
-
# if any, ascending in position within the same reference. Unmapped reads,
|
2814
|
-
# which have no position, are returned contiguously and are sorted in
|
2815
|
-
# ascending lexicographic order by fragment name.
|
2816
|
-
# Corresponds to the JSON property `alignments`
|
2817
|
-
# @return [Array<Google::Apis::GenomicsV1::Read>]
|
2818
|
-
attr_accessor :alignments
|
2819
|
-
|
2820
|
-
# The continuation token, which is used to page through large result sets.
|
2821
|
-
# Provide this value in a subsequent request to return the next page of
|
2822
|
-
# results. This field will be empty if there aren't any additional results.
|
2823
|
-
# Corresponds to the JSON property `nextPageToken`
|
2824
|
-
# @return [String]
|
2825
|
-
attr_accessor :next_page_token
|
2826
|
-
|
2827
|
-
def initialize(**args)
|
2828
|
-
update!(**args)
|
2829
|
-
end
|
2830
|
-
|
2831
|
-
# Update properties of this object
|
2832
|
-
def update!(**args)
|
2833
|
-
@alignments = args[:alignments] if args.key?(:alignments)
|
2834
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2835
|
-
end
|
2836
|
-
end
|
2837
|
-
|
2838
|
-
#
|
2839
|
-
class SearchReferenceSetsRequest
|
2840
|
-
include Google::Apis::Core::Hashable
|
2841
|
-
|
2842
|
-
# If present, return reference sets for which a prefix of any of
|
2843
|
-
# sourceAccessions
|
2844
|
-
# match any of these strings. Accession numbers typically have a main number
|
2845
|
-
# and a version, for example `NC_000001.11`.
|
2846
|
-
# Corresponds to the JSON property `accessions`
|
2847
|
-
# @return [Array<String>]
|
2848
|
-
attr_accessor :accessions
|
2849
|
-
|
2850
|
-
# If present, return reference sets for which a substring of their
|
2851
|
-
# `assemblyId` matches this string (case insensitive).
|
2852
|
-
# Corresponds to the JSON property `assemblyId`
|
2853
|
-
# @return [String]
|
2854
|
-
attr_accessor :assembly_id
|
2855
|
-
|
2856
|
-
# If present, return reference sets for which the
|
2857
|
-
# md5checksum matches exactly.
|
2858
|
-
# Corresponds to the JSON property `md5checksums`
|
2859
|
-
# @return [Array<String>]
|
2860
|
-
attr_accessor :md5checksums
|
2861
|
-
|
2862
|
-
# The maximum number of results to return in a single page. If unspecified,
|
2863
|
-
# defaults to 1024. The maximum value is 4096.
|
2864
|
-
# Corresponds to the JSON property `pageSize`
|
2865
|
-
# @return [Fixnum]
|
2866
|
-
attr_accessor :page_size
|
2867
|
-
|
2868
|
-
# The continuation token, which is used to page through large result sets.
|
2869
|
-
# To get the next page of results, set this parameter to the value of
|
2870
|
-
# `nextPageToken` from the previous response.
|
2871
|
-
# Corresponds to the JSON property `pageToken`
|
2872
|
-
# @return [String]
|
2873
|
-
attr_accessor :page_token
|
2874
|
-
|
2875
|
-
def initialize(**args)
|
2876
|
-
update!(**args)
|
2877
|
-
end
|
2878
|
-
|
2879
|
-
# Update properties of this object
|
2880
|
-
def update!(**args)
|
2881
|
-
@accessions = args[:accessions] if args.key?(:accessions)
|
2882
|
-
@assembly_id = args[:assembly_id] if args.key?(:assembly_id)
|
2883
|
-
@md5checksums = args[:md5checksums] if args.key?(:md5checksums)
|
2884
|
-
@page_size = args[:page_size] if args.key?(:page_size)
|
2885
|
-
@page_token = args[:page_token] if args.key?(:page_token)
|
2886
|
-
end
|
2887
|
-
end
|
2888
|
-
|
2889
|
-
#
|
2890
|
-
class SearchReferenceSetsResponse
|
2891
|
-
include Google::Apis::Core::Hashable
|
2892
|
-
|
2893
|
-
# The continuation token, which is used to page through large result sets.
|
2894
|
-
# Provide this value in a subsequent request to return the next page of
|
2895
|
-
# results. This field will be empty if there aren't any additional results.
|
2896
|
-
# Corresponds to the JSON property `nextPageToken`
|
2897
|
-
# @return [String]
|
2898
|
-
attr_accessor :next_page_token
|
2899
|
-
|
2900
|
-
# The matching references sets.
|
2901
|
-
# Corresponds to the JSON property `referenceSets`
|
2902
|
-
# @return [Array<Google::Apis::GenomicsV1::ReferenceSet>]
|
2903
|
-
attr_accessor :reference_sets
|
2904
|
-
|
2905
|
-
def initialize(**args)
|
2906
|
-
update!(**args)
|
2907
|
-
end
|
2908
|
-
|
2909
|
-
# Update properties of this object
|
2910
|
-
def update!(**args)
|
2911
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2912
|
-
@reference_sets = args[:reference_sets] if args.key?(:reference_sets)
|
2913
|
-
end
|
2914
|
-
end
|
2915
|
-
|
2916
|
-
#
|
2917
|
-
class SearchReferencesRequest
|
2918
|
-
include Google::Apis::Core::Hashable
|
2919
|
-
|
2920
|
-
# If present, return references for which a prefix of any of
|
2921
|
-
# sourceAccessions match
|
2922
|
-
# any of these strings. Accession numbers typically have a main number and a
|
2923
|
-
# version, for example `GCF_000001405.26`.
|
2924
|
-
# Corresponds to the JSON property `accessions`
|
2925
|
-
# @return [Array<String>]
|
2926
|
-
attr_accessor :accessions
|
2927
|
-
|
2928
|
-
# If present, return references for which the
|
2929
|
-
# md5checksum matches exactly.
|
2930
|
-
# Corresponds to the JSON property `md5checksums`
|
2931
|
-
# @return [Array<String>]
|
2932
|
-
attr_accessor :md5checksums
|
2933
|
-
|
2934
|
-
# The maximum number of results to return in a single page. If unspecified,
|
2935
|
-
# defaults to 1024. The maximum value is 4096.
|
2936
|
-
# Corresponds to the JSON property `pageSize`
|
2937
|
-
# @return [Fixnum]
|
2938
|
-
attr_accessor :page_size
|
2939
|
-
|
2940
|
-
# The continuation token, which is used to page through large result sets.
|
2941
|
-
# To get the next page of results, set this parameter to the value of
|
2942
|
-
# `nextPageToken` from the previous response.
|
2943
|
-
# Corresponds to the JSON property `pageToken`
|
2944
|
-
# @return [String]
|
2945
|
-
attr_accessor :page_token
|
2946
|
-
|
2947
|
-
# If present, return only references which belong to this reference set.
|
2948
|
-
# Corresponds to the JSON property `referenceSetId`
|
2949
|
-
# @return [String]
|
2950
|
-
attr_accessor :reference_set_id
|
2951
|
-
|
2952
|
-
def initialize(**args)
|
2953
|
-
update!(**args)
|
2954
|
-
end
|
2955
|
-
|
2956
|
-
# Update properties of this object
|
2957
|
-
def update!(**args)
|
2958
|
-
@accessions = args[:accessions] if args.key?(:accessions)
|
2959
|
-
@md5checksums = args[:md5checksums] if args.key?(:md5checksums)
|
2960
|
-
@page_size = args[:page_size] if args.key?(:page_size)
|
2961
|
-
@page_token = args[:page_token] if args.key?(:page_token)
|
2962
|
-
@reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id)
|
2963
|
-
end
|
2964
|
-
end
|
2965
|
-
|
2966
|
-
#
|
2967
|
-
class SearchReferencesResponse
|
2968
|
-
include Google::Apis::Core::Hashable
|
2969
|
-
|
2970
|
-
# The continuation token, which is used to page through large result sets.
|
2971
|
-
# Provide this value in a subsequent request to return the next page of
|
2972
|
-
# results. This field will be empty if there aren't any additional results.
|
2973
|
-
# Corresponds to the JSON property `nextPageToken`
|
2974
|
-
# @return [String]
|
2975
|
-
attr_accessor :next_page_token
|
2976
|
-
|
2977
|
-
# The matching references.
|
2978
|
-
# Corresponds to the JSON property `references`
|
2979
|
-
# @return [Array<Google::Apis::GenomicsV1::Reference>]
|
2980
|
-
attr_accessor :references
|
2981
|
-
|
2982
|
-
def initialize(**args)
|
2983
|
-
update!(**args)
|
2984
|
-
end
|
2985
|
-
|
2986
|
-
# Update properties of this object
|
2987
|
-
def update!(**args)
|
2988
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2989
|
-
@references = args[:references] if args.key?(:references)
|
2990
|
-
end
|
2991
|
-
end
|
2992
|
-
|
2993
|
-
# The search variant sets request.
|
2994
|
-
class SearchVariantSetsRequest
|
2995
|
-
include Google::Apis::Core::Hashable
|
2996
|
-
|
2997
|
-
# Exactly one dataset ID must be provided here. Only variant sets which
|
2998
|
-
# belong to this dataset will be returned.
|
2999
|
-
# Corresponds to the JSON property `datasetIds`
|
3000
|
-
# @return [Array<String>]
|
3001
|
-
attr_accessor :dataset_ids
|
3002
|
-
|
3003
|
-
# The maximum number of results to return in a single page. If unspecified,
|
3004
|
-
# defaults to 1024.
|
3005
|
-
# Corresponds to the JSON property `pageSize`
|
3006
|
-
# @return [Fixnum]
|
3007
|
-
attr_accessor :page_size
|
3008
|
-
|
3009
|
-
# The continuation token, which is used to page through large result sets.
|
3010
|
-
# To get the next page of results, set this parameter to the value of
|
3011
|
-
# `nextPageToken` from the previous response.
|
3012
|
-
# Corresponds to the JSON property `pageToken`
|
3013
|
-
# @return [String]
|
3014
|
-
attr_accessor :page_token
|
3015
|
-
|
3016
|
-
def initialize(**args)
|
3017
|
-
update!(**args)
|
3018
|
-
end
|
3019
|
-
|
3020
|
-
# Update properties of this object
|
3021
|
-
def update!(**args)
|
3022
|
-
@dataset_ids = args[:dataset_ids] if args.key?(:dataset_ids)
|
3023
|
-
@page_size = args[:page_size] if args.key?(:page_size)
|
3024
|
-
@page_token = args[:page_token] if args.key?(:page_token)
|
3025
|
-
end
|
3026
|
-
end
|
3027
|
-
|
3028
|
-
# The search variant sets response.
|
3029
|
-
class SearchVariantSetsResponse
|
3030
|
-
include Google::Apis::Core::Hashable
|
3031
|
-
|
3032
|
-
# The continuation token, which is used to page through large result sets.
|
3033
|
-
# Provide this value in a subsequent request to return the next page of
|
3034
|
-
# results. This field will be empty if there aren't any additional results.
|
3035
|
-
# Corresponds to the JSON property `nextPageToken`
|
3036
|
-
# @return [String]
|
3037
|
-
attr_accessor :next_page_token
|
3038
|
-
|
3039
|
-
# The variant sets belonging to the requested dataset.
|
3040
|
-
# Corresponds to the JSON property `variantSets`
|
3041
|
-
# @return [Array<Google::Apis::GenomicsV1::VariantSet>]
|
3042
|
-
attr_accessor :variant_sets
|
3043
|
-
|
3044
|
-
def initialize(**args)
|
3045
|
-
update!(**args)
|
3046
|
-
end
|
3047
|
-
|
3048
|
-
# Update properties of this object
|
3049
|
-
def update!(**args)
|
3050
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
3051
|
-
@variant_sets = args[:variant_sets] if args.key?(:variant_sets)
|
3052
|
-
end
|
3053
|
-
end
|
3054
|
-
|
3055
|
-
# The variant search request.
|
3056
|
-
class SearchVariantsRequest
|
3057
|
-
include Google::Apis::Core::Hashable
|
3058
|
-
|
3059
|
-
# Only return variant calls which belong to call sets with these ids.
|
3060
|
-
# Leaving this blank returns all variant calls. If a variant has no
|
3061
|
-
# calls belonging to any of these call sets, it won't be returned at all.
|
3062
|
-
# Corresponds to the JSON property `callSetIds`
|
3063
|
-
# @return [Array<String>]
|
3064
|
-
attr_accessor :call_set_ids
|
3065
|
-
|
3066
|
-
# The end of the window, 0-based exclusive. If unspecified or 0, defaults to
|
3067
|
-
# the length of the reference.
|
3068
|
-
# Corresponds to the JSON property `end`
|
3069
|
-
# @return [Fixnum]
|
3070
|
-
attr_accessor :end
|
3071
|
-
|
3072
|
-
# The maximum number of calls to return in a single page. Note that this
|
3073
|
-
# limit may be exceeded in the event that a matching variant contains more
|
3074
|
-
# calls than the requested maximum. If unspecified, defaults to 5000. The
|
3075
|
-
# maximum value is 10000.
|
3076
|
-
# Corresponds to the JSON property `maxCalls`
|
3077
|
-
# @return [Fixnum]
|
3078
|
-
attr_accessor :max_calls
|
3079
|
-
|
3080
|
-
# The maximum number of variants to return in a single page. If unspecified,
|
3081
|
-
# defaults to 5000. The maximum value is 10000.
|
3082
|
-
# Corresponds to the JSON property `pageSize`
|
3083
|
-
# @return [Fixnum]
|
3084
|
-
attr_accessor :page_size
|
3085
|
-
|
3086
|
-
# The continuation token, which is used to page through large result sets.
|
3087
|
-
# To get the next page of results, set this parameter to the value of
|
3088
|
-
# `nextPageToken` from the previous response.
|
3089
|
-
# Corresponds to the JSON property `pageToken`
|
3090
|
-
# @return [String]
|
3091
|
-
attr_accessor :page_token
|
3092
|
-
|
3093
|
-
# Required. Only return variants in this reference sequence.
|
3094
|
-
# Corresponds to the JSON property `referenceName`
|
3095
|
-
# @return [String]
|
3096
|
-
attr_accessor :reference_name
|
3097
|
-
|
3098
|
-
# The beginning of the window (0-based, inclusive) for which
|
3099
|
-
# overlapping variants should be returned. If unspecified, defaults to 0.
|
3100
|
-
# Corresponds to the JSON property `start`
|
3101
|
-
# @return [Fixnum]
|
3102
|
-
attr_accessor :start
|
3103
|
-
|
3104
|
-
# Only return variants which have exactly this name.
|
3105
|
-
# Corresponds to the JSON property `variantName`
|
3106
|
-
# @return [String]
|
3107
|
-
attr_accessor :variant_name
|
3108
|
-
|
3109
|
-
# At most one variant set ID must be provided. Only variants from this
|
3110
|
-
# variant set will be returned. If omitted, a call set id must be included in
|
3111
|
-
# the request.
|
3112
|
-
# Corresponds to the JSON property `variantSetIds`
|
3113
|
-
# @return [Array<String>]
|
3114
|
-
attr_accessor :variant_set_ids
|
3115
|
-
|
3116
|
-
def initialize(**args)
|
3117
|
-
update!(**args)
|
3118
|
-
end
|
3119
|
-
|
3120
|
-
# Update properties of this object
|
3121
|
-
def update!(**args)
|
3122
|
-
@call_set_ids = args[:call_set_ids] if args.key?(:call_set_ids)
|
3123
|
-
@end = args[:end] if args.key?(:end)
|
3124
|
-
@max_calls = args[:max_calls] if args.key?(:max_calls)
|
3125
|
-
@page_size = args[:page_size] if args.key?(:page_size)
|
3126
|
-
@page_token = args[:page_token] if args.key?(:page_token)
|
3127
|
-
@reference_name = args[:reference_name] if args.key?(:reference_name)
|
3128
|
-
@start = args[:start] if args.key?(:start)
|
3129
|
-
@variant_name = args[:variant_name] if args.key?(:variant_name)
|
3130
|
-
@variant_set_ids = args[:variant_set_ids] if args.key?(:variant_set_ids)
|
3131
|
-
end
|
3132
|
-
end
|
3133
|
-
|
3134
|
-
# The variant search response.
|
3135
|
-
class SearchVariantsResponse
|
3136
|
-
include Google::Apis::Core::Hashable
|
3137
|
-
|
3138
|
-
# The continuation token, which is used to page through large result sets.
|
3139
|
-
# Provide this value in a subsequent request to return the next page of
|
3140
|
-
# results. This field will be empty if there aren't any additional results.
|
3141
|
-
# Corresponds to the JSON property `nextPageToken`
|
3142
|
-
# @return [String]
|
3143
|
-
attr_accessor :next_page_token
|
3144
|
-
|
3145
|
-
# The list of matching Variants.
|
3146
|
-
# Corresponds to the JSON property `variants`
|
3147
|
-
# @return [Array<Google::Apis::GenomicsV1::Variant>]
|
3148
|
-
attr_accessor :variants
|
3149
|
-
|
3150
|
-
def initialize(**args)
|
3151
|
-
update!(**args)
|
3152
|
-
end
|
3153
|
-
|
3154
|
-
# Update properties of this object
|
3155
|
-
def update!(**args)
|
3156
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
3157
|
-
@variants = args[:variants] if args.key?(:variants)
|
3158
|
-
end
|
3159
|
-
end
|
3160
|
-
|
3161
|
-
# Request message for `SetIamPolicy` method.
|
3162
|
-
class SetIamPolicyRequest
|
3163
|
-
include Google::Apis::Core::Hashable
|
3164
|
-
|
3165
|
-
# Defines an Identity and Access Management (IAM) policy. It is used to
|
3166
|
-
# specify access control policies for Cloud Platform resources.
|
3167
|
-
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of
|
3168
|
-
# `members` to a `role`, where the members can be user accounts, Google groups,
|
3169
|
-
# Google domains, and service accounts. A `role` is a named list of permissions
|
3170
|
-
# defined by IAM.
|
3171
|
-
# **JSON Example**
|
3172
|
-
# `
|
3173
|
-
# "bindings": [
|
3174
|
-
# `
|
3175
|
-
# "role": "roles/owner",
|
3176
|
-
# "members": [
|
3177
|
-
# "user:mike@example.com",
|
3178
|
-
# "group:admins@example.com",
|
3179
|
-
# "domain:google.com",
|
3180
|
-
# "serviceAccount:my-other-app@appspot.gserviceaccount.com"
|
3181
|
-
# ]
|
3182
|
-
# `,
|
3183
|
-
# `
|
3184
|
-
# "role": "roles/viewer",
|
3185
|
-
# "members": ["user:sean@example.com"]
|
3186
|
-
# `
|
3187
|
-
# ]
|
3188
|
-
# `
|
3189
|
-
# **YAML Example**
|
3190
|
-
# bindings:
|
3191
|
-
# - members:
|
3192
|
-
# - user:mike@example.com
|
3193
|
-
# - group:admins@example.com
|
3194
|
-
# - domain:google.com
|
3195
|
-
# - serviceAccount:my-other-app@appspot.gserviceaccount.com
|
3196
|
-
# role: roles/owner
|
3197
|
-
# - members:
|
3198
|
-
# - user:sean@example.com
|
3199
|
-
# role: roles/viewer
|
3200
|
-
# For a description of IAM and its features, see the
|
3201
|
-
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
3202
|
-
# Corresponds to the JSON property `policy`
|
3203
|
-
# @return [Google::Apis::GenomicsV1::Policy]
|
3204
|
-
attr_accessor :policy
|
3205
|
-
|
3206
|
-
def initialize(**args)
|
3207
|
-
update!(**args)
|
3208
|
-
end
|
3209
|
-
|
3210
|
-
# Update properties of this object
|
3211
|
-
def update!(**args)
|
3212
|
-
@policy = args[:policy] if args.key?(:policy)
|
567
|
+
@compute_engine = args[:compute_engine] if args.key?(:compute_engine)
|
3213
568
|
end
|
3214
569
|
end
|
3215
570
|
|
3216
|
-
# The `Status` type defines a logical error model that is suitable for
|
3217
|
-
# programming environments, including REST APIs and RPC APIs. It is
|
3218
|
-
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
571
|
+
# The `Status` type defines a logical error model that is suitable for
|
572
|
+
# different programming environments, including REST APIs and RPC APIs. It is
|
573
|
+
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
|
3219
574
|
# - Simple to use and understand for most users
|
3220
575
|
# - Flexible enough to meet unexpected needs
|
3221
576
|
# # Overview
|
3222
|
-
# The `Status` message contains three pieces of data: error code, error
|
3223
|
-
# and error details. The error code should be an enum value of
|
577
|
+
# The `Status` message contains three pieces of data: error code, error
|
578
|
+
# message, and error details. The error code should be an enum value of
|
3224
579
|
# google.rpc.Code, but it may accept additional error codes if needed. The
|
3225
580
|
# error message should be a developer-facing English message that helps
|
3226
581
|
# developers *understand* and *resolve* the error. If a localized user-facing
|
@@ -3285,120 +640,6 @@ module Google
|
|
3285
640
|
end
|
3286
641
|
end
|
3287
642
|
|
3288
|
-
# Request message for `TestIamPermissions` method.
|
3289
|
-
class TestIamPermissionsRequest
|
3290
|
-
include Google::Apis::Core::Hashable
|
3291
|
-
|
3292
|
-
# REQUIRED: The set of permissions to check for the 'resource'.
|
3293
|
-
# Permissions with wildcards (such as '*' or 'storage.*') are not allowed.
|
3294
|
-
# Allowed permissions are:
|
3295
|
-
# * `genomics.datasets.create`
|
3296
|
-
# * `genomics.datasets.delete`
|
3297
|
-
# * `genomics.datasets.get`
|
3298
|
-
# * `genomics.datasets.list`
|
3299
|
-
# * `genomics.datasets.update`
|
3300
|
-
# * `genomics.datasets.getIamPolicy`
|
3301
|
-
# * `genomics.datasets.setIamPolicy`
|
3302
|
-
# Corresponds to the JSON property `permissions`
|
3303
|
-
# @return [Array<String>]
|
3304
|
-
attr_accessor :permissions
|
3305
|
-
|
3306
|
-
def initialize(**args)
|
3307
|
-
update!(**args)
|
3308
|
-
end
|
3309
|
-
|
3310
|
-
# Update properties of this object
|
3311
|
-
def update!(**args)
|
3312
|
-
@permissions = args[:permissions] if args.key?(:permissions)
|
3313
|
-
end
|
3314
|
-
end
|
3315
|
-
|
3316
|
-
# Response message for `TestIamPermissions` method.
|
3317
|
-
class TestIamPermissionsResponse
|
3318
|
-
include Google::Apis::Core::Hashable
|
3319
|
-
|
3320
|
-
# A subset of `TestPermissionsRequest.permissions` that the caller is
|
3321
|
-
# allowed.
|
3322
|
-
# Corresponds to the JSON property `permissions`
|
3323
|
-
# @return [Array<String>]
|
3324
|
-
attr_accessor :permissions
|
3325
|
-
|
3326
|
-
def initialize(**args)
|
3327
|
-
update!(**args)
|
3328
|
-
end
|
3329
|
-
|
3330
|
-
# Update properties of this object
|
3331
|
-
def update!(**args)
|
3332
|
-
@permissions = args[:permissions] if args.key?(:permissions)
|
3333
|
-
end
|
3334
|
-
end
|
3335
|
-
|
3336
|
-
# A transcript represents the assertion that a particular region of the
|
3337
|
-
# reference genome may be transcribed as RNA.
|
3338
|
-
class Transcript
|
3339
|
-
include Google::Apis::Core::Hashable
|
3340
|
-
|
3341
|
-
# The range of the coding sequence for this transcript, if any. To determine
|
3342
|
-
# the exact ranges of coding sequence, intersect this range with those of the
|
3343
|
-
# exons, if any. If there are any
|
3344
|
-
# exons, the
|
3345
|
-
# codingSequence must start
|
3346
|
-
# and end within them.
|
3347
|
-
# Note that in some cases, the reference genome will not exactly match the
|
3348
|
-
# observed mRNA transcript e.g. due to variance in the source genome from
|
3349
|
-
# reference. In these cases,
|
3350
|
-
# exon.frame will not necessarily
|
3351
|
-
# match the expected reference reading frame and coding exon reference bases
|
3352
|
-
# cannot necessarily be concatenated to produce the original transcript mRNA.
|
3353
|
-
# Corresponds to the JSON property `codingSequence`
|
3354
|
-
# @return [Google::Apis::GenomicsV1::CodingSequence]
|
3355
|
-
attr_accessor :coding_sequence
|
3356
|
-
|
3357
|
-
# The <a href="http://en.wikipedia.org/wiki/Exon">exons</a> that compose
|
3358
|
-
# this transcript. This field should be unset for genomes where transcript
|
3359
|
-
# splicing does not occur, for example prokaryotes.
|
3360
|
-
# Introns are regions of the transcript that are not included in the
|
3361
|
-
# spliced RNA product. Though not explicitly modeled here, intron ranges can
|
3362
|
-
# be deduced; all regions of this transcript that are not exons are introns.
|
3363
|
-
# Exonic sequences do not necessarily code for a translational product
|
3364
|
-
# (amino acids). Only the regions of exons bounded by the
|
3365
|
-
# codingSequence correspond
|
3366
|
-
# to coding DNA sequence.
|
3367
|
-
# Exons are ordered by start position and may not overlap.
|
3368
|
-
# Corresponds to the JSON property `exons`
|
3369
|
-
# @return [Array<Google::Apis::GenomicsV1::Exon>]
|
3370
|
-
attr_accessor :exons
|
3371
|
-
|
3372
|
-
# The annotation ID of the gene from which this transcript is transcribed.
|
3373
|
-
# Corresponds to the JSON property `geneId`
|
3374
|
-
# @return [String]
|
3375
|
-
attr_accessor :gene_id
|
3376
|
-
|
3377
|
-
def initialize(**args)
|
3378
|
-
update!(**args)
|
3379
|
-
end
|
3380
|
-
|
3381
|
-
# Update properties of this object
|
3382
|
-
def update!(**args)
|
3383
|
-
@coding_sequence = args[:coding_sequence] if args.key?(:coding_sequence)
|
3384
|
-
@exons = args[:exons] if args.key?(:exons)
|
3385
|
-
@gene_id = args[:gene_id] if args.key?(:gene_id)
|
3386
|
-
end
|
3387
|
-
end
|
3388
|
-
|
3389
|
-
#
|
3390
|
-
class UndeleteDatasetRequest
|
3391
|
-
include Google::Apis::Core::Hashable
|
3392
|
-
|
3393
|
-
def initialize(**args)
|
3394
|
-
update!(**args)
|
3395
|
-
end
|
3396
|
-
|
3397
|
-
# Update properties of this object
|
3398
|
-
def update!(**args)
|
3399
|
-
end
|
3400
|
-
end
|
3401
|
-
|
3402
643
|
# An event generated when the execution of a container results in a
|
3403
644
|
# non-zero exit status that was not otherwise ignored. Execution will
|
3404
645
|
# continue, but only actions that are flagged as `ALWAYS_RUN` will be
|
@@ -3427,378 +668,6 @@ module Google
|
|
3427
668
|
end
|
3428
669
|
end
|
3429
670
|
|
3430
|
-
# A variant represents a change in DNA sequence relative to a reference
|
3431
|
-
# sequence. For example, a variant could represent a SNP or an insertion.
|
3432
|
-
# Variants belong to a variant set.
|
3433
|
-
# Each of the calls on a variant represent a determination of genotype with
|
3434
|
-
# respect to that variant. For example, a call might assign probability of 0.32
|
3435
|
-
# to the occurrence of a SNP named rs1234 in a sample named NA12345. A call
|
3436
|
-
# belongs to a call set, which contains related calls typically from one
|
3437
|
-
# sample.
|
3438
|
-
class Variant
|
3439
|
-
include Google::Apis::Core::Hashable
|
3440
|
-
|
3441
|
-
# The bases that appear instead of the reference bases.
|
3442
|
-
# Corresponds to the JSON property `alternateBases`
|
3443
|
-
# @return [Array<String>]
|
3444
|
-
attr_accessor :alternate_bases
|
3445
|
-
|
3446
|
-
# The variant calls for this particular variant. Each one represents the
|
3447
|
-
# determination of genotype with respect to this variant.
|
3448
|
-
# Corresponds to the JSON property `calls`
|
3449
|
-
# @return [Array<Google::Apis::GenomicsV1::VariantCall>]
|
3450
|
-
attr_accessor :calls
|
3451
|
-
|
3452
|
-
# The date this variant was created, in milliseconds from the epoch.
|
3453
|
-
# Corresponds to the JSON property `created`
|
3454
|
-
# @return [Fixnum]
|
3455
|
-
attr_accessor :created
|
3456
|
-
|
3457
|
-
# The end position (0-based) of this variant. This corresponds to the first
|
3458
|
-
# base after the last base in the reference allele. So, the length of
|
3459
|
-
# the reference allele is (end - start). This is useful for variants
|
3460
|
-
# that don't explicitly give alternate bases, for example large deletions.
|
3461
|
-
# Corresponds to the JSON property `end`
|
3462
|
-
# @return [Fixnum]
|
3463
|
-
attr_accessor :end
|
3464
|
-
|
3465
|
-
# A list of filters (normally quality filters) this variant has failed.
|
3466
|
-
# `PASS` indicates this variant has passed all filters.
|
3467
|
-
# Corresponds to the JSON property `filter`
|
3468
|
-
# @return [Array<String>]
|
3469
|
-
attr_accessor :filter
|
3470
|
-
|
3471
|
-
# The server-generated variant ID, unique across all variants.
|
3472
|
-
# Corresponds to the JSON property `id`
|
3473
|
-
# @return [String]
|
3474
|
-
attr_accessor :id
|
3475
|
-
|
3476
|
-
# A map of additional variant information. This must be of the form
|
3477
|
-
# map<string, string[]> (string key mapping to a list of string values).
|
3478
|
-
# Corresponds to the JSON property `info`
|
3479
|
-
# @return [Hash<String,Array<Object>>]
|
3480
|
-
attr_accessor :info
|
3481
|
-
|
3482
|
-
# Names for the variant, for example a RefSNP ID.
|
3483
|
-
# Corresponds to the JSON property `names`
|
3484
|
-
# @return [Array<String>]
|
3485
|
-
attr_accessor :names
|
3486
|
-
|
3487
|
-
# A measure of how likely this variant is to be real.
|
3488
|
-
# A higher value is better.
|
3489
|
-
# Corresponds to the JSON property `quality`
|
3490
|
-
# @return [Float]
|
3491
|
-
attr_accessor :quality
|
3492
|
-
|
3493
|
-
# The reference bases for this variant. They start at the given
|
3494
|
-
# position.
|
3495
|
-
# Corresponds to the JSON property `referenceBases`
|
3496
|
-
# @return [String]
|
3497
|
-
attr_accessor :reference_bases
|
3498
|
-
|
3499
|
-
# The reference on which this variant occurs.
|
3500
|
-
# (such as `chr20` or `X`)
|
3501
|
-
# Corresponds to the JSON property `referenceName`
|
3502
|
-
# @return [String]
|
3503
|
-
attr_accessor :reference_name
|
3504
|
-
|
3505
|
-
# The position at which this variant occurs (0-based).
|
3506
|
-
# This corresponds to the first base of the string of reference bases.
|
3507
|
-
# Corresponds to the JSON property `start`
|
3508
|
-
# @return [Fixnum]
|
3509
|
-
attr_accessor :start
|
3510
|
-
|
3511
|
-
# The ID of the variant set this variant belongs to.
|
3512
|
-
# Corresponds to the JSON property `variantSetId`
|
3513
|
-
# @return [String]
|
3514
|
-
attr_accessor :variant_set_id
|
3515
|
-
|
3516
|
-
def initialize(**args)
|
3517
|
-
update!(**args)
|
3518
|
-
end
|
3519
|
-
|
3520
|
-
# Update properties of this object
|
3521
|
-
def update!(**args)
|
3522
|
-
@alternate_bases = args[:alternate_bases] if args.key?(:alternate_bases)
|
3523
|
-
@calls = args[:calls] if args.key?(:calls)
|
3524
|
-
@created = args[:created] if args.key?(:created)
|
3525
|
-
@end = args[:end] if args.key?(:end)
|
3526
|
-
@filter = args[:filter] if args.key?(:filter)
|
3527
|
-
@id = args[:id] if args.key?(:id)
|
3528
|
-
@info = args[:info] if args.key?(:info)
|
3529
|
-
@names = args[:names] if args.key?(:names)
|
3530
|
-
@quality = args[:quality] if args.key?(:quality)
|
3531
|
-
@reference_bases = args[:reference_bases] if args.key?(:reference_bases)
|
3532
|
-
@reference_name = args[:reference_name] if args.key?(:reference_name)
|
3533
|
-
@start = args[:start] if args.key?(:start)
|
3534
|
-
@variant_set_id = args[:variant_set_id] if args.key?(:variant_set_id)
|
3535
|
-
end
|
3536
|
-
end
|
3537
|
-
|
3538
|
-
#
|
3539
|
-
class VariantAnnotation
|
3540
|
-
include Google::Apis::Core::Hashable
|
3541
|
-
|
3542
|
-
# The alternate allele for this variant. If multiple alternate alleles
|
3543
|
-
# exist at this location, create a separate variant for each one, as they
|
3544
|
-
# may represent distinct conditions.
|
3545
|
-
# Corresponds to the JSON property `alternateBases`
|
3546
|
-
# @return [String]
|
3547
|
-
attr_accessor :alternate_bases
|
3548
|
-
|
3549
|
-
# Describes the clinical significance of a variant.
|
3550
|
-
# It is adapted from the ClinVar controlled vocabulary for clinical
|
3551
|
-
# significance described at:
|
3552
|
-
# http://www.ncbi.nlm.nih.gov/clinvar/docs/clinsig/
|
3553
|
-
# Corresponds to the JSON property `clinicalSignificance`
|
3554
|
-
# @return [String]
|
3555
|
-
attr_accessor :clinical_significance
|
3556
|
-
|
3557
|
-
# The set of conditions associated with this variant.
|
3558
|
-
# A condition describes the way a variant influences human health.
|
3559
|
-
# Corresponds to the JSON property `conditions`
|
3560
|
-
# @return [Array<Google::Apis::GenomicsV1::ClinicalCondition>]
|
3561
|
-
attr_accessor :conditions
|
3562
|
-
|
3563
|
-
# Effect of the variant on the coding sequence.
|
3564
|
-
# Corresponds to the JSON property `effect`
|
3565
|
-
# @return [String]
|
3566
|
-
attr_accessor :effect
|
3567
|
-
|
3568
|
-
# Google annotation ID of the gene affected by this variant. This should
|
3569
|
-
# be provided when the variant is created.
|
3570
|
-
# Corresponds to the JSON property `geneId`
|
3571
|
-
# @return [String]
|
3572
|
-
attr_accessor :gene_id
|
3573
|
-
|
3574
|
-
# Google annotation IDs of the transcripts affected by this variant. These
|
3575
|
-
# should be provided when the variant is created.
|
3576
|
-
# Corresponds to the JSON property `transcriptIds`
|
3577
|
-
# @return [Array<String>]
|
3578
|
-
attr_accessor :transcript_ids
|
3579
|
-
|
3580
|
-
# Type has been adapted from ClinVar's list of variant types.
|
3581
|
-
# Corresponds to the JSON property `type`
|
3582
|
-
# @return [String]
|
3583
|
-
attr_accessor :type
|
3584
|
-
|
3585
|
-
def initialize(**args)
|
3586
|
-
update!(**args)
|
3587
|
-
end
|
3588
|
-
|
3589
|
-
# Update properties of this object
|
3590
|
-
def update!(**args)
|
3591
|
-
@alternate_bases = args[:alternate_bases] if args.key?(:alternate_bases)
|
3592
|
-
@clinical_significance = args[:clinical_significance] if args.key?(:clinical_significance)
|
3593
|
-
@conditions = args[:conditions] if args.key?(:conditions)
|
3594
|
-
@effect = args[:effect] if args.key?(:effect)
|
3595
|
-
@gene_id = args[:gene_id] if args.key?(:gene_id)
|
3596
|
-
@transcript_ids = args[:transcript_ids] if args.key?(:transcript_ids)
|
3597
|
-
@type = args[:type] if args.key?(:type)
|
3598
|
-
end
|
3599
|
-
end
|
3600
|
-
|
3601
|
-
# A call represents the determination of genotype with respect to a particular
|
3602
|
-
# variant. It may include associated information such as quality and phasing.
|
3603
|
-
# For example, a call might assign a probability of 0.32 to the occurrence of
|
3604
|
-
# a SNP named rs1234 in a call set with the name NA12345.
|
3605
|
-
class VariantCall
|
3606
|
-
include Google::Apis::Core::Hashable
|
3607
|
-
|
3608
|
-
# The ID of the call set this variant call belongs to.
|
3609
|
-
# Corresponds to the JSON property `callSetId`
|
3610
|
-
# @return [String]
|
3611
|
-
attr_accessor :call_set_id
|
3612
|
-
|
3613
|
-
# The name of the call set this variant call belongs to.
|
3614
|
-
# Corresponds to the JSON property `callSetName`
|
3615
|
-
# @return [String]
|
3616
|
-
attr_accessor :call_set_name
|
3617
|
-
|
3618
|
-
# The genotype of this variant call. Each value represents either the value
|
3619
|
-
# of the `referenceBases` field or a 1-based index into
|
3620
|
-
# `alternateBases`. If a variant had a `referenceBases`
|
3621
|
-
# value of `T` and an `alternateBases`
|
3622
|
-
# value of `["A", "C"]`, and the `genotype` was
|
3623
|
-
# `[2, 1]`, that would mean the call
|
3624
|
-
# represented the heterozygous value `CA` for this variant.
|
3625
|
-
# If the `genotype` was instead `[0, 1]`, the
|
3626
|
-
# represented value would be `TA`. Ordering of the
|
3627
|
-
# genotype values is important if the `phaseset` is present.
|
3628
|
-
# If a genotype is not called (that is, a `.` is present in the
|
3629
|
-
# GT string) -1 is returned.
|
3630
|
-
# Corresponds to the JSON property `genotype`
|
3631
|
-
# @return [Array<Fixnum>]
|
3632
|
-
attr_accessor :genotype
|
3633
|
-
|
3634
|
-
# The genotype likelihoods for this variant call. Each array entry
|
3635
|
-
# represents how likely a specific genotype is for this call. The value
|
3636
|
-
# ordering is defined by the GL tag in the VCF spec.
|
3637
|
-
# If Phred-scaled genotype likelihood scores (PL) are available and
|
3638
|
-
# log10(P) genotype likelihood scores (GL) are not, PL scores are converted
|
3639
|
-
# to GL scores. If both are available, PL scores are stored in `info`.
|
3640
|
-
# Corresponds to the JSON property `genotypeLikelihood`
|
3641
|
-
# @return [Array<Float>]
|
3642
|
-
attr_accessor :genotype_likelihood
|
3643
|
-
|
3644
|
-
# A map of additional variant call information. This must be of the form
|
3645
|
-
# map<string, string[]> (string key mapping to a list of string values).
|
3646
|
-
# Corresponds to the JSON property `info`
|
3647
|
-
# @return [Hash<String,Array<Object>>]
|
3648
|
-
attr_accessor :info
|
3649
|
-
|
3650
|
-
# If this field is present, this variant call's genotype ordering implies
|
3651
|
-
# the phase of the bases and is consistent with any other variant calls in
|
3652
|
-
# the same reference sequence which have the same phaseset value.
|
3653
|
-
# When importing data from VCF, if the genotype data was phased but no
|
3654
|
-
# phase set was specified this field will be set to `*`.
|
3655
|
-
# Corresponds to the JSON property `phaseset`
|
3656
|
-
# @return [String]
|
3657
|
-
attr_accessor :phaseset
|
3658
|
-
|
3659
|
-
def initialize(**args)
|
3660
|
-
update!(**args)
|
3661
|
-
end
|
3662
|
-
|
3663
|
-
# Update properties of this object
|
3664
|
-
def update!(**args)
|
3665
|
-
@call_set_id = args[:call_set_id] if args.key?(:call_set_id)
|
3666
|
-
@call_set_name = args[:call_set_name] if args.key?(:call_set_name)
|
3667
|
-
@genotype = args[:genotype] if args.key?(:genotype)
|
3668
|
-
@genotype_likelihood = args[:genotype_likelihood] if args.key?(:genotype_likelihood)
|
3669
|
-
@info = args[:info] if args.key?(:info)
|
3670
|
-
@phaseset = args[:phaseset] if args.key?(:phaseset)
|
3671
|
-
end
|
3672
|
-
end
|
3673
|
-
|
3674
|
-
# A variant set is a collection of call sets and variants. It contains summary
|
3675
|
-
# statistics of those contents. A variant set belongs to a dataset.
|
3676
|
-
class VariantSet
|
3677
|
-
include Google::Apis::Core::Hashable
|
3678
|
-
|
3679
|
-
# The dataset to which this variant set belongs.
|
3680
|
-
# Corresponds to the JSON property `datasetId`
|
3681
|
-
# @return [String]
|
3682
|
-
attr_accessor :dataset_id
|
3683
|
-
|
3684
|
-
# A textual description of this variant set.
|
3685
|
-
# Corresponds to the JSON property `description`
|
3686
|
-
# @return [String]
|
3687
|
-
attr_accessor :description
|
3688
|
-
|
3689
|
-
# The server-generated variant set ID, unique across all variant sets.
|
3690
|
-
# Corresponds to the JSON property `id`
|
3691
|
-
# @return [String]
|
3692
|
-
attr_accessor :id
|
3693
|
-
|
3694
|
-
# The metadata associated with this variant set.
|
3695
|
-
# Corresponds to the JSON property `metadata`
|
3696
|
-
# @return [Array<Google::Apis::GenomicsV1::VariantSetMetadata>]
|
3697
|
-
attr_accessor :metadata
|
3698
|
-
|
3699
|
-
# User-specified, mutable name.
|
3700
|
-
# Corresponds to the JSON property `name`
|
3701
|
-
# @return [String]
|
3702
|
-
attr_accessor :name
|
3703
|
-
|
3704
|
-
# A list of all references used by the variants in a variant set
|
3705
|
-
# with associated coordinate upper bounds for each one.
|
3706
|
-
# Corresponds to the JSON property `referenceBounds`
|
3707
|
-
# @return [Array<Google::Apis::GenomicsV1::ReferenceBound>]
|
3708
|
-
attr_accessor :reference_bounds
|
3709
|
-
|
3710
|
-
# The reference set to which the variant set is mapped. The reference set
|
3711
|
-
# describes the alignment provenance of the variant set, while the
|
3712
|
-
# `referenceBounds` describe the shape of the actual variant data. The
|
3713
|
-
# reference set's reference names are a superset of those found in the
|
3714
|
-
# `referenceBounds`.
|
3715
|
-
# For example, given a variant set that is mapped to the GRCh38 reference set
|
3716
|
-
# and contains a single variant on reference 'X', `referenceBounds` would
|
3717
|
-
# contain only an entry for 'X', while the associated reference set
|
3718
|
-
# enumerates all possible references: '1', '2', 'X', 'Y', 'MT', etc.
|
3719
|
-
# Corresponds to the JSON property `referenceSetId`
|
3720
|
-
# @return [String]
|
3721
|
-
attr_accessor :reference_set_id
|
3722
|
-
|
3723
|
-
def initialize(**args)
|
3724
|
-
update!(**args)
|
3725
|
-
end
|
3726
|
-
|
3727
|
-
# Update properties of this object
|
3728
|
-
def update!(**args)
|
3729
|
-
@dataset_id = args[:dataset_id] if args.key?(:dataset_id)
|
3730
|
-
@description = args[:description] if args.key?(:description)
|
3731
|
-
@id = args[:id] if args.key?(:id)
|
3732
|
-
@metadata = args[:metadata] if args.key?(:metadata)
|
3733
|
-
@name = args[:name] if args.key?(:name)
|
3734
|
-
@reference_bounds = args[:reference_bounds] if args.key?(:reference_bounds)
|
3735
|
-
@reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id)
|
3736
|
-
end
|
3737
|
-
end
|
3738
|
-
|
3739
|
-
# Metadata describes a single piece of variant call metadata.
|
3740
|
-
# These data include a top level key and either a single value string (value)
|
3741
|
-
# or a list of key-value pairs (info.)
|
3742
|
-
# Value and info are mutually exclusive.
|
3743
|
-
class VariantSetMetadata
|
3744
|
-
include Google::Apis::Core::Hashable
|
3745
|
-
|
3746
|
-
# A textual description of this metadata.
|
3747
|
-
# Corresponds to the JSON property `description`
|
3748
|
-
# @return [String]
|
3749
|
-
attr_accessor :description
|
3750
|
-
|
3751
|
-
# User-provided ID field, not enforced by this API.
|
3752
|
-
# Two or more pieces of structured metadata with identical
|
3753
|
-
# id and key fields are considered equivalent.
|
3754
|
-
# Corresponds to the JSON property `id`
|
3755
|
-
# @return [String]
|
3756
|
-
attr_accessor :id
|
3757
|
-
|
3758
|
-
# Remaining structured metadata key-value pairs. This must be of the form
|
3759
|
-
# map<string, string[]> (string key mapping to a list of string values).
|
3760
|
-
# Corresponds to the JSON property `info`
|
3761
|
-
# @return [Hash<String,Array<Object>>]
|
3762
|
-
attr_accessor :info
|
3763
|
-
|
3764
|
-
# The top-level key.
|
3765
|
-
# Corresponds to the JSON property `key`
|
3766
|
-
# @return [String]
|
3767
|
-
attr_accessor :key
|
3768
|
-
|
3769
|
-
# The number of values that can be included in a field described by this
|
3770
|
-
# metadata.
|
3771
|
-
# Corresponds to the JSON property `number`
|
3772
|
-
# @return [String]
|
3773
|
-
attr_accessor :number
|
3774
|
-
|
3775
|
-
# The type of data. Possible types include: Integer, Float,
|
3776
|
-
# Flag, Character, and String.
|
3777
|
-
# Corresponds to the JSON property `type`
|
3778
|
-
# @return [String]
|
3779
|
-
attr_accessor :type
|
3780
|
-
|
3781
|
-
# The value field for simple metadata
|
3782
|
-
# Corresponds to the JSON property `value`
|
3783
|
-
# @return [String]
|
3784
|
-
attr_accessor :value
|
3785
|
-
|
3786
|
-
def initialize(**args)
|
3787
|
-
update!(**args)
|
3788
|
-
end
|
3789
|
-
|
3790
|
-
# Update properties of this object
|
3791
|
-
def update!(**args)
|
3792
|
-
@description = args[:description] if args.key?(:description)
|
3793
|
-
@id = args[:id] if args.key?(:id)
|
3794
|
-
@info = args[:info] if args.key?(:info)
|
3795
|
-
@key = args[:key] if args.key?(:key)
|
3796
|
-
@number = args[:number] if args.key?(:number)
|
3797
|
-
@type = args[:type] if args.key?(:type)
|
3798
|
-
@value = args[:value] if args.key?(:value)
|
3799
|
-
end
|
3800
|
-
end
|
3801
|
-
|
3802
671
|
# An event generated after a worker VM has been assigned to run the
|
3803
672
|
# pipeline.
|
3804
673
|
class WorkerAssignedEvent
|