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 VideointelligenceV1p1beta1
|
29
29
|
VERSION = 'V1p1beta1'
|
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::VideointelligenceV1p1beta1::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::VideointelligenceV1p1beta1::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::VideointelligenceV1p1beta1::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::VideointelligenceV1p1beta1::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::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1DetectedAttribute>]
|
694
|
+
attr_accessor :attributes
|
695
|
+
|
696
|
+
# Optional. The detected landmarks.
|
697
|
+
# Corresponds to the JSON property `landmarks`
|
698
|
+
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::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::VideointelligenceV1p1beta1::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::VideointelligenceV1p1beta1::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::VideointelligenceV1p1beta1::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::VideointelligenceV1p1beta1::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::VideointelligenceV1p1beta1::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::VideointelligenceV1p1beta1::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)
|
@@ -875,6 +1060,73 @@ module Google
|
|
875
1060
|
end
|
876
1061
|
end
|
877
1062
|
|
1063
|
+
# A generic detected attribute represented by name in string format.
|
1064
|
+
class GoogleCloudVideointelligenceV1beta2DetectedAttribute
|
1065
|
+
include Google::Apis::Core::Hashable
|
1066
|
+
|
1067
|
+
# Detected attribute confidence. Range [0, 1].
|
1068
|
+
# Corresponds to the JSON property `confidence`
|
1069
|
+
# @return [Float]
|
1070
|
+
attr_accessor :confidence
|
1071
|
+
|
1072
|
+
# The name of the attribute, i.e. glasses, dark_glasses, mouth_open etc.
|
1073
|
+
# A full list of supported type names will be provided in the document.
|
1074
|
+
# Corresponds to the JSON property `name`
|
1075
|
+
# @return [String]
|
1076
|
+
attr_accessor :name
|
1077
|
+
|
1078
|
+
# Text value of the detection result. For example, the value for "HairColor"
|
1079
|
+
# can be "black", "blonde", etc.
|
1080
|
+
# Corresponds to the JSON property `value`
|
1081
|
+
# @return [String]
|
1082
|
+
attr_accessor :value
|
1083
|
+
|
1084
|
+
def initialize(**args)
|
1085
|
+
update!(**args)
|
1086
|
+
end
|
1087
|
+
|
1088
|
+
# Update properties of this object
|
1089
|
+
def update!(**args)
|
1090
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
1091
|
+
@name = args[:name] if args.key?(:name)
|
1092
|
+
@value = args[:value] if args.key?(:value)
|
1093
|
+
end
|
1094
|
+
end
|
1095
|
+
|
1096
|
+
# A generic detected landmark represented by name in string format and a 2D
|
1097
|
+
# location.
|
1098
|
+
class GoogleCloudVideointelligenceV1beta2DetectedLandmark
|
1099
|
+
include Google::Apis::Core::Hashable
|
1100
|
+
|
1101
|
+
# The confidence score of the detected landmark. Range [0, 1].
|
1102
|
+
# Corresponds to the JSON property `confidence`
|
1103
|
+
# @return [Float]
|
1104
|
+
attr_accessor :confidence
|
1105
|
+
|
1106
|
+
# The name of this landmark, i.e. left_hand, right_shoulder.
|
1107
|
+
# Corresponds to the JSON property `name`
|
1108
|
+
# @return [String]
|
1109
|
+
attr_accessor :name
|
1110
|
+
|
1111
|
+
# A vertex represents a 2D point in the image.
|
1112
|
+
# NOTE: the normalized vertex coordinates are relative to the original image
|
1113
|
+
# and range from 0 to 1.
|
1114
|
+
# Corresponds to the JSON property `point`
|
1115
|
+
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2NormalizedVertex]
|
1116
|
+
attr_accessor :point
|
1117
|
+
|
1118
|
+
def initialize(**args)
|
1119
|
+
update!(**args)
|
1120
|
+
end
|
1121
|
+
|
1122
|
+
# Update properties of this object
|
1123
|
+
def update!(**args)
|
1124
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
1125
|
+
@name = args[:name] if args.key?(:name)
|
1126
|
+
@point = args[:point] if args.key?(:point)
|
1127
|
+
end
|
1128
|
+
end
|
1129
|
+
|
878
1130
|
# Detected entity from video analysis.
|
879
1131
|
class GoogleCloudVideointelligenceV1beta2Entity
|
880
1132
|
include Google::Apis::Core::Hashable
|
@@ -1046,6 +1298,39 @@ module Google
|
|
1046
1298
|
end
|
1047
1299
|
end
|
1048
1300
|
|
1301
|
+
# Annotation corresponding to one detected, tracked and recognized logo class.
|
1302
|
+
class GoogleCloudVideointelligenceV1beta2LogoRecognitionAnnotation
|
1303
|
+
include Google::Apis::Core::Hashable
|
1304
|
+
|
1305
|
+
# Detected entity from video analysis.
|
1306
|
+
# Corresponds to the JSON property `entity`
|
1307
|
+
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2Entity]
|
1308
|
+
attr_accessor :entity
|
1309
|
+
|
1310
|
+
# All video segments where the recognized logo appears. There might be
|
1311
|
+
# multiple instances of the same logo class appearing in one VideoSegment.
|
1312
|
+
# Corresponds to the JSON property `segments`
|
1313
|
+
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2VideoSegment>]
|
1314
|
+
attr_accessor :segments
|
1315
|
+
|
1316
|
+
# All logo tracks where the recognized logo appears. Each track corresponds
|
1317
|
+
# to one logo instance appearing in consecutive frames.
|
1318
|
+
# Corresponds to the JSON property `tracks`
|
1319
|
+
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2Track>]
|
1320
|
+
attr_accessor :tracks
|
1321
|
+
|
1322
|
+
def initialize(**args)
|
1323
|
+
update!(**args)
|
1324
|
+
end
|
1325
|
+
|
1326
|
+
# Update properties of this object
|
1327
|
+
def update!(**args)
|
1328
|
+
@entity = args[:entity] if args.key?(:entity)
|
1329
|
+
@segments = args[:segments] if args.key?(:segments)
|
1330
|
+
@tracks = args[:tracks] if args.key?(:tracks)
|
1331
|
+
end
|
1332
|
+
end
|
1333
|
+
|
1049
1334
|
# Normalized bounding box.
|
1050
1335
|
# The normalized vertex coordinates are relative to the original image.
|
1051
1336
|
# Range: [0, 1].
|
@@ -1393,6 +1678,85 @@ module Google
|
|
1393
1678
|
end
|
1394
1679
|
end
|
1395
1680
|
|
1681
|
+
# For tracking related features.
|
1682
|
+
# An object at time_offset with attributes, and located with
|
1683
|
+
# normalized_bounding_box.
|
1684
|
+
class GoogleCloudVideointelligenceV1beta2TimestampedObject
|
1685
|
+
include Google::Apis::Core::Hashable
|
1686
|
+
|
1687
|
+
# Optional. The attributes of the object in the bounding box.
|
1688
|
+
# Corresponds to the JSON property `attributes`
|
1689
|
+
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2DetectedAttribute>]
|
1690
|
+
attr_accessor :attributes
|
1691
|
+
|
1692
|
+
# Optional. The detected landmarks.
|
1693
|
+
# Corresponds to the JSON property `landmarks`
|
1694
|
+
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2DetectedLandmark>]
|
1695
|
+
attr_accessor :landmarks
|
1696
|
+
|
1697
|
+
# Normalized bounding box.
|
1698
|
+
# The normalized vertex coordinates are relative to the original image.
|
1699
|
+
# Range: [0, 1].
|
1700
|
+
# Corresponds to the JSON property `normalizedBoundingBox`
|
1701
|
+
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox]
|
1702
|
+
attr_accessor :normalized_bounding_box
|
1703
|
+
|
1704
|
+
# Time-offset, relative to the beginning of the video,
|
1705
|
+
# corresponding to the video frame for this object.
|
1706
|
+
# Corresponds to the JSON property `timeOffset`
|
1707
|
+
# @return [String]
|
1708
|
+
attr_accessor :time_offset
|
1709
|
+
|
1710
|
+
def initialize(**args)
|
1711
|
+
update!(**args)
|
1712
|
+
end
|
1713
|
+
|
1714
|
+
# Update properties of this object
|
1715
|
+
def update!(**args)
|
1716
|
+
@attributes = args[:attributes] if args.key?(:attributes)
|
1717
|
+
@landmarks = args[:landmarks] if args.key?(:landmarks)
|
1718
|
+
@normalized_bounding_box = args[:normalized_bounding_box] if args.key?(:normalized_bounding_box)
|
1719
|
+
@time_offset = args[:time_offset] if args.key?(:time_offset)
|
1720
|
+
end
|
1721
|
+
end
|
1722
|
+
|
1723
|
+
# A track of an object instance.
|
1724
|
+
class GoogleCloudVideointelligenceV1beta2Track
|
1725
|
+
include Google::Apis::Core::Hashable
|
1726
|
+
|
1727
|
+
# Optional. Attributes in the track level.
|
1728
|
+
# Corresponds to the JSON property `attributes`
|
1729
|
+
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2DetectedAttribute>]
|
1730
|
+
attr_accessor :attributes
|
1731
|
+
|
1732
|
+
# Optional. The confidence score of the tracked object.
|
1733
|
+
# Corresponds to the JSON property `confidence`
|
1734
|
+
# @return [Float]
|
1735
|
+
attr_accessor :confidence
|
1736
|
+
|
1737
|
+
# Video segment.
|
1738
|
+
# Corresponds to the JSON property `segment`
|
1739
|
+
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2VideoSegment]
|
1740
|
+
attr_accessor :segment
|
1741
|
+
|
1742
|
+
# The object with timestamp and attributes per frame in the track.
|
1743
|
+
# Corresponds to the JSON property `timestampedObjects`
|
1744
|
+
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2TimestampedObject>]
|
1745
|
+
attr_accessor :timestamped_objects
|
1746
|
+
|
1747
|
+
def initialize(**args)
|
1748
|
+
update!(**args)
|
1749
|
+
end
|
1750
|
+
|
1751
|
+
# Update properties of this object
|
1752
|
+
def update!(**args)
|
1753
|
+
@attributes = args[:attributes] if args.key?(:attributes)
|
1754
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
1755
|
+
@segment = args[:segment] if args.key?(:segment)
|
1756
|
+
@timestamped_objects = args[:timestamped_objects] if args.key?(:timestamped_objects)
|
1757
|
+
end
|
1758
|
+
end
|
1759
|
+
|
1396
1760
|
# Annotation progress for a single video.
|
1397
1761
|
class GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress
|
1398
1762
|
include Google::Apis::Core::Hashable
|
@@ -1478,6 +1842,11 @@ module Google
|
|
1478
1842
|
# @return [String]
|
1479
1843
|
attr_accessor :input_uri
|
1480
1844
|
|
1845
|
+
# Annotations for list of logos detected, tracked and recognized in video.
|
1846
|
+
# Corresponds to the JSON property `logoRecognitionAnnotations`
|
1847
|
+
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2LogoRecognitionAnnotation>]
|
1848
|
+
attr_accessor :logo_recognition_annotations
|
1849
|
+
|
1481
1850
|
# Annotations for list of objects detected and tracked in video.
|
1482
1851
|
# Corresponds to the JSON property `objectAnnotations`
|
1483
1852
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation>]
|
@@ -1546,6 +1915,7 @@ module Google
|
|
1546
1915
|
@explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
|
1547
1916
|
@frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
|
1548
1917
|
@input_uri = args[:input_uri] if args.key?(:input_uri)
|
1918
|
+
@logo_recognition_annotations = args[:logo_recognition_annotations] if args.key?(:logo_recognition_annotations)
|
1549
1919
|
@object_annotations = args[:object_annotations] if args.key?(:object_annotations)
|
1550
1920
|
@segment = args[:segment] if args.key?(:segment)
|
1551
1921
|
@segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
|
@@ -1687,7 +2057,7 @@ module Google
|
|
1687
2057
|
# supported, which must be specified in the following format:
|
1688
2058
|
# `gs://bucket-id/object-id` (other URI formats return
|
1689
2059
|
# google.rpc.Code.INVALID_ARGUMENT). For more information, see
|
1690
|
-
# [Request URIs](/storage/docs/
|
2060
|
+
# [Request URIs](https://cloud.google.com/storage/docs/request-endpoints).
|
1691
2061
|
# A video URI may include wildcards in `object-id`, and thus identify
|
1692
2062
|
# multiple videos. Supported wildcards: '*' to match 0 or more characters;
|
1693
2063
|
# '?' to match 1 character. If unset, the input video should be embedded
|
@@ -1708,7 +2078,7 @@ module Google
|
|
1708
2078
|
# URIs are supported, which must be specified in the following format:
|
1709
2079
|
# `gs://bucket-id/object-id` (other URI formats return
|
1710
2080
|
# google.rpc.Code.INVALID_ARGUMENT). For more information, see
|
1711
|
-
# [Request URIs](/storage/docs/
|
2081
|
+
# [Request URIs](https://cloud.google.com/storage/docs/request-endpoints).
|
1712
2082
|
# Corresponds to the JSON property `outputUri`
|
1713
2083
|
# @return [String]
|
1714
2084
|
attr_accessor :output_uri
|
@@ -1754,6 +2124,73 @@ module Google
|
|
1754
2124
|
end
|
1755
2125
|
end
|
1756
2126
|
|
2127
|
+
# A generic detected attribute represented by name in string format.
|
2128
|
+
class GoogleCloudVideointelligenceV1p1beta1DetectedAttribute
|
2129
|
+
include Google::Apis::Core::Hashable
|
2130
|
+
|
2131
|
+
# Detected attribute confidence. Range [0, 1].
|
2132
|
+
# Corresponds to the JSON property `confidence`
|
2133
|
+
# @return [Float]
|
2134
|
+
attr_accessor :confidence
|
2135
|
+
|
2136
|
+
# The name of the attribute, i.e. glasses, dark_glasses, mouth_open etc.
|
2137
|
+
# A full list of supported type names will be provided in the document.
|
2138
|
+
# Corresponds to the JSON property `name`
|
2139
|
+
# @return [String]
|
2140
|
+
attr_accessor :name
|
2141
|
+
|
2142
|
+
# Text value of the detection result. For example, the value for "HairColor"
|
2143
|
+
# can be "black", "blonde", etc.
|
2144
|
+
# Corresponds to the JSON property `value`
|
2145
|
+
# @return [String]
|
2146
|
+
attr_accessor :value
|
2147
|
+
|
2148
|
+
def initialize(**args)
|
2149
|
+
update!(**args)
|
2150
|
+
end
|
2151
|
+
|
2152
|
+
# Update properties of this object
|
2153
|
+
def update!(**args)
|
2154
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
2155
|
+
@name = args[:name] if args.key?(:name)
|
2156
|
+
@value = args[:value] if args.key?(:value)
|
2157
|
+
end
|
2158
|
+
end
|
2159
|
+
|
2160
|
+
# A generic detected landmark represented by name in string format and a 2D
|
2161
|
+
# location.
|
2162
|
+
class GoogleCloudVideointelligenceV1p1beta1DetectedLandmark
|
2163
|
+
include Google::Apis::Core::Hashable
|
2164
|
+
|
2165
|
+
# The confidence score of the detected landmark. Range [0, 1].
|
2166
|
+
# Corresponds to the JSON property `confidence`
|
2167
|
+
# @return [Float]
|
2168
|
+
attr_accessor :confidence
|
2169
|
+
|
2170
|
+
# The name of this landmark, i.e. left_hand, right_shoulder.
|
2171
|
+
# Corresponds to the JSON property `name`
|
2172
|
+
# @return [String]
|
2173
|
+
attr_accessor :name
|
2174
|
+
|
2175
|
+
# A vertex represents a 2D point in the image.
|
2176
|
+
# NOTE: the normalized vertex coordinates are relative to the original image
|
2177
|
+
# and range from 0 to 1.
|
2178
|
+
# Corresponds to the JSON property `point`
|
2179
|
+
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1NormalizedVertex]
|
2180
|
+
attr_accessor :point
|
2181
|
+
|
2182
|
+
def initialize(**args)
|
2183
|
+
update!(**args)
|
2184
|
+
end
|
2185
|
+
|
2186
|
+
# Update properties of this object
|
2187
|
+
def update!(**args)
|
2188
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
2189
|
+
@name = args[:name] if args.key?(:name)
|
2190
|
+
@point = args[:point] if args.key?(:point)
|
2191
|
+
end
|
2192
|
+
end
|
2193
|
+
|
1757
2194
|
# Detected entity from video analysis.
|
1758
2195
|
class GoogleCloudVideointelligenceV1p1beta1Entity
|
1759
2196
|
include Google::Apis::Core::Hashable
|
@@ -2001,8 +2438,41 @@ module Google
|
|
2001
2438
|
|
2002
2439
|
# Update properties of this object
|
2003
2440
|
def update!(**args)
|
2004
|
-
@confidence = args[:confidence] if args.key?(:confidence)
|
2005
|
-
@segment = args[:segment] if args.key?(:segment)
|
2441
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
2442
|
+
@segment = args[:segment] if args.key?(:segment)
|
2443
|
+
end
|
2444
|
+
end
|
2445
|
+
|
2446
|
+
# Annotation corresponding to one detected, tracked and recognized logo class.
|
2447
|
+
class GoogleCloudVideointelligenceV1p1beta1LogoRecognitionAnnotation
|
2448
|
+
include Google::Apis::Core::Hashable
|
2449
|
+
|
2450
|
+
# Detected entity from video analysis.
|
2451
|
+
# Corresponds to the JSON property `entity`
|
2452
|
+
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1Entity]
|
2453
|
+
attr_accessor :entity
|
2454
|
+
|
2455
|
+
# All video segments where the recognized logo appears. There might be
|
2456
|
+
# multiple instances of the same logo class appearing in one VideoSegment.
|
2457
|
+
# Corresponds to the JSON property `segments`
|
2458
|
+
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment>]
|
2459
|
+
attr_accessor :segments
|
2460
|
+
|
2461
|
+
# All logo tracks where the recognized logo appears. Each track corresponds
|
2462
|
+
# to one logo instance appearing in consecutive frames.
|
2463
|
+
# Corresponds to the JSON property `tracks`
|
2464
|
+
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1Track>]
|
2465
|
+
attr_accessor :tracks
|
2466
|
+
|
2467
|
+
def initialize(**args)
|
2468
|
+
update!(**args)
|
2469
|
+
end
|
2470
|
+
|
2471
|
+
# Update properties of this object
|
2472
|
+
def update!(**args)
|
2473
|
+
@entity = args[:entity] if args.key?(:entity)
|
2474
|
+
@segments = args[:segments] if args.key?(:segments)
|
2475
|
+
@tracks = args[:tracks] if args.key?(:tracks)
|
2006
2476
|
end
|
2007
2477
|
end
|
2008
2478
|
|
@@ -2549,6 +3019,85 @@ module Google
|
|
2549
3019
|
end
|
2550
3020
|
end
|
2551
3021
|
|
3022
|
+
# For tracking related features.
|
3023
|
+
# An object at time_offset with attributes, and located with
|
3024
|
+
# normalized_bounding_box.
|
3025
|
+
class GoogleCloudVideointelligenceV1p1beta1TimestampedObject
|
3026
|
+
include Google::Apis::Core::Hashable
|
3027
|
+
|
3028
|
+
# Optional. The attributes of the object in the bounding box.
|
3029
|
+
# Corresponds to the JSON property `attributes`
|
3030
|
+
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1DetectedAttribute>]
|
3031
|
+
attr_accessor :attributes
|
3032
|
+
|
3033
|
+
# Optional. The detected landmarks.
|
3034
|
+
# Corresponds to the JSON property `landmarks`
|
3035
|
+
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1DetectedLandmark>]
|
3036
|
+
attr_accessor :landmarks
|
3037
|
+
|
3038
|
+
# Normalized bounding box.
|
3039
|
+
# The normalized vertex coordinates are relative to the original image.
|
3040
|
+
# Range: [0, 1].
|
3041
|
+
# Corresponds to the JSON property `normalizedBoundingBox`
|
3042
|
+
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox]
|
3043
|
+
attr_accessor :normalized_bounding_box
|
3044
|
+
|
3045
|
+
# Time-offset, relative to the beginning of the video,
|
3046
|
+
# corresponding to the video frame for this object.
|
3047
|
+
# Corresponds to the JSON property `timeOffset`
|
3048
|
+
# @return [String]
|
3049
|
+
attr_accessor :time_offset
|
3050
|
+
|
3051
|
+
def initialize(**args)
|
3052
|
+
update!(**args)
|
3053
|
+
end
|
3054
|
+
|
3055
|
+
# Update properties of this object
|
3056
|
+
def update!(**args)
|
3057
|
+
@attributes = args[:attributes] if args.key?(:attributes)
|
3058
|
+
@landmarks = args[:landmarks] if args.key?(:landmarks)
|
3059
|
+
@normalized_bounding_box = args[:normalized_bounding_box] if args.key?(:normalized_bounding_box)
|
3060
|
+
@time_offset = args[:time_offset] if args.key?(:time_offset)
|
3061
|
+
end
|
3062
|
+
end
|
3063
|
+
|
3064
|
+
# A track of an object instance.
|
3065
|
+
class GoogleCloudVideointelligenceV1p1beta1Track
|
3066
|
+
include Google::Apis::Core::Hashable
|
3067
|
+
|
3068
|
+
# Optional. Attributes in the track level.
|
3069
|
+
# Corresponds to the JSON property `attributes`
|
3070
|
+
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1DetectedAttribute>]
|
3071
|
+
attr_accessor :attributes
|
3072
|
+
|
3073
|
+
# Optional. The confidence score of the tracked object.
|
3074
|
+
# Corresponds to the JSON property `confidence`
|
3075
|
+
# @return [Float]
|
3076
|
+
attr_accessor :confidence
|
3077
|
+
|
3078
|
+
# Video segment.
|
3079
|
+
# Corresponds to the JSON property `segment`
|
3080
|
+
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment]
|
3081
|
+
attr_accessor :segment
|
3082
|
+
|
3083
|
+
# The object with timestamp and attributes per frame in the track.
|
3084
|
+
# Corresponds to the JSON property `timestampedObjects`
|
3085
|
+
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1TimestampedObject>]
|
3086
|
+
attr_accessor :timestamped_objects
|
3087
|
+
|
3088
|
+
def initialize(**args)
|
3089
|
+
update!(**args)
|
3090
|
+
end
|
3091
|
+
|
3092
|
+
# Update properties of this object
|
3093
|
+
def update!(**args)
|
3094
|
+
@attributes = args[:attributes] if args.key?(:attributes)
|
3095
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
3096
|
+
@segment = args[:segment] if args.key?(:segment)
|
3097
|
+
@timestamped_objects = args[:timestamped_objects] if args.key?(:timestamped_objects)
|
3098
|
+
end
|
3099
|
+
end
|
3100
|
+
|
2552
3101
|
# Annotation progress for a single video.
|
2553
3102
|
class GoogleCloudVideointelligenceV1p1beta1VideoAnnotationProgress
|
2554
3103
|
include Google::Apis::Core::Hashable
|
@@ -2634,6 +3183,11 @@ module Google
|
|
2634
3183
|
# @return [String]
|
2635
3184
|
attr_accessor :input_uri
|
2636
3185
|
|
3186
|
+
# Annotations for list of logos detected, tracked and recognized in video.
|
3187
|
+
# Corresponds to the JSON property `logoRecognitionAnnotations`
|
3188
|
+
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1LogoRecognitionAnnotation>]
|
3189
|
+
attr_accessor :logo_recognition_annotations
|
3190
|
+
|
2637
3191
|
# Annotations for list of objects detected and tracked in video.
|
2638
3192
|
# Corresponds to the JSON property `objectAnnotations`
|
2639
3193
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1ObjectTrackingAnnotation>]
|
@@ -2702,6 +3256,7 @@ module Google
|
|
2702
3256
|
@explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
|
2703
3257
|
@frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
|
2704
3258
|
@input_uri = args[:input_uri] if args.key?(:input_uri)
|
3259
|
+
@logo_recognition_annotations = args[:logo_recognition_annotations] if args.key?(:logo_recognition_annotations)
|
2705
3260
|
@object_annotations = args[:object_annotations] if args.key?(:object_annotations)
|
2706
3261
|
@segment = args[:segment] if args.key?(:segment)
|
2707
3262
|
@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::VideointelligenceV1p1beta1::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::VideointelligenceV1p1beta1::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::VideointelligenceV1p1beta1::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::VideointelligenceV1p1beta1::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::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1DetectedAttribute>]
|
4084
|
+
attr_accessor :attributes
|
4085
|
+
|
4086
|
+
# Optional. The detected landmarks.
|
4087
|
+
# Corresponds to the JSON property `landmarks`
|
4088
|
+
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::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::VideointelligenceV1p1beta1::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::VideointelligenceV1p1beta1::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::VideointelligenceV1p1beta1::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::VideointelligenceV1p1beta1::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::VideointelligenceV1p1beta1::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::VideointelligenceV1p1beta1::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)
|