google-api-client 0.23.4 → 0.23.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/CHANGELOG.md +171 -0
- data/Gemfile +1 -0
- data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +7 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer_v1_2.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangeseller_v1.rb +1 -1
- data/generated/google/apis/adexchangeseller_v1_1.rb +1 -1
- data/generated/google/apis/adexchangeseller_v2_0.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1.rb +1 -1
- data/generated/google/apis/admin_datatransfer_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +7 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +1 -0
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +13 -1
- data/generated/google/apis/adsense_v1_4/representations.rb +2 -0
- data/generated/google/apis/adsense_v1_4/service.rb +36 -0
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analytics_v2_4.rb +1 -1
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +68 -0
- data/generated/google/apis/analytics_v3/representations.rb +31 -0
- data/generated/google/apis/analytics_v3/service.rb +33 -0
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +108 -28
- data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +32 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +73 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/service.rb +0 -70
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +2 -5
- data/generated/google/apis/androidpublisher_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +3 -4
- data/generated/google/apis/appsactivity_v1.rb +2 -2
- data/generated/google/apis/appsactivity_v1/service.rb +1 -1
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +103 -61
- data/generated/google/apis/bigquery_v2/representations.rb +17 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1.rb +35 -0
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +597 -0
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +238 -0
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +523 -0
- data/generated/google/apis/blogger_v2.rb +1 -1
- data/generated/google/apis/blogger_v3.rb +1 -1
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +7 -0
- data/generated/google/apis/books_v1/representations.rb +1 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +44 -12
- data/generated/google/apis/calendar_v3/service.rb +7 -7
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +641 -0
- data/generated/google/apis/civicinfo_v2/representations.rb +215 -0
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +25 -0
- data/generated/google/apis/classroom_v1/representations.rb +15 -0
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +85 -10
- data/generated/google/apis/cloudbilling_v1/representations.rb +18 -0
- data/generated/google/apis/cloudbilling_v1/service.rb +3 -13
- data/generated/google/apis/cloudbuild_v1.rb +4 -4
- data/generated/google/apis/cloudbuild_v1/classes.rb +37 -3
- data/generated/google/apis/cloudbuild_v1/representations.rb +3 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +3 -3
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +8 -0
- data/generated/google/apis/clouddebugger_v2/representations.rb +1 -0
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +4 -5
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +56 -0
- data/generated/google/apis/cloudiot_v1/representations.rb +18 -0
- data/generated/google/apis/cloudiot_v1/service.rb +355 -0
- data/generated/google/apis/cloudkms_v1.rb +6 -3
- data/generated/google/apis/cloudkms_v1/classes.rb +340 -14
- data/generated/google/apis/cloudkms_v1/representations.rb +147 -0
- data/generated/google/apis/cloudkms_v1/service.rb +126 -6
- data/generated/google/apis/cloudprofiler_v2.rb +3 -3
- data/generated/google/apis/cloudprofiler_v2/classes.rb +0 -6
- data/generated/google/apis/cloudprofiler_v2/representations.rb +0 -2
- data/generated/google/apis/cloudprofiler_v2/service.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +57 -1
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +18 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +56 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +18 -0
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +57 -1
- data/generated/google/apis/cloudresourcemanager_v2/representations.rb +18 -0
- 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 +57 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +18 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +28 -0
- data/generated/google/apis/cloudshell_v1alpha1/representations.rb +14 -0
- data/generated/google/apis/cloudshell_v1alpha1/service.rb +37 -0
- data/generated/google/apis/cloudtasks_v2beta2.rb +2 -2
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +167 -103
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +18 -0
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +28 -21
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +1 -1
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/{spectrum_v1explorer.rb → composer_v1.rb} +12 -9
- data/generated/google/apis/composer_v1/classes.rb +640 -0
- data/generated/google/apis/composer_v1/representations.rb +195 -0
- data/generated/google/apis/composer_v1/service.rb +462 -0
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +13 -10
- data/generated/google/apis/composer_v1beta1/service.rb +6 -6
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +5135 -4250
- data/generated/google/apis/compute_alpha/representations.rb +644 -216
- data/generated/google/apis/compute_alpha/service.rb +2308 -1655
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +1070 -62
- data/generated/google/apis/compute_beta/representations.rb +435 -0
- data/generated/google/apis/compute_beta/service.rb +1758 -321
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1984 -210
- data/generated/google/apis/compute_v1/representations.rb +754 -9
- data/generated/google/apis/compute_v1/service.rb +1299 -12
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +43 -0
- data/generated/google/apis/container_v1/representations.rb +17 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +193 -231
- data/generated/google/apis/container_v1beta1/representations.rb +72 -82
- data/generated/google/apis/container_v1beta1/service.rb +0 -112
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +199 -29
- data/generated/google/apis/content_v2/representations.rb +59 -0
- data/generated/google/apis/content_v2/service.rb +8 -3
- data/generated/google/apis/content_v2sandbox.rb +1 -1
- data/generated/google/apis/content_v2sandbox/classes.rb +32 -19
- data/generated/google/apis/content_v2sandbox/representations.rb +1 -0
- data/generated/google/apis/content_v2sandbox/service.rb +8 -3
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/customsearch_v1/service.rb +7 -7
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +112 -43
- data/generated/google/apis/dataproc_v1beta2/representations.rb +19 -0
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +140 -0
- data/generated/google/apis/datastore_v1/representations.rb +65 -0
- data/generated/google/apis/datastore_v1/service.rb +74 -0
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1/classes.rb +31 -0
- data/generated/google/apis/datastore_v1beta1/representations.rb +17 -0
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +31 -0
- data/generated/google/apis/datastore_v1beta3/representations.rb +17 -0
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/dfareporting_v2_8.rb +1 -1
- data/generated/google/apis/dfareporting_v3_0.rb +1 -1
- data/generated/google/apis/dfareporting_v3_1.rb +1 -1
- data/generated/google/apis/dfareporting_v3_2.rb +40 -0
- data/generated/google/apis/dfareporting_v3_2/classes.rb +12297 -0
- data/generated/google/apis/dfareporting_v3_2/representations.rb +4397 -0
- data/generated/google/apis/dfareporting_v3_2/service.rb +8790 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +304 -12
- data/generated/google/apis/dialogflow_v2/representations.rb +113 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +656 -26
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +248 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +556 -0
- data/generated/google/apis/discovery_v1.rb +1 -1
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +357 -6
- data/generated/google/apis/dlp_v2/representations.rb +161 -0
- data/generated/google/apis/dlp_v2/service.rb +366 -0
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +0 -7
- data/generated/google/apis/dns_v1/representations.rb +0 -1
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +0 -7
- data/generated/google/apis/dns_v1beta2/representations.rb +0 -1
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +0 -7
- data/generated/google/apis/dns_v2beta1/representations.rb +0 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/service.rb +3 -2
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/firestore_v1.rb +37 -0
- data/generated/google/apis/firestore_v1/classes.rb +324 -0
- data/generated/google/apis/firestore_v1/representations.rb +130 -0
- data/generated/google/apis/firestore_v1/service.rb +282 -0
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +290 -0
- data/generated/google/apis/firestore_v1beta1/representations.rb +128 -0
- data/generated/google/apis/firestore_v1beta1/service.rb +79 -0
- data/generated/google/apis/firestore_v1beta2.rb +37 -0
- data/generated/google/apis/firestore_v1beta2/classes.rb +531 -0
- data/generated/google/apis/firestore_v1beta2/representations.rb +189 -0
- data/generated/google/apis/firestore_v1beta2/service.rb +213 -0
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fusiontables_v1.rb +1 -1
- data/generated/google/apis/fusiontables_v2.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +113 -36
- data/generated/google/apis/genomics_v1/representations.rb +31 -0
- data/generated/google/apis/genomics_v1/service.rb +2 -0
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +57 -36
- data/generated/google/apis/genomics_v1alpha2/representations.rb +13 -0
- data/generated/google/apis/genomics_v1alpha2/service.rb +2 -0
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +252 -137
- data/generated/google/apis/genomics_v2alpha1/representations.rb +50 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +7 -5
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/groupsmigration_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +258 -3
- data/generated/google/apis/iam_v1/representations.rb +73 -0
- data/generated/google/apis/iam_v1/service.rb +50 -2
- data/generated/google/apis/iamcredentials_v1.rb +2 -2
- data/generated/google/apis/iamcredentials_v1/classes.rb +2 -2
- data/generated/google/apis/iamcredentials_v1/service.rb +1 -1
- data/generated/google/apis/iap_v1beta1.rb +34 -0
- data/generated/google/apis/iap_v1beta1/classes.rb +440 -0
- data/generated/google/apis/iap_v1beta1/representations.rb +158 -0
- data/generated/google/apis/iap_v1beta1/service.rb +398 -0
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/jobs_v2.rb +3 -3
- data/generated/google/apis/jobs_v2/classes.rb +61 -5
- data/generated/google/apis/jobs_v2/representations.rb +18 -0
- data/generated/google/apis/jobs_v2/service.rb +3 -3
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/logging_v2.rb +2 -2
- data/generated/google/apis/logging_v2/classes.rb +64 -58
- data/generated/google/apis/logging_v2/representations.rb +1 -0
- data/generated/google/apis/logging_v2/service.rb +39 -40
- data/generated/google/apis/logging_v2beta1.rb +2 -2
- data/generated/google/apis/logging_v2beta1/classes.rb +59 -53
- data/generated/google/apis/logging_v2beta1/representations.rb +1 -0
- data/generated/google/apis/logging_v2beta1/service.rb +15 -16
- data/generated/google/apis/mirror_v1.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +87 -0
- data/generated/google/apis/ml_v1/representations.rb +34 -0
- data/generated/google/apis/ml_v1/service.rb +53 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +68 -15
- data/generated/google/apis/monitoring_v3/representations.rb +26 -0
- data/generated/google/apis/mybusiness_v3/classes.rb +1 -1
- data/generated/google/apis/oauth2_v1.rb +1 -1
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/pagespeedonline_v1.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2.rb +1 -1
- data/generated/google/apis/pagespeedonline_v4.rb +1 -1
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/poly_v1.rb +4 -3
- data/generated/google/apis/poly_v1/classes.rb +28 -0
- data/generated/google/apis/poly_v1/representations.rb +15 -0
- data/generated/google/apis/poly_v1/service.rb +3 -2
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +63 -8
- data/generated/google/apis/pubsub_v1/representations.rb +18 -0
- data/generated/google/apis/pubsub_v1/service.rb +7 -8
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +56 -0
- data/generated/google/apis/pubsub_v1beta2/representations.rb +18 -0
- data/generated/google/apis/redis_v1beta1.rb +2 -2
- data/generated/google/apis/redis_v1beta1/classes.rb +38 -119
- data/generated/google/apis/redis_v1beta1/representations.rb +10 -43
- data/generated/google/apis/redis_v1beta1/service.rb +73 -1
- data/generated/google/apis/replicapool_v1beta1.rb +1 -1
- data/generated/google/apis/replicapoolupdater_v1beta1.rb +1 -1
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +57 -1
- data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +18 -0
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +1 -57
- data/generated/google/apis/script_v1/representations.rb +0 -32
- data/generated/google/apis/servicebroker_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1/classes.rb +56 -1
- data/generated/google/apis/servicebroker_v1/representations.rb +18 -0
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +56 -1
- data/generated/google/apis/servicebroker_v1alpha1/representations.rb +18 -0
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +56 -1
- data/generated/google/apis/servicebroker_v1beta1/representations.rb +18 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +13 -4
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +259 -0
- data/generated/google/apis/servicecontrol_v1/representations.rb +68 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +68 -4
- data/generated/google/apis/servicemanagement_v1/representations.rb +19 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +13 -4
- data/generated/google/apis/serviceusage_v1/representations.rb +1 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +13 -4
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -0
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +12 -3
- data/generated/google/apis/serviceuser_v1/representations.rb +1 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +22 -22
- data/generated/google/apis/site_verification_v1.rb +1 -1
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +56 -1
- data/generated/google/apis/sourcerepo_v1/representations.rb +18 -0
- data/generated/google/apis/sqladmin_v1beta3.rb +38 -0
- data/generated/google/apis/sqladmin_v1beta3/classes.rb +1632 -0
- data/generated/google/apis/sqladmin_v1beta3/representations.rb +733 -0
- data/generated/google/apis/sqladmin_v1beta3/service.rb +995 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +4 -4
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +30 -14
- data/generated/google/apis/sqladmin_v1beta4/service.rb +7 -7
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1beta1.rb +1 -1
- data/generated/google/apis/storage_v1beta2.rb +1 -1
- data/generated/google/apis/surveys_v2.rb +1 -1
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +2 -2
- data/generated/google/apis/texttospeech_v1.rb +34 -0
- data/generated/google/apis/texttospeech_v1/classes.rb +278 -0
- data/generated/google/apis/texttospeech_v1/representations.rb +133 -0
- data/generated/google/apis/texttospeech_v1/service.rb +127 -0
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/service.rb +1 -2
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +0 -12
- data/generated/google/apis/toolresults_v1beta3/representations.rb +0 -2
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +0 -13
- data/generated/google/apis/tpu_v1/representations.rb +0 -12
- data/generated/google/apis/tpu_v1/service.rb +0 -33
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +0 -13
- data/generated/google/apis/tpu_v1alpha1/representations.rb +0 -12
- data/generated/google/apis/tpu_v1alpha1/service.rb +0 -33
- data/generated/google/apis/urlshortener_v1.rb +1 -1
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +803 -0
- data/generated/google/apis/vault_v1/representations.rb +384 -0
- data/generated/google/apis/vault_v1/service.rb +211 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +3342 -227
- data/generated/google/apis/vision_v1/representations.rb +1696 -365
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1826 -94
- data/generated/google/apis/vision_v1p1beta1/representations.rb +754 -1
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +3712 -597
- data/generated/google/apis/vision_v1p2beta1/representations.rb +1606 -275
- data/generated/google/apis/webfonts_v1.rb +1 -1
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +58 -2
- data/generated/google/apis/websecurityscanner_v1alpha/representations.rb +32 -0
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1beta1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/lib/google/apis/core/http_command.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +34 -6
- data/generated/google/apis/spectrum_v1explorer/classes.rb +0 -1612
- data/generated/google/apis/spectrum_v1explorer/representations.rb +0 -611
- data/generated/google/apis/spectrum_v1explorer/service.rb +0 -271
@@ -18,15 +18,15 @@ require 'google/apis/sqladmin_v1beta4/representations.rb'
|
|
18
18
|
|
19
19
|
module Google
|
20
20
|
module Apis
|
21
|
-
# Cloud SQL
|
21
|
+
# Cloud SQL Admin API
|
22
22
|
#
|
23
|
-
#
|
24
|
-
#
|
23
|
+
# Cloud SQL provides the Cloud SQL Admin API, a REST API for administering your
|
24
|
+
# instances programmatically.
|
25
25
|
#
|
26
26
|
# @see https://cloud.google.com/sql/docs/reference/latest
|
27
27
|
module SqladminV1beta4
|
28
28
|
VERSION = 'V1beta4'
|
29
|
-
REVISION = ''
|
29
|
+
REVISION = '20180727'
|
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'
|
@@ -765,15 +765,20 @@ module Google
|
|
765
765
|
include Google::Apis::Core::Hashable
|
766
766
|
|
767
767
|
# Options for exporting data as CSV.
|
768
|
+
# Exporting in CSV format using the Cloud SQL Admin API is not supported for
|
769
|
+
# PostgreSQL instances.
|
768
770
|
# Corresponds to the JSON property `csvExportOptions`
|
769
771
|
# @return [Google::Apis::SqladminV1beta4::ExportContext::CsvExportOptions]
|
770
772
|
attr_accessor :csv_export_options
|
771
773
|
|
772
|
-
# Databases
|
773
|
-
# is SQL and no database is specified, all
|
774
|
-
#
|
775
|
-
#
|
776
|
-
#
|
774
|
+
# Databases to be exported.
|
775
|
+
# MySQL instances: If fileType is SQL and no database is specified, all
|
776
|
+
# databases are exported, except for the mysql system database. If fileType is
|
777
|
+
# CSV, you can specify one database, either by using this property or by using
|
778
|
+
# the csvExportOptions.selectQuery property, which takes precedence over this
|
779
|
+
# property.
|
780
|
+
# PostgreSQL instances: If fileType is SQL, you must specify one database to be
|
781
|
+
# exported. A fileType of CSV is not supported for PostgreSQL instances.
|
777
782
|
# Corresponds to the JSON property `databases`
|
778
783
|
# @return [Array<String>]
|
779
784
|
attr_accessor :databases
|
@@ -781,6 +786,7 @@ module Google
|
|
781
786
|
# The file type for the specified uri.
|
782
787
|
# SQL: The file contains SQL statements.
|
783
788
|
# CSV: The file contains CSV data.
|
789
|
+
# CSV is not supported for PostgreSQL instances.
|
784
790
|
# Corresponds to the JSON property `fileType`
|
785
791
|
# @return [String]
|
786
792
|
attr_accessor :file_type
|
@@ -818,6 +824,8 @@ module Google
|
|
818
824
|
end
|
819
825
|
|
820
826
|
# Options for exporting data as CSV.
|
827
|
+
# Exporting in CSV format using the Cloud SQL Admin API is not supported for
|
828
|
+
# PostgreSQL instances.
|
821
829
|
class CsvExportOptions
|
822
830
|
include Google::Apis::Core::Hashable
|
823
831
|
|
@@ -847,7 +855,8 @@ module Google
|
|
847
855
|
alias_method :schema_only?, :schema_only
|
848
856
|
|
849
857
|
# Tables to export, or that were exported, from the specified database. If you
|
850
|
-
# specify tables, specify one and only one database.
|
858
|
+
# specify tables, specify one and only one database. For PostgreSQL instances,
|
859
|
+
# you can specify only one table.
|
851
860
|
# Corresponds to the JSON property `tables`
|
852
861
|
# @return [Array<String>]
|
853
862
|
attr_accessor :tables
|
@@ -987,13 +996,16 @@ module Google
|
|
987
996
|
include Google::Apis::Core::Hashable
|
988
997
|
|
989
998
|
# Options for importing data as CSV.
|
999
|
+
# Importing CSV data using the Cloud SQL Admin API is not supported for
|
1000
|
+
# PostgreSQL instances.
|
990
1001
|
# Corresponds to the JSON property `csvImportOptions`
|
991
1002
|
# @return [Google::Apis::SqladminV1beta4::ImportContext::CsvImportOptions]
|
992
1003
|
attr_accessor :csv_import_options
|
993
1004
|
|
994
|
-
# The database
|
995
|
-
#
|
996
|
-
#
|
1005
|
+
# The target database for the import. If fileType is SQL, this field is required
|
1006
|
+
# only if the import file does not specify a database, and is overridden by any
|
1007
|
+
# database specification in the import file. If fileType is CSV, one database
|
1008
|
+
# must be specified.
|
997
1009
|
# Corresponds to the JSON property `database`
|
998
1010
|
# @return [String]
|
999
1011
|
attr_accessor :database
|
@@ -1001,12 +1013,14 @@ module Google
|
|
1001
1013
|
# The file type for the specified uri.
|
1002
1014
|
# SQL: The file contains SQL statements.
|
1003
1015
|
# CSV: The file contains CSV data.
|
1016
|
+
# Importing CSV data using the Cloud SQL Admin API is not supported for
|
1017
|
+
# PostgreSQL instances.
|
1004
1018
|
# Corresponds to the JSON property `fileType`
|
1005
1019
|
# @return [String]
|
1006
1020
|
attr_accessor :file_type
|
1007
1021
|
|
1008
1022
|
# The PostgreSQL user for this import operation. Defaults to cloudsqlsuperuser.
|
1009
|
-
#
|
1023
|
+
# PostgreSQL instances only.
|
1010
1024
|
# Corresponds to the JSON property `importUser`
|
1011
1025
|
# @return [String]
|
1012
1026
|
attr_accessor :import_user
|
@@ -1016,9 +1030,9 @@ module Google
|
|
1016
1030
|
# @return [String]
|
1017
1031
|
attr_accessor :kind
|
1018
1032
|
|
1019
|
-
#
|
1020
|
-
#
|
1021
|
-
#
|
1033
|
+
# Path to the import file in Cloud Storage, in the form gs://bucketName/fileName.
|
1034
|
+
# Compressed gzip files (.gz) are supported when fileType is SQL. The instance
|
1035
|
+
# must have write permissions to the bucket and read access to the file.
|
1022
1036
|
# Corresponds to the JSON property `uri`
|
1023
1037
|
# @return [String]
|
1024
1038
|
attr_accessor :uri
|
@@ -1038,6 +1052,8 @@ module Google
|
|
1038
1052
|
end
|
1039
1053
|
|
1040
1054
|
# Options for importing data as CSV.
|
1055
|
+
# Importing CSV data using the Cloud SQL Admin API is not supported for
|
1056
|
+
# PostgreSQL instances.
|
1041
1057
|
class CsvImportOptions
|
1042
1058
|
include Google::Apis::Core::Hashable
|
1043
1059
|
|
@@ -1374,7 +1390,7 @@ module Google
|
|
1374
1390
|
# @return [String]
|
1375
1391
|
attr_accessor :kind
|
1376
1392
|
|
1377
|
-
# The preferred Compute Engine zone (e.g. us-
|
1393
|
+
# The preferred Compute Engine zone (e.g. us-central1-a, us-central1-b, etc.).
|
1378
1394
|
# Corresponds to the JSON property `zone`
|
1379
1395
|
# @return [String]
|
1380
1396
|
attr_accessor :zone
|
@@ -20,10 +20,10 @@ require 'google/apis/errors'
|
|
20
20
|
module Google
|
21
21
|
module Apis
|
22
22
|
module SqladminV1beta4
|
23
|
-
# Cloud SQL
|
23
|
+
# Cloud SQL Admin API
|
24
24
|
#
|
25
|
-
#
|
26
|
-
#
|
25
|
+
# Cloud SQL provides the Cloud SQL Admin API, a REST API for administering your
|
26
|
+
# instances programmatically.
|
27
27
|
#
|
28
28
|
# @example
|
29
29
|
# require 'google/apis/sqladmin_v1beta4'
|
@@ -456,7 +456,7 @@ module Google
|
|
456
456
|
execute_or_queue_command(command, &block)
|
457
457
|
end
|
458
458
|
|
459
|
-
# List all available database flags for
|
459
|
+
# List all available database flags for Cloud SQL instances.
|
460
460
|
# @param [String] database_version
|
461
461
|
# Database version for flag retrieval. Flags are specific to the database
|
462
462
|
# version.
|
@@ -646,8 +646,8 @@ module Google
|
|
646
646
|
execute_or_queue_command(command, &block)
|
647
647
|
end
|
648
648
|
|
649
|
-
# Exports data from a Cloud SQL instance to a
|
650
|
-
#
|
649
|
+
# Exports data from a Cloud SQL instance to a Cloud Storage bucket as a SQL dump
|
650
|
+
# or CSV file.
|
651
651
|
# @param [String] project
|
652
652
|
# Project ID of the project that contains the instance to be exported.
|
653
653
|
# @param [String] instance
|
@@ -761,7 +761,7 @@ module Google
|
|
761
761
|
execute_or_queue_command(command, &block)
|
762
762
|
end
|
763
763
|
|
764
|
-
# Imports data into a Cloud SQL instance from a
|
764
|
+
# Imports data into a Cloud SQL instance from a SQL dump or CSV file in Cloud
|
765
765
|
# Storage.
|
766
766
|
# @param [String] project
|
767
767
|
# Project ID of the project that contains the instance.
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/storage/docs/json_api/
|
26
26
|
module StorageV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = ''
|
28
|
+
REVISION = '20180620'
|
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'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/storage/docs/json_api/
|
26
26
|
module StorageV1beta1
|
27
27
|
VERSION = 'V1beta1'
|
28
|
-
REVISION = ''
|
28
|
+
REVISION = '20180620'
|
29
29
|
|
30
30
|
# Manage your data and permissions in Google Cloud Storage
|
31
31
|
AUTH_DEVSTORAGE_FULL_CONTROL = 'https://www.googleapis.com/auth/devstorage.full_control'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/storage/docs/json_api/
|
26
26
|
module StorageV1beta2
|
27
27
|
VERSION = 'V1beta2'
|
28
|
-
REVISION = ''
|
28
|
+
REVISION = '20180620'
|
29
29
|
|
30
30
|
# Manage your data and permissions in Google Cloud Storage
|
31
31
|
AUTH_DEVSTORAGE_FULL_CONTROL = 'https://www.googleapis.com/auth/devstorage.full_control'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/tag-manager/api/v1/
|
26
26
|
module TagmanagerV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = ''
|
28
|
+
REVISION = '20171108'
|
29
29
|
|
30
30
|
# Delete your Google Tag Manager containers
|
31
31
|
AUTH_TAGMANAGER_DELETE_CONTAINERS = 'https://www.googleapis.com/auth/tagmanager.delete.containers'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/tag-manager/api/v2/
|
26
26
|
module TagmanagerV2
|
27
27
|
VERSION = 'V2'
|
28
|
-
REVISION = ''
|
28
|
+
REVISION = '20171108'
|
29
29
|
|
30
30
|
# Delete your Google Tag Manager containers
|
31
31
|
AUTH_TAGMANAGER_DELETE_CONTAINERS = 'https://www.googleapis.com/auth/tagmanager.delete.containers'
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/cloud-test-lab/
|
27
27
|
module TestingV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20180802'
|
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'
|
@@ -102,7 +102,7 @@ module Google
|
|
102
102
|
# @return [Array<Google::Apis::TestingV1::AndroidModel>]
|
103
103
|
attr_accessor :models
|
104
104
|
|
105
|
-
#
|
105
|
+
# Android configuration that can be selected at the time a test is run.
|
106
106
|
# Corresponds to the JSON property `runtimeConfiguration`
|
107
107
|
# @return [Google::Apis::TestingV1::AndroidRuntimeConfiguration]
|
108
108
|
attr_accessor :runtime_configuration
|
@@ -468,7 +468,7 @@ module Google
|
|
468
468
|
end
|
469
469
|
end
|
470
470
|
|
471
|
-
#
|
471
|
+
# Android configuration that can be selected at the time a test is run.
|
472
472
|
class AndroidRuntimeConfiguration
|
473
473
|
include Google::Apis::Core::Hashable
|
474
474
|
|
@@ -0,0 +1,34 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'google/apis/texttospeech_v1/service.rb'
|
16
|
+
require 'google/apis/texttospeech_v1/classes.rb'
|
17
|
+
require 'google/apis/texttospeech_v1/representations.rb'
|
18
|
+
|
19
|
+
module Google
|
20
|
+
module Apis
|
21
|
+
# Cloud Text-to-Speech API
|
22
|
+
#
|
23
|
+
# Synthesizes natural-sounding speech by applying powerful neural network models.
|
24
|
+
#
|
25
|
+
# @see https://cloud.google.com/text-to-speech/
|
26
|
+
module TexttospeechV1
|
27
|
+
VERSION = 'V1'
|
28
|
+
REVISION = '20180803'
|
29
|
+
|
30
|
+
# View and manage your data across Google Cloud Platform services
|
31
|
+
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
@@ -0,0 +1,278 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'date'
|
16
|
+
require 'google/apis/core/base_service'
|
17
|
+
require 'google/apis/core/json_representation'
|
18
|
+
require 'google/apis/core/hashable'
|
19
|
+
require 'google/apis/errors'
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Apis
|
23
|
+
module TexttospeechV1
|
24
|
+
|
25
|
+
# Description of audio data to be synthesized.
|
26
|
+
class AudioConfig
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
# Required. The format of the requested audio byte stream.
|
30
|
+
# Corresponds to the JSON property `audioEncoding`
|
31
|
+
# @return [String]
|
32
|
+
attr_accessor :audio_encoding
|
33
|
+
|
34
|
+
# Optional speaking pitch, in the range [-20.0, 20.0]. 20 means increase 20
|
35
|
+
# semitones from the original pitch. -20 means decrease 20 semitones from the
|
36
|
+
# original pitch.
|
37
|
+
# Corresponds to the JSON property `pitch`
|
38
|
+
# @return [Float]
|
39
|
+
attr_accessor :pitch
|
40
|
+
|
41
|
+
# The synthesis sample rate (in hertz) for this audio. Optional. If this is
|
42
|
+
# different from the voice's natural sample rate, then the synthesizer will
|
43
|
+
# honor this request by converting to the desired sample rate (which might
|
44
|
+
# result in worse audio quality), unless the specified sample rate is not
|
45
|
+
# supported for the encoding chosen, in which case it will fail the request
|
46
|
+
# and return google.rpc.Code.INVALID_ARGUMENT.
|
47
|
+
# Corresponds to the JSON property `sampleRateHertz`
|
48
|
+
# @return [Fixnum]
|
49
|
+
attr_accessor :sample_rate_hertz
|
50
|
+
|
51
|
+
# Optional speaking rate/speed, in the range [0.25, 4.0]. 1.0 is the normal
|
52
|
+
# native speed supported by the specific voice. 2.0 is twice as fast, and
|
53
|
+
# 0.5 is half as fast. If unset(0.0), defaults to the native 1.0 speed. Any
|
54
|
+
# other values < 0.25 or > 4.0 will return an error.
|
55
|
+
# Corresponds to the JSON property `speakingRate`
|
56
|
+
# @return [Float]
|
57
|
+
attr_accessor :speaking_rate
|
58
|
+
|
59
|
+
# Optional volume gain (in dB) of the normal native volume supported by the
|
60
|
+
# specific voice, in the range [-96.0, 16.0]. If unset, or set to a value of
|
61
|
+
# 0.0 (dB), will play at normal native signal amplitude. A value of -6.0 (dB)
|
62
|
+
# will play at approximately half the amplitude of the normal native signal
|
63
|
+
# amplitude. A value of +6.0 (dB) will play at approximately twice the
|
64
|
+
# amplitude of the normal native signal amplitude. Strongly recommend not to
|
65
|
+
# exceed +10 (dB) as there's usually no effective increase in loudness for
|
66
|
+
# any value greater than that.
|
67
|
+
# Corresponds to the JSON property `volumeGainDb`
|
68
|
+
# @return [Float]
|
69
|
+
attr_accessor :volume_gain_db
|
70
|
+
|
71
|
+
def initialize(**args)
|
72
|
+
update!(**args)
|
73
|
+
end
|
74
|
+
|
75
|
+
# Update properties of this object
|
76
|
+
def update!(**args)
|
77
|
+
@audio_encoding = args[:audio_encoding] if args.key?(:audio_encoding)
|
78
|
+
@pitch = args[:pitch] if args.key?(:pitch)
|
79
|
+
@sample_rate_hertz = args[:sample_rate_hertz] if args.key?(:sample_rate_hertz)
|
80
|
+
@speaking_rate = args[:speaking_rate] if args.key?(:speaking_rate)
|
81
|
+
@volume_gain_db = args[:volume_gain_db] if args.key?(:volume_gain_db)
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
85
|
+
# The message returned to the client by the `ListVoices` method.
|
86
|
+
class ListVoicesResponse
|
87
|
+
include Google::Apis::Core::Hashable
|
88
|
+
|
89
|
+
# The list of voices.
|
90
|
+
# Corresponds to the JSON property `voices`
|
91
|
+
# @return [Array<Google::Apis::TexttospeechV1::Voice>]
|
92
|
+
attr_accessor :voices
|
93
|
+
|
94
|
+
def initialize(**args)
|
95
|
+
update!(**args)
|
96
|
+
end
|
97
|
+
|
98
|
+
# Update properties of this object
|
99
|
+
def update!(**args)
|
100
|
+
@voices = args[:voices] if args.key?(:voices)
|
101
|
+
end
|
102
|
+
end
|
103
|
+
|
104
|
+
# Contains text input to be synthesized. Either `text` or `ssml` must be
|
105
|
+
# supplied. Supplying both or neither returns
|
106
|
+
# google.rpc.Code.INVALID_ARGUMENT. The input size is limited to 5000
|
107
|
+
# characters.
|
108
|
+
class SynthesisInput
|
109
|
+
include Google::Apis::Core::Hashable
|
110
|
+
|
111
|
+
# The SSML document to be synthesized. The SSML document must be valid
|
112
|
+
# and well-formed. Otherwise the RPC will fail and return
|
113
|
+
# google.rpc.Code.INVALID_ARGUMENT. For more information, see
|
114
|
+
# [SSML](/speech/text-to-speech/docs/ssml).
|
115
|
+
# Corresponds to the JSON property `ssml`
|
116
|
+
# @return [String]
|
117
|
+
attr_accessor :ssml
|
118
|
+
|
119
|
+
# The raw text to be synthesized.
|
120
|
+
# Corresponds to the JSON property `text`
|
121
|
+
# @return [String]
|
122
|
+
attr_accessor :text
|
123
|
+
|
124
|
+
def initialize(**args)
|
125
|
+
update!(**args)
|
126
|
+
end
|
127
|
+
|
128
|
+
# Update properties of this object
|
129
|
+
def update!(**args)
|
130
|
+
@ssml = args[:ssml] if args.key?(:ssml)
|
131
|
+
@text = args[:text] if args.key?(:text)
|
132
|
+
end
|
133
|
+
end
|
134
|
+
|
135
|
+
# The top-level message sent by the client for the `SynthesizeSpeech` method.
|
136
|
+
class SynthesizeSpeechRequest
|
137
|
+
include Google::Apis::Core::Hashable
|
138
|
+
|
139
|
+
# Description of audio data to be synthesized.
|
140
|
+
# Corresponds to the JSON property `audioConfig`
|
141
|
+
# @return [Google::Apis::TexttospeechV1::AudioConfig]
|
142
|
+
attr_accessor :audio_config
|
143
|
+
|
144
|
+
# Contains text input to be synthesized. Either `text` or `ssml` must be
|
145
|
+
# supplied. Supplying both or neither returns
|
146
|
+
# google.rpc.Code.INVALID_ARGUMENT. The input size is limited to 5000
|
147
|
+
# characters.
|
148
|
+
# Corresponds to the JSON property `input`
|
149
|
+
# @return [Google::Apis::TexttospeechV1::SynthesisInput]
|
150
|
+
attr_accessor :input
|
151
|
+
|
152
|
+
# Description of which voice to use for a synthesis request.
|
153
|
+
# Corresponds to the JSON property `voice`
|
154
|
+
# @return [Google::Apis::TexttospeechV1::VoiceSelectionParams]
|
155
|
+
attr_accessor :voice
|
156
|
+
|
157
|
+
def initialize(**args)
|
158
|
+
update!(**args)
|
159
|
+
end
|
160
|
+
|
161
|
+
# Update properties of this object
|
162
|
+
def update!(**args)
|
163
|
+
@audio_config = args[:audio_config] if args.key?(:audio_config)
|
164
|
+
@input = args[:input] if args.key?(:input)
|
165
|
+
@voice = args[:voice] if args.key?(:voice)
|
166
|
+
end
|
167
|
+
end
|
168
|
+
|
169
|
+
# The message returned to the client by the `SynthesizeSpeech` method.
|
170
|
+
class SynthesizeSpeechResponse
|
171
|
+
include Google::Apis::Core::Hashable
|
172
|
+
|
173
|
+
# The audio data bytes encoded as specified in the request, including the
|
174
|
+
# header (For LINEAR16 audio, we include the WAV header). Note: as
|
175
|
+
# with all bytes fields, protobuffers use a pure binary representation,
|
176
|
+
# whereas JSON representations use base64.
|
177
|
+
# Corresponds to the JSON property `audioContent`
|
178
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
179
|
+
# @return [String]
|
180
|
+
attr_accessor :audio_content
|
181
|
+
|
182
|
+
def initialize(**args)
|
183
|
+
update!(**args)
|
184
|
+
end
|
185
|
+
|
186
|
+
# Update properties of this object
|
187
|
+
def update!(**args)
|
188
|
+
@audio_content = args[:audio_content] if args.key?(:audio_content)
|
189
|
+
end
|
190
|
+
end
|
191
|
+
|
192
|
+
# Description of a voice supported by the TTS service.
|
193
|
+
class Voice
|
194
|
+
include Google::Apis::Core::Hashable
|
195
|
+
|
196
|
+
# The languages that this voice supports, expressed as
|
197
|
+
# [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tags (e.g.
|
198
|
+
# "en-US", "es-419", "cmn-tw").
|
199
|
+
# Corresponds to the JSON property `languageCodes`
|
200
|
+
# @return [Array<String>]
|
201
|
+
attr_accessor :language_codes
|
202
|
+
|
203
|
+
# The name of this voice. Each distinct voice has a unique name.
|
204
|
+
# Corresponds to the JSON property `name`
|
205
|
+
# @return [String]
|
206
|
+
attr_accessor :name
|
207
|
+
|
208
|
+
# The natural sample rate (in hertz) for this voice.
|
209
|
+
# Corresponds to the JSON property `naturalSampleRateHertz`
|
210
|
+
# @return [Fixnum]
|
211
|
+
attr_accessor :natural_sample_rate_hertz
|
212
|
+
|
213
|
+
# The gender of this voice.
|
214
|
+
# Corresponds to the JSON property `ssmlGender`
|
215
|
+
# @return [String]
|
216
|
+
attr_accessor :ssml_gender
|
217
|
+
|
218
|
+
def initialize(**args)
|
219
|
+
update!(**args)
|
220
|
+
end
|
221
|
+
|
222
|
+
# Update properties of this object
|
223
|
+
def update!(**args)
|
224
|
+
@language_codes = args[:language_codes] if args.key?(:language_codes)
|
225
|
+
@name = args[:name] if args.key?(:name)
|
226
|
+
@natural_sample_rate_hertz = args[:natural_sample_rate_hertz] if args.key?(:natural_sample_rate_hertz)
|
227
|
+
@ssml_gender = args[:ssml_gender] if args.key?(:ssml_gender)
|
228
|
+
end
|
229
|
+
end
|
230
|
+
|
231
|
+
# Description of which voice to use for a synthesis request.
|
232
|
+
class VoiceSelectionParams
|
233
|
+
include Google::Apis::Core::Hashable
|
234
|
+
|
235
|
+
# The language (and optionally also the region) of the voice expressed as a
|
236
|
+
# [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag, e.g.
|
237
|
+
# "en-US". Required. This should not include a script tag (e.g. use
|
238
|
+
# "cmn-cn" rather than "cmn-Hant-cn"), because the script will be inferred
|
239
|
+
# from the input provided in the SynthesisInput. The TTS service
|
240
|
+
# will use this parameter to help choose an appropriate voice. Note that
|
241
|
+
# the TTS service may choose a voice with a slightly different language code
|
242
|
+
# than the one selected; it may substitute a different region
|
243
|
+
# (e.g. using en-US rather than en-CA if there isn't a Canadian voice
|
244
|
+
# available), or even a different language, e.g. using "nb" (Norwegian
|
245
|
+
# Bokmal) instead of "no" (Norwegian)".
|
246
|
+
# Corresponds to the JSON property `languageCode`
|
247
|
+
# @return [String]
|
248
|
+
attr_accessor :language_code
|
249
|
+
|
250
|
+
# The name of the voice. Optional; if not set, the service will choose a
|
251
|
+
# voice based on the other parameters such as language_code and gender.
|
252
|
+
# Corresponds to the JSON property `name`
|
253
|
+
# @return [String]
|
254
|
+
attr_accessor :name
|
255
|
+
|
256
|
+
# The preferred gender of the voice. Optional; if not set, the service will
|
257
|
+
# choose a voice based on the other parameters such as language_code and
|
258
|
+
# name. Note that this is only a preference, not requirement; if a
|
259
|
+
# voice of the appropriate gender is not available, the synthesizer should
|
260
|
+
# substitute a voice with a different gender rather than failing the request.
|
261
|
+
# Corresponds to the JSON property `ssmlGender`
|
262
|
+
# @return [String]
|
263
|
+
attr_accessor :ssml_gender
|
264
|
+
|
265
|
+
def initialize(**args)
|
266
|
+
update!(**args)
|
267
|
+
end
|
268
|
+
|
269
|
+
# Update properties of this object
|
270
|
+
def update!(**args)
|
271
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
272
|
+
@name = args[:name] if args.key?(:name)
|
273
|
+
@ssml_gender = args[:ssml_gender] if args.key?(:ssml_gender)
|
274
|
+
end
|
275
|
+
end
|
276
|
+
end
|
277
|
+
end
|
278
|
+
end
|