google-api-client 0.42.1 → 0.43.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +205 -0
- data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
- data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +8 -13
- data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -3
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +9 -0
- data/generated/google/apis/accessapproval_v1/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +523 -653
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +467 -631
- data/generated/google/apis/adexperiencereport_v1.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1/classes.rb +11 -18
- data/generated/google/apis/adexperiencereport_v1/service.rb +2 -3
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1/classes.rb +139 -268
- data/generated/google/apis/admob_v1/service.rb +11 -13
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +107 -138
- data/generated/google/apis/alertcenter_v1beta1/service.rb +50 -55
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +315 -399
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +193 -220
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +55 -61
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +452 -557
- data/generated/google/apis/androidenterprise_v1/service.rb +181 -240
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +281 -342
- data/generated/google/apis/androidpublisher_v3/service.rb +125 -153
- data/generated/google/apis/apigee_v1.rb +6 -7
- data/generated/google/apis/apigee_v1/classes.rb +739 -1192
- data/generated/google/apis/apigee_v1/representations.rb +1 -2
- data/generated/google/apis/apigee_v1/service.rb +885 -1126
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/service.rb +6 -3
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/service.rb +6 -2
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +198 -3
- data/generated/google/apis/bigquery_v2/representations.rb +70 -0
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +267 -0
- data/generated/google/apis/bigtableadmin_v1/representations.rb +100 -0
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +355 -0
- data/generated/google/apis/bigtableadmin_v2/representations.rb +146 -0
- data/generated/google/apis/bigtableadmin_v2/service.rb +298 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +97 -118
- data/generated/google/apis/billingbudgets_v1beta1/service.rb +30 -33
- data/generated/google/apis/blogger_v2.rb +2 -3
- data/generated/google/apis/blogger_v2/classes.rb +1 -2
- data/generated/google/apis/blogger_v2/service.rb +1 -2
- data/generated/google/apis/blogger_v3.rb +2 -3
- data/generated/google/apis/blogger_v3/classes.rb +1 -2
- data/generated/google/apis/blogger_v3/service.rb +1 -2
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +140 -159
- data/generated/google/apis/books_v1/service.rb +47 -49
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +19 -0
- data/generated/google/apis/chat_v1/representations.rb +13 -0
- data/generated/google/apis/chat_v1/service.rb +39 -0
- data/generated/google/apis/chromeuxreport_v1.rb +1 -1
- data/generated/google/apis/chromeuxreport_v1/classes.rb +68 -57
- data/generated/google/apis/chromeuxreport_v1/representations.rb +2 -0
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +250 -365
- data/generated/google/apis/classroom_v1/service.rb +643 -902
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +15 -11
- data/generated/google/apis/cloudasset_v1/service.rb +62 -45
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +3 -1
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p5beta1.rb +34 -0
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +1539 -0
- data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +399 -0
- data/generated/google/apis/cloudasset_v1p5beta1/service.rb +129 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +7 -0
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +0 -45
- data/generated/google/apis/cloudfunctions_v1/representations.rb +0 -17
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +503 -754
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +198 -249
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +258 -429
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +136 -178
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +258 -414
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +96 -129
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +258 -414
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +96 -129
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +11 -0
- data/generated/google/apis/cloudscheduler_v1/representations.rb +1 -0
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +11 -0
- data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +1 -2
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +2 -2
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -5
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +350 -20
- data/generated/google/apis/compute_alpha/representations.rb +100 -0
- data/generated/google/apis/compute_alpha/service.rb +15 -7
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +39 -14
- data/generated/google/apis/compute_beta/representations.rb +2 -0
- data/generated/google/apis/compute_beta/service.rb +15 -7
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +65 -42
- data/generated/google/apis/compute_v1/representations.rb +18 -15
- data/generated/google/apis/compute_v1/service.rb +63 -19
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +26 -0
- data/generated/google/apis/container_v1/representations.rb +15 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +15 -0
- data/generated/google/apis/content_v2/representations.rb +1 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +15 -0
- data/generated/google/apis/content_v2_1/representations.rb +1 -0
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/customsearch_v1/classes.rb +303 -488
- data/generated/google/apis/customsearch_v1/service.rb +186 -343
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +6 -3
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +2 -1
- data/generated/google/apis/datafusion_v1.rb +43 -0
- data/generated/google/apis/datafusion_v1/classes.rb +1154 -0
- data/generated/google/apis/{cloudfunctions_v1beta2 → datafusion_v1}/representations.rb +138 -94
- data/generated/google/apis/datafusion_v1/service.rb +680 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +192 -316
- data/generated/google/apis/dataproc_v1/service.rb +134 -168
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +198 -317
- data/generated/google/apis/dataproc_v1beta2/service.rb +137 -192
- 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_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +421 -0
- data/generated/google/apis/dfareporting_v3_4/representations.rb +182 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +1301 -1539
- data/generated/google/apis/dialogflow_v2/representations.rb +15 -0
- data/generated/google/apis/dialogflow_v2/service.rb +324 -444
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +1379 -1619
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +15 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +742 -990
- data/generated/google/apis/displayvideo_v1.rb +7 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +1775 -1731
- data/generated/google/apis/displayvideo_v1/representations.rb +300 -0
- data/generated/google/apis/displayvideo_v1/service.rb +1277 -926
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +5 -4
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +7 -7
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +7 -7
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +7 -7
- data/generated/google/apis/domainsrdap_v1.rb +1 -1
- data/generated/google/apis/domainsrdap_v1/classes.rb +42 -69
- data/generated/google/apis/domainsrdap_v1/service.rb +16 -16
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +4 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +196 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +107 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +4 -2
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +109 -126
- data/generated/google/apis/doubleclicksearch_v2/service.rb +3 -4
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +3 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +9 -1
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/driveactivity_v2/classes.rb +55 -68
- data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1/classes.rb +46 -56
- data/generated/google/apis/factchecktools_v1alpha1/service.rb +30 -33
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +245 -393
- data/generated/google/apis/fcm_v1/service.rb +5 -6
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +313 -351
- data/generated/google/apis/firebase_v1beta1/representations.rb +1 -0
- data/generated/google/apis/firebase_v1beta1/service.rb +356 -420
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +89 -112
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +18 -21
- data/generated/google/apis/firebasehosting_v1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1/classes.rb +36 -40
- data/generated/google/apis/firebasehosting_v1/service.rb +19 -22
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +148 -177
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +112 -145
- data/generated/google/apis/firebaseml_v1.rb +1 -1
- data/generated/google/apis/firebaseml_v1/classes.rb +39 -44
- data/generated/google/apis/firebaseml_v1/service.rb +19 -22
- data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +67 -68
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -0
- data/generated/google/apis/firebaseml_v1beta2/service.rb +16 -18
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/service.rb +2 -2
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/service.rb +2 -2
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +1 -1
- data/generated/google/apis/games_v1/service.rb +2 -2
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1/classes.rb +344 -523
- data/generated/google/apis/gameservices_v1/service.rb +167 -207
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +344 -523
- data/generated/google/apis/gameservices_v1beta/service.rb +167 -207
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +3 -75
- data/generated/google/apis/genomics_v2alpha1/representations.rb +0 -27
- data/generated/google/apis/genomics_v2alpha1/service.rb +0 -34
- data/generated/google/apis/gmail_v1.rb +3 -3
- data/generated/google/apis/gmail_v1/classes.rb +216 -269
- data/generated/google/apis/gmail_v1/service.rb +257 -285
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +4 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +37 -42
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +34 -40
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/service.rb +26 -14
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +85 -17
- data/generated/google/apis/healthcare_v1beta1/representations.rb +39 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +87 -16
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +93 -111
- data/generated/google/apis/language_v1/service.rb +4 -4
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +78 -90
- data/generated/google/apis/language_v1beta1/service.rb +2 -2
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +95 -112
- data/generated/google/apis/language_v1beta2/service.rb +4 -4
- data/generated/google/apis/libraryagent_v1.rb +1 -1
- data/generated/google/apis/libraryagent_v1/classes.rb +10 -16
- data/generated/google/apis/libraryagent_v1/service.rb +13 -16
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +6 -6
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +326 -452
- data/generated/google/apis/managedidentities_v1/service.rb +78 -99
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +336 -457
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +88 -112
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +332 -456
- data/generated/google/apis/managedidentities_v1beta1/service.rb +76 -96
- data/generated/google/apis/{cloudfunctions_v1beta2.rb → memcache_v1.rb} +10 -9
- data/generated/google/apis/memcache_v1/classes.rb +1157 -0
- data/generated/google/apis/memcache_v1/representations.rb +471 -0
- data/generated/google/apis/{cloudfunctions_v1beta2 → memcache_v1}/service.rb +268 -196
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +41 -502
- data/generated/google/apis/memcache_v1beta2/representations.rb +9 -110
- data/generated/google/apis/memcache_v1beta2/service.rb +0 -119
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +14 -12
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +36 -18
- data/generated/google/apis/monitoring_v3/representations.rb +2 -0
- data/generated/google/apis/monitoring_v3/service.rb +5 -4
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +796 -0
- data/generated/google/apis/osconfig_v1/representations.rb +372 -0
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +75 -0
- data/generated/google/apis/osconfig_v1beta/representations.rb +35 -0
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +382 -401
- data/generated/google/apis/people_v1/representations.rb +57 -0
- data/generated/google/apis/people_v1/service.rb +169 -385
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/playcustomapp_v1/classes.rb +2 -2
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +232 -394
- data/generated/google/apis/policytroubleshooter_v1/service.rb +2 -2
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +232 -393
- data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -2
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +122 -219
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +0 -32
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +38 -526
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +21 -0
- data/generated/google/apis/pubsub_v1/representations.rb +2 -0
- data/generated/google/apis/realtimebidding_v1.rb +1 -4
- data/generated/google/apis/realtimebidding_v1/classes.rb +198 -291
- data/generated/google/apis/realtimebidding_v1/service.rb +98 -135
- data/generated/google/apis/recommendationengine_v1beta1.rb +2 -2
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +10 -8
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +1 -1
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +76 -100
- data/generated/google/apis/recommender_v1/service.rb +43 -58
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +75 -99
- data/generated/google/apis/recommender_v1beta1/service.rb +43 -58
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +397 -0
- data/generated/google/apis/redis_v1/representations.rb +139 -0
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +397 -0
- data/generated/google/apis/redis_v1beta1/representations.rb +139 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +835 -1248
- data/generated/google/apis/run_v1/service.rb +233 -247
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +934 -1331
- data/generated/google/apis/run_v1alpha1/service.rb +321 -377
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/run_v1beta1/classes.rb +209 -276
- data/generated/google/apis/run_v1beta1/service.rb +16 -18
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +36 -40
- data/generated/google/apis/runtimeconfig_v1/service.rb +19 -22
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +122 -219
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +0 -32
- data/generated/google/apis/sasportal_v1alpha1/service.rb +38 -526
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +2 -2
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +574 -826
- data/generated/google/apis/securitycenter_v1/service.rb +250 -332
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +521 -746
- data/generated/google/apis/securitycenter_v1beta1/service.rb +160 -202
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +176 -208
- data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +21 -25
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +545 -791
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +247 -330
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1150 -1784
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +114 -141
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1137 -1774
- data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +52 -66
- data/generated/google/apis/servicecontrol_v2.rb +38 -0
- data/generated/google/apis/servicecontrol_v2/classes.rb +1121 -0
- data/generated/google/apis/servicecontrol_v2/representations.rb +405 -0
- data/generated/google/apis/servicecontrol_v2/service.rb +165 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +49 -1
- data/generated/google/apis/servicemanagement_v1/representations.rb +14 -0
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +1119 -1758
- data/generated/google/apis/servicenetworking_v1/service.rb +94 -114
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +1065 -1684
- data/generated/google/apis/servicenetworking_v1beta/service.rb +52 -63
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +1140 -1823
- data/generated/google/apis/serviceusage_v1/service.rb +63 -80
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +1235 -1986
- data/generated/google/apis/serviceusage_v1beta1/service.rb +130 -162
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +3 -2
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +207 -200
- data/generated/google/apis/sql_v1beta4/representations.rb +2 -1
- data/generated/google/apis/sql_v1beta4/service.rb +2 -2
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +8 -10
- data/generated/google/apis/storagetransfer_v1/service.rb +26 -2
- data/generated/google/apis/tagmanager_v1.rb +2 -3
- data/generated/google/apis/tagmanager_v1/classes.rb +225 -288
- data/generated/google/apis/tagmanager_v1/service.rb +20 -21
- data/generated/google/apis/tagmanager_v2.rb +2 -3
- data/generated/google/apis/tagmanager_v2/classes.rb +240 -280
- data/generated/google/apis/tagmanager_v2/representations.rb +1 -0
- data/generated/google/apis/tagmanager_v2/service.rb +187 -283
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +63 -0
- data/generated/google/apis/testing_v1/representations.rb +32 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +671 -928
- data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +522 -640
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +68 -78
- data/generated/google/apis/tpu_v1/service.rb +21 -25
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +68 -78
- data/generated/google/apis/tpu_v1alpha1/service.rb +21 -25
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/service.rb +14 -1
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/service.rb +14 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1304 -1870
- data/generated/google/apis/vision_v1/service.rb +254 -340
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1246 -1790
- data/generated/google/apis/vision_v1p1beta1/service.rb +91 -121
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +1246 -1790
- data/generated/google/apis/vision_v1p2beta1/service.rb +91 -121
- data/generated/google/apis/webfonts_v1.rb +1 -1
- data/generated/google/apis/webfonts_v1/service.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1/classes.rb +71 -95
- data/generated/google/apis/websecurityscanner_v1/service.rb +46 -65
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +55 -63
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +46 -65
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -92
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +46 -65
- data/generated/google/apis/youtube_analytics_v2.rb +1 -1
- data/generated/google/apis/youtube_analytics_v2/classes.rb +77 -104
- data/generated/google/apis/youtube_analytics_v2/service.rb +106 -126
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +637 -761
- data/generated/google/apis/youtube_partner_v1/service.rb +521 -661
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +943 -1175
- data/generated/google/apis/youtube_v3/representations.rb +1 -0
- data/generated/google/apis/youtube_v3/service.rb +1007 -1316
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +20 -29
- data/generated/google/apis/youtubereporting_v1/service.rb +40 -43
- data/lib/google/apis/core/base_service.rb +7 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +19 -11
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +0 -848
- data/generated/google/apis/fitness_v1.rb +0 -85
- data/generated/google/apis/fitness_v1/classes.rb +0 -1020
- data/generated/google/apis/fitness_v1/representations.rb +0 -398
- data/generated/google/apis/fitness_v1/service.rb +0 -647
@@ -50,8 +50,8 @@ module Google
|
|
50
50
|
end
|
51
51
|
|
52
52
|
# Finds named entities (currently proper names and common nouns) in the text
|
53
|
-
# along with entity types, salience, mentions for each entity, and
|
54
|
-
#
|
53
|
+
# along with entity types, salience, mentions for each entity, and other
|
54
|
+
# properties.
|
55
55
|
# @param [Google::Apis::LanguageV1::AnalyzeEntitiesRequest] analyze_entities_request_object
|
56
56
|
# @param [String] fields
|
57
57
|
# Selector specifying which fields to include in a partial response.
|
@@ -81,8 +81,8 @@ module Google
|
|
81
81
|
execute_or_queue_command(command, &block)
|
82
82
|
end
|
83
83
|
|
84
|
-
# Finds entities, similar to AnalyzeEntities in the text and analyzes
|
85
|
-
#
|
84
|
+
# Finds entities, similar to AnalyzeEntities in the text and analyzes sentiment
|
85
|
+
# associated with each entity and its mentions.
|
86
86
|
# @param [Google::Apis::LanguageV1::AnalyzeEntitySentimentRequest] analyze_entity_sentiment_request_object
|
87
87
|
# @param [String] fields
|
88
88
|
# Selector specifying which fields to include in a partial response.
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://cloud.google.com/natural-language/
|
28
28
|
module LanguageV1beta1
|
29
29
|
VERSION = 'V1beta1'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20200801'
|
31
31
|
|
32
32
|
# Apply machine learning models to reveal the structure and meaning of text
|
33
33
|
AUTH_CLOUD_LANGUAGE = 'https://www.googleapis.com/auth/cloud-language'
|
@@ -26,8 +26,8 @@ module Google
|
|
26
26
|
class AnalyzeEntitiesRequest
|
27
27
|
include Google::Apis::Core::Hashable
|
28
28
|
|
29
|
-
# ################################################################ #
|
30
|
-
#
|
29
|
+
# ################################################################ # Represents
|
30
|
+
# the input to API methods.
|
31
31
|
# Corresponds to the JSON property `document`
|
32
32
|
# @return [Google::Apis::LanguageV1beta1::Document]
|
33
33
|
attr_accessor :document
|
@@ -57,9 +57,9 @@ module Google
|
|
57
57
|
# @return [Array<Google::Apis::LanguageV1beta1::Entity>]
|
58
58
|
attr_accessor :entities
|
59
59
|
|
60
|
-
# The language of the text, which will be the same as the language specified
|
61
|
-
#
|
62
|
-
#
|
60
|
+
# The language of the text, which will be the same as the language specified in
|
61
|
+
# the request or, if not specified, the automatically-detected language. See
|
62
|
+
# Document.language field for more details.
|
63
63
|
# Corresponds to the JSON property `language`
|
64
64
|
# @return [String]
|
65
65
|
attr_accessor :language
|
@@ -79,8 +79,8 @@ module Google
|
|
79
79
|
class AnalyzeSentimentRequest
|
80
80
|
include Google::Apis::Core::Hashable
|
81
81
|
|
82
|
-
# ################################################################ #
|
83
|
-
#
|
82
|
+
# ################################################################ # Represents
|
83
|
+
# the input to API methods.
|
84
84
|
# Corresponds to the JSON property `document`
|
85
85
|
# @return [Google::Apis::LanguageV1beta1::Document]
|
86
86
|
attr_accessor :document
|
@@ -106,15 +106,14 @@ module Google
|
|
106
106
|
class AnalyzeSentimentResponse
|
107
107
|
include Google::Apis::Core::Hashable
|
108
108
|
|
109
|
-
# Represents the feeling associated with the entire text or entities in
|
110
|
-
# the text.
|
109
|
+
# Represents the feeling associated with the entire text or entities in the text.
|
111
110
|
# Corresponds to the JSON property `documentSentiment`
|
112
111
|
# @return [Google::Apis::LanguageV1beta1::Sentiment]
|
113
112
|
attr_accessor :document_sentiment
|
114
113
|
|
115
|
-
# The language of the text, which will be the same as the language specified
|
116
|
-
#
|
117
|
-
#
|
114
|
+
# The language of the text, which will be the same as the language specified in
|
115
|
+
# the request or, if not specified, the automatically-detected language. See
|
116
|
+
# Document.language field for more details.
|
118
117
|
# Corresponds to the JSON property `language`
|
119
118
|
# @return [String]
|
120
119
|
attr_accessor :language
|
@@ -140,8 +139,8 @@ module Google
|
|
140
139
|
class AnalyzeSyntaxRequest
|
141
140
|
include Google::Apis::Core::Hashable
|
142
141
|
|
143
|
-
# ################################################################ #
|
144
|
-
#
|
142
|
+
# ################################################################ # Represents
|
143
|
+
# the input to API methods.
|
145
144
|
# Corresponds to the JSON property `document`
|
146
145
|
# @return [Google::Apis::LanguageV1beta1::Document]
|
147
146
|
attr_accessor :document
|
@@ -166,9 +165,9 @@ module Google
|
|
166
165
|
class AnalyzeSyntaxResponse
|
167
166
|
include Google::Apis::Core::Hashable
|
168
167
|
|
169
|
-
# The language of the text, which will be the same as the language specified
|
170
|
-
#
|
171
|
-
#
|
168
|
+
# The language of the text, which will be the same as the language specified in
|
169
|
+
# the request or, if not specified, the automatically-detected language. See
|
170
|
+
# Document.language field for more details.
|
172
171
|
# Corresponds to the JSON property `language`
|
173
172
|
# @return [String]
|
174
173
|
attr_accessor :language
|
@@ -200,8 +199,8 @@ module Google
|
|
200
199
|
class AnnotateTextRequest
|
201
200
|
include Google::Apis::Core::Hashable
|
202
201
|
|
203
|
-
# ################################################################ #
|
204
|
-
#
|
202
|
+
# ################################################################ # Represents
|
203
|
+
# the input to API methods.
|
205
204
|
# Corresponds to the JSON property `document`
|
206
205
|
# @return [Google::Apis::LanguageV1beta1::Document]
|
207
206
|
attr_accessor :document
|
@@ -211,8 +210,8 @@ module Google
|
|
211
210
|
# @return [String]
|
212
211
|
attr_accessor :encoding_type
|
213
212
|
|
214
|
-
# All available features for sentiment, syntax, and semantic analysis.
|
215
|
-
#
|
213
|
+
# All available features for sentiment, syntax, and semantic analysis. Setting
|
214
|
+
# each one to true will enable that specific analysis for the input.
|
216
215
|
# Corresponds to the JSON property `features`
|
217
216
|
# @return [Google::Apis::LanguageV1beta1::Features]
|
218
217
|
attr_accessor :features
|
@@ -233,22 +232,20 @@ module Google
|
|
233
232
|
class AnnotateTextResponse
|
234
233
|
include Google::Apis::Core::Hashable
|
235
234
|
|
236
|
-
# Represents the feeling associated with the entire text or entities in
|
237
|
-
# the text.
|
235
|
+
# Represents the feeling associated with the entire text or entities in the text.
|
238
236
|
# Corresponds to the JSON property `documentSentiment`
|
239
237
|
# @return [Google::Apis::LanguageV1beta1::Sentiment]
|
240
238
|
attr_accessor :document_sentiment
|
241
239
|
|
242
240
|
# Entities, along with their semantic information, in the input document.
|
243
|
-
# Populated if the user enables
|
244
|
-
# AnnotateTextRequest.Features.extract_entities.
|
241
|
+
# Populated if the user enables AnnotateTextRequest.Features.extract_entities.
|
245
242
|
# Corresponds to the JSON property `entities`
|
246
243
|
# @return [Array<Google::Apis::LanguageV1beta1::Entity>]
|
247
244
|
attr_accessor :entities
|
248
245
|
|
249
|
-
# The language of the text, which will be the same as the language specified
|
250
|
-
#
|
251
|
-
#
|
246
|
+
# The language of the text, which will be the same as the language specified in
|
247
|
+
# the request or, if not specified, the automatically-detected language. See
|
248
|
+
# Document.language field for more details.
|
252
249
|
# Corresponds to the JSON property `language`
|
253
250
|
# @return [String]
|
254
251
|
attr_accessor :language
|
@@ -260,8 +257,7 @@ module Google
|
|
260
257
|
attr_accessor :sentences
|
261
258
|
|
262
259
|
# Tokens, along with their syntactic information, in the input document.
|
263
|
-
# Populated if the user enables
|
264
|
-
# AnnotateTextRequest.Features.extract_syntax.
|
260
|
+
# Populated if the user enables AnnotateTextRequest.Features.extract_syntax.
|
265
261
|
# Corresponds to the JSON property `tokens`
|
266
262
|
# @return [Array<Google::Apis::LanguageV1beta1::Token>]
|
267
263
|
attr_accessor :tokens
|
@@ -284,11 +280,10 @@ module Google
|
|
284
280
|
class DependencyEdge
|
285
281
|
include Google::Apis::Core::Hashable
|
286
282
|
|
287
|
-
# Represents the head of this token in the dependency tree.
|
288
|
-
#
|
289
|
-
#
|
290
|
-
#
|
291
|
-
# `head_token_index` is its own index.
|
283
|
+
# Represents the head of this token in the dependency tree. This is the index of
|
284
|
+
# the token which has an arc going to this token. The index is the position of
|
285
|
+
# the token in the array of tokens returned by the API method. If this token is
|
286
|
+
# a root token, then the `head_token_index` is its own index.
|
292
287
|
# Corresponds to the JSON property `headTokenIndex`
|
293
288
|
# @return [Fixnum]
|
294
289
|
attr_accessor :head_token_index
|
@@ -309,39 +304,37 @@ module Google
|
|
309
304
|
end
|
310
305
|
end
|
311
306
|
|
312
|
-
# ################################################################ #
|
313
|
-
#
|
307
|
+
# ################################################################ # Represents
|
308
|
+
# the input to API methods.
|
314
309
|
class Document
|
315
310
|
include Google::Apis::Core::Hashable
|
316
311
|
|
317
|
-
# The content of the input in string format.
|
318
|
-
#
|
312
|
+
# The content of the input in string format. Cloud audit logging exempt since it
|
313
|
+
# is based on user data.
|
319
314
|
# Corresponds to the JSON property `content`
|
320
315
|
# @return [String]
|
321
316
|
attr_accessor :content
|
322
317
|
|
323
|
-
# The Google Cloud Storage URI where the file content is located.
|
324
|
-
#
|
325
|
-
#
|
326
|
-
#
|
318
|
+
# The Google Cloud Storage URI where the file content is located. This URI must
|
319
|
+
# be of the form: gs://bucket_name/object_name. For more details, see https://
|
320
|
+
# cloud.google.com/storage/docs/reference-uris. NOTE: Cloud Storage object
|
321
|
+
# versioning is not supported.
|
327
322
|
# Corresponds to the JSON property `gcsContentUri`
|
328
323
|
# @return [String]
|
329
324
|
attr_accessor :gcs_content_uri
|
330
325
|
|
331
|
-
# The language of the document (if not specified, the language is
|
332
|
-
#
|
333
|
-
#
|
334
|
-
#
|
335
|
-
#
|
336
|
-
#
|
337
|
-
# specified by the caller or automatically detected) is not supported by the
|
338
|
-
# called API method, an `INVALID_ARGUMENT` error is returned.
|
326
|
+
# The language of the document (if not specified, the language is automatically
|
327
|
+
# detected). Both ISO and BCP-47 language codes are accepted. [Language Support](
|
328
|
+
# https://cloud.google.com/natural-language/docs/languages) lists currently
|
329
|
+
# supported languages for each API method. If the language (either specified by
|
330
|
+
# the caller or automatically detected) is not supported by the called API
|
331
|
+
# method, an `INVALID_ARGUMENT` error is returned.
|
339
332
|
# Corresponds to the JSON property `language`
|
340
333
|
# @return [String]
|
341
334
|
attr_accessor :language
|
342
335
|
|
343
|
-
# Required. If the type is not set or is `TYPE_UNSPECIFIED`,
|
344
|
-
#
|
336
|
+
# Required. If the type is not set or is `TYPE_UNSPECIFIED`, returns an `
|
337
|
+
# INVALID_ARGUMENT` error.
|
345
338
|
# Corresponds to the JSON property `type`
|
346
339
|
# @return [String]
|
347
340
|
attr_accessor :type
|
@@ -359,21 +352,21 @@ module Google
|
|
359
352
|
end
|
360
353
|
end
|
361
354
|
|
362
|
-
# Represents a phrase in the text that is a known entity, such as
|
363
|
-
#
|
364
|
-
#
|
355
|
+
# Represents a phrase in the text that is a known entity, such as a person, an
|
356
|
+
# organization, or location. The API associates information, such as salience
|
357
|
+
# and mentions, with entities.
|
365
358
|
class Entity
|
366
359
|
include Google::Apis::Core::Hashable
|
367
360
|
|
368
|
-
# The mentions of this entity in the input document. The API currently
|
369
|
-
#
|
361
|
+
# The mentions of this entity in the input document. The API currently supports
|
362
|
+
# proper noun mentions.
|
370
363
|
# Corresponds to the JSON property `mentions`
|
371
364
|
# @return [Array<Google::Apis::LanguageV1beta1::EntityMention>]
|
372
365
|
attr_accessor :mentions
|
373
366
|
|
374
|
-
# Metadata associated with the entity.
|
375
|
-
#
|
376
|
-
#
|
367
|
+
# Metadata associated with the entity. Currently, Wikipedia URLs and Knowledge
|
368
|
+
# Graph MIDs are provided, if available. The associated keys are "wikipedia_url"
|
369
|
+
# and "mid", respectively.
|
377
370
|
# Corresponds to the JSON property `metadata`
|
378
371
|
# @return [Hash<String,String>]
|
379
372
|
attr_accessor :metadata
|
@@ -383,11 +376,10 @@ module Google
|
|
383
376
|
# @return [String]
|
384
377
|
attr_accessor :name
|
385
378
|
|
386
|
-
# The salience score associated with the entity in the [0, 1.0] range.
|
387
|
-
#
|
388
|
-
#
|
389
|
-
#
|
390
|
-
# salient.
|
379
|
+
# The salience score associated with the entity in the [0, 1.0] range. The
|
380
|
+
# salience score for an entity provides information about the importance or
|
381
|
+
# centrality of that entity to the entire document text. Scores closer to 0 are
|
382
|
+
# less salient, while scores closer to 1.0 are highly salient.
|
391
383
|
# Corresponds to the JSON property `salience`
|
392
384
|
# @return [Float]
|
393
385
|
attr_accessor :salience
|
@@ -437,8 +429,8 @@ module Google
|
|
437
429
|
end
|
438
430
|
end
|
439
431
|
|
440
|
-
# All available features for sentiment, syntax, and semantic analysis.
|
441
|
-
#
|
432
|
+
# All available features for sentiment, syntax, and semantic analysis. Setting
|
433
|
+
# each one to true will enable that specific analysis for the input.
|
442
434
|
class Features
|
443
435
|
include Google::Apis::Core::Hashable
|
444
436
|
|
@@ -561,8 +553,7 @@ module Google
|
|
561
553
|
class Sentence
|
562
554
|
include Google::Apis::Core::Hashable
|
563
555
|
|
564
|
-
# Represents the feeling associated with the entire text or entities in
|
565
|
-
# the text.
|
556
|
+
# Represents the feeling associated with the entire text or entities in the text.
|
566
557
|
# Corresponds to the JSON property `sentiment`
|
567
558
|
# @return [Google::Apis::LanguageV1beta1::Sentiment]
|
568
559
|
attr_accessor :sentiment
|
@@ -583,27 +574,24 @@ module Google
|
|
583
574
|
end
|
584
575
|
end
|
585
576
|
|
586
|
-
# Represents the feeling associated with the entire text or entities in
|
587
|
-
# the text.
|
577
|
+
# Represents the feeling associated with the entire text or entities in the text.
|
588
578
|
class Sentiment
|
589
579
|
include Google::Apis::Core::Hashable
|
590
580
|
|
591
|
-
# A non-negative number in the [0, +inf) range, which represents
|
592
|
-
#
|
593
|
-
# negative).
|
581
|
+
# A non-negative number in the [0, +inf) range, which represents the absolute
|
582
|
+
# magnitude of sentiment regardless of score (positive or negative).
|
594
583
|
# Corresponds to the JSON property `magnitude`
|
595
584
|
# @return [Float]
|
596
585
|
attr_accessor :magnitude
|
597
586
|
|
598
|
-
# DEPRECATED FIELD - This field is being deprecated in
|
599
|
-
#
|
600
|
-
#
|
587
|
+
# DEPRECATED FIELD - This field is being deprecated in favor of score. Please
|
588
|
+
# refer to our documentation at https://cloud.google.com/natural-language/docs
|
589
|
+
# for more information.
|
601
590
|
# Corresponds to the JSON property `polarity`
|
602
591
|
# @return [Float]
|
603
592
|
attr_accessor :polarity
|
604
593
|
|
605
|
-
# Sentiment score between -1.0 (negative sentiment) and 1.0
|
606
|
-
# (positive sentiment).
|
594
|
+
# Sentiment score between -1.0 (negative sentiment) and 1.0 (positive sentiment).
|
607
595
|
# Corresponds to the JSON property `score`
|
608
596
|
# @return [Float]
|
609
597
|
attr_accessor :score
|
@@ -620,12 +608,12 @@ module Google
|
|
620
608
|
end
|
621
609
|
end
|
622
610
|
|
623
|
-
# The `Status` type defines a logical error model that is suitable for
|
624
|
-
#
|
625
|
-
#
|
626
|
-
#
|
627
|
-
#
|
628
|
-
#
|
611
|
+
# The `Status` type defines a logical error model that is suitable for different
|
612
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
613
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
614
|
+
# data: error code, error message, and error details. You can find out more
|
615
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
616
|
+
# //cloud.google.com/apis/design/errors).
|
629
617
|
class Status
|
630
618
|
include Google::Apis::Core::Hashable
|
631
619
|
|
@@ -634,15 +622,15 @@ module Google
|
|
634
622
|
# @return [Fixnum]
|
635
623
|
attr_accessor :code
|
636
624
|
|
637
|
-
# A list of messages that carry the error details.
|
625
|
+
# A list of messages that carry the error details. There is a common set of
|
638
626
|
# message types for APIs to use.
|
639
627
|
# Corresponds to the JSON property `details`
|
640
628
|
# @return [Array<Hash<String,Object>>]
|
641
629
|
attr_accessor :details
|
642
630
|
|
643
|
-
# A developer-facing error message, which should be in English. Any
|
644
|
-
#
|
645
|
-
#
|
631
|
+
# A developer-facing error message, which should be in English. Any user-facing
|
632
|
+
# error message should be localized and sent in the google.rpc.Status.details
|
633
|
+
# field, or localized by the client.
|
646
634
|
# Corresponds to the JSON property `message`
|
647
635
|
# @return [String]
|
648
636
|
attr_accessor :message
|
@@ -50,8 +50,8 @@ module Google
|
|
50
50
|
end
|
51
51
|
|
52
52
|
# Finds named entities (currently proper names and common nouns) in the text
|
53
|
-
# along with entity types, salience, mentions for each entity, and
|
54
|
-
#
|
53
|
+
# along with entity types, salience, mentions for each entity, and other
|
54
|
+
# properties.
|
55
55
|
# @param [Google::Apis::LanguageV1beta1::AnalyzeEntitiesRequest] analyze_entities_request_object
|
56
56
|
# @param [String] fields
|
57
57
|
# Selector specifying which fields to include in a partial response.
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://cloud.google.com/natural-language/
|
28
28
|
module LanguageV1beta2
|
29
29
|
VERSION = 'V1beta2'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20200801'
|
31
31
|
|
32
32
|
# Apply machine learning models to reveal the structure and meaning of text
|
33
33
|
AUTH_CLOUD_LANGUAGE = 'https://www.googleapis.com/auth/cloud-language'
|
@@ -26,8 +26,8 @@ module Google
|
|
26
26
|
class AnalyzeEntitiesRequest
|
27
27
|
include Google::Apis::Core::Hashable
|
28
28
|
|
29
|
-
# ################################################################ #
|
30
|
-
#
|
29
|
+
# ################################################################ # Represents
|
30
|
+
# the input to API methods.
|
31
31
|
# Corresponds to the JSON property `document`
|
32
32
|
# @return [Google::Apis::LanguageV1beta2::Document]
|
33
33
|
attr_accessor :document
|
@@ -57,9 +57,9 @@ module Google
|
|
57
57
|
# @return [Array<Google::Apis::LanguageV1beta2::Entity>]
|
58
58
|
attr_accessor :entities
|
59
59
|
|
60
|
-
# The language of the text, which will be the same as the language specified
|
61
|
-
#
|
62
|
-
#
|
60
|
+
# The language of the text, which will be the same as the language specified in
|
61
|
+
# the request or, if not specified, the automatically-detected language. See
|
62
|
+
# Document.language field for more details.
|
63
63
|
# Corresponds to the JSON property `language`
|
64
64
|
# @return [String]
|
65
65
|
attr_accessor :language
|
@@ -79,8 +79,8 @@ module Google
|
|
79
79
|
class AnalyzeEntitySentimentRequest
|
80
80
|
include Google::Apis::Core::Hashable
|
81
81
|
|
82
|
-
# ################################################################ #
|
83
|
-
#
|
82
|
+
# ################################################################ # Represents
|
83
|
+
# the input to API methods.
|
84
84
|
# Corresponds to the JSON property `document`
|
85
85
|
# @return [Google::Apis::LanguageV1beta2::Document]
|
86
86
|
attr_accessor :document
|
@@ -110,9 +110,9 @@ module Google
|
|
110
110
|
# @return [Array<Google::Apis::LanguageV1beta2::Entity>]
|
111
111
|
attr_accessor :entities
|
112
112
|
|
113
|
-
# The language of the text, which will be the same as the language specified
|
114
|
-
#
|
115
|
-
#
|
113
|
+
# The language of the text, which will be the same as the language specified in
|
114
|
+
# the request or, if not specified, the automatically-detected language. See
|
115
|
+
# Document.language field for more details.
|
116
116
|
# Corresponds to the JSON property `language`
|
117
117
|
# @return [String]
|
118
118
|
attr_accessor :language
|
@@ -132,8 +132,8 @@ module Google
|
|
132
132
|
class AnalyzeSentimentRequest
|
133
133
|
include Google::Apis::Core::Hashable
|
134
134
|
|
135
|
-
# ################################################################ #
|
136
|
-
#
|
135
|
+
# ################################################################ # Represents
|
136
|
+
# the input to API methods.
|
137
137
|
# Corresponds to the JSON property `document`
|
138
138
|
# @return [Google::Apis::LanguageV1beta2::Document]
|
139
139
|
attr_accessor :document
|
@@ -159,16 +159,15 @@ module Google
|
|
159
159
|
class AnalyzeSentimentResponse
|
160
160
|
include Google::Apis::Core::Hashable
|
161
161
|
|
162
|
-
# Represents the feeling associated with the entire text or entities in
|
163
|
-
# the text.
|
162
|
+
# Represents the feeling associated with the entire text or entities in the text.
|
164
163
|
# Next ID: 6
|
165
164
|
# Corresponds to the JSON property `documentSentiment`
|
166
165
|
# @return [Google::Apis::LanguageV1beta2::Sentiment]
|
167
166
|
attr_accessor :document_sentiment
|
168
167
|
|
169
|
-
# The language of the text, which will be the same as the language specified
|
170
|
-
#
|
171
|
-
#
|
168
|
+
# The language of the text, which will be the same as the language specified in
|
169
|
+
# the request or, if not specified, the automatically-detected language. See
|
170
|
+
# Document.language field for more details.
|
172
171
|
# Corresponds to the JSON property `language`
|
173
172
|
# @return [String]
|
174
173
|
attr_accessor :language
|
@@ -194,8 +193,8 @@ module Google
|
|
194
193
|
class AnalyzeSyntaxRequest
|
195
194
|
include Google::Apis::Core::Hashable
|
196
195
|
|
197
|
-
# ################################################################ #
|
198
|
-
#
|
196
|
+
# ################################################################ # Represents
|
197
|
+
# the input to API methods.
|
199
198
|
# Corresponds to the JSON property `document`
|
200
199
|
# @return [Google::Apis::LanguageV1beta2::Document]
|
201
200
|
attr_accessor :document
|
@@ -220,9 +219,9 @@ module Google
|
|
220
219
|
class AnalyzeSyntaxResponse
|
221
220
|
include Google::Apis::Core::Hashable
|
222
221
|
|
223
|
-
# The language of the text, which will be the same as the language specified
|
224
|
-
#
|
225
|
-
#
|
222
|
+
# The language of the text, which will be the same as the language specified in
|
223
|
+
# the request or, if not specified, the automatically-detected language. See
|
224
|
+
# Document.language field for more details.
|
226
225
|
# Corresponds to the JSON property `language`
|
227
226
|
# @return [String]
|
228
227
|
attr_accessor :language
|
@@ -254,8 +253,8 @@ module Google
|
|
254
253
|
class AnnotateTextRequest
|
255
254
|
include Google::Apis::Core::Hashable
|
256
255
|
|
257
|
-
# ################################################################ #
|
258
|
-
#
|
256
|
+
# ################################################################ # Represents
|
257
|
+
# the input to API methods.
|
259
258
|
# Corresponds to the JSON property `document`
|
260
259
|
# @return [Google::Apis::LanguageV1beta2::Document]
|
261
260
|
attr_accessor :document
|
@@ -265,9 +264,8 @@ module Google
|
|
265
264
|
# @return [String]
|
266
265
|
attr_accessor :encoding_type
|
267
266
|
|
268
|
-
# All available features for sentiment, syntax, and semantic analysis.
|
269
|
-
#
|
270
|
-
# Next ID: 10
|
267
|
+
# All available features for sentiment, syntax, and semantic analysis. Setting
|
268
|
+
# each one to true will enable that specific analysis for the input. Next ID: 10
|
271
269
|
# Corresponds to the JSON property `features`
|
272
270
|
# @return [Google::Apis::LanguageV1beta2::Features]
|
273
271
|
attr_accessor :features
|
@@ -293,23 +291,21 @@ module Google
|
|
293
291
|
# @return [Array<Google::Apis::LanguageV1beta2::ClassificationCategory>]
|
294
292
|
attr_accessor :categories
|
295
293
|
|
296
|
-
# Represents the feeling associated with the entire text or entities in
|
297
|
-
# the text.
|
294
|
+
# Represents the feeling associated with the entire text or entities in the text.
|
298
295
|
# Next ID: 6
|
299
296
|
# Corresponds to the JSON property `documentSentiment`
|
300
297
|
# @return [Google::Apis::LanguageV1beta2::Sentiment]
|
301
298
|
attr_accessor :document_sentiment
|
302
299
|
|
303
300
|
# Entities, along with their semantic information, in the input document.
|
304
|
-
# Populated if the user enables
|
305
|
-
# AnnotateTextRequest.Features.extract_entities.
|
301
|
+
# Populated if the user enables AnnotateTextRequest.Features.extract_entities.
|
306
302
|
# Corresponds to the JSON property `entities`
|
307
303
|
# @return [Array<Google::Apis::LanguageV1beta2::Entity>]
|
308
304
|
attr_accessor :entities
|
309
305
|
|
310
|
-
# The language of the text, which will be the same as the language specified
|
311
|
-
#
|
312
|
-
#
|
306
|
+
# The language of the text, which will be the same as the language specified in
|
307
|
+
# the request or, if not specified, the automatically-detected language. See
|
308
|
+
# Document.language field for more details.
|
313
309
|
# Corresponds to the JSON property `language`
|
314
310
|
# @return [String]
|
315
311
|
attr_accessor :language
|
@@ -321,8 +317,7 @@ module Google
|
|
321
317
|
attr_accessor :sentences
|
322
318
|
|
323
319
|
# Tokens, along with their syntactic information, in the input document.
|
324
|
-
# Populated if the user enables
|
325
|
-
# AnnotateTextRequest.Features.extract_syntax.
|
320
|
+
# Populated if the user enables AnnotateTextRequest.Features.extract_syntax.
|
326
321
|
# Corresponds to the JSON property `tokens`
|
327
322
|
# @return [Array<Google::Apis::LanguageV1beta2::Token>]
|
328
323
|
attr_accessor :tokens
|
@@ -346,8 +341,8 @@ module Google
|
|
346
341
|
class ClassificationCategory
|
347
342
|
include Google::Apis::Core::Hashable
|
348
343
|
|
349
|
-
# The classifier's confidence of the category. Number represents how certain
|
350
|
-
#
|
344
|
+
# The classifier's confidence of the category. Number represents how certain the
|
345
|
+
# classifier is that this category represents the given text.
|
351
346
|
# Corresponds to the JSON property `confidence`
|
352
347
|
# @return [Float]
|
353
348
|
attr_accessor :confidence
|
@@ -373,8 +368,8 @@ module Google
|
|
373
368
|
class ClassifyTextRequest
|
374
369
|
include Google::Apis::Core::Hashable
|
375
370
|
|
376
|
-
# ################################################################ #
|
377
|
-
#
|
371
|
+
# ################################################################ # Represents
|
372
|
+
# the input to API methods.
|
378
373
|
# Corresponds to the JSON property `document`
|
379
374
|
# @return [Google::Apis::LanguageV1beta2::Document]
|
380
375
|
attr_accessor :document
|
@@ -412,11 +407,10 @@ module Google
|
|
412
407
|
class DependencyEdge
|
413
408
|
include Google::Apis::Core::Hashable
|
414
409
|
|
415
|
-
# Represents the head of this token in the dependency tree.
|
416
|
-
#
|
417
|
-
#
|
418
|
-
#
|
419
|
-
# `head_token_index` is its own index.
|
410
|
+
# Represents the head of this token in the dependency tree. This is the index of
|
411
|
+
# the token which has an arc going to this token. The index is the position of
|
412
|
+
# the token in the array of tokens returned by the API method. If this token is
|
413
|
+
# a root token, then the `head_token_index` is its own index.
|
420
414
|
# Corresponds to the JSON property `headTokenIndex`
|
421
415
|
# @return [Fixnum]
|
422
416
|
attr_accessor :head_token_index
|
@@ -437,52 +431,50 @@ module Google
|
|
437
431
|
end
|
438
432
|
end
|
439
433
|
|
440
|
-
# ################################################################ #
|
441
|
-
#
|
434
|
+
# ################################################################ # Represents
|
435
|
+
# the input to API methods.
|
442
436
|
class Document
|
443
437
|
include Google::Apis::Core::Hashable
|
444
438
|
|
445
|
-
# Indicates how detected boilerplate(e.g. advertisements, copyright
|
446
|
-
#
|
447
|
-
#
|
439
|
+
# Indicates how detected boilerplate(e.g. advertisements, copyright declarations,
|
440
|
+
# banners) should be handled for this document. If not specified, boilerplate
|
441
|
+
# will be treated the same as content.
|
448
442
|
# Corresponds to the JSON property `boilerplateHandling`
|
449
443
|
# @return [String]
|
450
444
|
attr_accessor :boilerplate_handling
|
451
445
|
|
452
|
-
# The content of the input in string format.
|
453
|
-
#
|
446
|
+
# The content of the input in string format. Cloud audit logging exempt since it
|
447
|
+
# is based on user data.
|
454
448
|
# Corresponds to the JSON property `content`
|
455
449
|
# @return [String]
|
456
450
|
attr_accessor :content
|
457
451
|
|
458
|
-
# The Google Cloud Storage URI where the file content is located.
|
459
|
-
#
|
460
|
-
#
|
461
|
-
#
|
452
|
+
# The Google Cloud Storage URI where the file content is located. This URI must
|
453
|
+
# be of the form: gs://bucket_name/object_name. For more details, see https://
|
454
|
+
# cloud.google.com/storage/docs/reference-uris. NOTE: Cloud Storage object
|
455
|
+
# versioning is not supported.
|
462
456
|
# Corresponds to the JSON property `gcsContentUri`
|
463
457
|
# @return [String]
|
464
458
|
attr_accessor :gcs_content_uri
|
465
459
|
|
466
|
-
# The language of the document (if not specified, the language is
|
467
|
-
#
|
468
|
-
#
|
469
|
-
#
|
470
|
-
#
|
471
|
-
#
|
472
|
-
# specified by the caller or automatically detected) is not supported by the
|
473
|
-
# called API method, an `INVALID_ARGUMENT` error is returned.
|
460
|
+
# The language of the document (if not specified, the language is automatically
|
461
|
+
# detected). Both ISO and BCP-47 language codes are accepted. [Language Support](
|
462
|
+
# https://cloud.google.com/natural-language/docs/languages) lists currently
|
463
|
+
# supported languages for each API method. If the language (either specified by
|
464
|
+
# the caller or automatically detected) is not supported by the called API
|
465
|
+
# method, an `INVALID_ARGUMENT` error is returned.
|
474
466
|
# Corresponds to the JSON property `language`
|
475
467
|
# @return [String]
|
476
468
|
attr_accessor :language
|
477
469
|
|
478
|
-
# The web URI where the document comes from. This URI is not used for
|
479
|
-
#
|
470
|
+
# The web URI where the document comes from. This URI is not used for fetching
|
471
|
+
# the content, but as a hint for analyzing the document.
|
480
472
|
# Corresponds to the JSON property `referenceWebUri`
|
481
473
|
# @return [String]
|
482
474
|
attr_accessor :reference_web_uri
|
483
475
|
|
484
|
-
# Required. If the type is not set or is `TYPE_UNSPECIFIED`,
|
485
|
-
#
|
476
|
+
# Required. If the type is not set or is `TYPE_UNSPECIFIED`, returns an `
|
477
|
+
# INVALID_ARGUMENT` error.
|
486
478
|
# Corresponds to the JSON property `type`
|
487
479
|
# @return [String]
|
488
480
|
attr_accessor :type
|
@@ -502,22 +494,22 @@ module Google
|
|
502
494
|
end
|
503
495
|
end
|
504
496
|
|
505
|
-
# Represents a phrase in the text that is a known entity, such as
|
506
|
-
#
|
507
|
-
#
|
497
|
+
# Represents a phrase in the text that is a known entity, such as a person, an
|
498
|
+
# organization, or location. The API associates information, such as salience
|
499
|
+
# and mentions, with entities.
|
508
500
|
class Entity
|
509
501
|
include Google::Apis::Core::Hashable
|
510
502
|
|
511
|
-
# The mentions of this entity in the input document. The API currently
|
512
|
-
#
|
503
|
+
# The mentions of this entity in the input document. The API currently supports
|
504
|
+
# proper noun mentions.
|
513
505
|
# Corresponds to the JSON property `mentions`
|
514
506
|
# @return [Array<Google::Apis::LanguageV1beta2::EntityMention>]
|
515
507
|
attr_accessor :mentions
|
516
508
|
|
517
|
-
# Metadata associated with the entity.
|
518
|
-
#
|
519
|
-
#
|
520
|
-
#
|
509
|
+
# Metadata associated with the entity. For most entity types, the metadata is a
|
510
|
+
# Wikipedia URL (`wikipedia_url`) and Knowledge Graph MID (`mid`), if they are
|
511
|
+
# available. For the metadata associated with other entity types, see the Type
|
512
|
+
# table below.
|
521
513
|
# Corresponds to the JSON property `metadata`
|
522
514
|
# @return [Hash<String,String>]
|
523
515
|
attr_accessor :metadata
|
@@ -527,17 +519,15 @@ module Google
|
|
527
519
|
# @return [String]
|
528
520
|
attr_accessor :name
|
529
521
|
|
530
|
-
# The salience score associated with the entity in the [0, 1.0] range.
|
531
|
-
#
|
532
|
-
#
|
533
|
-
#
|
534
|
-
# salient.
|
522
|
+
# The salience score associated with the entity in the [0, 1.0] range. The
|
523
|
+
# salience score for an entity provides information about the importance or
|
524
|
+
# centrality of that entity to the entire document text. Scores closer to 0 are
|
525
|
+
# less salient, while scores closer to 1.0 are highly salient.
|
535
526
|
# Corresponds to the JSON property `salience`
|
536
527
|
# @return [Float]
|
537
528
|
attr_accessor :salience
|
538
529
|
|
539
|
-
# Represents the feeling associated with the entire text or entities in
|
540
|
-
# the text.
|
530
|
+
# Represents the feeling associated with the entire text or entities in the text.
|
541
531
|
# Next ID: 6
|
542
532
|
# Corresponds to the JSON property `sentiment`
|
543
533
|
# @return [Google::Apis::LanguageV1beta2::Sentiment]
|
@@ -568,8 +558,7 @@ module Google
|
|
568
558
|
class EntityMention
|
569
559
|
include Google::Apis::Core::Hashable
|
570
560
|
|
571
|
-
# Represents the feeling associated with the entire text or entities in
|
572
|
-
# the text.
|
561
|
+
# Represents the feeling associated with the entire text or entities in the text.
|
573
562
|
# Next ID: 6
|
574
563
|
# Corresponds to the JSON property `sentiment`
|
575
564
|
# @return [Google::Apis::LanguageV1beta2::Sentiment]
|
@@ -597,16 +586,14 @@ module Google
|
|
597
586
|
end
|
598
587
|
end
|
599
588
|
|
600
|
-
# All available features for sentiment, syntax, and semantic analysis.
|
601
|
-
#
|
602
|
-
# Next ID: 10
|
589
|
+
# All available features for sentiment, syntax, and semantic analysis. Setting
|
590
|
+
# each one to true will enable that specific analysis for the input. Next ID: 10
|
603
591
|
class Features
|
604
592
|
include Google::Apis::Core::Hashable
|
605
593
|
|
606
|
-
# Classify the full document into categories. If this is true,
|
607
|
-
# the
|
608
|
-
#
|
609
|
-
# taxonomy](https://cloud.google.com/natural-language/docs/categories).
|
594
|
+
# Classify the full document into categories. If this is true, the API will use
|
595
|
+
# the default model which classifies into a [predefined taxonomy](https://cloud.
|
596
|
+
# google.com/natural-language/docs/categories).
|
610
597
|
# Corresponds to the JSON property `classifyText`
|
611
598
|
# @return [Boolean]
|
612
599
|
attr_accessor :classify_text
|
@@ -739,8 +726,7 @@ module Google
|
|
739
726
|
class Sentence
|
740
727
|
include Google::Apis::Core::Hashable
|
741
728
|
|
742
|
-
# Represents the feeling associated with the entire text or entities in
|
743
|
-
# the text.
|
729
|
+
# Represents the feeling associated with the entire text or entities in the text.
|
744
730
|
# Next ID: 6
|
745
731
|
# Corresponds to the JSON property `sentiment`
|
746
732
|
# @return [Google::Apis::LanguageV1beta2::Sentiment]
|
@@ -762,21 +748,18 @@ module Google
|
|
762
748
|
end
|
763
749
|
end
|
764
750
|
|
765
|
-
# Represents the feeling associated with the entire text or entities in
|
766
|
-
# the text.
|
751
|
+
# Represents the feeling associated with the entire text or entities in the text.
|
767
752
|
# Next ID: 6
|
768
753
|
class Sentiment
|
769
754
|
include Google::Apis::Core::Hashable
|
770
755
|
|
771
|
-
# A non-negative number in the [0, +inf) range, which represents
|
772
|
-
#
|
773
|
-
# negative).
|
756
|
+
# A non-negative number in the [0, +inf) range, which represents the absolute
|
757
|
+
# magnitude of sentiment regardless of score (positive or negative).
|
774
758
|
# Corresponds to the JSON property `magnitude`
|
775
759
|
# @return [Float]
|
776
760
|
attr_accessor :magnitude
|
777
761
|
|
778
|
-
# Sentiment score between -1.0 (negative sentiment) and 1.0
|
779
|
-
# (positive sentiment).
|
762
|
+
# Sentiment score between -1.0 (negative sentiment) and 1.0 (positive sentiment).
|
780
763
|
# Corresponds to the JSON property `score`
|
781
764
|
# @return [Float]
|
782
765
|
attr_accessor :score
|
@@ -792,12 +775,12 @@ module Google
|
|
792
775
|
end
|
793
776
|
end
|
794
777
|
|
795
|
-
# The `Status` type defines a logical error model that is suitable for
|
796
|
-
#
|
797
|
-
#
|
798
|
-
#
|
799
|
-
#
|
800
|
-
#
|
778
|
+
# The `Status` type defines a logical error model that is suitable for different
|
779
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
780
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
781
|
+
# data: error code, error message, and error details. You can find out more
|
782
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
783
|
+
# //cloud.google.com/apis/design/errors).
|
801
784
|
class Status
|
802
785
|
include Google::Apis::Core::Hashable
|
803
786
|
|
@@ -806,15 +789,15 @@ module Google
|
|
806
789
|
# @return [Fixnum]
|
807
790
|
attr_accessor :code
|
808
791
|
|
809
|
-
# A list of messages that carry the error details.
|
792
|
+
# A list of messages that carry the error details. There is a common set of
|
810
793
|
# message types for APIs to use.
|
811
794
|
# Corresponds to the JSON property `details`
|
812
795
|
# @return [Array<Hash<String,Object>>]
|
813
796
|
attr_accessor :details
|
814
797
|
|
815
|
-
# A developer-facing error message, which should be in English. Any
|
816
|
-
#
|
817
|
-
#
|
798
|
+
# A developer-facing error message, which should be in English. Any user-facing
|
799
|
+
# error message should be localized and sent in the google.rpc.Status.details
|
800
|
+
# field, or localized by the client.
|
818
801
|
# Corresponds to the JSON property `message`
|
819
802
|
# @return [String]
|
820
803
|
attr_accessor :message
|