google-api-client 0.43.0 → 0.44.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +218 -0
- data/docs/oauth-server.md +4 -6
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +51 -86
- data/generated/google/apis/accessapproval_v1/service.rb +93 -132
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +198 -236
- data/generated/google/apis/accesscontextmanager_v1/service.rb +128 -171
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +153 -184
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +82 -111
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +17 -6
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +47 -2
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +18 -0
- data/generated/google/apis/adexperiencereport_v1.rb +1 -1
- data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +16 -4
- data/generated/google/apis/admin_datatransfer_v1/service.rb +30 -48
- data/generated/google/apis/admin_directory_v1.rb +6 -8
- data/generated/google/apis/admin_directory_v1/classes.rb +224 -243
- data/generated/google/apis/admin_directory_v1/representations.rb +14 -40
- data/generated/google/apis/admin_directory_v1/service.rb +475 -1026
- data/generated/google/apis/admin_reports_v1.rb +6 -5
- data/generated/google/apis/admin_reports_v1/classes.rb +31 -33
- data/generated/google/apis/admin_reports_v1/service.rb +131 -187
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +95 -59
- data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/service.rb +2 -2
- data/generated/google/apis/apigee_v1.rb +6 -7
- data/generated/google/apis/apigee_v1/classes.rb +205 -75
- data/generated/google/apis/apigee_v1/representations.rb +51 -0
- data/generated/google/apis/apigee_v1/service.rb +133 -34
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +45 -35
- data/generated/google/apis/appengine_v1/representations.rb +2 -0
- data/generated/google/apis/appengine_v1/service.rb +38 -47
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +45 -35
- data/generated/google/apis/appengine_v1beta/representations.rb +2 -0
- data/generated/google/apis/appengine_v1beta/service.rb +37 -47
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +235 -337
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +355 -553
- data/generated/google/apis/bigquery_v2/representations.rb +1 -0
- data/generated/google/apis/bigquery_v2/service.rb +32 -40
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +192 -337
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +29 -32
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +132 -158
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +232 -282
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +116 -123
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +2 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +137 -183
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +88 -100
- data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +77 -100
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +93 -98
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +2 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +114 -151
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +50 -0
- data/generated/google/apis/bigtableadmin_v1/representations.rb +29 -0
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +50 -0
- data/generated/google/apis/bigtableadmin_v2/representations.rb +29 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +239 -354
- data/generated/google/apis/binaryauthorization_v1/service.rb +74 -89
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +239 -354
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +74 -89
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +90 -115
- data/generated/google/apis/chat_v1/service.rb +30 -42
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +712 -1039
- data/generated/google/apis/cloudasset_v1/service.rb +125 -167
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -777
- data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +220 -276
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
- data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +481 -720
- data/generated/google/apis/cloudasset_v1p5beta1/service.rb +25 -28
- data/generated/google/apis/cloudbilling_v1.rb +7 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +284 -445
- data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +291 -343
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +48 -63
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +283 -329
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +269 -313
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
- data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +127 -156
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +323 -493
- data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +625 -75
- data/generated/google/apis/cloudidentity_v1/representations.rb +203 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +43 -61
- data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1045 -317
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +331 -22
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +742 -96
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +263 -373
- data/generated/google/apis/cloudiot_v1/service.rb +147 -154
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +502 -692
- data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
- data/generated/google/apis/cloudkms_v1/service.rb +170 -216
- data/generated/google/apis/cloudprofiler_v2.rb +1 -1
- data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
- data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +272 -383
- data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +273 -384
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
- data/generated/google/apis/cloudsearch_v1.rb +2 -2
- data/generated/google/apis/cloudsearch_v1/classes.rb +650 -781
- data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +36 -227
- data/generated/google/apis/cloudshell_v1/representations.rb +0 -67
- data/generated/google/apis/cloudshell_v1/service.rb +21 -25
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +69 -78
- data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +605 -933
- data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +602 -964
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +609 -938
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +39 -61
- data/generated/google/apis/cloudtrace_v1/service.rb +37 -51
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +92 -107
- data/generated/google/apis/cloudtrace_v2/service.rb +8 -11
- data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
- data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
- data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +190 -242
- data/generated/google/apis/composer_v1/service.rb +79 -150
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
- data/generated/google/apis/composer_v1beta1/service.rb +92 -179
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +681 -127
- data/generated/google/apis/compute_alpha/representations.rb +110 -6
- data/generated/google/apis/compute_alpha/service.rb +695 -692
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +570 -70
- data/generated/google/apis/compute_beta/representations.rb +112 -1
- data/generated/google/apis/compute_beta/service.rb +608 -605
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +977 -85
- data/generated/google/apis/compute_v1/representations.rb +372 -0
- data/generated/google/apis/compute_v1/service.rb +747 -15
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +915 -965
- data/generated/google/apis/container_v1/representations.rb +53 -0
- data/generated/google/apis/container_v1/service.rb +435 -502
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +1021 -1043
- data/generated/google/apis/container_v1beta1/representations.rb +70 -0
- data/generated/google/apis/container_v1beta1/service.rb +403 -466
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +456 -596
- data/generated/google/apis/containeranalysis_v1alpha1/service.rb +149 -169
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +454 -613
- data/generated/google/apis/containeranalysis_v1beta1/service.rb +75 -90
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +3 -1
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +93 -2
- data/generated/google/apis/content_v2_1/representations.rb +34 -0
- data/generated/google/apis/content_v2_1/service.rb +53 -2
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +382 -573
- data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +1015 -973
- data/generated/google/apis/dataflow_v1b3/representations.rb +115 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +299 -257
- data/generated/google/apis/datafusion_v1.rb +5 -8
- data/generated/google/apis/datafusion_v1/classes.rb +268 -397
- data/generated/google/apis/datafusion_v1/representations.rb +3 -0
- data/generated/google/apis/datafusion_v1/service.rb +76 -89
- data/generated/google/apis/datafusion_v1beta1.rb +5 -8
- data/generated/google/apis/datafusion_v1beta1/classes.rb +268 -397
- data/generated/google/apis/datafusion_v1beta1/representations.rb +3 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +37 -4
- data/generated/google/apis/dataproc_v1/representations.rb +16 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +56 -0
- data/generated/google/apis/dataproc_v1beta2/representations.rb +31 -0
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +330 -472
- data/generated/google/apis/datastore_v1/service.rb +52 -63
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
- data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +255 -371
- data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
- data/generated/google/apis/dfareporting_v3_3.rb +2 -2
- data/generated/google/apis/dfareporting_v3_3/classes.rb +326 -339
- data/generated/google/apis/dfareporting_v3_3/representations.rb +42 -0
- data/generated/google/apis/dfareporting_v3_3/service.rb +673 -1286
- data/generated/google/apis/dfareporting_v3_4.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4/classes.rb +348 -350
- data/generated/google/apis/dfareporting_v3_4/representations.rb +43 -0
- data/generated/google/apis/dfareporting_v3_4/service.rb +708 -1285
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +84 -44
- data/generated/google/apis/dialogflow_v2/representations.rb +52 -15
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +84 -44
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +52 -15
- data/generated/google/apis/dialogflow_v2beta1/service.rb +37 -0
- data/generated/google/apis/{securitycenter_v1p1alpha1.rb → dialogflow_v3beta1.rb} +13 -10
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +8183 -0
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +3459 -0
- data/generated/google/apis/dialogflow_v3beta1/service.rb +2812 -0
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +55 -8
- data/generated/google/apis/displayvideo_v1/representations.rb +5 -0
- data/generated/google/apis/displayvideo_v1/service.rb +48 -36
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +1076 -1302
- data/generated/google/apis/dlp_v2/service.rb +962 -905
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +175 -198
- data/generated/google/apis/dns_v1/service.rb +82 -97
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +180 -205
- data/generated/google/apis/dns_v1beta2/service.rb +82 -97
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +894 -1229
- data/generated/google/apis/docs_v1/service.rb +17 -22
- data/generated/google/apis/documentai_v1beta2.rb +1 -1
- data/generated/google/apis/documentai_v1beta2/classes.rb +1186 -810
- data/generated/google/apis/documentai_v1beta2/representations.rb +303 -0
- data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
- data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -12
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +33 -64
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +11 -18
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +33 -64
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/service.rb +2 -2
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +14 -6
- data/generated/google/apis/drive_v2/representations.rb +1 -0
- data/generated/google/apis/drive_v2/service.rb +79 -15
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +14 -6
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- data/generated/google/apis/drive_v3/service.rb +59 -11
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +154 -173
- data/generated/google/apis/file_v1/service.rb +43 -52
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +334 -193
- data/generated/google/apis/file_v1beta1/representations.rb +55 -0
- data/generated/google/apis/file_v1beta1/service.rb +267 -55
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +25 -47
- data/generated/google/apis/firebase_v1beta1/representations.rb +2 -16
- data/generated/google/apis/firebase_v1beta1/service.rb +8 -1
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +26 -0
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +15 -0
- data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +0 -8
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +0 -1
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
- data/generated/google/apis/firebaserules_v1/service.rb +87 -110
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +402 -498
- data/generated/google/apis/firestore_v1/service.rb +165 -201
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +334 -409
- data/generated/google/apis/firestore_v1beta1/service.rb +106 -122
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
- data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
- data/generated/google/apis/fitness_v1.rb +85 -0
- data/generated/google/apis/fitness_v1/classes.rb +982 -0
- data/generated/google/apis/fitness_v1/representations.rb +398 -0
- data/generated/google/apis/fitness_v1/service.rb +626 -0
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
- data/generated/google/apis/games_configuration_v1configuration/service.rb +6 -6
- data/generated/google/apis/games_management_v1management.rb +2 -3
- data/generated/google/apis/games_management_v1management/classes.rb +14 -20
- data/generated/google/apis/games_management_v1management/service.rb +35 -36
- data/generated/google/apis/games_v1.rb +2 -3
- data/generated/google/apis/games_v1/classes.rb +76 -83
- data/generated/google/apis/games_v1/representations.rb +2 -0
- data/generated/google/apis/games_v1/service.rb +84 -90
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +70 -76
- data/generated/google/apis/genomics_v1/service.rb +28 -43
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
- data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +252 -275
- data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +47 -66
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +37 -43
- data/generated/google/apis/gmail_v1/service.rb +4 -3
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +2 -2
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +1 -1
- data/generated/google/apis/groupsmigration_v1.rb +35 -0
- data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
- data/generated/google/apis/groupsmigration_v1/representations.rb +40 -0
- data/generated/google/apis/groupsmigration_v1/service.rb +100 -0
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +563 -826
- data/generated/google/apis/healthcare_v1/service.rb +675 -853
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +828 -1102
- data/generated/google/apis/healthcare_v1beta1/representations.rb +20 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +895 -1139
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +76 -164
- data/generated/google/apis/homegraph_v1/service.rb +23 -35
- data/generated/google/apis/iam_v1.rb +5 -2
- data/generated/google/apis/iam_v1/classes.rb +388 -592
- data/generated/google/apis/iam_v1/service.rb +429 -555
- data/generated/google/apis/iamcredentials_v1.rb +4 -2
- data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
- data/generated/google/apis/iamcredentials_v1/service.rb +15 -13
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +246 -355
- data/generated/google/apis/iap_v1/service.rb +61 -71
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +157 -254
- data/generated/google/apis/iap_v1beta1/service.rb +17 -19
- data/generated/google/apis/indexing_v3.rb +1 -1
- data/generated/google/apis/indexing_v3/classes.rb +11 -11
- data/generated/google/apis/kgsearch_v1.rb +1 -1
- data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
- data/generated/google/apis/kgsearch_v1/service.rb +11 -11
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +262 -290
- data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
- data/generated/google/apis/localservices_v1.rb +31 -0
- data/generated/google/apis/localservices_v1/classes.rb +419 -0
- data/generated/google/apis/localservices_v1/representations.rb +172 -0
- data/generated/google/apis/localservices_v1/service.rb +199 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +174 -214
- data/generated/google/apis/logging_v2/representations.rb +15 -0
- data/generated/google/apis/logging_v2/service.rb +1017 -584
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
- data/generated/google/apis/manufacturers_v1/service.rb +44 -55
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +170 -249
- data/generated/google/apis/memcache_v1beta2/representations.rb +0 -19
- data/generated/google/apis/memcache_v1beta2/service.rb +58 -71
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +949 -1144
- data/generated/google/apis/ml_v1/representations.rb +64 -0
- data/generated/google/apis/ml_v1/service.rb +194 -253
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +103 -26
- data/generated/google/apis/monitoring_v1/representations.rb +35 -0
- data/generated/google/apis/monitoring_v1/service.rb +10 -11
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +220 -322
- data/generated/google/apis/monitoring_v3/service.rb +121 -140
- data/generated/google/apis/networkmanagement_v1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
- data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +388 -429
- data/generated/google/apis/networkmanagement_v1beta1/representations.rb +40 -0
- data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +226 -270
- data/generated/google/apis/osconfig_v1/service.rb +22 -27
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +1031 -411
- data/generated/google/apis/osconfig_v1beta/representations.rb +337 -0
- data/generated/google/apis/osconfig_v1beta/service.rb +39 -52
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1/service.rb +12 -16
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1alpha/service.rb +14 -14
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
- data/generated/google/apis/pagespeedonline_v5.rb +2 -2
- data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
- data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +121 -12
- data/generated/google/apis/people_v1/representations.rb +41 -0
- data/generated/google/apis/people_v1/service.rb +39 -39
- data/generated/google/apis/playablelocations_v3.rb +1 -1
- data/generated/google/apis/playablelocations_v3/classes.rb +108 -155
- data/generated/google/apis/playablelocations_v3/service.rb +10 -10
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +6 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +392 -518
- data/generated/google/apis/pubsub_v1/representations.rb +1 -0
- data/generated/google/apis/pubsub_v1/service.rb +220 -246
- data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
- data/generated/google/apis/pubsub_v1beta1a/classes.rb +71 -86
- data/generated/google/apis/pubsub_v1beta1a/service.rb +31 -38
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +244 -354
- data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
- data/generated/google/apis/{memcache_v1.rb → pubsublite_v1.rb} +8 -9
- data/generated/google/apis/pubsublite_v1/classes.rb +389 -0
- data/generated/google/apis/{accessapproval_v1beta1 → pubsublite_v1}/representations.rb +78 -53
- data/generated/google/apis/{memcache_v1 → pubsublite_v1}/service.rb +195 -228
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +335 -456
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +0 -16
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +140 -206
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +172 -208
- data/generated/google/apis/redis_v1/service.rb +93 -110
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +176 -212
- data/generated/google/apis/redis_v1beta1/service.rb +93 -110
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +951 -1078
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +61 -0
- data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +946 -1071
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +61 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +1099 -1250
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +61 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +4 -3
- data/generated/google/apis/run_v1/representations.rb +1 -1
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/run_v1beta1/classes.rb +3 -2
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +295 -412
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
- data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +6 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +88 -111
- data/generated/google/apis/script_v1/service.rb +63 -69
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +211 -363
- data/generated/google/apis/secretmanager_v1/service.rb +66 -82
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +211 -363
- data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +16 -6
- data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +21 -9
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
- data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
- data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +281 -103
- data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +101 -30
- data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +18 -48
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +19 -49
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +523 -641
- data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +279 -325
- data/generated/google/apis/servicecontrol_v2/service.rb +33 -43
- data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +214 -333
- data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +1266 -2116
- data/generated/google/apis/servicemanagement_v1/service.rb +144 -195
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +93 -48
- data/generated/google/apis/servicenetworking_v1/representations.rb +52 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +116 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +74 -48
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +38 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +52 -48
- data/generated/google/apis/serviceusage_v1/representations.rb +4 -0
- data/generated/google/apis/serviceusage_v1/service.rb +5 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +87 -49
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +8 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +3932 -5007
- data/generated/google/apis/sheets_v4/representations.rb +625 -0
- data/generated/google/apis/sheets_v4/service.rb +113 -149
- data/generated/google/apis/site_verification_v1.rb +1 -1
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +841 -1114
- data/generated/google/apis/slides_v1/service.rb +23 -30
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +6 -6
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +1546 -2157
- data/generated/google/apis/spanner_v1/service.rb +443 -618
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +174 -220
- data/generated/google/apis/speech_v1/service.rb +27 -32
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
- data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
- data/generated/google/apis/speech_v2beta1.rb +1 -1
- data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
- data/generated/google/apis/speech_v2beta1/service.rb +10 -12
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +311 -370
- data/generated/google/apis/sql_v1beta4/representations.rb +2 -0
- data/generated/google/apis/sql_v1beta4/service.rb +51 -56
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +8 -7
- data/generated/google/apis/storage_v1/representations.rb +2 -2
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +261 -339
- data/generated/google/apis/storagetransfer_v1/service.rb +43 -64
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +106 -148
- data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1/service.rb +2 -2
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tagmanager_v2/service.rb +2 -2
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/tasks_v1/classes.rb +20 -21
- data/generated/google/apis/tasks_v1/service.rb +16 -17
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +317 -382
- data/generated/google/apis/testing_v1/representations.rb +2 -0
- data/generated/google/apis/testing_v1/service.rb +22 -28
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +51 -57
- data/generated/google/apis/texttospeech_v1/service.rb +9 -10
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +96 -57
- data/generated/google/apis/texttospeech_v1beta1/representations.rb +19 -0
- data/generated/google/apis/texttospeech_v1beta1/service.rb +9 -10
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +7 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +11 -0
- data/generated/google/apis/tpu_v1/representations.rb +1 -0
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +11 -0
- data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/{accessapproval_v1beta1.rb → trafficdirector_v2.rb} +9 -9
- data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
- data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
- data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +148 -175
- data/generated/google/apis/translate_v3/service.rb +122 -151
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +149 -170
- data/generated/google/apis/translate_v3beta1/service.rb +122 -151
- data/generated/google/apis/vectortile_v1.rb +1 -1
- data/generated/google/apis/vectortile_v1/classes.rb +185 -267
- data/generated/google/apis/vectortile_v1/service.rb +75 -88
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +753 -918
- data/generated/google/apis/videointelligence_v1/service.rb +40 -48
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +748 -911
- data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +748 -911
- data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +748 -911
- data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +754 -920
- data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
- data/generated/google/apis/webfonts_v1.rb +2 -3
- data/generated/google/apis/webfonts_v1/classes.rb +1 -2
- data/generated/google/apis/webfonts_v1/service.rb +2 -4
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +347 -0
- data/generated/google/apis/youtube_v3/representations.rb +176 -0
- data/generated/google/apis/youtube_v3/service.rb +78 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +31 -31
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
- data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -857
- data/generated/google/apis/dns_v2beta1.rb +0 -43
- data/generated/google/apis/dns_v2beta1/classes.rb +0 -1447
- data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
- data/generated/google/apis/dns_v2beta1/service.rb +0 -928
- data/generated/google/apis/memcache_v1/classes.rb +0 -1157
- data/generated/google/apis/memcache_v1/representations.rb +0 -471
- data/generated/google/apis/oauth2_v2.rb +0 -40
- data/generated/google/apis/oauth2_v2/classes.rb +0 -165
- data/generated/google/apis/oauth2_v2/representations.rb +0 -68
- data/generated/google/apis/oauth2_v2/service.rb +0 -158
- data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +0 -207
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2059
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1243
- data/generated/google/apis/storage_v1beta2.rb +0 -40
- data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
- data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
- data/generated/google/apis/storage_v1beta2/service.rb +0 -1667
@@ -49,10 +49,10 @@ module Google
|
|
49
49
|
@batch_path = 'batch'
|
50
50
|
end
|
51
51
|
|
52
|
-
# Performs asynchronous video annotation. Progress and results can be
|
53
|
-
#
|
54
|
-
#
|
55
|
-
#
|
52
|
+
# Performs asynchronous video annotation. Progress and results can be retrieved
|
53
|
+
# through the `google.longrunning.Operations` interface. `Operation.metadata`
|
54
|
+
# contains `AnnotateVideoProgress` (progress). `Operation.response` contains `
|
55
|
+
# AnnotateVideoResponse` (results).
|
56
56
|
# @param [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2AnnotateVideoRequest] google_cloud_videointelligence_v1beta2_annotate_video_request_object
|
57
57
|
# @param [String] fields
|
58
58
|
# Selector specifying which fields to include in a partial response.
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://cloud.google.com/video-intelligence/docs/
|
28
28
|
module VideointelligenceV1p1beta1
|
29
29
|
VERSION = 'V1p1beta1'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20200810'
|
31
31
|
|
32
32
|
# View and manage your data across Google Cloud Platform services
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -22,9 +22,9 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module VideointelligenceV1p1beta1
|
24
24
|
|
25
|
-
# Video annotation progress. Included in the `metadata`
|
26
|
-
#
|
27
|
-
#
|
25
|
+
# Video annotation progress. Included in the `metadata` field of the `Operation`
|
26
|
+
# returned by the `GetOperation` call of the `google::longrunning::Operations`
|
27
|
+
# service.
|
28
28
|
class GoogleCloudVideointelligenceV1AnnotateVideoProgress
|
29
29
|
include Google::Apis::Core::Hashable
|
30
30
|
|
@@ -43,9 +43,9 @@ module Google
|
|
43
43
|
end
|
44
44
|
end
|
45
45
|
|
46
|
-
# Video annotation response. Included in the `response`
|
47
|
-
#
|
48
|
-
#
|
46
|
+
# Video annotation response. Included in the `response` field of the `Operation`
|
47
|
+
# returned by the `GetOperation` call of the `google::longrunning::Operations`
|
48
|
+
# service.
|
49
49
|
class GoogleCloudVideointelligenceV1AnnotateVideoResponse
|
50
50
|
include Google::Apis::Core::Hashable
|
51
51
|
|
@@ -73,14 +73,14 @@ module Google
|
|
73
73
|
# @return [Float]
|
74
74
|
attr_accessor :confidence
|
75
75
|
|
76
|
-
# The name of the attribute, for example, glasses, dark_glasses, mouth_open.
|
77
|
-
#
|
76
|
+
# The name of the attribute, for example, glasses, dark_glasses, mouth_open. A
|
77
|
+
# full list of supported type names will be provided in the document.
|
78
78
|
# Corresponds to the JSON property `name`
|
79
79
|
# @return [String]
|
80
80
|
attr_accessor :name
|
81
81
|
|
82
|
-
# Text value of the detection result. For example, the value for "HairColor"
|
83
|
-
#
|
82
|
+
# Text value of the detection result. For example, the value for "HairColor" can
|
83
|
+
# be "black", "blonde", etc.
|
84
84
|
# Corresponds to the JSON property `value`
|
85
85
|
# @return [String]
|
86
86
|
attr_accessor :value
|
@@ -112,9 +112,8 @@ module Google
|
|
112
112
|
# @return [String]
|
113
113
|
attr_accessor :name
|
114
114
|
|
115
|
-
# A vertex represents a 2D point in the image.
|
116
|
-
#
|
117
|
-
# and range from 0 to 1.
|
115
|
+
# A vertex represents a 2D point in the image. NOTE: the normalized vertex
|
116
|
+
# coordinates are relative to the original image and range from 0 to 1.
|
118
117
|
# Corresponds to the JSON property `point`
|
119
118
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1NormalizedVertex]
|
120
119
|
attr_accessor :point
|
@@ -140,8 +139,7 @@ module Google
|
|
140
139
|
# @return [String]
|
141
140
|
attr_accessor :description
|
142
141
|
|
143
|
-
# Opaque entity ID. Some IDs may be available in
|
144
|
-
# [Google Knowledge Graph Search
|
142
|
+
# Opaque entity ID. Some IDs may be available in [Google Knowledge Graph Search
|
145
143
|
# API](https://developers.google.com/knowledge-graph/).
|
146
144
|
# Corresponds to the JSON property `entityId`
|
147
145
|
# @return [String]
|
@@ -164,9 +162,9 @@ module Google
|
|
164
162
|
end
|
165
163
|
end
|
166
164
|
|
167
|
-
# Explicit content annotation (based on per-frame visual signals only).
|
168
|
-
#
|
169
|
-
#
|
165
|
+
# Explicit content annotation (based on per-frame visual signals only). If no
|
166
|
+
# explicit content has been detected in a frame, no annotations are present for
|
167
|
+
# that frame.
|
170
168
|
class GoogleCloudVideointelligenceV1ExplicitContentAnnotation
|
171
169
|
include Google::Apis::Core::Hashable
|
172
170
|
|
@@ -221,10 +219,9 @@ module Google
|
|
221
219
|
class GoogleCloudVideointelligenceV1LabelAnnotation
|
222
220
|
include Google::Apis::Core::Hashable
|
223
221
|
|
224
|
-
# Common categories for the detected entity.
|
225
|
-
#
|
226
|
-
#
|
227
|
-
# also be a `pet`.
|
222
|
+
# Common categories for the detected entity. For example, when the label is `
|
223
|
+
# Terrier`, the category is likely `dog`. And in some cases there might be more
|
224
|
+
# than one categories e.g., `Terrier` could also be a `pet`.
|
228
225
|
# Corresponds to the JSON property `categoryEntities`
|
229
226
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1Entity>]
|
230
227
|
attr_accessor :category_entities
|
@@ -323,14 +320,14 @@ module Google
|
|
323
320
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1Entity]
|
324
321
|
attr_accessor :entity
|
325
322
|
|
326
|
-
# All video segments where the recognized logo appears. There might be
|
327
|
-
#
|
323
|
+
# All video segments where the recognized logo appears. There might be multiple
|
324
|
+
# instances of the same logo class appearing in one VideoSegment.
|
328
325
|
# Corresponds to the JSON property `segments`
|
329
326
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1VideoSegment>]
|
330
327
|
attr_accessor :segments
|
331
328
|
|
332
|
-
# All logo tracks where the recognized logo appears. Each track corresponds
|
333
|
-
#
|
329
|
+
# All logo tracks where the recognized logo appears. Each track corresponds to
|
330
|
+
# one logo instance appearing in consecutive frames.
|
334
331
|
# Corresponds to the JSON property `tracks`
|
335
332
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1Track>]
|
336
333
|
attr_accessor :tracks
|
@@ -347,9 +344,8 @@ module Google
|
|
347
344
|
end
|
348
345
|
end
|
349
346
|
|
350
|
-
# Normalized bounding box.
|
351
|
-
#
|
352
|
-
# Range: [0, 1].
|
347
|
+
# Normalized bounding box. The normalized vertex coordinates are relative to the
|
348
|
+
# original image. Range: [0, 1].
|
353
349
|
class GoogleCloudVideointelligenceV1NormalizedBoundingBox
|
354
350
|
include Google::Apis::Core::Hashable
|
355
351
|
|
@@ -387,20 +383,12 @@ module Google
|
|
387
383
|
end
|
388
384
|
|
389
385
|
# Normalized bounding polygon for text (that might not be aligned with axis).
|
390
|
-
# Contains list of the corner points in clockwise order starting from
|
391
|
-
#
|
392
|
-
#
|
393
|
-
#
|
394
|
-
#
|
395
|
-
#
|
396
|
-
# When it's clockwise rotated 180 degrees around the top-left corner it
|
397
|
-
# becomes:
|
398
|
-
# 2----3
|
399
|
-
# | |
|
400
|
-
# 1----0
|
401
|
-
# and the vertex order will still be (0, 1, 2, 3). Note that values can be less
|
402
|
-
# than 0, or greater than 1 due to trignometric calculations for location of
|
403
|
-
# the box.
|
386
|
+
# Contains list of the corner points in clockwise order starting from top-left
|
387
|
+
# corner. For example, for a rectangular bounding box: When the text is
|
388
|
+
# horizontal it might look like: 0----1 | | 3----2 When it's clockwise rotated
|
389
|
+
# 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the
|
390
|
+
# vertex order will still be (0, 1, 2, 3). Note that values can be less than 0,
|
391
|
+
# or greater than 1 due to trignometric calculations for location of the box.
|
404
392
|
class GoogleCloudVideointelligenceV1NormalizedBoundingPoly
|
405
393
|
include Google::Apis::Core::Hashable
|
406
394
|
|
@@ -419,9 +407,8 @@ module Google
|
|
419
407
|
end
|
420
408
|
end
|
421
409
|
|
422
|
-
# A vertex represents a 2D point in the image.
|
423
|
-
#
|
424
|
-
# and range from 0 to 1.
|
410
|
+
# A vertex represents a 2D point in the image. NOTE: the normalized vertex
|
411
|
+
# coordinates are relative to the original image and range from 0 to 1.
|
425
412
|
class GoogleCloudVideointelligenceV1NormalizedVertex
|
426
413
|
include Google::Apis::Core::Hashable
|
427
414
|
|
@@ -460,10 +447,10 @@ module Google
|
|
460
447
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1Entity]
|
461
448
|
attr_accessor :entity
|
462
449
|
|
463
|
-
# Information corresponding to all frames where this object track appears.
|
464
|
-
#
|
465
|
-
#
|
466
|
-
#
|
450
|
+
# Information corresponding to all frames where this object track appears. Non-
|
451
|
+
# streaming batch mode: it may be one or multiple ObjectTrackingFrame messages
|
452
|
+
# in frames. Streaming mode: it can only be one ObjectTrackingFrame message in
|
453
|
+
# frames.
|
467
454
|
# Corresponds to the JSON property `frames`
|
468
455
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1ObjectTrackingFrame>]
|
469
456
|
attr_accessor :frames
|
@@ -473,12 +460,11 @@ module Google
|
|
473
460
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1VideoSegment]
|
474
461
|
attr_accessor :segment
|
475
462
|
|
476
|
-
# Streaming mode ONLY.
|
477
|
-
#
|
478
|
-
#
|
479
|
-
#
|
480
|
-
#
|
481
|
-
# ObjectTrackAnnotation of the same track_id over time.
|
463
|
+
# Streaming mode ONLY. In streaming mode, we do not know the end time of a
|
464
|
+
# tracked object before it is completed. Hence, there is no VideoSegment info
|
465
|
+
# returned. Instead, we provide a unique identifiable integer track_id so that
|
466
|
+
# the customers can correlate the results of the ongoing ObjectTrackAnnotation
|
467
|
+
# of the same track_id over time.
|
482
468
|
# Corresponds to the JSON property `trackId`
|
483
469
|
# @return [Fixnum]
|
484
470
|
attr_accessor :track_id
|
@@ -508,9 +494,8 @@ module Google
|
|
508
494
|
class GoogleCloudVideointelligenceV1ObjectTrackingFrame
|
509
495
|
include Google::Apis::Core::Hashable
|
510
496
|
|
511
|
-
# Normalized bounding box.
|
512
|
-
#
|
513
|
-
# Range: [0, 1].
|
497
|
+
# Normalized bounding box. The normalized vertex coordinates are relative to the
|
498
|
+
# original image. Range: [0, 1].
|
514
499
|
# Corresponds to the JSON property `normalizedBoundingBox`
|
515
500
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1NormalizedBoundingBox]
|
516
501
|
attr_accessor :normalized_bounding_box
|
@@ -537,10 +522,10 @@ module Google
|
|
537
522
|
|
538
523
|
# Output only. The confidence estimate between 0.0 and 1.0. A higher number
|
539
524
|
# indicates an estimated greater likelihood that the recognized words are
|
540
|
-
# correct. This field is set only for the top alternative.
|
541
|
-
#
|
542
|
-
#
|
543
|
-
#
|
525
|
+
# correct. This field is set only for the top alternative. This field is not
|
526
|
+
# guaranteed to be accurate and users should not rely on it to be always
|
527
|
+
# provided. The default of 0.0 is a sentinel value indicating `confidence` was
|
528
|
+
# not set.
|
544
529
|
# Corresponds to the JSON property `confidence`
|
545
530
|
# @return [Float]
|
546
531
|
attr_accessor :confidence
|
@@ -551,8 +536,8 @@ module Google
|
|
551
536
|
attr_accessor :transcript
|
552
537
|
|
553
538
|
# Output only. A list of word-specific information for each recognized word.
|
554
|
-
# Note: When `enable_speaker_diarization` is set to true, you will see all
|
555
|
-
#
|
539
|
+
# Note: When `enable_speaker_diarization` is set to true, you will see all the
|
540
|
+
# words from the beginning of the audio.
|
556
541
|
# Corresponds to the JSON property `words`
|
557
542
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1WordInfo>]
|
558
543
|
attr_accessor :words
|
@@ -573,18 +558,17 @@ module Google
|
|
573
558
|
class GoogleCloudVideointelligenceV1SpeechTranscription
|
574
559
|
include Google::Apis::Core::Hashable
|
575
560
|
|
576
|
-
# May contain one or more recognition hypotheses (up to the maximum specified
|
577
|
-
#
|
578
|
-
#
|
579
|
-
#
|
561
|
+
# May contain one or more recognition hypotheses (up to the maximum specified in
|
562
|
+
# `max_alternatives`). These alternatives are ordered in terms of accuracy, with
|
563
|
+
# the top (first) alternative being the most probable, as ranked by the
|
564
|
+
# recognizer.
|
580
565
|
# Corresponds to the JSON property `alternatives`
|
581
566
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1SpeechRecognitionAlternative>]
|
582
567
|
attr_accessor :alternatives
|
583
568
|
|
584
569
|
# Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
|
585
|
-
# language tag of
|
586
|
-
#
|
587
|
-
# most likelihood of being spoken in the audio.
|
570
|
+
# language tag of the language in this result. This language code was detected
|
571
|
+
# to have the most likelihood of being spoken in the audio.
|
588
572
|
# Corresponds to the JSON property `languageCode`
|
589
573
|
# @return [String]
|
590
574
|
attr_accessor :language_code
|
@@ -633,27 +617,19 @@ module Google
|
|
633
617
|
end
|
634
618
|
end
|
635
619
|
|
636
|
-
# Video frame level annotation results for text annotation (OCR).
|
637
|
-
#
|
638
|
-
#
|
620
|
+
# Video frame level annotation results for text annotation (OCR). Contains
|
621
|
+
# information regarding timestamp and bounding box locations for the frames
|
622
|
+
# containing detected OCR text snippets.
|
639
623
|
class GoogleCloudVideointelligenceV1TextFrame
|
640
624
|
include Google::Apis::Core::Hashable
|
641
625
|
|
642
626
|
# Normalized bounding polygon for text (that might not be aligned with axis).
|
643
|
-
# Contains list of the corner points in clockwise order starting from
|
644
|
-
#
|
645
|
-
#
|
646
|
-
#
|
647
|
-
#
|
648
|
-
#
|
649
|
-
# When it's clockwise rotated 180 degrees around the top-left corner it
|
650
|
-
# becomes:
|
651
|
-
# 2----3
|
652
|
-
# | |
|
653
|
-
# 1----0
|
654
|
-
# and the vertex order will still be (0, 1, 2, 3). Note that values can be less
|
655
|
-
# than 0, or greater than 1 due to trignometric calculations for location of
|
656
|
-
# the box.
|
627
|
+
# Contains list of the corner points in clockwise order starting from top-left
|
628
|
+
# corner. For example, for a rectangular bounding box: When the text is
|
629
|
+
# horizontal it might look like: 0----1 | | 3----2 When it's clockwise rotated
|
630
|
+
# 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the
|
631
|
+
# vertex order will still be (0, 1, 2, 3). Note that values can be less than 0,
|
632
|
+
# or greater than 1 due to trignometric calculations for location of the box.
|
657
633
|
# Corresponds to the JSON property `rotatedBoundingBox`
|
658
634
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1NormalizedBoundingPoly]
|
659
635
|
attr_accessor :rotated_bounding_box
|
@@ -706,9 +682,8 @@ module Google
|
|
706
682
|
end
|
707
683
|
end
|
708
684
|
|
709
|
-
# For tracking related features.
|
710
|
-
#
|
711
|
-
# normalized_bounding_box.
|
685
|
+
# For tracking related features. An object at time_offset with attributes, and
|
686
|
+
# located with normalized_bounding_box.
|
712
687
|
class GoogleCloudVideointelligenceV1TimestampedObject
|
713
688
|
include Google::Apis::Core::Hashable
|
714
689
|
|
@@ -722,15 +697,14 @@ module Google
|
|
722
697
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1DetectedLandmark>]
|
723
698
|
attr_accessor :landmarks
|
724
699
|
|
725
|
-
# Normalized bounding box.
|
726
|
-
#
|
727
|
-
# Range: [0, 1].
|
700
|
+
# Normalized bounding box. The normalized vertex coordinates are relative to the
|
701
|
+
# original image. Range: [0, 1].
|
728
702
|
# Corresponds to the JSON property `normalizedBoundingBox`
|
729
703
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1NormalizedBoundingBox]
|
730
704
|
attr_accessor :normalized_bounding_box
|
731
705
|
|
732
|
-
# Time-offset, relative to the beginning of the video,
|
733
|
-
#
|
706
|
+
# Time-offset, relative to the beginning of the video, corresponding to the
|
707
|
+
# video frame for this object.
|
734
708
|
# Corresponds to the JSON property `timeOffset`
|
735
709
|
# @return [String]
|
736
710
|
attr_accessor :time_offset
|
@@ -789,20 +763,19 @@ module Google
|
|
789
763
|
class GoogleCloudVideointelligenceV1VideoAnnotationProgress
|
790
764
|
include Google::Apis::Core::Hashable
|
791
765
|
|
792
|
-
# Specifies which feature is being tracked if the request contains more than
|
793
|
-
#
|
766
|
+
# Specifies which feature is being tracked if the request contains more than one
|
767
|
+
# feature.
|
794
768
|
# Corresponds to the JSON property `feature`
|
795
769
|
# @return [String]
|
796
770
|
attr_accessor :feature
|
797
771
|
|
798
|
-
# Video file location in
|
799
|
-
# [Cloud Storage](https://cloud.google.com/storage/).
|
772
|
+
# Video file location in [Cloud Storage](https://cloud.google.com/storage/).
|
800
773
|
# Corresponds to the JSON property `inputUri`
|
801
774
|
# @return [String]
|
802
775
|
attr_accessor :input_uri
|
803
776
|
|
804
|
-
# Approximate percentage processed thus far. Guaranteed to be
|
805
|
-
#
|
777
|
+
# Approximate percentage processed thus far. Guaranteed to be 100 when fully
|
778
|
+
# processed.
|
806
779
|
# Corresponds to the JSON property `progressPercent`
|
807
780
|
# @return [Fixnum]
|
808
781
|
attr_accessor :progress_percent
|
@@ -841,31 +814,30 @@ module Google
|
|
841
814
|
class GoogleCloudVideointelligenceV1VideoAnnotationResults
|
842
815
|
include Google::Apis::Core::Hashable
|
843
816
|
|
844
|
-
# The `Status` type defines a logical error model that is suitable for
|
845
|
-
#
|
846
|
-
#
|
847
|
-
#
|
848
|
-
#
|
849
|
-
#
|
817
|
+
# The `Status` type defines a logical error model that is suitable for different
|
818
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
819
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
820
|
+
# data: error code, error message, and error details. You can find out more
|
821
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
822
|
+
# //cloud.google.com/apis/design/errors).
|
850
823
|
# Corresponds to the JSON property `error`
|
851
824
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleRpcStatus]
|
852
825
|
attr_accessor :error
|
853
826
|
|
854
|
-
# Explicit content annotation (based on per-frame visual signals only).
|
855
|
-
#
|
856
|
-
#
|
827
|
+
# Explicit content annotation (based on per-frame visual signals only). If no
|
828
|
+
# explicit content has been detected in a frame, no annotations are present for
|
829
|
+
# that frame.
|
857
830
|
# Corresponds to the JSON property `explicitAnnotation`
|
858
831
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1ExplicitContentAnnotation]
|
859
832
|
attr_accessor :explicit_annotation
|
860
833
|
|
861
|
-
# Label annotations on frame level.
|
862
|
-
#
|
834
|
+
# Label annotations on frame level. There is exactly one element for each unique
|
835
|
+
# label.
|
863
836
|
# Corresponds to the JSON property `frameLabelAnnotations`
|
864
837
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1LabelAnnotation>]
|
865
838
|
attr_accessor :frame_label_annotations
|
866
839
|
|
867
|
-
# Video file location in
|
868
|
-
# [Cloud Storage](https://cloud.google.com/storage/).
|
840
|
+
# Video file location in [Cloud Storage](https://cloud.google.com/storage/).
|
869
841
|
# Corresponds to the JSON property `inputUri`
|
870
842
|
# @return [String]
|
871
843
|
attr_accessor :input_uri
|
@@ -892,11 +864,11 @@ module Google
|
|
892
864
|
attr_accessor :segment_label_annotations
|
893
865
|
|
894
866
|
# Presence label annotations on video level or user-specified segment level.
|
895
|
-
# There is exactly one element for each unique label. Compared to the
|
896
|
-
#
|
897
|
-
#
|
898
|
-
#
|
899
|
-
#
|
867
|
+
# There is exactly one element for each unique label. Compared to the existing
|
868
|
+
# topical `segment_label_annotations`, this field presents more fine-grained,
|
869
|
+
# segment-level labels detected in video content and is made available only when
|
870
|
+
# the client sets `LabelDetectionConfig.model` to "builtin/latest" in the
|
871
|
+
# request.
|
900
872
|
# Corresponds to the JSON property `segmentPresenceLabelAnnotations`
|
901
873
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1LabelAnnotation>]
|
902
874
|
attr_accessor :segment_presence_label_annotations
|
@@ -906,17 +878,17 @@ module Google
|
|
906
878
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1VideoSegment>]
|
907
879
|
attr_accessor :shot_annotations
|
908
880
|
|
909
|
-
# Topical label annotations on shot level.
|
910
|
-
#
|
881
|
+
# Topical label annotations on shot level. There is exactly one element for each
|
882
|
+
# unique label.
|
911
883
|
# Corresponds to the JSON property `shotLabelAnnotations`
|
912
884
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1LabelAnnotation>]
|
913
885
|
attr_accessor :shot_label_annotations
|
914
886
|
|
915
887
|
# Presence label annotations on shot level. There is exactly one element for
|
916
|
-
# each unique label. Compared to the existing topical
|
917
|
-
#
|
918
|
-
#
|
919
|
-
#
|
888
|
+
# each unique label. Compared to the existing topical `shot_label_annotations`,
|
889
|
+
# this field presents more fine-grained, shot-level labels detected in video
|
890
|
+
# content and is made available only when the client sets `LabelDetectionConfig.
|
891
|
+
# model` to "builtin/latest" in the request.
|
920
892
|
# Corresponds to the JSON property `shotPresenceLabelAnnotations`
|
921
893
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1LabelAnnotation>]
|
922
894
|
attr_accessor :shot_presence_label_annotations
|
@@ -926,9 +898,8 @@ module Google
|
|
926
898
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1SpeechTranscription>]
|
927
899
|
attr_accessor :speech_transcriptions
|
928
900
|
|
929
|
-
# OCR text detection and tracking.
|
930
|
-
#
|
931
|
-
# frame information associated with it.
|
901
|
+
# OCR text detection and tracking. Annotations for list of detected text
|
902
|
+
# snippets. Each will have list of frame information associated with it.
|
932
903
|
# Corresponds to the JSON property `textAnnotations`
|
933
904
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1TextAnnotation>]
|
934
905
|
attr_accessor :text_annotations
|
@@ -960,14 +931,14 @@ module Google
|
|
960
931
|
class GoogleCloudVideointelligenceV1VideoSegment
|
961
932
|
include Google::Apis::Core::Hashable
|
962
933
|
|
963
|
-
# Time-offset, relative to the beginning of the video,
|
964
|
-
#
|
934
|
+
# Time-offset, relative to the beginning of the video, corresponding to the end
|
935
|
+
# of the segment (inclusive).
|
965
936
|
# Corresponds to the JSON property `endTimeOffset`
|
966
937
|
# @return [String]
|
967
938
|
attr_accessor :end_time_offset
|
968
939
|
|
969
|
-
# Time-offset, relative to the beginning of the video,
|
970
|
-
#
|
940
|
+
# Time-offset, relative to the beginning of the video, corresponding to the
|
941
|
+
# start of the segment (inclusive).
|
971
942
|
# Corresponds to the JSON property `startTimeOffset`
|
972
943
|
# @return [String]
|
973
944
|
attr_accessor :start_time_offset
|
@@ -984,41 +955,41 @@ module Google
|
|
984
955
|
end
|
985
956
|
|
986
957
|
# Word-specific information for recognized words. Word information is only
|
987
|
-
# included in the response when certain request parameters are set, such
|
988
|
-
#
|
958
|
+
# included in the response when certain request parameters are set, such as `
|
959
|
+
# enable_word_time_offsets`.
|
989
960
|
class GoogleCloudVideointelligenceV1WordInfo
|
990
961
|
include Google::Apis::Core::Hashable
|
991
962
|
|
992
963
|
# Output only. The confidence estimate between 0.0 and 1.0. A higher number
|
993
964
|
# indicates an estimated greater likelihood that the recognized words are
|
994
|
-
# correct. This field is set only for the top alternative.
|
995
|
-
#
|
996
|
-
#
|
997
|
-
#
|
965
|
+
# correct. This field is set only for the top alternative. This field is not
|
966
|
+
# guaranteed to be accurate and users should not rely on it to be always
|
967
|
+
# provided. The default of 0.0 is a sentinel value indicating `confidence` was
|
968
|
+
# not set.
|
998
969
|
# Corresponds to the JSON property `confidence`
|
999
970
|
# @return [Float]
|
1000
971
|
attr_accessor :confidence
|
1001
972
|
|
1002
|
-
# Time offset relative to the beginning of the audio, and
|
1003
|
-
#
|
1004
|
-
#
|
1005
|
-
#
|
973
|
+
# Time offset relative to the beginning of the audio, and corresponding to the
|
974
|
+
# end of the spoken word. This field is only set if `enable_word_time_offsets=
|
975
|
+
# true` and only in the top hypothesis. This is an experimental feature and the
|
976
|
+
# accuracy of the time offset can vary.
|
1006
977
|
# Corresponds to the JSON property `endTime`
|
1007
978
|
# @return [String]
|
1008
979
|
attr_accessor :end_time
|
1009
980
|
|
1010
|
-
# Output only. A distinct integer value is assigned for every speaker within
|
1011
|
-
#
|
1012
|
-
#
|
1013
|
-
#
|
981
|
+
# Output only. A distinct integer value is assigned for every speaker within the
|
982
|
+
# audio. This field specifies which one of those speakers was detected to have
|
983
|
+
# spoken this word. Value ranges from 1 up to diarization_speaker_count, and is
|
984
|
+
# only set if speaker diarization is enabled.
|
1014
985
|
# Corresponds to the JSON property `speakerTag`
|
1015
986
|
# @return [Fixnum]
|
1016
987
|
attr_accessor :speaker_tag
|
1017
988
|
|
1018
|
-
# Time offset relative to the beginning of the audio, and
|
1019
|
-
#
|
1020
|
-
#
|
1021
|
-
#
|
989
|
+
# Time offset relative to the beginning of the audio, and corresponding to the
|
990
|
+
# start of the spoken word. This field is only set if `enable_word_time_offsets=
|
991
|
+
# true` and only in the top hypothesis. This is an experimental feature and the
|
992
|
+
# accuracy of the time offset can vary.
|
1022
993
|
# Corresponds to the JSON property `startTime`
|
1023
994
|
# @return [String]
|
1024
995
|
attr_accessor :start_time
|
@@ -1042,9 +1013,9 @@ module Google
|
|
1042
1013
|
end
|
1043
1014
|
end
|
1044
1015
|
|
1045
|
-
# Video annotation progress. Included in the `metadata`
|
1046
|
-
#
|
1047
|
-
#
|
1016
|
+
# Video annotation progress. Included in the `metadata` field of the `Operation`
|
1017
|
+
# returned by the `GetOperation` call of the `google::longrunning::Operations`
|
1018
|
+
# service.
|
1048
1019
|
class GoogleCloudVideointelligenceV1beta2AnnotateVideoProgress
|
1049
1020
|
include Google::Apis::Core::Hashable
|
1050
1021
|
|
@@ -1063,9 +1034,9 @@ module Google
|
|
1063
1034
|
end
|
1064
1035
|
end
|
1065
1036
|
|
1066
|
-
# Video annotation response. Included in the `response`
|
1067
|
-
#
|
1068
|
-
#
|
1037
|
+
# Video annotation response. Included in the `response` field of the `Operation`
|
1038
|
+
# returned by the `GetOperation` call of the `google::longrunning::Operations`
|
1039
|
+
# service.
|
1069
1040
|
class GoogleCloudVideointelligenceV1beta2AnnotateVideoResponse
|
1070
1041
|
include Google::Apis::Core::Hashable
|
1071
1042
|
|
@@ -1093,14 +1064,14 @@ module Google
|
|
1093
1064
|
# @return [Float]
|
1094
1065
|
attr_accessor :confidence
|
1095
1066
|
|
1096
|
-
# The name of the attribute, for example, glasses, dark_glasses, mouth_open.
|
1097
|
-
#
|
1067
|
+
# The name of the attribute, for example, glasses, dark_glasses, mouth_open. A
|
1068
|
+
# full list of supported type names will be provided in the document.
|
1098
1069
|
# Corresponds to the JSON property `name`
|
1099
1070
|
# @return [String]
|
1100
1071
|
attr_accessor :name
|
1101
1072
|
|
1102
|
-
# Text value of the detection result. For example, the value for "HairColor"
|
1103
|
-
#
|
1073
|
+
# Text value of the detection result. For example, the value for "HairColor" can
|
1074
|
+
# be "black", "blonde", etc.
|
1104
1075
|
# Corresponds to the JSON property `value`
|
1105
1076
|
# @return [String]
|
1106
1077
|
attr_accessor :value
|
@@ -1132,9 +1103,8 @@ module Google
|
|
1132
1103
|
# @return [String]
|
1133
1104
|
attr_accessor :name
|
1134
1105
|
|
1135
|
-
# A vertex represents a 2D point in the image.
|
1136
|
-
#
|
1137
|
-
# and range from 0 to 1.
|
1106
|
+
# A vertex represents a 2D point in the image. NOTE: the normalized vertex
|
1107
|
+
# coordinates are relative to the original image and range from 0 to 1.
|
1138
1108
|
# Corresponds to the JSON property `point`
|
1139
1109
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2NormalizedVertex]
|
1140
1110
|
attr_accessor :point
|
@@ -1160,8 +1130,7 @@ module Google
|
|
1160
1130
|
# @return [String]
|
1161
1131
|
attr_accessor :description
|
1162
1132
|
|
1163
|
-
# Opaque entity ID. Some IDs may be available in
|
1164
|
-
# [Google Knowledge Graph Search
|
1133
|
+
# Opaque entity ID. Some IDs may be available in [Google Knowledge Graph Search
|
1165
1134
|
# API](https://developers.google.com/knowledge-graph/).
|
1166
1135
|
# Corresponds to the JSON property `entityId`
|
1167
1136
|
# @return [String]
|
@@ -1184,9 +1153,9 @@ module Google
|
|
1184
1153
|
end
|
1185
1154
|
end
|
1186
1155
|
|
1187
|
-
# Explicit content annotation (based on per-frame visual signals only).
|
1188
|
-
#
|
1189
|
-
#
|
1156
|
+
# Explicit content annotation (based on per-frame visual signals only). If no
|
1157
|
+
# explicit content has been detected in a frame, no annotations are present for
|
1158
|
+
# that frame.
|
1190
1159
|
class GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation
|
1191
1160
|
include Google::Apis::Core::Hashable
|
1192
1161
|
|
@@ -1241,10 +1210,9 @@ module Google
|
|
1241
1210
|
class GoogleCloudVideointelligenceV1beta2LabelAnnotation
|
1242
1211
|
include Google::Apis::Core::Hashable
|
1243
1212
|
|
1244
|
-
# Common categories for the detected entity.
|
1245
|
-
#
|
1246
|
-
#
|
1247
|
-
# also be a `pet`.
|
1213
|
+
# Common categories for the detected entity. For example, when the label is `
|
1214
|
+
# Terrier`, the category is likely `dog`. And in some cases there might be more
|
1215
|
+
# than one categories e.g., `Terrier` could also be a `pet`.
|
1248
1216
|
# Corresponds to the JSON property `categoryEntities`
|
1249
1217
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2Entity>]
|
1250
1218
|
attr_accessor :category_entities
|
@@ -1343,14 +1311,14 @@ module Google
|
|
1343
1311
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2Entity]
|
1344
1312
|
attr_accessor :entity
|
1345
1313
|
|
1346
|
-
# All video segments where the recognized logo appears. There might be
|
1347
|
-
#
|
1314
|
+
# All video segments where the recognized logo appears. There might be multiple
|
1315
|
+
# instances of the same logo class appearing in one VideoSegment.
|
1348
1316
|
# Corresponds to the JSON property `segments`
|
1349
1317
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2VideoSegment>]
|
1350
1318
|
attr_accessor :segments
|
1351
1319
|
|
1352
|
-
# All logo tracks where the recognized logo appears. Each track corresponds
|
1353
|
-
#
|
1320
|
+
# All logo tracks where the recognized logo appears. Each track corresponds to
|
1321
|
+
# one logo instance appearing in consecutive frames.
|
1354
1322
|
# Corresponds to the JSON property `tracks`
|
1355
1323
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2Track>]
|
1356
1324
|
attr_accessor :tracks
|
@@ -1367,9 +1335,8 @@ module Google
|
|
1367
1335
|
end
|
1368
1336
|
end
|
1369
1337
|
|
1370
|
-
# Normalized bounding box.
|
1371
|
-
#
|
1372
|
-
# Range: [0, 1].
|
1338
|
+
# Normalized bounding box. The normalized vertex coordinates are relative to the
|
1339
|
+
# original image. Range: [0, 1].
|
1373
1340
|
class GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox
|
1374
1341
|
include Google::Apis::Core::Hashable
|
1375
1342
|
|
@@ -1407,20 +1374,12 @@ module Google
|
|
1407
1374
|
end
|
1408
1375
|
|
1409
1376
|
# Normalized bounding polygon for text (that might not be aligned with axis).
|
1410
|
-
# Contains list of the corner points in clockwise order starting from
|
1411
|
-
#
|
1412
|
-
#
|
1413
|
-
#
|
1414
|
-
#
|
1415
|
-
#
|
1416
|
-
# When it's clockwise rotated 180 degrees around the top-left corner it
|
1417
|
-
# becomes:
|
1418
|
-
# 2----3
|
1419
|
-
# | |
|
1420
|
-
# 1----0
|
1421
|
-
# and the vertex order will still be (0, 1, 2, 3). Note that values can be less
|
1422
|
-
# than 0, or greater than 1 due to trignometric calculations for location of
|
1423
|
-
# the box.
|
1377
|
+
# Contains list of the corner points in clockwise order starting from top-left
|
1378
|
+
# corner. For example, for a rectangular bounding box: When the text is
|
1379
|
+
# horizontal it might look like: 0----1 | | 3----2 When it's clockwise rotated
|
1380
|
+
# 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the
|
1381
|
+
# vertex order will still be (0, 1, 2, 3). Note that values can be less than 0,
|
1382
|
+
# or greater than 1 due to trignometric calculations for location of the box.
|
1424
1383
|
class GoogleCloudVideointelligenceV1beta2NormalizedBoundingPoly
|
1425
1384
|
include Google::Apis::Core::Hashable
|
1426
1385
|
|
@@ -1439,9 +1398,8 @@ module Google
|
|
1439
1398
|
end
|
1440
1399
|
end
|
1441
1400
|
|
1442
|
-
# A vertex represents a 2D point in the image.
|
1443
|
-
#
|
1444
|
-
# and range from 0 to 1.
|
1401
|
+
# A vertex represents a 2D point in the image. NOTE: the normalized vertex
|
1402
|
+
# coordinates are relative to the original image and range from 0 to 1.
|
1445
1403
|
class GoogleCloudVideointelligenceV1beta2NormalizedVertex
|
1446
1404
|
include Google::Apis::Core::Hashable
|
1447
1405
|
|
@@ -1480,10 +1438,10 @@ module Google
|
|
1480
1438
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2Entity]
|
1481
1439
|
attr_accessor :entity
|
1482
1440
|
|
1483
|
-
# Information corresponding to all frames where this object track appears.
|
1484
|
-
#
|
1485
|
-
#
|
1486
|
-
#
|
1441
|
+
# Information corresponding to all frames where this object track appears. Non-
|
1442
|
+
# streaming batch mode: it may be one or multiple ObjectTrackingFrame messages
|
1443
|
+
# in frames. Streaming mode: it can only be one ObjectTrackingFrame message in
|
1444
|
+
# frames.
|
1487
1445
|
# Corresponds to the JSON property `frames`
|
1488
1446
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2ObjectTrackingFrame>]
|
1489
1447
|
attr_accessor :frames
|
@@ -1493,12 +1451,11 @@ module Google
|
|
1493
1451
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2VideoSegment]
|
1494
1452
|
attr_accessor :segment
|
1495
1453
|
|
1496
|
-
# Streaming mode ONLY.
|
1497
|
-
#
|
1498
|
-
#
|
1499
|
-
#
|
1500
|
-
#
|
1501
|
-
# ObjectTrackAnnotation of the same track_id over time.
|
1454
|
+
# Streaming mode ONLY. In streaming mode, we do not know the end time of a
|
1455
|
+
# tracked object before it is completed. Hence, there is no VideoSegment info
|
1456
|
+
# returned. Instead, we provide a unique identifiable integer track_id so that
|
1457
|
+
# the customers can correlate the results of the ongoing ObjectTrackAnnotation
|
1458
|
+
# of the same track_id over time.
|
1502
1459
|
# Corresponds to the JSON property `trackId`
|
1503
1460
|
# @return [Fixnum]
|
1504
1461
|
attr_accessor :track_id
|
@@ -1528,9 +1485,8 @@ module Google
|
|
1528
1485
|
class GoogleCloudVideointelligenceV1beta2ObjectTrackingFrame
|
1529
1486
|
include Google::Apis::Core::Hashable
|
1530
1487
|
|
1531
|
-
# Normalized bounding box.
|
1532
|
-
#
|
1533
|
-
# Range: [0, 1].
|
1488
|
+
# Normalized bounding box. The normalized vertex coordinates are relative to the
|
1489
|
+
# original image. Range: [0, 1].
|
1534
1490
|
# Corresponds to the JSON property `normalizedBoundingBox`
|
1535
1491
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox]
|
1536
1492
|
attr_accessor :normalized_bounding_box
|
@@ -1557,10 +1513,10 @@ module Google
|
|
1557
1513
|
|
1558
1514
|
# Output only. The confidence estimate between 0.0 and 1.0. A higher number
|
1559
1515
|
# indicates an estimated greater likelihood that the recognized words are
|
1560
|
-
# correct. This field is set only for the top alternative.
|
1561
|
-
#
|
1562
|
-
#
|
1563
|
-
#
|
1516
|
+
# correct. This field is set only for the top alternative. This field is not
|
1517
|
+
# guaranteed to be accurate and users should not rely on it to be always
|
1518
|
+
# provided. The default of 0.0 is a sentinel value indicating `confidence` was
|
1519
|
+
# not set.
|
1564
1520
|
# Corresponds to the JSON property `confidence`
|
1565
1521
|
# @return [Float]
|
1566
1522
|
attr_accessor :confidence
|
@@ -1571,8 +1527,8 @@ module Google
|
|
1571
1527
|
attr_accessor :transcript
|
1572
1528
|
|
1573
1529
|
# Output only. A list of word-specific information for each recognized word.
|
1574
|
-
# Note: When `enable_speaker_diarization` is set to true, you will see all
|
1575
|
-
#
|
1530
|
+
# Note: When `enable_speaker_diarization` is set to true, you will see all the
|
1531
|
+
# words from the beginning of the audio.
|
1576
1532
|
# Corresponds to the JSON property `words`
|
1577
1533
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2WordInfo>]
|
1578
1534
|
attr_accessor :words
|
@@ -1593,18 +1549,17 @@ module Google
|
|
1593
1549
|
class GoogleCloudVideointelligenceV1beta2SpeechTranscription
|
1594
1550
|
include Google::Apis::Core::Hashable
|
1595
1551
|
|
1596
|
-
# May contain one or more recognition hypotheses (up to the maximum specified
|
1597
|
-
#
|
1598
|
-
#
|
1599
|
-
#
|
1552
|
+
# May contain one or more recognition hypotheses (up to the maximum specified in
|
1553
|
+
# `max_alternatives`). These alternatives are ordered in terms of accuracy, with
|
1554
|
+
# the top (first) alternative being the most probable, as ranked by the
|
1555
|
+
# recognizer.
|
1600
1556
|
# Corresponds to the JSON property `alternatives`
|
1601
1557
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative>]
|
1602
1558
|
attr_accessor :alternatives
|
1603
1559
|
|
1604
1560
|
# Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
|
1605
|
-
# language tag of
|
1606
|
-
#
|
1607
|
-
# most likelihood of being spoken in the audio.
|
1561
|
+
# language tag of the language in this result. This language code was detected
|
1562
|
+
# to have the most likelihood of being spoken in the audio.
|
1608
1563
|
# Corresponds to the JSON property `languageCode`
|
1609
1564
|
# @return [String]
|
1610
1565
|
attr_accessor :language_code
|
@@ -1653,27 +1608,19 @@ module Google
|
|
1653
1608
|
end
|
1654
1609
|
end
|
1655
1610
|
|
1656
|
-
# Video frame level annotation results for text annotation (OCR).
|
1657
|
-
#
|
1658
|
-
#
|
1611
|
+
# Video frame level annotation results for text annotation (OCR). Contains
|
1612
|
+
# information regarding timestamp and bounding box locations for the frames
|
1613
|
+
# containing detected OCR text snippets.
|
1659
1614
|
class GoogleCloudVideointelligenceV1beta2TextFrame
|
1660
1615
|
include Google::Apis::Core::Hashable
|
1661
1616
|
|
1662
1617
|
# Normalized bounding polygon for text (that might not be aligned with axis).
|
1663
|
-
# Contains list of the corner points in clockwise order starting from
|
1664
|
-
#
|
1665
|
-
#
|
1666
|
-
#
|
1667
|
-
#
|
1668
|
-
#
|
1669
|
-
# When it's clockwise rotated 180 degrees around the top-left corner it
|
1670
|
-
# becomes:
|
1671
|
-
# 2----3
|
1672
|
-
# | |
|
1673
|
-
# 1----0
|
1674
|
-
# and the vertex order will still be (0, 1, 2, 3). Note that values can be less
|
1675
|
-
# than 0, or greater than 1 due to trignometric calculations for location of
|
1676
|
-
# the box.
|
1618
|
+
# Contains list of the corner points in clockwise order starting from top-left
|
1619
|
+
# corner. For example, for a rectangular bounding box: When the text is
|
1620
|
+
# horizontal it might look like: 0----1 | | 3----2 When it's clockwise rotated
|
1621
|
+
# 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the
|
1622
|
+
# vertex order will still be (0, 1, 2, 3). Note that values can be less than 0,
|
1623
|
+
# or greater than 1 due to trignometric calculations for location of the box.
|
1677
1624
|
# Corresponds to the JSON property `rotatedBoundingBox`
|
1678
1625
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2NormalizedBoundingPoly]
|
1679
1626
|
attr_accessor :rotated_bounding_box
|
@@ -1726,9 +1673,8 @@ module Google
|
|
1726
1673
|
end
|
1727
1674
|
end
|
1728
1675
|
|
1729
|
-
# For tracking related features.
|
1730
|
-
#
|
1731
|
-
# normalized_bounding_box.
|
1676
|
+
# For tracking related features. An object at time_offset with attributes, and
|
1677
|
+
# located with normalized_bounding_box.
|
1732
1678
|
class GoogleCloudVideointelligenceV1beta2TimestampedObject
|
1733
1679
|
include Google::Apis::Core::Hashable
|
1734
1680
|
|
@@ -1742,15 +1688,14 @@ module Google
|
|
1742
1688
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2DetectedLandmark>]
|
1743
1689
|
attr_accessor :landmarks
|
1744
1690
|
|
1745
|
-
# Normalized bounding box.
|
1746
|
-
#
|
1747
|
-
# Range: [0, 1].
|
1691
|
+
# Normalized bounding box. The normalized vertex coordinates are relative to the
|
1692
|
+
# original image. Range: [0, 1].
|
1748
1693
|
# Corresponds to the JSON property `normalizedBoundingBox`
|
1749
1694
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox]
|
1750
1695
|
attr_accessor :normalized_bounding_box
|
1751
1696
|
|
1752
|
-
# Time-offset, relative to the beginning of the video,
|
1753
|
-
#
|
1697
|
+
# Time-offset, relative to the beginning of the video, corresponding to the
|
1698
|
+
# video frame for this object.
|
1754
1699
|
# Corresponds to the JSON property `timeOffset`
|
1755
1700
|
# @return [String]
|
1756
1701
|
attr_accessor :time_offset
|
@@ -1809,20 +1754,19 @@ module Google
|
|
1809
1754
|
class GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress
|
1810
1755
|
include Google::Apis::Core::Hashable
|
1811
1756
|
|
1812
|
-
# Specifies which feature is being tracked if the request contains more than
|
1813
|
-
#
|
1757
|
+
# Specifies which feature is being tracked if the request contains more than one
|
1758
|
+
# feature.
|
1814
1759
|
# Corresponds to the JSON property `feature`
|
1815
1760
|
# @return [String]
|
1816
1761
|
attr_accessor :feature
|
1817
1762
|
|
1818
|
-
# Video file location in
|
1819
|
-
# [Cloud Storage](https://cloud.google.com/storage/).
|
1763
|
+
# Video file location in [Cloud Storage](https://cloud.google.com/storage/).
|
1820
1764
|
# Corresponds to the JSON property `inputUri`
|
1821
1765
|
# @return [String]
|
1822
1766
|
attr_accessor :input_uri
|
1823
1767
|
|
1824
|
-
# Approximate percentage processed thus far. Guaranteed to be
|
1825
|
-
#
|
1768
|
+
# Approximate percentage processed thus far. Guaranteed to be 100 when fully
|
1769
|
+
# processed.
|
1826
1770
|
# Corresponds to the JSON property `progressPercent`
|
1827
1771
|
# @return [Fixnum]
|
1828
1772
|
attr_accessor :progress_percent
|
@@ -1861,31 +1805,30 @@ module Google
|
|
1861
1805
|
class GoogleCloudVideointelligenceV1beta2VideoAnnotationResults
|
1862
1806
|
include Google::Apis::Core::Hashable
|
1863
1807
|
|
1864
|
-
# The `Status` type defines a logical error model that is suitable for
|
1865
|
-
#
|
1866
|
-
#
|
1867
|
-
#
|
1868
|
-
#
|
1869
|
-
#
|
1808
|
+
# The `Status` type defines a logical error model that is suitable for different
|
1809
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
1810
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
1811
|
+
# data: error code, error message, and error details. You can find out more
|
1812
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
1813
|
+
# //cloud.google.com/apis/design/errors).
|
1870
1814
|
# Corresponds to the JSON property `error`
|
1871
1815
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleRpcStatus]
|
1872
1816
|
attr_accessor :error
|
1873
1817
|
|
1874
|
-
# Explicit content annotation (based on per-frame visual signals only).
|
1875
|
-
#
|
1876
|
-
#
|
1818
|
+
# Explicit content annotation (based on per-frame visual signals only). If no
|
1819
|
+
# explicit content has been detected in a frame, no annotations are present for
|
1820
|
+
# that frame.
|
1877
1821
|
# Corresponds to the JSON property `explicitAnnotation`
|
1878
1822
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation]
|
1879
1823
|
attr_accessor :explicit_annotation
|
1880
1824
|
|
1881
|
-
# Label annotations on frame level.
|
1882
|
-
#
|
1825
|
+
# Label annotations on frame level. There is exactly one element for each unique
|
1826
|
+
# label.
|
1883
1827
|
# Corresponds to the JSON property `frameLabelAnnotations`
|
1884
1828
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
|
1885
1829
|
attr_accessor :frame_label_annotations
|
1886
1830
|
|
1887
|
-
# Video file location in
|
1888
|
-
# [Cloud Storage](https://cloud.google.com/storage/).
|
1831
|
+
# Video file location in [Cloud Storage](https://cloud.google.com/storage/).
|
1889
1832
|
# Corresponds to the JSON property `inputUri`
|
1890
1833
|
# @return [String]
|
1891
1834
|
attr_accessor :input_uri
|
@@ -1912,11 +1855,11 @@ module Google
|
|
1912
1855
|
attr_accessor :segment_label_annotations
|
1913
1856
|
|
1914
1857
|
# Presence label annotations on video level or user-specified segment level.
|
1915
|
-
# There is exactly one element for each unique label. Compared to the
|
1916
|
-
#
|
1917
|
-
#
|
1918
|
-
#
|
1919
|
-
#
|
1858
|
+
# There is exactly one element for each unique label. Compared to the existing
|
1859
|
+
# topical `segment_label_annotations`, this field presents more fine-grained,
|
1860
|
+
# segment-level labels detected in video content and is made available only when
|
1861
|
+
# the client sets `LabelDetectionConfig.model` to "builtin/latest" in the
|
1862
|
+
# request.
|
1920
1863
|
# Corresponds to the JSON property `segmentPresenceLabelAnnotations`
|
1921
1864
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
|
1922
1865
|
attr_accessor :segment_presence_label_annotations
|
@@ -1926,17 +1869,17 @@ module Google
|
|
1926
1869
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2VideoSegment>]
|
1927
1870
|
attr_accessor :shot_annotations
|
1928
1871
|
|
1929
|
-
# Topical label annotations on shot level.
|
1930
|
-
#
|
1872
|
+
# Topical label annotations on shot level. There is exactly one element for each
|
1873
|
+
# unique label.
|
1931
1874
|
# Corresponds to the JSON property `shotLabelAnnotations`
|
1932
1875
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
|
1933
1876
|
attr_accessor :shot_label_annotations
|
1934
1877
|
|
1935
1878
|
# Presence label annotations on shot level. There is exactly one element for
|
1936
|
-
# each unique label. Compared to the existing topical
|
1937
|
-
#
|
1938
|
-
#
|
1939
|
-
#
|
1879
|
+
# each unique label. Compared to the existing topical `shot_label_annotations`,
|
1880
|
+
# this field presents more fine-grained, shot-level labels detected in video
|
1881
|
+
# content and is made available only when the client sets `LabelDetectionConfig.
|
1882
|
+
# model` to "builtin/latest" in the request.
|
1940
1883
|
# Corresponds to the JSON property `shotPresenceLabelAnnotations`
|
1941
1884
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
|
1942
1885
|
attr_accessor :shot_presence_label_annotations
|
@@ -1946,9 +1889,8 @@ module Google
|
|
1946
1889
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2SpeechTranscription>]
|
1947
1890
|
attr_accessor :speech_transcriptions
|
1948
1891
|
|
1949
|
-
# OCR text detection and tracking.
|
1950
|
-
#
|
1951
|
-
# frame information associated with it.
|
1892
|
+
# OCR text detection and tracking. Annotations for list of detected text
|
1893
|
+
# snippets. Each will have list of frame information associated with it.
|
1952
1894
|
# Corresponds to the JSON property `textAnnotations`
|
1953
1895
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2TextAnnotation>]
|
1954
1896
|
attr_accessor :text_annotations
|
@@ -1980,14 +1922,14 @@ module Google
|
|
1980
1922
|
class GoogleCloudVideointelligenceV1beta2VideoSegment
|
1981
1923
|
include Google::Apis::Core::Hashable
|
1982
1924
|
|
1983
|
-
# Time-offset, relative to the beginning of the video,
|
1984
|
-
#
|
1925
|
+
# Time-offset, relative to the beginning of the video, corresponding to the end
|
1926
|
+
# of the segment (inclusive).
|
1985
1927
|
# Corresponds to the JSON property `endTimeOffset`
|
1986
1928
|
# @return [String]
|
1987
1929
|
attr_accessor :end_time_offset
|
1988
1930
|
|
1989
|
-
# Time-offset, relative to the beginning of the video,
|
1990
|
-
#
|
1931
|
+
# Time-offset, relative to the beginning of the video, corresponding to the
|
1932
|
+
# start of the segment (inclusive).
|
1991
1933
|
# Corresponds to the JSON property `startTimeOffset`
|
1992
1934
|
# @return [String]
|
1993
1935
|
attr_accessor :start_time_offset
|
@@ -2004,41 +1946,41 @@ module Google
|
|
2004
1946
|
end
|
2005
1947
|
|
2006
1948
|
# Word-specific information for recognized words. Word information is only
|
2007
|
-
# included in the response when certain request parameters are set, such
|
2008
|
-
#
|
1949
|
+
# included in the response when certain request parameters are set, such as `
|
1950
|
+
# enable_word_time_offsets`.
|
2009
1951
|
class GoogleCloudVideointelligenceV1beta2WordInfo
|
2010
1952
|
include Google::Apis::Core::Hashable
|
2011
1953
|
|
2012
1954
|
# Output only. The confidence estimate between 0.0 and 1.0. A higher number
|
2013
1955
|
# indicates an estimated greater likelihood that the recognized words are
|
2014
|
-
# correct. This field is set only for the top alternative.
|
2015
|
-
#
|
2016
|
-
#
|
2017
|
-
#
|
1956
|
+
# correct. This field is set only for the top alternative. This field is not
|
1957
|
+
# guaranteed to be accurate and users should not rely on it to be always
|
1958
|
+
# provided. The default of 0.0 is a sentinel value indicating `confidence` was
|
1959
|
+
# not set.
|
2018
1960
|
# Corresponds to the JSON property `confidence`
|
2019
1961
|
# @return [Float]
|
2020
1962
|
attr_accessor :confidence
|
2021
1963
|
|
2022
|
-
# Time offset relative to the beginning of the audio, and
|
2023
|
-
#
|
2024
|
-
#
|
2025
|
-
#
|
1964
|
+
# Time offset relative to the beginning of the audio, and corresponding to the
|
1965
|
+
# end of the spoken word. This field is only set if `enable_word_time_offsets=
|
1966
|
+
# true` and only in the top hypothesis. This is an experimental feature and the
|
1967
|
+
# accuracy of the time offset can vary.
|
2026
1968
|
# Corresponds to the JSON property `endTime`
|
2027
1969
|
# @return [String]
|
2028
1970
|
attr_accessor :end_time
|
2029
1971
|
|
2030
|
-
# Output only. A distinct integer value is assigned for every speaker within
|
2031
|
-
#
|
2032
|
-
#
|
2033
|
-
#
|
1972
|
+
# Output only. A distinct integer value is assigned for every speaker within the
|
1973
|
+
# audio. This field specifies which one of those speakers was detected to have
|
1974
|
+
# spoken this word. Value ranges from 1 up to diarization_speaker_count, and is
|
1975
|
+
# only set if speaker diarization is enabled.
|
2034
1976
|
# Corresponds to the JSON property `speakerTag`
|
2035
1977
|
# @return [Fixnum]
|
2036
1978
|
attr_accessor :speaker_tag
|
2037
1979
|
|
2038
|
-
# Time offset relative to the beginning of the audio, and
|
2039
|
-
#
|
2040
|
-
#
|
2041
|
-
#
|
1980
|
+
# Time offset relative to the beginning of the audio, and corresponding to the
|
1981
|
+
# start of the spoken word. This field is only set if `enable_word_time_offsets=
|
1982
|
+
# true` and only in the top hypothesis. This is an experimental feature and the
|
1983
|
+
# accuracy of the time offset can vary.
|
2042
1984
|
# Corresponds to the JSON property `startTime`
|
2043
1985
|
# @return [String]
|
2044
1986
|
attr_accessor :start_time
|
@@ -2062,9 +2004,9 @@ module Google
|
|
2062
2004
|
end
|
2063
2005
|
end
|
2064
2006
|
|
2065
|
-
# Video annotation progress. Included in the `metadata`
|
2066
|
-
#
|
2067
|
-
#
|
2007
|
+
# Video annotation progress. Included in the `metadata` field of the `Operation`
|
2008
|
+
# returned by the `GetOperation` call of the `google::longrunning::Operations`
|
2009
|
+
# service.
|
2068
2010
|
class GoogleCloudVideointelligenceV1p1beta1AnnotateVideoProgress
|
2069
2011
|
include Google::Apis::Core::Hashable
|
2070
2012
|
|
@@ -2092,24 +2034,22 @@ module Google
|
|
2092
2034
|
# @return [Array<String>]
|
2093
2035
|
attr_accessor :features
|
2094
2036
|
|
2095
|
-
# The video data bytes.
|
2096
|
-
# If
|
2097
|
-
# If set, `input_uri` must be unset.
|
2037
|
+
# The video data bytes. If unset, the input video(s) should be specified via the
|
2038
|
+
# `input_uri`. If set, `input_uri` must be unset.
|
2098
2039
|
# Corresponds to the JSON property `inputContent`
|
2099
2040
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
2100
2041
|
# @return [String]
|
2101
2042
|
attr_accessor :input_content
|
2102
2043
|
|
2103
|
-
# Input video location. Currently, only
|
2104
|
-
#
|
2105
|
-
#
|
2106
|
-
#
|
2107
|
-
# google.
|
2108
|
-
#
|
2109
|
-
#
|
2110
|
-
#
|
2111
|
-
#
|
2112
|
-
# in the request as `input_content`. If set, `input_content` must be unset.
|
2044
|
+
# Input video location. Currently, only [Cloud Storage](https://cloud.google.com/
|
2045
|
+
# storage/) URIs are supported. URIs must be specified in the following format: `
|
2046
|
+
# gs://bucket-id/object-id` (other URI formats return google.rpc.Code.
|
2047
|
+
# INVALID_ARGUMENT). For more information, see [Request URIs](https://cloud.
|
2048
|
+
# google.com/storage/docs/request-endpoints). To identify multiple videos, a
|
2049
|
+
# video URI may include wildcards in the `object-id`. Supported wildcards: '*'
|
2050
|
+
# to match 0 or more characters; '?' to match 1 character. If unset, the input
|
2051
|
+
# video should be embedded in the request as `input_content`. If set, `
|
2052
|
+
# input_content` must be unset.
|
2113
2053
|
# Corresponds to the JSON property `inputUri`
|
2114
2054
|
# @return [String]
|
2115
2055
|
attr_accessor :input_uri
|
@@ -2123,11 +2063,11 @@ module Google
|
|
2123
2063
|
attr_accessor :location_id
|
2124
2064
|
|
2125
2065
|
# Optional. Location where the output (in JSON format) should be stored.
|
2126
|
-
# Currently, only [Cloud Storage](https://cloud.google.com/storage/)
|
2127
|
-
#
|
2128
|
-
#
|
2129
|
-
#
|
2130
|
-
#
|
2066
|
+
# Currently, only [Cloud Storage](https://cloud.google.com/storage/) URIs are
|
2067
|
+
# supported. These must be specified in the following format: `gs://bucket-id/
|
2068
|
+
# object-id` (other URI formats return google.rpc.Code.INVALID_ARGUMENT). For
|
2069
|
+
# more information, see [Request URIs](https://cloud.google.com/storage/docs/
|
2070
|
+
# request-endpoints).
|
2131
2071
|
# Corresponds to the JSON property `outputUri`
|
2132
2072
|
# @return [String]
|
2133
2073
|
attr_accessor :output_uri
|
@@ -2152,9 +2092,9 @@ module Google
|
|
2152
2092
|
end
|
2153
2093
|
end
|
2154
2094
|
|
2155
|
-
# Video annotation response. Included in the `response`
|
2156
|
-
#
|
2157
|
-
#
|
2095
|
+
# Video annotation response. Included in the `response` field of the `Operation`
|
2096
|
+
# returned by the `GetOperation` call of the `google::longrunning::Operations`
|
2097
|
+
# service.
|
2158
2098
|
class GoogleCloudVideointelligenceV1p1beta1AnnotateVideoResponse
|
2159
2099
|
include Google::Apis::Core::Hashable
|
2160
2100
|
|
@@ -2182,14 +2122,14 @@ module Google
|
|
2182
2122
|
# @return [Float]
|
2183
2123
|
attr_accessor :confidence
|
2184
2124
|
|
2185
|
-
# The name of the attribute, for example, glasses, dark_glasses, mouth_open.
|
2186
|
-
#
|
2125
|
+
# The name of the attribute, for example, glasses, dark_glasses, mouth_open. A
|
2126
|
+
# full list of supported type names will be provided in the document.
|
2187
2127
|
# Corresponds to the JSON property `name`
|
2188
2128
|
# @return [String]
|
2189
2129
|
attr_accessor :name
|
2190
2130
|
|
2191
|
-
# Text value of the detection result. For example, the value for "HairColor"
|
2192
|
-
#
|
2131
|
+
# Text value of the detection result. For example, the value for "HairColor" can
|
2132
|
+
# be "black", "blonde", etc.
|
2193
2133
|
# Corresponds to the JSON property `value`
|
2194
2134
|
# @return [String]
|
2195
2135
|
attr_accessor :value
|
@@ -2221,9 +2161,8 @@ module Google
|
|
2221
2161
|
# @return [String]
|
2222
2162
|
attr_accessor :name
|
2223
2163
|
|
2224
|
-
# A vertex represents a 2D point in the image.
|
2225
|
-
#
|
2226
|
-
# and range from 0 to 1.
|
2164
|
+
# A vertex represents a 2D point in the image. NOTE: the normalized vertex
|
2165
|
+
# coordinates are relative to the original image and range from 0 to 1.
|
2227
2166
|
# Corresponds to the JSON property `point`
|
2228
2167
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1NormalizedVertex]
|
2229
2168
|
attr_accessor :point
|
@@ -2249,8 +2188,7 @@ module Google
|
|
2249
2188
|
# @return [String]
|
2250
2189
|
attr_accessor :description
|
2251
2190
|
|
2252
|
-
# Opaque entity ID. Some IDs may be available in
|
2253
|
-
# [Google Knowledge Graph Search
|
2191
|
+
# Opaque entity ID. Some IDs may be available in [Google Knowledge Graph Search
|
2254
2192
|
# API](https://developers.google.com/knowledge-graph/).
|
2255
2193
|
# Corresponds to the JSON property `entityId`
|
2256
2194
|
# @return [String]
|
@@ -2273,9 +2211,9 @@ module Google
|
|
2273
2211
|
end
|
2274
2212
|
end
|
2275
2213
|
|
2276
|
-
# Explicit content annotation (based on per-frame visual signals only).
|
2277
|
-
#
|
2278
|
-
#
|
2214
|
+
# Explicit content annotation (based on per-frame visual signals only). If no
|
2215
|
+
# explicit content has been detected in a frame, no annotations are present for
|
2216
|
+
# that frame.
|
2279
2217
|
class GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation
|
2280
2218
|
include Google::Apis::Core::Hashable
|
2281
2219
|
|
@@ -2304,9 +2242,8 @@ module Google
|
|
2304
2242
|
class GoogleCloudVideointelligenceV1p1beta1ExplicitContentDetectionConfig
|
2305
2243
|
include Google::Apis::Core::Hashable
|
2306
2244
|
|
2307
|
-
# Model to use for explicit content detection.
|
2308
|
-
#
|
2309
|
-
# "builtin/latest".
|
2245
|
+
# Model to use for explicit content detection. Supported values: "builtin/stable"
|
2246
|
+
# (the default if unset) and "builtin/latest".
|
2310
2247
|
# Corresponds to the JSON property `model`
|
2311
2248
|
# @return [String]
|
2312
2249
|
attr_accessor :model
|
@@ -2351,10 +2288,9 @@ module Google
|
|
2351
2288
|
class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation
|
2352
2289
|
include Google::Apis::Core::Hashable
|
2353
2290
|
|
2354
|
-
# Common categories for the detected entity.
|
2355
|
-
#
|
2356
|
-
#
|
2357
|
-
# also be a `pet`.
|
2291
|
+
# Common categories for the detected entity. For example, when the label is `
|
2292
|
+
# Terrier`, the category is likely `dog`. And in some cases there might be more
|
2293
|
+
# than one categories e.g., `Terrier` could also be a `pet`.
|
2358
2294
|
# Corresponds to the JSON property `categoryEntities`
|
2359
2295
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1Entity>]
|
2360
2296
|
attr_accessor :category_entities
|
@@ -2397,44 +2333,40 @@ module Google
|
|
2397
2333
|
class GoogleCloudVideointelligenceV1p1beta1LabelDetectionConfig
|
2398
2334
|
include Google::Apis::Core::Hashable
|
2399
2335
|
|
2400
|
-
# The confidence threshold we perform filtering on the labels from
|
2401
|
-
#
|
2402
|
-
#
|
2403
|
-
#
|
2404
|
-
#
|
2405
|
-
# the default threshold everytime when we release a new model.
|
2336
|
+
# The confidence threshold we perform filtering on the labels from frame-level
|
2337
|
+
# detection. If not set, it is set to 0.4 by default. The valid range for this
|
2338
|
+
# threshold is [0.1, 0.9]. Any value set outside of this range will be clipped.
|
2339
|
+
# Note: For best results, follow the default threshold. We will update the
|
2340
|
+
# default threshold everytime when we release a new model.
|
2406
2341
|
# Corresponds to the JSON property `frameConfidenceThreshold`
|
2407
2342
|
# @return [Float]
|
2408
2343
|
attr_accessor :frame_confidence_threshold
|
2409
2344
|
|
2410
|
-
# What labels should be detected with LABEL_DETECTION, in addition to
|
2411
|
-
#
|
2412
|
-
# If unspecified, defaults to `SHOT_MODE`.
|
2345
|
+
# What labels should be detected with LABEL_DETECTION, in addition to video-
|
2346
|
+
# level labels or segment-level labels. If unspecified, defaults to `SHOT_MODE`.
|
2413
2347
|
# Corresponds to the JSON property `labelDetectionMode`
|
2414
2348
|
# @return [String]
|
2415
2349
|
attr_accessor :label_detection_mode
|
2416
2350
|
|
2417
|
-
# Model to use for label detection.
|
2418
|
-
#
|
2419
|
-
# "builtin/latest".
|
2351
|
+
# Model to use for label detection. Supported values: "builtin/stable" (the
|
2352
|
+
# default if unset) and "builtin/latest".
|
2420
2353
|
# Corresponds to the JSON property `model`
|
2421
2354
|
# @return [String]
|
2422
2355
|
attr_accessor :model
|
2423
2356
|
|
2424
|
-
# Whether the video has been shot from a stationary (i.e., non-moving)
|
2425
|
-
#
|
2426
|
-
#
|
2357
|
+
# Whether the video has been shot from a stationary (i.e., non-moving) camera.
|
2358
|
+
# When set to true, might improve detection accuracy for moving objects. Should
|
2359
|
+
# be used with `SHOT_AND_FRAME_MODE` enabled.
|
2427
2360
|
# Corresponds to the JSON property `stationaryCamera`
|
2428
2361
|
# @return [Boolean]
|
2429
2362
|
attr_accessor :stationary_camera
|
2430
2363
|
alias_method :stationary_camera?, :stationary_camera
|
2431
2364
|
|
2432
|
-
# The confidence threshold we perform filtering on the labels from
|
2433
|
-
#
|
2434
|
-
#
|
2435
|
-
#
|
2436
|
-
#
|
2437
|
-
# the default threshold everytime when we release a new model.
|
2365
|
+
# The confidence threshold we perform filtering on the labels from video-level
|
2366
|
+
# and shot-level detections. If not set, it's set to 0.3 by default. The valid
|
2367
|
+
# range for this threshold is [0.1, 0.9]. Any value set outside of this range
|
2368
|
+
# will be clipped. Note: For best results, follow the default threshold. We will
|
2369
|
+
# update the default threshold everytime when we release a new model.
|
2438
2370
|
# Corresponds to the JSON property `videoConfidenceThreshold`
|
2439
2371
|
# @return [Float]
|
2440
2372
|
attr_accessor :video_confidence_threshold
|
@@ -2513,14 +2445,14 @@ module Google
|
|
2513
2445
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1Entity]
|
2514
2446
|
attr_accessor :entity
|
2515
2447
|
|
2516
|
-
# All video segments where the recognized logo appears. There might be
|
2517
|
-
#
|
2448
|
+
# All video segments where the recognized logo appears. There might be multiple
|
2449
|
+
# instances of the same logo class appearing in one VideoSegment.
|
2518
2450
|
# Corresponds to the JSON property `segments`
|
2519
2451
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment>]
|
2520
2452
|
attr_accessor :segments
|
2521
2453
|
|
2522
|
-
# All logo tracks where the recognized logo appears. Each track corresponds
|
2523
|
-
#
|
2454
|
+
# All logo tracks where the recognized logo appears. Each track corresponds to
|
2455
|
+
# one logo instance appearing in consecutive frames.
|
2524
2456
|
# Corresponds to the JSON property `tracks`
|
2525
2457
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1Track>]
|
2526
2458
|
attr_accessor :tracks
|
@@ -2537,9 +2469,8 @@ module Google
|
|
2537
2469
|
end
|
2538
2470
|
end
|
2539
2471
|
|
2540
|
-
# Normalized bounding box.
|
2541
|
-
#
|
2542
|
-
# Range: [0, 1].
|
2472
|
+
# Normalized bounding box. The normalized vertex coordinates are relative to the
|
2473
|
+
# original image. Range: [0, 1].
|
2543
2474
|
class GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox
|
2544
2475
|
include Google::Apis::Core::Hashable
|
2545
2476
|
|
@@ -2577,20 +2508,12 @@ module Google
|
|
2577
2508
|
end
|
2578
2509
|
|
2579
2510
|
# Normalized bounding polygon for text (that might not be aligned with axis).
|
2580
|
-
# Contains list of the corner points in clockwise order starting from
|
2581
|
-
#
|
2582
|
-
#
|
2583
|
-
#
|
2584
|
-
#
|
2585
|
-
#
|
2586
|
-
# When it's clockwise rotated 180 degrees around the top-left corner it
|
2587
|
-
# becomes:
|
2588
|
-
# 2----3
|
2589
|
-
# | |
|
2590
|
-
# 1----0
|
2591
|
-
# and the vertex order will still be (0, 1, 2, 3). Note that values can be less
|
2592
|
-
# than 0, or greater than 1 due to trignometric calculations for location of
|
2593
|
-
# the box.
|
2511
|
+
# Contains list of the corner points in clockwise order starting from top-left
|
2512
|
+
# corner. For example, for a rectangular bounding box: When the text is
|
2513
|
+
# horizontal it might look like: 0----1 | | 3----2 When it's clockwise rotated
|
2514
|
+
# 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the
|
2515
|
+
# vertex order will still be (0, 1, 2, 3). Note that values can be less than 0,
|
2516
|
+
# or greater than 1 due to trignometric calculations for location of the box.
|
2594
2517
|
class GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingPoly
|
2595
2518
|
include Google::Apis::Core::Hashable
|
2596
2519
|
|
@@ -2609,9 +2532,8 @@ module Google
|
|
2609
2532
|
end
|
2610
2533
|
end
|
2611
2534
|
|
2612
|
-
# A vertex represents a 2D point in the image.
|
2613
|
-
#
|
2614
|
-
# and range from 0 to 1.
|
2535
|
+
# A vertex represents a 2D point in the image. NOTE: the normalized vertex
|
2536
|
+
# coordinates are relative to the original image and range from 0 to 1.
|
2615
2537
|
class GoogleCloudVideointelligenceV1p1beta1NormalizedVertex
|
2616
2538
|
include Google::Apis::Core::Hashable
|
2617
2539
|
|
@@ -2650,10 +2572,10 @@ module Google
|
|
2650
2572
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1Entity]
|
2651
2573
|
attr_accessor :entity
|
2652
2574
|
|
2653
|
-
# Information corresponding to all frames where this object track appears.
|
2654
|
-
#
|
2655
|
-
#
|
2656
|
-
#
|
2575
|
+
# Information corresponding to all frames where this object track appears. Non-
|
2576
|
+
# streaming batch mode: it may be one or multiple ObjectTrackingFrame messages
|
2577
|
+
# in frames. Streaming mode: it can only be one ObjectTrackingFrame message in
|
2578
|
+
# frames.
|
2657
2579
|
# Corresponds to the JSON property `frames`
|
2658
2580
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1ObjectTrackingFrame>]
|
2659
2581
|
attr_accessor :frames
|
@@ -2663,12 +2585,11 @@ module Google
|
|
2663
2585
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment]
|
2664
2586
|
attr_accessor :segment
|
2665
2587
|
|
2666
|
-
# Streaming mode ONLY.
|
2667
|
-
#
|
2668
|
-
#
|
2669
|
-
#
|
2670
|
-
#
|
2671
|
-
# ObjectTrackAnnotation of the same track_id over time.
|
2588
|
+
# Streaming mode ONLY. In streaming mode, we do not know the end time of a
|
2589
|
+
# tracked object before it is completed. Hence, there is no VideoSegment info
|
2590
|
+
# returned. Instead, we provide a unique identifiable integer track_id so that
|
2591
|
+
# the customers can correlate the results of the ongoing ObjectTrackAnnotation
|
2592
|
+
# of the same track_id over time.
|
2672
2593
|
# Corresponds to the JSON property `trackId`
|
2673
2594
|
# @return [Fixnum]
|
2674
2595
|
attr_accessor :track_id
|
@@ -2697,9 +2618,8 @@ module Google
|
|
2697
2618
|
class GoogleCloudVideointelligenceV1p1beta1ObjectTrackingConfig
|
2698
2619
|
include Google::Apis::Core::Hashable
|
2699
2620
|
|
2700
|
-
# Model to use for object tracking.
|
2701
|
-
#
|
2702
|
-
# "builtin/latest".
|
2621
|
+
# Model to use for object tracking. Supported values: "builtin/stable" (the
|
2622
|
+
# default if unset) and "builtin/latest".
|
2703
2623
|
# Corresponds to the JSON property `model`
|
2704
2624
|
# @return [String]
|
2705
2625
|
attr_accessor :model
|
@@ -2719,9 +2639,8 @@ module Google
|
|
2719
2639
|
class GoogleCloudVideointelligenceV1p1beta1ObjectTrackingFrame
|
2720
2640
|
include Google::Apis::Core::Hashable
|
2721
2641
|
|
2722
|
-
# Normalized bounding box.
|
2723
|
-
#
|
2724
|
-
# Range: [0, 1].
|
2642
|
+
# Normalized bounding box. The normalized vertex coordinates are relative to the
|
2643
|
+
# original image. Range: [0, 1].
|
2725
2644
|
# Corresponds to the JSON property `normalizedBoundingBox`
|
2726
2645
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox]
|
2727
2646
|
attr_accessor :normalized_bounding_box
|
@@ -2746,9 +2665,8 @@ module Google
|
|
2746
2665
|
class GoogleCloudVideointelligenceV1p1beta1ShotChangeDetectionConfig
|
2747
2666
|
include Google::Apis::Core::Hashable
|
2748
2667
|
|
2749
|
-
# Model to use for shot change detection.
|
2750
|
-
#
|
2751
|
-
# "builtin/latest".
|
2668
|
+
# Model to use for shot change detection. Supported values: "builtin/stable" (
|
2669
|
+
# the default if unset) and "builtin/latest".
|
2752
2670
|
# Corresponds to the JSON property `model`
|
2753
2671
|
# @return [String]
|
2754
2672
|
attr_accessor :model
|
@@ -2768,12 +2686,12 @@ module Google
|
|
2768
2686
|
class GoogleCloudVideointelligenceV1p1beta1SpeechContext
|
2769
2687
|
include Google::Apis::Core::Hashable
|
2770
2688
|
|
2771
|
-
# Optional. A list of strings containing words and phrases "hints" so that
|
2772
|
-
#
|
2773
|
-
#
|
2774
|
-
#
|
2775
|
-
#
|
2776
|
-
#
|
2689
|
+
# Optional. A list of strings containing words and phrases "hints" so that the
|
2690
|
+
# speech recognition is more likely to recognize them. This can be used to
|
2691
|
+
# improve the accuracy for specific words and phrases, for example, if specific
|
2692
|
+
# commands are typically spoken by the user. This can also be used to add
|
2693
|
+
# additional words to the vocabulary of the recognizer. See [usage limits](https:
|
2694
|
+
# //cloud.google.com/speech/limits#content).
|
2777
2695
|
# Corresponds to the JSON property `phrases`
|
2778
2696
|
# @return [Array<String>]
|
2779
2697
|
attr_accessor :phrases
|
@@ -2794,10 +2712,10 @@ module Google
|
|
2794
2712
|
|
2795
2713
|
# Output only. The confidence estimate between 0.0 and 1.0. A higher number
|
2796
2714
|
# indicates an estimated greater likelihood that the recognized words are
|
2797
|
-
# correct. This field is set only for the top alternative.
|
2798
|
-
#
|
2799
|
-
#
|
2800
|
-
#
|
2715
|
+
# correct. This field is set only for the top alternative. This field is not
|
2716
|
+
# guaranteed to be accurate and users should not rely on it to be always
|
2717
|
+
# provided. The default of 0.0 is a sentinel value indicating `confidence` was
|
2718
|
+
# not set.
|
2801
2719
|
# Corresponds to the JSON property `confidence`
|
2802
2720
|
# @return [Float]
|
2803
2721
|
attr_accessor :confidence
|
@@ -2808,8 +2726,8 @@ module Google
|
|
2808
2726
|
attr_accessor :transcript
|
2809
2727
|
|
2810
2728
|
# Output only. A list of word-specific information for each recognized word.
|
2811
|
-
# Note: When `enable_speaker_diarization` is set to true, you will see all
|
2812
|
-
#
|
2729
|
+
# Note: When `enable_speaker_diarization` is set to true, you will see all the
|
2730
|
+
# words from the beginning of the audio.
|
2813
2731
|
# Corresponds to the JSON property `words`
|
2814
2732
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1WordInfo>]
|
2815
2733
|
attr_accessor :words
|
@@ -2830,18 +2748,17 @@ module Google
|
|
2830
2748
|
class GoogleCloudVideointelligenceV1p1beta1SpeechTranscription
|
2831
2749
|
include Google::Apis::Core::Hashable
|
2832
2750
|
|
2833
|
-
# May contain one or more recognition hypotheses (up to the maximum specified
|
2834
|
-
#
|
2835
|
-
#
|
2836
|
-
#
|
2751
|
+
# May contain one or more recognition hypotheses (up to the maximum specified in
|
2752
|
+
# `max_alternatives`). These alternatives are ordered in terms of accuracy, with
|
2753
|
+
# the top (first) alternative being the most probable, as ranked by the
|
2754
|
+
# recognizer.
|
2837
2755
|
# Corresponds to the JSON property `alternatives`
|
2838
2756
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative>]
|
2839
2757
|
attr_accessor :alternatives
|
2840
2758
|
|
2841
2759
|
# Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
|
2842
|
-
# language tag of
|
2843
|
-
#
|
2844
|
-
# most likelihood of being spoken in the audio.
|
2760
|
+
# language tag of the language in this result. This language code was detected
|
2761
|
+
# to have the most likelihood of being spoken in the audio.
|
2845
2762
|
# Corresponds to the JSON property `languageCode`
|
2846
2763
|
# @return [String]
|
2847
2764
|
attr_accessor :language_code
|
@@ -2868,66 +2785,62 @@ module Google
|
|
2868
2785
|
attr_accessor :audio_tracks
|
2869
2786
|
|
2870
2787
|
# Optional. If set, specifies the estimated number of speakers in the
|
2871
|
-
# conversation.
|
2872
|
-
#
|
2873
|
-
# Ignored unless enable_speaker_diarization is set to true.
|
2788
|
+
# conversation. If not set, defaults to '2'. Ignored unless
|
2789
|
+
# enable_speaker_diarization is set to true.
|
2874
2790
|
# Corresponds to the JSON property `diarizationSpeakerCount`
|
2875
2791
|
# @return [Fixnum]
|
2876
2792
|
attr_accessor :diarization_speaker_count
|
2877
2793
|
|
2878
|
-
# Optional. If 'true', adds punctuation to recognition result hypotheses.
|
2879
|
-
#
|
2880
|
-
#
|
2881
|
-
#
|
2882
|
-
#
|
2883
|
-
#
|
2794
|
+
# Optional. If 'true', adds punctuation to recognition result hypotheses. This
|
2795
|
+
# feature is only available in select languages. Setting this for requests in
|
2796
|
+
# other languages has no effect at all. The default 'false' value does not add
|
2797
|
+
# punctuation to result hypotheses. NOTE: "This is currently offered as an
|
2798
|
+
# experimental service, complimentary to all users. In the future this may be
|
2799
|
+
# exclusively available as a premium feature."
|
2884
2800
|
# Corresponds to the JSON property `enableAutomaticPunctuation`
|
2885
2801
|
# @return [Boolean]
|
2886
2802
|
attr_accessor :enable_automatic_punctuation
|
2887
2803
|
alias_method :enable_automatic_punctuation?, :enable_automatic_punctuation
|
2888
2804
|
|
2889
|
-
# Optional. If 'true', enables speaker detection for each recognized word in
|
2890
|
-
#
|
2891
|
-
#
|
2892
|
-
#
|
2893
|
-
#
|
2894
|
-
#
|
2895
|
-
# identify the speakers in the conversation over time.
|
2805
|
+
# Optional. If 'true', enables speaker detection for each recognized word in the
|
2806
|
+
# top alternative of the recognition result using a speaker_tag provided in the
|
2807
|
+
# WordInfo. Note: When this is true, we send all the words from the beginning of
|
2808
|
+
# the audio for the top alternative in every consecutive response. This is done
|
2809
|
+
# in order to improve our speaker tags as our models learn to identify the
|
2810
|
+
# speakers in the conversation over time.
|
2896
2811
|
# Corresponds to the JSON property `enableSpeakerDiarization`
|
2897
2812
|
# @return [Boolean]
|
2898
2813
|
attr_accessor :enable_speaker_diarization
|
2899
2814
|
alias_method :enable_speaker_diarization?, :enable_speaker_diarization
|
2900
2815
|
|
2901
2816
|
# Optional. If `true`, the top result includes a list of words and the
|
2902
|
-
# confidence for those words. If `false`, no word-level confidence
|
2903
|
-
#
|
2817
|
+
# confidence for those words. If `false`, no word-level confidence information
|
2818
|
+
# is returned. The default is `false`.
|
2904
2819
|
# Corresponds to the JSON property `enableWordConfidence`
|
2905
2820
|
# @return [Boolean]
|
2906
2821
|
attr_accessor :enable_word_confidence
|
2907
2822
|
alias_method :enable_word_confidence?, :enable_word_confidence
|
2908
2823
|
|
2909
|
-
# Optional. If set to `true`, the server will attempt to filter out
|
2910
|
-
#
|
2911
|
-
#
|
2912
|
-
# won't be filtered out.
|
2824
|
+
# Optional. If set to `true`, the server will attempt to filter out profanities,
|
2825
|
+
# replacing all but the initial character in each filtered word with asterisks,
|
2826
|
+
# e.g. "f***". If set to `false` or omitted, profanities won't be filtered out.
|
2913
2827
|
# Corresponds to the JSON property `filterProfanity`
|
2914
2828
|
# @return [Boolean]
|
2915
2829
|
attr_accessor :filter_profanity
|
2916
2830
|
alias_method :filter_profanity?, :filter_profanity
|
2917
2831
|
|
2918
|
-
# Required. *Required* The language of the supplied audio as a
|
2919
|
-
#
|
2920
|
-
#
|
2921
|
-
#
|
2922
|
-
# for a list of the currently supported language codes.
|
2832
|
+
# Required. *Required* The language of the supplied audio as a [BCP-47](https://
|
2833
|
+
# www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. Example: "en-US". See [
|
2834
|
+
# Language Support](https://cloud.google.com/speech/docs/languages) for a list
|
2835
|
+
# of the currently supported language codes.
|
2923
2836
|
# Corresponds to the JSON property `languageCode`
|
2924
2837
|
# @return [String]
|
2925
2838
|
attr_accessor :language_code
|
2926
2839
|
|
2927
2840
|
# Optional. Maximum number of recognition hypotheses to be returned.
|
2928
2841
|
# Specifically, the maximum number of `SpeechRecognitionAlternative` messages
|
2929
|
-
# within each `SpeechTranscription`. The server may return fewer than
|
2930
|
-
#
|
2842
|
+
# within each `SpeechTranscription`. The server may return fewer than `
|
2843
|
+
# max_alternatives`. Valid values are `0`-`30`. A value of `0` or `1` will
|
2931
2844
|
# return a maximum of one. If omitted, will return a maximum of one.
|
2932
2845
|
# Corresponds to the JSON property `maxAlternatives`
|
2933
2846
|
# @return [Fixnum]
|
@@ -2994,16 +2907,15 @@ module Google
|
|
2994
2907
|
include Google::Apis::Core::Hashable
|
2995
2908
|
|
2996
2909
|
# Language hint can be specified if the language to be detected is known a
|
2997
|
-
# priori. It can increase the accuracy of the detection. Language hint must
|
2998
|
-
#
|
2999
|
-
#
|
2910
|
+
# priori. It can increase the accuracy of the detection. Language hint must be
|
2911
|
+
# language code in BCP-47 format. Automatic language detection is performed if
|
2912
|
+
# no hint is provided.
|
3000
2913
|
# Corresponds to the JSON property `languageHints`
|
3001
2914
|
# @return [Array<String>]
|
3002
2915
|
attr_accessor :language_hints
|
3003
2916
|
|
3004
|
-
# Model to use for text detection.
|
3005
|
-
#
|
3006
|
-
# "builtin/latest".
|
2917
|
+
# Model to use for text detection. Supported values: "builtin/stable" (the
|
2918
|
+
# default if unset) and "builtin/latest".
|
3007
2919
|
# Corresponds to the JSON property `model`
|
3008
2920
|
# @return [String]
|
3009
2921
|
attr_accessor :model
|
@@ -3019,27 +2931,19 @@ module Google
|
|
3019
2931
|
end
|
3020
2932
|
end
|
3021
2933
|
|
3022
|
-
# Video frame level annotation results for text annotation (OCR).
|
3023
|
-
#
|
3024
|
-
#
|
2934
|
+
# Video frame level annotation results for text annotation (OCR). Contains
|
2935
|
+
# information regarding timestamp and bounding box locations for the frames
|
2936
|
+
# containing detected OCR text snippets.
|
3025
2937
|
class GoogleCloudVideointelligenceV1p1beta1TextFrame
|
3026
2938
|
include Google::Apis::Core::Hashable
|
3027
2939
|
|
3028
2940
|
# Normalized bounding polygon for text (that might not be aligned with axis).
|
3029
|
-
# Contains list of the corner points in clockwise order starting from
|
3030
|
-
#
|
3031
|
-
#
|
3032
|
-
#
|
3033
|
-
#
|
3034
|
-
#
|
3035
|
-
# When it's clockwise rotated 180 degrees around the top-left corner it
|
3036
|
-
# becomes:
|
3037
|
-
# 2----3
|
3038
|
-
# | |
|
3039
|
-
# 1----0
|
3040
|
-
# and the vertex order will still be (0, 1, 2, 3). Note that values can be less
|
3041
|
-
# than 0, or greater than 1 due to trignometric calculations for location of
|
3042
|
-
# the box.
|
2941
|
+
# Contains list of the corner points in clockwise order starting from top-left
|
2942
|
+
# corner. For example, for a rectangular bounding box: When the text is
|
2943
|
+
# horizontal it might look like: 0----1 | | 3----2 When it's clockwise rotated
|
2944
|
+
# 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the
|
2945
|
+
# vertex order will still be (0, 1, 2, 3). Note that values can be less than 0,
|
2946
|
+
# or greater than 1 due to trignometric calculations for location of the box.
|
3043
2947
|
# Corresponds to the JSON property `rotatedBoundingBox`
|
3044
2948
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingPoly]
|
3045
2949
|
attr_accessor :rotated_bounding_box
|
@@ -3092,9 +2996,8 @@ module Google
|
|
3092
2996
|
end
|
3093
2997
|
end
|
3094
2998
|
|
3095
|
-
# For tracking related features.
|
3096
|
-
#
|
3097
|
-
# normalized_bounding_box.
|
2999
|
+
# For tracking related features. An object at time_offset with attributes, and
|
3000
|
+
# located with normalized_bounding_box.
|
3098
3001
|
class GoogleCloudVideointelligenceV1p1beta1TimestampedObject
|
3099
3002
|
include Google::Apis::Core::Hashable
|
3100
3003
|
|
@@ -3108,15 +3011,14 @@ module Google
|
|
3108
3011
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1DetectedLandmark>]
|
3109
3012
|
attr_accessor :landmarks
|
3110
3013
|
|
3111
|
-
# Normalized bounding box.
|
3112
|
-
#
|
3113
|
-
# Range: [0, 1].
|
3014
|
+
# Normalized bounding box. The normalized vertex coordinates are relative to the
|
3015
|
+
# original image. Range: [0, 1].
|
3114
3016
|
# Corresponds to the JSON property `normalizedBoundingBox`
|
3115
3017
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox]
|
3116
3018
|
attr_accessor :normalized_bounding_box
|
3117
3019
|
|
3118
|
-
# Time-offset, relative to the beginning of the video,
|
3119
|
-
#
|
3020
|
+
# Time-offset, relative to the beginning of the video, corresponding to the
|
3021
|
+
# video frame for this object.
|
3120
3022
|
# Corresponds to the JSON property `timeOffset`
|
3121
3023
|
# @return [String]
|
3122
3024
|
attr_accessor :time_offset
|
@@ -3175,20 +3077,19 @@ module Google
|
|
3175
3077
|
class GoogleCloudVideointelligenceV1p1beta1VideoAnnotationProgress
|
3176
3078
|
include Google::Apis::Core::Hashable
|
3177
3079
|
|
3178
|
-
# Specifies which feature is being tracked if the request contains more than
|
3179
|
-
#
|
3080
|
+
# Specifies which feature is being tracked if the request contains more than one
|
3081
|
+
# feature.
|
3180
3082
|
# Corresponds to the JSON property `feature`
|
3181
3083
|
# @return [String]
|
3182
3084
|
attr_accessor :feature
|
3183
3085
|
|
3184
|
-
# Video file location in
|
3185
|
-
# [Cloud Storage](https://cloud.google.com/storage/).
|
3086
|
+
# Video file location in [Cloud Storage](https://cloud.google.com/storage/).
|
3186
3087
|
# Corresponds to the JSON property `inputUri`
|
3187
3088
|
# @return [String]
|
3188
3089
|
attr_accessor :input_uri
|
3189
3090
|
|
3190
|
-
# Approximate percentage processed thus far. Guaranteed to be
|
3191
|
-
#
|
3091
|
+
# Approximate percentage processed thus far. Guaranteed to be 100 when fully
|
3092
|
+
# processed.
|
3192
3093
|
# Corresponds to the JSON property `progressPercent`
|
3193
3094
|
# @return [Fixnum]
|
3194
3095
|
attr_accessor :progress_percent
|
@@ -3227,31 +3128,30 @@ module Google
|
|
3227
3128
|
class GoogleCloudVideointelligenceV1p1beta1VideoAnnotationResults
|
3228
3129
|
include Google::Apis::Core::Hashable
|
3229
3130
|
|
3230
|
-
# The `Status` type defines a logical error model that is suitable for
|
3231
|
-
#
|
3232
|
-
#
|
3233
|
-
#
|
3234
|
-
#
|
3235
|
-
#
|
3131
|
+
# The `Status` type defines a logical error model that is suitable for different
|
3132
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
3133
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
3134
|
+
# data: error code, error message, and error details. You can find out more
|
3135
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
3136
|
+
# //cloud.google.com/apis/design/errors).
|
3236
3137
|
# Corresponds to the JSON property `error`
|
3237
3138
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleRpcStatus]
|
3238
3139
|
attr_accessor :error
|
3239
3140
|
|
3240
|
-
# Explicit content annotation (based on per-frame visual signals only).
|
3241
|
-
#
|
3242
|
-
#
|
3141
|
+
# Explicit content annotation (based on per-frame visual signals only). If no
|
3142
|
+
# explicit content has been detected in a frame, no annotations are present for
|
3143
|
+
# that frame.
|
3243
3144
|
# Corresponds to the JSON property `explicitAnnotation`
|
3244
3145
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation]
|
3245
3146
|
attr_accessor :explicit_annotation
|
3246
3147
|
|
3247
|
-
# Label annotations on frame level.
|
3248
|
-
#
|
3148
|
+
# Label annotations on frame level. There is exactly one element for each unique
|
3149
|
+
# label.
|
3249
3150
|
# Corresponds to the JSON property `frameLabelAnnotations`
|
3250
3151
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>]
|
3251
3152
|
attr_accessor :frame_label_annotations
|
3252
3153
|
|
3253
|
-
# Video file location in
|
3254
|
-
# [Cloud Storage](https://cloud.google.com/storage/).
|
3154
|
+
# Video file location in [Cloud Storage](https://cloud.google.com/storage/).
|
3255
3155
|
# Corresponds to the JSON property `inputUri`
|
3256
3156
|
# @return [String]
|
3257
3157
|
attr_accessor :input_uri
|
@@ -3278,11 +3178,11 @@ module Google
|
|
3278
3178
|
attr_accessor :segment_label_annotations
|
3279
3179
|
|
3280
3180
|
# Presence label annotations on video level or user-specified segment level.
|
3281
|
-
# There is exactly one element for each unique label. Compared to the
|
3282
|
-
#
|
3283
|
-
#
|
3284
|
-
#
|
3285
|
-
#
|
3181
|
+
# There is exactly one element for each unique label. Compared to the existing
|
3182
|
+
# topical `segment_label_annotations`, this field presents more fine-grained,
|
3183
|
+
# segment-level labels detected in video content and is made available only when
|
3184
|
+
# the client sets `LabelDetectionConfig.model` to "builtin/latest" in the
|
3185
|
+
# request.
|
3286
3186
|
# Corresponds to the JSON property `segmentPresenceLabelAnnotations`
|
3287
3187
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>]
|
3288
3188
|
attr_accessor :segment_presence_label_annotations
|
@@ -3292,17 +3192,17 @@ module Google
|
|
3292
3192
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment>]
|
3293
3193
|
attr_accessor :shot_annotations
|
3294
3194
|
|
3295
|
-
# Topical label annotations on shot level.
|
3296
|
-
#
|
3195
|
+
# Topical label annotations on shot level. There is exactly one element for each
|
3196
|
+
# unique label.
|
3297
3197
|
# Corresponds to the JSON property `shotLabelAnnotations`
|
3298
3198
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>]
|
3299
3199
|
attr_accessor :shot_label_annotations
|
3300
3200
|
|
3301
3201
|
# Presence label annotations on shot level. There is exactly one element for
|
3302
|
-
# each unique label. Compared to the existing topical
|
3303
|
-
#
|
3304
|
-
#
|
3305
|
-
#
|
3202
|
+
# each unique label. Compared to the existing topical `shot_label_annotations`,
|
3203
|
+
# this field presents more fine-grained, shot-level labels detected in video
|
3204
|
+
# content and is made available only when the client sets `LabelDetectionConfig.
|
3205
|
+
# model` to "builtin/latest" in the request.
|
3306
3206
|
# Corresponds to the JSON property `shotPresenceLabelAnnotations`
|
3307
3207
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>]
|
3308
3208
|
attr_accessor :shot_presence_label_annotations
|
@@ -3312,9 +3212,8 @@ module Google
|
|
3312
3212
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1SpeechTranscription>]
|
3313
3213
|
attr_accessor :speech_transcriptions
|
3314
3214
|
|
3315
|
-
# OCR text detection and tracking.
|
3316
|
-
#
|
3317
|
-
# frame information associated with it.
|
3215
|
+
# OCR text detection and tracking. Annotations for list of detected text
|
3216
|
+
# snippets. Each will have list of frame information associated with it.
|
3318
3217
|
# Corresponds to the JSON property `textAnnotations`
|
3319
3218
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1TextAnnotation>]
|
3320
3219
|
attr_accessor :text_annotations
|
@@ -3361,9 +3260,9 @@ module Google
|
|
3361
3260
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1ObjectTrackingConfig]
|
3362
3261
|
attr_accessor :object_tracking_config
|
3363
3262
|
|
3364
|
-
# Video segments to annotate. The segments may overlap and are not required
|
3365
|
-
#
|
3366
|
-
#
|
3263
|
+
# Video segments to annotate. The segments may overlap and are not required to
|
3264
|
+
# be contiguous or span the whole video. If unspecified, each video is treated
|
3265
|
+
# as a single segment.
|
3367
3266
|
# Corresponds to the JSON property `segments`
|
3368
3267
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment>]
|
3369
3268
|
attr_accessor :segments
|
@@ -3403,14 +3302,14 @@ module Google
|
|
3403
3302
|
class GoogleCloudVideointelligenceV1p1beta1VideoSegment
|
3404
3303
|
include Google::Apis::Core::Hashable
|
3405
3304
|
|
3406
|
-
# Time-offset, relative to the beginning of the video,
|
3407
|
-
#
|
3305
|
+
# Time-offset, relative to the beginning of the video, corresponding to the end
|
3306
|
+
# of the segment (inclusive).
|
3408
3307
|
# Corresponds to the JSON property `endTimeOffset`
|
3409
3308
|
# @return [String]
|
3410
3309
|
attr_accessor :end_time_offset
|
3411
3310
|
|
3412
|
-
# Time-offset, relative to the beginning of the video,
|
3413
|
-
#
|
3311
|
+
# Time-offset, relative to the beginning of the video, corresponding to the
|
3312
|
+
# start of the segment (inclusive).
|
3414
3313
|
# Corresponds to the JSON property `startTimeOffset`
|
3415
3314
|
# @return [String]
|
3416
3315
|
attr_accessor :start_time_offset
|
@@ -3427,41 +3326,41 @@ module Google
|
|
3427
3326
|
end
|
3428
3327
|
|
3429
3328
|
# Word-specific information for recognized words. Word information is only
|
3430
|
-
# included in the response when certain request parameters are set, such
|
3431
|
-
#
|
3329
|
+
# included in the response when certain request parameters are set, such as `
|
3330
|
+
# enable_word_time_offsets`.
|
3432
3331
|
class GoogleCloudVideointelligenceV1p1beta1WordInfo
|
3433
3332
|
include Google::Apis::Core::Hashable
|
3434
3333
|
|
3435
3334
|
# Output only. The confidence estimate between 0.0 and 1.0. A higher number
|
3436
3335
|
# indicates an estimated greater likelihood that the recognized words are
|
3437
|
-
# correct. This field is set only for the top alternative.
|
3438
|
-
#
|
3439
|
-
#
|
3440
|
-
#
|
3336
|
+
# correct. This field is set only for the top alternative. This field is not
|
3337
|
+
# guaranteed to be accurate and users should not rely on it to be always
|
3338
|
+
# provided. The default of 0.0 is a sentinel value indicating `confidence` was
|
3339
|
+
# not set.
|
3441
3340
|
# Corresponds to the JSON property `confidence`
|
3442
3341
|
# @return [Float]
|
3443
3342
|
attr_accessor :confidence
|
3444
3343
|
|
3445
|
-
# Time offset relative to the beginning of the audio, and
|
3446
|
-
#
|
3447
|
-
#
|
3448
|
-
#
|
3344
|
+
# Time offset relative to the beginning of the audio, and corresponding to the
|
3345
|
+
# end of the spoken word. This field is only set if `enable_word_time_offsets=
|
3346
|
+
# true` and only in the top hypothesis. This is an experimental feature and the
|
3347
|
+
# accuracy of the time offset can vary.
|
3449
3348
|
# Corresponds to the JSON property `endTime`
|
3450
3349
|
# @return [String]
|
3451
3350
|
attr_accessor :end_time
|
3452
3351
|
|
3453
|
-
# Output only. A distinct integer value is assigned for every speaker within
|
3454
|
-
#
|
3455
|
-
#
|
3456
|
-
#
|
3352
|
+
# Output only. A distinct integer value is assigned for every speaker within the
|
3353
|
+
# audio. This field specifies which one of those speakers was detected to have
|
3354
|
+
# spoken this word. Value ranges from 1 up to diarization_speaker_count, and is
|
3355
|
+
# only set if speaker diarization is enabled.
|
3457
3356
|
# Corresponds to the JSON property `speakerTag`
|
3458
3357
|
# @return [Fixnum]
|
3459
3358
|
attr_accessor :speaker_tag
|
3460
3359
|
|
3461
|
-
# Time offset relative to the beginning of the audio, and
|
3462
|
-
#
|
3463
|
-
#
|
3464
|
-
#
|
3360
|
+
# Time offset relative to the beginning of the audio, and corresponding to the
|
3361
|
+
# start of the spoken word. This field is only set if `enable_word_time_offsets=
|
3362
|
+
# true` and only in the top hypothesis. This is an experimental feature and the
|
3363
|
+
# accuracy of the time offset can vary.
|
3465
3364
|
# Corresponds to the JSON property `startTime`
|
3466
3365
|
# @return [String]
|
3467
3366
|
attr_accessor :start_time
|
@@ -3485,9 +3384,9 @@ module Google
|
|
3485
3384
|
end
|
3486
3385
|
end
|
3487
3386
|
|
3488
|
-
# Video annotation progress. Included in the `metadata`
|
3489
|
-
#
|
3490
|
-
#
|
3387
|
+
# Video annotation progress. Included in the `metadata` field of the `Operation`
|
3388
|
+
# returned by the `GetOperation` call of the `google::longrunning::Operations`
|
3389
|
+
# service.
|
3491
3390
|
class GoogleCloudVideointelligenceV1p2beta1AnnotateVideoProgress
|
3492
3391
|
include Google::Apis::Core::Hashable
|
3493
3392
|
|
@@ -3506,9 +3405,9 @@ module Google
|
|
3506
3405
|
end
|
3507
3406
|
end
|
3508
3407
|
|
3509
|
-
# Video annotation response. Included in the `response`
|
3510
|
-
#
|
3511
|
-
#
|
3408
|
+
# Video annotation response. Included in the `response` field of the `Operation`
|
3409
|
+
# returned by the `GetOperation` call of the `google::longrunning::Operations`
|
3410
|
+
# service.
|
3512
3411
|
class GoogleCloudVideointelligenceV1p2beta1AnnotateVideoResponse
|
3513
3412
|
include Google::Apis::Core::Hashable
|
3514
3413
|
|
@@ -3536,14 +3435,14 @@ module Google
|
|
3536
3435
|
# @return [Float]
|
3537
3436
|
attr_accessor :confidence
|
3538
3437
|
|
3539
|
-
# The name of the attribute, for example, glasses, dark_glasses, mouth_open.
|
3540
|
-
#
|
3438
|
+
# The name of the attribute, for example, glasses, dark_glasses, mouth_open. A
|
3439
|
+
# full list of supported type names will be provided in the document.
|
3541
3440
|
# Corresponds to the JSON property `name`
|
3542
3441
|
# @return [String]
|
3543
3442
|
attr_accessor :name
|
3544
3443
|
|
3545
|
-
# Text value of the detection result. For example, the value for "HairColor"
|
3546
|
-
#
|
3444
|
+
# Text value of the detection result. For example, the value for "HairColor" can
|
3445
|
+
# be "black", "blonde", etc.
|
3547
3446
|
# Corresponds to the JSON property `value`
|
3548
3447
|
# @return [String]
|
3549
3448
|
attr_accessor :value
|
@@ -3575,9 +3474,8 @@ module Google
|
|
3575
3474
|
# @return [String]
|
3576
3475
|
attr_accessor :name
|
3577
3476
|
|
3578
|
-
# A vertex represents a 2D point in the image.
|
3579
|
-
#
|
3580
|
-
# and range from 0 to 1.
|
3477
|
+
# A vertex represents a 2D point in the image. NOTE: the normalized vertex
|
3478
|
+
# coordinates are relative to the original image and range from 0 to 1.
|
3581
3479
|
# Corresponds to the JSON property `point`
|
3582
3480
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1NormalizedVertex]
|
3583
3481
|
attr_accessor :point
|
@@ -3603,8 +3501,7 @@ module Google
|
|
3603
3501
|
# @return [String]
|
3604
3502
|
attr_accessor :description
|
3605
3503
|
|
3606
|
-
# Opaque entity ID. Some IDs may be available in
|
3607
|
-
# [Google Knowledge Graph Search
|
3504
|
+
# Opaque entity ID. Some IDs may be available in [Google Knowledge Graph Search
|
3608
3505
|
# API](https://developers.google.com/knowledge-graph/).
|
3609
3506
|
# Corresponds to the JSON property `entityId`
|
3610
3507
|
# @return [String]
|
@@ -3627,9 +3524,9 @@ module Google
|
|
3627
3524
|
end
|
3628
3525
|
end
|
3629
3526
|
|
3630
|
-
# Explicit content annotation (based on per-frame visual signals only).
|
3631
|
-
#
|
3632
|
-
#
|
3527
|
+
# Explicit content annotation (based on per-frame visual signals only). If no
|
3528
|
+
# explicit content has been detected in a frame, no annotations are present for
|
3529
|
+
# that frame.
|
3633
3530
|
class GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation
|
3634
3531
|
include Google::Apis::Core::Hashable
|
3635
3532
|
|
@@ -3684,10 +3581,9 @@ module Google
|
|
3684
3581
|
class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation
|
3685
3582
|
include Google::Apis::Core::Hashable
|
3686
3583
|
|
3687
|
-
# Common categories for the detected entity.
|
3688
|
-
#
|
3689
|
-
#
|
3690
|
-
# also be a `pet`.
|
3584
|
+
# Common categories for the detected entity. For example, when the label is `
|
3585
|
+
# Terrier`, the category is likely `dog`. And in some cases there might be more
|
3586
|
+
# than one categories e.g., `Terrier` could also be a `pet`.
|
3691
3587
|
# Corresponds to the JSON property `categoryEntities`
|
3692
3588
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1Entity>]
|
3693
3589
|
attr_accessor :category_entities
|
@@ -3786,14 +3682,14 @@ module Google
|
|
3786
3682
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1Entity]
|
3787
3683
|
attr_accessor :entity
|
3788
3684
|
|
3789
|
-
# All video segments where the recognized logo appears. There might be
|
3790
|
-
#
|
3685
|
+
# All video segments where the recognized logo appears. There might be multiple
|
3686
|
+
# instances of the same logo class appearing in one VideoSegment.
|
3791
3687
|
# Corresponds to the JSON property `segments`
|
3792
3688
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment>]
|
3793
3689
|
attr_accessor :segments
|
3794
3690
|
|
3795
|
-
# All logo tracks where the recognized logo appears. Each track corresponds
|
3796
|
-
#
|
3691
|
+
# All logo tracks where the recognized logo appears. Each track corresponds to
|
3692
|
+
# one logo instance appearing in consecutive frames.
|
3797
3693
|
# Corresponds to the JSON property `tracks`
|
3798
3694
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1Track>]
|
3799
3695
|
attr_accessor :tracks
|
@@ -3810,9 +3706,8 @@ module Google
|
|
3810
3706
|
end
|
3811
3707
|
end
|
3812
3708
|
|
3813
|
-
# Normalized bounding box.
|
3814
|
-
#
|
3815
|
-
# Range: [0, 1].
|
3709
|
+
# Normalized bounding box. The normalized vertex coordinates are relative to the
|
3710
|
+
# original image. Range: [0, 1].
|
3816
3711
|
class GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox
|
3817
3712
|
include Google::Apis::Core::Hashable
|
3818
3713
|
|
@@ -3850,20 +3745,12 @@ module Google
|
|
3850
3745
|
end
|
3851
3746
|
|
3852
3747
|
# Normalized bounding polygon for text (that might not be aligned with axis).
|
3853
|
-
# Contains list of the corner points in clockwise order starting from
|
3854
|
-
#
|
3855
|
-
#
|
3856
|
-
#
|
3857
|
-
#
|
3858
|
-
#
|
3859
|
-
# When it's clockwise rotated 180 degrees around the top-left corner it
|
3860
|
-
# becomes:
|
3861
|
-
# 2----3
|
3862
|
-
# | |
|
3863
|
-
# 1----0
|
3864
|
-
# and the vertex order will still be (0, 1, 2, 3). Note that values can be less
|
3865
|
-
# than 0, or greater than 1 due to trignometric calculations for location of
|
3866
|
-
# the box.
|
3748
|
+
# Contains list of the corner points in clockwise order starting from top-left
|
3749
|
+
# corner. For example, for a rectangular bounding box: When the text is
|
3750
|
+
# horizontal it might look like: 0----1 | | 3----2 When it's clockwise rotated
|
3751
|
+
# 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the
|
3752
|
+
# vertex order will still be (0, 1, 2, 3). Note that values can be less than 0,
|
3753
|
+
# or greater than 1 due to trignometric calculations for location of the box.
|
3867
3754
|
class GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingPoly
|
3868
3755
|
include Google::Apis::Core::Hashable
|
3869
3756
|
|
@@ -3882,9 +3769,8 @@ module Google
|
|
3882
3769
|
end
|
3883
3770
|
end
|
3884
3771
|
|
3885
|
-
# A vertex represents a 2D point in the image.
|
3886
|
-
#
|
3887
|
-
# and range from 0 to 1.
|
3772
|
+
# A vertex represents a 2D point in the image. NOTE: the normalized vertex
|
3773
|
+
# coordinates are relative to the original image and range from 0 to 1.
|
3888
3774
|
class GoogleCloudVideointelligenceV1p2beta1NormalizedVertex
|
3889
3775
|
include Google::Apis::Core::Hashable
|
3890
3776
|
|
@@ -3923,10 +3809,10 @@ module Google
|
|
3923
3809
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1Entity]
|
3924
3810
|
attr_accessor :entity
|
3925
3811
|
|
3926
|
-
# Information corresponding to all frames where this object track appears.
|
3927
|
-
#
|
3928
|
-
#
|
3929
|
-
#
|
3812
|
+
# Information corresponding to all frames where this object track appears. Non-
|
3813
|
+
# streaming batch mode: it may be one or multiple ObjectTrackingFrame messages
|
3814
|
+
# in frames. Streaming mode: it can only be one ObjectTrackingFrame message in
|
3815
|
+
# frames.
|
3930
3816
|
# Corresponds to the JSON property `frames`
|
3931
3817
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingFrame>]
|
3932
3818
|
attr_accessor :frames
|
@@ -3936,12 +3822,11 @@ module Google
|
|
3936
3822
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment]
|
3937
3823
|
attr_accessor :segment
|
3938
3824
|
|
3939
|
-
# Streaming mode ONLY.
|
3940
|
-
#
|
3941
|
-
#
|
3942
|
-
#
|
3943
|
-
#
|
3944
|
-
# ObjectTrackAnnotation of the same track_id over time.
|
3825
|
+
# Streaming mode ONLY. In streaming mode, we do not know the end time of a
|
3826
|
+
# tracked object before it is completed. Hence, there is no VideoSegment info
|
3827
|
+
# returned. Instead, we provide a unique identifiable integer track_id so that
|
3828
|
+
# the customers can correlate the results of the ongoing ObjectTrackAnnotation
|
3829
|
+
# of the same track_id over time.
|
3945
3830
|
# Corresponds to the JSON property `trackId`
|
3946
3831
|
# @return [Fixnum]
|
3947
3832
|
attr_accessor :track_id
|
@@ -3971,9 +3856,8 @@ module Google
|
|
3971
3856
|
class GoogleCloudVideointelligenceV1p2beta1ObjectTrackingFrame
|
3972
3857
|
include Google::Apis::Core::Hashable
|
3973
3858
|
|
3974
|
-
# Normalized bounding box.
|
3975
|
-
#
|
3976
|
-
# Range: [0, 1].
|
3859
|
+
# Normalized bounding box. The normalized vertex coordinates are relative to the
|
3860
|
+
# original image. Range: [0, 1].
|
3977
3861
|
# Corresponds to the JSON property `normalizedBoundingBox`
|
3978
3862
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox]
|
3979
3863
|
attr_accessor :normalized_bounding_box
|
@@ -4000,10 +3884,10 @@ module Google
|
|
4000
3884
|
|
4001
3885
|
# Output only. The confidence estimate between 0.0 and 1.0. A higher number
|
4002
3886
|
# indicates an estimated greater likelihood that the recognized words are
|
4003
|
-
# correct. This field is set only for the top alternative.
|
4004
|
-
#
|
4005
|
-
#
|
4006
|
-
#
|
3887
|
+
# correct. This field is set only for the top alternative. This field is not
|
3888
|
+
# guaranteed to be accurate and users should not rely on it to be always
|
3889
|
+
# provided. The default of 0.0 is a sentinel value indicating `confidence` was
|
3890
|
+
# not set.
|
4007
3891
|
# Corresponds to the JSON property `confidence`
|
4008
3892
|
# @return [Float]
|
4009
3893
|
attr_accessor :confidence
|
@@ -4014,8 +3898,8 @@ module Google
|
|
4014
3898
|
attr_accessor :transcript
|
4015
3899
|
|
4016
3900
|
# Output only. A list of word-specific information for each recognized word.
|
4017
|
-
# Note: When `enable_speaker_diarization` is set to true, you will see all
|
4018
|
-
#
|
3901
|
+
# Note: When `enable_speaker_diarization` is set to true, you will see all the
|
3902
|
+
# words from the beginning of the audio.
|
4019
3903
|
# Corresponds to the JSON property `words`
|
4020
3904
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1WordInfo>]
|
4021
3905
|
attr_accessor :words
|
@@ -4036,18 +3920,17 @@ module Google
|
|
4036
3920
|
class GoogleCloudVideointelligenceV1p2beta1SpeechTranscription
|
4037
3921
|
include Google::Apis::Core::Hashable
|
4038
3922
|
|
4039
|
-
# May contain one or more recognition hypotheses (up to the maximum specified
|
4040
|
-
#
|
4041
|
-
#
|
4042
|
-
#
|
3923
|
+
# May contain one or more recognition hypotheses (up to the maximum specified in
|
3924
|
+
# `max_alternatives`). These alternatives are ordered in terms of accuracy, with
|
3925
|
+
# the top (first) alternative being the most probable, as ranked by the
|
3926
|
+
# recognizer.
|
4043
3927
|
# Corresponds to the JSON property `alternatives`
|
4044
3928
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1SpeechRecognitionAlternative>]
|
4045
3929
|
attr_accessor :alternatives
|
4046
3930
|
|
4047
3931
|
# Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
|
4048
|
-
# language tag of
|
4049
|
-
#
|
4050
|
-
# most likelihood of being spoken in the audio.
|
3932
|
+
# language tag of the language in this result. This language code was detected
|
3933
|
+
# to have the most likelihood of being spoken in the audio.
|
4051
3934
|
# Corresponds to the JSON property `languageCode`
|
4052
3935
|
# @return [String]
|
4053
3936
|
attr_accessor :language_code
|
@@ -4096,27 +3979,19 @@ module Google
|
|
4096
3979
|
end
|
4097
3980
|
end
|
4098
3981
|
|
4099
|
-
# Video frame level annotation results for text annotation (OCR).
|
4100
|
-
#
|
4101
|
-
#
|
3982
|
+
# Video frame level annotation results for text annotation (OCR). Contains
|
3983
|
+
# information regarding timestamp and bounding box locations for the frames
|
3984
|
+
# containing detected OCR text snippets.
|
4102
3985
|
class GoogleCloudVideointelligenceV1p2beta1TextFrame
|
4103
3986
|
include Google::Apis::Core::Hashable
|
4104
3987
|
|
4105
3988
|
# Normalized bounding polygon for text (that might not be aligned with axis).
|
4106
|
-
# Contains list of the corner points in clockwise order starting from
|
4107
|
-
#
|
4108
|
-
#
|
4109
|
-
#
|
4110
|
-
#
|
4111
|
-
#
|
4112
|
-
# When it's clockwise rotated 180 degrees around the top-left corner it
|
4113
|
-
# becomes:
|
4114
|
-
# 2----3
|
4115
|
-
# | |
|
4116
|
-
# 1----0
|
4117
|
-
# and the vertex order will still be (0, 1, 2, 3). Note that values can be less
|
4118
|
-
# than 0, or greater than 1 due to trignometric calculations for location of
|
4119
|
-
# the box.
|
3989
|
+
# Contains list of the corner points in clockwise order starting from top-left
|
3990
|
+
# corner. For example, for a rectangular bounding box: When the text is
|
3991
|
+
# horizontal it might look like: 0----1 | | 3----2 When it's clockwise rotated
|
3992
|
+
# 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the
|
3993
|
+
# vertex order will still be (0, 1, 2, 3). Note that values can be less than 0,
|
3994
|
+
# or greater than 1 due to trignometric calculations for location of the box.
|
4120
3995
|
# Corresponds to the JSON property `rotatedBoundingBox`
|
4121
3996
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingPoly]
|
4122
3997
|
attr_accessor :rotated_bounding_box
|
@@ -4169,9 +4044,8 @@ module Google
|
|
4169
4044
|
end
|
4170
4045
|
end
|
4171
4046
|
|
4172
|
-
# For tracking related features.
|
4173
|
-
#
|
4174
|
-
# normalized_bounding_box.
|
4047
|
+
# For tracking related features. An object at time_offset with attributes, and
|
4048
|
+
# located with normalized_bounding_box.
|
4175
4049
|
class GoogleCloudVideointelligenceV1p2beta1TimestampedObject
|
4176
4050
|
include Google::Apis::Core::Hashable
|
4177
4051
|
|
@@ -4185,15 +4059,14 @@ module Google
|
|
4185
4059
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1DetectedLandmark>]
|
4186
4060
|
attr_accessor :landmarks
|
4187
4061
|
|
4188
|
-
# Normalized bounding box.
|
4189
|
-
#
|
4190
|
-
# Range: [0, 1].
|
4062
|
+
# Normalized bounding box. The normalized vertex coordinates are relative to the
|
4063
|
+
# original image. Range: [0, 1].
|
4191
4064
|
# Corresponds to the JSON property `normalizedBoundingBox`
|
4192
4065
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox]
|
4193
4066
|
attr_accessor :normalized_bounding_box
|
4194
4067
|
|
4195
|
-
# Time-offset, relative to the beginning of the video,
|
4196
|
-
#
|
4068
|
+
# Time-offset, relative to the beginning of the video, corresponding to the
|
4069
|
+
# video frame for this object.
|
4197
4070
|
# Corresponds to the JSON property `timeOffset`
|
4198
4071
|
# @return [String]
|
4199
4072
|
attr_accessor :time_offset
|
@@ -4252,20 +4125,19 @@ module Google
|
|
4252
4125
|
class GoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress
|
4253
4126
|
include Google::Apis::Core::Hashable
|
4254
4127
|
|
4255
|
-
# Specifies which feature is being tracked if the request contains more than
|
4256
|
-
#
|
4128
|
+
# Specifies which feature is being tracked if the request contains more than one
|
4129
|
+
# feature.
|
4257
4130
|
# Corresponds to the JSON property `feature`
|
4258
4131
|
# @return [String]
|
4259
4132
|
attr_accessor :feature
|
4260
4133
|
|
4261
|
-
# Video file location in
|
4262
|
-
# [Cloud Storage](https://cloud.google.com/storage/).
|
4134
|
+
# Video file location in [Cloud Storage](https://cloud.google.com/storage/).
|
4263
4135
|
# Corresponds to the JSON property `inputUri`
|
4264
4136
|
# @return [String]
|
4265
4137
|
attr_accessor :input_uri
|
4266
4138
|
|
4267
|
-
# Approximate percentage processed thus far. Guaranteed to be
|
4268
|
-
#
|
4139
|
+
# Approximate percentage processed thus far. Guaranteed to be 100 when fully
|
4140
|
+
# processed.
|
4269
4141
|
# Corresponds to the JSON property `progressPercent`
|
4270
4142
|
# @return [Fixnum]
|
4271
4143
|
attr_accessor :progress_percent
|
@@ -4304,31 +4176,30 @@ module Google
|
|
4304
4176
|
class GoogleCloudVideointelligenceV1p2beta1VideoAnnotationResults
|
4305
4177
|
include Google::Apis::Core::Hashable
|
4306
4178
|
|
4307
|
-
# The `Status` type defines a logical error model that is suitable for
|
4308
|
-
#
|
4309
|
-
#
|
4310
|
-
#
|
4311
|
-
#
|
4312
|
-
#
|
4179
|
+
# The `Status` type defines a logical error model that is suitable for different
|
4180
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
4181
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
4182
|
+
# data: error code, error message, and error details. You can find out more
|
4183
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
4184
|
+
# //cloud.google.com/apis/design/errors).
|
4313
4185
|
# Corresponds to the JSON property `error`
|
4314
4186
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleRpcStatus]
|
4315
4187
|
attr_accessor :error
|
4316
4188
|
|
4317
|
-
# Explicit content annotation (based on per-frame visual signals only).
|
4318
|
-
#
|
4319
|
-
#
|
4189
|
+
# Explicit content annotation (based on per-frame visual signals only). If no
|
4190
|
+
# explicit content has been detected in a frame, no annotations are present for
|
4191
|
+
# that frame.
|
4320
4192
|
# Corresponds to the JSON property `explicitAnnotation`
|
4321
4193
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation]
|
4322
4194
|
attr_accessor :explicit_annotation
|
4323
4195
|
|
4324
|
-
# Label annotations on frame level.
|
4325
|
-
#
|
4196
|
+
# Label annotations on frame level. There is exactly one element for each unique
|
4197
|
+
# label.
|
4326
4198
|
# Corresponds to the JSON property `frameLabelAnnotations`
|
4327
4199
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>]
|
4328
4200
|
attr_accessor :frame_label_annotations
|
4329
4201
|
|
4330
|
-
# Video file location in
|
4331
|
-
# [Cloud Storage](https://cloud.google.com/storage/).
|
4202
|
+
# Video file location in [Cloud Storage](https://cloud.google.com/storage/).
|
4332
4203
|
# Corresponds to the JSON property `inputUri`
|
4333
4204
|
# @return [String]
|
4334
4205
|
attr_accessor :input_uri
|
@@ -4355,11 +4226,11 @@ module Google
|
|
4355
4226
|
attr_accessor :segment_label_annotations
|
4356
4227
|
|
4357
4228
|
# Presence label annotations on video level or user-specified segment level.
|
4358
|
-
# There is exactly one element for each unique label. Compared to the
|
4359
|
-
#
|
4360
|
-
#
|
4361
|
-
#
|
4362
|
-
#
|
4229
|
+
# There is exactly one element for each unique label. Compared to the existing
|
4230
|
+
# topical `segment_label_annotations`, this field presents more fine-grained,
|
4231
|
+
# segment-level labels detected in video content and is made available only when
|
4232
|
+
# the client sets `LabelDetectionConfig.model` to "builtin/latest" in the
|
4233
|
+
# request.
|
4363
4234
|
# Corresponds to the JSON property `segmentPresenceLabelAnnotations`
|
4364
4235
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>]
|
4365
4236
|
attr_accessor :segment_presence_label_annotations
|
@@ -4369,17 +4240,17 @@ module Google
|
|
4369
4240
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment>]
|
4370
4241
|
attr_accessor :shot_annotations
|
4371
4242
|
|
4372
|
-
# Topical label annotations on shot level.
|
4373
|
-
#
|
4243
|
+
# Topical label annotations on shot level. There is exactly one element for each
|
4244
|
+
# unique label.
|
4374
4245
|
# Corresponds to the JSON property `shotLabelAnnotations`
|
4375
4246
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>]
|
4376
4247
|
attr_accessor :shot_label_annotations
|
4377
4248
|
|
4378
4249
|
# Presence label annotations on shot level. There is exactly one element for
|
4379
|
-
# each unique label. Compared to the existing topical
|
4380
|
-
#
|
4381
|
-
#
|
4382
|
-
#
|
4250
|
+
# each unique label. Compared to the existing topical `shot_label_annotations`,
|
4251
|
+
# this field presents more fine-grained, shot-level labels detected in video
|
4252
|
+
# content and is made available only when the client sets `LabelDetectionConfig.
|
4253
|
+
# model` to "builtin/latest" in the request.
|
4383
4254
|
# Corresponds to the JSON property `shotPresenceLabelAnnotations`
|
4384
4255
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>]
|
4385
4256
|
attr_accessor :shot_presence_label_annotations
|
@@ -4389,9 +4260,8 @@ module Google
|
|
4389
4260
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1SpeechTranscription>]
|
4390
4261
|
attr_accessor :speech_transcriptions
|
4391
4262
|
|
4392
|
-
# OCR text detection and tracking.
|
4393
|
-
#
|
4394
|
-
# frame information associated with it.
|
4263
|
+
# OCR text detection and tracking. Annotations for list of detected text
|
4264
|
+
# snippets. Each will have list of frame information associated with it.
|
4395
4265
|
# Corresponds to the JSON property `textAnnotations`
|
4396
4266
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1TextAnnotation>]
|
4397
4267
|
attr_accessor :text_annotations
|
@@ -4423,14 +4293,14 @@ module Google
|
|
4423
4293
|
class GoogleCloudVideointelligenceV1p2beta1VideoSegment
|
4424
4294
|
include Google::Apis::Core::Hashable
|
4425
4295
|
|
4426
|
-
# Time-offset, relative to the beginning of the video,
|
4427
|
-
#
|
4296
|
+
# Time-offset, relative to the beginning of the video, corresponding to the end
|
4297
|
+
# of the segment (inclusive).
|
4428
4298
|
# Corresponds to the JSON property `endTimeOffset`
|
4429
4299
|
# @return [String]
|
4430
4300
|
attr_accessor :end_time_offset
|
4431
4301
|
|
4432
|
-
# Time-offset, relative to the beginning of the video,
|
4433
|
-
#
|
4302
|
+
# Time-offset, relative to the beginning of the video, corresponding to the
|
4303
|
+
# start of the segment (inclusive).
|
4434
4304
|
# Corresponds to the JSON property `startTimeOffset`
|
4435
4305
|
# @return [String]
|
4436
4306
|
attr_accessor :start_time_offset
|
@@ -4447,41 +4317,41 @@ module Google
|
|
4447
4317
|
end
|
4448
4318
|
|
4449
4319
|
# Word-specific information for recognized words. Word information is only
|
4450
|
-
# included in the response when certain request parameters are set, such
|
4451
|
-
#
|
4320
|
+
# included in the response when certain request parameters are set, such as `
|
4321
|
+
# enable_word_time_offsets`.
|
4452
4322
|
class GoogleCloudVideointelligenceV1p2beta1WordInfo
|
4453
4323
|
include Google::Apis::Core::Hashable
|
4454
4324
|
|
4455
4325
|
# Output only. The confidence estimate between 0.0 and 1.0. A higher number
|
4456
4326
|
# indicates an estimated greater likelihood that the recognized words are
|
4457
|
-
# correct. This field is set only for the top alternative.
|
4458
|
-
#
|
4459
|
-
#
|
4460
|
-
#
|
4327
|
+
# correct. This field is set only for the top alternative. This field is not
|
4328
|
+
# guaranteed to be accurate and users should not rely on it to be always
|
4329
|
+
# provided. The default of 0.0 is a sentinel value indicating `confidence` was
|
4330
|
+
# not set.
|
4461
4331
|
# Corresponds to the JSON property `confidence`
|
4462
4332
|
# @return [Float]
|
4463
4333
|
attr_accessor :confidence
|
4464
4334
|
|
4465
|
-
# Time offset relative to the beginning of the audio, and
|
4466
|
-
#
|
4467
|
-
#
|
4468
|
-
#
|
4335
|
+
# Time offset relative to the beginning of the audio, and corresponding to the
|
4336
|
+
# end of the spoken word. This field is only set if `enable_word_time_offsets=
|
4337
|
+
# true` and only in the top hypothesis. This is an experimental feature and the
|
4338
|
+
# accuracy of the time offset can vary.
|
4469
4339
|
# Corresponds to the JSON property `endTime`
|
4470
4340
|
# @return [String]
|
4471
4341
|
attr_accessor :end_time
|
4472
4342
|
|
4473
|
-
# Output only. A distinct integer value is assigned for every speaker within
|
4474
|
-
#
|
4475
|
-
#
|
4476
|
-
#
|
4343
|
+
# Output only. A distinct integer value is assigned for every speaker within the
|
4344
|
+
# audio. This field specifies which one of those speakers was detected to have
|
4345
|
+
# spoken this word. Value ranges from 1 up to diarization_speaker_count, and is
|
4346
|
+
# only set if speaker diarization is enabled.
|
4477
4347
|
# Corresponds to the JSON property `speakerTag`
|
4478
4348
|
# @return [Fixnum]
|
4479
4349
|
attr_accessor :speaker_tag
|
4480
4350
|
|
4481
|
-
# Time offset relative to the beginning of the audio, and
|
4482
|
-
#
|
4483
|
-
#
|
4484
|
-
#
|
4351
|
+
# Time offset relative to the beginning of the audio, and corresponding to the
|
4352
|
+
# start of the spoken word. This field is only set if `enable_word_time_offsets=
|
4353
|
+
# true` and only in the top hypothesis. This is an experimental feature and the
|
4354
|
+
# accuracy of the time offset can vary.
|
4485
4355
|
# Corresponds to the JSON property `startTime`
|
4486
4356
|
# @return [String]
|
4487
4357
|
attr_accessor :start_time
|
@@ -4505,9 +4375,9 @@ module Google
|
|
4505
4375
|
end
|
4506
4376
|
end
|
4507
4377
|
|
4508
|
-
# Video annotation progress. Included in the `metadata`
|
4509
|
-
#
|
4510
|
-
#
|
4378
|
+
# Video annotation progress. Included in the `metadata` field of the `Operation`
|
4379
|
+
# returned by the `GetOperation` call of the `google::longrunning::Operations`
|
4380
|
+
# service.
|
4511
4381
|
class GoogleCloudVideointelligenceV1p3beta1AnnotateVideoProgress
|
4512
4382
|
include Google::Apis::Core::Hashable
|
4513
4383
|
|
@@ -4526,9 +4396,9 @@ module Google
|
|
4526
4396
|
end
|
4527
4397
|
end
|
4528
4398
|
|
4529
|
-
# Video annotation response. Included in the `response`
|
4530
|
-
#
|
4531
|
-
#
|
4399
|
+
# Video annotation response. Included in the `response` field of the `Operation`
|
4400
|
+
# returned by the `GetOperation` call of the `google::longrunning::Operations`
|
4401
|
+
# service.
|
4532
4402
|
class GoogleCloudVideointelligenceV1p3beta1AnnotateVideoResponse
|
4533
4403
|
include Google::Apis::Core::Hashable
|
4534
4404
|
|
@@ -4562,10 +4432,9 @@ module Google
|
|
4562
4432
|
# @return [String]
|
4563
4433
|
attr_accessor :display_name
|
4564
4434
|
|
4565
|
-
# The resource name of the celebrity. Have the format
|
4566
|
-
#
|
4567
|
-
#
|
4568
|
-
# celebrity.
|
4435
|
+
# The resource name of the celebrity. Have the format `video-intelligence/kg-mid`
|
4436
|
+
# indicates a celebrity from preloaded gallery. kg-mid is the id in Google
|
4437
|
+
# knowledge graph, which is unique for the celebrity.
|
4569
4438
|
# Corresponds to the JSON property `name`
|
4570
4439
|
# @return [String]
|
4571
4440
|
attr_accessor :name
|
@@ -4586,8 +4455,8 @@ module Google
|
|
4586
4455
|
class GoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation
|
4587
4456
|
include Google::Apis::Core::Hashable
|
4588
4457
|
|
4589
|
-
# The tracks detected from the input video, including recognized celebrities
|
4590
|
-
#
|
4458
|
+
# The tracks detected from the input video, including recognized celebrities and
|
4459
|
+
# other detected faces in the video.
|
4591
4460
|
# Corresponds to the JSON property `celebrityTracks`
|
4592
4461
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1CelebrityTrack>]
|
4593
4462
|
attr_accessor :celebrity_tracks
|
@@ -4643,14 +4512,14 @@ module Google
|
|
4643
4512
|
# @return [Float]
|
4644
4513
|
attr_accessor :confidence
|
4645
4514
|
|
4646
|
-
# The name of the attribute, for example, glasses, dark_glasses, mouth_open.
|
4647
|
-
#
|
4515
|
+
# The name of the attribute, for example, glasses, dark_glasses, mouth_open. A
|
4516
|
+
# full list of supported type names will be provided in the document.
|
4648
4517
|
# Corresponds to the JSON property `name`
|
4649
4518
|
# @return [String]
|
4650
4519
|
attr_accessor :name
|
4651
4520
|
|
4652
|
-
# Text value of the detection result. For example, the value for "HairColor"
|
4653
|
-
#
|
4521
|
+
# Text value of the detection result. For example, the value for "HairColor" can
|
4522
|
+
# be "black", "blonde", etc.
|
4654
4523
|
# Corresponds to the JSON property `value`
|
4655
4524
|
# @return [String]
|
4656
4525
|
attr_accessor :value
|
@@ -4682,9 +4551,8 @@ module Google
|
|
4682
4551
|
# @return [String]
|
4683
4552
|
attr_accessor :name
|
4684
4553
|
|
4685
|
-
# A vertex represents a 2D point in the image.
|
4686
|
-
#
|
4687
|
-
# and range from 0 to 1.
|
4554
|
+
# A vertex represents a 2D point in the image. NOTE: the normalized vertex
|
4555
|
+
# coordinates are relative to the original image and range from 0 to 1.
|
4688
4556
|
# Corresponds to the JSON property `point`
|
4689
4557
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1NormalizedVertex]
|
4690
4558
|
attr_accessor :point
|
@@ -4710,8 +4578,7 @@ module Google
|
|
4710
4578
|
# @return [String]
|
4711
4579
|
attr_accessor :description
|
4712
4580
|
|
4713
|
-
# Opaque entity ID. Some IDs may be available in
|
4714
|
-
# [Google Knowledge Graph Search
|
4581
|
+
# Opaque entity ID. Some IDs may be available in [Google Knowledge Graph Search
|
4715
4582
|
# API](https://developers.google.com/knowledge-graph/).
|
4716
4583
|
# Corresponds to the JSON property `entityId`
|
4717
4584
|
# @return [String]
|
@@ -4734,9 +4601,9 @@ module Google
|
|
4734
4601
|
end
|
4735
4602
|
end
|
4736
4603
|
|
4737
|
-
# Explicit content annotation (based on per-frame visual signals only).
|
4738
|
-
#
|
4739
|
-
#
|
4604
|
+
# Explicit content annotation (based on per-frame visual signals only). If no
|
4605
|
+
# explicit content has been detected in a frame, no annotations are present for
|
4606
|
+
# that frame.
|
4740
4607
|
class GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation
|
4741
4608
|
include Google::Apis::Core::Hashable
|
4742
4609
|
|
@@ -4823,10 +4690,9 @@ module Google
|
|
4823
4690
|
class GoogleCloudVideointelligenceV1p3beta1LabelAnnotation
|
4824
4691
|
include Google::Apis::Core::Hashable
|
4825
4692
|
|
4826
|
-
# Common categories for the detected entity.
|
4827
|
-
#
|
4828
|
-
#
|
4829
|
-
# also be a `pet`.
|
4693
|
+
# Common categories for the detected entity. For example, when the label is `
|
4694
|
+
# Terrier`, the category is likely `dog`. And in some cases there might be more
|
4695
|
+
# than one categories e.g., `Terrier` could also be a `pet`.
|
4830
4696
|
# Corresponds to the JSON property `categoryEntities`
|
4831
4697
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1Entity>]
|
4832
4698
|
attr_accessor :category_entities
|
@@ -4925,14 +4791,14 @@ module Google
|
|
4925
4791
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1Entity]
|
4926
4792
|
attr_accessor :entity
|
4927
4793
|
|
4928
|
-
# All video segments where the recognized logo appears. There might be
|
4929
|
-
#
|
4794
|
+
# All video segments where the recognized logo appears. There might be multiple
|
4795
|
+
# instances of the same logo class appearing in one VideoSegment.
|
4930
4796
|
# Corresponds to the JSON property `segments`
|
4931
4797
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment>]
|
4932
4798
|
attr_accessor :segments
|
4933
4799
|
|
4934
|
-
# All logo tracks where the recognized logo appears. Each track corresponds
|
4935
|
-
#
|
4800
|
+
# All logo tracks where the recognized logo appears. Each track corresponds to
|
4801
|
+
# one logo instance appearing in consecutive frames.
|
4936
4802
|
# Corresponds to the JSON property `tracks`
|
4937
4803
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1Track>]
|
4938
4804
|
attr_accessor :tracks
|
@@ -4949,9 +4815,8 @@ module Google
|
|
4949
4815
|
end
|
4950
4816
|
end
|
4951
4817
|
|
4952
|
-
# Normalized bounding box.
|
4953
|
-
#
|
4954
|
-
# Range: [0, 1].
|
4818
|
+
# Normalized bounding box. The normalized vertex coordinates are relative to the
|
4819
|
+
# original image. Range: [0, 1].
|
4955
4820
|
class GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox
|
4956
4821
|
include Google::Apis::Core::Hashable
|
4957
4822
|
|
@@ -4989,20 +4854,12 @@ module Google
|
|
4989
4854
|
end
|
4990
4855
|
|
4991
4856
|
# Normalized bounding polygon for text (that might not be aligned with axis).
|
4992
|
-
# Contains list of the corner points in clockwise order starting from
|
4993
|
-
#
|
4994
|
-
#
|
4995
|
-
#
|
4996
|
-
#
|
4997
|
-
#
|
4998
|
-
# When it's clockwise rotated 180 degrees around the top-left corner it
|
4999
|
-
# becomes:
|
5000
|
-
# 2----3
|
5001
|
-
# | |
|
5002
|
-
# 1----0
|
5003
|
-
# and the vertex order will still be (0, 1, 2, 3). Note that values can be less
|
5004
|
-
# than 0, or greater than 1 due to trignometric calculations for location of
|
5005
|
-
# the box.
|
4857
|
+
# Contains list of the corner points in clockwise order starting from top-left
|
4858
|
+
# corner. For example, for a rectangular bounding box: When the text is
|
4859
|
+
# horizontal it might look like: 0----1 | | 3----2 When it's clockwise rotated
|
4860
|
+
# 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the
|
4861
|
+
# vertex order will still be (0, 1, 2, 3). Note that values can be less than 0,
|
4862
|
+
# or greater than 1 due to trignometric calculations for location of the box.
|
5006
4863
|
class GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingPoly
|
5007
4864
|
include Google::Apis::Core::Hashable
|
5008
4865
|
|
@@ -5021,9 +4878,8 @@ module Google
|
|
5021
4878
|
end
|
5022
4879
|
end
|
5023
4880
|
|
5024
|
-
# A vertex represents a 2D point in the image.
|
5025
|
-
#
|
5026
|
-
# and range from 0 to 1.
|
4881
|
+
# A vertex represents a 2D point in the image. NOTE: the normalized vertex
|
4882
|
+
# coordinates are relative to the original image and range from 0 to 1.
|
5027
4883
|
class GoogleCloudVideointelligenceV1p3beta1NormalizedVertex
|
5028
4884
|
include Google::Apis::Core::Hashable
|
5029
4885
|
|
@@ -5062,10 +4918,10 @@ module Google
|
|
5062
4918
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1Entity]
|
5063
4919
|
attr_accessor :entity
|
5064
4920
|
|
5065
|
-
# Information corresponding to all frames where this object track appears.
|
5066
|
-
#
|
5067
|
-
#
|
5068
|
-
#
|
4921
|
+
# Information corresponding to all frames where this object track appears. Non-
|
4922
|
+
# streaming batch mode: it may be one or multiple ObjectTrackingFrame messages
|
4923
|
+
# in frames. Streaming mode: it can only be one ObjectTrackingFrame message in
|
4924
|
+
# frames.
|
5069
4925
|
# Corresponds to the JSON property `frames`
|
5070
4926
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingFrame>]
|
5071
4927
|
attr_accessor :frames
|
@@ -5075,12 +4931,11 @@ module Google
|
|
5075
4931
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment]
|
5076
4932
|
attr_accessor :segment
|
5077
4933
|
|
5078
|
-
# Streaming mode ONLY.
|
5079
|
-
#
|
5080
|
-
#
|
5081
|
-
#
|
5082
|
-
#
|
5083
|
-
# ObjectTrackAnnotation of the same track_id over time.
|
4934
|
+
# Streaming mode ONLY. In streaming mode, we do not know the end time of a
|
4935
|
+
# tracked object before it is completed. Hence, there is no VideoSegment info
|
4936
|
+
# returned. Instead, we provide a unique identifiable integer track_id so that
|
4937
|
+
# the customers can correlate the results of the ongoing ObjectTrackAnnotation
|
4938
|
+
# of the same track_id over time.
|
5084
4939
|
# Corresponds to the JSON property `trackId`
|
5085
4940
|
# @return [Fixnum]
|
5086
4941
|
attr_accessor :track_id
|
@@ -5110,9 +4965,8 @@ module Google
|
|
5110
4965
|
class GoogleCloudVideointelligenceV1p3beta1ObjectTrackingFrame
|
5111
4966
|
include Google::Apis::Core::Hashable
|
5112
4967
|
|
5113
|
-
# Normalized bounding box.
|
5114
|
-
#
|
5115
|
-
# Range: [0, 1].
|
4968
|
+
# Normalized bounding box. The normalized vertex coordinates are relative to the
|
4969
|
+
# original image. Range: [0, 1].
|
5116
4970
|
# Corresponds to the JSON property `normalizedBoundingBox`
|
5117
4971
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox]
|
5118
4972
|
attr_accessor :normalized_bounding_box
|
@@ -5189,10 +5043,10 @@ module Google
|
|
5189
5043
|
|
5190
5044
|
# Output only. The confidence estimate between 0.0 and 1.0. A higher number
|
5191
5045
|
# indicates an estimated greater likelihood that the recognized words are
|
5192
|
-
# correct. This field is set only for the top alternative.
|
5193
|
-
#
|
5194
|
-
#
|
5195
|
-
#
|
5046
|
+
# correct. This field is set only for the top alternative. This field is not
|
5047
|
+
# guaranteed to be accurate and users should not rely on it to be always
|
5048
|
+
# provided. The default of 0.0 is a sentinel value indicating `confidence` was
|
5049
|
+
# not set.
|
5196
5050
|
# Corresponds to the JSON property `confidence`
|
5197
5051
|
# @return [Float]
|
5198
5052
|
attr_accessor :confidence
|
@@ -5203,8 +5057,8 @@ module Google
|
|
5203
5057
|
attr_accessor :transcript
|
5204
5058
|
|
5205
5059
|
# Output only. A list of word-specific information for each recognized word.
|
5206
|
-
# Note: When `enable_speaker_diarization` is set to true, you will see all
|
5207
|
-
#
|
5060
|
+
# Note: When `enable_speaker_diarization` is set to true, you will see all the
|
5061
|
+
# words from the beginning of the audio.
|
5208
5062
|
# Corresponds to the JSON property `words`
|
5209
5063
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1WordInfo>]
|
5210
5064
|
attr_accessor :words
|
@@ -5225,18 +5079,17 @@ module Google
|
|
5225
5079
|
class GoogleCloudVideointelligenceV1p3beta1SpeechTranscription
|
5226
5080
|
include Google::Apis::Core::Hashable
|
5227
5081
|
|
5228
|
-
# May contain one or more recognition hypotheses (up to the maximum specified
|
5229
|
-
#
|
5230
|
-
#
|
5231
|
-
#
|
5082
|
+
# May contain one or more recognition hypotheses (up to the maximum specified in
|
5083
|
+
# `max_alternatives`). These alternatives are ordered in terms of accuracy, with
|
5084
|
+
# the top (first) alternative being the most probable, as ranked by the
|
5085
|
+
# recognizer.
|
5232
5086
|
# Corresponds to the JSON property `alternatives`
|
5233
5087
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative>]
|
5234
5088
|
attr_accessor :alternatives
|
5235
5089
|
|
5236
5090
|
# Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
|
5237
|
-
# language tag of
|
5238
|
-
#
|
5239
|
-
# most likelihood of being spoken in the audio.
|
5091
|
+
# language tag of the language in this result. This language code was detected
|
5092
|
+
# to have the most likelihood of being spoken in the audio.
|
5240
5093
|
# Corresponds to the JSON property `languageCode`
|
5241
5094
|
# @return [String]
|
5242
5095
|
attr_accessor :language_code
|
@@ -5252,32 +5105,31 @@ module Google
|
|
5252
5105
|
end
|
5253
5106
|
end
|
5254
5107
|
|
5255
|
-
# `StreamingAnnotateVideoResponse` is the only message returned to the client
|
5256
|
-
#
|
5257
|
-
#
|
5108
|
+
# `StreamingAnnotateVideoResponse` is the only message returned to the client by
|
5109
|
+
# `StreamingAnnotateVideo`. A series of zero or more `
|
5110
|
+
# StreamingAnnotateVideoResponse` messages are streamed back to the client.
|
5258
5111
|
class GoogleCloudVideointelligenceV1p3beta1StreamingAnnotateVideoResponse
|
5259
5112
|
include Google::Apis::Core::Hashable
|
5260
5113
|
|
5261
|
-
# Streaming annotation results corresponding to a portion of the video
|
5262
|
-
#
|
5114
|
+
# Streaming annotation results corresponding to a portion of the video that is
|
5115
|
+
# currently being processed.
|
5263
5116
|
# Corresponds to the JSON property `annotationResults`
|
5264
5117
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1StreamingVideoAnnotationResults]
|
5265
5118
|
attr_accessor :annotation_results
|
5266
5119
|
|
5267
|
-
# Google Cloud Storage URI that stores annotation results of one
|
5268
|
-
#
|
5269
|
-
#
|
5270
|
-
# from the request followed by '/cloud_project_number-session_id'.
|
5120
|
+
# Google Cloud Storage URI that stores annotation results of one streaming
|
5121
|
+
# session in JSON format. It is the annotation_result_storage_directory from the
|
5122
|
+
# request followed by '/cloud_project_number-session_id'.
|
5271
5123
|
# Corresponds to the JSON property `annotationResultsUri`
|
5272
5124
|
# @return [String]
|
5273
5125
|
attr_accessor :annotation_results_uri
|
5274
5126
|
|
5275
|
-
# The `Status` type defines a logical error model that is suitable for
|
5276
|
-
#
|
5277
|
-
#
|
5278
|
-
#
|
5279
|
-
#
|
5280
|
-
#
|
5127
|
+
# The `Status` type defines a logical error model that is suitable for different
|
5128
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
5129
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
5130
|
+
# data: error code, error message, and error details. You can find out more
|
5131
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
5132
|
+
# //cloud.google.com/apis/design/errors).
|
5281
5133
|
# Corresponds to the JSON property `error`
|
5282
5134
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleRpcStatus]
|
5283
5135
|
attr_accessor :error
|
@@ -5294,14 +5146,14 @@ module Google
|
|
5294
5146
|
end
|
5295
5147
|
end
|
5296
5148
|
|
5297
|
-
# Streaming annotation results corresponding to a portion of the video
|
5298
|
-
#
|
5149
|
+
# Streaming annotation results corresponding to a portion of the video that is
|
5150
|
+
# currently being processed.
|
5299
5151
|
class GoogleCloudVideointelligenceV1p3beta1StreamingVideoAnnotationResults
|
5300
5152
|
include Google::Apis::Core::Hashable
|
5301
5153
|
|
5302
|
-
# Explicit content annotation (based on per-frame visual signals only).
|
5303
|
-
#
|
5304
|
-
#
|
5154
|
+
# Explicit content annotation (based on per-frame visual signals only). If no
|
5155
|
+
# explicit content has been detected in a frame, no annotations are present for
|
5156
|
+
# that frame.
|
5305
5157
|
# Corresponds to the JSON property `explicitAnnotation`
|
5306
5158
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation]
|
5307
5159
|
attr_accessor :explicit_annotation
|
@@ -5367,27 +5219,19 @@ module Google
|
|
5367
5219
|
end
|
5368
5220
|
end
|
5369
5221
|
|
5370
|
-
# Video frame level annotation results for text annotation (OCR).
|
5371
|
-
#
|
5372
|
-
#
|
5222
|
+
# Video frame level annotation results for text annotation (OCR). Contains
|
5223
|
+
# information regarding timestamp and bounding box locations for the frames
|
5224
|
+
# containing detected OCR text snippets.
|
5373
5225
|
class GoogleCloudVideointelligenceV1p3beta1TextFrame
|
5374
5226
|
include Google::Apis::Core::Hashable
|
5375
5227
|
|
5376
5228
|
# Normalized bounding polygon for text (that might not be aligned with axis).
|
5377
|
-
# Contains list of the corner points in clockwise order starting from
|
5378
|
-
#
|
5379
|
-
#
|
5380
|
-
#
|
5381
|
-
#
|
5382
|
-
#
|
5383
|
-
# When it's clockwise rotated 180 degrees around the top-left corner it
|
5384
|
-
# becomes:
|
5385
|
-
# 2----3
|
5386
|
-
# | |
|
5387
|
-
# 1----0
|
5388
|
-
# and the vertex order will still be (0, 1, 2, 3). Note that values can be less
|
5389
|
-
# than 0, or greater than 1 due to trignometric calculations for location of
|
5390
|
-
# the box.
|
5229
|
+
# Contains list of the corner points in clockwise order starting from top-left
|
5230
|
+
# corner. For example, for a rectangular bounding box: When the text is
|
5231
|
+
# horizontal it might look like: 0----1 | | 3----2 When it's clockwise rotated
|
5232
|
+
# 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the
|
5233
|
+
# vertex order will still be (0, 1, 2, 3). Note that values can be less than 0,
|
5234
|
+
# or greater than 1 due to trignometric calculations for location of the box.
|
5391
5235
|
# Corresponds to the JSON property `rotatedBoundingBox`
|
5392
5236
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingPoly]
|
5393
5237
|
attr_accessor :rotated_bounding_box
|
@@ -5440,9 +5284,8 @@ module Google
|
|
5440
5284
|
end
|
5441
5285
|
end
|
5442
5286
|
|
5443
|
-
# For tracking related features.
|
5444
|
-
#
|
5445
|
-
# normalized_bounding_box.
|
5287
|
+
# For tracking related features. An object at time_offset with attributes, and
|
5288
|
+
# located with normalized_bounding_box.
|
5446
5289
|
class GoogleCloudVideointelligenceV1p3beta1TimestampedObject
|
5447
5290
|
include Google::Apis::Core::Hashable
|
5448
5291
|
|
@@ -5456,15 +5299,14 @@ module Google
|
|
5456
5299
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1DetectedLandmark>]
|
5457
5300
|
attr_accessor :landmarks
|
5458
5301
|
|
5459
|
-
# Normalized bounding box.
|
5460
|
-
#
|
5461
|
-
# Range: [0, 1].
|
5302
|
+
# Normalized bounding box. The normalized vertex coordinates are relative to the
|
5303
|
+
# original image. Range: [0, 1].
|
5462
5304
|
# Corresponds to the JSON property `normalizedBoundingBox`
|
5463
5305
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox]
|
5464
5306
|
attr_accessor :normalized_bounding_box
|
5465
5307
|
|
5466
|
-
# Time-offset, relative to the beginning of the video,
|
5467
|
-
#
|
5308
|
+
# Time-offset, relative to the beginning of the video, corresponding to the
|
5309
|
+
# video frame for this object.
|
5468
5310
|
# Corresponds to the JSON property `timeOffset`
|
5469
5311
|
# @return [String]
|
5470
5312
|
attr_accessor :time_offset
|
@@ -5523,20 +5365,19 @@ module Google
|
|
5523
5365
|
class GoogleCloudVideointelligenceV1p3beta1VideoAnnotationProgress
|
5524
5366
|
include Google::Apis::Core::Hashable
|
5525
5367
|
|
5526
|
-
# Specifies which feature is being tracked if the request contains more than
|
5527
|
-
#
|
5368
|
+
# Specifies which feature is being tracked if the request contains more than one
|
5369
|
+
# feature.
|
5528
5370
|
# Corresponds to the JSON property `feature`
|
5529
5371
|
# @return [String]
|
5530
5372
|
attr_accessor :feature
|
5531
5373
|
|
5532
|
-
# Video file location in
|
5533
|
-
# [Cloud Storage](https://cloud.google.com/storage/).
|
5374
|
+
# Video file location in [Cloud Storage](https://cloud.google.com/storage/).
|
5534
5375
|
# Corresponds to the JSON property `inputUri`
|
5535
5376
|
# @return [String]
|
5536
5377
|
attr_accessor :input_uri
|
5537
5378
|
|
5538
|
-
# Approximate percentage processed thus far. Guaranteed to be
|
5539
|
-
#
|
5379
|
+
# Approximate percentage processed thus far. Guaranteed to be 100 when fully
|
5380
|
+
# processed.
|
5540
5381
|
# Corresponds to the JSON property `progressPercent`
|
5541
5382
|
# @return [Fixnum]
|
5542
5383
|
attr_accessor :progress_percent
|
@@ -5580,19 +5421,19 @@ module Google
|
|
5580
5421
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1CelebrityRecognitionAnnotation]
|
5581
5422
|
attr_accessor :celebrity_recognition_annotations
|
5582
5423
|
|
5583
|
-
# The `Status` type defines a logical error model that is suitable for
|
5584
|
-
#
|
5585
|
-
#
|
5586
|
-
#
|
5587
|
-
#
|
5588
|
-
#
|
5424
|
+
# The `Status` type defines a logical error model that is suitable for different
|
5425
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
5426
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
5427
|
+
# data: error code, error message, and error details. You can find out more
|
5428
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
5429
|
+
# //cloud.google.com/apis/design/errors).
|
5589
5430
|
# Corresponds to the JSON property `error`
|
5590
5431
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleRpcStatus]
|
5591
5432
|
attr_accessor :error
|
5592
5433
|
|
5593
|
-
# Explicit content annotation (based on per-frame visual signals only).
|
5594
|
-
#
|
5595
|
-
#
|
5434
|
+
# Explicit content annotation (based on per-frame visual signals only). If no
|
5435
|
+
# explicit content has been detected in a frame, no annotations are present for
|
5436
|
+
# that frame.
|
5596
5437
|
# Corresponds to the JSON property `explicitAnnotation`
|
5597
5438
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation]
|
5598
5439
|
attr_accessor :explicit_annotation
|
@@ -5602,14 +5443,13 @@ module Google
|
|
5602
5443
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation>]
|
5603
5444
|
attr_accessor :face_detection_annotations
|
5604
5445
|
|
5605
|
-
# Label annotations on frame level.
|
5606
|
-
#
|
5446
|
+
# Label annotations on frame level. There is exactly one element for each unique
|
5447
|
+
# label.
|
5607
5448
|
# Corresponds to the JSON property `frameLabelAnnotations`
|
5608
5449
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]
|
5609
5450
|
attr_accessor :frame_label_annotations
|
5610
5451
|
|
5611
|
-
# Video file location in
|
5612
|
-
# [Cloud Storage](https://cloud.google.com/storage/).
|
5452
|
+
# Video file location in [Cloud Storage](https://cloud.google.com/storage/).
|
5613
5453
|
# Corresponds to the JSON property `inputUri`
|
5614
5454
|
# @return [String]
|
5615
5455
|
attr_accessor :input_uri
|
@@ -5641,11 +5481,11 @@ module Google
|
|
5641
5481
|
attr_accessor :segment_label_annotations
|
5642
5482
|
|
5643
5483
|
# Presence label annotations on video level or user-specified segment level.
|
5644
|
-
# There is exactly one element for each unique label. Compared to the
|
5645
|
-
#
|
5646
|
-
#
|
5647
|
-
#
|
5648
|
-
#
|
5484
|
+
# There is exactly one element for each unique label. Compared to the existing
|
5485
|
+
# topical `segment_label_annotations`, this field presents more fine-grained,
|
5486
|
+
# segment-level labels detected in video content and is made available only when
|
5487
|
+
# the client sets `LabelDetectionConfig.model` to "builtin/latest" in the
|
5488
|
+
# request.
|
5649
5489
|
# Corresponds to the JSON property `segmentPresenceLabelAnnotations`
|
5650
5490
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]
|
5651
5491
|
attr_accessor :segment_presence_label_annotations
|
@@ -5655,17 +5495,17 @@ module Google
|
|
5655
5495
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment>]
|
5656
5496
|
attr_accessor :shot_annotations
|
5657
5497
|
|
5658
|
-
# Topical label annotations on shot level.
|
5659
|
-
#
|
5498
|
+
# Topical label annotations on shot level. There is exactly one element for each
|
5499
|
+
# unique label.
|
5660
5500
|
# Corresponds to the JSON property `shotLabelAnnotations`
|
5661
5501
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]
|
5662
5502
|
attr_accessor :shot_label_annotations
|
5663
5503
|
|
5664
5504
|
# Presence label annotations on shot level. There is exactly one element for
|
5665
|
-
# each unique label. Compared to the existing topical
|
5666
|
-
#
|
5667
|
-
#
|
5668
|
-
#
|
5505
|
+
# each unique label. Compared to the existing topical `shot_label_annotations`,
|
5506
|
+
# this field presents more fine-grained, shot-level labels detected in video
|
5507
|
+
# content and is made available only when the client sets `LabelDetectionConfig.
|
5508
|
+
# model` to "builtin/latest" in the request.
|
5669
5509
|
# Corresponds to the JSON property `shotPresenceLabelAnnotations`
|
5670
5510
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]
|
5671
5511
|
attr_accessor :shot_presence_label_annotations
|
@@ -5675,9 +5515,8 @@ module Google
|
|
5675
5515
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1SpeechTranscription>]
|
5676
5516
|
attr_accessor :speech_transcriptions
|
5677
5517
|
|
5678
|
-
# OCR text detection and tracking.
|
5679
|
-
#
|
5680
|
-
# frame information associated with it.
|
5518
|
+
# OCR text detection and tracking. Annotations for list of detected text
|
5519
|
+
# snippets. Each will have list of frame information associated with it.
|
5681
5520
|
# Corresponds to the JSON property `textAnnotations`
|
5682
5521
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1TextAnnotation>]
|
5683
5522
|
attr_accessor :text_annotations
|
@@ -5712,14 +5551,14 @@ module Google
|
|
5712
5551
|
class GoogleCloudVideointelligenceV1p3beta1VideoSegment
|
5713
5552
|
include Google::Apis::Core::Hashable
|
5714
5553
|
|
5715
|
-
# Time-offset, relative to the beginning of the video,
|
5716
|
-
#
|
5554
|
+
# Time-offset, relative to the beginning of the video, corresponding to the end
|
5555
|
+
# of the segment (inclusive).
|
5717
5556
|
# Corresponds to the JSON property `endTimeOffset`
|
5718
5557
|
# @return [String]
|
5719
5558
|
attr_accessor :end_time_offset
|
5720
5559
|
|
5721
|
-
# Time-offset, relative to the beginning of the video,
|
5722
|
-
#
|
5560
|
+
# Time-offset, relative to the beginning of the video, corresponding to the
|
5561
|
+
# start of the segment (inclusive).
|
5723
5562
|
# Corresponds to the JSON property `startTimeOffset`
|
5724
5563
|
# @return [String]
|
5725
5564
|
attr_accessor :start_time_offset
|
@@ -5736,41 +5575,41 @@ module Google
|
|
5736
5575
|
end
|
5737
5576
|
|
5738
5577
|
# Word-specific information for recognized words. Word information is only
|
5739
|
-
# included in the response when certain request parameters are set, such
|
5740
|
-
#
|
5578
|
+
# included in the response when certain request parameters are set, such as `
|
5579
|
+
# enable_word_time_offsets`.
|
5741
5580
|
class GoogleCloudVideointelligenceV1p3beta1WordInfo
|
5742
5581
|
include Google::Apis::Core::Hashable
|
5743
5582
|
|
5744
5583
|
# Output only. The confidence estimate between 0.0 and 1.0. A higher number
|
5745
5584
|
# indicates an estimated greater likelihood that the recognized words are
|
5746
|
-
# correct. This field is set only for the top alternative.
|
5747
|
-
#
|
5748
|
-
#
|
5749
|
-
#
|
5585
|
+
# correct. This field is set only for the top alternative. This field is not
|
5586
|
+
# guaranteed to be accurate and users should not rely on it to be always
|
5587
|
+
# provided. The default of 0.0 is a sentinel value indicating `confidence` was
|
5588
|
+
# not set.
|
5750
5589
|
# Corresponds to the JSON property `confidence`
|
5751
5590
|
# @return [Float]
|
5752
5591
|
attr_accessor :confidence
|
5753
5592
|
|
5754
|
-
# Time offset relative to the beginning of the audio, and
|
5755
|
-
#
|
5756
|
-
#
|
5757
|
-
#
|
5593
|
+
# Time offset relative to the beginning of the audio, and corresponding to the
|
5594
|
+
# end of the spoken word. This field is only set if `enable_word_time_offsets=
|
5595
|
+
# true` and only in the top hypothesis. This is an experimental feature and the
|
5596
|
+
# accuracy of the time offset can vary.
|
5758
5597
|
# Corresponds to the JSON property `endTime`
|
5759
5598
|
# @return [String]
|
5760
5599
|
attr_accessor :end_time
|
5761
5600
|
|
5762
|
-
# Output only. A distinct integer value is assigned for every speaker within
|
5763
|
-
#
|
5764
|
-
#
|
5765
|
-
#
|
5601
|
+
# Output only. A distinct integer value is assigned for every speaker within the
|
5602
|
+
# audio. This field specifies which one of those speakers was detected to have
|
5603
|
+
# spoken this word. Value ranges from 1 up to diarization_speaker_count, and is
|
5604
|
+
# only set if speaker diarization is enabled.
|
5766
5605
|
# Corresponds to the JSON property `speakerTag`
|
5767
5606
|
# @return [Fixnum]
|
5768
5607
|
attr_accessor :speaker_tag
|
5769
5608
|
|
5770
|
-
# Time offset relative to the beginning of the audio, and
|
5771
|
-
#
|
5772
|
-
#
|
5773
|
-
#
|
5609
|
+
# Time offset relative to the beginning of the audio, and corresponding to the
|
5610
|
+
# start of the spoken word. This field is only set if `enable_word_time_offsets=
|
5611
|
+
# true` and only in the top hypothesis. This is an experimental feature and the
|
5612
|
+
# accuracy of the time offset can vary.
|
5774
5613
|
# Corresponds to the JSON property `startTime`
|
5775
5614
|
# @return [String]
|
5776
5615
|
attr_accessor :start_time
|
@@ -5799,47 +5638,45 @@ module Google
|
|
5799
5638
|
class GoogleLongrunningOperation
|
5800
5639
|
include Google::Apis::Core::Hashable
|
5801
5640
|
|
5802
|
-
# If the value is `false`, it means the operation is still in progress.
|
5803
|
-
#
|
5804
|
-
# available.
|
5641
|
+
# If the value is `false`, it means the operation is still in progress. If `true`
|
5642
|
+
# , the operation is completed, and either `error` or `response` is available.
|
5805
5643
|
# Corresponds to the JSON property `done`
|
5806
5644
|
# @return [Boolean]
|
5807
5645
|
attr_accessor :done
|
5808
5646
|
alias_method :done?, :done
|
5809
5647
|
|
5810
|
-
# The `Status` type defines a logical error model that is suitable for
|
5811
|
-
#
|
5812
|
-
#
|
5813
|
-
#
|
5814
|
-
#
|
5815
|
-
#
|
5648
|
+
# The `Status` type defines a logical error model that is suitable for different
|
5649
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
5650
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
5651
|
+
# data: error code, error message, and error details. You can find out more
|
5652
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
5653
|
+
# //cloud.google.com/apis/design/errors).
|
5816
5654
|
# Corresponds to the JSON property `error`
|
5817
5655
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleRpcStatus]
|
5818
5656
|
attr_accessor :error
|
5819
5657
|
|
5820
|
-
# Service-specific metadata associated with the operation.
|
5821
|
-
#
|
5822
|
-
#
|
5823
|
-
#
|
5658
|
+
# Service-specific metadata associated with the operation. It typically contains
|
5659
|
+
# progress information and common metadata such as create time. Some services
|
5660
|
+
# might not provide such metadata. Any method that returns a long-running
|
5661
|
+
# operation should document the metadata type, if any.
|
5824
5662
|
# Corresponds to the JSON property `metadata`
|
5825
5663
|
# @return [Hash<String,Object>]
|
5826
5664
|
attr_accessor :metadata
|
5827
5665
|
|
5828
5666
|
# The server-assigned name, which is only unique within the same service that
|
5829
|
-
# originally returns it. If you use the default HTTP mapping, the
|
5830
|
-
#
|
5667
|
+
# originally returns it. If you use the default HTTP mapping, the `name` should
|
5668
|
+
# be a resource name ending with `operations/`unique_id``.
|
5831
5669
|
# Corresponds to the JSON property `name`
|
5832
5670
|
# @return [String]
|
5833
5671
|
attr_accessor :name
|
5834
5672
|
|
5835
|
-
# The normal response of the operation in case of success.
|
5836
|
-
# method returns no data on success, such as `Delete`, the response is
|
5837
|
-
#
|
5838
|
-
#
|
5839
|
-
#
|
5840
|
-
#
|
5841
|
-
#
|
5842
|
-
# `TakeSnapshotResponse`.
|
5673
|
+
# The normal response of the operation in case of success. If the original
|
5674
|
+
# method returns no data on success, such as `Delete`, the response is `google.
|
5675
|
+
# protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
|
5676
|
+
# the response should be the resource. For other methods, the response should
|
5677
|
+
# have the type `XxxResponse`, where `Xxx` is the original method name. For
|
5678
|
+
# example, if the original method name is `TakeSnapshot()`, the inferred
|
5679
|
+
# response type is `TakeSnapshotResponse`.
|
5843
5680
|
# Corresponds to the JSON property `response`
|
5844
5681
|
# @return [Hash<String,Object>]
|
5845
5682
|
attr_accessor :response
|
@@ -5858,12 +5695,12 @@ module Google
|
|
5858
5695
|
end
|
5859
5696
|
end
|
5860
5697
|
|
5861
|
-
# The `Status` type defines a logical error model that is suitable for
|
5862
|
-
#
|
5863
|
-
#
|
5864
|
-
#
|
5865
|
-
#
|
5866
|
-
#
|
5698
|
+
# The `Status` type defines a logical error model that is suitable for different
|
5699
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
5700
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
5701
|
+
# data: error code, error message, and error details. You can find out more
|
5702
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
5703
|
+
# //cloud.google.com/apis/design/errors).
|
5867
5704
|
class GoogleRpcStatus
|
5868
5705
|
include Google::Apis::Core::Hashable
|
5869
5706
|
|
@@ -5872,15 +5709,15 @@ module Google
|
|
5872
5709
|
# @return [Fixnum]
|
5873
5710
|
attr_accessor :code
|
5874
5711
|
|
5875
|
-
# A list of messages that carry the error details.
|
5712
|
+
# A list of messages that carry the error details. There is a common set of
|
5876
5713
|
# message types for APIs to use.
|
5877
5714
|
# Corresponds to the JSON property `details`
|
5878
5715
|
# @return [Array<Hash<String,Object>>]
|
5879
5716
|
attr_accessor :details
|
5880
5717
|
|
5881
|
-
# A developer-facing error message, which should be in English. Any
|
5882
|
-
#
|
5883
|
-
#
|
5718
|
+
# A developer-facing error message, which should be in English. Any user-facing
|
5719
|
+
# error message should be localized and sent in the google.rpc.Status.details
|
5720
|
+
# field, or localized by the client.
|
5884
5721
|
# Corresponds to the JSON property `message`
|
5885
5722
|
# @return [String]
|
5886
5723
|
attr_accessor :message
|