google-api-client 0.32.1 → 0.40.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.kokoro/continuous/linux.cfg +2 -2
- data/.kokoro/continuous/post.cfg +30 -0
- data/.kokoro/presubmit/linux.cfg +1 -1
- data/.kokoro/release.cfg +94 -0
- data/.repo-metadata.json +5 -0
- data/.rubocop.yml +5 -0
- data/.yardopts +16 -2
- data/CHANGELOG.md +1354 -0
- data/Gemfile +1 -0
- data/OVERVIEW.md +36 -0
- data/README.md +50 -2
- data/Rakefile +71 -2
- data/api_list_config.yaml +1 -0
- data/api_names.yaml +2 -0
- data/bin/generate-api +10 -2
- data/docs/api-keys.md +20 -0
- data/docs/auth.md +53 -0
- data/docs/client-secrets.md +69 -0
- data/docs/getting-started.md +340 -0
- data/docs/installation.md +0 -0
- data/docs/logging.md +34 -0
- data/docs/media-upload.md +25 -0
- data/docs/oauth-installed.md +191 -0
- data/docs/oauth-server.md +135 -0
- data/docs/oauth-web.md +280 -0
- data/docs/oauth.md +268 -0
- data/docs/pagination.md +29 -0
- data/docs/performance.md +25 -0
- data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -4
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +417 -0
- data/generated/google/apis/accessapproval_v1/representations.rb +203 -0
- data/generated/google/apis/accessapproval_v1/service.rb +869 -0
- data/generated/google/apis/{servicebroker_v1.rb → accessapproval_v1.rb} +8 -10
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +35 -2
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +13 -0
- data/generated/google/apis/accessapproval_v1beta1/service.rb +108 -6
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +357 -56
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +137 -6
- data/generated/google/apis/accesscontextmanager_v1/service.rb +143 -5
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +133 -125
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +21 -27
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +6 -5
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +35 -5
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +4 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +24 -2
- data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -3
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1.rb +1 -4
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +5 -5
- data/generated/google/apis/admin_datatransfer_v1/service.rb +2 -2
- data/generated/google/apis/admin_datatransfer_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +4 -150
- data/generated/google/apis/admin_directory_v1/representations.rb +0 -54
- data/generated/google/apis/admin_directory_v1/service.rb +0 -60
- data/generated/google/apis/admin_directory_v1.rb +4 -1
- data/generated/google/apis/admin_reports_v1/classes.rb +87 -44
- data/generated/google/apis/admin_reports_v1/service.rb +310 -64
- data/generated/google/apis/admin_reports_v1.rb +2 -2
- data/generated/google/apis/admob_v1/classes.rb +951 -0
- data/generated/google/apis/admob_v1/representations.rb +378 -0
- data/generated/google/apis/admob_v1/service.rb +196 -0
- data/generated/google/apis/{analytics_v2_4/classes.rb → admob_v1.rb} +11 -6
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +5 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +259 -7
- data/generated/google/apis/alertcenter_v1beta1/representations.rb +126 -0
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +2 -2
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +39 -60
- data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +0 -403
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +203 -6
- data/generated/google/apis/androidmanagement_v1/representations.rb +68 -0
- data/generated/google/apis/androidmanagement_v1/service.rb +6 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1/classes.rb +0 -41
- data/generated/google/apis/androidpublisher_v1/representations.rb +0 -16
- data/generated/google/apis/androidpublisher_v1/service.rb +1 -81
- data/generated/google/apis/androidpublisher_v1.rb +1 -4
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -41
- data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -16
- data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -80
- data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +37 -1755
- data/generated/google/apis/androidpublisher_v2/representations.rb +15 -804
- data/generated/google/apis/androidpublisher_v2/service.rb +0 -2359
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +404 -65
- data/generated/google/apis/androidpublisher_v3/representations.rb +180 -27
- data/generated/google/apis/androidpublisher_v3/service.rb +162 -3
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +4928 -0
- data/generated/google/apis/apigee_v1/representations.rb +1822 -0
- data/generated/google/apis/apigee_v1/service.rb +5578 -0
- data/generated/google/apis/apigee_v1.rb +40 -0
- data/generated/google/apis/appengine_v1/classes.rb +7 -0
- data/generated/google/apis/appengine_v1/representations.rb +1 -0
- data/generated/google/apis/appengine_v1/service.rb +10 -6
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +7 -38
- data/generated/google/apis/appengine_v1beta/representations.rb +1 -17
- data/generated/google/apis/appengine_v1beta/service.rb +10 -6
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → artifactregistry_v1beta1}/classes.rb +591 -765
- data/generated/google/apis/{servicebroker_v1alpha1 → artifactregistry_v1beta1}/representations.rb +128 -115
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +957 -0
- data/generated/google/apis/artifactregistry_v1beta1.rb +38 -0
- data/generated/google/apis/bigquery_v2/classes.rb +993 -43
- data/generated/google/apis/bigquery_v2/representations.rb +273 -2
- data/generated/google/apis/bigquery_v2/service.rb +137 -4
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +149 -59
- data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +2 -0
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +11 -10
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +49 -0
- data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +19 -0
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +90 -34
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +392 -16
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +174 -6
- data/generated/google/apis/bigqueryreservation_v1/service.rb +758 -0
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +109 -10
- data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +26 -3
- data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +71 -0
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +166 -160
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +49 -38
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +257 -146
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +21 -18
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +189 -82
- data/generated/google/apis/bigtableadmin_v2/service.rb +170 -58
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +413 -0
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +197 -0
- data/generated/google/apis/billingbudgets_v1beta1/service.rb +244 -0
- data/generated/google/apis/{servicebroker_v1beta1.rb → billingbudgets_v1beta1.rb} +9 -10
- data/generated/google/apis/binaryauthorization_v1/classes.rb +143 -58
- data/generated/google/apis/binaryauthorization_v1/service.rb +10 -2
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +139 -57
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +10 -2
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/blogger_v2/classes.rb +297 -45
- data/generated/google/apis/blogger_v2/representations.rb +105 -26
- data/generated/google/apis/blogger_v2/service.rb +79 -134
- data/generated/google/apis/blogger_v2.rb +5 -4
- data/generated/google/apis/blogger_v3/classes.rb +60 -53
- data/generated/google/apis/blogger_v3/representations.rb +10 -18
- data/generated/google/apis/blogger_v3/service.rb +183 -463
- data/generated/google/apis/blogger_v3.rb +4 -3
- data/generated/google/apis/books_v1/classes.rb +494 -242
- data/generated/google/apis/books_v1/representations.rb +145 -72
- data/generated/google/apis/books_v1/service.rb +354 -484
- data/generated/google/apis/books_v1.rb +3 -3
- data/generated/google/apis/calendar_v3/classes.rb +8 -21
- data/generated/google/apis/calendar_v3/service.rb +18 -30
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +29 -3
- data/generated/google/apis/chat_v1/representations.rb +3 -0
- data/generated/google/apis/chat_v1/service.rb +5 -2
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chromeuxreport_v1/classes.rb +297 -0
- data/generated/google/apis/chromeuxreport_v1/representations.rb +147 -0
- data/generated/google/apis/chromeuxreport_v1/service.rb +92 -0
- data/generated/google/apis/{pagespeedonline_v1.rb → chromeuxreport_v1.rb} +9 -9
- data/generated/google/apis/civicinfo_v2/classes.rb +0 -156
- data/generated/google/apis/civicinfo_v2/representations.rb +2 -60
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +14 -14
- data/generated/google/apis/classroom_v1/service.rb +11 -11
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +917 -195
- data/generated/google/apis/cloudasset_v1/representations.rb +234 -6
- data/generated/google/apis/cloudasset_v1/service.rb +363 -12
- data/generated/google/apis/cloudasset_v1.rb +2 -2
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +139 -57
- data/generated/google/apis/cloudasset_v1beta1/service.rb +13 -4
- data/generated/google/apis/cloudasset_v1beta1.rb +2 -2
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +701 -0
- data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +201 -0
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +189 -0
- data/generated/google/apis/cloudasset_v1p1beta1.rb +34 -0
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +924 -0
- data/generated/google/apis/cloudasset_v1p4beta1/representations.rb +377 -0
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +217 -0
- data/generated/google/apis/cloudasset_v1p4beta1.rb +34 -0
- data/generated/google/apis/cloudbilling_v1/classes.rb +179 -68
- data/generated/google/apis/cloudbilling_v1/representations.rb +0 -1
- data/generated/google/apis/cloudbilling_v1/service.rb +16 -9
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +55 -10
- data/generated/google/apis/cloudbuild_v1/representations.rb +5 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +139 -18
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +170 -5
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +63 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +121 -5
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +1283 -0
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +491 -0
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +353 -0
- data/generated/google/apis/cloudbuild_v1alpha2.rb +34 -0
- data/generated/google/apis/clouddebugger_v2/classes.rb +34 -0
- data/generated/google/apis/clouddebugger_v2/representations.rb +4 -0
- data/generated/google/apis/clouddebugger_v2/service.rb +24 -17
- data/generated/google/apis/clouddebugger_v2.rb +2 -2
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +13 -13
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +2 -2
- data/generated/google/apis/cloudfunctions_v1/classes.rb +161 -59
- data/generated/google/apis/cloudfunctions_v1/representations.rb +3 -0
- data/generated/google/apis/cloudfunctions_v1/service.rb +13 -4
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -0
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +10 -4
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +11 -8
- data/generated/google/apis/cloudidentity_v1/service.rb +22 -14
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1009 -69
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +390 -0
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +189 -78
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +142 -57
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +461 -61
- data/generated/google/apis/cloudkms_v1/representations.rb +33 -0
- data/generated/google/apis/cloudkms_v1/service.rb +15 -3
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudprofiler_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +155 -71
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +6 -3
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +143 -59
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +147 -67
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +11 -13
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +147 -67
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +11 -13
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +3 -2
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +3 -2
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +86 -195
- data/generated/google/apis/cloudsearch_v1/representations.rb +1 -75
- data/generated/google/apis/cloudsearch_v1/service.rb +62 -10
- data/generated/google/apis/cloudsearch_v1.rb +8 -8
- data/generated/google/apis/cloudshell_v1/classes.rb +24 -1
- data/generated/google/apis/cloudshell_v1/representations.rb +3 -0
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +30 -1
- data/generated/google/apis/cloudshell_v1alpha1/representations.rb +5 -0
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +388 -70
- data/generated/google/apis/cloudtasks_v2/representations.rb +65 -0
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +148 -66
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +6 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +156 -74
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/service.rb +10 -4
- data/generated/google/apis/cloudtrace_v1.rb +5 -5
- data/generated/google/apis/cloudtrace_v2/classes.rb +8 -7
- data/generated/google/apis/cloudtrace_v2/service.rb +8 -4
- data/generated/google/apis/cloudtrace_v2.rb +5 -5
- data/generated/google/apis/cloudtrace_v2beta1/classes.rb +143 -0
- data/generated/google/apis/{oauth2_v1 → cloudtrace_v2beta1}/representations.rb +36 -27
- data/generated/google/apis/cloudtrace_v2beta1/service.rb +258 -0
- data/generated/google/apis/cloudtrace_v2beta1.rb +44 -0
- data/generated/google/apis/composer_v1/classes.rb +180 -0
- data/generated/google/apis/composer_v1/representations.rb +54 -0
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +152 -5
- data/generated/google/apis/composer_v1beta1/representations.rb +64 -0
- data/generated/google/apis/composer_v1beta1/service.rb +5 -0
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +3252 -973
- data/generated/google/apis/compute_alpha/representations.rb +634 -69
- data/generated/google/apis/compute_alpha/service.rb +9085 -6210
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +4787 -1066
- data/generated/google/apis/compute_beta/representations.rb +1394 -31
- data/generated/google/apis/compute_beta/service.rb +8858 -5018
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +2976 -599
- data/generated/google/apis/compute_v1/representations.rb +850 -0
- data/generated/google/apis/compute_v1/service.rb +4634 -2481
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +925 -164
- data/generated/google/apis/container_v1/representations.rb +278 -0
- data/generated/google/apis/container_v1/service.rb +175 -158
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +803 -340
- data/generated/google/apis/container_v1beta1/representations.rb +185 -39
- data/generated/google/apis/container_v1beta1/service.rb +294 -277
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +142 -57
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +478 -59
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +159 -0
- data/generated/google/apis/containeranalysis_v1beta1/service.rb +26 -20
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +1566 -634
- data/generated/google/apis/content_v2/representations.rb +78 -115
- data/generated/google/apis/content_v2/service.rb +81 -206
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +2706 -683
- data/generated/google/apis/content_v2_1/representations.rb +551 -0
- data/generated/google/apis/content_v2_1/service.rb +520 -46
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/customsearch_v1/classes.rb +1194 -353
- data/generated/google/apis/customsearch_v1/representations.rb +166 -95
- data/generated/google/apis/customsearch_v1/service.rb +373 -104
- data/generated/google/apis/customsearch_v1.rb +3 -3
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +1907 -0
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +739 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +2247 -0
- data/generated/google/apis/{cloudprivatecatalog_v1beta1.rb → datacatalog_v1beta1.rb} +9 -9
- data/generated/google/apis/dataflow_v1b3/classes.rb +786 -11
- data/generated/google/apis/dataflow_v1b3/representations.rb +377 -1
- data/generated/google/apis/dataflow_v1b3/service.rb +626 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +245 -362
- data/generated/google/apis/datafusion_v1beta1/representations.rb +29 -112
- data/generated/google/apis/datafusion_v1beta1/service.rb +15 -2
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +533 -177
- data/generated/google/apis/dataproc_v1/representations.rb +85 -0
- data/generated/google/apis/dataproc_v1/service.rb +102 -36
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +477 -182
- data/generated/google/apis/dataproc_v1beta2/representations.rb +81 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +199 -43
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +17 -23
- data/generated/google/apis/datastore_v1/service.rb +93 -9
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +6 -5
- data/generated/google/apis/datastore_v1beta3/service.rb +7 -7
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +362 -176
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +22 -4
- data/generated/google/apis/deploymentmanager_alpha/service.rb +198 -311
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +295 -146
- data/generated/google/apis/deploymentmanager_v2/representations.rb +17 -1
- data/generated/google/apis/deploymentmanager_v2/service.rb +101 -99
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +350 -170
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +18 -1
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +154 -152
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +39 -13
- data/generated/google/apis/dfareporting_v3_3/service.rb +9 -8
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/classes.rb +1361 -813
- data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/representations.rb +639 -396
- data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/service.rb +969 -1076
- data/generated/google/apis/{dfareporting_v3_2.rb → dfareporting_v3_4.rb} +6 -6
- data/generated/google/apis/dialogflow_v2/classes.rb +1778 -219
- data/generated/google/apis/dialogflow_v2/representations.rb +603 -0
- data/generated/google/apis/dialogflow_v2/service.rb +849 -158
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +1776 -242
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +592 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +436 -172
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3alpha1/classes.rb +5579 -0
- data/generated/google/apis/dialogflow_v3alpha1/representations.rb +2295 -0
- data/generated/google/apis/dialogflow_v3alpha1/service.rb +296 -0
- data/generated/google/apis/dialogflow_v3alpha1.rb +38 -0
- data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +7527 -0
- data/generated/google/apis/displayvideo_v1/representations.rb +3034 -0
- data/generated/google/apis/displayvideo_v1/service.rb +3126 -0
- data/generated/google/apis/displayvideo_v1.rb +38 -0
- data/generated/google/apis/dlp_v2/classes.rb +798 -130
- data/generated/google/apis/dlp_v2/representations.rb +277 -3
- data/generated/google/apis/dlp_v2/service.rb +2074 -231
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +220 -251
- data/generated/google/apis/dns_v1/representations.rb +49 -0
- data/generated/google/apis/dns_v1/service.rb +21 -141
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +224 -261
- data/generated/google/apis/dns_v1beta2/representations.rb +49 -0
- data/generated/google/apis/dns_v1beta2/service.rb +21 -141
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +220 -251
- data/generated/google/apis/dns_v2beta1/representations.rb +49 -0
- data/generated/google/apis/dns_v2beta1/service.rb +21 -141
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +608 -2
- data/generated/google/apis/docs_v1/representations.rb +211 -0
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/domainsrdap_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +860 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +388 -0
- data/generated/google/apis/{surveys_v2 → doubleclickbidmanager_v1_1}/service.rb +140 -110
- data/generated/google/apis/{proximitybeacon_v1beta1.rb → doubleclickbidmanager_v1_1.rb} +11 -11
- data/generated/google/apis/doubleclicksearch_v2/service.rb +0 -55
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +58 -5
- data/generated/google/apis/drive_v2/representations.rb +18 -0
- data/generated/google/apis/drive_v2/service.rb +92 -118
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +66 -5
- data/generated/google/apis/drive_v3/representations.rb +18 -0
- data/generated/google/apis/drive_v3/service.rb +46 -14
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/driveactivity_v2/classes.rb +15 -5
- data/generated/google/apis/driveactivity_v2/representations.rb +2 -0
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +15 -0
- data/generated/google/apis/fcm_v1/representations.rb +2 -0
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +1235 -158
- data/generated/google/apis/file_v1/representations.rb +401 -22
- data/generated/google/apis/file_v1/service.rb +14 -10
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +1236 -159
- data/generated/google/apis/file_v1beta1/representations.rb +401 -22
- data/generated/google/apis/file_v1beta1/service.rb +18 -11
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +20 -16
- data/generated/google/apis/firebase_v1beta1/representations.rb +2 -0
- data/generated/google/apis/firebase_v1beta1/service.rb +22 -16
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +174 -1
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +65 -0
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +805 -2
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebaseml_v1/classes.rb +213 -0
- data/generated/google/apis/{servicebroker_v1 → firebaseml_v1}/representations.rb +26 -28
- data/generated/google/apis/firebaseml_v1/service.rb +181 -0
- data/generated/google/apis/firebaseml_v1.rb +34 -0
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +344 -0
- data/generated/google/apis/{cloudprivatecatalog_v1beta1 → firebaseml_v1beta2}/representations.rb +62 -31
- data/generated/google/apis/firebaseml_v1beta2/service.rb +267 -0
- data/generated/google/apis/firebaseml_v1beta2.rb +34 -0
- data/generated/google/apis/firebaserules_v1/classes.rb +113 -0
- data/generated/google/apis/firebaserules_v1/representations.rb +52 -0
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +16 -5
- data/generated/google/apis/firestore_v1/representations.rb +2 -0
- data/generated/google/apis/firestore_v1/service.rb +26 -24
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +16 -5
- data/generated/google/apis/firestore_v1beta1/representations.rb +2 -0
- data/generated/google/apis/firestore_v1beta1/service.rb +18 -16
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +189 -153
- data/generated/google/apis/fitness_v1/service.rb +192 -198
- data/generated/google/apis/fitness_v1.rb +14 -14
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +38 -53
- data/generated/google/apis/games_configuration_v1configuration/service.rb +58 -169
- data/generated/google/apis/games_configuration_v1configuration.rb +4 -3
- data/generated/google/apis/games_management_v1management/classes.rb +50 -109
- data/generated/google/apis/games_management_v1management/representations.rb +0 -30
- data/generated/google/apis/games_management_v1management/service.rb +116 -452
- data/generated/google/apis/games_management_v1management.rb +6 -4
- data/generated/google/apis/games_v1/classes.rb +14 -293
- data/generated/google/apis/games_v1/representations.rb +2 -98
- data/generated/google/apis/games_v1/service.rb +3 -135
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +2354 -0
- data/generated/google/apis/gameservices_v1beta/representations.rb +971 -0
- data/generated/google/apis/gameservices_v1beta/service.rb +1472 -0
- data/generated/google/apis/gameservices_v1beta.rb +34 -0
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +32 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +16 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +34 -0
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +6 -2
- data/generated/google/apis/gmail_v1/service.rb +1 -1
- data/generated/google/apis/gmail_v1.rb +13 -1
- data/generated/google/apis/healthcare_v1/classes.rb +2659 -0
- data/generated/google/apis/healthcare_v1/representations.rb +1114 -0
- data/generated/google/apis/healthcare_v1/service.rb +3439 -0
- data/generated/google/apis/healthcare_v1.rb +34 -0
- data/generated/google/apis/healthcare_v1beta1/classes.rb +1013 -128
- data/generated/google/apis/healthcare_v1beta1/representations.rb +341 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +762 -275
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +79 -56
- data/generated/google/apis/homegraph_v1/representations.rb +2 -1
- data/generated/google/apis/homegraph_v1/service.rb +43 -47
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +201 -169
- data/generated/google/apis/iam_v1/representations.rb +1 -6
- data/generated/google/apis/iam_v1/service.rb +18 -21
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +40 -8
- data/generated/google/apis/iamcredentials_v1/service.rb +4 -4
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +691 -59
- data/generated/google/apis/iap_v1/representations.rb +254 -0
- data/generated/google/apis/iap_v1/service.rb +362 -0
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +144 -59
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/indexing_v3.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +167 -0
- data/generated/google/apis/jobs_v2/representations.rb +40 -0
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +180 -0
- data/generated/google/apis/jobs_v3/representations.rb +41 -0
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +187 -2
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +41 -0
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/kgsearch_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +6 -6
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +5 -5
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +23 -7
- data/generated/google/apis/language_v1beta2/representations.rb +2 -0
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/libraryagent_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/classes.rb +15 -7
- data/generated/google/apis/licensing_v1/service.rb +81 -37
- data/generated/google/apis/licensing_v1.rb +4 -4
- data/generated/google/apis/lifesciences_v2beta/classes.rb +1329 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +533 -0
- data/generated/google/apis/lifesciences_v2beta/service.rb +303 -0
- data/generated/google/apis/lifesciences_v2beta.rb +35 -0
- data/generated/google/apis/logging_v2/classes.rb +292 -91
- data/generated/google/apis/logging_v2/representations.rb +51 -0
- data/generated/google/apis/logging_v2/service.rb +888 -15
- data/generated/google/apis/logging_v2.rb +6 -6
- data/generated/google/apis/managedidentities_v1/classes.rb +1571 -0
- data/generated/google/apis/managedidentities_v1/representations.rb +560 -0
- data/generated/google/apis/managedidentities_v1/service.rb +779 -0
- data/generated/google/apis/managedidentities_v1.rb +35 -0
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +1570 -0
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +560 -0
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +782 -0
- data/generated/google/apis/{servicebroker_v1alpha1.rb → managedidentities_v1alpha1.rb} +9 -10
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +1568 -0
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +560 -0
- data/generated/google/apis/managedidentities_v1beta1/service.rb +778 -0
- data/generated/google/apis/managedidentities_v1beta1.rb +35 -0
- data/generated/google/apis/manufacturers_v1/classes.rb +7 -0
- data/generated/google/apis/manufacturers_v1/representations.rb +1 -0
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +1587 -0
- data/generated/google/apis/memcache_v1beta2/representations.rb +557 -0
- data/generated/google/apis/memcache_v1beta2/service.rb +677 -0
- data/generated/google/apis/memcache_v1beta2.rb +35 -0
- data/generated/google/apis/ml_v1/classes.rb +1518 -233
- data/generated/google/apis/ml_v1/representations.rb +559 -0
- data/generated/google/apis/ml_v1/service.rb +560 -25
- data/generated/google/apis/ml_v1.rb +5 -2
- data/generated/google/apis/monitoring_v1/classes.rb +1231 -0
- data/generated/google/apis/monitoring_v1/representations.rb +513 -0
- data/generated/google/apis/monitoring_v1/service.rb +246 -0
- data/generated/google/apis/monitoring_v1.rb +47 -0
- data/generated/google/apis/monitoring_v3/classes.rb +1330 -172
- data/generated/google/apis/monitoring_v3/representations.rb +482 -1
- data/generated/google/apis/monitoring_v3/service.rb +614 -162
- data/generated/google/apis/monitoring_v3.rb +7 -8
- data/generated/google/apis/networkmanagement_v1/classes.rb +1868 -0
- data/generated/google/apis/networkmanagement_v1/representations.rb +661 -0
- data/generated/google/apis/networkmanagement_v1/service.rb +667 -0
- data/generated/google/apis/networkmanagement_v1.rb +35 -0
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +1868 -0
- data/generated/google/apis/networkmanagement_v1beta1/representations.rb +661 -0
- data/generated/google/apis/networkmanagement_v1beta1/service.rb +667 -0
- data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1.rb → networkmanagement_v1beta1.rb} +9 -9
- data/generated/google/apis/oauth2_v2/classes.rb +1 -81
- data/generated/google/apis/oauth2_v2/representations.rb +2 -36
- data/generated/google/apis/oauth2_v2/service.rb +10 -42
- data/generated/google/apis/oauth2_v2.rb +5 -5
- data/generated/google/apis/osconfig_v1/classes.rb +1225 -0
- data/generated/google/apis/osconfig_v1/representations.rb +506 -0
- data/generated/google/apis/osconfig_v1/service.rb +386 -0
- data/generated/google/apis/osconfig_v1.rb +35 -0
- data/generated/google/apis/osconfig_v1beta/classes.rb +2362 -0
- data/generated/google/apis/osconfig_v1beta/representations.rb +966 -0
- data/generated/google/apis/osconfig_v1beta/service.rb +605 -0
- data/generated/google/apis/osconfig_v1beta.rb +35 -0
- data/generated/google/apis/oslogin_v1/classes.rb +1 -1
- data/generated/google/apis/oslogin_v1/service.rb +10 -7
- data/generated/google/apis/oslogin_v1.rb +1 -2
- data/generated/google/apis/oslogin_v1alpha/service.rb +0 -1
- data/generated/google/apis/oslogin_v1alpha.rb +1 -2
- data/generated/google/apis/oslogin_v1beta/classes.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/service.rb +9 -6
- data/generated/google/apis/oslogin_v1beta.rb +1 -2
- data/generated/google/apis/pagespeedonline_v5/classes.rb +534 -495
- data/generated/google/apis/pagespeedonline_v5/representations.rb +226 -221
- data/generated/google/apis/pagespeedonline_v5/service.rb +22 -24
- data/generated/google/apis/pagespeedonline_v5.rb +9 -4
- data/generated/google/apis/people_v1/classes.rb +104 -81
- data/generated/google/apis/people_v1/representations.rb +1 -0
- data/generated/google/apis/people_v1/service.rb +72 -79
- data/generated/google/apis/people_v1.rb +10 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +765 -0
- data/generated/google/apis/policytroubleshooter_v1/representations.rb +203 -0
- data/generated/google/apis/policytroubleshooter_v1/service.rb +90 -0
- data/generated/google/apis/policytroubleshooter_v1.rb +34 -0
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +254 -111
- data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -3
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/poly_v1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +1137 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +532 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +1676 -0
- data/generated/google/apis/{pagespeedonline_v4.rb → prod_tt_sasportal_v1alpha1.rb} +12 -10
- data/generated/google/apis/pubsub_v1/classes.rb +248 -76
- data/generated/google/apis/pubsub_v1/representations.rb +18 -0
- data/generated/google/apis/pubsub_v1/service.rb +43 -31
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +144 -59
- data/generated/google/apis/pubsub_v1beta2/service.rb +10 -2
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +221 -7
- data/generated/google/apis/recommender_v1beta1/representations.rb +96 -0
- data/generated/google/apis/recommender_v1beta1/service.rb +146 -19
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +48 -18
- data/generated/google/apis/redis_v1/representations.rb +14 -0
- data/generated/google/apis/redis_v1/service.rb +41 -5
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +48 -18
- data/generated/google/apis/redis_v1beta1/representations.rb +14 -0
- data/generated/google/apis/redis_v1beta1/service.rb +41 -5
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +352 -37
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +99 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +352 -37
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +99 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +362 -45
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +100 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +5 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/reseller_v1/service.rb +1 -1
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +308 -325
- data/generated/google/apis/run_v1/representations.rb +63 -103
- data/generated/google/apis/run_v1/service.rb +336 -933
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +1045 -392
- data/generated/google/apis/run_v1alpha1/representations.rb +343 -144
- data/generated/google/apis/run_v1alpha1/service.rb +1735 -492
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1beta1/classes.rb +1 -1
- data/generated/google/apis/run_v1beta1.rb +4 -1
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +139 -57
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +8 -5
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/classes.rb +2 -2
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +1137 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +532 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +1676 -0
- data/generated/google/apis/{pagespeedonline_v2.rb → sasportal_v1alpha1.rb} +12 -10
- data/generated/google/apis/script_v1/classes.rb +4 -22
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +982 -0
- data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → secretmanager_v1}/representations.rb +105 -116
- data/generated/google/apis/secretmanager_v1/service.rb +681 -0
- data/generated/google/apis/secretmanager_v1.rb +35 -0
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +982 -0
- data/generated/google/apis/{servicebroker_v1beta1 → secretmanager_v1beta1}/representations.rb +114 -142
- data/generated/google/apis/secretmanager_v1beta1/service.rb +681 -0
- data/generated/google/apis/secretmanager_v1beta1.rb +35 -0
- data/generated/google/apis/securitycenter_v1/classes.rb +862 -138
- data/generated/google/apis/securitycenter_v1/representations.rb +221 -0
- data/generated/google/apis/securitycenter_v1/service.rb +225 -21
- data/generated/google/apis/securitycenter_v1.rb +4 -4
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +782 -125
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +192 -2
- data/generated/google/apis/securitycenter_v1beta1/service.rb +53 -51
- data/generated/google/apis/securitycenter_v1beta1.rb +4 -4
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +568 -0
- data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +190 -0
- data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +3 -3
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +4 -4
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +2205 -0
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +751 -0
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +1329 -0
- data/generated/google/apis/securitycenter_v1p1beta1.rb +35 -0
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +419 -64
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +98 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +4159 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +1307 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +428 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +34 -0
- data/generated/google/apis/servicecontrol_v1/classes.rb +255 -20
- data/generated/google/apis/servicecontrol_v1/representations.rb +87 -1
- data/generated/google/apis/servicecontrol_v1/service.rb +2 -1
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +816 -0
- data/generated/google/apis/{surveys_v2 → servicedirectory_v1beta1}/representations.rb +103 -104
- data/generated/google/apis/servicedirectory_v1beta1/service.rb +992 -0
- data/generated/google/apis/servicedirectory_v1beta1.rb +35 -0
- data/generated/google/apis/servicemanagement_v1/classes.rb +459 -125
- data/generated/google/apis/servicemanagement_v1/representations.rb +61 -0
- data/generated/google/apis/servicemanagement_v1/service.rb +40 -29
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +986 -68
- data/generated/google/apis/servicenetworking_v1/representations.rb +403 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +351 -23
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +575 -57
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +223 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +417 -64
- data/generated/google/apis/serviceusage_v1/representations.rb +110 -0
- data/generated/google/apis/serviceusage_v1/service.rb +42 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +644 -64
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +198 -0
- data/generated/google/apis/serviceusage_v1beta1/service.rb +472 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +1741 -253
- data/generated/google/apis/sheets_v4/representations.rb +283 -0
- data/generated/google/apis/sheets_v4/service.rb +9 -11
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +1 -1
- data/generated/google/apis/slides_v1/service.rb +1 -1
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +173 -67
- data/generated/google/apis/sourcerepo_v1/service.rb +9 -1
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +706 -71
- data/generated/google/apis/spanner_v1/representations.rb +194 -0
- data/generated/google/apis/spanner_v1/service.rb +770 -7
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +15 -11
- data/generated/google/apis/speech_v1/representations.rb +2 -1
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +197 -11
- data/generated/google/apis/speech_v1p1beta1/representations.rb +79 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/{speech_v2beta → speech_v2beta1}/classes.rb +16 -8
- data/generated/google/apis/{speech_v2beta → speech_v2beta1}/representations.rb +7 -6
- data/generated/google/apis/{speech_v2beta → speech_v2beta1}/service.rb +13 -13
- data/generated/google/apis/{speech_v2beta.rb → speech_v2beta1.rb} +6 -6
- data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/classes.rb +701 -383
- data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/representations.rb +209 -104
- data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/service.rb +579 -597
- data/generated/google/apis/{sqladmin_v1beta4.rb → sql_v1beta4.rb} +7 -8
- data/generated/google/apis/storage_v1/classes.rb +73 -7
- data/generated/google/apis/storage_v1/representations.rb +10 -0
- data/generated/google/apis/storage_v1/service.rb +29 -4
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1beta2/service.rb +1 -1
- data/generated/google/apis/storage_v1beta2.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +280 -79
- data/generated/google/apis/storagetransfer_v1/representations.rb +52 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +19 -41
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/service.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1/classes.rb +2 -0
- data/generated/google/apis/tagmanager_v1/service.rb +1 -1
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v2/classes.rb +170 -0
- data/generated/google/apis/tagmanager_v2/representations.rb +49 -0
- data/generated/google/apis/tagmanager_v2/service.rb +1 -1
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tasks_v1/classes.rb +26 -25
- data/generated/google/apis/tasks_v1/representations.rb +4 -8
- data/generated/google/apis/tasks_v1/service.rb +78 -124
- data/generated/google/apis/tasks_v1.rb +3 -3
- data/generated/google/apis/testing_v1/classes.rb +187 -1
- data/generated/google/apis/testing_v1/representations.rb +93 -0
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +2061 -1133
- data/generated/google/apis/toolresults_v1beta3/representations.rb +723 -13
- data/generated/google/apis/toolresults_v1beta3/service.rb +663 -591
- data/generated/google/apis/toolresults_v1beta3.rb +2 -2
- data/generated/google/apis/tpu_v1/classes.rb +3 -4
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -4
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +946 -0
- data/generated/google/apis/translate_v3/representations.rb +439 -0
- data/generated/google/apis/translate_v3/service.rb +781 -0
- data/generated/google/apis/translate_v3.rb +37 -0
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +10 -7
- data/generated/google/apis/vault_v1/service.rb +7 -7
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/verifiedaccess_v1/service.rb +2 -2
- data/generated/google/apis/verifiedaccess_v1.rb +3 -3
- data/generated/google/apis/videointelligence_v1/classes.rb +1205 -118
- data/generated/google/apis/videointelligence_v1/representations.rb +492 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +1205 -118
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +492 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1216 -129
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +492 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1205 -118
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +492 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1290 -116
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +526 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +67 -1
- data/generated/google/apis/vision_v1/representations.rb +32 -0
- data/generated/google/apis/vision_v1/service.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +67 -1
- data/generated/google/apis/vision_v1p1beta1/representations.rb +32 -0
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +67 -1
- data/generated/google/apis/vision_v1p2beta1/representations.rb +32 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1/classes.rb +75 -4
- data/generated/google/apis/websecurityscanner_v1/representations.rb +32 -0
- data/generated/google/apis/websecurityscanner_v1/service.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +5 -4
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -6
- data/generated/google/apis/websecurityscanner_v1beta/representations.rb +32 -0
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +2 -2
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v2.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/service.rb +2 -2
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +1376 -1262
- data/generated/google/apis/youtube_v3/representations.rb +99 -191
- data/generated/google/apis/youtube_v3/service.rb +1829 -2150
- data/generated/google/apis/youtube_v3.rb +8 -5
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/google-api-client.gemspec +6 -3
- data/lib/google/apis/core/api_command.rb +7 -0
- data/lib/google/apis/core/base_service.rb +1 -1
- data/lib/google/apis/core/http_command.rb +11 -10
- data/lib/google/apis/core/upload.rb +4 -0
- data/lib/google/apis/generator/annotator.rb +1 -1
- data/lib/google/apis/version.rb +9 -4
- data/rakelib/devsite/devsite_builder.rb +126 -0
- data/rakelib/devsite/link_checker.rb +64 -0
- data/rakelib/devsite/repo_metadata.rb +56 -0
- metadata +193 -110
- data/generated/google/apis/analytics_v2_4/representations.rb +0 -26
- data/generated/google/apis/analytics_v2_4/service.rb +0 -331
- data/generated/google/apis/analytics_v2_4.rb +0 -37
- data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +0 -358
- data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +0 -486
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +0 -1081
- data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +0 -485
- data/generated/google/apis/commentanalyzer_v1alpha1/representations.rb +0 -210
- data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +0 -124
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +0 -39
- data/generated/google/apis/fusiontables_v1/classes.rb +0 -977
- data/generated/google/apis/fusiontables_v1/representations.rb +0 -449
- data/generated/google/apis/fusiontables_v1/service.rb +0 -1307
- data/generated/google/apis/fusiontables_v1.rb +0 -37
- data/generated/google/apis/fusiontables_v2/classes.rb +0 -1049
- data/generated/google/apis/fusiontables_v2/representations.rb +0 -457
- data/generated/google/apis/fusiontables_v2/service.rb +0 -1431
- data/generated/google/apis/fusiontables_v2.rb +0 -37
- data/generated/google/apis/mirror_v1/classes.rb +0 -1072
- data/generated/google/apis/mirror_v1/representations.rb +0 -390
- data/generated/google/apis/mirror_v1/service.rb +0 -928
- data/generated/google/apis/mirror_v1.rb +0 -37
- data/generated/google/apis/oauth2_v1/classes.rb +0 -197
- data/generated/google/apis/oauth2_v1/service.rb +0 -160
- data/generated/google/apis/oauth2_v1.rb +0 -40
- data/generated/google/apis/pagespeedonline_v1/classes.rb +0 -542
- data/generated/google/apis/pagespeedonline_v1/representations.rb +0 -258
- data/generated/google/apis/pagespeedonline_v1/service.rb +0 -116
- data/generated/google/apis/pagespeedonline_v2/classes.rb +0 -621
- data/generated/google/apis/pagespeedonline_v2/representations.rb +0 -273
- data/generated/google/apis/pagespeedonline_v2/service.rb +0 -116
- data/generated/google/apis/pagespeedonline_v4/classes.rb +0 -795
- data/generated/google/apis/pagespeedonline_v4/representations.rb +0 -335
- data/generated/google/apis/pagespeedonline_v4/service.rb +0 -125
- data/generated/google/apis/plus_domains_v1/classes.rb +0 -2609
- data/generated/google/apis/plus_domains_v1/representations.rb +0 -1111
- data/generated/google/apis/plus_domains_v1/service.rb +0 -489
- data/generated/google/apis/plus_domains_v1.rb +0 -55
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +0 -845
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +0 -350
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +0 -933
- data/generated/google/apis/replicapool_v1beta1/classes.rb +0 -918
- data/generated/google/apis/replicapool_v1beta1/representations.rb +0 -409
- data/generated/google/apis/replicapool_v1beta1/service.rb +0 -489
- data/generated/google/apis/replicapool_v1beta1.rb +0 -50
- data/generated/google/apis/servicebroker_v1/classes.rb +0 -333
- data/generated/google/apis/servicebroker_v1/service.rb +0 -177
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +0 -1037
- data/generated/google/apis/servicebroker_v1alpha1/service.rb +0 -737
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +0 -1173
- data/generated/google/apis/servicebroker_v1beta1/service.rb +0 -926
- data/generated/google/apis/storage_v1beta1/classes.rb +0 -616
- data/generated/google/apis/storage_v1beta1/representations.rb +0 -249
- data/generated/google/apis/storage_v1beta1/service.rb +0 -1032
- data/generated/google/apis/storage_v1beta1.rb +0 -40
- data/generated/google/apis/surveys_v2/classes.rb +0 -691
- data/generated/google/apis/surveys_v2.rb +0 -40
- data/generated/google/apis/urlshortener_v1/classes.rb +0 -246
- data/generated/google/apis/urlshortener_v1/representations.rb +0 -121
- data/generated/google/apis/urlshortener_v1/service.rb +0 -169
- data/generated/google/apis/urlshortener_v1.rb +0 -34
@@ -64,11 +64,78 @@ module Google
|
|
64
64
|
end
|
65
65
|
end
|
66
66
|
|
67
|
+
# A generic detected attribute represented by name in string format.
|
68
|
+
class GoogleCloudVideointelligenceV1DetectedAttribute
|
69
|
+
include Google::Apis::Core::Hashable
|
70
|
+
|
71
|
+
# Detected attribute confidence. Range [0, 1].
|
72
|
+
# Corresponds to the JSON property `confidence`
|
73
|
+
# @return [Float]
|
74
|
+
attr_accessor :confidence
|
75
|
+
|
76
|
+
# The name of the attribute, for example, glasses, dark_glasses, mouth_open.
|
77
|
+
# A full list of supported type names will be provided in the document.
|
78
|
+
# Corresponds to the JSON property `name`
|
79
|
+
# @return [String]
|
80
|
+
attr_accessor :name
|
81
|
+
|
82
|
+
# Text value of the detection result. For example, the value for "HairColor"
|
83
|
+
# can be "black", "blonde", etc.
|
84
|
+
# Corresponds to the JSON property `value`
|
85
|
+
# @return [String]
|
86
|
+
attr_accessor :value
|
87
|
+
|
88
|
+
def initialize(**args)
|
89
|
+
update!(**args)
|
90
|
+
end
|
91
|
+
|
92
|
+
# Update properties of this object
|
93
|
+
def update!(**args)
|
94
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
95
|
+
@name = args[:name] if args.key?(:name)
|
96
|
+
@value = args[:value] if args.key?(:value)
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
100
|
+
# A generic detected landmark represented by name in string format and a 2D
|
101
|
+
# location.
|
102
|
+
class GoogleCloudVideointelligenceV1DetectedLandmark
|
103
|
+
include Google::Apis::Core::Hashable
|
104
|
+
|
105
|
+
# The confidence score of the detected landmark. Range [0, 1].
|
106
|
+
# Corresponds to the JSON property `confidence`
|
107
|
+
# @return [Float]
|
108
|
+
attr_accessor :confidence
|
109
|
+
|
110
|
+
# The name of this landmark, for example, left_hand, right_shoulder.
|
111
|
+
# Corresponds to the JSON property `name`
|
112
|
+
# @return [String]
|
113
|
+
attr_accessor :name
|
114
|
+
|
115
|
+
# A vertex represents a 2D point in the image.
|
116
|
+
# NOTE: the normalized vertex coordinates are relative to the original image
|
117
|
+
# and range from 0 to 1.
|
118
|
+
# Corresponds to the JSON property `point`
|
119
|
+
# @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1NormalizedVertex]
|
120
|
+
attr_accessor :point
|
121
|
+
|
122
|
+
def initialize(**args)
|
123
|
+
update!(**args)
|
124
|
+
end
|
125
|
+
|
126
|
+
# Update properties of this object
|
127
|
+
def update!(**args)
|
128
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
129
|
+
@name = args[:name] if args.key?(:name)
|
130
|
+
@point = args[:point] if args.key?(:point)
|
131
|
+
end
|
132
|
+
end
|
133
|
+
|
67
134
|
# Detected entity from video analysis.
|
68
135
|
class GoogleCloudVideointelligenceV1Entity
|
69
136
|
include Google::Apis::Core::Hashable
|
70
137
|
|
71
|
-
# Textual description, e.g
|
138
|
+
# Textual description, e.g., `Fixed-gear bicycle`.
|
72
139
|
# Corresponds to the JSON property `description`
|
73
140
|
# @return [String]
|
74
141
|
attr_accessor :description
|
@@ -108,6 +175,11 @@ module Google
|
|
108
175
|
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1ExplicitContentFrame>]
|
109
176
|
attr_accessor :frames
|
110
177
|
|
178
|
+
# Feature version.
|
179
|
+
# Corresponds to the JSON property `version`
|
180
|
+
# @return [String]
|
181
|
+
attr_accessor :version
|
182
|
+
|
111
183
|
def initialize(**args)
|
112
184
|
update!(**args)
|
113
185
|
end
|
@@ -115,6 +187,7 @@ module Google
|
|
115
187
|
# Update properties of this object
|
116
188
|
def update!(**args)
|
117
189
|
@frames = args[:frames] if args.key?(:frames)
|
190
|
+
@version = args[:version] if args.key?(:version)
|
118
191
|
end
|
119
192
|
end
|
120
193
|
|
@@ -149,9 +222,9 @@ module Google
|
|
149
222
|
include Google::Apis::Core::Hashable
|
150
223
|
|
151
224
|
# Common categories for the detected entity.
|
152
|
-
#
|
153
|
-
# cases there might be more than one categories e.g
|
154
|
-
# a `pet`.
|
225
|
+
# For example, when the label is `Terrier`, the category is likely `dog`. And
|
226
|
+
# in some cases there might be more than one categories e.g., `Terrier` could
|
227
|
+
# also be a `pet`.
|
155
228
|
# Corresponds to the JSON property `categoryEntities`
|
156
229
|
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1Entity>]
|
157
230
|
attr_accessor :category_entities
|
@@ -171,6 +244,11 @@ module Google
|
|
171
244
|
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1LabelSegment>]
|
172
245
|
attr_accessor :segments
|
173
246
|
|
247
|
+
# Feature version.
|
248
|
+
# Corresponds to the JSON property `version`
|
249
|
+
# @return [String]
|
250
|
+
attr_accessor :version
|
251
|
+
|
174
252
|
def initialize(**args)
|
175
253
|
update!(**args)
|
176
254
|
end
|
@@ -181,6 +259,7 @@ module Google
|
|
181
259
|
@entity = args[:entity] if args.key?(:entity)
|
182
260
|
@frames = args[:frames] if args.key?(:frames)
|
183
261
|
@segments = args[:segments] if args.key?(:segments)
|
262
|
+
@version = args[:version] if args.key?(:version)
|
184
263
|
end
|
185
264
|
end
|
186
265
|
|
@@ -235,6 +314,39 @@ module Google
|
|
235
314
|
end
|
236
315
|
end
|
237
316
|
|
317
|
+
# Annotation corresponding to one detected, tracked and recognized logo class.
|
318
|
+
class GoogleCloudVideointelligenceV1LogoRecognitionAnnotation
|
319
|
+
include Google::Apis::Core::Hashable
|
320
|
+
|
321
|
+
# Detected entity from video analysis.
|
322
|
+
# Corresponds to the JSON property `entity`
|
323
|
+
# @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1Entity]
|
324
|
+
attr_accessor :entity
|
325
|
+
|
326
|
+
# All video segments where the recognized logo appears. There might be
|
327
|
+
# multiple instances of the same logo class appearing in one VideoSegment.
|
328
|
+
# Corresponds to the JSON property `segments`
|
329
|
+
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1VideoSegment>]
|
330
|
+
attr_accessor :segments
|
331
|
+
|
332
|
+
# All logo tracks where the recognized logo appears. Each track corresponds
|
333
|
+
# to one logo instance appearing in consecutive frames.
|
334
|
+
# Corresponds to the JSON property `tracks`
|
335
|
+
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1Track>]
|
336
|
+
attr_accessor :tracks
|
337
|
+
|
338
|
+
def initialize(**args)
|
339
|
+
update!(**args)
|
340
|
+
end
|
341
|
+
|
342
|
+
# Update properties of this object
|
343
|
+
def update!(**args)
|
344
|
+
@entity = args[:entity] if args.key?(:entity)
|
345
|
+
@segments = args[:segments] if args.key?(:segments)
|
346
|
+
@tracks = args[:tracks] if args.key?(:tracks)
|
347
|
+
end
|
348
|
+
end
|
349
|
+
|
238
350
|
# Normalized bounding box.
|
239
351
|
# The normalized vertex coordinates are relative to the original image.
|
240
352
|
# Range: [0, 1].
|
@@ -371,6 +483,11 @@ module Google
|
|
371
483
|
# @return [Fixnum]
|
372
484
|
attr_accessor :track_id
|
373
485
|
|
486
|
+
# Feature version.
|
487
|
+
# Corresponds to the JSON property `version`
|
488
|
+
# @return [String]
|
489
|
+
attr_accessor :version
|
490
|
+
|
374
491
|
def initialize(**args)
|
375
492
|
update!(**args)
|
376
493
|
end
|
@@ -382,6 +499,7 @@ module Google
|
|
382
499
|
@frames = args[:frames] if args.key?(:frames)
|
383
500
|
@segment = args[:segment] if args.key?(:segment)
|
384
501
|
@track_id = args[:track_id] if args.key?(:track_id)
|
502
|
+
@version = args[:version] if args.key?(:version)
|
385
503
|
end
|
386
504
|
end
|
387
505
|
|
@@ -433,8 +551,8 @@ module Google
|
|
433
551
|
attr_accessor :transcript
|
434
552
|
|
435
553
|
# Output only. A list of word-specific information for each recognized word.
|
436
|
-
# Note: When `enable_speaker_diarization` is true, you will see all
|
437
|
-
# from the beginning of the audio.
|
554
|
+
# Note: When `enable_speaker_diarization` is set to true, you will see all
|
555
|
+
# the words from the beginning of the audio.
|
438
556
|
# Corresponds to the JSON property `words`
|
439
557
|
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1WordInfo>]
|
440
558
|
attr_accessor :words
|
@@ -463,10 +581,10 @@ module Google
|
|
463
581
|
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1SpeechRecognitionAlternative>]
|
464
582
|
attr_accessor :alternatives
|
465
583
|
|
466
|
-
# Output only. The
|
467
|
-
#
|
468
|
-
# language in this result. This language code was detected to have the
|
469
|
-
# likelihood of being spoken in the audio.
|
584
|
+
# Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
|
585
|
+
# language tag of
|
586
|
+
# the language in this result. This language code was detected to have the
|
587
|
+
# most likelihood of being spoken in the audio.
|
470
588
|
# Corresponds to the JSON property `languageCode`
|
471
589
|
# @return [String]
|
472
590
|
attr_accessor :language_code
|
@@ -498,6 +616,11 @@ module Google
|
|
498
616
|
# @return [String]
|
499
617
|
attr_accessor :text
|
500
618
|
|
619
|
+
# Feature version.
|
620
|
+
# Corresponds to the JSON property `version`
|
621
|
+
# @return [String]
|
622
|
+
attr_accessor :version
|
623
|
+
|
501
624
|
def initialize(**args)
|
502
625
|
update!(**args)
|
503
626
|
end
|
@@ -506,6 +629,7 @@ module Google
|
|
506
629
|
def update!(**args)
|
507
630
|
@segments = args[:segments] if args.key?(:segments)
|
508
631
|
@text = args[:text] if args.key?(:text)
|
632
|
+
@version = args[:version] if args.key?(:version)
|
509
633
|
end
|
510
634
|
end
|
511
635
|
|
@@ -582,18 +706,97 @@ module Google
|
|
582
706
|
end
|
583
707
|
end
|
584
708
|
|
709
|
+
# For tracking related features.
|
710
|
+
# An object at time_offset with attributes, and located with
|
711
|
+
# normalized_bounding_box.
|
712
|
+
class GoogleCloudVideointelligenceV1TimestampedObject
|
713
|
+
include Google::Apis::Core::Hashable
|
714
|
+
|
715
|
+
# Optional. The attributes of the object in the bounding box.
|
716
|
+
# Corresponds to the JSON property `attributes`
|
717
|
+
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1DetectedAttribute>]
|
718
|
+
attr_accessor :attributes
|
719
|
+
|
720
|
+
# Optional. The detected landmarks.
|
721
|
+
# Corresponds to the JSON property `landmarks`
|
722
|
+
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1DetectedLandmark>]
|
723
|
+
attr_accessor :landmarks
|
724
|
+
|
725
|
+
# Normalized bounding box.
|
726
|
+
# The normalized vertex coordinates are relative to the original image.
|
727
|
+
# Range: [0, 1].
|
728
|
+
# Corresponds to the JSON property `normalizedBoundingBox`
|
729
|
+
# @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1NormalizedBoundingBox]
|
730
|
+
attr_accessor :normalized_bounding_box
|
731
|
+
|
732
|
+
# Time-offset, relative to the beginning of the video,
|
733
|
+
# corresponding to the video frame for this object.
|
734
|
+
# Corresponds to the JSON property `timeOffset`
|
735
|
+
# @return [String]
|
736
|
+
attr_accessor :time_offset
|
737
|
+
|
738
|
+
def initialize(**args)
|
739
|
+
update!(**args)
|
740
|
+
end
|
741
|
+
|
742
|
+
# Update properties of this object
|
743
|
+
def update!(**args)
|
744
|
+
@attributes = args[:attributes] if args.key?(:attributes)
|
745
|
+
@landmarks = args[:landmarks] if args.key?(:landmarks)
|
746
|
+
@normalized_bounding_box = args[:normalized_bounding_box] if args.key?(:normalized_bounding_box)
|
747
|
+
@time_offset = args[:time_offset] if args.key?(:time_offset)
|
748
|
+
end
|
749
|
+
end
|
750
|
+
|
751
|
+
# A track of an object instance.
|
752
|
+
class GoogleCloudVideointelligenceV1Track
|
753
|
+
include Google::Apis::Core::Hashable
|
754
|
+
|
755
|
+
# Optional. Attributes in the track level.
|
756
|
+
# Corresponds to the JSON property `attributes`
|
757
|
+
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1DetectedAttribute>]
|
758
|
+
attr_accessor :attributes
|
759
|
+
|
760
|
+
# Optional. The confidence score of the tracked object.
|
761
|
+
# Corresponds to the JSON property `confidence`
|
762
|
+
# @return [Float]
|
763
|
+
attr_accessor :confidence
|
764
|
+
|
765
|
+
# Video segment.
|
766
|
+
# Corresponds to the JSON property `segment`
|
767
|
+
# @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1VideoSegment]
|
768
|
+
attr_accessor :segment
|
769
|
+
|
770
|
+
# The object with timestamp and attributes per frame in the track.
|
771
|
+
# Corresponds to the JSON property `timestampedObjects`
|
772
|
+
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1TimestampedObject>]
|
773
|
+
attr_accessor :timestamped_objects
|
774
|
+
|
775
|
+
def initialize(**args)
|
776
|
+
update!(**args)
|
777
|
+
end
|
778
|
+
|
779
|
+
# Update properties of this object
|
780
|
+
def update!(**args)
|
781
|
+
@attributes = args[:attributes] if args.key?(:attributes)
|
782
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
783
|
+
@segment = args[:segment] if args.key?(:segment)
|
784
|
+
@timestamped_objects = args[:timestamped_objects] if args.key?(:timestamped_objects)
|
785
|
+
end
|
786
|
+
end
|
787
|
+
|
585
788
|
# Annotation progress for a single video.
|
586
789
|
class GoogleCloudVideointelligenceV1VideoAnnotationProgress
|
587
790
|
include Google::Apis::Core::Hashable
|
588
791
|
|
589
792
|
# Specifies which feature is being tracked if the request contains more than
|
590
|
-
# one
|
793
|
+
# one feature.
|
591
794
|
# Corresponds to the JSON property `feature`
|
592
795
|
# @return [String]
|
593
796
|
attr_accessor :feature
|
594
797
|
|
595
798
|
# Video file location in
|
596
|
-
# [
|
799
|
+
# [Cloud Storage](https://cloud.google.com/storage/).
|
597
800
|
# Corresponds to the JSON property `inputUri`
|
598
801
|
# @return [String]
|
599
802
|
attr_accessor :input_uri
|
@@ -662,11 +865,16 @@ module Google
|
|
662
865
|
attr_accessor :frame_label_annotations
|
663
866
|
|
664
867
|
# Video file location in
|
665
|
-
# [
|
868
|
+
# [Cloud Storage](https://cloud.google.com/storage/).
|
666
869
|
# Corresponds to the JSON property `inputUri`
|
667
870
|
# @return [String]
|
668
871
|
attr_accessor :input_uri
|
669
872
|
|
873
|
+
# Annotations for list of logos detected, tracked and recognized in video.
|
874
|
+
# Corresponds to the JSON property `logoRecognitionAnnotations`
|
875
|
+
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1LogoRecognitionAnnotation>]
|
876
|
+
attr_accessor :logo_recognition_annotations
|
877
|
+
|
670
878
|
# Annotations for list of objects detected and tracked in video.
|
671
879
|
# Corresponds to the JSON property `objectAnnotations`
|
672
880
|
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1ObjectTrackingAnnotation>]
|
@@ -677,13 +885,13 @@ module Google
|
|
677
885
|
# @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1VideoSegment]
|
678
886
|
attr_accessor :segment
|
679
887
|
|
680
|
-
# Topical label annotations on video level or user
|
888
|
+
# Topical label annotations on video level or user-specified segment level.
|
681
889
|
# There is exactly one element for each unique label.
|
682
890
|
# Corresponds to the JSON property `segmentLabelAnnotations`
|
683
891
|
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1LabelAnnotation>]
|
684
892
|
attr_accessor :segment_label_annotations
|
685
893
|
|
686
|
-
# Presence label annotations on video level or user
|
894
|
+
# Presence label annotations on video level or user-specified segment level.
|
687
895
|
# There is exactly one element for each unique label. Compared to the
|
688
896
|
# existing topical `segment_label_annotations`, this field presents more
|
689
897
|
# fine-grained, segment-level labels detected in video content and is made
|
@@ -735,6 +943,7 @@ module Google
|
|
735
943
|
@explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
|
736
944
|
@frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
|
737
945
|
@input_uri = args[:input_uri] if args.key?(:input_uri)
|
946
|
+
@logo_recognition_annotations = args[:logo_recognition_annotations] if args.key?(:logo_recognition_annotations)
|
738
947
|
@object_annotations = args[:object_annotations] if args.key?(:object_annotations)
|
739
948
|
@segment = args[:segment] if args.key?(:segment)
|
740
949
|
@segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
|
@@ -875,11 +1084,78 @@ module Google
|
|
875
1084
|
end
|
876
1085
|
end
|
877
1086
|
|
1087
|
+
# A generic detected attribute represented by name in string format.
|
1088
|
+
class GoogleCloudVideointelligenceV1beta2DetectedAttribute
|
1089
|
+
include Google::Apis::Core::Hashable
|
1090
|
+
|
1091
|
+
# Detected attribute confidence. Range [0, 1].
|
1092
|
+
# Corresponds to the JSON property `confidence`
|
1093
|
+
# @return [Float]
|
1094
|
+
attr_accessor :confidence
|
1095
|
+
|
1096
|
+
# The name of the attribute, for example, glasses, dark_glasses, mouth_open.
|
1097
|
+
# A full list of supported type names will be provided in the document.
|
1098
|
+
# Corresponds to the JSON property `name`
|
1099
|
+
# @return [String]
|
1100
|
+
attr_accessor :name
|
1101
|
+
|
1102
|
+
# Text value of the detection result. For example, the value for "HairColor"
|
1103
|
+
# can be "black", "blonde", etc.
|
1104
|
+
# Corresponds to the JSON property `value`
|
1105
|
+
# @return [String]
|
1106
|
+
attr_accessor :value
|
1107
|
+
|
1108
|
+
def initialize(**args)
|
1109
|
+
update!(**args)
|
1110
|
+
end
|
1111
|
+
|
1112
|
+
# Update properties of this object
|
1113
|
+
def update!(**args)
|
1114
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
1115
|
+
@name = args[:name] if args.key?(:name)
|
1116
|
+
@value = args[:value] if args.key?(:value)
|
1117
|
+
end
|
1118
|
+
end
|
1119
|
+
|
1120
|
+
# A generic detected landmark represented by name in string format and a 2D
|
1121
|
+
# location.
|
1122
|
+
class GoogleCloudVideointelligenceV1beta2DetectedLandmark
|
1123
|
+
include Google::Apis::Core::Hashable
|
1124
|
+
|
1125
|
+
# The confidence score of the detected landmark. Range [0, 1].
|
1126
|
+
# Corresponds to the JSON property `confidence`
|
1127
|
+
# @return [Float]
|
1128
|
+
attr_accessor :confidence
|
1129
|
+
|
1130
|
+
# The name of this landmark, for example, left_hand, right_shoulder.
|
1131
|
+
# Corresponds to the JSON property `name`
|
1132
|
+
# @return [String]
|
1133
|
+
attr_accessor :name
|
1134
|
+
|
1135
|
+
# A vertex represents a 2D point in the image.
|
1136
|
+
# NOTE: the normalized vertex coordinates are relative to the original image
|
1137
|
+
# and range from 0 to 1.
|
1138
|
+
# Corresponds to the JSON property `point`
|
1139
|
+
# @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2NormalizedVertex]
|
1140
|
+
attr_accessor :point
|
1141
|
+
|
1142
|
+
def initialize(**args)
|
1143
|
+
update!(**args)
|
1144
|
+
end
|
1145
|
+
|
1146
|
+
# Update properties of this object
|
1147
|
+
def update!(**args)
|
1148
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
1149
|
+
@name = args[:name] if args.key?(:name)
|
1150
|
+
@point = args[:point] if args.key?(:point)
|
1151
|
+
end
|
1152
|
+
end
|
1153
|
+
|
878
1154
|
# Detected entity from video analysis.
|
879
1155
|
class GoogleCloudVideointelligenceV1beta2Entity
|
880
1156
|
include Google::Apis::Core::Hashable
|
881
1157
|
|
882
|
-
# Textual description, e.g
|
1158
|
+
# Textual description, e.g., `Fixed-gear bicycle`.
|
883
1159
|
# Corresponds to the JSON property `description`
|
884
1160
|
# @return [String]
|
885
1161
|
attr_accessor :description
|
@@ -919,6 +1195,11 @@ module Google
|
|
919
1195
|
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2ExplicitContentFrame>]
|
920
1196
|
attr_accessor :frames
|
921
1197
|
|
1198
|
+
# Feature version.
|
1199
|
+
# Corresponds to the JSON property `version`
|
1200
|
+
# @return [String]
|
1201
|
+
attr_accessor :version
|
1202
|
+
|
922
1203
|
def initialize(**args)
|
923
1204
|
update!(**args)
|
924
1205
|
end
|
@@ -926,6 +1207,7 @@ module Google
|
|
926
1207
|
# Update properties of this object
|
927
1208
|
def update!(**args)
|
928
1209
|
@frames = args[:frames] if args.key?(:frames)
|
1210
|
+
@version = args[:version] if args.key?(:version)
|
929
1211
|
end
|
930
1212
|
end
|
931
1213
|
|
@@ -960,9 +1242,9 @@ module Google
|
|
960
1242
|
include Google::Apis::Core::Hashable
|
961
1243
|
|
962
1244
|
# Common categories for the detected entity.
|
963
|
-
#
|
964
|
-
# cases there might be more than one categories e.g
|
965
|
-
# a `pet`.
|
1245
|
+
# For example, when the label is `Terrier`, the category is likely `dog`. And
|
1246
|
+
# in some cases there might be more than one categories e.g., `Terrier` could
|
1247
|
+
# also be a `pet`.
|
966
1248
|
# Corresponds to the JSON property `categoryEntities`
|
967
1249
|
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2Entity>]
|
968
1250
|
attr_accessor :category_entities
|
@@ -982,6 +1264,11 @@ module Google
|
|
982
1264
|
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2LabelSegment>]
|
983
1265
|
attr_accessor :segments
|
984
1266
|
|
1267
|
+
# Feature version.
|
1268
|
+
# Corresponds to the JSON property `version`
|
1269
|
+
# @return [String]
|
1270
|
+
attr_accessor :version
|
1271
|
+
|
985
1272
|
def initialize(**args)
|
986
1273
|
update!(**args)
|
987
1274
|
end
|
@@ -992,6 +1279,7 @@ module Google
|
|
992
1279
|
@entity = args[:entity] if args.key?(:entity)
|
993
1280
|
@frames = args[:frames] if args.key?(:frames)
|
994
1281
|
@segments = args[:segments] if args.key?(:segments)
|
1282
|
+
@version = args[:version] if args.key?(:version)
|
995
1283
|
end
|
996
1284
|
end
|
997
1285
|
|
@@ -1046,6 +1334,39 @@ module Google
|
|
1046
1334
|
end
|
1047
1335
|
end
|
1048
1336
|
|
1337
|
+
# Annotation corresponding to one detected, tracked and recognized logo class.
|
1338
|
+
class GoogleCloudVideointelligenceV1beta2LogoRecognitionAnnotation
|
1339
|
+
include Google::Apis::Core::Hashable
|
1340
|
+
|
1341
|
+
# Detected entity from video analysis.
|
1342
|
+
# Corresponds to the JSON property `entity`
|
1343
|
+
# @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2Entity]
|
1344
|
+
attr_accessor :entity
|
1345
|
+
|
1346
|
+
# All video segments where the recognized logo appears. There might be
|
1347
|
+
# multiple instances of the same logo class appearing in one VideoSegment.
|
1348
|
+
# Corresponds to the JSON property `segments`
|
1349
|
+
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2VideoSegment>]
|
1350
|
+
attr_accessor :segments
|
1351
|
+
|
1352
|
+
# All logo tracks where the recognized logo appears. Each track corresponds
|
1353
|
+
# to one logo instance appearing in consecutive frames.
|
1354
|
+
# Corresponds to the JSON property `tracks`
|
1355
|
+
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2Track>]
|
1356
|
+
attr_accessor :tracks
|
1357
|
+
|
1358
|
+
def initialize(**args)
|
1359
|
+
update!(**args)
|
1360
|
+
end
|
1361
|
+
|
1362
|
+
# Update properties of this object
|
1363
|
+
def update!(**args)
|
1364
|
+
@entity = args[:entity] if args.key?(:entity)
|
1365
|
+
@segments = args[:segments] if args.key?(:segments)
|
1366
|
+
@tracks = args[:tracks] if args.key?(:tracks)
|
1367
|
+
end
|
1368
|
+
end
|
1369
|
+
|
1049
1370
|
# Normalized bounding box.
|
1050
1371
|
# The normalized vertex coordinates are relative to the original image.
|
1051
1372
|
# Range: [0, 1].
|
@@ -1182,6 +1503,11 @@ module Google
|
|
1182
1503
|
# @return [Fixnum]
|
1183
1504
|
attr_accessor :track_id
|
1184
1505
|
|
1506
|
+
# Feature version.
|
1507
|
+
# Corresponds to the JSON property `version`
|
1508
|
+
# @return [String]
|
1509
|
+
attr_accessor :version
|
1510
|
+
|
1185
1511
|
def initialize(**args)
|
1186
1512
|
update!(**args)
|
1187
1513
|
end
|
@@ -1193,6 +1519,7 @@ module Google
|
|
1193
1519
|
@frames = args[:frames] if args.key?(:frames)
|
1194
1520
|
@segment = args[:segment] if args.key?(:segment)
|
1195
1521
|
@track_id = args[:track_id] if args.key?(:track_id)
|
1522
|
+
@version = args[:version] if args.key?(:version)
|
1196
1523
|
end
|
1197
1524
|
end
|
1198
1525
|
|
@@ -1244,8 +1571,8 @@ module Google
|
|
1244
1571
|
attr_accessor :transcript
|
1245
1572
|
|
1246
1573
|
# Output only. A list of word-specific information for each recognized word.
|
1247
|
-
# Note: When `enable_speaker_diarization` is true, you will see all
|
1248
|
-
# from the beginning of the audio.
|
1574
|
+
# Note: When `enable_speaker_diarization` is set to true, you will see all
|
1575
|
+
# the words from the beginning of the audio.
|
1249
1576
|
# Corresponds to the JSON property `words`
|
1250
1577
|
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2WordInfo>]
|
1251
1578
|
attr_accessor :words
|
@@ -1274,10 +1601,10 @@ module Google
|
|
1274
1601
|
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative>]
|
1275
1602
|
attr_accessor :alternatives
|
1276
1603
|
|
1277
|
-
# Output only. The
|
1278
|
-
#
|
1279
|
-
# language in this result. This language code was detected to have the
|
1280
|
-
# likelihood of being spoken in the audio.
|
1604
|
+
# Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
|
1605
|
+
# language tag of
|
1606
|
+
# the language in this result. This language code was detected to have the
|
1607
|
+
# most likelihood of being spoken in the audio.
|
1281
1608
|
# Corresponds to the JSON property `languageCode`
|
1282
1609
|
# @return [String]
|
1283
1610
|
attr_accessor :language_code
|
@@ -1309,7 +1636,12 @@ module Google
|
|
1309
1636
|
# @return [String]
|
1310
1637
|
attr_accessor :text
|
1311
1638
|
|
1312
|
-
|
1639
|
+
# Feature version.
|
1640
|
+
# Corresponds to the JSON property `version`
|
1641
|
+
# @return [String]
|
1642
|
+
attr_accessor :version
|
1643
|
+
|
1644
|
+
def initialize(**args)
|
1313
1645
|
update!(**args)
|
1314
1646
|
end
|
1315
1647
|
|
@@ -1317,6 +1649,7 @@ module Google
|
|
1317
1649
|
def update!(**args)
|
1318
1650
|
@segments = args[:segments] if args.key?(:segments)
|
1319
1651
|
@text = args[:text] if args.key?(:text)
|
1652
|
+
@version = args[:version] if args.key?(:version)
|
1320
1653
|
end
|
1321
1654
|
end
|
1322
1655
|
|
@@ -1393,18 +1726,97 @@ module Google
|
|
1393
1726
|
end
|
1394
1727
|
end
|
1395
1728
|
|
1729
|
+
# For tracking related features.
|
1730
|
+
# An object at time_offset with attributes, and located with
|
1731
|
+
# normalized_bounding_box.
|
1732
|
+
class GoogleCloudVideointelligenceV1beta2TimestampedObject
|
1733
|
+
include Google::Apis::Core::Hashable
|
1734
|
+
|
1735
|
+
# Optional. The attributes of the object in the bounding box.
|
1736
|
+
# Corresponds to the JSON property `attributes`
|
1737
|
+
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2DetectedAttribute>]
|
1738
|
+
attr_accessor :attributes
|
1739
|
+
|
1740
|
+
# Optional. The detected landmarks.
|
1741
|
+
# Corresponds to the JSON property `landmarks`
|
1742
|
+
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2DetectedLandmark>]
|
1743
|
+
attr_accessor :landmarks
|
1744
|
+
|
1745
|
+
# Normalized bounding box.
|
1746
|
+
# The normalized vertex coordinates are relative to the original image.
|
1747
|
+
# Range: [0, 1].
|
1748
|
+
# Corresponds to the JSON property `normalizedBoundingBox`
|
1749
|
+
# @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox]
|
1750
|
+
attr_accessor :normalized_bounding_box
|
1751
|
+
|
1752
|
+
# Time-offset, relative to the beginning of the video,
|
1753
|
+
# corresponding to the video frame for this object.
|
1754
|
+
# Corresponds to the JSON property `timeOffset`
|
1755
|
+
# @return [String]
|
1756
|
+
attr_accessor :time_offset
|
1757
|
+
|
1758
|
+
def initialize(**args)
|
1759
|
+
update!(**args)
|
1760
|
+
end
|
1761
|
+
|
1762
|
+
# Update properties of this object
|
1763
|
+
def update!(**args)
|
1764
|
+
@attributes = args[:attributes] if args.key?(:attributes)
|
1765
|
+
@landmarks = args[:landmarks] if args.key?(:landmarks)
|
1766
|
+
@normalized_bounding_box = args[:normalized_bounding_box] if args.key?(:normalized_bounding_box)
|
1767
|
+
@time_offset = args[:time_offset] if args.key?(:time_offset)
|
1768
|
+
end
|
1769
|
+
end
|
1770
|
+
|
1771
|
+
# A track of an object instance.
|
1772
|
+
class GoogleCloudVideointelligenceV1beta2Track
|
1773
|
+
include Google::Apis::Core::Hashable
|
1774
|
+
|
1775
|
+
# Optional. Attributes in the track level.
|
1776
|
+
# Corresponds to the JSON property `attributes`
|
1777
|
+
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2DetectedAttribute>]
|
1778
|
+
attr_accessor :attributes
|
1779
|
+
|
1780
|
+
# Optional. The confidence score of the tracked object.
|
1781
|
+
# Corresponds to the JSON property `confidence`
|
1782
|
+
# @return [Float]
|
1783
|
+
attr_accessor :confidence
|
1784
|
+
|
1785
|
+
# Video segment.
|
1786
|
+
# Corresponds to the JSON property `segment`
|
1787
|
+
# @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2VideoSegment]
|
1788
|
+
attr_accessor :segment
|
1789
|
+
|
1790
|
+
# The object with timestamp and attributes per frame in the track.
|
1791
|
+
# Corresponds to the JSON property `timestampedObjects`
|
1792
|
+
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2TimestampedObject>]
|
1793
|
+
attr_accessor :timestamped_objects
|
1794
|
+
|
1795
|
+
def initialize(**args)
|
1796
|
+
update!(**args)
|
1797
|
+
end
|
1798
|
+
|
1799
|
+
# Update properties of this object
|
1800
|
+
def update!(**args)
|
1801
|
+
@attributes = args[:attributes] if args.key?(:attributes)
|
1802
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
1803
|
+
@segment = args[:segment] if args.key?(:segment)
|
1804
|
+
@timestamped_objects = args[:timestamped_objects] if args.key?(:timestamped_objects)
|
1805
|
+
end
|
1806
|
+
end
|
1807
|
+
|
1396
1808
|
# Annotation progress for a single video.
|
1397
1809
|
class GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress
|
1398
1810
|
include Google::Apis::Core::Hashable
|
1399
1811
|
|
1400
1812
|
# Specifies which feature is being tracked if the request contains more than
|
1401
|
-
# one
|
1813
|
+
# one feature.
|
1402
1814
|
# Corresponds to the JSON property `feature`
|
1403
1815
|
# @return [String]
|
1404
1816
|
attr_accessor :feature
|
1405
1817
|
|
1406
1818
|
# Video file location in
|
1407
|
-
# [
|
1819
|
+
# [Cloud Storage](https://cloud.google.com/storage/).
|
1408
1820
|
# Corresponds to the JSON property `inputUri`
|
1409
1821
|
# @return [String]
|
1410
1822
|
attr_accessor :input_uri
|
@@ -1473,11 +1885,16 @@ module Google
|
|
1473
1885
|
attr_accessor :frame_label_annotations
|
1474
1886
|
|
1475
1887
|
# Video file location in
|
1476
|
-
# [
|
1888
|
+
# [Cloud Storage](https://cloud.google.com/storage/).
|
1477
1889
|
# Corresponds to the JSON property `inputUri`
|
1478
1890
|
# @return [String]
|
1479
1891
|
attr_accessor :input_uri
|
1480
1892
|
|
1893
|
+
# Annotations for list of logos detected, tracked and recognized in video.
|
1894
|
+
# Corresponds to the JSON property `logoRecognitionAnnotations`
|
1895
|
+
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2LogoRecognitionAnnotation>]
|
1896
|
+
attr_accessor :logo_recognition_annotations
|
1897
|
+
|
1481
1898
|
# Annotations for list of objects detected and tracked in video.
|
1482
1899
|
# Corresponds to the JSON property `objectAnnotations`
|
1483
1900
|
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation>]
|
@@ -1488,13 +1905,13 @@ module Google
|
|
1488
1905
|
# @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2VideoSegment]
|
1489
1906
|
attr_accessor :segment
|
1490
1907
|
|
1491
|
-
# Topical label annotations on video level or user
|
1908
|
+
# Topical label annotations on video level or user-specified segment level.
|
1492
1909
|
# There is exactly one element for each unique label.
|
1493
1910
|
# Corresponds to the JSON property `segmentLabelAnnotations`
|
1494
1911
|
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
|
1495
1912
|
attr_accessor :segment_label_annotations
|
1496
1913
|
|
1497
|
-
# Presence label annotations on video level or user
|
1914
|
+
# Presence label annotations on video level or user-specified segment level.
|
1498
1915
|
# There is exactly one element for each unique label. Compared to the
|
1499
1916
|
# existing topical `segment_label_annotations`, this field presents more
|
1500
1917
|
# fine-grained, segment-level labels detected in video content and is made
|
@@ -1546,6 +1963,7 @@ module Google
|
|
1546
1963
|
@explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
|
1547
1964
|
@frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
|
1548
1965
|
@input_uri = args[:input_uri] if args.key?(:input_uri)
|
1966
|
+
@logo_recognition_annotations = args[:logo_recognition_annotations] if args.key?(:logo_recognition_annotations)
|
1549
1967
|
@object_annotations = args[:object_annotations] if args.key?(:object_annotations)
|
1550
1968
|
@segment = args[:segment] if args.key?(:segment)
|
1551
1969
|
@segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
|
@@ -1686,11 +2104,78 @@ module Google
|
|
1686
2104
|
end
|
1687
2105
|
end
|
1688
2106
|
|
2107
|
+
# A generic detected attribute represented by name in string format.
|
2108
|
+
class GoogleCloudVideointelligenceV1p1beta1DetectedAttribute
|
2109
|
+
include Google::Apis::Core::Hashable
|
2110
|
+
|
2111
|
+
# Detected attribute confidence. Range [0, 1].
|
2112
|
+
# Corresponds to the JSON property `confidence`
|
2113
|
+
# @return [Float]
|
2114
|
+
attr_accessor :confidence
|
2115
|
+
|
2116
|
+
# The name of the attribute, for example, glasses, dark_glasses, mouth_open.
|
2117
|
+
# A full list of supported type names will be provided in the document.
|
2118
|
+
# Corresponds to the JSON property `name`
|
2119
|
+
# @return [String]
|
2120
|
+
attr_accessor :name
|
2121
|
+
|
2122
|
+
# Text value of the detection result. For example, the value for "HairColor"
|
2123
|
+
# can be "black", "blonde", etc.
|
2124
|
+
# Corresponds to the JSON property `value`
|
2125
|
+
# @return [String]
|
2126
|
+
attr_accessor :value
|
2127
|
+
|
2128
|
+
def initialize(**args)
|
2129
|
+
update!(**args)
|
2130
|
+
end
|
2131
|
+
|
2132
|
+
# Update properties of this object
|
2133
|
+
def update!(**args)
|
2134
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
2135
|
+
@name = args[:name] if args.key?(:name)
|
2136
|
+
@value = args[:value] if args.key?(:value)
|
2137
|
+
end
|
2138
|
+
end
|
2139
|
+
|
2140
|
+
# A generic detected landmark represented by name in string format and a 2D
|
2141
|
+
# location.
|
2142
|
+
class GoogleCloudVideointelligenceV1p1beta1DetectedLandmark
|
2143
|
+
include Google::Apis::Core::Hashable
|
2144
|
+
|
2145
|
+
# The confidence score of the detected landmark. Range [0, 1].
|
2146
|
+
# Corresponds to the JSON property `confidence`
|
2147
|
+
# @return [Float]
|
2148
|
+
attr_accessor :confidence
|
2149
|
+
|
2150
|
+
# The name of this landmark, for example, left_hand, right_shoulder.
|
2151
|
+
# Corresponds to the JSON property `name`
|
2152
|
+
# @return [String]
|
2153
|
+
attr_accessor :name
|
2154
|
+
|
2155
|
+
# A vertex represents a 2D point in the image.
|
2156
|
+
# NOTE: the normalized vertex coordinates are relative to the original image
|
2157
|
+
# and range from 0 to 1.
|
2158
|
+
# Corresponds to the JSON property `point`
|
2159
|
+
# @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1NormalizedVertex]
|
2160
|
+
attr_accessor :point
|
2161
|
+
|
2162
|
+
def initialize(**args)
|
2163
|
+
update!(**args)
|
2164
|
+
end
|
2165
|
+
|
2166
|
+
# Update properties of this object
|
2167
|
+
def update!(**args)
|
2168
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
2169
|
+
@name = args[:name] if args.key?(:name)
|
2170
|
+
@point = args[:point] if args.key?(:point)
|
2171
|
+
end
|
2172
|
+
end
|
2173
|
+
|
1689
2174
|
# Detected entity from video analysis.
|
1690
2175
|
class GoogleCloudVideointelligenceV1p1beta1Entity
|
1691
2176
|
include Google::Apis::Core::Hashable
|
1692
2177
|
|
1693
|
-
# Textual description, e.g
|
2178
|
+
# Textual description, e.g., `Fixed-gear bicycle`.
|
1694
2179
|
# Corresponds to the JSON property `description`
|
1695
2180
|
# @return [String]
|
1696
2181
|
attr_accessor :description
|
@@ -1730,6 +2215,11 @@ module Google
|
|
1730
2215
|
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentFrame>]
|
1731
2216
|
attr_accessor :frames
|
1732
2217
|
|
2218
|
+
# Feature version.
|
2219
|
+
# Corresponds to the JSON property `version`
|
2220
|
+
# @return [String]
|
2221
|
+
attr_accessor :version
|
2222
|
+
|
1733
2223
|
def initialize(**args)
|
1734
2224
|
update!(**args)
|
1735
2225
|
end
|
@@ -1737,6 +2227,7 @@ module Google
|
|
1737
2227
|
# Update properties of this object
|
1738
2228
|
def update!(**args)
|
1739
2229
|
@frames = args[:frames] if args.key?(:frames)
|
2230
|
+
@version = args[:version] if args.key?(:version)
|
1740
2231
|
end
|
1741
2232
|
end
|
1742
2233
|
|
@@ -1771,9 +2262,9 @@ module Google
|
|
1771
2262
|
include Google::Apis::Core::Hashable
|
1772
2263
|
|
1773
2264
|
# Common categories for the detected entity.
|
1774
|
-
#
|
1775
|
-
# cases there might be more than one categories e.g
|
1776
|
-
# a `pet`.
|
2265
|
+
# For example, when the label is `Terrier`, the category is likely `dog`. And
|
2266
|
+
# in some cases there might be more than one categories e.g., `Terrier` could
|
2267
|
+
# also be a `pet`.
|
1777
2268
|
# Corresponds to the JSON property `categoryEntities`
|
1778
2269
|
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1Entity>]
|
1779
2270
|
attr_accessor :category_entities
|
@@ -1793,6 +2284,11 @@ module Google
|
|
1793
2284
|
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1LabelSegment>]
|
1794
2285
|
attr_accessor :segments
|
1795
2286
|
|
2287
|
+
# Feature version.
|
2288
|
+
# Corresponds to the JSON property `version`
|
2289
|
+
# @return [String]
|
2290
|
+
attr_accessor :version
|
2291
|
+
|
1796
2292
|
def initialize(**args)
|
1797
2293
|
update!(**args)
|
1798
2294
|
end
|
@@ -1803,6 +2299,7 @@ module Google
|
|
1803
2299
|
@entity = args[:entity] if args.key?(:entity)
|
1804
2300
|
@frames = args[:frames] if args.key?(:frames)
|
1805
2301
|
@segments = args[:segments] if args.key?(:segments)
|
2302
|
+
@version = args[:version] if args.key?(:version)
|
1806
2303
|
end
|
1807
2304
|
end
|
1808
2305
|
|
@@ -1857,6 +2354,39 @@ module Google
|
|
1857
2354
|
end
|
1858
2355
|
end
|
1859
2356
|
|
2357
|
+
# Annotation corresponding to one detected, tracked and recognized logo class.
|
2358
|
+
class GoogleCloudVideointelligenceV1p1beta1LogoRecognitionAnnotation
|
2359
|
+
include Google::Apis::Core::Hashable
|
2360
|
+
|
2361
|
+
# Detected entity from video analysis.
|
2362
|
+
# Corresponds to the JSON property `entity`
|
2363
|
+
# @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1Entity]
|
2364
|
+
attr_accessor :entity
|
2365
|
+
|
2366
|
+
# All video segments where the recognized logo appears. There might be
|
2367
|
+
# multiple instances of the same logo class appearing in one VideoSegment.
|
2368
|
+
# Corresponds to the JSON property `segments`
|
2369
|
+
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment>]
|
2370
|
+
attr_accessor :segments
|
2371
|
+
|
2372
|
+
# All logo tracks where the recognized logo appears. Each track corresponds
|
2373
|
+
# to one logo instance appearing in consecutive frames.
|
2374
|
+
# Corresponds to the JSON property `tracks`
|
2375
|
+
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1Track>]
|
2376
|
+
attr_accessor :tracks
|
2377
|
+
|
2378
|
+
def initialize(**args)
|
2379
|
+
update!(**args)
|
2380
|
+
end
|
2381
|
+
|
2382
|
+
# Update properties of this object
|
2383
|
+
def update!(**args)
|
2384
|
+
@entity = args[:entity] if args.key?(:entity)
|
2385
|
+
@segments = args[:segments] if args.key?(:segments)
|
2386
|
+
@tracks = args[:tracks] if args.key?(:tracks)
|
2387
|
+
end
|
2388
|
+
end
|
2389
|
+
|
1860
2390
|
# Normalized bounding box.
|
1861
2391
|
# The normalized vertex coordinates are relative to the original image.
|
1862
2392
|
# Range: [0, 1].
|
@@ -1993,6 +2523,11 @@ module Google
|
|
1993
2523
|
# @return [Fixnum]
|
1994
2524
|
attr_accessor :track_id
|
1995
2525
|
|
2526
|
+
# Feature version.
|
2527
|
+
# Corresponds to the JSON property `version`
|
2528
|
+
# @return [String]
|
2529
|
+
attr_accessor :version
|
2530
|
+
|
1996
2531
|
def initialize(**args)
|
1997
2532
|
update!(**args)
|
1998
2533
|
end
|
@@ -2004,6 +2539,7 @@ module Google
|
|
2004
2539
|
@frames = args[:frames] if args.key?(:frames)
|
2005
2540
|
@segment = args[:segment] if args.key?(:segment)
|
2006
2541
|
@track_id = args[:track_id] if args.key?(:track_id)
|
2542
|
+
@version = args[:version] if args.key?(:version)
|
2007
2543
|
end
|
2008
2544
|
end
|
2009
2545
|
|
@@ -2055,8 +2591,8 @@ module Google
|
|
2055
2591
|
attr_accessor :transcript
|
2056
2592
|
|
2057
2593
|
# Output only. A list of word-specific information for each recognized word.
|
2058
|
-
# Note: When `enable_speaker_diarization` is true, you will see all
|
2059
|
-
# from the beginning of the audio.
|
2594
|
+
# Note: When `enable_speaker_diarization` is set to true, you will see all
|
2595
|
+
# the words from the beginning of the audio.
|
2060
2596
|
# Corresponds to the JSON property `words`
|
2061
2597
|
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1WordInfo>]
|
2062
2598
|
attr_accessor :words
|
@@ -2085,10 +2621,10 @@ module Google
|
|
2085
2621
|
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative>]
|
2086
2622
|
attr_accessor :alternatives
|
2087
2623
|
|
2088
|
-
# Output only. The
|
2089
|
-
#
|
2090
|
-
# language in this result. This language code was detected to have the
|
2091
|
-
# likelihood of being spoken in the audio.
|
2624
|
+
# Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
|
2625
|
+
# language tag of
|
2626
|
+
# the language in this result. This language code was detected to have the
|
2627
|
+
# most likelihood of being spoken in the audio.
|
2092
2628
|
# Corresponds to the JSON property `languageCode`
|
2093
2629
|
# @return [String]
|
2094
2630
|
attr_accessor :language_code
|
@@ -2120,6 +2656,11 @@ module Google
|
|
2120
2656
|
# @return [String]
|
2121
2657
|
attr_accessor :text
|
2122
2658
|
|
2659
|
+
# Feature version.
|
2660
|
+
# Corresponds to the JSON property `version`
|
2661
|
+
# @return [String]
|
2662
|
+
attr_accessor :version
|
2663
|
+
|
2123
2664
|
def initialize(**args)
|
2124
2665
|
update!(**args)
|
2125
2666
|
end
|
@@ -2128,6 +2669,7 @@ module Google
|
|
2128
2669
|
def update!(**args)
|
2129
2670
|
@segments = args[:segments] if args.key?(:segments)
|
2130
2671
|
@text = args[:text] if args.key?(:text)
|
2672
|
+
@version = args[:version] if args.key?(:version)
|
2131
2673
|
end
|
2132
2674
|
end
|
2133
2675
|
|
@@ -2204,18 +2746,97 @@ module Google
|
|
2204
2746
|
end
|
2205
2747
|
end
|
2206
2748
|
|
2749
|
+
# For tracking related features.
|
2750
|
+
# An object at time_offset with attributes, and located with
|
2751
|
+
# normalized_bounding_box.
|
2752
|
+
class GoogleCloudVideointelligenceV1p1beta1TimestampedObject
|
2753
|
+
include Google::Apis::Core::Hashable
|
2754
|
+
|
2755
|
+
# Optional. The attributes of the object in the bounding box.
|
2756
|
+
# Corresponds to the JSON property `attributes`
|
2757
|
+
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1DetectedAttribute>]
|
2758
|
+
attr_accessor :attributes
|
2759
|
+
|
2760
|
+
# Optional. The detected landmarks.
|
2761
|
+
# Corresponds to the JSON property `landmarks`
|
2762
|
+
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1DetectedLandmark>]
|
2763
|
+
attr_accessor :landmarks
|
2764
|
+
|
2765
|
+
# Normalized bounding box.
|
2766
|
+
# The normalized vertex coordinates are relative to the original image.
|
2767
|
+
# Range: [0, 1].
|
2768
|
+
# Corresponds to the JSON property `normalizedBoundingBox`
|
2769
|
+
# @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox]
|
2770
|
+
attr_accessor :normalized_bounding_box
|
2771
|
+
|
2772
|
+
# Time-offset, relative to the beginning of the video,
|
2773
|
+
# corresponding to the video frame for this object.
|
2774
|
+
# Corresponds to the JSON property `timeOffset`
|
2775
|
+
# @return [String]
|
2776
|
+
attr_accessor :time_offset
|
2777
|
+
|
2778
|
+
def initialize(**args)
|
2779
|
+
update!(**args)
|
2780
|
+
end
|
2781
|
+
|
2782
|
+
# Update properties of this object
|
2783
|
+
def update!(**args)
|
2784
|
+
@attributes = args[:attributes] if args.key?(:attributes)
|
2785
|
+
@landmarks = args[:landmarks] if args.key?(:landmarks)
|
2786
|
+
@normalized_bounding_box = args[:normalized_bounding_box] if args.key?(:normalized_bounding_box)
|
2787
|
+
@time_offset = args[:time_offset] if args.key?(:time_offset)
|
2788
|
+
end
|
2789
|
+
end
|
2790
|
+
|
2791
|
+
# A track of an object instance.
|
2792
|
+
class GoogleCloudVideointelligenceV1p1beta1Track
|
2793
|
+
include Google::Apis::Core::Hashable
|
2794
|
+
|
2795
|
+
# Optional. Attributes in the track level.
|
2796
|
+
# Corresponds to the JSON property `attributes`
|
2797
|
+
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1DetectedAttribute>]
|
2798
|
+
attr_accessor :attributes
|
2799
|
+
|
2800
|
+
# Optional. The confidence score of the tracked object.
|
2801
|
+
# Corresponds to the JSON property `confidence`
|
2802
|
+
# @return [Float]
|
2803
|
+
attr_accessor :confidence
|
2804
|
+
|
2805
|
+
# Video segment.
|
2806
|
+
# Corresponds to the JSON property `segment`
|
2807
|
+
# @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment]
|
2808
|
+
attr_accessor :segment
|
2809
|
+
|
2810
|
+
# The object with timestamp and attributes per frame in the track.
|
2811
|
+
# Corresponds to the JSON property `timestampedObjects`
|
2812
|
+
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1TimestampedObject>]
|
2813
|
+
attr_accessor :timestamped_objects
|
2814
|
+
|
2815
|
+
def initialize(**args)
|
2816
|
+
update!(**args)
|
2817
|
+
end
|
2818
|
+
|
2819
|
+
# Update properties of this object
|
2820
|
+
def update!(**args)
|
2821
|
+
@attributes = args[:attributes] if args.key?(:attributes)
|
2822
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
2823
|
+
@segment = args[:segment] if args.key?(:segment)
|
2824
|
+
@timestamped_objects = args[:timestamped_objects] if args.key?(:timestamped_objects)
|
2825
|
+
end
|
2826
|
+
end
|
2827
|
+
|
2207
2828
|
# Annotation progress for a single video.
|
2208
2829
|
class GoogleCloudVideointelligenceV1p1beta1VideoAnnotationProgress
|
2209
2830
|
include Google::Apis::Core::Hashable
|
2210
2831
|
|
2211
2832
|
# Specifies which feature is being tracked if the request contains more than
|
2212
|
-
# one
|
2833
|
+
# one feature.
|
2213
2834
|
# Corresponds to the JSON property `feature`
|
2214
2835
|
# @return [String]
|
2215
2836
|
attr_accessor :feature
|
2216
2837
|
|
2217
2838
|
# Video file location in
|
2218
|
-
# [
|
2839
|
+
# [Cloud Storage](https://cloud.google.com/storage/).
|
2219
2840
|
# Corresponds to the JSON property `inputUri`
|
2220
2841
|
# @return [String]
|
2221
2842
|
attr_accessor :input_uri
|
@@ -2284,11 +2905,16 @@ module Google
|
|
2284
2905
|
attr_accessor :frame_label_annotations
|
2285
2906
|
|
2286
2907
|
# Video file location in
|
2287
|
-
# [
|
2908
|
+
# [Cloud Storage](https://cloud.google.com/storage/).
|
2288
2909
|
# Corresponds to the JSON property `inputUri`
|
2289
2910
|
# @return [String]
|
2290
2911
|
attr_accessor :input_uri
|
2291
2912
|
|
2913
|
+
# Annotations for list of logos detected, tracked and recognized in video.
|
2914
|
+
# Corresponds to the JSON property `logoRecognitionAnnotations`
|
2915
|
+
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1LogoRecognitionAnnotation>]
|
2916
|
+
attr_accessor :logo_recognition_annotations
|
2917
|
+
|
2292
2918
|
# Annotations for list of objects detected and tracked in video.
|
2293
2919
|
# Corresponds to the JSON property `objectAnnotations`
|
2294
2920
|
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1ObjectTrackingAnnotation>]
|
@@ -2299,13 +2925,13 @@ module Google
|
|
2299
2925
|
# @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment]
|
2300
2926
|
attr_accessor :segment
|
2301
2927
|
|
2302
|
-
# Topical label annotations on video level or user
|
2928
|
+
# Topical label annotations on video level or user-specified segment level.
|
2303
2929
|
# There is exactly one element for each unique label.
|
2304
2930
|
# Corresponds to the JSON property `segmentLabelAnnotations`
|
2305
2931
|
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>]
|
2306
2932
|
attr_accessor :segment_label_annotations
|
2307
2933
|
|
2308
|
-
# Presence label annotations on video level or user
|
2934
|
+
# Presence label annotations on video level or user-specified segment level.
|
2309
2935
|
# There is exactly one element for each unique label. Compared to the
|
2310
2936
|
# existing topical `segment_label_annotations`, this field presents more
|
2311
2937
|
# fine-grained, segment-level labels detected in video content and is made
|
@@ -2357,6 +2983,7 @@ module Google
|
|
2357
2983
|
@explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
|
2358
2984
|
@frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
|
2359
2985
|
@input_uri = args[:input_uri] if args.key?(:input_uri)
|
2986
|
+
@logo_recognition_annotations = args[:logo_recognition_annotations] if args.key?(:logo_recognition_annotations)
|
2360
2987
|
@object_annotations = args[:object_annotations] if args.key?(:object_annotations)
|
2361
2988
|
@segment = args[:segment] if args.key?(:segment)
|
2362
2989
|
@segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
|
@@ -2480,46 +3107,47 @@ module Google
|
|
2480
3107
|
class GoogleCloudVideointelligenceV1p2beta1AnnotateVideoRequest
|
2481
3108
|
include Google::Apis::Core::Hashable
|
2482
3109
|
|
2483
|
-
# Requested video annotation features.
|
3110
|
+
# Required. Requested video annotation features.
|
2484
3111
|
# Corresponds to the JSON property `features`
|
2485
3112
|
# @return [Array<String>]
|
2486
3113
|
attr_accessor :features
|
2487
3114
|
|
2488
3115
|
# The video data bytes.
|
2489
|
-
# If unset, the input video(s) should be specified via `input_uri`.
|
2490
|
-
# If set, `input_uri`
|
3116
|
+
# If unset, the input video(s) should be specified via the `input_uri`.
|
3117
|
+
# If set, `input_uri` must be unset.
|
2491
3118
|
# Corresponds to the JSON property `inputContent`
|
2492
3119
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
2493
3120
|
# @return [String]
|
2494
3121
|
attr_accessor :input_content
|
2495
3122
|
|
2496
3123
|
# Input video location. Currently, only
|
2497
|
-
# [
|
2498
|
-
# supported
|
3124
|
+
# [Cloud Storage](https://cloud.google.com/storage/) URIs are
|
3125
|
+
# supported. URIs must be specified in the following format:
|
2499
3126
|
# `gs://bucket-id/object-id` (other URI formats return
|
2500
3127
|
# google.rpc.Code.INVALID_ARGUMENT). For more information, see
|
2501
|
-
# [Request URIs](/storage/docs/
|
2502
|
-
#
|
2503
|
-
#
|
3128
|
+
# [Request URIs](https://cloud.google.com/storage/docs/request-endpoints).
|
3129
|
+
# To identify multiple videos, a video URI may include wildcards in the
|
3130
|
+
# `object-id`. Supported wildcards: '*' to match 0 or more characters;
|
2504
3131
|
# '?' to match 1 character. If unset, the input video should be embedded
|
2505
|
-
# in the request as `input_content`. If set, `input_content`
|
3132
|
+
# in the request as `input_content`. If set, `input_content` must be unset.
|
2506
3133
|
# Corresponds to the JSON property `inputUri`
|
2507
3134
|
# @return [String]
|
2508
3135
|
attr_accessor :input_uri
|
2509
3136
|
|
2510
|
-
# Optional
|
2511
|
-
# regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no
|
2512
|
-
# is specified,
|
3137
|
+
# Optional. Cloud region where annotation should take place. Supported cloud
|
3138
|
+
# regions are: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no
|
3139
|
+
# region is specified, the region will be determined based on video file
|
3140
|
+
# location.
|
2513
3141
|
# Corresponds to the JSON property `locationId`
|
2514
3142
|
# @return [String]
|
2515
3143
|
attr_accessor :location_id
|
2516
3144
|
|
2517
|
-
# Optional
|
2518
|
-
# Currently, only [
|
2519
|
-
# URIs are supported
|
3145
|
+
# Optional. Location where the output (in JSON format) should be stored.
|
3146
|
+
# Currently, only [Cloud Storage](https://cloud.google.com/storage/)
|
3147
|
+
# URIs are supported. These must be specified in the following format:
|
2520
3148
|
# `gs://bucket-id/object-id` (other URI formats return
|
2521
3149
|
# google.rpc.Code.INVALID_ARGUMENT). For more information, see
|
2522
|
-
# [Request URIs](/storage/docs/
|
3150
|
+
# [Request URIs](https://cloud.google.com/storage/docs/request-endpoints).
|
2523
3151
|
# Corresponds to the JSON property `outputUri`
|
2524
3152
|
# @return [String]
|
2525
3153
|
attr_accessor :output_uri
|
@@ -2561,7 +3189,74 @@ module Google
|
|
2561
3189
|
|
2562
3190
|
# Update properties of this object
|
2563
3191
|
def update!(**args)
|
2564
|
-
@annotation_results = args[:annotation_results] if args.key?(:annotation_results)
|
3192
|
+
@annotation_results = args[:annotation_results] if args.key?(:annotation_results)
|
3193
|
+
end
|
3194
|
+
end
|
3195
|
+
|
3196
|
+
# A generic detected attribute represented by name in string format.
|
3197
|
+
class GoogleCloudVideointelligenceV1p2beta1DetectedAttribute
|
3198
|
+
include Google::Apis::Core::Hashable
|
3199
|
+
|
3200
|
+
# Detected attribute confidence. Range [0, 1].
|
3201
|
+
# Corresponds to the JSON property `confidence`
|
3202
|
+
# @return [Float]
|
3203
|
+
attr_accessor :confidence
|
3204
|
+
|
3205
|
+
# The name of the attribute, for example, glasses, dark_glasses, mouth_open.
|
3206
|
+
# A full list of supported type names will be provided in the document.
|
3207
|
+
# Corresponds to the JSON property `name`
|
3208
|
+
# @return [String]
|
3209
|
+
attr_accessor :name
|
3210
|
+
|
3211
|
+
# Text value of the detection result. For example, the value for "HairColor"
|
3212
|
+
# can be "black", "blonde", etc.
|
3213
|
+
# Corresponds to the JSON property `value`
|
3214
|
+
# @return [String]
|
3215
|
+
attr_accessor :value
|
3216
|
+
|
3217
|
+
def initialize(**args)
|
3218
|
+
update!(**args)
|
3219
|
+
end
|
3220
|
+
|
3221
|
+
# Update properties of this object
|
3222
|
+
def update!(**args)
|
3223
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
3224
|
+
@name = args[:name] if args.key?(:name)
|
3225
|
+
@value = args[:value] if args.key?(:value)
|
3226
|
+
end
|
3227
|
+
end
|
3228
|
+
|
3229
|
+
# A generic detected landmark represented by name in string format and a 2D
|
3230
|
+
# location.
|
3231
|
+
class GoogleCloudVideointelligenceV1p2beta1DetectedLandmark
|
3232
|
+
include Google::Apis::Core::Hashable
|
3233
|
+
|
3234
|
+
# The confidence score of the detected landmark. Range [0, 1].
|
3235
|
+
# Corresponds to the JSON property `confidence`
|
3236
|
+
# @return [Float]
|
3237
|
+
attr_accessor :confidence
|
3238
|
+
|
3239
|
+
# The name of this landmark, for example, left_hand, right_shoulder.
|
3240
|
+
# Corresponds to the JSON property `name`
|
3241
|
+
# @return [String]
|
3242
|
+
attr_accessor :name
|
3243
|
+
|
3244
|
+
# A vertex represents a 2D point in the image.
|
3245
|
+
# NOTE: the normalized vertex coordinates are relative to the original image
|
3246
|
+
# and range from 0 to 1.
|
3247
|
+
# Corresponds to the JSON property `point`
|
3248
|
+
# @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1NormalizedVertex]
|
3249
|
+
attr_accessor :point
|
3250
|
+
|
3251
|
+
def initialize(**args)
|
3252
|
+
update!(**args)
|
3253
|
+
end
|
3254
|
+
|
3255
|
+
# Update properties of this object
|
3256
|
+
def update!(**args)
|
3257
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
3258
|
+
@name = args[:name] if args.key?(:name)
|
3259
|
+
@point = args[:point] if args.key?(:point)
|
2565
3260
|
end
|
2566
3261
|
end
|
2567
3262
|
|
@@ -2569,7 +3264,7 @@ module Google
|
|
2569
3264
|
class GoogleCloudVideointelligenceV1p2beta1Entity
|
2570
3265
|
include Google::Apis::Core::Hashable
|
2571
3266
|
|
2572
|
-
# Textual description, e.g
|
3267
|
+
# Textual description, e.g., `Fixed-gear bicycle`.
|
2573
3268
|
# Corresponds to the JSON property `description`
|
2574
3269
|
# @return [String]
|
2575
3270
|
attr_accessor :description
|
@@ -2609,6 +3304,11 @@ module Google
|
|
2609
3304
|
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentFrame>]
|
2610
3305
|
attr_accessor :frames
|
2611
3306
|
|
3307
|
+
# Feature version.
|
3308
|
+
# Corresponds to the JSON property `version`
|
3309
|
+
# @return [String]
|
3310
|
+
attr_accessor :version
|
3311
|
+
|
2612
3312
|
def initialize(**args)
|
2613
3313
|
update!(**args)
|
2614
3314
|
end
|
@@ -2616,6 +3316,7 @@ module Google
|
|
2616
3316
|
# Update properties of this object
|
2617
3317
|
def update!(**args)
|
2618
3318
|
@frames = args[:frames] if args.key?(:frames)
|
3319
|
+
@version = args[:version] if args.key?(:version)
|
2619
3320
|
end
|
2620
3321
|
end
|
2621
3322
|
|
@@ -2671,9 +3372,9 @@ module Google
|
|
2671
3372
|
include Google::Apis::Core::Hashable
|
2672
3373
|
|
2673
3374
|
# Common categories for the detected entity.
|
2674
|
-
#
|
2675
|
-
# cases there might be more than one categories e.g
|
2676
|
-
# a `pet`.
|
3375
|
+
# For example, when the label is `Terrier`, the category is likely `dog`. And
|
3376
|
+
# in some cases there might be more than one categories e.g., `Terrier` could
|
3377
|
+
# also be a `pet`.
|
2677
3378
|
# Corresponds to the JSON property `categoryEntities`
|
2678
3379
|
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1Entity>]
|
2679
3380
|
attr_accessor :category_entities
|
@@ -2693,6 +3394,11 @@ module Google
|
|
2693
3394
|
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1LabelSegment>]
|
2694
3395
|
attr_accessor :segments
|
2695
3396
|
|
3397
|
+
# Feature version.
|
3398
|
+
# Corresponds to the JSON property `version`
|
3399
|
+
# @return [String]
|
3400
|
+
attr_accessor :version
|
3401
|
+
|
2696
3402
|
def initialize(**args)
|
2697
3403
|
update!(**args)
|
2698
3404
|
end
|
@@ -2703,6 +3409,7 @@ module Google
|
|
2703
3409
|
@entity = args[:entity] if args.key?(:entity)
|
2704
3410
|
@frames = args[:frames] if args.key?(:frames)
|
2705
3411
|
@segments = args[:segments] if args.key?(:segments)
|
3412
|
+
@version = args[:version] if args.key?(:version)
|
2706
3413
|
end
|
2707
3414
|
end
|
2708
3415
|
|
@@ -2714,7 +3421,7 @@ module Google
|
|
2714
3421
|
# frame-level detection. If not set, it is set to 0.4 by default. The valid
|
2715
3422
|
# range for this threshold is [0.1, 0.9]. Any value set outside of this
|
2716
3423
|
# range will be clipped.
|
2717
|
-
# Note:
|
3424
|
+
# Note: For best results, follow the default threshold. We will update
|
2718
3425
|
# the default threshold everytime when we release a new model.
|
2719
3426
|
# Corresponds to the JSON property `frameConfidenceThreshold`
|
2720
3427
|
# @return [Float]
|
@@ -2734,19 +3441,19 @@ module Google
|
|
2734
3441
|
# @return [String]
|
2735
3442
|
attr_accessor :model
|
2736
3443
|
|
2737
|
-
# Whether the video has been shot from a stationary (i.e
|
2738
|
-
# When set to true, might improve detection accuracy for moving
|
2739
|
-
# Should be used with `SHOT_AND_FRAME_MODE` enabled.
|
3444
|
+
# Whether the video has been shot from a stationary (i.e., non-moving)
|
3445
|
+
# camera. When set to true, might improve detection accuracy for moving
|
3446
|
+
# objects. Should be used with `SHOT_AND_FRAME_MODE` enabled.
|
2740
3447
|
# Corresponds to the JSON property `stationaryCamera`
|
2741
3448
|
# @return [Boolean]
|
2742
3449
|
attr_accessor :stationary_camera
|
2743
3450
|
alias_method :stationary_camera?, :stationary_camera
|
2744
3451
|
|
2745
3452
|
# The confidence threshold we perform filtering on the labels from
|
2746
|
-
# video-level and shot-level detections. If not set, it
|
3453
|
+
# video-level and shot-level detections. If not set, it's set to 0.3 by
|
2747
3454
|
# default. The valid range for this threshold is [0.1, 0.9]. Any value set
|
2748
3455
|
# outside of this range will be clipped.
|
2749
|
-
# Note:
|
3456
|
+
# Note: For best results, follow the default threshold. We will update
|
2750
3457
|
# the default threshold everytime when we release a new model.
|
2751
3458
|
# Corresponds to the JSON property `videoConfidenceThreshold`
|
2752
3459
|
# @return [Float]
|
@@ -2817,6 +3524,39 @@ module Google
|
|
2817
3524
|
end
|
2818
3525
|
end
|
2819
3526
|
|
3527
|
+
# Annotation corresponding to one detected, tracked and recognized logo class.
|
3528
|
+
class GoogleCloudVideointelligenceV1p2beta1LogoRecognitionAnnotation
|
3529
|
+
include Google::Apis::Core::Hashable
|
3530
|
+
|
3531
|
+
# Detected entity from video analysis.
|
3532
|
+
# Corresponds to the JSON property `entity`
|
3533
|
+
# @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1Entity]
|
3534
|
+
attr_accessor :entity
|
3535
|
+
|
3536
|
+
# All video segments where the recognized logo appears. There might be
|
3537
|
+
# multiple instances of the same logo class appearing in one VideoSegment.
|
3538
|
+
# Corresponds to the JSON property `segments`
|
3539
|
+
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment>]
|
3540
|
+
attr_accessor :segments
|
3541
|
+
|
3542
|
+
# All logo tracks where the recognized logo appears. Each track corresponds
|
3543
|
+
# to one logo instance appearing in consecutive frames.
|
3544
|
+
# Corresponds to the JSON property `tracks`
|
3545
|
+
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1Track>]
|
3546
|
+
attr_accessor :tracks
|
3547
|
+
|
3548
|
+
def initialize(**args)
|
3549
|
+
update!(**args)
|
3550
|
+
end
|
3551
|
+
|
3552
|
+
# Update properties of this object
|
3553
|
+
def update!(**args)
|
3554
|
+
@entity = args[:entity] if args.key?(:entity)
|
3555
|
+
@segments = args[:segments] if args.key?(:segments)
|
3556
|
+
@tracks = args[:tracks] if args.key?(:tracks)
|
3557
|
+
end
|
3558
|
+
end
|
3559
|
+
|
2820
3560
|
# Normalized bounding box.
|
2821
3561
|
# The normalized vertex coordinates are relative to the original image.
|
2822
3562
|
# Range: [0, 1].
|
@@ -2953,6 +3693,11 @@ module Google
|
|
2953
3693
|
# @return [Fixnum]
|
2954
3694
|
attr_accessor :track_id
|
2955
3695
|
|
3696
|
+
# Feature version.
|
3697
|
+
# Corresponds to the JSON property `version`
|
3698
|
+
# @return [String]
|
3699
|
+
attr_accessor :version
|
3700
|
+
|
2956
3701
|
def initialize(**args)
|
2957
3702
|
update!(**args)
|
2958
3703
|
end
|
@@ -2964,6 +3709,7 @@ module Google
|
|
2964
3709
|
@frames = args[:frames] if args.key?(:frames)
|
2965
3710
|
@segment = args[:segment] if args.key?(:segment)
|
2966
3711
|
@track_id = args[:track_id] if args.key?(:track_id)
|
3712
|
+
@version = args[:version] if args.key?(:version)
|
2967
3713
|
end
|
2968
3714
|
end
|
2969
3715
|
|
@@ -3042,7 +3788,7 @@ module Google
|
|
3042
3788
|
class GoogleCloudVideointelligenceV1p2beta1SpeechContext
|
3043
3789
|
include Google::Apis::Core::Hashable
|
3044
3790
|
|
3045
|
-
#
|
3791
|
+
# Optional. A list of strings containing words and phrases "hints" so that
|
3046
3792
|
# the speech recognition is more likely to recognize them. This can be used
|
3047
3793
|
# to improve the accuracy for specific words and phrases, for example, if
|
3048
3794
|
# specific commands are typically spoken by the user. This can also be used
|
@@ -3082,8 +3828,8 @@ module Google
|
|
3082
3828
|
attr_accessor :transcript
|
3083
3829
|
|
3084
3830
|
# Output only. A list of word-specific information for each recognized word.
|
3085
|
-
# Note: When `enable_speaker_diarization` is true, you will see all
|
3086
|
-
# from the beginning of the audio.
|
3831
|
+
# Note: When `enable_speaker_diarization` is set to true, you will see all
|
3832
|
+
# the words from the beginning of the audio.
|
3087
3833
|
# Corresponds to the JSON property `words`
|
3088
3834
|
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1WordInfo>]
|
3089
3835
|
attr_accessor :words
|
@@ -3112,10 +3858,10 @@ module Google
|
|
3112
3858
|
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1SpeechRecognitionAlternative>]
|
3113
3859
|
attr_accessor :alternatives
|
3114
3860
|
|
3115
|
-
# Output only. The
|
3116
|
-
#
|
3117
|
-
# language in this result. This language code was detected to have the
|
3118
|
-
# likelihood of being spoken in the audio.
|
3861
|
+
# Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
|
3862
|
+
# language tag of
|
3863
|
+
# the language in this result. This language code was detected to have the
|
3864
|
+
# most likelihood of being spoken in the audio.
|
3119
3865
|
# Corresponds to the JSON property `languageCode`
|
3120
3866
|
# @return [String]
|
3121
3867
|
attr_accessor :language_code
|
@@ -3135,21 +3881,21 @@ module Google
|
|
3135
3881
|
class GoogleCloudVideointelligenceV1p2beta1SpeechTranscriptionConfig
|
3136
3882
|
include Google::Apis::Core::Hashable
|
3137
3883
|
|
3138
|
-
#
|
3884
|
+
# Optional. For file formats, such as MXF or MKV, supporting multiple audio
|
3139
3885
|
# tracks, specify up to two tracks. Default: track 0.
|
3140
3886
|
# Corresponds to the JSON property `audioTracks`
|
3141
3887
|
# @return [Array<Fixnum>]
|
3142
3888
|
attr_accessor :audio_tracks
|
3143
3889
|
|
3144
|
-
#
|
3145
|
-
#
|
3890
|
+
# Optional. If set, specifies the estimated number of speakers in the
|
3891
|
+
# conversation.
|
3146
3892
|
# If not set, defaults to '2'.
|
3147
3893
|
# Ignored unless enable_speaker_diarization is set to true.
|
3148
3894
|
# Corresponds to the JSON property `diarizationSpeakerCount`
|
3149
3895
|
# @return [Fixnum]
|
3150
3896
|
attr_accessor :diarization_speaker_count
|
3151
3897
|
|
3152
|
-
#
|
3898
|
+
# Optional. If 'true', adds punctuation to recognition result hypotheses.
|
3153
3899
|
# This feature is only available in select languages. Setting this for
|
3154
3900
|
# requests in other languages has no effect at all. The default 'false' value
|
3155
3901
|
# does not add punctuation to result hypotheses. NOTE: "This is currently
|
@@ -3160,11 +3906,11 @@ module Google
|
|
3160
3906
|
attr_accessor :enable_automatic_punctuation
|
3161
3907
|
alias_method :enable_automatic_punctuation?, :enable_automatic_punctuation
|
3162
3908
|
|
3163
|
-
#
|
3909
|
+
# Optional. If 'true', enables speaker detection for each recognized word in
|
3164
3910
|
# the top alternative of the recognition result using a speaker_tag provided
|
3165
3911
|
# in the WordInfo.
|
3166
3912
|
# Note: When this is true, we send all the words from the beginning of the
|
3167
|
-
# audio for the top alternative in every consecutive
|
3913
|
+
# audio for the top alternative in every consecutive response.
|
3168
3914
|
# This is done in order to improve our speaker tags as our models learn to
|
3169
3915
|
# identify the speakers in the conversation over time.
|
3170
3916
|
# Corresponds to the JSON property `enableSpeakerDiarization`
|
@@ -3172,7 +3918,7 @@ module Google
|
|
3172
3918
|
attr_accessor :enable_speaker_diarization
|
3173
3919
|
alias_method :enable_speaker_diarization?, :enable_speaker_diarization
|
3174
3920
|
|
3175
|
-
#
|
3921
|
+
# Optional. If `true`, the top result includes a list of words and the
|
3176
3922
|
# confidence for those words. If `false`, no word-level confidence
|
3177
3923
|
# information is returned. The default is `false`.
|
3178
3924
|
# Corresponds to the JSON property `enableWordConfidence`
|
@@ -3180,7 +3926,7 @@ module Google
|
|
3180
3926
|
attr_accessor :enable_word_confidence
|
3181
3927
|
alias_method :enable_word_confidence?, :enable_word_confidence
|
3182
3928
|
|
3183
|
-
#
|
3929
|
+
# Optional. If set to `true`, the server will attempt to filter out
|
3184
3930
|
# profanities, replacing all but the initial character in each filtered word
|
3185
3931
|
# with asterisks, e.g. "f***". If set to `false` or omitted, profanities
|
3186
3932
|
# won't be filtered out.
|
@@ -3189,7 +3935,7 @@ module Google
|
|
3189
3935
|
attr_accessor :filter_profanity
|
3190
3936
|
alias_method :filter_profanity?, :filter_profanity
|
3191
3937
|
|
3192
|
-
# *Required* The language of the supplied audio as a
|
3938
|
+
# Required. *Required* The language of the supplied audio as a
|
3193
3939
|
# [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
|
3194
3940
|
# Example: "en-US".
|
3195
3941
|
# See [Language Support](https://cloud.google.com/speech/docs/languages)
|
@@ -3198,7 +3944,7 @@ module Google
|
|
3198
3944
|
# @return [String]
|
3199
3945
|
attr_accessor :language_code
|
3200
3946
|
|
3201
|
-
#
|
3947
|
+
# Optional. Maximum number of recognition hypotheses to be returned.
|
3202
3948
|
# Specifically, the maximum number of `SpeechRecognitionAlternative` messages
|
3203
3949
|
# within each `SpeechTranscription`. The server may return fewer than
|
3204
3950
|
# `max_alternatives`. Valid values are `0`-`30`. A value of `0` or `1` will
|
@@ -3207,7 +3953,7 @@ module Google
|
|
3207
3953
|
# @return [Fixnum]
|
3208
3954
|
attr_accessor :max_alternatives
|
3209
3955
|
|
3210
|
-
#
|
3956
|
+
# Optional. A means to provide context to assist the speech recognition.
|
3211
3957
|
# Corresponds to the JSON property `speechContexts`
|
3212
3958
|
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1SpeechContext>]
|
3213
3959
|
attr_accessor :speech_contexts
|
@@ -3246,6 +3992,11 @@ module Google
|
|
3246
3992
|
# @return [String]
|
3247
3993
|
attr_accessor :text
|
3248
3994
|
|
3995
|
+
# Feature version.
|
3996
|
+
# Corresponds to the JSON property `version`
|
3997
|
+
# @return [String]
|
3998
|
+
attr_accessor :version
|
3999
|
+
|
3249
4000
|
def initialize(**args)
|
3250
4001
|
update!(**args)
|
3251
4002
|
end
|
@@ -3254,6 +4005,7 @@ module Google
|
|
3254
4005
|
def update!(**args)
|
3255
4006
|
@segments = args[:segments] if args.key?(:segments)
|
3256
4007
|
@text = args[:text] if args.key?(:text)
|
4008
|
+
@version = args[:version] if args.key?(:version)
|
3257
4009
|
end
|
3258
4010
|
end
|
3259
4011
|
|
@@ -3360,18 +4112,97 @@ module Google
|
|
3360
4112
|
end
|
3361
4113
|
end
|
3362
4114
|
|
4115
|
+
# For tracking related features.
|
4116
|
+
# An object at time_offset with attributes, and located with
|
4117
|
+
# normalized_bounding_box.
|
4118
|
+
class GoogleCloudVideointelligenceV1p2beta1TimestampedObject
|
4119
|
+
include Google::Apis::Core::Hashable
|
4120
|
+
|
4121
|
+
# Optional. The attributes of the object in the bounding box.
|
4122
|
+
# Corresponds to the JSON property `attributes`
|
4123
|
+
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1DetectedAttribute>]
|
4124
|
+
attr_accessor :attributes
|
4125
|
+
|
4126
|
+
# Optional. The detected landmarks.
|
4127
|
+
# Corresponds to the JSON property `landmarks`
|
4128
|
+
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1DetectedLandmark>]
|
4129
|
+
attr_accessor :landmarks
|
4130
|
+
|
4131
|
+
# Normalized bounding box.
|
4132
|
+
# The normalized vertex coordinates are relative to the original image.
|
4133
|
+
# Range: [0, 1].
|
4134
|
+
# Corresponds to the JSON property `normalizedBoundingBox`
|
4135
|
+
# @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox]
|
4136
|
+
attr_accessor :normalized_bounding_box
|
4137
|
+
|
4138
|
+
# Time-offset, relative to the beginning of the video,
|
4139
|
+
# corresponding to the video frame for this object.
|
4140
|
+
# Corresponds to the JSON property `timeOffset`
|
4141
|
+
# @return [String]
|
4142
|
+
attr_accessor :time_offset
|
4143
|
+
|
4144
|
+
def initialize(**args)
|
4145
|
+
update!(**args)
|
4146
|
+
end
|
4147
|
+
|
4148
|
+
# Update properties of this object
|
4149
|
+
def update!(**args)
|
4150
|
+
@attributes = args[:attributes] if args.key?(:attributes)
|
4151
|
+
@landmarks = args[:landmarks] if args.key?(:landmarks)
|
4152
|
+
@normalized_bounding_box = args[:normalized_bounding_box] if args.key?(:normalized_bounding_box)
|
4153
|
+
@time_offset = args[:time_offset] if args.key?(:time_offset)
|
4154
|
+
end
|
4155
|
+
end
|
4156
|
+
|
4157
|
+
# A track of an object instance.
|
4158
|
+
class GoogleCloudVideointelligenceV1p2beta1Track
|
4159
|
+
include Google::Apis::Core::Hashable
|
4160
|
+
|
4161
|
+
# Optional. Attributes in the track level.
|
4162
|
+
# Corresponds to the JSON property `attributes`
|
4163
|
+
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1DetectedAttribute>]
|
4164
|
+
attr_accessor :attributes
|
4165
|
+
|
4166
|
+
# Optional. The confidence score of the tracked object.
|
4167
|
+
# Corresponds to the JSON property `confidence`
|
4168
|
+
# @return [Float]
|
4169
|
+
attr_accessor :confidence
|
4170
|
+
|
4171
|
+
# Video segment.
|
4172
|
+
# Corresponds to the JSON property `segment`
|
4173
|
+
# @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment]
|
4174
|
+
attr_accessor :segment
|
4175
|
+
|
4176
|
+
# The object with timestamp and attributes per frame in the track.
|
4177
|
+
# Corresponds to the JSON property `timestampedObjects`
|
4178
|
+
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1TimestampedObject>]
|
4179
|
+
attr_accessor :timestamped_objects
|
4180
|
+
|
4181
|
+
def initialize(**args)
|
4182
|
+
update!(**args)
|
4183
|
+
end
|
4184
|
+
|
4185
|
+
# Update properties of this object
|
4186
|
+
def update!(**args)
|
4187
|
+
@attributes = args[:attributes] if args.key?(:attributes)
|
4188
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
4189
|
+
@segment = args[:segment] if args.key?(:segment)
|
4190
|
+
@timestamped_objects = args[:timestamped_objects] if args.key?(:timestamped_objects)
|
4191
|
+
end
|
4192
|
+
end
|
4193
|
+
|
3363
4194
|
# Annotation progress for a single video.
|
3364
4195
|
class GoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress
|
3365
4196
|
include Google::Apis::Core::Hashable
|
3366
4197
|
|
3367
4198
|
# Specifies which feature is being tracked if the request contains more than
|
3368
|
-
# one
|
4199
|
+
# one feature.
|
3369
4200
|
# Corresponds to the JSON property `feature`
|
3370
4201
|
# @return [String]
|
3371
4202
|
attr_accessor :feature
|
3372
4203
|
|
3373
4204
|
# Video file location in
|
3374
|
-
# [
|
4205
|
+
# [Cloud Storage](https://cloud.google.com/storage/).
|
3375
4206
|
# Corresponds to the JSON property `inputUri`
|
3376
4207
|
# @return [String]
|
3377
4208
|
attr_accessor :input_uri
|
@@ -3440,11 +4271,16 @@ module Google
|
|
3440
4271
|
attr_accessor :frame_label_annotations
|
3441
4272
|
|
3442
4273
|
# Video file location in
|
3443
|
-
# [
|
4274
|
+
# [Cloud Storage](https://cloud.google.com/storage/).
|
3444
4275
|
# Corresponds to the JSON property `inputUri`
|
3445
4276
|
# @return [String]
|
3446
4277
|
attr_accessor :input_uri
|
3447
4278
|
|
4279
|
+
# Annotations for list of logos detected, tracked and recognized in video.
|
4280
|
+
# Corresponds to the JSON property `logoRecognitionAnnotations`
|
4281
|
+
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1LogoRecognitionAnnotation>]
|
4282
|
+
attr_accessor :logo_recognition_annotations
|
4283
|
+
|
3448
4284
|
# Annotations for list of objects detected and tracked in video.
|
3449
4285
|
# Corresponds to the JSON property `objectAnnotations`
|
3450
4286
|
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation>]
|
@@ -3455,13 +4291,13 @@ module Google
|
|
3455
4291
|
# @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment]
|
3456
4292
|
attr_accessor :segment
|
3457
4293
|
|
3458
|
-
# Topical label annotations on video level or user
|
4294
|
+
# Topical label annotations on video level or user-specified segment level.
|
3459
4295
|
# There is exactly one element for each unique label.
|
3460
4296
|
# Corresponds to the JSON property `segmentLabelAnnotations`
|
3461
4297
|
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>]
|
3462
4298
|
attr_accessor :segment_label_annotations
|
3463
4299
|
|
3464
|
-
# Presence label annotations on video level or user
|
4300
|
+
# Presence label annotations on video level or user-specified segment level.
|
3465
4301
|
# There is exactly one element for each unique label. Compared to the
|
3466
4302
|
# existing topical `segment_label_annotations`, this field presents more
|
3467
4303
|
# fine-grained, segment-level labels detected in video content and is made
|
@@ -3513,6 +4349,7 @@ module Google
|
|
3513
4349
|
@explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
|
3514
4350
|
@frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
|
3515
4351
|
@input_uri = args[:input_uri] if args.key?(:input_uri)
|
4352
|
+
@logo_recognition_annotations = args[:logo_recognition_annotations] if args.key?(:logo_recognition_annotations)
|
3516
4353
|
@object_annotations = args[:object_annotations] if args.key?(:object_annotations)
|
3517
4354
|
@segment = args[:segment] if args.key?(:segment)
|
3518
4355
|
@segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
|
@@ -3710,6 +4547,93 @@ module Google
|
|
3710
4547
|
end
|
3711
4548
|
end
|
3712
4549
|
|
4550
|
+
# Celebrity definition.
|
4551
|
+
class GoogleCloudVideointelligenceV1p3beta1Celebrity
|
4552
|
+
include Google::Apis::Core::Hashable
|
4553
|
+
|
4554
|
+
# Textual description of additional information about the celebrity, if
|
4555
|
+
# applicable.
|
4556
|
+
# Corresponds to the JSON property `description`
|
4557
|
+
# @return [String]
|
4558
|
+
attr_accessor :description
|
4559
|
+
|
4560
|
+
# The celebrity name.
|
4561
|
+
# Corresponds to the JSON property `displayName`
|
4562
|
+
# @return [String]
|
4563
|
+
attr_accessor :display_name
|
4564
|
+
|
4565
|
+
# The resource name of the celebrity. Have the format
|
4566
|
+
# `video-intelligence/kg-mid` indicates a celebrity from preloaded gallery.
|
4567
|
+
# kg-mid is the id in Google knowledge graph, which is unique for the
|
4568
|
+
# celebrity.
|
4569
|
+
# Corresponds to the JSON property `name`
|
4570
|
+
# @return [String]
|
4571
|
+
attr_accessor :name
|
4572
|
+
|
4573
|
+
def initialize(**args)
|
4574
|
+
update!(**args)
|
4575
|
+
end
|
4576
|
+
|
4577
|
+
# Update properties of this object
|
4578
|
+
def update!(**args)
|
4579
|
+
@description = args[:description] if args.key?(:description)
|
4580
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
4581
|
+
@name = args[:name] if args.key?(:name)
|
4582
|
+
end
|
4583
|
+
end
|
4584
|
+
|
4585
|
+
# Celebrity recognition annotation per video.
|
4586
|
+
class GoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation
|
4587
|
+
include Google::Apis::Core::Hashable
|
4588
|
+
|
4589
|
+
# The tracks detected from the input video, including recognized celebrities
|
4590
|
+
# and other detected faces in the video.
|
4591
|
+
# Corresponds to the JSON property `celebrityTracks`
|
4592
|
+
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1CelebrityTrack>]
|
4593
|
+
attr_accessor :celebrity_tracks
|
4594
|
+
|
4595
|
+
# Feature version.
|
4596
|
+
# Corresponds to the JSON property `version`
|
4597
|
+
# @return [String]
|
4598
|
+
attr_accessor :version
|
4599
|
+
|
4600
|
+
def initialize(**args)
|
4601
|
+
update!(**args)
|
4602
|
+
end
|
4603
|
+
|
4604
|
+
# Update properties of this object
|
4605
|
+
def update!(**args)
|
4606
|
+
@celebrity_tracks = args[:celebrity_tracks] if args.key?(:celebrity_tracks)
|
4607
|
+
@version = args[:version] if args.key?(:version)
|
4608
|
+
end
|
4609
|
+
end
|
4610
|
+
|
4611
|
+
# The annotation result of a celebrity face track. RecognizedCelebrity field
|
4612
|
+
# could be empty if the face track does not have any matched celebrities.
|
4613
|
+
class GoogleCloudVideointelligenceV1p3beta1CelebrityTrack
|
4614
|
+
include Google::Apis::Core::Hashable
|
4615
|
+
|
4616
|
+
# Top N match of the celebrities for the face in this track.
|
4617
|
+
# Corresponds to the JSON property `celebrities`
|
4618
|
+
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1RecognizedCelebrity>]
|
4619
|
+
attr_accessor :celebrities
|
4620
|
+
|
4621
|
+
# A track of an object instance.
|
4622
|
+
# Corresponds to the JSON property `faceTrack`
|
4623
|
+
# @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1Track]
|
4624
|
+
attr_accessor :face_track
|
4625
|
+
|
4626
|
+
def initialize(**args)
|
4627
|
+
update!(**args)
|
4628
|
+
end
|
4629
|
+
|
4630
|
+
# Update properties of this object
|
4631
|
+
def update!(**args)
|
4632
|
+
@celebrities = args[:celebrities] if args.key?(:celebrities)
|
4633
|
+
@face_track = args[:face_track] if args.key?(:face_track)
|
4634
|
+
end
|
4635
|
+
end
|
4636
|
+
|
3713
4637
|
# A generic detected attribute represented by name in string format.
|
3714
4638
|
class GoogleCloudVideointelligenceV1p3beta1DetectedAttribute
|
3715
4639
|
include Google::Apis::Core::Hashable
|
@@ -3719,7 +4643,7 @@ module Google
|
|
3719
4643
|
# @return [Float]
|
3720
4644
|
attr_accessor :confidence
|
3721
4645
|
|
3722
|
-
# The name of the attribute,
|
4646
|
+
# The name of the attribute, for example, glasses, dark_glasses, mouth_open.
|
3723
4647
|
# A full list of supported type names will be provided in the document.
|
3724
4648
|
# Corresponds to the JSON property `name`
|
3725
4649
|
# @return [String]
|
@@ -3743,11 +4667,45 @@ module Google
|
|
3743
4667
|
end
|
3744
4668
|
end
|
3745
4669
|
|
4670
|
+
# A generic detected landmark represented by name in string format and a 2D
|
4671
|
+
# location.
|
4672
|
+
class GoogleCloudVideointelligenceV1p3beta1DetectedLandmark
|
4673
|
+
include Google::Apis::Core::Hashable
|
4674
|
+
|
4675
|
+
# The confidence score of the detected landmark. Range [0, 1].
|
4676
|
+
# Corresponds to the JSON property `confidence`
|
4677
|
+
# @return [Float]
|
4678
|
+
attr_accessor :confidence
|
4679
|
+
|
4680
|
+
# The name of this landmark, for example, left_hand, right_shoulder.
|
4681
|
+
# Corresponds to the JSON property `name`
|
4682
|
+
# @return [String]
|
4683
|
+
attr_accessor :name
|
4684
|
+
|
4685
|
+
# A vertex represents a 2D point in the image.
|
4686
|
+
# NOTE: the normalized vertex coordinates are relative to the original image
|
4687
|
+
# and range from 0 to 1.
|
4688
|
+
# Corresponds to the JSON property `point`
|
4689
|
+
# @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1NormalizedVertex]
|
4690
|
+
attr_accessor :point
|
4691
|
+
|
4692
|
+
def initialize(**args)
|
4693
|
+
update!(**args)
|
4694
|
+
end
|
4695
|
+
|
4696
|
+
# Update properties of this object
|
4697
|
+
def update!(**args)
|
4698
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
4699
|
+
@name = args[:name] if args.key?(:name)
|
4700
|
+
@point = args[:point] if args.key?(:point)
|
4701
|
+
end
|
4702
|
+
end
|
4703
|
+
|
3746
4704
|
# Detected entity from video analysis.
|
3747
4705
|
class GoogleCloudVideointelligenceV1p3beta1Entity
|
3748
4706
|
include Google::Apis::Core::Hashable
|
3749
4707
|
|
3750
|
-
# Textual description, e.g
|
4708
|
+
# Textual description, e.g., `Fixed-gear bicycle`.
|
3751
4709
|
# Corresponds to the JSON property `description`
|
3752
4710
|
# @return [String]
|
3753
4711
|
attr_accessor :description
|
@@ -3787,6 +4745,11 @@ module Google
|
|
3787
4745
|
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentFrame>]
|
3788
4746
|
attr_accessor :frames
|
3789
4747
|
|
4748
|
+
# Feature version.
|
4749
|
+
# Corresponds to the JSON property `version`
|
4750
|
+
# @return [String]
|
4751
|
+
attr_accessor :version
|
4752
|
+
|
3790
4753
|
def initialize(**args)
|
3791
4754
|
update!(**args)
|
3792
4755
|
end
|
@@ -3794,6 +4757,7 @@ module Google
|
|
3794
4757
|
# Update properties of this object
|
3795
4758
|
def update!(**args)
|
3796
4759
|
@frames = args[:frames] if args.key?(:frames)
|
4760
|
+
@version = args[:version] if args.key?(:version)
|
3797
4761
|
end
|
3798
4762
|
end
|
3799
4763
|
|
@@ -3823,14 +4787,46 @@ module Google
|
|
3823
4787
|
end
|
3824
4788
|
end
|
3825
4789
|
|
4790
|
+
# Face detection annotation.
|
4791
|
+
class GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation
|
4792
|
+
include Google::Apis::Core::Hashable
|
4793
|
+
|
4794
|
+
# The thumbnail of a person's face.
|
4795
|
+
# Corresponds to the JSON property `thumbnail`
|
4796
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
4797
|
+
# @return [String]
|
4798
|
+
attr_accessor :thumbnail
|
4799
|
+
|
4800
|
+
# The face tracks with attributes.
|
4801
|
+
# Corresponds to the JSON property `tracks`
|
4802
|
+
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1Track>]
|
4803
|
+
attr_accessor :tracks
|
4804
|
+
|
4805
|
+
# Feature version.
|
4806
|
+
# Corresponds to the JSON property `version`
|
4807
|
+
# @return [String]
|
4808
|
+
attr_accessor :version
|
4809
|
+
|
4810
|
+
def initialize(**args)
|
4811
|
+
update!(**args)
|
4812
|
+
end
|
4813
|
+
|
4814
|
+
# Update properties of this object
|
4815
|
+
def update!(**args)
|
4816
|
+
@thumbnail = args[:thumbnail] if args.key?(:thumbnail)
|
4817
|
+
@tracks = args[:tracks] if args.key?(:tracks)
|
4818
|
+
@version = args[:version] if args.key?(:version)
|
4819
|
+
end
|
4820
|
+
end
|
4821
|
+
|
3826
4822
|
# Label annotation.
|
3827
4823
|
class GoogleCloudVideointelligenceV1p3beta1LabelAnnotation
|
3828
4824
|
include Google::Apis::Core::Hashable
|
3829
4825
|
|
3830
4826
|
# Common categories for the detected entity.
|
3831
|
-
#
|
3832
|
-
# cases there might be more than one categories e.g
|
3833
|
-
# a `pet`.
|
4827
|
+
# For example, when the label is `Terrier`, the category is likely `dog`. And
|
4828
|
+
# in some cases there might be more than one categories e.g., `Terrier` could
|
4829
|
+
# also be a `pet`.
|
3834
4830
|
# Corresponds to the JSON property `categoryEntities`
|
3835
4831
|
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1Entity>]
|
3836
4832
|
attr_accessor :category_entities
|
@@ -3850,6 +4846,11 @@ module Google
|
|
3850
4846
|
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1LabelSegment>]
|
3851
4847
|
attr_accessor :segments
|
3852
4848
|
|
4849
|
+
# Feature version.
|
4850
|
+
# Corresponds to the JSON property `version`
|
4851
|
+
# @return [String]
|
4852
|
+
attr_accessor :version
|
4853
|
+
|
3853
4854
|
def initialize(**args)
|
3854
4855
|
update!(**args)
|
3855
4856
|
end
|
@@ -3860,6 +4861,7 @@ module Google
|
|
3860
4861
|
@entity = args[:entity] if args.key?(:entity)
|
3861
4862
|
@frames = args[:frames] if args.key?(:frames)
|
3862
4863
|
@segments = args[:segments] if args.key?(:segments)
|
4864
|
+
@version = args[:version] if args.key?(:version)
|
3863
4865
|
end
|
3864
4866
|
end
|
3865
4867
|
|
@@ -4083,6 +5085,11 @@ module Google
|
|
4083
5085
|
# @return [Fixnum]
|
4084
5086
|
attr_accessor :track_id
|
4085
5087
|
|
5088
|
+
# Feature version.
|
5089
|
+
# Corresponds to the JSON property `version`
|
5090
|
+
# @return [String]
|
5091
|
+
attr_accessor :version
|
5092
|
+
|
4086
5093
|
def initialize(**args)
|
4087
5094
|
update!(**args)
|
4088
5095
|
end
|
@@ -4094,6 +5101,7 @@ module Google
|
|
4094
5101
|
@frames = args[:frames] if args.key?(:frames)
|
4095
5102
|
@segment = args[:segment] if args.key?(:segment)
|
4096
5103
|
@track_id = args[:track_id] if args.key?(:track_id)
|
5104
|
+
@version = args[:version] if args.key?(:version)
|
4097
5105
|
end
|
4098
5106
|
end
|
4099
5107
|
|
@@ -4125,6 +5133,56 @@ module Google
|
|
4125
5133
|
end
|
4126
5134
|
end
|
4127
5135
|
|
5136
|
+
# Person detection annotation per video.
|
5137
|
+
class GoogleCloudVideointelligenceV1p3beta1PersonDetectionAnnotation
|
5138
|
+
include Google::Apis::Core::Hashable
|
5139
|
+
|
5140
|
+
# The detected tracks of a person.
|
5141
|
+
# Corresponds to the JSON property `tracks`
|
5142
|
+
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1Track>]
|
5143
|
+
attr_accessor :tracks
|
5144
|
+
|
5145
|
+
# Feature version.
|
5146
|
+
# Corresponds to the JSON property `version`
|
5147
|
+
# @return [String]
|
5148
|
+
attr_accessor :version
|
5149
|
+
|
5150
|
+
def initialize(**args)
|
5151
|
+
update!(**args)
|
5152
|
+
end
|
5153
|
+
|
5154
|
+
# Update properties of this object
|
5155
|
+
def update!(**args)
|
5156
|
+
@tracks = args[:tracks] if args.key?(:tracks)
|
5157
|
+
@version = args[:version] if args.key?(:version)
|
5158
|
+
end
|
5159
|
+
end
|
5160
|
+
|
5161
|
+
# The recognized celebrity with confidence score.
|
5162
|
+
class GoogleCloudVideointelligenceV1p3beta1RecognizedCelebrity
|
5163
|
+
include Google::Apis::Core::Hashable
|
5164
|
+
|
5165
|
+
# Celebrity definition.
|
5166
|
+
# Corresponds to the JSON property `celebrity`
|
5167
|
+
# @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1Celebrity]
|
5168
|
+
attr_accessor :celebrity
|
5169
|
+
|
5170
|
+
# Recognition confidence. Range [0, 1].
|
5171
|
+
# Corresponds to the JSON property `confidence`
|
5172
|
+
# @return [Float]
|
5173
|
+
attr_accessor :confidence
|
5174
|
+
|
5175
|
+
def initialize(**args)
|
5176
|
+
update!(**args)
|
5177
|
+
end
|
5178
|
+
|
5179
|
+
# Update properties of this object
|
5180
|
+
def update!(**args)
|
5181
|
+
@celebrity = args[:celebrity] if args.key?(:celebrity)
|
5182
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
5183
|
+
end
|
5184
|
+
end
|
5185
|
+
|
4128
5186
|
# Alternative hypotheses (a.k.a. n-best list).
|
4129
5187
|
class GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative
|
4130
5188
|
include Google::Apis::Core::Hashable
|
@@ -4145,8 +5203,8 @@ module Google
|
|
4145
5203
|
attr_accessor :transcript
|
4146
5204
|
|
4147
5205
|
# Output only. A list of word-specific information for each recognized word.
|
4148
|
-
# Note: When `enable_speaker_diarization` is true, you will see all
|
4149
|
-
# from the beginning of the audio.
|
5206
|
+
# Note: When `enable_speaker_diarization` is set to true, you will see all
|
5207
|
+
# the words from the beginning of the audio.
|
4150
5208
|
# Corresponds to the JSON property `words`
|
4151
5209
|
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1WordInfo>]
|
4152
5210
|
attr_accessor :words
|
@@ -4175,10 +5233,10 @@ module Google
|
|
4175
5233
|
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative>]
|
4176
5234
|
attr_accessor :alternatives
|
4177
5235
|
|
4178
|
-
# Output only. The
|
4179
|
-
#
|
4180
|
-
# language in this result. This language code was detected to have the
|
4181
|
-
# likelihood of being spoken in the audio.
|
5236
|
+
# Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
|
5237
|
+
# language tag of
|
5238
|
+
# the language in this result. This language code was detected to have the
|
5239
|
+
# most likelihood of being spoken in the audio.
|
4182
5240
|
# Corresponds to the JSON property `languageCode`
|
4183
5241
|
# @return [String]
|
4184
5242
|
attr_accessor :language_code
|
@@ -4206,10 +5264,10 @@ module Google
|
|
4206
5264
|
# @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1StreamingVideoAnnotationResults]
|
4207
5265
|
attr_accessor :annotation_results
|
4208
5266
|
|
4209
|
-
# GCS URI that stores annotation results of one
|
4210
|
-
#
|
4211
|
-
#
|
4212
|
-
#
|
5267
|
+
# Google Cloud Storage(GCS) URI that stores annotation results of one
|
5268
|
+
# streaming session in JSON format.
|
5269
|
+
# It is the annotation_result_storage_directory
|
5270
|
+
# from the request followed by '/cloud_project_number-session_id'.
|
4213
5271
|
# Corresponds to the JSON property `annotationResultsUri`
|
4214
5272
|
# @return [String]
|
4215
5273
|
attr_accessor :annotation_results_uri
|
@@ -4292,6 +5350,11 @@ module Google
|
|
4292
5350
|
# @return [String]
|
4293
5351
|
attr_accessor :text
|
4294
5352
|
|
5353
|
+
# Feature version.
|
5354
|
+
# Corresponds to the JSON property `version`
|
5355
|
+
# @return [String]
|
5356
|
+
attr_accessor :version
|
5357
|
+
|
4295
5358
|
def initialize(**args)
|
4296
5359
|
update!(**args)
|
4297
5360
|
end
|
@@ -4300,6 +5363,7 @@ module Google
|
|
4300
5363
|
def update!(**args)
|
4301
5364
|
@segments = args[:segments] if args.key?(:segments)
|
4302
5365
|
@text = args[:text] if args.key?(:text)
|
5366
|
+
@version = args[:version] if args.key?(:version)
|
4303
5367
|
end
|
4304
5368
|
end
|
4305
5369
|
|
@@ -4376,8 +5440,7 @@ module Google
|
|
4376
5440
|
end
|
4377
5441
|
end
|
4378
5442
|
|
4379
|
-
# For tracking related features
|
4380
|
-
# CELEBRITY_RECOGNITION, PERSON_DETECTION.
|
5443
|
+
# For tracking related features.
|
4381
5444
|
# An object at time_offset with attributes, and located with
|
4382
5445
|
# normalized_bounding_box.
|
4383
5446
|
class GoogleCloudVideointelligenceV1p3beta1TimestampedObject
|
@@ -4388,6 +5451,11 @@ module Google
|
|
4388
5451
|
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1DetectedAttribute>]
|
4389
5452
|
attr_accessor :attributes
|
4390
5453
|
|
5454
|
+
# Optional. The detected landmarks.
|
5455
|
+
# Corresponds to the JSON property `landmarks`
|
5456
|
+
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1DetectedLandmark>]
|
5457
|
+
attr_accessor :landmarks
|
5458
|
+
|
4391
5459
|
# Normalized bounding box.
|
4392
5460
|
# The normalized vertex coordinates are relative to the original image.
|
4393
5461
|
# Range: [0, 1].
|
@@ -4408,6 +5476,7 @@ module Google
|
|
4408
5476
|
# Update properties of this object
|
4409
5477
|
def update!(**args)
|
4410
5478
|
@attributes = args[:attributes] if args.key?(:attributes)
|
5479
|
+
@landmarks = args[:landmarks] if args.key?(:landmarks)
|
4411
5480
|
@normalized_bounding_box = args[:normalized_bounding_box] if args.key?(:normalized_bounding_box)
|
4412
5481
|
@time_offset = args[:time_offset] if args.key?(:time_offset)
|
4413
5482
|
end
|
@@ -4455,13 +5524,13 @@ module Google
|
|
4455
5524
|
include Google::Apis::Core::Hashable
|
4456
5525
|
|
4457
5526
|
# Specifies which feature is being tracked if the request contains more than
|
4458
|
-
# one
|
5527
|
+
# one feature.
|
4459
5528
|
# Corresponds to the JSON property `feature`
|
4460
5529
|
# @return [String]
|
4461
5530
|
attr_accessor :feature
|
4462
5531
|
|
4463
5532
|
# Video file location in
|
4464
|
-
# [
|
5533
|
+
# [Cloud Storage](https://cloud.google.com/storage/).
|
4465
5534
|
# Corresponds to the JSON property `inputUri`
|
4466
5535
|
# @return [String]
|
4467
5536
|
attr_accessor :input_uri
|
@@ -4506,6 +5575,11 @@ module Google
|
|
4506
5575
|
class GoogleCloudVideointelligenceV1p3beta1VideoAnnotationResults
|
4507
5576
|
include Google::Apis::Core::Hashable
|
4508
5577
|
|
5578
|
+
# Celebrity recognition annotation per video.
|
5579
|
+
# Corresponds to the JSON property `celebrityRecognitionAnnotations`
|
5580
|
+
# @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation]
|
5581
|
+
attr_accessor :celebrity_recognition_annotations
|
5582
|
+
|
4509
5583
|
# The `Status` type defines a logical error model that is suitable for
|
4510
5584
|
# different programming environments, including REST APIs and RPC APIs. It is
|
4511
5585
|
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
@@ -4523,6 +5597,11 @@ module Google
|
|
4523
5597
|
# @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation]
|
4524
5598
|
attr_accessor :explicit_annotation
|
4525
5599
|
|
5600
|
+
# Face detection annotations.
|
5601
|
+
# Corresponds to the JSON property `faceDetectionAnnotations`
|
5602
|
+
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation>]
|
5603
|
+
attr_accessor :face_detection_annotations
|
5604
|
+
|
4526
5605
|
# Label annotations on frame level.
|
4527
5606
|
# There is exactly one element for each unique label.
|
4528
5607
|
# Corresponds to the JSON property `frameLabelAnnotations`
|
@@ -4530,7 +5609,7 @@ module Google
|
|
4530
5609
|
attr_accessor :frame_label_annotations
|
4531
5610
|
|
4532
5611
|
# Video file location in
|
4533
|
-
# [
|
5612
|
+
# [Cloud Storage](https://cloud.google.com/storage/).
|
4534
5613
|
# Corresponds to the JSON property `inputUri`
|
4535
5614
|
# @return [String]
|
4536
5615
|
attr_accessor :input_uri
|
@@ -4545,18 +5624,23 @@ module Google
|
|
4545
5624
|
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation>]
|
4546
5625
|
attr_accessor :object_annotations
|
4547
5626
|
|
5627
|
+
# Person detection annotations.
|
5628
|
+
# Corresponds to the JSON property `personDetectionAnnotations`
|
5629
|
+
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1PersonDetectionAnnotation>]
|
5630
|
+
attr_accessor :person_detection_annotations
|
5631
|
+
|
4548
5632
|
# Video segment.
|
4549
5633
|
# Corresponds to the JSON property `segment`
|
4550
5634
|
# @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment]
|
4551
5635
|
attr_accessor :segment
|
4552
5636
|
|
4553
|
-
# Topical label annotations on video level or user
|
5637
|
+
# Topical label annotations on video level or user-specified segment level.
|
4554
5638
|
# There is exactly one element for each unique label.
|
4555
5639
|
# Corresponds to the JSON property `segmentLabelAnnotations`
|
4556
5640
|
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]
|
4557
5641
|
attr_accessor :segment_label_annotations
|
4558
5642
|
|
4559
|
-
# Presence label annotations on video level or user
|
5643
|
+
# Presence label annotations on video level or user-specified segment level.
|
4560
5644
|
# There is exactly one element for each unique label. Compared to the
|
4561
5645
|
# existing topical `segment_label_annotations`, this field presents more
|
4562
5646
|
# fine-grained, segment-level labels detected in video content and is made
|
@@ -4604,12 +5688,15 @@ module Google
|
|
4604
5688
|
|
4605
5689
|
# Update properties of this object
|
4606
5690
|
def update!(**args)
|
5691
|
+
@celebrity_recognition_annotations = args[:celebrity_recognition_annotations] if args.key?(:celebrity_recognition_annotations)
|
4607
5692
|
@error = args[:error] if args.key?(:error)
|
4608
5693
|
@explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
|
5694
|
+
@face_detection_annotations = args[:face_detection_annotations] if args.key?(:face_detection_annotations)
|
4609
5695
|
@frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
|
4610
5696
|
@input_uri = args[:input_uri] if args.key?(:input_uri)
|
4611
5697
|
@logo_recognition_annotations = args[:logo_recognition_annotations] if args.key?(:logo_recognition_annotations)
|
4612
5698
|
@object_annotations = args[:object_annotations] if args.key?(:object_annotations)
|
5699
|
+
@person_detection_annotations = args[:person_detection_annotations] if args.key?(:person_detection_annotations)
|
4613
5700
|
@segment = args[:segment] if args.key?(:segment)
|
4614
5701
|
@segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
|
4615
5702
|
@segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations)
|