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,73 +49,69 @@ module Google
|
|
49
49
|
|
50
50
|
# Gets a feature tile by its tile resource name.
|
51
51
|
# @param [String] name
|
52
|
-
# Required. Resource name of the tile. The tile resource name is prefixed by
|
53
|
-
#
|
54
|
-
#
|
55
|
-
#
|
52
|
+
# Required. Resource name of the tile. The tile resource name is prefixed by its
|
53
|
+
# collection ID `tiles/` followed by the resource ID, which encodes the tile's
|
54
|
+
# global x and y coordinates and zoom level as `@,,z`. For example, `tiles/@1,2,
|
55
|
+
# 3z`.
|
56
56
|
# @param [String] client_info_api_client
|
57
|
-
# API client name and version. For example, the SDK calling the API. The
|
58
|
-
#
|
57
|
+
# API client name and version. For example, the SDK calling the API. The exact
|
58
|
+
# format is up to the client.
|
59
59
|
# @param [String] client_info_application_id
|
60
|
-
# Application ID, such as the package name on Android and the bundle
|
61
|
-
#
|
60
|
+
# Application ID, such as the package name on Android and the bundle identifier
|
61
|
+
# on iOS platforms.
|
62
62
|
# @param [String] client_info_application_version
|
63
|
-
# Application version number, such as "1.2.3". The exact format is
|
64
|
-
#
|
63
|
+
# Application version number, such as "1.2.3". The exact format is application-
|
64
|
+
# dependent.
|
65
65
|
# @param [String] client_info_device_model
|
66
|
-
# Device model as reported by the device. The exact format is
|
67
|
-
# platform-dependent.
|
66
|
+
# Device model as reported by the device. The exact format is platform-dependent.
|
68
67
|
# @param [String] client_info_operating_system
|
69
|
-
# Operating system name and version as reported by the OS. For example,
|
70
|
-
#
|
68
|
+
# Operating system name and version as reported by the OS. For example, "Mac OS
|
69
|
+
# X 10.10.4". The exact format is platform-dependent.
|
71
70
|
# @param [String] client_info_platform
|
72
71
|
# Platform where the application is running.
|
73
72
|
# @param [String] client_info_user_id
|
74
|
-
# A client-generated user ID. The ID should be generated and persisted
|
75
|
-
# the first user session or whenever a pre-existing ID is not found. The
|
73
|
+
# Required. A client-generated user ID. The ID should be generated and persisted
|
74
|
+
# during the first user session or whenever a pre-existing ID is not found. The
|
76
75
|
# exact format is up to the client. This must be non-empty in a
|
77
|
-
# GetFeatureTileRequest (whether via the header or
|
78
|
-
#
|
76
|
+
# GetFeatureTileRequest (whether via the header or GetFeatureTileRequest.
|
77
|
+
# client_info).
|
79
78
|
# @param [String] client_tile_version_id
|
80
|
-
# Optional version id identifying the tile that is already in the client's
|
81
|
-
#
|
82
|
-
#
|
83
|
-
#
|
84
|
-
#
|
85
|
-
#
|
86
|
-
#
|
79
|
+
# Optional version id identifying the tile that is already in the client's cache.
|
80
|
+
# This field should be populated with the most recent version_id value returned
|
81
|
+
# by the API for the requested tile. If the version id is empty the server
|
82
|
+
# always returns a newly rendered tile. If it is provided the server checks if
|
83
|
+
# the tile contents would be identical to one that's already on the client, and
|
84
|
+
# if so, returns a stripped-down response tile with STATUS_OK_DATA_UNCHANGED
|
85
|
+
# instead.
|
87
86
|
# @param [Boolean] enable_detailed_highway_types
|
88
|
-
# Flag indicating whether detailed highway types should be returned. If this
|
89
|
-
#
|
90
|
-
#
|
91
|
-
#
|
87
|
+
# Flag indicating whether detailed highway types should be returned. If this is
|
88
|
+
# set, the CONTROLLED_ACCESS_HIGHWAY type may be returned. If not, then these
|
89
|
+
# highways will have the generic HIGHWAY type. This exists for backwards
|
90
|
+
# compatibility reasons.
|
92
91
|
# @param [Boolean] enable_feature_names
|
93
|
-
# Flag indicating whether human-readable names should be returned for
|
94
|
-
#
|
95
|
-
# filled out.
|
92
|
+
# Flag indicating whether human-readable names should be returned for features.
|
93
|
+
# If this is set, the display_name field on the feature will be filled out.
|
96
94
|
# @param [Boolean] enable_modeled_volumes
|
97
|
-
# Flag indicating whether 3D building models should be enabled. If this is
|
98
|
-
#
|
99
|
-
#
|
95
|
+
# Flag indicating whether 3D building models should be enabled. If this is set
|
96
|
+
# structures will be returned as 3D modeled volumes rather than 2.5D extruded
|
97
|
+
# areas where possible.
|
100
98
|
# @param [Boolean] enable_political_features
|
101
99
|
# Flag indicating whether political features should be returned.
|
102
100
|
# @param [Boolean] enable_private_roads
|
103
|
-
# Flag indicating whether the returned tile will contain road features that
|
104
|
-
#
|
105
|
-
#
|
101
|
+
# Flag indicating whether the returned tile will contain road features that are
|
102
|
+
# marked private. Private roads are indicated by the Feature.segment_info.
|
103
|
+
# road_info.is_private field.
|
106
104
|
# @param [Boolean] enable_unclipped_buildings
|
107
|
-
# Flag indicating whether unclipped buildings should be returned. If this is
|
108
|
-
#
|
109
|
-
#
|
105
|
+
# Flag indicating whether unclipped buildings should be returned. If this is set,
|
106
|
+
# building render ops will extend beyond the tile boundary. Buildings will only
|
107
|
+
# be returned on the tile that contains their centroid.
|
110
108
|
# @param [String] language_code
|
111
|
-
# Required. The BCP-47 language code corresponding to the language in which
|
112
|
-
#
|
113
|
-
# For more information, see
|
109
|
+
# Required. The BCP-47 language code corresponding to the language in which the
|
110
|
+
# name was requested, such as "en-US" or "sr-Latn". For more information, see
|
114
111
|
# http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
|
115
112
|
# @param [String] region_code
|
116
113
|
# Required. The Unicode country/region code (CLDR) of the location from which
|
117
|
-
# the request is coming from, such as "US" and "419".
|
118
|
-
# For more information, see
|
114
|
+
# the request is coming from, such as "US" and "419". For more information, see
|
119
115
|
# http://www.unicode.org/reports/tr35/#unicode_region_subtag.
|
120
116
|
# @param [String] fields
|
121
117
|
# Selector specifying which fields to include in a partial response.
|
@@ -162,60 +158,51 @@ module Google
|
|
162
158
|
|
163
159
|
# Gets a terrain tile by its tile resource name.
|
164
160
|
# @param [String] name
|
165
|
-
# Required. Resource name of the tile. The tile resource name is prefixed by
|
166
|
-
#
|
167
|
-
#
|
168
|
-
#
|
161
|
+
# Required. Resource name of the tile. The tile resource name is prefixed by its
|
162
|
+
# collection ID `terraintiles/` followed by the resource ID, which encodes the
|
163
|
+
# tile's global x and y coordinates and zoom level as `@,,z`. For example, `
|
164
|
+
# terraintiles/@1,2,3z`.
|
169
165
|
# @param [Fixnum] altitude_precision_centimeters
|
170
|
-
# The precision of terrain altitudes in centimeters.
|
171
|
-
#
|
172
|
-
# level precision).
|
166
|
+
# The precision of terrain altitudes in centimeters. Possible values: between 1 (
|
167
|
+
# cm level precision) and 1,000,000 (10-kilometer level precision).
|
173
168
|
# @param [String] client_info_api_client
|
174
|
-
# API client name and version. For example, the SDK calling the API. The
|
175
|
-
#
|
169
|
+
# API client name and version. For example, the SDK calling the API. The exact
|
170
|
+
# format is up to the client.
|
176
171
|
# @param [String] client_info_application_id
|
177
|
-
# Application ID, such as the package name on Android and the bundle
|
178
|
-
#
|
172
|
+
# Application ID, such as the package name on Android and the bundle identifier
|
173
|
+
# on iOS platforms.
|
179
174
|
# @param [String] client_info_application_version
|
180
|
-
# Application version number, such as "1.2.3". The exact format is
|
181
|
-
#
|
175
|
+
# Application version number, such as "1.2.3". The exact format is application-
|
176
|
+
# dependent.
|
182
177
|
# @param [String] client_info_device_model
|
183
|
-
# Device model as reported by the device. The exact format is
|
184
|
-
# platform-dependent.
|
178
|
+
# Device model as reported by the device. The exact format is platform-dependent.
|
185
179
|
# @param [String] client_info_operating_system
|
186
|
-
# Operating system name and version as reported by the OS. For example,
|
187
|
-
#
|
180
|
+
# Operating system name and version as reported by the OS. For example, "Mac OS
|
181
|
+
# X 10.10.4". The exact format is platform-dependent.
|
188
182
|
# @param [String] client_info_platform
|
189
183
|
# Platform where the application is running.
|
190
184
|
# @param [String] client_info_user_id
|
191
|
-
# A client-generated user ID. The ID should be generated and persisted
|
192
|
-
# the first user session or whenever a pre-existing ID is not found. The
|
185
|
+
# Required. A client-generated user ID. The ID should be generated and persisted
|
186
|
+
# during the first user session or whenever a pre-existing ID is not found. The
|
193
187
|
# exact format is up to the client. This must be non-empty in a
|
194
|
-
# GetFeatureTileRequest (whether via the header or
|
195
|
-
#
|
188
|
+
# GetFeatureTileRequest (whether via the header or GetFeatureTileRequest.
|
189
|
+
# client_info).
|
196
190
|
# @param [Fixnum] max_elevation_resolution_cells
|
197
|
-
# The maximum allowed resolution for the returned elevation heightmap.
|
198
|
-
#
|
199
|
-
#
|
200
|
-
#
|
201
|
-
#
|
202
|
-
#
|
203
|
-
#
|
204
|
-
# Original resolution: 100px (width) * 30px (height)
|
205
|
-
# max_elevation_resolution: 30
|
206
|
-
# New resolution: 30px (width) * 30px (height)
|
191
|
+
# The maximum allowed resolution for the returned elevation heightmap. Possible
|
192
|
+
# values: between 1 and 1024 (and not less than min_elevation_resolution_cells).
|
193
|
+
# Over-sized heightmaps will be non-uniformly down-sampled such that each edge
|
194
|
+
# is no longer than this value. Non-uniformity is chosen to maximise the amount
|
195
|
+
# of preserved data. For example: Original resolution: 100px (width) * 30px (
|
196
|
+
# height) max_elevation_resolution: 30 New resolution: 30px (width) * 30px (
|
197
|
+
# height)
|
207
198
|
# @param [Fixnum] min_elevation_resolution_cells
|
208
|
-
# The minimum allowed resolution for the returned elevation heightmap.
|
209
|
-
#
|
210
|
-
#
|
211
|
-
#
|
212
|
-
#
|
213
|
-
#
|
214
|
-
#
|
215
|
-
# For example:
|
216
|
-
# Original resolution: 30px (width) * 10px (height)
|
217
|
-
# min_elevation_resolution: 30
|
218
|
-
# New resolution: 30px (width) * 30px (height)
|
199
|
+
# The minimum allowed resolution for the returned elevation heightmap. Possible
|
200
|
+
# values: between 0 and 1024 (and not more than max_elevation_resolution_cells).
|
201
|
+
# Zero is supported for backward compatibility. Under-sized heightmaps will be
|
202
|
+
# non-uniformly up-sampled such that each edge is no shorter than this value.
|
203
|
+
# Non-uniformity is chosen to maximise the amount of preserved data. For example:
|
204
|
+
# Original resolution: 30px (width) * 10px (height) min_elevation_resolution:
|
205
|
+
# 30 New resolution: 30px (width) * 30px (height)
|
219
206
|
# @param [Array<String>, String] terrain_formats
|
220
207
|
# Terrain formats that the client understands.
|
221
208
|
# @param [String] fields
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://cloud.google.com/video-intelligence/docs/
|
28
28
|
module VideointelligenceV1
|
29
29
|
VERSION = 'V1'
|
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 VideointelligenceV1
|
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
|
|
@@ -52,24 +52,22 @@ module Google
|
|
52
52
|
# @return [Array<String>]
|
53
53
|
attr_accessor :features
|
54
54
|
|
55
|
-
# The video data bytes.
|
56
|
-
# If
|
57
|
-
# If set, `input_uri` must be unset.
|
55
|
+
# The video data bytes. If unset, the input video(s) should be specified via the
|
56
|
+
# `input_uri`. If set, `input_uri` must be unset.
|
58
57
|
# Corresponds to the JSON property `inputContent`
|
59
58
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
60
59
|
# @return [String]
|
61
60
|
attr_accessor :input_content
|
62
61
|
|
63
|
-
# Input video location. Currently, only
|
64
|
-
#
|
65
|
-
#
|
66
|
-
#
|
67
|
-
# google.
|
68
|
-
#
|
69
|
-
#
|
70
|
-
#
|
71
|
-
#
|
72
|
-
# in the request as `input_content`. If set, `input_content` must be unset.
|
62
|
+
# Input video location. Currently, only [Cloud Storage](https://cloud.google.com/
|
63
|
+
# storage/) URIs are supported. URIs must be specified in the following format: `
|
64
|
+
# gs://bucket-id/object-id` (other URI formats return google.rpc.Code.
|
65
|
+
# INVALID_ARGUMENT). For more information, see [Request URIs](https://cloud.
|
66
|
+
# google.com/storage/docs/request-endpoints). To identify multiple videos, a
|
67
|
+
# video URI may include wildcards in the `object-id`. Supported wildcards: '*'
|
68
|
+
# to match 0 or more characters; '?' to match 1 character. If unset, the input
|
69
|
+
# video should be embedded in the request as `input_content`. If set, `
|
70
|
+
# input_content` must be unset.
|
73
71
|
# Corresponds to the JSON property `inputUri`
|
74
72
|
# @return [String]
|
75
73
|
attr_accessor :input_uri
|
@@ -83,11 +81,11 @@ module Google
|
|
83
81
|
attr_accessor :location_id
|
84
82
|
|
85
83
|
# Optional. Location where the output (in JSON format) should be stored.
|
86
|
-
# Currently, only [Cloud Storage](https://cloud.google.com/storage/)
|
87
|
-
#
|
88
|
-
#
|
89
|
-
#
|
90
|
-
#
|
84
|
+
# Currently, only [Cloud Storage](https://cloud.google.com/storage/) URIs are
|
85
|
+
# supported. These must be specified in the following format: `gs://bucket-id/
|
86
|
+
# object-id` (other URI formats return google.rpc.Code.INVALID_ARGUMENT). For
|
87
|
+
# more information, see [Request URIs](https://cloud.google.com/storage/docs/
|
88
|
+
# request-endpoints).
|
91
89
|
# Corresponds to the JSON property `outputUri`
|
92
90
|
# @return [String]
|
93
91
|
attr_accessor :output_uri
|
@@ -112,9 +110,9 @@ module Google
|
|
112
110
|
end
|
113
111
|
end
|
114
112
|
|
115
|
-
# Video annotation response. Included in the `response`
|
116
|
-
#
|
117
|
-
#
|
113
|
+
# Video annotation response. Included in the `response` field of the `Operation`
|
114
|
+
# returned by the `GetOperation` call of the `google::longrunning::Operations`
|
115
|
+
# service.
|
118
116
|
class GoogleCloudVideointelligenceV1AnnotateVideoResponse
|
119
117
|
include Google::Apis::Core::Hashable
|
120
118
|
|
@@ -142,14 +140,14 @@ module Google
|
|
142
140
|
# @return [Float]
|
143
141
|
attr_accessor :confidence
|
144
142
|
|
145
|
-
# The name of the attribute, for example, glasses, dark_glasses, mouth_open.
|
146
|
-
#
|
143
|
+
# The name of the attribute, for example, glasses, dark_glasses, mouth_open. A
|
144
|
+
# full list of supported type names will be provided in the document.
|
147
145
|
# Corresponds to the JSON property `name`
|
148
146
|
# @return [String]
|
149
147
|
attr_accessor :name
|
150
148
|
|
151
|
-
# Text value of the detection result. For example, the value for "HairColor"
|
152
|
-
#
|
149
|
+
# Text value of the detection result. For example, the value for "HairColor" can
|
150
|
+
# be "black", "blonde", etc.
|
153
151
|
# Corresponds to the JSON property `value`
|
154
152
|
# @return [String]
|
155
153
|
attr_accessor :value
|
@@ -181,9 +179,8 @@ module Google
|
|
181
179
|
# @return [String]
|
182
180
|
attr_accessor :name
|
183
181
|
|
184
|
-
# A vertex represents a 2D point in the image.
|
185
|
-
#
|
186
|
-
# and range from 0 to 1.
|
182
|
+
# A vertex represents a 2D point in the image. NOTE: the normalized vertex
|
183
|
+
# coordinates are relative to the original image and range from 0 to 1.
|
187
184
|
# Corresponds to the JSON property `point`
|
188
185
|
# @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1NormalizedVertex]
|
189
186
|
attr_accessor :point
|
@@ -209,8 +206,7 @@ module Google
|
|
209
206
|
# @return [String]
|
210
207
|
attr_accessor :description
|
211
208
|
|
212
|
-
# Opaque entity ID. Some IDs may be available in
|
213
|
-
# [Google Knowledge Graph Search
|
209
|
+
# Opaque entity ID. Some IDs may be available in [Google Knowledge Graph Search
|
214
210
|
# API](https://developers.google.com/knowledge-graph/).
|
215
211
|
# Corresponds to the JSON property `entityId`
|
216
212
|
# @return [String]
|
@@ -233,9 +229,9 @@ module Google
|
|
233
229
|
end
|
234
230
|
end
|
235
231
|
|
236
|
-
# Explicit content annotation (based on per-frame visual signals only).
|
237
|
-
#
|
238
|
-
#
|
232
|
+
# Explicit content annotation (based on per-frame visual signals only). If no
|
233
|
+
# explicit content has been detected in a frame, no annotations are present for
|
234
|
+
# that frame.
|
239
235
|
class GoogleCloudVideointelligenceV1ExplicitContentAnnotation
|
240
236
|
include Google::Apis::Core::Hashable
|
241
237
|
|
@@ -264,9 +260,8 @@ module Google
|
|
264
260
|
class GoogleCloudVideointelligenceV1ExplicitContentDetectionConfig
|
265
261
|
include Google::Apis::Core::Hashable
|
266
262
|
|
267
|
-
# Model to use for explicit content detection.
|
268
|
-
#
|
269
|
-
# "builtin/latest".
|
263
|
+
# Model to use for explicit content detection. Supported values: "builtin/stable"
|
264
|
+
# (the default if unset) and "builtin/latest".
|
270
265
|
# Corresponds to the JSON property `model`
|
271
266
|
# @return [String]
|
272
267
|
attr_accessor :model
|
@@ -311,10 +306,9 @@ module Google
|
|
311
306
|
class GoogleCloudVideointelligenceV1LabelAnnotation
|
312
307
|
include Google::Apis::Core::Hashable
|
313
308
|
|
314
|
-
# Common categories for the detected entity.
|
315
|
-
#
|
316
|
-
#
|
317
|
-
# also be a `pet`.
|
309
|
+
# Common categories for the detected entity. For example, when the label is `
|
310
|
+
# Terrier`, the category is likely `dog`. And in some cases there might be more
|
311
|
+
# than one categories e.g., `Terrier` could also be a `pet`.
|
318
312
|
# Corresponds to the JSON property `categoryEntities`
|
319
313
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1Entity>]
|
320
314
|
attr_accessor :category_entities
|
@@ -357,44 +351,40 @@ module Google
|
|
357
351
|
class GoogleCloudVideointelligenceV1LabelDetectionConfig
|
358
352
|
include Google::Apis::Core::Hashable
|
359
353
|
|
360
|
-
# The confidence threshold we perform filtering on the labels from
|
361
|
-
#
|
362
|
-
#
|
363
|
-
#
|
364
|
-
#
|
365
|
-
# the default threshold everytime when we release a new model.
|
354
|
+
# The confidence threshold we perform filtering on the labels from frame-level
|
355
|
+
# detection. If not set, it is set to 0.4 by default. The valid range for this
|
356
|
+
# threshold is [0.1, 0.9]. Any value set outside of this range will be clipped.
|
357
|
+
# Note: For best results, follow the default threshold. We will update the
|
358
|
+
# default threshold everytime when we release a new model.
|
366
359
|
# Corresponds to the JSON property `frameConfidenceThreshold`
|
367
360
|
# @return [Float]
|
368
361
|
attr_accessor :frame_confidence_threshold
|
369
362
|
|
370
|
-
# What labels should be detected with LABEL_DETECTION, in addition to
|
371
|
-
#
|
372
|
-
# If unspecified, defaults to `SHOT_MODE`.
|
363
|
+
# What labels should be detected with LABEL_DETECTION, in addition to video-
|
364
|
+
# level labels or segment-level labels. If unspecified, defaults to `SHOT_MODE`.
|
373
365
|
# Corresponds to the JSON property `labelDetectionMode`
|
374
366
|
# @return [String]
|
375
367
|
attr_accessor :label_detection_mode
|
376
368
|
|
377
|
-
# Model to use for label detection.
|
378
|
-
#
|
379
|
-
# "builtin/latest".
|
369
|
+
# Model to use for label detection. Supported values: "builtin/stable" (the
|
370
|
+
# default if unset) and "builtin/latest".
|
380
371
|
# Corresponds to the JSON property `model`
|
381
372
|
# @return [String]
|
382
373
|
attr_accessor :model
|
383
374
|
|
384
|
-
# Whether the video has been shot from a stationary (i.e., non-moving)
|
385
|
-
#
|
386
|
-
#
|
375
|
+
# Whether the video has been shot from a stationary (i.e., non-moving) camera.
|
376
|
+
# When set to true, might improve detection accuracy for moving objects. Should
|
377
|
+
# be used with `SHOT_AND_FRAME_MODE` enabled.
|
387
378
|
# Corresponds to the JSON property `stationaryCamera`
|
388
379
|
# @return [Boolean]
|
389
380
|
attr_accessor :stationary_camera
|
390
381
|
alias_method :stationary_camera?, :stationary_camera
|
391
382
|
|
392
|
-
# The confidence threshold we perform filtering on the labels from
|
393
|
-
#
|
394
|
-
#
|
395
|
-
#
|
396
|
-
#
|
397
|
-
# the default threshold everytime when we release a new model.
|
383
|
+
# The confidence threshold we perform filtering on the labels from video-level
|
384
|
+
# and shot-level detections. If not set, it's set to 0.3 by default. The valid
|
385
|
+
# range for this threshold is [0.1, 0.9]. Any value set outside of this range
|
386
|
+
# will be clipped. Note: For best results, follow the default threshold. We will
|
387
|
+
# update the default threshold everytime when we release a new model.
|
398
388
|
# Corresponds to the JSON property `videoConfidenceThreshold`
|
399
389
|
# @return [Float]
|
400
390
|
attr_accessor :video_confidence_threshold
|
@@ -473,14 +463,14 @@ module Google
|
|
473
463
|
# @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1Entity]
|
474
464
|
attr_accessor :entity
|
475
465
|
|
476
|
-
# All video segments where the recognized logo appears. There might be
|
477
|
-
#
|
466
|
+
# All video segments where the recognized logo appears. There might be multiple
|
467
|
+
# instances of the same logo class appearing in one VideoSegment.
|
478
468
|
# Corresponds to the JSON property `segments`
|
479
469
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1VideoSegment>]
|
480
470
|
attr_accessor :segments
|
481
471
|
|
482
|
-
# All logo tracks where the recognized logo appears. Each track corresponds
|
483
|
-
#
|
472
|
+
# All logo tracks where the recognized logo appears. Each track corresponds to
|
473
|
+
# one logo instance appearing in consecutive frames.
|
484
474
|
# Corresponds to the JSON property `tracks`
|
485
475
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1Track>]
|
486
476
|
attr_accessor :tracks
|
@@ -497,9 +487,8 @@ module Google
|
|
497
487
|
end
|
498
488
|
end
|
499
489
|
|
500
|
-
# Normalized bounding box.
|
501
|
-
#
|
502
|
-
# Range: [0, 1].
|
490
|
+
# Normalized bounding box. The normalized vertex coordinates are relative to the
|
491
|
+
# original image. Range: [0, 1].
|
503
492
|
class GoogleCloudVideointelligenceV1NormalizedBoundingBox
|
504
493
|
include Google::Apis::Core::Hashable
|
505
494
|
|
@@ -537,20 +526,12 @@ module Google
|
|
537
526
|
end
|
538
527
|
|
539
528
|
# Normalized bounding polygon for text (that might not be aligned with axis).
|
540
|
-
# Contains list of the corner points in clockwise order starting from
|
541
|
-
#
|
542
|
-
#
|
543
|
-
#
|
544
|
-
#
|
545
|
-
#
|
546
|
-
# When it's clockwise rotated 180 degrees around the top-left corner it
|
547
|
-
# becomes:
|
548
|
-
# 2----3
|
549
|
-
# | |
|
550
|
-
# 1----0
|
551
|
-
# and the vertex order will still be (0, 1, 2, 3). Note that values can be less
|
552
|
-
# than 0, or greater than 1 due to trignometric calculations for location of
|
553
|
-
# the box.
|
529
|
+
# Contains list of the corner points in clockwise order starting from top-left
|
530
|
+
# corner. For example, for a rectangular bounding box: When the text is
|
531
|
+
# horizontal it might look like: 0----1 | | 3----2 When it's clockwise rotated
|
532
|
+
# 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the
|
533
|
+
# vertex order will still be (0, 1, 2, 3). Note that values can be less than 0,
|
534
|
+
# or greater than 1 due to trignometric calculations for location of the box.
|
554
535
|
class GoogleCloudVideointelligenceV1NormalizedBoundingPoly
|
555
536
|
include Google::Apis::Core::Hashable
|
556
537
|
|
@@ -569,9 +550,8 @@ module Google
|
|
569
550
|
end
|
570
551
|
end
|
571
552
|
|
572
|
-
# A vertex represents a 2D point in the image.
|
573
|
-
#
|
574
|
-
# and range from 0 to 1.
|
553
|
+
# A vertex represents a 2D point in the image. NOTE: the normalized vertex
|
554
|
+
# coordinates are relative to the original image and range from 0 to 1.
|
575
555
|
class GoogleCloudVideointelligenceV1NormalizedVertex
|
576
556
|
include Google::Apis::Core::Hashable
|
577
557
|
|
@@ -610,10 +590,10 @@ module Google
|
|
610
590
|
# @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1Entity]
|
611
591
|
attr_accessor :entity
|
612
592
|
|
613
|
-
# Information corresponding to all frames where this object track appears.
|
614
|
-
#
|
615
|
-
#
|
616
|
-
#
|
593
|
+
# Information corresponding to all frames where this object track appears. Non-
|
594
|
+
# streaming batch mode: it may be one or multiple ObjectTrackingFrame messages
|
595
|
+
# in frames. Streaming mode: it can only be one ObjectTrackingFrame message in
|
596
|
+
# frames.
|
617
597
|
# Corresponds to the JSON property `frames`
|
618
598
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1ObjectTrackingFrame>]
|
619
599
|
attr_accessor :frames
|
@@ -623,12 +603,11 @@ module Google
|
|
623
603
|
# @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1VideoSegment]
|
624
604
|
attr_accessor :segment
|
625
605
|
|
626
|
-
# Streaming mode ONLY.
|
627
|
-
#
|
628
|
-
#
|
629
|
-
#
|
630
|
-
#
|
631
|
-
# ObjectTrackAnnotation of the same track_id over time.
|
606
|
+
# Streaming mode ONLY. In streaming mode, we do not know the end time of a
|
607
|
+
# tracked object before it is completed. Hence, there is no VideoSegment info
|
608
|
+
# returned. Instead, we provide a unique identifiable integer track_id so that
|
609
|
+
# the customers can correlate the results of the ongoing ObjectTrackAnnotation
|
610
|
+
# of the same track_id over time.
|
632
611
|
# Corresponds to the JSON property `trackId`
|
633
612
|
# @return [Fixnum]
|
634
613
|
attr_accessor :track_id
|
@@ -657,9 +636,8 @@ module Google
|
|
657
636
|
class GoogleCloudVideointelligenceV1ObjectTrackingConfig
|
658
637
|
include Google::Apis::Core::Hashable
|
659
638
|
|
660
|
-
# Model to use for object tracking.
|
661
|
-
#
|
662
|
-
# "builtin/latest".
|
639
|
+
# Model to use for object tracking. Supported values: "builtin/stable" (the
|
640
|
+
# default if unset) and "builtin/latest".
|
663
641
|
# Corresponds to the JSON property `model`
|
664
642
|
# @return [String]
|
665
643
|
attr_accessor :model
|
@@ -679,9 +657,8 @@ module Google
|
|
679
657
|
class GoogleCloudVideointelligenceV1ObjectTrackingFrame
|
680
658
|
include Google::Apis::Core::Hashable
|
681
659
|
|
682
|
-
# Normalized bounding box.
|
683
|
-
#
|
684
|
-
# Range: [0, 1].
|
660
|
+
# Normalized bounding box. The normalized vertex coordinates are relative to the
|
661
|
+
# original image. Range: [0, 1].
|
685
662
|
# Corresponds to the JSON property `normalizedBoundingBox`
|
686
663
|
# @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1NormalizedBoundingBox]
|
687
664
|
attr_accessor :normalized_bounding_box
|
@@ -706,9 +683,8 @@ module Google
|
|
706
683
|
class GoogleCloudVideointelligenceV1ShotChangeDetectionConfig
|
707
684
|
include Google::Apis::Core::Hashable
|
708
685
|
|
709
|
-
# Model to use for shot change detection.
|
710
|
-
#
|
711
|
-
# "builtin/latest".
|
686
|
+
# Model to use for shot change detection. Supported values: "builtin/stable" (
|
687
|
+
# the default if unset) and "builtin/latest".
|
712
688
|
# Corresponds to the JSON property `model`
|
713
689
|
# @return [String]
|
714
690
|
attr_accessor :model
|
@@ -728,12 +704,12 @@ module Google
|
|
728
704
|
class GoogleCloudVideointelligenceV1SpeechContext
|
729
705
|
include Google::Apis::Core::Hashable
|
730
706
|
|
731
|
-
# Optional. A list of strings containing words and phrases "hints" so that
|
732
|
-
#
|
733
|
-
#
|
734
|
-
#
|
735
|
-
#
|
736
|
-
#
|
707
|
+
# Optional. A list of strings containing words and phrases "hints" so that the
|
708
|
+
# speech recognition is more likely to recognize them. This can be used to
|
709
|
+
# improve the accuracy for specific words and phrases, for example, if specific
|
710
|
+
# commands are typically spoken by the user. This can also be used to add
|
711
|
+
# additional words to the vocabulary of the recognizer. See [usage limits](https:
|
712
|
+
# //cloud.google.com/speech/limits#content).
|
737
713
|
# Corresponds to the JSON property `phrases`
|
738
714
|
# @return [Array<String>]
|
739
715
|
attr_accessor :phrases
|
@@ -754,10 +730,10 @@ module Google
|
|
754
730
|
|
755
731
|
# Output only. The confidence estimate between 0.0 and 1.0. A higher number
|
756
732
|
# indicates an estimated greater likelihood that the recognized words are
|
757
|
-
# correct. This field is set only for the top alternative.
|
758
|
-
#
|
759
|
-
#
|
760
|
-
#
|
733
|
+
# correct. This field is set only for the top alternative. This field is not
|
734
|
+
# guaranteed to be accurate and users should not rely on it to be always
|
735
|
+
# provided. The default of 0.0 is a sentinel value indicating `confidence` was
|
736
|
+
# not set.
|
761
737
|
# Corresponds to the JSON property `confidence`
|
762
738
|
# @return [Float]
|
763
739
|
attr_accessor :confidence
|
@@ -768,8 +744,8 @@ module Google
|
|
768
744
|
attr_accessor :transcript
|
769
745
|
|
770
746
|
# Output only. A list of word-specific information for each recognized word.
|
771
|
-
# Note: When `enable_speaker_diarization` is set to true, you will see all
|
772
|
-
#
|
747
|
+
# Note: When `enable_speaker_diarization` is set to true, you will see all the
|
748
|
+
# words from the beginning of the audio.
|
773
749
|
# Corresponds to the JSON property `words`
|
774
750
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1WordInfo>]
|
775
751
|
attr_accessor :words
|
@@ -790,18 +766,17 @@ module Google
|
|
790
766
|
class GoogleCloudVideointelligenceV1SpeechTranscription
|
791
767
|
include Google::Apis::Core::Hashable
|
792
768
|
|
793
|
-
# May contain one or more recognition hypotheses (up to the maximum specified
|
794
|
-
#
|
795
|
-
#
|
796
|
-
#
|
769
|
+
# May contain one or more recognition hypotheses (up to the maximum specified in
|
770
|
+
# `max_alternatives`). These alternatives are ordered in terms of accuracy, with
|
771
|
+
# the top (first) alternative being the most probable, as ranked by the
|
772
|
+
# recognizer.
|
797
773
|
# Corresponds to the JSON property `alternatives`
|
798
774
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1SpeechRecognitionAlternative>]
|
799
775
|
attr_accessor :alternatives
|
800
776
|
|
801
777
|
# Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
|
802
|
-
# language tag of
|
803
|
-
#
|
804
|
-
# most likelihood of being spoken in the audio.
|
778
|
+
# language tag of the language in this result. This language code was detected
|
779
|
+
# to have the most likelihood of being spoken in the audio.
|
805
780
|
# Corresponds to the JSON property `languageCode`
|
806
781
|
# @return [String]
|
807
782
|
attr_accessor :language_code
|
@@ -828,66 +803,62 @@ module Google
|
|
828
803
|
attr_accessor :audio_tracks
|
829
804
|
|
830
805
|
# Optional. If set, specifies the estimated number of speakers in the
|
831
|
-
# conversation.
|
832
|
-
#
|
833
|
-
# Ignored unless enable_speaker_diarization is set to true.
|
806
|
+
# conversation. If not set, defaults to '2'. Ignored unless
|
807
|
+
# enable_speaker_diarization is set to true.
|
834
808
|
# Corresponds to the JSON property `diarizationSpeakerCount`
|
835
809
|
# @return [Fixnum]
|
836
810
|
attr_accessor :diarization_speaker_count
|
837
811
|
|
838
|
-
# Optional. If 'true', adds punctuation to recognition result hypotheses.
|
839
|
-
#
|
840
|
-
#
|
841
|
-
#
|
842
|
-
#
|
843
|
-
#
|
812
|
+
# Optional. If 'true', adds punctuation to recognition result hypotheses. This
|
813
|
+
# feature is only available in select languages. Setting this for requests in
|
814
|
+
# other languages has no effect at all. The default 'false' value does not add
|
815
|
+
# punctuation to result hypotheses. NOTE: "This is currently offered as an
|
816
|
+
# experimental service, complimentary to all users. In the future this may be
|
817
|
+
# exclusively available as a premium feature."
|
844
818
|
# Corresponds to the JSON property `enableAutomaticPunctuation`
|
845
819
|
# @return [Boolean]
|
846
820
|
attr_accessor :enable_automatic_punctuation
|
847
821
|
alias_method :enable_automatic_punctuation?, :enable_automatic_punctuation
|
848
822
|
|
849
|
-
# Optional. If 'true', enables speaker detection for each recognized word in
|
850
|
-
#
|
851
|
-
#
|
852
|
-
#
|
853
|
-
#
|
854
|
-
#
|
855
|
-
# identify the speakers in the conversation over time.
|
823
|
+
# Optional. If 'true', enables speaker detection for each recognized word in the
|
824
|
+
# top alternative of the recognition result using a speaker_tag provided in the
|
825
|
+
# WordInfo. Note: When this is true, we send all the words from the beginning of
|
826
|
+
# the audio for the top alternative in every consecutive response. This is done
|
827
|
+
# in order to improve our speaker tags as our models learn to identify the
|
828
|
+
# speakers in the conversation over time.
|
856
829
|
# Corresponds to the JSON property `enableSpeakerDiarization`
|
857
830
|
# @return [Boolean]
|
858
831
|
attr_accessor :enable_speaker_diarization
|
859
832
|
alias_method :enable_speaker_diarization?, :enable_speaker_diarization
|
860
833
|
|
861
834
|
# Optional. If `true`, the top result includes a list of words and the
|
862
|
-
# confidence for those words. If `false`, no word-level confidence
|
863
|
-
#
|
835
|
+
# confidence for those words. If `false`, no word-level confidence information
|
836
|
+
# is returned. The default is `false`.
|
864
837
|
# Corresponds to the JSON property `enableWordConfidence`
|
865
838
|
# @return [Boolean]
|
866
839
|
attr_accessor :enable_word_confidence
|
867
840
|
alias_method :enable_word_confidence?, :enable_word_confidence
|
868
841
|
|
869
|
-
# Optional. If set to `true`, the server will attempt to filter out
|
870
|
-
#
|
871
|
-
#
|
872
|
-
# won't be filtered out.
|
842
|
+
# Optional. If set to `true`, the server will attempt to filter out profanities,
|
843
|
+
# replacing all but the initial character in each filtered word with asterisks,
|
844
|
+
# e.g. "f***". If set to `false` or omitted, profanities won't be filtered out.
|
873
845
|
# Corresponds to the JSON property `filterProfanity`
|
874
846
|
# @return [Boolean]
|
875
847
|
attr_accessor :filter_profanity
|
876
848
|
alias_method :filter_profanity?, :filter_profanity
|
877
849
|
|
878
|
-
# Required. *Required* The language of the supplied audio as a
|
879
|
-
#
|
880
|
-
#
|
881
|
-
#
|
882
|
-
# for a list of the currently supported language codes.
|
850
|
+
# Required. *Required* The language of the supplied audio as a [BCP-47](https://
|
851
|
+
# www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. Example: "en-US". See [
|
852
|
+
# Language Support](https://cloud.google.com/speech/docs/languages) for a list
|
853
|
+
# of the currently supported language codes.
|
883
854
|
# Corresponds to the JSON property `languageCode`
|
884
855
|
# @return [String]
|
885
856
|
attr_accessor :language_code
|
886
857
|
|
887
858
|
# Optional. Maximum number of recognition hypotheses to be returned.
|
888
859
|
# Specifically, the maximum number of `SpeechRecognitionAlternative` messages
|
889
|
-
# within each `SpeechTranscription`. The server may return fewer than
|
890
|
-
#
|
860
|
+
# within each `SpeechTranscription`. The server may return fewer than `
|
861
|
+
# max_alternatives`. Valid values are `0`-`30`. A value of `0` or `1` will
|
891
862
|
# return a maximum of one. If omitted, will return a maximum of one.
|
892
863
|
# Corresponds to the JSON property `maxAlternatives`
|
893
864
|
# @return [Fixnum]
|
@@ -954,16 +925,15 @@ module Google
|
|
954
925
|
include Google::Apis::Core::Hashable
|
955
926
|
|
956
927
|
# Language hint can be specified if the language to be detected is known a
|
957
|
-
# priori. It can increase the accuracy of the detection. Language hint must
|
958
|
-
#
|
959
|
-
#
|
928
|
+
# priori. It can increase the accuracy of the detection. Language hint must be
|
929
|
+
# language code in BCP-47 format. Automatic language detection is performed if
|
930
|
+
# no hint is provided.
|
960
931
|
# Corresponds to the JSON property `languageHints`
|
961
932
|
# @return [Array<String>]
|
962
933
|
attr_accessor :language_hints
|
963
934
|
|
964
|
-
# Model to use for text detection.
|
965
|
-
#
|
966
|
-
# "builtin/latest".
|
935
|
+
# Model to use for text detection. Supported values: "builtin/stable" (the
|
936
|
+
# default if unset) and "builtin/latest".
|
967
937
|
# Corresponds to the JSON property `model`
|
968
938
|
# @return [String]
|
969
939
|
attr_accessor :model
|
@@ -979,27 +949,19 @@ module Google
|
|
979
949
|
end
|
980
950
|
end
|
981
951
|
|
982
|
-
# Video frame level annotation results for text annotation (OCR).
|
983
|
-
#
|
984
|
-
#
|
952
|
+
# Video frame level annotation results for text annotation (OCR). Contains
|
953
|
+
# information regarding timestamp and bounding box locations for the frames
|
954
|
+
# containing detected OCR text snippets.
|
985
955
|
class GoogleCloudVideointelligenceV1TextFrame
|
986
956
|
include Google::Apis::Core::Hashable
|
987
957
|
|
988
958
|
# Normalized bounding polygon for text (that might not be aligned with axis).
|
989
|
-
# Contains list of the corner points in clockwise order starting from
|
990
|
-
#
|
991
|
-
#
|
992
|
-
#
|
993
|
-
#
|
994
|
-
#
|
995
|
-
# When it's clockwise rotated 180 degrees around the top-left corner it
|
996
|
-
# becomes:
|
997
|
-
# 2----3
|
998
|
-
# | |
|
999
|
-
# 1----0
|
1000
|
-
# and the vertex order will still be (0, 1, 2, 3). Note that values can be less
|
1001
|
-
# than 0, or greater than 1 due to trignometric calculations for location of
|
1002
|
-
# the box.
|
959
|
+
# Contains list of the corner points in clockwise order starting from top-left
|
960
|
+
# corner. For example, for a rectangular bounding box: When the text is
|
961
|
+
# horizontal it might look like: 0----1 | | 3----2 When it's clockwise rotated
|
962
|
+
# 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the
|
963
|
+
# vertex order will still be (0, 1, 2, 3). Note that values can be less than 0,
|
964
|
+
# or greater than 1 due to trignometric calculations for location of the box.
|
1003
965
|
# Corresponds to the JSON property `rotatedBoundingBox`
|
1004
966
|
# @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1NormalizedBoundingPoly]
|
1005
967
|
attr_accessor :rotated_bounding_box
|
@@ -1052,9 +1014,8 @@ module Google
|
|
1052
1014
|
end
|
1053
1015
|
end
|
1054
1016
|
|
1055
|
-
# For tracking related features.
|
1056
|
-
#
|
1057
|
-
# normalized_bounding_box.
|
1017
|
+
# For tracking related features. An object at time_offset with attributes, and
|
1018
|
+
# located with normalized_bounding_box.
|
1058
1019
|
class GoogleCloudVideointelligenceV1TimestampedObject
|
1059
1020
|
include Google::Apis::Core::Hashable
|
1060
1021
|
|
@@ -1068,15 +1029,14 @@ module Google
|
|
1068
1029
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1DetectedLandmark>]
|
1069
1030
|
attr_accessor :landmarks
|
1070
1031
|
|
1071
|
-
# Normalized bounding box.
|
1072
|
-
#
|
1073
|
-
# Range: [0, 1].
|
1032
|
+
# Normalized bounding box. The normalized vertex coordinates are relative to the
|
1033
|
+
# original image. Range: [0, 1].
|
1074
1034
|
# Corresponds to the JSON property `normalizedBoundingBox`
|
1075
1035
|
# @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1NormalizedBoundingBox]
|
1076
1036
|
attr_accessor :normalized_bounding_box
|
1077
1037
|
|
1078
|
-
# Time-offset, relative to the beginning of the video,
|
1079
|
-
#
|
1038
|
+
# Time-offset, relative to the beginning of the video, corresponding to the
|
1039
|
+
# video frame for this object.
|
1080
1040
|
# Corresponds to the JSON property `timeOffset`
|
1081
1041
|
# @return [String]
|
1082
1042
|
attr_accessor :time_offset
|
@@ -1135,20 +1095,19 @@ module Google
|
|
1135
1095
|
class GoogleCloudVideointelligenceV1VideoAnnotationProgress
|
1136
1096
|
include Google::Apis::Core::Hashable
|
1137
1097
|
|
1138
|
-
# Specifies which feature is being tracked if the request contains more than
|
1139
|
-
#
|
1098
|
+
# Specifies which feature is being tracked if the request contains more than one
|
1099
|
+
# feature.
|
1140
1100
|
# Corresponds to the JSON property `feature`
|
1141
1101
|
# @return [String]
|
1142
1102
|
attr_accessor :feature
|
1143
1103
|
|
1144
|
-
# Video file location in
|
1145
|
-
# [Cloud Storage](https://cloud.google.com/storage/).
|
1104
|
+
# Video file location in [Cloud Storage](https://cloud.google.com/storage/).
|
1146
1105
|
# Corresponds to the JSON property `inputUri`
|
1147
1106
|
# @return [String]
|
1148
1107
|
attr_accessor :input_uri
|
1149
1108
|
|
1150
|
-
# Approximate percentage processed thus far. Guaranteed to be
|
1151
|
-
#
|
1109
|
+
# Approximate percentage processed thus far. Guaranteed to be 100 when fully
|
1110
|
+
# processed.
|
1152
1111
|
# Corresponds to the JSON property `progressPercent`
|
1153
1112
|
# @return [Fixnum]
|
1154
1113
|
attr_accessor :progress_percent
|
@@ -1187,31 +1146,30 @@ module Google
|
|
1187
1146
|
class GoogleCloudVideointelligenceV1VideoAnnotationResults
|
1188
1147
|
include Google::Apis::Core::Hashable
|
1189
1148
|
|
1190
|
-
# The `Status` type defines a logical error model that is suitable for
|
1191
|
-
#
|
1192
|
-
#
|
1193
|
-
#
|
1194
|
-
#
|
1195
|
-
#
|
1149
|
+
# The `Status` type defines a logical error model that is suitable for different
|
1150
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
1151
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
1152
|
+
# data: error code, error message, and error details. You can find out more
|
1153
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
1154
|
+
# //cloud.google.com/apis/design/errors).
|
1196
1155
|
# Corresponds to the JSON property `error`
|
1197
1156
|
# @return [Google::Apis::VideointelligenceV1::GoogleRpcStatus]
|
1198
1157
|
attr_accessor :error
|
1199
1158
|
|
1200
|
-
# Explicit content annotation (based on per-frame visual signals only).
|
1201
|
-
#
|
1202
|
-
#
|
1159
|
+
# Explicit content annotation (based on per-frame visual signals only). If no
|
1160
|
+
# explicit content has been detected in a frame, no annotations are present for
|
1161
|
+
# that frame.
|
1203
1162
|
# Corresponds to the JSON property `explicitAnnotation`
|
1204
1163
|
# @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1ExplicitContentAnnotation]
|
1205
1164
|
attr_accessor :explicit_annotation
|
1206
1165
|
|
1207
|
-
# Label annotations on frame level.
|
1208
|
-
#
|
1166
|
+
# Label annotations on frame level. There is exactly one element for each unique
|
1167
|
+
# label.
|
1209
1168
|
# Corresponds to the JSON property `frameLabelAnnotations`
|
1210
1169
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1LabelAnnotation>]
|
1211
1170
|
attr_accessor :frame_label_annotations
|
1212
1171
|
|
1213
|
-
# Video file location in
|
1214
|
-
# [Cloud Storage](https://cloud.google.com/storage/).
|
1172
|
+
# Video file location in [Cloud Storage](https://cloud.google.com/storage/).
|
1215
1173
|
# Corresponds to the JSON property `inputUri`
|
1216
1174
|
# @return [String]
|
1217
1175
|
attr_accessor :input_uri
|
@@ -1238,11 +1196,11 @@ module Google
|
|
1238
1196
|
attr_accessor :segment_label_annotations
|
1239
1197
|
|
1240
1198
|
# Presence label annotations on video level or user-specified segment level.
|
1241
|
-
# There is exactly one element for each unique label. Compared to the
|
1242
|
-
#
|
1243
|
-
#
|
1244
|
-
#
|
1245
|
-
#
|
1199
|
+
# There is exactly one element for each unique label. Compared to the existing
|
1200
|
+
# topical `segment_label_annotations`, this field presents more fine-grained,
|
1201
|
+
# segment-level labels detected in video content and is made available only when
|
1202
|
+
# the client sets `LabelDetectionConfig.model` to "builtin/latest" in the
|
1203
|
+
# request.
|
1246
1204
|
# Corresponds to the JSON property `segmentPresenceLabelAnnotations`
|
1247
1205
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1LabelAnnotation>]
|
1248
1206
|
attr_accessor :segment_presence_label_annotations
|
@@ -1252,17 +1210,17 @@ module Google
|
|
1252
1210
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1VideoSegment>]
|
1253
1211
|
attr_accessor :shot_annotations
|
1254
1212
|
|
1255
|
-
# Topical label annotations on shot level.
|
1256
|
-
#
|
1213
|
+
# Topical label annotations on shot level. There is exactly one element for each
|
1214
|
+
# unique label.
|
1257
1215
|
# Corresponds to the JSON property `shotLabelAnnotations`
|
1258
1216
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1LabelAnnotation>]
|
1259
1217
|
attr_accessor :shot_label_annotations
|
1260
1218
|
|
1261
1219
|
# Presence label annotations on shot level. There is exactly one element for
|
1262
|
-
# each unique label. Compared to the existing topical
|
1263
|
-
#
|
1264
|
-
#
|
1265
|
-
#
|
1220
|
+
# each unique label. Compared to the existing topical `shot_label_annotations`,
|
1221
|
+
# this field presents more fine-grained, shot-level labels detected in video
|
1222
|
+
# content and is made available only when the client sets `LabelDetectionConfig.
|
1223
|
+
# model` to "builtin/latest" in the request.
|
1266
1224
|
# Corresponds to the JSON property `shotPresenceLabelAnnotations`
|
1267
1225
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1LabelAnnotation>]
|
1268
1226
|
attr_accessor :shot_presence_label_annotations
|
@@ -1272,9 +1230,8 @@ module Google
|
|
1272
1230
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1SpeechTranscription>]
|
1273
1231
|
attr_accessor :speech_transcriptions
|
1274
1232
|
|
1275
|
-
# OCR text detection and tracking.
|
1276
|
-
#
|
1277
|
-
# frame information associated with it.
|
1233
|
+
# OCR text detection and tracking. Annotations for list of detected text
|
1234
|
+
# snippets. Each will have list of frame information associated with it.
|
1278
1235
|
# Corresponds to the JSON property `textAnnotations`
|
1279
1236
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1TextAnnotation>]
|
1280
1237
|
attr_accessor :text_annotations
|
@@ -1321,9 +1278,9 @@ module Google
|
|
1321
1278
|
# @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1ObjectTrackingConfig]
|
1322
1279
|
attr_accessor :object_tracking_config
|
1323
1280
|
|
1324
|
-
# Video segments to annotate. The segments may overlap and are not required
|
1325
|
-
#
|
1326
|
-
#
|
1281
|
+
# Video segments to annotate. The segments may overlap and are not required to
|
1282
|
+
# be contiguous or span the whole video. If unspecified, each video is treated
|
1283
|
+
# as a single segment.
|
1327
1284
|
# Corresponds to the JSON property `segments`
|
1328
1285
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1VideoSegment>]
|
1329
1286
|
attr_accessor :segments
|
@@ -1363,14 +1320,14 @@ module Google
|
|
1363
1320
|
class GoogleCloudVideointelligenceV1VideoSegment
|
1364
1321
|
include Google::Apis::Core::Hashable
|
1365
1322
|
|
1366
|
-
# Time-offset, relative to the beginning of the video,
|
1367
|
-
#
|
1323
|
+
# Time-offset, relative to the beginning of the video, corresponding to the end
|
1324
|
+
# of the segment (inclusive).
|
1368
1325
|
# Corresponds to the JSON property `endTimeOffset`
|
1369
1326
|
# @return [String]
|
1370
1327
|
attr_accessor :end_time_offset
|
1371
1328
|
|
1372
|
-
# Time-offset, relative to the beginning of the video,
|
1373
|
-
#
|
1329
|
+
# Time-offset, relative to the beginning of the video, corresponding to the
|
1330
|
+
# start of the segment (inclusive).
|
1374
1331
|
# Corresponds to the JSON property `startTimeOffset`
|
1375
1332
|
# @return [String]
|
1376
1333
|
attr_accessor :start_time_offset
|
@@ -1387,41 +1344,41 @@ module Google
|
|
1387
1344
|
end
|
1388
1345
|
|
1389
1346
|
# Word-specific information for recognized words. Word information is only
|
1390
|
-
# included in the response when certain request parameters are set, such
|
1391
|
-
#
|
1347
|
+
# included in the response when certain request parameters are set, such as `
|
1348
|
+
# enable_word_time_offsets`.
|
1392
1349
|
class GoogleCloudVideointelligenceV1WordInfo
|
1393
1350
|
include Google::Apis::Core::Hashable
|
1394
1351
|
|
1395
1352
|
# Output only. The confidence estimate between 0.0 and 1.0. A higher number
|
1396
1353
|
# indicates an estimated greater likelihood that the recognized words are
|
1397
|
-
# correct. This field is set only for the top alternative.
|
1398
|
-
#
|
1399
|
-
#
|
1400
|
-
#
|
1354
|
+
# correct. This field is set only for the top alternative. This field is not
|
1355
|
+
# guaranteed to be accurate and users should not rely on it to be always
|
1356
|
+
# provided. The default of 0.0 is a sentinel value indicating `confidence` was
|
1357
|
+
# not set.
|
1401
1358
|
# Corresponds to the JSON property `confidence`
|
1402
1359
|
# @return [Float]
|
1403
1360
|
attr_accessor :confidence
|
1404
1361
|
|
1405
|
-
# Time offset relative to the beginning of the audio, and
|
1406
|
-
#
|
1407
|
-
#
|
1408
|
-
#
|
1362
|
+
# Time offset relative to the beginning of the audio, and corresponding to the
|
1363
|
+
# end of the spoken word. This field is only set if `enable_word_time_offsets=
|
1364
|
+
# true` and only in the top hypothesis. This is an experimental feature and the
|
1365
|
+
# accuracy of the time offset can vary.
|
1409
1366
|
# Corresponds to the JSON property `endTime`
|
1410
1367
|
# @return [String]
|
1411
1368
|
attr_accessor :end_time
|
1412
1369
|
|
1413
|
-
# Output only. A distinct integer value is assigned for every speaker within
|
1414
|
-
#
|
1415
|
-
#
|
1416
|
-
#
|
1370
|
+
# Output only. A distinct integer value is assigned for every speaker within the
|
1371
|
+
# audio. This field specifies which one of those speakers was detected to have
|
1372
|
+
# spoken this word. Value ranges from 1 up to diarization_speaker_count, and is
|
1373
|
+
# only set if speaker diarization is enabled.
|
1417
1374
|
# Corresponds to the JSON property `speakerTag`
|
1418
1375
|
# @return [Fixnum]
|
1419
1376
|
attr_accessor :speaker_tag
|
1420
1377
|
|
1421
|
-
# Time offset relative to the beginning of the audio, and
|
1422
|
-
#
|
1423
|
-
#
|
1424
|
-
#
|
1378
|
+
# Time offset relative to the beginning of the audio, and corresponding to the
|
1379
|
+
# start of the spoken word. This field is only set if `enable_word_time_offsets=
|
1380
|
+
# true` and only in the top hypothesis. This is an experimental feature and the
|
1381
|
+
# accuracy of the time offset can vary.
|
1425
1382
|
# Corresponds to the JSON property `startTime`
|
1426
1383
|
# @return [String]
|
1427
1384
|
attr_accessor :start_time
|
@@ -1445,9 +1402,9 @@ module Google
|
|
1445
1402
|
end
|
1446
1403
|
end
|
1447
1404
|
|
1448
|
-
# Video annotation progress. Included in the `metadata`
|
1449
|
-
#
|
1450
|
-
#
|
1405
|
+
# Video annotation progress. Included in the `metadata` field of the `Operation`
|
1406
|
+
# returned by the `GetOperation` call of the `google::longrunning::Operations`
|
1407
|
+
# service.
|
1451
1408
|
class GoogleCloudVideointelligenceV1beta2AnnotateVideoProgress
|
1452
1409
|
include Google::Apis::Core::Hashable
|
1453
1410
|
|
@@ -1466,9 +1423,9 @@ module Google
|
|
1466
1423
|
end
|
1467
1424
|
end
|
1468
1425
|
|
1469
|
-
# Video annotation response. Included in the `response`
|
1470
|
-
#
|
1471
|
-
#
|
1426
|
+
# Video annotation response. Included in the `response` field of the `Operation`
|
1427
|
+
# returned by the `GetOperation` call of the `google::longrunning::Operations`
|
1428
|
+
# service.
|
1472
1429
|
class GoogleCloudVideointelligenceV1beta2AnnotateVideoResponse
|
1473
1430
|
include Google::Apis::Core::Hashable
|
1474
1431
|
|
@@ -1496,14 +1453,14 @@ module Google
|
|
1496
1453
|
# @return [Float]
|
1497
1454
|
attr_accessor :confidence
|
1498
1455
|
|
1499
|
-
# The name of the attribute, for example, glasses, dark_glasses, mouth_open.
|
1500
|
-
#
|
1456
|
+
# The name of the attribute, for example, glasses, dark_glasses, mouth_open. A
|
1457
|
+
# full list of supported type names will be provided in the document.
|
1501
1458
|
# Corresponds to the JSON property `name`
|
1502
1459
|
# @return [String]
|
1503
1460
|
attr_accessor :name
|
1504
1461
|
|
1505
|
-
# Text value of the detection result. For example, the value for "HairColor"
|
1506
|
-
#
|
1462
|
+
# Text value of the detection result. For example, the value for "HairColor" can
|
1463
|
+
# be "black", "blonde", etc.
|
1507
1464
|
# Corresponds to the JSON property `value`
|
1508
1465
|
# @return [String]
|
1509
1466
|
attr_accessor :value
|
@@ -1535,9 +1492,8 @@ module Google
|
|
1535
1492
|
# @return [String]
|
1536
1493
|
attr_accessor :name
|
1537
1494
|
|
1538
|
-
# A vertex represents a 2D point in the image.
|
1539
|
-
#
|
1540
|
-
# and range from 0 to 1.
|
1495
|
+
# A vertex represents a 2D point in the image. NOTE: the normalized vertex
|
1496
|
+
# coordinates are relative to the original image and range from 0 to 1.
|
1541
1497
|
# Corresponds to the JSON property `point`
|
1542
1498
|
# @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2NormalizedVertex]
|
1543
1499
|
attr_accessor :point
|
@@ -1563,8 +1519,7 @@ module Google
|
|
1563
1519
|
# @return [String]
|
1564
1520
|
attr_accessor :description
|
1565
1521
|
|
1566
|
-
# Opaque entity ID. Some IDs may be available in
|
1567
|
-
# [Google Knowledge Graph Search
|
1522
|
+
# Opaque entity ID. Some IDs may be available in [Google Knowledge Graph Search
|
1568
1523
|
# API](https://developers.google.com/knowledge-graph/).
|
1569
1524
|
# Corresponds to the JSON property `entityId`
|
1570
1525
|
# @return [String]
|
@@ -1587,9 +1542,9 @@ module Google
|
|
1587
1542
|
end
|
1588
1543
|
end
|
1589
1544
|
|
1590
|
-
# Explicit content annotation (based on per-frame visual signals only).
|
1591
|
-
#
|
1592
|
-
#
|
1545
|
+
# Explicit content annotation (based on per-frame visual signals only). If no
|
1546
|
+
# explicit content has been detected in a frame, no annotations are present for
|
1547
|
+
# that frame.
|
1593
1548
|
class GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation
|
1594
1549
|
include Google::Apis::Core::Hashable
|
1595
1550
|
|
@@ -1644,10 +1599,9 @@ module Google
|
|
1644
1599
|
class GoogleCloudVideointelligenceV1beta2LabelAnnotation
|
1645
1600
|
include Google::Apis::Core::Hashable
|
1646
1601
|
|
1647
|
-
# Common categories for the detected entity.
|
1648
|
-
#
|
1649
|
-
#
|
1650
|
-
# also be a `pet`.
|
1602
|
+
# Common categories for the detected entity. For example, when the label is `
|
1603
|
+
# Terrier`, the category is likely `dog`. And in some cases there might be more
|
1604
|
+
# than one categories e.g., `Terrier` could also be a `pet`.
|
1651
1605
|
# Corresponds to the JSON property `categoryEntities`
|
1652
1606
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2Entity>]
|
1653
1607
|
attr_accessor :category_entities
|
@@ -1746,14 +1700,14 @@ module Google
|
|
1746
1700
|
# @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2Entity]
|
1747
1701
|
attr_accessor :entity
|
1748
1702
|
|
1749
|
-
# All video segments where the recognized logo appears. There might be
|
1750
|
-
#
|
1703
|
+
# All video segments where the recognized logo appears. There might be multiple
|
1704
|
+
# instances of the same logo class appearing in one VideoSegment.
|
1751
1705
|
# Corresponds to the JSON property `segments`
|
1752
1706
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2VideoSegment>]
|
1753
1707
|
attr_accessor :segments
|
1754
1708
|
|
1755
|
-
# All logo tracks where the recognized logo appears. Each track corresponds
|
1756
|
-
#
|
1709
|
+
# All logo tracks where the recognized logo appears. Each track corresponds to
|
1710
|
+
# one logo instance appearing in consecutive frames.
|
1757
1711
|
# Corresponds to the JSON property `tracks`
|
1758
1712
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2Track>]
|
1759
1713
|
attr_accessor :tracks
|
@@ -1770,9 +1724,8 @@ module Google
|
|
1770
1724
|
end
|
1771
1725
|
end
|
1772
1726
|
|
1773
|
-
# Normalized bounding box.
|
1774
|
-
#
|
1775
|
-
# Range: [0, 1].
|
1727
|
+
# Normalized bounding box. The normalized vertex coordinates are relative to the
|
1728
|
+
# original image. Range: [0, 1].
|
1776
1729
|
class GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox
|
1777
1730
|
include Google::Apis::Core::Hashable
|
1778
1731
|
|
@@ -1810,20 +1763,12 @@ module Google
|
|
1810
1763
|
end
|
1811
1764
|
|
1812
1765
|
# Normalized bounding polygon for text (that might not be aligned with axis).
|
1813
|
-
# Contains list of the corner points in clockwise order starting from
|
1814
|
-
#
|
1815
|
-
#
|
1816
|
-
#
|
1817
|
-
#
|
1818
|
-
#
|
1819
|
-
# When it's clockwise rotated 180 degrees around the top-left corner it
|
1820
|
-
# becomes:
|
1821
|
-
# 2----3
|
1822
|
-
# | |
|
1823
|
-
# 1----0
|
1824
|
-
# and the vertex order will still be (0, 1, 2, 3). Note that values can be less
|
1825
|
-
# than 0, or greater than 1 due to trignometric calculations for location of
|
1826
|
-
# the box.
|
1766
|
+
# Contains list of the corner points in clockwise order starting from top-left
|
1767
|
+
# corner. For example, for a rectangular bounding box: When the text is
|
1768
|
+
# horizontal it might look like: 0----1 | | 3----2 When it's clockwise rotated
|
1769
|
+
# 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the
|
1770
|
+
# vertex order will still be (0, 1, 2, 3). Note that values can be less than 0,
|
1771
|
+
# or greater than 1 due to trignometric calculations for location of the box.
|
1827
1772
|
class GoogleCloudVideointelligenceV1beta2NormalizedBoundingPoly
|
1828
1773
|
include Google::Apis::Core::Hashable
|
1829
1774
|
|
@@ -1842,9 +1787,8 @@ module Google
|
|
1842
1787
|
end
|
1843
1788
|
end
|
1844
1789
|
|
1845
|
-
# A vertex represents a 2D point in the image.
|
1846
|
-
#
|
1847
|
-
# and range from 0 to 1.
|
1790
|
+
# A vertex represents a 2D point in the image. NOTE: the normalized vertex
|
1791
|
+
# coordinates are relative to the original image and range from 0 to 1.
|
1848
1792
|
class GoogleCloudVideointelligenceV1beta2NormalizedVertex
|
1849
1793
|
include Google::Apis::Core::Hashable
|
1850
1794
|
|
@@ -1883,10 +1827,10 @@ module Google
|
|
1883
1827
|
# @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2Entity]
|
1884
1828
|
attr_accessor :entity
|
1885
1829
|
|
1886
|
-
# Information corresponding to all frames where this object track appears.
|
1887
|
-
#
|
1888
|
-
#
|
1889
|
-
#
|
1830
|
+
# Information corresponding to all frames where this object track appears. Non-
|
1831
|
+
# streaming batch mode: it may be one or multiple ObjectTrackingFrame messages
|
1832
|
+
# in frames. Streaming mode: it can only be one ObjectTrackingFrame message in
|
1833
|
+
# frames.
|
1890
1834
|
# Corresponds to the JSON property `frames`
|
1891
1835
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2ObjectTrackingFrame>]
|
1892
1836
|
attr_accessor :frames
|
@@ -1896,12 +1840,11 @@ module Google
|
|
1896
1840
|
# @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2VideoSegment]
|
1897
1841
|
attr_accessor :segment
|
1898
1842
|
|
1899
|
-
# Streaming mode ONLY.
|
1900
|
-
#
|
1901
|
-
#
|
1902
|
-
#
|
1903
|
-
#
|
1904
|
-
# ObjectTrackAnnotation of the same track_id over time.
|
1843
|
+
# Streaming mode ONLY. In streaming mode, we do not know the end time of a
|
1844
|
+
# tracked object before it is completed. Hence, there is no VideoSegment info
|
1845
|
+
# returned. Instead, we provide a unique identifiable integer track_id so that
|
1846
|
+
# the customers can correlate the results of the ongoing ObjectTrackAnnotation
|
1847
|
+
# of the same track_id over time.
|
1905
1848
|
# Corresponds to the JSON property `trackId`
|
1906
1849
|
# @return [Fixnum]
|
1907
1850
|
attr_accessor :track_id
|
@@ -1931,9 +1874,8 @@ module Google
|
|
1931
1874
|
class GoogleCloudVideointelligenceV1beta2ObjectTrackingFrame
|
1932
1875
|
include Google::Apis::Core::Hashable
|
1933
1876
|
|
1934
|
-
# Normalized bounding box.
|
1935
|
-
#
|
1936
|
-
# Range: [0, 1].
|
1877
|
+
# Normalized bounding box. The normalized vertex coordinates are relative to the
|
1878
|
+
# original image. Range: [0, 1].
|
1937
1879
|
# Corresponds to the JSON property `normalizedBoundingBox`
|
1938
1880
|
# @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox]
|
1939
1881
|
attr_accessor :normalized_bounding_box
|
@@ -1960,10 +1902,10 @@ module Google
|
|
1960
1902
|
|
1961
1903
|
# Output only. The confidence estimate between 0.0 and 1.0. A higher number
|
1962
1904
|
# indicates an estimated greater likelihood that the recognized words are
|
1963
|
-
# correct. This field is set only for the top alternative.
|
1964
|
-
#
|
1965
|
-
#
|
1966
|
-
#
|
1905
|
+
# correct. This field is set only for the top alternative. This field is not
|
1906
|
+
# guaranteed to be accurate and users should not rely on it to be always
|
1907
|
+
# provided. The default of 0.0 is a sentinel value indicating `confidence` was
|
1908
|
+
# not set.
|
1967
1909
|
# Corresponds to the JSON property `confidence`
|
1968
1910
|
# @return [Float]
|
1969
1911
|
attr_accessor :confidence
|
@@ -1974,8 +1916,8 @@ module Google
|
|
1974
1916
|
attr_accessor :transcript
|
1975
1917
|
|
1976
1918
|
# Output only. A list of word-specific information for each recognized word.
|
1977
|
-
# Note: When `enable_speaker_diarization` is set to true, you will see all
|
1978
|
-
#
|
1919
|
+
# Note: When `enable_speaker_diarization` is set to true, you will see all the
|
1920
|
+
# words from the beginning of the audio.
|
1979
1921
|
# Corresponds to the JSON property `words`
|
1980
1922
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2WordInfo>]
|
1981
1923
|
attr_accessor :words
|
@@ -1996,18 +1938,17 @@ module Google
|
|
1996
1938
|
class GoogleCloudVideointelligenceV1beta2SpeechTranscription
|
1997
1939
|
include Google::Apis::Core::Hashable
|
1998
1940
|
|
1999
|
-
# May contain one or more recognition hypotheses (up to the maximum specified
|
2000
|
-
#
|
2001
|
-
#
|
2002
|
-
#
|
1941
|
+
# May contain one or more recognition hypotheses (up to the maximum specified in
|
1942
|
+
# `max_alternatives`). These alternatives are ordered in terms of accuracy, with
|
1943
|
+
# the top (first) alternative being the most probable, as ranked by the
|
1944
|
+
# recognizer.
|
2003
1945
|
# Corresponds to the JSON property `alternatives`
|
2004
1946
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative>]
|
2005
1947
|
attr_accessor :alternatives
|
2006
1948
|
|
2007
1949
|
# Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
|
2008
|
-
# language tag of
|
2009
|
-
#
|
2010
|
-
# most likelihood of being spoken in the audio.
|
1950
|
+
# language tag of the language in this result. This language code was detected
|
1951
|
+
# to have the most likelihood of being spoken in the audio.
|
2011
1952
|
# Corresponds to the JSON property `languageCode`
|
2012
1953
|
# @return [String]
|
2013
1954
|
attr_accessor :language_code
|
@@ -2056,27 +1997,19 @@ module Google
|
|
2056
1997
|
end
|
2057
1998
|
end
|
2058
1999
|
|
2059
|
-
# Video frame level annotation results for text annotation (OCR).
|
2060
|
-
#
|
2061
|
-
#
|
2000
|
+
# Video frame level annotation results for text annotation (OCR). Contains
|
2001
|
+
# information regarding timestamp and bounding box locations for the frames
|
2002
|
+
# containing detected OCR text snippets.
|
2062
2003
|
class GoogleCloudVideointelligenceV1beta2TextFrame
|
2063
2004
|
include Google::Apis::Core::Hashable
|
2064
2005
|
|
2065
2006
|
# Normalized bounding polygon for text (that might not be aligned with axis).
|
2066
|
-
# Contains list of the corner points in clockwise order starting from
|
2067
|
-
#
|
2068
|
-
#
|
2069
|
-
#
|
2070
|
-
#
|
2071
|
-
#
|
2072
|
-
# When it's clockwise rotated 180 degrees around the top-left corner it
|
2073
|
-
# becomes:
|
2074
|
-
# 2----3
|
2075
|
-
# | |
|
2076
|
-
# 1----0
|
2077
|
-
# and the vertex order will still be (0, 1, 2, 3). Note that values can be less
|
2078
|
-
# than 0, or greater than 1 due to trignometric calculations for location of
|
2079
|
-
# the box.
|
2007
|
+
# Contains list of the corner points in clockwise order starting from top-left
|
2008
|
+
# corner. For example, for a rectangular bounding box: When the text is
|
2009
|
+
# horizontal it might look like: 0----1 | | 3----2 When it's clockwise rotated
|
2010
|
+
# 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the
|
2011
|
+
# vertex order will still be (0, 1, 2, 3). Note that values can be less than 0,
|
2012
|
+
# or greater than 1 due to trignometric calculations for location of the box.
|
2080
2013
|
# Corresponds to the JSON property `rotatedBoundingBox`
|
2081
2014
|
# @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2NormalizedBoundingPoly]
|
2082
2015
|
attr_accessor :rotated_bounding_box
|
@@ -2129,9 +2062,8 @@ module Google
|
|
2129
2062
|
end
|
2130
2063
|
end
|
2131
2064
|
|
2132
|
-
# For tracking related features.
|
2133
|
-
#
|
2134
|
-
# normalized_bounding_box.
|
2065
|
+
# For tracking related features. An object at time_offset with attributes, and
|
2066
|
+
# located with normalized_bounding_box.
|
2135
2067
|
class GoogleCloudVideointelligenceV1beta2TimestampedObject
|
2136
2068
|
include Google::Apis::Core::Hashable
|
2137
2069
|
|
@@ -2145,15 +2077,14 @@ module Google
|
|
2145
2077
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2DetectedLandmark>]
|
2146
2078
|
attr_accessor :landmarks
|
2147
2079
|
|
2148
|
-
# Normalized bounding box.
|
2149
|
-
#
|
2150
|
-
# Range: [0, 1].
|
2080
|
+
# Normalized bounding box. The normalized vertex coordinates are relative to the
|
2081
|
+
# original image. Range: [0, 1].
|
2151
2082
|
# Corresponds to the JSON property `normalizedBoundingBox`
|
2152
2083
|
# @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox]
|
2153
2084
|
attr_accessor :normalized_bounding_box
|
2154
2085
|
|
2155
|
-
# Time-offset, relative to the beginning of the video,
|
2156
|
-
#
|
2086
|
+
# Time-offset, relative to the beginning of the video, corresponding to the
|
2087
|
+
# video frame for this object.
|
2157
2088
|
# Corresponds to the JSON property `timeOffset`
|
2158
2089
|
# @return [String]
|
2159
2090
|
attr_accessor :time_offset
|
@@ -2212,20 +2143,19 @@ module Google
|
|
2212
2143
|
class GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress
|
2213
2144
|
include Google::Apis::Core::Hashable
|
2214
2145
|
|
2215
|
-
# Specifies which feature is being tracked if the request contains more than
|
2216
|
-
#
|
2146
|
+
# Specifies which feature is being tracked if the request contains more than one
|
2147
|
+
# feature.
|
2217
2148
|
# Corresponds to the JSON property `feature`
|
2218
2149
|
# @return [String]
|
2219
2150
|
attr_accessor :feature
|
2220
2151
|
|
2221
|
-
# Video file location in
|
2222
|
-
# [Cloud Storage](https://cloud.google.com/storage/).
|
2152
|
+
# Video file location in [Cloud Storage](https://cloud.google.com/storage/).
|
2223
2153
|
# Corresponds to the JSON property `inputUri`
|
2224
2154
|
# @return [String]
|
2225
2155
|
attr_accessor :input_uri
|
2226
2156
|
|
2227
|
-
# Approximate percentage processed thus far. Guaranteed to be
|
2228
|
-
#
|
2157
|
+
# Approximate percentage processed thus far. Guaranteed to be 100 when fully
|
2158
|
+
# processed.
|
2229
2159
|
# Corresponds to the JSON property `progressPercent`
|
2230
2160
|
# @return [Fixnum]
|
2231
2161
|
attr_accessor :progress_percent
|
@@ -2264,31 +2194,30 @@ module Google
|
|
2264
2194
|
class GoogleCloudVideointelligenceV1beta2VideoAnnotationResults
|
2265
2195
|
include Google::Apis::Core::Hashable
|
2266
2196
|
|
2267
|
-
# The `Status` type defines a logical error model that is suitable for
|
2268
|
-
#
|
2269
|
-
#
|
2270
|
-
#
|
2271
|
-
#
|
2272
|
-
#
|
2197
|
+
# The `Status` type defines a logical error model that is suitable for different
|
2198
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
2199
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
2200
|
+
# data: error code, error message, and error details. You can find out more
|
2201
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
2202
|
+
# //cloud.google.com/apis/design/errors).
|
2273
2203
|
# Corresponds to the JSON property `error`
|
2274
2204
|
# @return [Google::Apis::VideointelligenceV1::GoogleRpcStatus]
|
2275
2205
|
attr_accessor :error
|
2276
2206
|
|
2277
|
-
# Explicit content annotation (based on per-frame visual signals only).
|
2278
|
-
#
|
2279
|
-
#
|
2207
|
+
# Explicit content annotation (based on per-frame visual signals only). If no
|
2208
|
+
# explicit content has been detected in a frame, no annotations are present for
|
2209
|
+
# that frame.
|
2280
2210
|
# Corresponds to the JSON property `explicitAnnotation`
|
2281
2211
|
# @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation]
|
2282
2212
|
attr_accessor :explicit_annotation
|
2283
2213
|
|
2284
|
-
# Label annotations on frame level.
|
2285
|
-
#
|
2214
|
+
# Label annotations on frame level. There is exactly one element for each unique
|
2215
|
+
# label.
|
2286
2216
|
# Corresponds to the JSON property `frameLabelAnnotations`
|
2287
2217
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
|
2288
2218
|
attr_accessor :frame_label_annotations
|
2289
2219
|
|
2290
|
-
# Video file location in
|
2291
|
-
# [Cloud Storage](https://cloud.google.com/storage/).
|
2220
|
+
# Video file location in [Cloud Storage](https://cloud.google.com/storage/).
|
2292
2221
|
# Corresponds to the JSON property `inputUri`
|
2293
2222
|
# @return [String]
|
2294
2223
|
attr_accessor :input_uri
|
@@ -2315,11 +2244,11 @@ module Google
|
|
2315
2244
|
attr_accessor :segment_label_annotations
|
2316
2245
|
|
2317
2246
|
# Presence label annotations on video level or user-specified segment level.
|
2318
|
-
# There is exactly one element for each unique label. Compared to the
|
2319
|
-
#
|
2320
|
-
#
|
2321
|
-
#
|
2322
|
-
#
|
2247
|
+
# There is exactly one element for each unique label. Compared to the existing
|
2248
|
+
# topical `segment_label_annotations`, this field presents more fine-grained,
|
2249
|
+
# segment-level labels detected in video content and is made available only when
|
2250
|
+
# the client sets `LabelDetectionConfig.model` to "builtin/latest" in the
|
2251
|
+
# request.
|
2323
2252
|
# Corresponds to the JSON property `segmentPresenceLabelAnnotations`
|
2324
2253
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
|
2325
2254
|
attr_accessor :segment_presence_label_annotations
|
@@ -2329,17 +2258,17 @@ module Google
|
|
2329
2258
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2VideoSegment>]
|
2330
2259
|
attr_accessor :shot_annotations
|
2331
2260
|
|
2332
|
-
# Topical label annotations on shot level.
|
2333
|
-
#
|
2261
|
+
# Topical label annotations on shot level. There is exactly one element for each
|
2262
|
+
# unique label.
|
2334
2263
|
# Corresponds to the JSON property `shotLabelAnnotations`
|
2335
2264
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
|
2336
2265
|
attr_accessor :shot_label_annotations
|
2337
2266
|
|
2338
2267
|
# Presence label annotations on shot level. There is exactly one element for
|
2339
|
-
# each unique label. Compared to the existing topical
|
2340
|
-
#
|
2341
|
-
#
|
2342
|
-
#
|
2268
|
+
# each unique label. Compared to the existing topical `shot_label_annotations`,
|
2269
|
+
# this field presents more fine-grained, shot-level labels detected in video
|
2270
|
+
# content and is made available only when the client sets `LabelDetectionConfig.
|
2271
|
+
# model` to "builtin/latest" in the request.
|
2343
2272
|
# Corresponds to the JSON property `shotPresenceLabelAnnotations`
|
2344
2273
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
|
2345
2274
|
attr_accessor :shot_presence_label_annotations
|
@@ -2349,9 +2278,8 @@ module Google
|
|
2349
2278
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2SpeechTranscription>]
|
2350
2279
|
attr_accessor :speech_transcriptions
|
2351
2280
|
|
2352
|
-
# OCR text detection and tracking.
|
2353
|
-
#
|
2354
|
-
# frame information associated with it.
|
2281
|
+
# OCR text detection and tracking. Annotations for list of detected text
|
2282
|
+
# snippets. Each will have list of frame information associated with it.
|
2355
2283
|
# Corresponds to the JSON property `textAnnotations`
|
2356
2284
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2TextAnnotation>]
|
2357
2285
|
attr_accessor :text_annotations
|
@@ -2383,14 +2311,14 @@ module Google
|
|
2383
2311
|
class GoogleCloudVideointelligenceV1beta2VideoSegment
|
2384
2312
|
include Google::Apis::Core::Hashable
|
2385
2313
|
|
2386
|
-
# Time-offset, relative to the beginning of the video,
|
2387
|
-
#
|
2314
|
+
# Time-offset, relative to the beginning of the video, corresponding to the end
|
2315
|
+
# of the segment (inclusive).
|
2388
2316
|
# Corresponds to the JSON property `endTimeOffset`
|
2389
2317
|
# @return [String]
|
2390
2318
|
attr_accessor :end_time_offset
|
2391
2319
|
|
2392
|
-
# Time-offset, relative to the beginning of the video,
|
2393
|
-
#
|
2320
|
+
# Time-offset, relative to the beginning of the video, corresponding to the
|
2321
|
+
# start of the segment (inclusive).
|
2394
2322
|
# Corresponds to the JSON property `startTimeOffset`
|
2395
2323
|
# @return [String]
|
2396
2324
|
attr_accessor :start_time_offset
|
@@ -2407,41 +2335,41 @@ module Google
|
|
2407
2335
|
end
|
2408
2336
|
|
2409
2337
|
# Word-specific information for recognized words. Word information is only
|
2410
|
-
# included in the response when certain request parameters are set, such
|
2411
|
-
#
|
2338
|
+
# included in the response when certain request parameters are set, such as `
|
2339
|
+
# enable_word_time_offsets`.
|
2412
2340
|
class GoogleCloudVideointelligenceV1beta2WordInfo
|
2413
2341
|
include Google::Apis::Core::Hashable
|
2414
2342
|
|
2415
2343
|
# Output only. The confidence estimate between 0.0 and 1.0. A higher number
|
2416
2344
|
# indicates an estimated greater likelihood that the recognized words are
|
2417
|
-
# correct. This field is set only for the top alternative.
|
2418
|
-
#
|
2419
|
-
#
|
2420
|
-
#
|
2345
|
+
# correct. This field is set only for the top alternative. This field is not
|
2346
|
+
# guaranteed to be accurate and users should not rely on it to be always
|
2347
|
+
# provided. The default of 0.0 is a sentinel value indicating `confidence` was
|
2348
|
+
# not set.
|
2421
2349
|
# Corresponds to the JSON property `confidence`
|
2422
2350
|
# @return [Float]
|
2423
2351
|
attr_accessor :confidence
|
2424
2352
|
|
2425
|
-
# Time offset relative to the beginning of the audio, and
|
2426
|
-
#
|
2427
|
-
#
|
2428
|
-
#
|
2353
|
+
# Time offset relative to the beginning of the audio, and corresponding to the
|
2354
|
+
# end of the spoken word. This field is only set if `enable_word_time_offsets=
|
2355
|
+
# true` and only in the top hypothesis. This is an experimental feature and the
|
2356
|
+
# accuracy of the time offset can vary.
|
2429
2357
|
# Corresponds to the JSON property `endTime`
|
2430
2358
|
# @return [String]
|
2431
2359
|
attr_accessor :end_time
|
2432
2360
|
|
2433
|
-
# Output only. A distinct integer value is assigned for every speaker within
|
2434
|
-
#
|
2435
|
-
#
|
2436
|
-
#
|
2361
|
+
# Output only. A distinct integer value is assigned for every speaker within the
|
2362
|
+
# audio. This field specifies which one of those speakers was detected to have
|
2363
|
+
# spoken this word. Value ranges from 1 up to diarization_speaker_count, and is
|
2364
|
+
# only set if speaker diarization is enabled.
|
2437
2365
|
# Corresponds to the JSON property `speakerTag`
|
2438
2366
|
# @return [Fixnum]
|
2439
2367
|
attr_accessor :speaker_tag
|
2440
2368
|
|
2441
|
-
# Time offset relative to the beginning of the audio, and
|
2442
|
-
#
|
2443
|
-
#
|
2444
|
-
#
|
2369
|
+
# Time offset relative to the beginning of the audio, and corresponding to the
|
2370
|
+
# start of the spoken word. This field is only set if `enable_word_time_offsets=
|
2371
|
+
# true` and only in the top hypothesis. This is an experimental feature and the
|
2372
|
+
# accuracy of the time offset can vary.
|
2445
2373
|
# Corresponds to the JSON property `startTime`
|
2446
2374
|
# @return [String]
|
2447
2375
|
attr_accessor :start_time
|
@@ -2465,9 +2393,9 @@ module Google
|
|
2465
2393
|
end
|
2466
2394
|
end
|
2467
2395
|
|
2468
|
-
# Video annotation progress. Included in the `metadata`
|
2469
|
-
#
|
2470
|
-
#
|
2396
|
+
# Video annotation progress. Included in the `metadata` field of the `Operation`
|
2397
|
+
# returned by the `GetOperation` call of the `google::longrunning::Operations`
|
2398
|
+
# service.
|
2471
2399
|
class GoogleCloudVideointelligenceV1p1beta1AnnotateVideoProgress
|
2472
2400
|
include Google::Apis::Core::Hashable
|
2473
2401
|
|
@@ -2486,9 +2414,9 @@ module Google
|
|
2486
2414
|
end
|
2487
2415
|
end
|
2488
2416
|
|
2489
|
-
# Video annotation response. Included in the `response`
|
2490
|
-
#
|
2491
|
-
#
|
2417
|
+
# Video annotation response. Included in the `response` field of the `Operation`
|
2418
|
+
# returned by the `GetOperation` call of the `google::longrunning::Operations`
|
2419
|
+
# service.
|
2492
2420
|
class GoogleCloudVideointelligenceV1p1beta1AnnotateVideoResponse
|
2493
2421
|
include Google::Apis::Core::Hashable
|
2494
2422
|
|
@@ -2516,14 +2444,14 @@ module Google
|
|
2516
2444
|
# @return [Float]
|
2517
2445
|
attr_accessor :confidence
|
2518
2446
|
|
2519
|
-
# The name of the attribute, for example, glasses, dark_glasses, mouth_open.
|
2520
|
-
#
|
2447
|
+
# The name of the attribute, for example, glasses, dark_glasses, mouth_open. A
|
2448
|
+
# full list of supported type names will be provided in the document.
|
2521
2449
|
# Corresponds to the JSON property `name`
|
2522
2450
|
# @return [String]
|
2523
2451
|
attr_accessor :name
|
2524
2452
|
|
2525
|
-
# Text value of the detection result. For example, the value for "HairColor"
|
2526
|
-
#
|
2453
|
+
# Text value of the detection result. For example, the value for "HairColor" can
|
2454
|
+
# be "black", "blonde", etc.
|
2527
2455
|
# Corresponds to the JSON property `value`
|
2528
2456
|
# @return [String]
|
2529
2457
|
attr_accessor :value
|
@@ -2555,9 +2483,8 @@ module Google
|
|
2555
2483
|
# @return [String]
|
2556
2484
|
attr_accessor :name
|
2557
2485
|
|
2558
|
-
# A vertex represents a 2D point in the image.
|
2559
|
-
#
|
2560
|
-
# and range from 0 to 1.
|
2486
|
+
# A vertex represents a 2D point in the image. NOTE: the normalized vertex
|
2487
|
+
# coordinates are relative to the original image and range from 0 to 1.
|
2561
2488
|
# Corresponds to the JSON property `point`
|
2562
2489
|
# @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1NormalizedVertex]
|
2563
2490
|
attr_accessor :point
|
@@ -2583,8 +2510,7 @@ module Google
|
|
2583
2510
|
# @return [String]
|
2584
2511
|
attr_accessor :description
|
2585
2512
|
|
2586
|
-
# Opaque entity ID. Some IDs may be available in
|
2587
|
-
# [Google Knowledge Graph Search
|
2513
|
+
# Opaque entity ID. Some IDs may be available in [Google Knowledge Graph Search
|
2588
2514
|
# API](https://developers.google.com/knowledge-graph/).
|
2589
2515
|
# Corresponds to the JSON property `entityId`
|
2590
2516
|
# @return [String]
|
@@ -2607,9 +2533,9 @@ module Google
|
|
2607
2533
|
end
|
2608
2534
|
end
|
2609
2535
|
|
2610
|
-
# Explicit content annotation (based on per-frame visual signals only).
|
2611
|
-
#
|
2612
|
-
#
|
2536
|
+
# Explicit content annotation (based on per-frame visual signals only). If no
|
2537
|
+
# explicit content has been detected in a frame, no annotations are present for
|
2538
|
+
# that frame.
|
2613
2539
|
class GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation
|
2614
2540
|
include Google::Apis::Core::Hashable
|
2615
2541
|
|
@@ -2664,10 +2590,9 @@ module Google
|
|
2664
2590
|
class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation
|
2665
2591
|
include Google::Apis::Core::Hashable
|
2666
2592
|
|
2667
|
-
# Common categories for the detected entity.
|
2668
|
-
#
|
2669
|
-
#
|
2670
|
-
# also be a `pet`.
|
2593
|
+
# Common categories for the detected entity. For example, when the label is `
|
2594
|
+
# Terrier`, the category is likely `dog`. And in some cases there might be more
|
2595
|
+
# than one categories e.g., `Terrier` could also be a `pet`.
|
2671
2596
|
# Corresponds to the JSON property `categoryEntities`
|
2672
2597
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1Entity>]
|
2673
2598
|
attr_accessor :category_entities
|
@@ -2766,14 +2691,14 @@ module Google
|
|
2766
2691
|
# @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1Entity]
|
2767
2692
|
attr_accessor :entity
|
2768
2693
|
|
2769
|
-
# All video segments where the recognized logo appears. There might be
|
2770
|
-
#
|
2694
|
+
# All video segments where the recognized logo appears. There might be multiple
|
2695
|
+
# instances of the same logo class appearing in one VideoSegment.
|
2771
2696
|
# Corresponds to the JSON property `segments`
|
2772
2697
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1VideoSegment>]
|
2773
2698
|
attr_accessor :segments
|
2774
2699
|
|
2775
|
-
# All logo tracks where the recognized logo appears. Each track corresponds
|
2776
|
-
#
|
2700
|
+
# All logo tracks where the recognized logo appears. Each track corresponds to
|
2701
|
+
# one logo instance appearing in consecutive frames.
|
2777
2702
|
# Corresponds to the JSON property `tracks`
|
2778
2703
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1Track>]
|
2779
2704
|
attr_accessor :tracks
|
@@ -2790,9 +2715,8 @@ module Google
|
|
2790
2715
|
end
|
2791
2716
|
end
|
2792
2717
|
|
2793
|
-
# Normalized bounding box.
|
2794
|
-
#
|
2795
|
-
# Range: [0, 1].
|
2718
|
+
# Normalized bounding box. The normalized vertex coordinates are relative to the
|
2719
|
+
# original image. Range: [0, 1].
|
2796
2720
|
class GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox
|
2797
2721
|
include Google::Apis::Core::Hashable
|
2798
2722
|
|
@@ -2830,20 +2754,12 @@ module Google
|
|
2830
2754
|
end
|
2831
2755
|
|
2832
2756
|
# Normalized bounding polygon for text (that might not be aligned with axis).
|
2833
|
-
# Contains list of the corner points in clockwise order starting from
|
2834
|
-
#
|
2835
|
-
#
|
2836
|
-
#
|
2837
|
-
#
|
2838
|
-
#
|
2839
|
-
# When it's clockwise rotated 180 degrees around the top-left corner it
|
2840
|
-
# becomes:
|
2841
|
-
# 2----3
|
2842
|
-
# | |
|
2843
|
-
# 1----0
|
2844
|
-
# and the vertex order will still be (0, 1, 2, 3). Note that values can be less
|
2845
|
-
# than 0, or greater than 1 due to trignometric calculations for location of
|
2846
|
-
# the box.
|
2757
|
+
# Contains list of the corner points in clockwise order starting from top-left
|
2758
|
+
# corner. For example, for a rectangular bounding box: When the text is
|
2759
|
+
# horizontal it might look like: 0----1 | | 3----2 When it's clockwise rotated
|
2760
|
+
# 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the
|
2761
|
+
# vertex order will still be (0, 1, 2, 3). Note that values can be less than 0,
|
2762
|
+
# or greater than 1 due to trignometric calculations for location of the box.
|
2847
2763
|
class GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingPoly
|
2848
2764
|
include Google::Apis::Core::Hashable
|
2849
2765
|
|
@@ -2862,9 +2778,8 @@ module Google
|
|
2862
2778
|
end
|
2863
2779
|
end
|
2864
2780
|
|
2865
|
-
# A vertex represents a 2D point in the image.
|
2866
|
-
#
|
2867
|
-
# and range from 0 to 1.
|
2781
|
+
# A vertex represents a 2D point in the image. NOTE: the normalized vertex
|
2782
|
+
# coordinates are relative to the original image and range from 0 to 1.
|
2868
2783
|
class GoogleCloudVideointelligenceV1p1beta1NormalizedVertex
|
2869
2784
|
include Google::Apis::Core::Hashable
|
2870
2785
|
|
@@ -2903,10 +2818,10 @@ module Google
|
|
2903
2818
|
# @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1Entity]
|
2904
2819
|
attr_accessor :entity
|
2905
2820
|
|
2906
|
-
# Information corresponding to all frames where this object track appears.
|
2907
|
-
#
|
2908
|
-
#
|
2909
|
-
#
|
2821
|
+
# Information corresponding to all frames where this object track appears. Non-
|
2822
|
+
# streaming batch mode: it may be one or multiple ObjectTrackingFrame messages
|
2823
|
+
# in frames. Streaming mode: it can only be one ObjectTrackingFrame message in
|
2824
|
+
# frames.
|
2910
2825
|
# Corresponds to the JSON property `frames`
|
2911
2826
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1ObjectTrackingFrame>]
|
2912
2827
|
attr_accessor :frames
|
@@ -2916,12 +2831,11 @@ module Google
|
|
2916
2831
|
# @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1VideoSegment]
|
2917
2832
|
attr_accessor :segment
|
2918
2833
|
|
2919
|
-
# Streaming mode ONLY.
|
2920
|
-
#
|
2921
|
-
#
|
2922
|
-
#
|
2923
|
-
#
|
2924
|
-
# ObjectTrackAnnotation of the same track_id over time.
|
2834
|
+
# Streaming mode ONLY. In streaming mode, we do not know the end time of a
|
2835
|
+
# tracked object before it is completed. Hence, there is no VideoSegment info
|
2836
|
+
# returned. Instead, we provide a unique identifiable integer track_id so that
|
2837
|
+
# the customers can correlate the results of the ongoing ObjectTrackAnnotation
|
2838
|
+
# of the same track_id over time.
|
2925
2839
|
# Corresponds to the JSON property `trackId`
|
2926
2840
|
# @return [Fixnum]
|
2927
2841
|
attr_accessor :track_id
|
@@ -2951,9 +2865,8 @@ module Google
|
|
2951
2865
|
class GoogleCloudVideointelligenceV1p1beta1ObjectTrackingFrame
|
2952
2866
|
include Google::Apis::Core::Hashable
|
2953
2867
|
|
2954
|
-
# Normalized bounding box.
|
2955
|
-
#
|
2956
|
-
# Range: [0, 1].
|
2868
|
+
# Normalized bounding box. The normalized vertex coordinates are relative to the
|
2869
|
+
# original image. Range: [0, 1].
|
2957
2870
|
# Corresponds to the JSON property `normalizedBoundingBox`
|
2958
2871
|
# @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox]
|
2959
2872
|
attr_accessor :normalized_bounding_box
|
@@ -2980,10 +2893,10 @@ module Google
|
|
2980
2893
|
|
2981
2894
|
# Output only. The confidence estimate between 0.0 and 1.0. A higher number
|
2982
2895
|
# indicates an estimated greater likelihood that the recognized words are
|
2983
|
-
# correct. This field is set only for the top alternative.
|
2984
|
-
#
|
2985
|
-
#
|
2986
|
-
#
|
2896
|
+
# correct. This field is set only for the top alternative. This field is not
|
2897
|
+
# guaranteed to be accurate and users should not rely on it to be always
|
2898
|
+
# provided. The default of 0.0 is a sentinel value indicating `confidence` was
|
2899
|
+
# not set.
|
2987
2900
|
# Corresponds to the JSON property `confidence`
|
2988
2901
|
# @return [Float]
|
2989
2902
|
attr_accessor :confidence
|
@@ -2994,8 +2907,8 @@ module Google
|
|
2994
2907
|
attr_accessor :transcript
|
2995
2908
|
|
2996
2909
|
# Output only. A list of word-specific information for each recognized word.
|
2997
|
-
# Note: When `enable_speaker_diarization` is set to true, you will see all
|
2998
|
-
#
|
2910
|
+
# Note: When `enable_speaker_diarization` is set to true, you will see all the
|
2911
|
+
# words from the beginning of the audio.
|
2999
2912
|
# Corresponds to the JSON property `words`
|
3000
2913
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1WordInfo>]
|
3001
2914
|
attr_accessor :words
|
@@ -3016,18 +2929,17 @@ module Google
|
|
3016
2929
|
class GoogleCloudVideointelligenceV1p1beta1SpeechTranscription
|
3017
2930
|
include Google::Apis::Core::Hashable
|
3018
2931
|
|
3019
|
-
# May contain one or more recognition hypotheses (up to the maximum specified
|
3020
|
-
#
|
3021
|
-
#
|
3022
|
-
#
|
2932
|
+
# May contain one or more recognition hypotheses (up to the maximum specified in
|
2933
|
+
# `max_alternatives`). These alternatives are ordered in terms of accuracy, with
|
2934
|
+
# the top (first) alternative being the most probable, as ranked by the
|
2935
|
+
# recognizer.
|
3023
2936
|
# Corresponds to the JSON property `alternatives`
|
3024
2937
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative>]
|
3025
2938
|
attr_accessor :alternatives
|
3026
2939
|
|
3027
2940
|
# Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
|
3028
|
-
# language tag of
|
3029
|
-
#
|
3030
|
-
# most likelihood of being spoken in the audio.
|
2941
|
+
# language tag of the language in this result. This language code was detected
|
2942
|
+
# to have the most likelihood of being spoken in the audio.
|
3031
2943
|
# Corresponds to the JSON property `languageCode`
|
3032
2944
|
# @return [String]
|
3033
2945
|
attr_accessor :language_code
|
@@ -3076,27 +2988,19 @@ module Google
|
|
3076
2988
|
end
|
3077
2989
|
end
|
3078
2990
|
|
3079
|
-
# Video frame level annotation results for text annotation (OCR).
|
3080
|
-
#
|
3081
|
-
#
|
2991
|
+
# Video frame level annotation results for text annotation (OCR). Contains
|
2992
|
+
# information regarding timestamp and bounding box locations for the frames
|
2993
|
+
# containing detected OCR text snippets.
|
3082
2994
|
class GoogleCloudVideointelligenceV1p1beta1TextFrame
|
3083
2995
|
include Google::Apis::Core::Hashable
|
3084
2996
|
|
3085
2997
|
# Normalized bounding polygon for text (that might not be aligned with axis).
|
3086
|
-
# Contains list of the corner points in clockwise order starting from
|
3087
|
-
#
|
3088
|
-
#
|
3089
|
-
#
|
3090
|
-
#
|
3091
|
-
#
|
3092
|
-
# When it's clockwise rotated 180 degrees around the top-left corner it
|
3093
|
-
# becomes:
|
3094
|
-
# 2----3
|
3095
|
-
# | |
|
3096
|
-
# 1----0
|
3097
|
-
# and the vertex order will still be (0, 1, 2, 3). Note that values can be less
|
3098
|
-
# than 0, or greater than 1 due to trignometric calculations for location of
|
3099
|
-
# the box.
|
2998
|
+
# Contains list of the corner points in clockwise order starting from top-left
|
2999
|
+
# corner. For example, for a rectangular bounding box: When the text is
|
3000
|
+
# horizontal it might look like: 0----1 | | 3----2 When it's clockwise rotated
|
3001
|
+
# 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the
|
3002
|
+
# vertex order will still be (0, 1, 2, 3). Note that values can be less than 0,
|
3003
|
+
# or greater than 1 due to trignometric calculations for location of the box.
|
3100
3004
|
# Corresponds to the JSON property `rotatedBoundingBox`
|
3101
3005
|
# @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingPoly]
|
3102
3006
|
attr_accessor :rotated_bounding_box
|
@@ -3149,9 +3053,8 @@ module Google
|
|
3149
3053
|
end
|
3150
3054
|
end
|
3151
3055
|
|
3152
|
-
# For tracking related features.
|
3153
|
-
#
|
3154
|
-
# normalized_bounding_box.
|
3056
|
+
# For tracking related features. An object at time_offset with attributes, and
|
3057
|
+
# located with normalized_bounding_box.
|
3155
3058
|
class GoogleCloudVideointelligenceV1p1beta1TimestampedObject
|
3156
3059
|
include Google::Apis::Core::Hashable
|
3157
3060
|
|
@@ -3165,15 +3068,14 @@ module Google
|
|
3165
3068
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1DetectedLandmark>]
|
3166
3069
|
attr_accessor :landmarks
|
3167
3070
|
|
3168
|
-
# Normalized bounding box.
|
3169
|
-
#
|
3170
|
-
# Range: [0, 1].
|
3071
|
+
# Normalized bounding box. The normalized vertex coordinates are relative to the
|
3072
|
+
# original image. Range: [0, 1].
|
3171
3073
|
# Corresponds to the JSON property `normalizedBoundingBox`
|
3172
3074
|
# @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox]
|
3173
3075
|
attr_accessor :normalized_bounding_box
|
3174
3076
|
|
3175
|
-
# Time-offset, relative to the beginning of the video,
|
3176
|
-
#
|
3077
|
+
# Time-offset, relative to the beginning of the video, corresponding to the
|
3078
|
+
# video frame for this object.
|
3177
3079
|
# Corresponds to the JSON property `timeOffset`
|
3178
3080
|
# @return [String]
|
3179
3081
|
attr_accessor :time_offset
|
@@ -3232,20 +3134,19 @@ module Google
|
|
3232
3134
|
class GoogleCloudVideointelligenceV1p1beta1VideoAnnotationProgress
|
3233
3135
|
include Google::Apis::Core::Hashable
|
3234
3136
|
|
3235
|
-
# Specifies which feature is being tracked if the request contains more than
|
3236
|
-
#
|
3137
|
+
# Specifies which feature is being tracked if the request contains more than one
|
3138
|
+
# feature.
|
3237
3139
|
# Corresponds to the JSON property `feature`
|
3238
3140
|
# @return [String]
|
3239
3141
|
attr_accessor :feature
|
3240
3142
|
|
3241
|
-
# Video file location in
|
3242
|
-
# [Cloud Storage](https://cloud.google.com/storage/).
|
3143
|
+
# Video file location in [Cloud Storage](https://cloud.google.com/storage/).
|
3243
3144
|
# Corresponds to the JSON property `inputUri`
|
3244
3145
|
# @return [String]
|
3245
3146
|
attr_accessor :input_uri
|
3246
3147
|
|
3247
|
-
# Approximate percentage processed thus far. Guaranteed to be
|
3248
|
-
#
|
3148
|
+
# Approximate percentage processed thus far. Guaranteed to be 100 when fully
|
3149
|
+
# processed.
|
3249
3150
|
# Corresponds to the JSON property `progressPercent`
|
3250
3151
|
# @return [Fixnum]
|
3251
3152
|
attr_accessor :progress_percent
|
@@ -3284,31 +3185,30 @@ module Google
|
|
3284
3185
|
class GoogleCloudVideointelligenceV1p1beta1VideoAnnotationResults
|
3285
3186
|
include Google::Apis::Core::Hashable
|
3286
3187
|
|
3287
|
-
# The `Status` type defines a logical error model that is suitable for
|
3288
|
-
#
|
3289
|
-
#
|
3290
|
-
#
|
3291
|
-
#
|
3292
|
-
#
|
3188
|
+
# The `Status` type defines a logical error model that is suitable for different
|
3189
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
3190
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
3191
|
+
# data: error code, error message, and error details. You can find out more
|
3192
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
3193
|
+
# //cloud.google.com/apis/design/errors).
|
3293
3194
|
# Corresponds to the JSON property `error`
|
3294
3195
|
# @return [Google::Apis::VideointelligenceV1::GoogleRpcStatus]
|
3295
3196
|
attr_accessor :error
|
3296
3197
|
|
3297
|
-
# Explicit content annotation (based on per-frame visual signals only).
|
3298
|
-
#
|
3299
|
-
#
|
3198
|
+
# Explicit content annotation (based on per-frame visual signals only). If no
|
3199
|
+
# explicit content has been detected in a frame, no annotations are present for
|
3200
|
+
# that frame.
|
3300
3201
|
# Corresponds to the JSON property `explicitAnnotation`
|
3301
3202
|
# @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation]
|
3302
3203
|
attr_accessor :explicit_annotation
|
3303
3204
|
|
3304
|
-
# Label annotations on frame level.
|
3305
|
-
#
|
3205
|
+
# Label annotations on frame level. There is exactly one element for each unique
|
3206
|
+
# label.
|
3306
3207
|
# Corresponds to the JSON property `frameLabelAnnotations`
|
3307
3208
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>]
|
3308
3209
|
attr_accessor :frame_label_annotations
|
3309
3210
|
|
3310
|
-
# Video file location in
|
3311
|
-
# [Cloud Storage](https://cloud.google.com/storage/).
|
3211
|
+
# Video file location in [Cloud Storage](https://cloud.google.com/storage/).
|
3312
3212
|
# Corresponds to the JSON property `inputUri`
|
3313
3213
|
# @return [String]
|
3314
3214
|
attr_accessor :input_uri
|
@@ -3335,11 +3235,11 @@ module Google
|
|
3335
3235
|
attr_accessor :segment_label_annotations
|
3336
3236
|
|
3337
3237
|
# Presence label annotations on video level or user-specified segment level.
|
3338
|
-
# There is exactly one element for each unique label. Compared to the
|
3339
|
-
#
|
3340
|
-
#
|
3341
|
-
#
|
3342
|
-
#
|
3238
|
+
# There is exactly one element for each unique label. Compared to the existing
|
3239
|
+
# topical `segment_label_annotations`, this field presents more fine-grained,
|
3240
|
+
# segment-level labels detected in video content and is made available only when
|
3241
|
+
# the client sets `LabelDetectionConfig.model` to "builtin/latest" in the
|
3242
|
+
# request.
|
3343
3243
|
# Corresponds to the JSON property `segmentPresenceLabelAnnotations`
|
3344
3244
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>]
|
3345
3245
|
attr_accessor :segment_presence_label_annotations
|
@@ -3349,17 +3249,17 @@ module Google
|
|
3349
3249
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1VideoSegment>]
|
3350
3250
|
attr_accessor :shot_annotations
|
3351
3251
|
|
3352
|
-
# Topical label annotations on shot level.
|
3353
|
-
#
|
3252
|
+
# Topical label annotations on shot level. There is exactly one element for each
|
3253
|
+
# unique label.
|
3354
3254
|
# Corresponds to the JSON property `shotLabelAnnotations`
|
3355
3255
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>]
|
3356
3256
|
attr_accessor :shot_label_annotations
|
3357
3257
|
|
3358
3258
|
# Presence label annotations on shot level. There is exactly one element for
|
3359
|
-
# each unique label. Compared to the existing topical
|
3360
|
-
#
|
3361
|
-
#
|
3362
|
-
#
|
3259
|
+
# each unique label. Compared to the existing topical `shot_label_annotations`,
|
3260
|
+
# this field presents more fine-grained, shot-level labels detected in video
|
3261
|
+
# content and is made available only when the client sets `LabelDetectionConfig.
|
3262
|
+
# model` to "builtin/latest" in the request.
|
3363
3263
|
# Corresponds to the JSON property `shotPresenceLabelAnnotations`
|
3364
3264
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>]
|
3365
3265
|
attr_accessor :shot_presence_label_annotations
|
@@ -3369,9 +3269,8 @@ module Google
|
|
3369
3269
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1SpeechTranscription>]
|
3370
3270
|
attr_accessor :speech_transcriptions
|
3371
3271
|
|
3372
|
-
# OCR text detection and tracking.
|
3373
|
-
#
|
3374
|
-
# frame information associated with it.
|
3272
|
+
# OCR text detection and tracking. Annotations for list of detected text
|
3273
|
+
# snippets. Each will have list of frame information associated with it.
|
3375
3274
|
# Corresponds to the JSON property `textAnnotations`
|
3376
3275
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1TextAnnotation>]
|
3377
3276
|
attr_accessor :text_annotations
|
@@ -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::VideointelligenceV1::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::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1Entity>]
|
3693
3589
|
attr_accessor :category_entities
|
@@ -3786,14 +3682,14 @@ module Google
|
|
3786
3682
|
# @return [Google::Apis::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingFrame>]
|
3932
3818
|
attr_accessor :frames
|
@@ -3936,12 +3822,11 @@ module Google
|
|
3936
3822
|
# @return [Google::Apis::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>]
|
4365
4236
|
attr_accessor :segment_presence_label_annotations
|
@@ -4369,17 +4240,17 @@ module Google
|
|
4369
4240
|
# @return [Array<Google::Apis::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>]
|
4385
4256
|
attr_accessor :shot_presence_label_annotations
|
@@ -4389,9 +4260,8 @@ module Google
|
|
4389
4260
|
# @return [Array<Google::Apis::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1Entity>]
|
4832
4698
|
attr_accessor :category_entities
|
@@ -4925,14 +4791,14 @@ module Google
|
|
4925
4791
|
# @return [Google::Apis::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingFrame>]
|
5071
4927
|
attr_accessor :frames
|
@@ -5075,12 +4931,11 @@ module Google
|
|
5075
4931
|
# @return [Google::Apis::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation]
|
5598
5439
|
attr_accessor :explicit_annotation
|
@@ -5602,14 +5443,13 @@ module Google
|
|
5602
5443
|
# @return [Array<Google::Apis::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]
|
5651
5491
|
attr_accessor :segment_presence_label_annotations
|
@@ -5655,17 +5495,17 @@ module Google
|
|
5655
5495
|
# @return [Array<Google::Apis::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]
|
5671
5511
|
attr_accessor :shot_presence_label_annotations
|
@@ -5675,9 +5515,8 @@ module Google
|
|
5675
5515
|
# @return [Array<Google::Apis::VideointelligenceV1::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::VideointelligenceV1::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
|
@@ -5837,47 +5676,45 @@ module Google
|
|
5837
5676
|
class GoogleLongrunningOperation
|
5838
5677
|
include Google::Apis::Core::Hashable
|
5839
5678
|
|
5840
|
-
# If the value is `false`, it means the operation is still in progress.
|
5841
|
-
#
|
5842
|
-
# available.
|
5679
|
+
# If the value is `false`, it means the operation is still in progress. If `true`
|
5680
|
+
# , the operation is completed, and either `error` or `response` is available.
|
5843
5681
|
# Corresponds to the JSON property `done`
|
5844
5682
|
# @return [Boolean]
|
5845
5683
|
attr_accessor :done
|
5846
5684
|
alias_method :done?, :done
|
5847
5685
|
|
5848
|
-
# The `Status` type defines a logical error model that is suitable for
|
5849
|
-
#
|
5850
|
-
#
|
5851
|
-
#
|
5852
|
-
#
|
5853
|
-
#
|
5686
|
+
# The `Status` type defines a logical error model that is suitable for different
|
5687
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
5688
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
5689
|
+
# data: error code, error message, and error details. You can find out more
|
5690
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
5691
|
+
# //cloud.google.com/apis/design/errors).
|
5854
5692
|
# Corresponds to the JSON property `error`
|
5855
5693
|
# @return [Google::Apis::VideointelligenceV1::GoogleRpcStatus]
|
5856
5694
|
attr_accessor :error
|
5857
5695
|
|
5858
|
-
# Service-specific metadata associated with the operation.
|
5859
|
-
#
|
5860
|
-
#
|
5861
|
-
#
|
5696
|
+
# Service-specific metadata associated with the operation. It typically contains
|
5697
|
+
# progress information and common metadata such as create time. Some services
|
5698
|
+
# might not provide such metadata. Any method that returns a long-running
|
5699
|
+
# operation should document the metadata type, if any.
|
5862
5700
|
# Corresponds to the JSON property `metadata`
|
5863
5701
|
# @return [Hash<String,Object>]
|
5864
5702
|
attr_accessor :metadata
|
5865
5703
|
|
5866
5704
|
# The server-assigned name, which is only unique within the same service that
|
5867
|
-
# originally returns it. If you use the default HTTP mapping, the
|
5868
|
-
#
|
5705
|
+
# originally returns it. If you use the default HTTP mapping, the `name` should
|
5706
|
+
# be a resource name ending with `operations/`unique_id``.
|
5869
5707
|
# Corresponds to the JSON property `name`
|
5870
5708
|
# @return [String]
|
5871
5709
|
attr_accessor :name
|
5872
5710
|
|
5873
|
-
# The normal response of the operation in case of success.
|
5874
|
-
# method returns no data on success, such as `Delete`, the response is
|
5875
|
-
#
|
5876
|
-
#
|
5877
|
-
#
|
5878
|
-
#
|
5879
|
-
#
|
5880
|
-
# `TakeSnapshotResponse`.
|
5711
|
+
# The normal response of the operation in case of success. If the original
|
5712
|
+
# method returns no data on success, such as `Delete`, the response is `google.
|
5713
|
+
# protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
|
5714
|
+
# the response should be the resource. For other methods, the response should
|
5715
|
+
# have the type `XxxResponse`, where `Xxx` is the original method name. For
|
5716
|
+
# example, if the original method name is `TakeSnapshot()`, the inferred
|
5717
|
+
# response type is `TakeSnapshotResponse`.
|
5881
5718
|
# Corresponds to the JSON property `response`
|
5882
5719
|
# @return [Hash<String,Object>]
|
5883
5720
|
attr_accessor :response
|
@@ -5896,13 +5733,11 @@ module Google
|
|
5896
5733
|
end
|
5897
5734
|
end
|
5898
5735
|
|
5899
|
-
# A generic empty message that you can re-use to avoid defining duplicated
|
5900
|
-
#
|
5901
|
-
#
|
5902
|
-
#
|
5903
|
-
#
|
5904
|
-
# `
|
5905
|
-
# The JSON representation for `Empty` is empty JSON object ````.
|
5736
|
+
# A generic empty message that you can re-use to avoid defining duplicated empty
|
5737
|
+
# messages in your APIs. A typical example is to use it as the request or the
|
5738
|
+
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
5739
|
+
# protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
|
5740
|
+
# `Empty` is empty JSON object ````.
|
5906
5741
|
class GoogleProtobufEmpty
|
5907
5742
|
include Google::Apis::Core::Hashable
|
5908
5743
|
|
@@ -5915,12 +5750,12 @@ module Google
|
|
5915
5750
|
end
|
5916
5751
|
end
|
5917
5752
|
|
5918
|
-
# The `Status` type defines a logical error model that is suitable for
|
5919
|
-
#
|
5920
|
-
#
|
5921
|
-
#
|
5922
|
-
#
|
5923
|
-
#
|
5753
|
+
# The `Status` type defines a logical error model that is suitable for different
|
5754
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
5755
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
5756
|
+
# data: error code, error message, and error details. You can find out more
|
5757
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
5758
|
+
# //cloud.google.com/apis/design/errors).
|
5924
5759
|
class GoogleRpcStatus
|
5925
5760
|
include Google::Apis::Core::Hashable
|
5926
5761
|
|
@@ -5929,15 +5764,15 @@ module Google
|
|
5929
5764
|
# @return [Fixnum]
|
5930
5765
|
attr_accessor :code
|
5931
5766
|
|
5932
|
-
# A list of messages that carry the error details.
|
5767
|
+
# A list of messages that carry the error details. There is a common set of
|
5933
5768
|
# message types for APIs to use.
|
5934
5769
|
# Corresponds to the JSON property `details`
|
5935
5770
|
# @return [Array<Hash<String,Object>>]
|
5936
5771
|
attr_accessor :details
|
5937
5772
|
|
5938
|
-
# A developer-facing error message, which should be in English. Any
|
5939
|
-
#
|
5940
|
-
#
|
5773
|
+
# A developer-facing error message, which should be in English. Any user-facing
|
5774
|
+
# error message should be localized and sent in the google.rpc.Status.details
|
5775
|
+
# field, or localized by the client.
|
5941
5776
|
# Corresponds to the JSON property `message`
|
5942
5777
|
# @return [String]
|
5943
5778
|
attr_accessor :message
|