google-api-client 0.37.3 → 0.38.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +146 -0
- data/api_list_config.yaml +2 -0
- data/api_names.yaml +2 -0
- data/bin/generate-api +9 -1
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +0 -36
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +0 -6
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +0 -36
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +0 -6
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +10 -3
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +0 -147
- data/generated/google/apis/admin_directory_v1/representations.rb +0 -54
- data/generated/google/apis/admin_directory_v1/service.rb +0 -60
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +5 -1
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +2 -2
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +2 -2
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/service.rb +2 -2
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +2 -2
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +2 -2
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +224 -5
- data/generated/google/apis/bigquery_v2/representations.rb +65 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +413 -0
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +194 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +745 -0
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +69 -20
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +29 -13
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +4 -39
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +20 -17
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +26 -21
- data/generated/google/apis/bigtableadmin_v2/service.rb +93 -53
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/service.rb +3 -3
- data/generated/google/apis/blogger_v2.rb +5 -4
- data/generated/google/apis/blogger_v2/classes.rb +297 -45
- data/generated/google/apis/blogger_v2/representations.rb +105 -26
- data/generated/google/apis/blogger_v2/service.rb +79 -134
- data/generated/google/apis/blogger_v3.rb +4 -3
- data/generated/google/apis/blogger_v3/classes.rb +60 -53
- data/generated/google/apis/blogger_v3/representations.rb +10 -18
- data/generated/google/apis/blogger_v3/service.rb +183 -463
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +1 -14
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +1 -1
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +81 -90
- data/generated/google/apis/cloudasset_v1/representations.rb +1 -6
- data/generated/google/apis/cloudasset_v1/service.rb +2 -2
- data/generated/google/apis/cloudasset_v1p1beta1.rb +34 -0
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +669 -0
- data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +199 -0
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +187 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +12 -1
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +9 -0
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +9 -0
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +8 -0
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +0 -561
- data/generated/google/apis/cloudidentity_v1/representations.rb +0 -226
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +652 -2
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +272 -0
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +3 -0
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +52 -50
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +6 -1
- data/generated/google/apis/cloudtrace_v1.rb +3 -3
- data/generated/google/apis/cloudtrace_v1/service.rb +2 -2
- data/generated/google/apis/cloudtrace_v2.rb +3 -3
- data/generated/google/apis/cloudtrace_v2/service.rb +2 -2
- data/generated/google/apis/cloudtrace_v2beta1.rb +3 -3
- data/generated/google/apis/cloudtrace_v2beta1/classes.rb +1 -2
- data/generated/google/apis/cloudtrace_v2beta1/service.rb +2 -2
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +178 -0
- data/generated/google/apis/composer_v1/representations.rb +54 -0
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +36 -5
- data/generated/google/apis/composer_v1beta1/representations.rb +4 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +1320 -307
- data/generated/google/apis/compute_alpha/representations.rb +284 -18
- data/generated/google/apis/compute_alpha/service.rb +4914 -3211
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +819 -236
- data/generated/google/apis/compute_beta/representations.rb +245 -16
- data/generated/google/apis/compute_beta/service.rb +3369 -2227
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +837 -133
- data/generated/google/apis/compute_v1/representations.rb +307 -0
- data/generated/google/apis/compute_v1/service.rb +3155 -2026
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +42 -22
- data/generated/google/apis/container_v1/service.rb +2 -2
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +116 -136
- data/generated/google/apis/container_v1beta1/representations.rb +23 -51
- data/generated/google/apis/container_v1beta1/service.rb +2 -2
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +1030 -113
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +987 -138
- data/generated/google/apis/content_v2_1/representations.rb +87 -0
- data/generated/google/apis/content_v2_1/service.rb +73 -0
- data/generated/google/apis/customsearch_v1.rb +3 -3
- data/generated/google/apis/customsearch_v1/classes.rb +1194 -353
- data/generated/google/apis/customsearch_v1/representations.rb +166 -95
- data/generated/google/apis/customsearch_v1/service.rb +373 -104
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +2 -2
- data/generated/google/apis/datacatalog_v1beta1/service.rb +16 -24
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +220 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +99 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +327 -0
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +27 -1
- data/generated/google/apis/datafusion_v1beta1/representations.rb +15 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +76 -7
- data/generated/google/apis/dataproc_v1/representations.rb +21 -0
- data/generated/google/apis/dataproc_v1/service.rb +72 -15
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +191 -7
- data/generated/google/apis/dataproc_v1beta2/representations.rb +79 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +148 -15
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +19 -13
- data/generated/google/apis/dfareporting_v3_3/service.rb +5 -4
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +152 -15
- data/generated/google/apis/dfareporting_v3_4/representations.rb +46 -0
- data/generated/google/apis/dfareporting_v3_4/service.rb +5 -4
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +130 -127
- data/generated/google/apis/dialogflow_v2/service.rb +49 -49
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +129 -126
- data/generated/google/apis/dialogflow_v2beta1/service.rb +96 -96
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +80 -14
- data/generated/google/apis/dlp_v2/representations.rb +32 -0
- data/generated/google/apis/dlp_v2/service.rb +3 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +9 -2
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/service.rb +0 -55
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +54 -2
- data/generated/google/apis/drive_v2/representations.rb +18 -0
- data/generated/google/apis/drive_v2/service.rb +81 -9
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +54 -2
- data/generated/google/apis/drive_v3/representations.rb +18 -0
- data/generated/google/apis/drive_v3/service.rb +37 -4
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +2 -2
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/service.rb +8 -5
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +6 -6
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +762 -3
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +11 -2
- data/generated/google/apis/firestore_v1/representations.rb +2 -0
- data/generated/google/apis/firestore_v1/service.rb +2 -2
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +11 -2
- data/generated/google/apis/firestore_v1beta1/representations.rb +2 -0
- data/generated/google/apis/firestore_v1beta1/service.rb +2 -2
- data/generated/google/apis/games_configuration_v1configuration.rb +4 -3
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +39 -53
- data/generated/google/apis/games_configuration_v1configuration/service.rb +58 -169
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/classes.rb +7 -0
- data/generated/google/apis/games_management_v1management/representations.rb +1 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +13 -0
- data/generated/google/apis/games_v1/representations.rb +2 -0
- data/generated/google/apis/{proximitybeacon_v1beta1.rb → gameservices_v1beta.rb} +11 -11
- data/generated/google/apis/gameservices_v1beta/classes.rb +2342 -0
- data/generated/google/apis/gameservices_v1beta/representations.rb +971 -0
- data/generated/google/apis/gameservices_v1beta/service.rb +1469 -0
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/service.rb +34 -0
- data/generated/google/apis/gmail_v1.rb +3 -2
- data/generated/google/apis/gmail_v1/classes.rb +258 -199
- data/generated/google/apis/gmail_v1/service.rb +552 -744
- data/generated/google/apis/{mirror_v1.rb → healthcare_v1.rb} +10 -13
- data/generated/google/apis/healthcare_v1/classes.rb +2639 -0
- data/generated/google/apis/healthcare_v1/representations.rb +1114 -0
- data/generated/google/apis/healthcare_v1/service.rb +3470 -0
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +569 -23
- data/generated/google/apis/healthcare_v1beta1/representations.rb +236 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +147 -18
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +67 -63
- data/generated/google/apis/homegraph_v1/service.rb +43 -47
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +190 -0
- data/generated/google/apis/iap_v1/representations.rb +66 -0
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +6 -6
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +5 -5
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +8 -7
- data/generated/google/apis/logging_v2.rb +3 -3
- data/generated/google/apis/logging_v2/classes.rb +3 -4
- data/generated/google/apis/logging_v2/service.rb +2 -2
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +54 -145
- data/generated/google/apis/managedidentities_v1/representations.rb +17 -33
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -145
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +17 -33
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -145
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +17 -33
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +3 -3
- data/generated/google/apis/manufacturers_v1/representations.rb +1 -1
- data/generated/google/apis/memcache_v1beta2.rb +35 -0
- data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → memcache_v1beta2}/classes.rb +1083 -761
- data/generated/google/apis/memcache_v1beta2/representations.rb +557 -0
- data/generated/google/apis/memcache_v1beta2/service.rb +674 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +47 -7
- data/generated/google/apis/ml_v1/representations.rb +4 -0
- data/generated/google/apis/monitoring_v1.rb +7 -8
- data/generated/google/apis/monitoring_v1/classes.rb +54 -15
- data/generated/google/apis/monitoring_v1/representations.rb +3 -0
- data/generated/google/apis/monitoring_v1/service.rb +7 -8
- data/generated/google/apis/monitoring_v3.rb +7 -8
- data/generated/google/apis/monitoring_v3/classes.rb +300 -27
- data/generated/google/apis/monitoring_v3/representations.rb +128 -0
- data/generated/google/apis/monitoring_v3/service.rb +52 -17
- data/generated/google/apis/oauth2_v2.rb +4 -4
- data/generated/google/apis/oauth2_v2/classes.rb +1 -13
- data/generated/google/apis/oauth2_v2/representations.rb +2 -4
- data/generated/google/apis/oauth2_v2/service.rb +10 -12
- data/generated/google/apis/osconfig_v1.rb +35 -0
- data/generated/google/apis/osconfig_v1/classes.rb +1223 -0
- data/generated/google/apis/osconfig_v1/representations.rb +506 -0
- data/generated/google/apis/osconfig_v1/service.rb +386 -0
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +10 -2
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +30 -12
- data/generated/google/apis/people_v1/representations.rb +1 -0
- data/generated/google/apis/people_v1/service.rb +12 -24
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +4 -3
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +282 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +9 -5
- data/generated/google/apis/pubsub_v1/service.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +5 -2
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +1 -4
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +30 -7
- data/generated/google/apis/redis_v1/representations.rb +13 -0
- data/generated/google/apis/redis_v1/service.rb +36 -0
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +11 -7
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +171 -37
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +28 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +171 -37
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +28 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +181 -45
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +29 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +5 -1
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +6 -13
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +4 -3
- data/generated/google/apis/sasportal_v1alpha1/service.rb +282 -0
- data/generated/google/apis/secretmanager_v1.rb +2 -2
- data/generated/google/apis/secretmanager_v1/service.rb +4 -1
- data/generated/google/apis/secretmanager_v1beta1.rb +2 -2
- data/generated/google/apis/secretmanager_v1beta1/service.rb +4 -1
- data/generated/google/apis/securitycenter_v1.rb +4 -4
- data/generated/google/apis/securitycenter_v1/classes.rb +142 -114
- data/generated/google/apis/securitycenter_v1/service.rb +11 -3
- data/generated/google/apis/securitycenter_v1beta1.rb +4 -4
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +137 -123
- data/generated/google/apis/securitycenter_v1beta1/service.rb +3 -3
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +4 -4
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +87 -75
- data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +3 -3
- data/generated/google/apis/securitycenter_v1p1beta1.rb +4 -4
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +117 -95
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +11 -3
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +41 -6
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
- data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1.rb → serviceconsumermanagement_v1beta1.rb} +8 -9
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +4170 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +1308 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +428 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +2 -2
- data/generated/google/apis/{cloudprivatecatalog_v1beta1.rb → servicedirectory_v1beta1.rb} +9 -9
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +800 -0
- data/generated/google/apis/servicedirectory_v1beta1/representations.rb +304 -0
- data/generated/google/apis/servicedirectory_v1beta1/service.rb +992 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +41 -6
- data/generated/google/apis/servicemanagement_v1/representations.rb +1 -0
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +179 -6
- data/generated/google/apis/servicenetworking_v1/representations.rb +72 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +53 -21
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +149 -6
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +57 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +116 -6
- data/generated/google/apis/serviceusage_v1/representations.rb +45 -0
- data/generated/google/apis/serviceusage_v1/service.rb +42 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +97 -32
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +31 -15
- data/generated/google/apis/serviceusage_v1beta1/service.rb +0 -43
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +2 -2
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +463 -1
- data/generated/google/apis/spanner_v1/representations.rb +178 -0
- data/generated/google/apis/spanner_v1/service.rb +498 -10
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +7 -3
- data/generated/google/apis/speech_v1/representations.rb +1 -0
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +7 -3
- data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
- data/generated/google/apis/speech_v2beta1.rb +1 -1
- data/generated/google/apis/speech_v2beta1/classes.rb +7 -0
- data/generated/google/apis/speech_v2beta1/representations.rb +1 -0
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +3 -3
- data/generated/google/apis/sql_v1beta4/service.rb +54 -384
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +18 -0
- data/generated/google/apis/storage_v1/representations.rb +2 -0
- data/generated/google/apis/storage_v1/service.rb +28 -3
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +194 -11
- data/generated/google/apis/storagetransfer_v1/representations.rb +52 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +217 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +84 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +76 -29
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +744 -4
- data/generated/google/apis/videointelligence_v1/representations.rb +356 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +744 -4
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +356 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +744 -4
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +356 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +744 -4
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +356 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +744 -4
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +356 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +4 -1
- data/generated/google/apis/youtube_v3/classes.rb +7 -0
- data/generated/google/apis/youtube_v3/representations.rb +1 -0
- data/lib/google/apis/generator/annotator.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +32 -23
- data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +0 -358
- data/generated/google/apis/cloudprivatecatalog_v1beta1/representations.rb +0 -123
- data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +0 -486
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +0 -399
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +0 -1081
- data/generated/google/apis/mirror_v1/classes.rb +0 -1072
- data/generated/google/apis/mirror_v1/representations.rb +0 -390
- data/generated/google/apis/mirror_v1/service.rb +0 -928
- data/generated/google/apis/oauth2_v1.rb +0 -40
- data/generated/google/apis/oauth2_v1/classes.rb +0 -197
- data/generated/google/apis/oauth2_v1/representations.rb +0 -73
- data/generated/google/apis/oauth2_v1/service.rb +0 -160
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +0 -845
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +0 -350
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +0 -933
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://cloud.google.com/video-intelligence/docs/
|
28
28
|
module VideointelligenceV1beta2
|
29
29
|
VERSION = 'V1beta2'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20200310'
|
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'
|
@@ -64,6 +64,73 @@ module Google
|
|
64
64
|
end
|
65
65
|
end
|
66
66
|
|
67
|
+
# A generic detected attribute represented by name in string format.
|
68
|
+
class GoogleCloudVideointelligenceV1DetectedAttribute
|
69
|
+
include Google::Apis::Core::Hashable
|
70
|
+
|
71
|
+
# Detected attribute confidence. Range [0, 1].
|
72
|
+
# Corresponds to the JSON property `confidence`
|
73
|
+
# @return [Float]
|
74
|
+
attr_accessor :confidence
|
75
|
+
|
76
|
+
# The name of the attribute, i.e. glasses, dark_glasses, mouth_open etc.
|
77
|
+
# A full list of supported type names will be provided in the document.
|
78
|
+
# Corresponds to the JSON property `name`
|
79
|
+
# @return [String]
|
80
|
+
attr_accessor :name
|
81
|
+
|
82
|
+
# Text value of the detection result. For example, the value for "HairColor"
|
83
|
+
# can be "black", "blonde", etc.
|
84
|
+
# Corresponds to the JSON property `value`
|
85
|
+
# @return [String]
|
86
|
+
attr_accessor :value
|
87
|
+
|
88
|
+
def initialize(**args)
|
89
|
+
update!(**args)
|
90
|
+
end
|
91
|
+
|
92
|
+
# Update properties of this object
|
93
|
+
def update!(**args)
|
94
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
95
|
+
@name = args[:name] if args.key?(:name)
|
96
|
+
@value = args[:value] if args.key?(:value)
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
100
|
+
# A generic detected landmark represented by name in string format and a 2D
|
101
|
+
# location.
|
102
|
+
class GoogleCloudVideointelligenceV1DetectedLandmark
|
103
|
+
include Google::Apis::Core::Hashable
|
104
|
+
|
105
|
+
# The confidence score of the detected landmark. Range [0, 1].
|
106
|
+
# Corresponds to the JSON property `confidence`
|
107
|
+
# @return [Float]
|
108
|
+
attr_accessor :confidence
|
109
|
+
|
110
|
+
# The name of this landmark, i.e. left_hand, right_shoulder.
|
111
|
+
# Corresponds to the JSON property `name`
|
112
|
+
# @return [String]
|
113
|
+
attr_accessor :name
|
114
|
+
|
115
|
+
# A vertex represents a 2D point in the image.
|
116
|
+
# NOTE: the normalized vertex coordinates are relative to the original image
|
117
|
+
# and range from 0 to 1.
|
118
|
+
# Corresponds to the JSON property `point`
|
119
|
+
# @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1NormalizedVertex]
|
120
|
+
attr_accessor :point
|
121
|
+
|
122
|
+
def initialize(**args)
|
123
|
+
update!(**args)
|
124
|
+
end
|
125
|
+
|
126
|
+
# Update properties of this object
|
127
|
+
def update!(**args)
|
128
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
129
|
+
@name = args[:name] if args.key?(:name)
|
130
|
+
@point = args[:point] if args.key?(:point)
|
131
|
+
end
|
132
|
+
end
|
133
|
+
|
67
134
|
# Detected entity from video analysis.
|
68
135
|
class GoogleCloudVideointelligenceV1Entity
|
69
136
|
include Google::Apis::Core::Hashable
|
@@ -235,6 +302,39 @@ module Google
|
|
235
302
|
end
|
236
303
|
end
|
237
304
|
|
305
|
+
# Annotation corresponding to one detected, tracked and recognized logo class.
|
306
|
+
class GoogleCloudVideointelligenceV1LogoRecognitionAnnotation
|
307
|
+
include Google::Apis::Core::Hashable
|
308
|
+
|
309
|
+
# Detected entity from video analysis.
|
310
|
+
# Corresponds to the JSON property `entity`
|
311
|
+
# @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1Entity]
|
312
|
+
attr_accessor :entity
|
313
|
+
|
314
|
+
# All video segments where the recognized logo appears. There might be
|
315
|
+
# multiple instances of the same logo class appearing in one VideoSegment.
|
316
|
+
# Corresponds to the JSON property `segments`
|
317
|
+
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1VideoSegment>]
|
318
|
+
attr_accessor :segments
|
319
|
+
|
320
|
+
# All logo tracks where the recognized logo appears. Each track corresponds
|
321
|
+
# to one logo instance appearing in consecutive frames.
|
322
|
+
# Corresponds to the JSON property `tracks`
|
323
|
+
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1Track>]
|
324
|
+
attr_accessor :tracks
|
325
|
+
|
326
|
+
def initialize(**args)
|
327
|
+
update!(**args)
|
328
|
+
end
|
329
|
+
|
330
|
+
# Update properties of this object
|
331
|
+
def update!(**args)
|
332
|
+
@entity = args[:entity] if args.key?(:entity)
|
333
|
+
@segments = args[:segments] if args.key?(:segments)
|
334
|
+
@tracks = args[:tracks] if args.key?(:tracks)
|
335
|
+
end
|
336
|
+
end
|
337
|
+
|
238
338
|
# Normalized bounding box.
|
239
339
|
# The normalized vertex coordinates are relative to the original image.
|
240
340
|
# Range: [0, 1].
|
@@ -582,6 +682,85 @@ module Google
|
|
582
682
|
end
|
583
683
|
end
|
584
684
|
|
685
|
+
# For tracking related features.
|
686
|
+
# An object at time_offset with attributes, and located with
|
687
|
+
# normalized_bounding_box.
|
688
|
+
class GoogleCloudVideointelligenceV1TimestampedObject
|
689
|
+
include Google::Apis::Core::Hashable
|
690
|
+
|
691
|
+
# Optional. The attributes of the object in the bounding box.
|
692
|
+
# Corresponds to the JSON property `attributes`
|
693
|
+
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1DetectedAttribute>]
|
694
|
+
attr_accessor :attributes
|
695
|
+
|
696
|
+
# Optional. The detected landmarks.
|
697
|
+
# Corresponds to the JSON property `landmarks`
|
698
|
+
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1DetectedLandmark>]
|
699
|
+
attr_accessor :landmarks
|
700
|
+
|
701
|
+
# Normalized bounding box.
|
702
|
+
# The normalized vertex coordinates are relative to the original image.
|
703
|
+
# Range: [0, 1].
|
704
|
+
# Corresponds to the JSON property `normalizedBoundingBox`
|
705
|
+
# @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1NormalizedBoundingBox]
|
706
|
+
attr_accessor :normalized_bounding_box
|
707
|
+
|
708
|
+
# Time-offset, relative to the beginning of the video,
|
709
|
+
# corresponding to the video frame for this object.
|
710
|
+
# Corresponds to the JSON property `timeOffset`
|
711
|
+
# @return [String]
|
712
|
+
attr_accessor :time_offset
|
713
|
+
|
714
|
+
def initialize(**args)
|
715
|
+
update!(**args)
|
716
|
+
end
|
717
|
+
|
718
|
+
# Update properties of this object
|
719
|
+
def update!(**args)
|
720
|
+
@attributes = args[:attributes] if args.key?(:attributes)
|
721
|
+
@landmarks = args[:landmarks] if args.key?(:landmarks)
|
722
|
+
@normalized_bounding_box = args[:normalized_bounding_box] if args.key?(:normalized_bounding_box)
|
723
|
+
@time_offset = args[:time_offset] if args.key?(:time_offset)
|
724
|
+
end
|
725
|
+
end
|
726
|
+
|
727
|
+
# A track of an object instance.
|
728
|
+
class GoogleCloudVideointelligenceV1Track
|
729
|
+
include Google::Apis::Core::Hashable
|
730
|
+
|
731
|
+
# Optional. Attributes in the track level.
|
732
|
+
# Corresponds to the JSON property `attributes`
|
733
|
+
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1DetectedAttribute>]
|
734
|
+
attr_accessor :attributes
|
735
|
+
|
736
|
+
# Optional. The confidence score of the tracked object.
|
737
|
+
# Corresponds to the JSON property `confidence`
|
738
|
+
# @return [Float]
|
739
|
+
attr_accessor :confidence
|
740
|
+
|
741
|
+
# Video segment.
|
742
|
+
# Corresponds to the JSON property `segment`
|
743
|
+
# @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1VideoSegment]
|
744
|
+
attr_accessor :segment
|
745
|
+
|
746
|
+
# The object with timestamp and attributes per frame in the track.
|
747
|
+
# Corresponds to the JSON property `timestampedObjects`
|
748
|
+
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1TimestampedObject>]
|
749
|
+
attr_accessor :timestamped_objects
|
750
|
+
|
751
|
+
def initialize(**args)
|
752
|
+
update!(**args)
|
753
|
+
end
|
754
|
+
|
755
|
+
# Update properties of this object
|
756
|
+
def update!(**args)
|
757
|
+
@attributes = args[:attributes] if args.key?(:attributes)
|
758
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
759
|
+
@segment = args[:segment] if args.key?(:segment)
|
760
|
+
@timestamped_objects = args[:timestamped_objects] if args.key?(:timestamped_objects)
|
761
|
+
end
|
762
|
+
end
|
763
|
+
|
585
764
|
# Annotation progress for a single video.
|
586
765
|
class GoogleCloudVideointelligenceV1VideoAnnotationProgress
|
587
766
|
include Google::Apis::Core::Hashable
|
@@ -667,6 +846,11 @@ module Google
|
|
667
846
|
# @return [String]
|
668
847
|
attr_accessor :input_uri
|
669
848
|
|
849
|
+
# Annotations for list of logos detected, tracked and recognized in video.
|
850
|
+
# Corresponds to the JSON property `logoRecognitionAnnotations`
|
851
|
+
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1LogoRecognitionAnnotation>]
|
852
|
+
attr_accessor :logo_recognition_annotations
|
853
|
+
|
670
854
|
# Annotations for list of objects detected and tracked in video.
|
671
855
|
# Corresponds to the JSON property `objectAnnotations`
|
672
856
|
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1ObjectTrackingAnnotation>]
|
@@ -735,6 +919,7 @@ module Google
|
|
735
919
|
@explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
|
736
920
|
@frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
|
737
921
|
@input_uri = args[:input_uri] if args.key?(:input_uri)
|
922
|
+
@logo_recognition_annotations = args[:logo_recognition_annotations] if args.key?(:logo_recognition_annotations)
|
738
923
|
@object_annotations = args[:object_annotations] if args.key?(:object_annotations)
|
739
924
|
@segment = args[:segment] if args.key?(:segment)
|
740
925
|
@segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
|
@@ -876,7 +1061,7 @@ module Google
|
|
876
1061
|
# supported, which must be specified in the following format:
|
877
1062
|
# `gs://bucket-id/object-id` (other URI formats return
|
878
1063
|
# google.rpc.Code.INVALID_ARGUMENT). For more information, see
|
879
|
-
# [Request URIs](/storage/docs/
|
1064
|
+
# [Request URIs](https://cloud.google.com/storage/docs/request-endpoints).
|
880
1065
|
# A video URI may include wildcards in `object-id`, and thus identify
|
881
1066
|
# multiple videos. Supported wildcards: '*' to match 0 or more characters;
|
882
1067
|
# '?' to match 1 character. If unset, the input video should be embedded
|
@@ -897,7 +1082,7 @@ module Google
|
|
897
1082
|
# URIs are supported, which must be specified in the following format:
|
898
1083
|
# `gs://bucket-id/object-id` (other URI formats return
|
899
1084
|
# google.rpc.Code.INVALID_ARGUMENT). For more information, see
|
900
|
-
# [Request URIs](/storage/docs/
|
1085
|
+
# [Request URIs](https://cloud.google.com/storage/docs/request-endpoints).
|
901
1086
|
# Corresponds to the JSON property `outputUri`
|
902
1087
|
# @return [String]
|
903
1088
|
attr_accessor :output_uri
|
@@ -943,6 +1128,73 @@ module Google
|
|
943
1128
|
end
|
944
1129
|
end
|
945
1130
|
|
1131
|
+
# A generic detected attribute represented by name in string format.
|
1132
|
+
class GoogleCloudVideointelligenceV1beta2DetectedAttribute
|
1133
|
+
include Google::Apis::Core::Hashable
|
1134
|
+
|
1135
|
+
# Detected attribute confidence. Range [0, 1].
|
1136
|
+
# Corresponds to the JSON property `confidence`
|
1137
|
+
# @return [Float]
|
1138
|
+
attr_accessor :confidence
|
1139
|
+
|
1140
|
+
# The name of the attribute, i.e. glasses, dark_glasses, mouth_open etc.
|
1141
|
+
# A full list of supported type names will be provided in the document.
|
1142
|
+
# Corresponds to the JSON property `name`
|
1143
|
+
# @return [String]
|
1144
|
+
attr_accessor :name
|
1145
|
+
|
1146
|
+
# Text value of the detection result. For example, the value for "HairColor"
|
1147
|
+
# can be "black", "blonde", etc.
|
1148
|
+
# Corresponds to the JSON property `value`
|
1149
|
+
# @return [String]
|
1150
|
+
attr_accessor :value
|
1151
|
+
|
1152
|
+
def initialize(**args)
|
1153
|
+
update!(**args)
|
1154
|
+
end
|
1155
|
+
|
1156
|
+
# Update properties of this object
|
1157
|
+
def update!(**args)
|
1158
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
1159
|
+
@name = args[:name] if args.key?(:name)
|
1160
|
+
@value = args[:value] if args.key?(:value)
|
1161
|
+
end
|
1162
|
+
end
|
1163
|
+
|
1164
|
+
# A generic detected landmark represented by name in string format and a 2D
|
1165
|
+
# location.
|
1166
|
+
class GoogleCloudVideointelligenceV1beta2DetectedLandmark
|
1167
|
+
include Google::Apis::Core::Hashable
|
1168
|
+
|
1169
|
+
# The confidence score of the detected landmark. Range [0, 1].
|
1170
|
+
# Corresponds to the JSON property `confidence`
|
1171
|
+
# @return [Float]
|
1172
|
+
attr_accessor :confidence
|
1173
|
+
|
1174
|
+
# The name of this landmark, i.e. left_hand, right_shoulder.
|
1175
|
+
# Corresponds to the JSON property `name`
|
1176
|
+
# @return [String]
|
1177
|
+
attr_accessor :name
|
1178
|
+
|
1179
|
+
# A vertex represents a 2D point in the image.
|
1180
|
+
# NOTE: the normalized vertex coordinates are relative to the original image
|
1181
|
+
# and range from 0 to 1.
|
1182
|
+
# Corresponds to the JSON property `point`
|
1183
|
+
# @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2NormalizedVertex]
|
1184
|
+
attr_accessor :point
|
1185
|
+
|
1186
|
+
def initialize(**args)
|
1187
|
+
update!(**args)
|
1188
|
+
end
|
1189
|
+
|
1190
|
+
# Update properties of this object
|
1191
|
+
def update!(**args)
|
1192
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
1193
|
+
@name = args[:name] if args.key?(:name)
|
1194
|
+
@point = args[:point] if args.key?(:point)
|
1195
|
+
end
|
1196
|
+
end
|
1197
|
+
|
946
1198
|
# Detected entity from video analysis.
|
947
1199
|
class GoogleCloudVideointelligenceV1beta2Entity
|
948
1200
|
include Google::Apis::Core::Hashable
|
@@ -1195,6 +1447,39 @@ module Google
|
|
1195
1447
|
end
|
1196
1448
|
end
|
1197
1449
|
|
1450
|
+
# Annotation corresponding to one detected, tracked and recognized logo class.
|
1451
|
+
class GoogleCloudVideointelligenceV1beta2LogoRecognitionAnnotation
|
1452
|
+
include Google::Apis::Core::Hashable
|
1453
|
+
|
1454
|
+
# Detected entity from video analysis.
|
1455
|
+
# Corresponds to the JSON property `entity`
|
1456
|
+
# @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2Entity]
|
1457
|
+
attr_accessor :entity
|
1458
|
+
|
1459
|
+
# All video segments where the recognized logo appears. There might be
|
1460
|
+
# multiple instances of the same logo class appearing in one VideoSegment.
|
1461
|
+
# Corresponds to the JSON property `segments`
|
1462
|
+
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2VideoSegment>]
|
1463
|
+
attr_accessor :segments
|
1464
|
+
|
1465
|
+
# All logo tracks where the recognized logo appears. Each track corresponds
|
1466
|
+
# to one logo instance appearing in consecutive frames.
|
1467
|
+
# Corresponds to the JSON property `tracks`
|
1468
|
+
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2Track>]
|
1469
|
+
attr_accessor :tracks
|
1470
|
+
|
1471
|
+
def initialize(**args)
|
1472
|
+
update!(**args)
|
1473
|
+
end
|
1474
|
+
|
1475
|
+
# Update properties of this object
|
1476
|
+
def update!(**args)
|
1477
|
+
@entity = args[:entity] if args.key?(:entity)
|
1478
|
+
@segments = args[:segments] if args.key?(:segments)
|
1479
|
+
@tracks = args[:tracks] if args.key?(:tracks)
|
1480
|
+
end
|
1481
|
+
end
|
1482
|
+
|
1198
1483
|
# Normalized bounding box.
|
1199
1484
|
# The normalized vertex coordinates are relative to the original image.
|
1200
1485
|
# Range: [0, 1].
|
@@ -1738,6 +2023,85 @@ module Google
|
|
1738
2023
|
end
|
1739
2024
|
end
|
1740
2025
|
|
2026
|
+
# For tracking related features.
|
2027
|
+
# An object at time_offset with attributes, and located with
|
2028
|
+
# normalized_bounding_box.
|
2029
|
+
class GoogleCloudVideointelligenceV1beta2TimestampedObject
|
2030
|
+
include Google::Apis::Core::Hashable
|
2031
|
+
|
2032
|
+
# Optional. The attributes of the object in the bounding box.
|
2033
|
+
# Corresponds to the JSON property `attributes`
|
2034
|
+
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2DetectedAttribute>]
|
2035
|
+
attr_accessor :attributes
|
2036
|
+
|
2037
|
+
# Optional. The detected landmarks.
|
2038
|
+
# Corresponds to the JSON property `landmarks`
|
2039
|
+
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2DetectedLandmark>]
|
2040
|
+
attr_accessor :landmarks
|
2041
|
+
|
2042
|
+
# Normalized bounding box.
|
2043
|
+
# The normalized vertex coordinates are relative to the original image.
|
2044
|
+
# Range: [0, 1].
|
2045
|
+
# Corresponds to the JSON property `normalizedBoundingBox`
|
2046
|
+
# @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox]
|
2047
|
+
attr_accessor :normalized_bounding_box
|
2048
|
+
|
2049
|
+
# Time-offset, relative to the beginning of the video,
|
2050
|
+
# corresponding to the video frame for this object.
|
2051
|
+
# Corresponds to the JSON property `timeOffset`
|
2052
|
+
# @return [String]
|
2053
|
+
attr_accessor :time_offset
|
2054
|
+
|
2055
|
+
def initialize(**args)
|
2056
|
+
update!(**args)
|
2057
|
+
end
|
2058
|
+
|
2059
|
+
# Update properties of this object
|
2060
|
+
def update!(**args)
|
2061
|
+
@attributes = args[:attributes] if args.key?(:attributes)
|
2062
|
+
@landmarks = args[:landmarks] if args.key?(:landmarks)
|
2063
|
+
@normalized_bounding_box = args[:normalized_bounding_box] if args.key?(:normalized_bounding_box)
|
2064
|
+
@time_offset = args[:time_offset] if args.key?(:time_offset)
|
2065
|
+
end
|
2066
|
+
end
|
2067
|
+
|
2068
|
+
# A track of an object instance.
|
2069
|
+
class GoogleCloudVideointelligenceV1beta2Track
|
2070
|
+
include Google::Apis::Core::Hashable
|
2071
|
+
|
2072
|
+
# Optional. Attributes in the track level.
|
2073
|
+
# Corresponds to the JSON property `attributes`
|
2074
|
+
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2DetectedAttribute>]
|
2075
|
+
attr_accessor :attributes
|
2076
|
+
|
2077
|
+
# Optional. The confidence score of the tracked object.
|
2078
|
+
# Corresponds to the JSON property `confidence`
|
2079
|
+
# @return [Float]
|
2080
|
+
attr_accessor :confidence
|
2081
|
+
|
2082
|
+
# Video segment.
|
2083
|
+
# Corresponds to the JSON property `segment`
|
2084
|
+
# @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2VideoSegment]
|
2085
|
+
attr_accessor :segment
|
2086
|
+
|
2087
|
+
# The object with timestamp and attributes per frame in the track.
|
2088
|
+
# Corresponds to the JSON property `timestampedObjects`
|
2089
|
+
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2TimestampedObject>]
|
2090
|
+
attr_accessor :timestamped_objects
|
2091
|
+
|
2092
|
+
def initialize(**args)
|
2093
|
+
update!(**args)
|
2094
|
+
end
|
2095
|
+
|
2096
|
+
# Update properties of this object
|
2097
|
+
def update!(**args)
|
2098
|
+
@attributes = args[:attributes] if args.key?(:attributes)
|
2099
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
2100
|
+
@segment = args[:segment] if args.key?(:segment)
|
2101
|
+
@timestamped_objects = args[:timestamped_objects] if args.key?(:timestamped_objects)
|
2102
|
+
end
|
2103
|
+
end
|
2104
|
+
|
1741
2105
|
# Annotation progress for a single video.
|
1742
2106
|
class GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress
|
1743
2107
|
include Google::Apis::Core::Hashable
|
@@ -1823,6 +2187,11 @@ module Google
|
|
1823
2187
|
# @return [String]
|
1824
2188
|
attr_accessor :input_uri
|
1825
2189
|
|
2190
|
+
# Annotations for list of logos detected, tracked and recognized in video.
|
2191
|
+
# Corresponds to the JSON property `logoRecognitionAnnotations`
|
2192
|
+
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LogoRecognitionAnnotation>]
|
2193
|
+
attr_accessor :logo_recognition_annotations
|
2194
|
+
|
1826
2195
|
# Annotations for list of objects detected and tracked in video.
|
1827
2196
|
# Corresponds to the JSON property `objectAnnotations`
|
1828
2197
|
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation>]
|
@@ -1891,6 +2260,7 @@ module Google
|
|
1891
2260
|
@explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
|
1892
2261
|
@frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
|
1893
2262
|
@input_uri = args[:input_uri] if args.key?(:input_uri)
|
2263
|
+
@logo_recognition_annotations = args[:logo_recognition_annotations] if args.key?(:logo_recognition_annotations)
|
1894
2264
|
@object_annotations = args[:object_annotations] if args.key?(:object_annotations)
|
1895
2265
|
@segment = args[:segment] if args.key?(:segment)
|
1896
2266
|
@segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
|
@@ -2088,6 +2458,73 @@ module Google
|
|
2088
2458
|
end
|
2089
2459
|
end
|
2090
2460
|
|
2461
|
+
# A generic detected attribute represented by name in string format.
|
2462
|
+
class GoogleCloudVideointelligenceV1p1beta1DetectedAttribute
|
2463
|
+
include Google::Apis::Core::Hashable
|
2464
|
+
|
2465
|
+
# Detected attribute confidence. Range [0, 1].
|
2466
|
+
# Corresponds to the JSON property `confidence`
|
2467
|
+
# @return [Float]
|
2468
|
+
attr_accessor :confidence
|
2469
|
+
|
2470
|
+
# The name of the attribute, i.e. glasses, dark_glasses, mouth_open etc.
|
2471
|
+
# A full list of supported type names will be provided in the document.
|
2472
|
+
# Corresponds to the JSON property `name`
|
2473
|
+
# @return [String]
|
2474
|
+
attr_accessor :name
|
2475
|
+
|
2476
|
+
# Text value of the detection result. For example, the value for "HairColor"
|
2477
|
+
# can be "black", "blonde", etc.
|
2478
|
+
# Corresponds to the JSON property `value`
|
2479
|
+
# @return [String]
|
2480
|
+
attr_accessor :value
|
2481
|
+
|
2482
|
+
def initialize(**args)
|
2483
|
+
update!(**args)
|
2484
|
+
end
|
2485
|
+
|
2486
|
+
# Update properties of this object
|
2487
|
+
def update!(**args)
|
2488
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
2489
|
+
@name = args[:name] if args.key?(:name)
|
2490
|
+
@value = args[:value] if args.key?(:value)
|
2491
|
+
end
|
2492
|
+
end
|
2493
|
+
|
2494
|
+
# A generic detected landmark represented by name in string format and a 2D
|
2495
|
+
# location.
|
2496
|
+
class GoogleCloudVideointelligenceV1p1beta1DetectedLandmark
|
2497
|
+
include Google::Apis::Core::Hashable
|
2498
|
+
|
2499
|
+
# The confidence score of the detected landmark. Range [0, 1].
|
2500
|
+
# Corresponds to the JSON property `confidence`
|
2501
|
+
# @return [Float]
|
2502
|
+
attr_accessor :confidence
|
2503
|
+
|
2504
|
+
# The name of this landmark, i.e. left_hand, right_shoulder.
|
2505
|
+
# Corresponds to the JSON property `name`
|
2506
|
+
# @return [String]
|
2507
|
+
attr_accessor :name
|
2508
|
+
|
2509
|
+
# A vertex represents a 2D point in the image.
|
2510
|
+
# NOTE: the normalized vertex coordinates are relative to the original image
|
2511
|
+
# and range from 0 to 1.
|
2512
|
+
# Corresponds to the JSON property `point`
|
2513
|
+
# @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1NormalizedVertex]
|
2514
|
+
attr_accessor :point
|
2515
|
+
|
2516
|
+
def initialize(**args)
|
2517
|
+
update!(**args)
|
2518
|
+
end
|
2519
|
+
|
2520
|
+
# Update properties of this object
|
2521
|
+
def update!(**args)
|
2522
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
2523
|
+
@name = args[:name] if args.key?(:name)
|
2524
|
+
@point = args[:point] if args.key?(:point)
|
2525
|
+
end
|
2526
|
+
end
|
2527
|
+
|
2091
2528
|
# Detected entity from video analysis.
|
2092
2529
|
class GoogleCloudVideointelligenceV1p1beta1Entity
|
2093
2530
|
include Google::Apis::Core::Hashable
|
@@ -2254,8 +2691,41 @@ module Google
|
|
2254
2691
|
|
2255
2692
|
# Update properties of this object
|
2256
2693
|
def update!(**args)
|
2257
|
-
@confidence = args[:confidence] if args.key?(:confidence)
|
2258
|
-
@segment = args[:segment] if args.key?(:segment)
|
2694
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
2695
|
+
@segment = args[:segment] if args.key?(:segment)
|
2696
|
+
end
|
2697
|
+
end
|
2698
|
+
|
2699
|
+
# Annotation corresponding to one detected, tracked and recognized logo class.
|
2700
|
+
class GoogleCloudVideointelligenceV1p1beta1LogoRecognitionAnnotation
|
2701
|
+
include Google::Apis::Core::Hashable
|
2702
|
+
|
2703
|
+
# Detected entity from video analysis.
|
2704
|
+
# Corresponds to the JSON property `entity`
|
2705
|
+
# @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1Entity]
|
2706
|
+
attr_accessor :entity
|
2707
|
+
|
2708
|
+
# All video segments where the recognized logo appears. There might be
|
2709
|
+
# multiple instances of the same logo class appearing in one VideoSegment.
|
2710
|
+
# Corresponds to the JSON property `segments`
|
2711
|
+
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1VideoSegment>]
|
2712
|
+
attr_accessor :segments
|
2713
|
+
|
2714
|
+
# All logo tracks where the recognized logo appears. Each track corresponds
|
2715
|
+
# to one logo instance appearing in consecutive frames.
|
2716
|
+
# Corresponds to the JSON property `tracks`
|
2717
|
+
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1Track>]
|
2718
|
+
attr_accessor :tracks
|
2719
|
+
|
2720
|
+
def initialize(**args)
|
2721
|
+
update!(**args)
|
2722
|
+
end
|
2723
|
+
|
2724
|
+
# Update properties of this object
|
2725
|
+
def update!(**args)
|
2726
|
+
@entity = args[:entity] if args.key?(:entity)
|
2727
|
+
@segments = args[:segments] if args.key?(:segments)
|
2728
|
+
@tracks = args[:tracks] if args.key?(:tracks)
|
2259
2729
|
end
|
2260
2730
|
end
|
2261
2731
|
|
@@ -2606,6 +3076,85 @@ module Google
|
|
2606
3076
|
end
|
2607
3077
|
end
|
2608
3078
|
|
3079
|
+
# For tracking related features.
|
3080
|
+
# An object at time_offset with attributes, and located with
|
3081
|
+
# normalized_bounding_box.
|
3082
|
+
class GoogleCloudVideointelligenceV1p1beta1TimestampedObject
|
3083
|
+
include Google::Apis::Core::Hashable
|
3084
|
+
|
3085
|
+
# Optional. The attributes of the object in the bounding box.
|
3086
|
+
# Corresponds to the JSON property `attributes`
|
3087
|
+
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1DetectedAttribute>]
|
3088
|
+
attr_accessor :attributes
|
3089
|
+
|
3090
|
+
# Optional. The detected landmarks.
|
3091
|
+
# Corresponds to the JSON property `landmarks`
|
3092
|
+
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1DetectedLandmark>]
|
3093
|
+
attr_accessor :landmarks
|
3094
|
+
|
3095
|
+
# Normalized bounding box.
|
3096
|
+
# The normalized vertex coordinates are relative to the original image.
|
3097
|
+
# Range: [0, 1].
|
3098
|
+
# Corresponds to the JSON property `normalizedBoundingBox`
|
3099
|
+
# @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox]
|
3100
|
+
attr_accessor :normalized_bounding_box
|
3101
|
+
|
3102
|
+
# Time-offset, relative to the beginning of the video,
|
3103
|
+
# corresponding to the video frame for this object.
|
3104
|
+
# Corresponds to the JSON property `timeOffset`
|
3105
|
+
# @return [String]
|
3106
|
+
attr_accessor :time_offset
|
3107
|
+
|
3108
|
+
def initialize(**args)
|
3109
|
+
update!(**args)
|
3110
|
+
end
|
3111
|
+
|
3112
|
+
# Update properties of this object
|
3113
|
+
def update!(**args)
|
3114
|
+
@attributes = args[:attributes] if args.key?(:attributes)
|
3115
|
+
@landmarks = args[:landmarks] if args.key?(:landmarks)
|
3116
|
+
@normalized_bounding_box = args[:normalized_bounding_box] if args.key?(:normalized_bounding_box)
|
3117
|
+
@time_offset = args[:time_offset] if args.key?(:time_offset)
|
3118
|
+
end
|
3119
|
+
end
|
3120
|
+
|
3121
|
+
# A track of an object instance.
|
3122
|
+
class GoogleCloudVideointelligenceV1p1beta1Track
|
3123
|
+
include Google::Apis::Core::Hashable
|
3124
|
+
|
3125
|
+
# Optional. Attributes in the track level.
|
3126
|
+
# Corresponds to the JSON property `attributes`
|
3127
|
+
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1DetectedAttribute>]
|
3128
|
+
attr_accessor :attributes
|
3129
|
+
|
3130
|
+
# Optional. The confidence score of the tracked object.
|
3131
|
+
# Corresponds to the JSON property `confidence`
|
3132
|
+
# @return [Float]
|
3133
|
+
attr_accessor :confidence
|
3134
|
+
|
3135
|
+
# Video segment.
|
3136
|
+
# Corresponds to the JSON property `segment`
|
3137
|
+
# @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1VideoSegment]
|
3138
|
+
attr_accessor :segment
|
3139
|
+
|
3140
|
+
# The object with timestamp and attributes per frame in the track.
|
3141
|
+
# Corresponds to the JSON property `timestampedObjects`
|
3142
|
+
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1TimestampedObject>]
|
3143
|
+
attr_accessor :timestamped_objects
|
3144
|
+
|
3145
|
+
def initialize(**args)
|
3146
|
+
update!(**args)
|
3147
|
+
end
|
3148
|
+
|
3149
|
+
# Update properties of this object
|
3150
|
+
def update!(**args)
|
3151
|
+
@attributes = args[:attributes] if args.key?(:attributes)
|
3152
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
3153
|
+
@segment = args[:segment] if args.key?(:segment)
|
3154
|
+
@timestamped_objects = args[:timestamped_objects] if args.key?(:timestamped_objects)
|
3155
|
+
end
|
3156
|
+
end
|
3157
|
+
|
2609
3158
|
# Annotation progress for a single video.
|
2610
3159
|
class GoogleCloudVideointelligenceV1p1beta1VideoAnnotationProgress
|
2611
3160
|
include Google::Apis::Core::Hashable
|
@@ -2691,6 +3240,11 @@ module Google
|
|
2691
3240
|
# @return [String]
|
2692
3241
|
attr_accessor :input_uri
|
2693
3242
|
|
3243
|
+
# Annotations for list of logos detected, tracked and recognized in video.
|
3244
|
+
# Corresponds to the JSON property `logoRecognitionAnnotations`
|
3245
|
+
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1LogoRecognitionAnnotation>]
|
3246
|
+
attr_accessor :logo_recognition_annotations
|
3247
|
+
|
2694
3248
|
# Annotations for list of objects detected and tracked in video.
|
2695
3249
|
# Corresponds to the JSON property `objectAnnotations`
|
2696
3250
|
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1ObjectTrackingAnnotation>]
|
@@ -2759,6 +3313,7 @@ module Google
|
|
2759
3313
|
@explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
|
2760
3314
|
@frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
|
2761
3315
|
@input_uri = args[:input_uri] if args.key?(:input_uri)
|
3316
|
+
@logo_recognition_annotations = args[:logo_recognition_annotations] if args.key?(:logo_recognition_annotations)
|
2762
3317
|
@object_annotations = args[:object_annotations] if args.key?(:object_annotations)
|
2763
3318
|
@segment = args[:segment] if args.key?(:segment)
|
2764
3319
|
@segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
|
@@ -2899,6 +3454,73 @@ module Google
|
|
2899
3454
|
end
|
2900
3455
|
end
|
2901
3456
|
|
3457
|
+
# A generic detected attribute represented by name in string format.
|
3458
|
+
class GoogleCloudVideointelligenceV1p2beta1DetectedAttribute
|
3459
|
+
include Google::Apis::Core::Hashable
|
3460
|
+
|
3461
|
+
# Detected attribute confidence. Range [0, 1].
|
3462
|
+
# Corresponds to the JSON property `confidence`
|
3463
|
+
# @return [Float]
|
3464
|
+
attr_accessor :confidence
|
3465
|
+
|
3466
|
+
# The name of the attribute, i.e. glasses, dark_glasses, mouth_open etc.
|
3467
|
+
# A full list of supported type names will be provided in the document.
|
3468
|
+
# Corresponds to the JSON property `name`
|
3469
|
+
# @return [String]
|
3470
|
+
attr_accessor :name
|
3471
|
+
|
3472
|
+
# Text value of the detection result. For example, the value for "HairColor"
|
3473
|
+
# can be "black", "blonde", etc.
|
3474
|
+
# Corresponds to the JSON property `value`
|
3475
|
+
# @return [String]
|
3476
|
+
attr_accessor :value
|
3477
|
+
|
3478
|
+
def initialize(**args)
|
3479
|
+
update!(**args)
|
3480
|
+
end
|
3481
|
+
|
3482
|
+
# Update properties of this object
|
3483
|
+
def update!(**args)
|
3484
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
3485
|
+
@name = args[:name] if args.key?(:name)
|
3486
|
+
@value = args[:value] if args.key?(:value)
|
3487
|
+
end
|
3488
|
+
end
|
3489
|
+
|
3490
|
+
# A generic detected landmark represented by name in string format and a 2D
|
3491
|
+
# location.
|
3492
|
+
class GoogleCloudVideointelligenceV1p2beta1DetectedLandmark
|
3493
|
+
include Google::Apis::Core::Hashable
|
3494
|
+
|
3495
|
+
# The confidence score of the detected landmark. Range [0, 1].
|
3496
|
+
# Corresponds to the JSON property `confidence`
|
3497
|
+
# @return [Float]
|
3498
|
+
attr_accessor :confidence
|
3499
|
+
|
3500
|
+
# The name of this landmark, i.e. left_hand, right_shoulder.
|
3501
|
+
# Corresponds to the JSON property `name`
|
3502
|
+
# @return [String]
|
3503
|
+
attr_accessor :name
|
3504
|
+
|
3505
|
+
# A vertex represents a 2D point in the image.
|
3506
|
+
# NOTE: the normalized vertex coordinates are relative to the original image
|
3507
|
+
# and range from 0 to 1.
|
3508
|
+
# Corresponds to the JSON property `point`
|
3509
|
+
# @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1NormalizedVertex]
|
3510
|
+
attr_accessor :point
|
3511
|
+
|
3512
|
+
def initialize(**args)
|
3513
|
+
update!(**args)
|
3514
|
+
end
|
3515
|
+
|
3516
|
+
# Update properties of this object
|
3517
|
+
def update!(**args)
|
3518
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
3519
|
+
@name = args[:name] if args.key?(:name)
|
3520
|
+
@point = args[:point] if args.key?(:point)
|
3521
|
+
end
|
3522
|
+
end
|
3523
|
+
|
2902
3524
|
# Detected entity from video analysis.
|
2903
3525
|
class GoogleCloudVideointelligenceV1p2beta1Entity
|
2904
3526
|
include Google::Apis::Core::Hashable
|
@@ -3070,6 +3692,39 @@ module Google
|
|
3070
3692
|
end
|
3071
3693
|
end
|
3072
3694
|
|
3695
|
+
# Annotation corresponding to one detected, tracked and recognized logo class.
|
3696
|
+
class GoogleCloudVideointelligenceV1p2beta1LogoRecognitionAnnotation
|
3697
|
+
include Google::Apis::Core::Hashable
|
3698
|
+
|
3699
|
+
# Detected entity from video analysis.
|
3700
|
+
# Corresponds to the JSON property `entity`
|
3701
|
+
# @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1Entity]
|
3702
|
+
attr_accessor :entity
|
3703
|
+
|
3704
|
+
# All video segments where the recognized logo appears. There might be
|
3705
|
+
# multiple instances of the same logo class appearing in one VideoSegment.
|
3706
|
+
# Corresponds to the JSON property `segments`
|
3707
|
+
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1VideoSegment>]
|
3708
|
+
attr_accessor :segments
|
3709
|
+
|
3710
|
+
# All logo tracks where the recognized logo appears. Each track corresponds
|
3711
|
+
# to one logo instance appearing in consecutive frames.
|
3712
|
+
# Corresponds to the JSON property `tracks`
|
3713
|
+
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1Track>]
|
3714
|
+
attr_accessor :tracks
|
3715
|
+
|
3716
|
+
def initialize(**args)
|
3717
|
+
update!(**args)
|
3718
|
+
end
|
3719
|
+
|
3720
|
+
# Update properties of this object
|
3721
|
+
def update!(**args)
|
3722
|
+
@entity = args[:entity] if args.key?(:entity)
|
3723
|
+
@segments = args[:segments] if args.key?(:segments)
|
3724
|
+
@tracks = args[:tracks] if args.key?(:tracks)
|
3725
|
+
end
|
3726
|
+
end
|
3727
|
+
|
3073
3728
|
# Normalized bounding box.
|
3074
3729
|
# The normalized vertex coordinates are relative to the original image.
|
3075
3730
|
# Range: [0, 1].
|
@@ -3417,6 +4072,85 @@ module Google
|
|
3417
4072
|
end
|
3418
4073
|
end
|
3419
4074
|
|
4075
|
+
# For tracking related features.
|
4076
|
+
# An object at time_offset with attributes, and located with
|
4077
|
+
# normalized_bounding_box.
|
4078
|
+
class GoogleCloudVideointelligenceV1p2beta1TimestampedObject
|
4079
|
+
include Google::Apis::Core::Hashable
|
4080
|
+
|
4081
|
+
# Optional. The attributes of the object in the bounding box.
|
4082
|
+
# Corresponds to the JSON property `attributes`
|
4083
|
+
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1DetectedAttribute>]
|
4084
|
+
attr_accessor :attributes
|
4085
|
+
|
4086
|
+
# Optional. The detected landmarks.
|
4087
|
+
# Corresponds to the JSON property `landmarks`
|
4088
|
+
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1DetectedLandmark>]
|
4089
|
+
attr_accessor :landmarks
|
4090
|
+
|
4091
|
+
# Normalized bounding box.
|
4092
|
+
# The normalized vertex coordinates are relative to the original image.
|
4093
|
+
# Range: [0, 1].
|
4094
|
+
# Corresponds to the JSON property `normalizedBoundingBox`
|
4095
|
+
# @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox]
|
4096
|
+
attr_accessor :normalized_bounding_box
|
4097
|
+
|
4098
|
+
# Time-offset, relative to the beginning of the video,
|
4099
|
+
# corresponding to the video frame for this object.
|
4100
|
+
# Corresponds to the JSON property `timeOffset`
|
4101
|
+
# @return [String]
|
4102
|
+
attr_accessor :time_offset
|
4103
|
+
|
4104
|
+
def initialize(**args)
|
4105
|
+
update!(**args)
|
4106
|
+
end
|
4107
|
+
|
4108
|
+
# Update properties of this object
|
4109
|
+
def update!(**args)
|
4110
|
+
@attributes = args[:attributes] if args.key?(:attributes)
|
4111
|
+
@landmarks = args[:landmarks] if args.key?(:landmarks)
|
4112
|
+
@normalized_bounding_box = args[:normalized_bounding_box] if args.key?(:normalized_bounding_box)
|
4113
|
+
@time_offset = args[:time_offset] if args.key?(:time_offset)
|
4114
|
+
end
|
4115
|
+
end
|
4116
|
+
|
4117
|
+
# A track of an object instance.
|
4118
|
+
class GoogleCloudVideointelligenceV1p2beta1Track
|
4119
|
+
include Google::Apis::Core::Hashable
|
4120
|
+
|
4121
|
+
# Optional. Attributes in the track level.
|
4122
|
+
# Corresponds to the JSON property `attributes`
|
4123
|
+
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1DetectedAttribute>]
|
4124
|
+
attr_accessor :attributes
|
4125
|
+
|
4126
|
+
# Optional. The confidence score of the tracked object.
|
4127
|
+
# Corresponds to the JSON property `confidence`
|
4128
|
+
# @return [Float]
|
4129
|
+
attr_accessor :confidence
|
4130
|
+
|
4131
|
+
# Video segment.
|
4132
|
+
# Corresponds to the JSON property `segment`
|
4133
|
+
# @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1VideoSegment]
|
4134
|
+
attr_accessor :segment
|
4135
|
+
|
4136
|
+
# The object with timestamp and attributes per frame in the track.
|
4137
|
+
# Corresponds to the JSON property `timestampedObjects`
|
4138
|
+
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1TimestampedObject>]
|
4139
|
+
attr_accessor :timestamped_objects
|
4140
|
+
|
4141
|
+
def initialize(**args)
|
4142
|
+
update!(**args)
|
4143
|
+
end
|
4144
|
+
|
4145
|
+
# Update properties of this object
|
4146
|
+
def update!(**args)
|
4147
|
+
@attributes = args[:attributes] if args.key?(:attributes)
|
4148
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
4149
|
+
@segment = args[:segment] if args.key?(:segment)
|
4150
|
+
@timestamped_objects = args[:timestamped_objects] if args.key?(:timestamped_objects)
|
4151
|
+
end
|
4152
|
+
end
|
4153
|
+
|
3420
4154
|
# Annotation progress for a single video.
|
3421
4155
|
class GoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress
|
3422
4156
|
include Google::Apis::Core::Hashable
|
@@ -3502,6 +4236,11 @@ module Google
|
|
3502
4236
|
# @return [String]
|
3503
4237
|
attr_accessor :input_uri
|
3504
4238
|
|
4239
|
+
# Annotations for list of logos detected, tracked and recognized in video.
|
4240
|
+
# Corresponds to the JSON property `logoRecognitionAnnotations`
|
4241
|
+
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1LogoRecognitionAnnotation>]
|
4242
|
+
attr_accessor :logo_recognition_annotations
|
4243
|
+
|
3505
4244
|
# Annotations for list of objects detected and tracked in video.
|
3506
4245
|
# Corresponds to the JSON property `objectAnnotations`
|
3507
4246
|
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation>]
|
@@ -3570,6 +4309,7 @@ module Google
|
|
3570
4309
|
@explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
|
3571
4310
|
@frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
|
3572
4311
|
@input_uri = args[:input_uri] if args.key?(:input_uri)
|
4312
|
+
@logo_recognition_annotations = args[:logo_recognition_annotations] if args.key?(:logo_recognition_annotations)
|
3573
4313
|
@object_annotations = args[:object_annotations] if args.key?(:object_annotations)
|
3574
4314
|
@segment = args[:segment] if args.key?(:segment)
|
3575
4315
|
@segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
|