google-api-client 0.37.3 → 0.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +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
|
@@ -47,7 +47,7 @@ module Google
|
|
|
47
47
|
attr_accessor :user_ip
|
|
48
48
|
|
|
49
49
|
def initialize
|
|
50
|
-
super('https://www.googleapis.com/', 'toolresults/v1beta3/
|
|
50
|
+
super('https://www.googleapis.com/', 'toolresults/v1beta3/')
|
|
51
51
|
@batch_path = 'batch/toolresults/v1beta3'
|
|
52
52
|
end
|
|
53
53
|
|
|
@@ -77,7 +77,7 @@ module Google
|
|
|
77
77
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
78
78
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
79
79
|
def get_project_settings(project_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
80
|
-
command = make_simple_command(:get, '{projectId}/settings', options)
|
|
80
|
+
command = make_simple_command(:get, 'projects/{projectId}/settings', options)
|
|
81
81
|
command.response_representation = Google::Apis::ToolresultsV1beta3::ProjectSettings::Representation
|
|
82
82
|
command.response_class = Google::Apis::ToolresultsV1beta3::ProjectSettings
|
|
83
83
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
@@ -129,7 +129,7 @@ module Google
|
|
|
129
129
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
130
130
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
131
131
|
def initialize_project_settings(project_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
132
|
-
command = make_simple_command(:post, '{projectId}:initializeSettings', options)
|
|
132
|
+
command = make_simple_command(:post, 'projects/{projectId}:initializeSettings', options)
|
|
133
133
|
command.response_representation = Google::Apis::ToolresultsV1beta3::ProjectSettings::Representation
|
|
134
134
|
command.response_class = Google::Apis::ToolresultsV1beta3::ProjectSettings
|
|
135
135
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
@@ -173,7 +173,7 @@ module Google
|
|
|
173
173
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
174
174
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
175
175
|
def create_project_history(project_id, history_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
176
|
-
command = make_simple_command(:post, '{projectId}/histories', options)
|
|
176
|
+
command = make_simple_command(:post, 'projects/{projectId}/histories', options)
|
|
177
177
|
command.request_representation = Google::Apis::ToolresultsV1beta3::History::Representation
|
|
178
178
|
command.request_object = history_object
|
|
179
179
|
command.response_representation = Google::Apis::ToolresultsV1beta3::History::Representation
|
|
@@ -217,7 +217,7 @@ module Google
|
|
|
217
217
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
218
218
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
219
219
|
def get_project_history(project_id, history_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
220
|
-
command = make_simple_command(:get, '{projectId}/histories/{historyId}', options)
|
|
220
|
+
command = make_simple_command(:get, 'projects/{projectId}/histories/{historyId}', options)
|
|
221
221
|
command.response_representation = Google::Apis::ToolresultsV1beta3::History::Representation
|
|
222
222
|
command.response_class = Google::Apis::ToolresultsV1beta3::History
|
|
223
223
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
@@ -270,7 +270,7 @@ module Google
|
|
|
270
270
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
271
271
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
272
272
|
def list_project_histories(project_id, filter_by_name: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
273
|
-
command = make_simple_command(:get, '{projectId}/histories', options)
|
|
273
|
+
command = make_simple_command(:get, 'projects/{projectId}/histories', options)
|
|
274
274
|
command.response_representation = Google::Apis::ToolresultsV1beta3::ListHistoriesResponse::Representation
|
|
275
275
|
command.response_class = Google::Apis::ToolresultsV1beta3::ListHistoriesResponse
|
|
276
276
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
@@ -320,7 +320,7 @@ module Google
|
|
|
320
320
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
321
321
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
322
322
|
def create_project_history_execution(project_id, history_id, execution_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
323
|
-
command = make_simple_command(:post, '{projectId}/histories/{historyId}/executions', options)
|
|
323
|
+
command = make_simple_command(:post, 'projects/{projectId}/histories/{historyId}/executions', options)
|
|
324
324
|
command.request_representation = Google::Apis::ToolresultsV1beta3::Execution::Representation
|
|
325
325
|
command.request_object = execution_object
|
|
326
326
|
command.response_representation = Google::Apis::ToolresultsV1beta3::Execution::Representation
|
|
@@ -368,7 +368,7 @@ module Google
|
|
|
368
368
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
369
369
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
370
370
|
def get_project_history_execution(project_id, history_id, execution_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
371
|
-
command = make_simple_command(:get, '{projectId}/histories/{historyId}/executions/{executionId}', options)
|
|
371
|
+
command = make_simple_command(:get, 'projects/{projectId}/histories/{historyId}/executions/{executionId}', options)
|
|
372
372
|
command.response_representation = Google::Apis::ToolresultsV1beta3::Execution::Representation
|
|
373
373
|
command.response_class = Google::Apis::ToolresultsV1beta3::Execution
|
|
374
374
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
@@ -422,7 +422,7 @@ module Google
|
|
|
422
422
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
423
423
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
424
424
|
def list_project_history_executions(project_id, history_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
425
|
-
command = make_simple_command(:get, '{projectId}/histories/{historyId}/executions', options)
|
|
425
|
+
command = make_simple_command(:get, 'projects/{projectId}/histories/{historyId}/executions', options)
|
|
426
426
|
command.response_representation = Google::Apis::ToolresultsV1beta3::ListExecutionsResponse::Representation
|
|
427
427
|
command.response_class = Google::Apis::ToolresultsV1beta3::ListExecutionsResponse
|
|
428
428
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
@@ -472,7 +472,7 @@ module Google
|
|
|
472
472
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
473
473
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
474
474
|
def patch_project_history_execution(project_id, history_id, execution_id, execution_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
475
|
-
command = make_simple_command(:patch, '{projectId}/histories/{historyId}/executions/{executionId}', options)
|
|
475
|
+
command = make_simple_command(:patch, 'projects/{projectId}/histories/{historyId}/executions/{executionId}', options)
|
|
476
476
|
command.request_representation = Google::Apis::ToolresultsV1beta3::Execution::Representation
|
|
477
477
|
command.request_object = execution_object
|
|
478
478
|
command.response_representation = Google::Apis::ToolresultsV1beta3::Execution::Representation
|
|
@@ -520,7 +520,7 @@ module Google
|
|
|
520
520
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
521
521
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
522
522
|
def get_project_history_execution_cluster(project_id, history_id, execution_id, cluster_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
523
|
-
command = make_simple_command(:get, '{projectId}/histories/{historyId}/executions/{executionId}/clusters/{clusterId}', options)
|
|
523
|
+
command = make_simple_command(:get, 'projects/{projectId}/histories/{historyId}/executions/{executionId}/clusters/{clusterId}', options)
|
|
524
524
|
command.response_representation = Google::Apis::ToolresultsV1beta3::ScreenshotCluster::Representation
|
|
525
525
|
command.response_class = Google::Apis::ToolresultsV1beta3::ScreenshotCluster
|
|
526
526
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
@@ -569,7 +569,7 @@ module Google
|
|
|
569
569
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
570
570
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
571
571
|
def list_project_history_execution_clusters(project_id, history_id, execution_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
572
|
-
command = make_simple_command(:get, '{projectId}/histories/{historyId}/executions/{executionId}/clusters', options)
|
|
572
|
+
command = make_simple_command(:get, 'projects/{projectId}/histories/{historyId}/executions/{executionId}/clusters', options)
|
|
573
573
|
command.response_representation = Google::Apis::ToolresultsV1beta3::ListScreenshotClustersResponse::Representation
|
|
574
574
|
command.response_class = Google::Apis::ToolresultsV1beta3::ListScreenshotClustersResponse
|
|
575
575
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
@@ -614,7 +614,7 @@ module Google
|
|
|
614
614
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
615
615
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
616
616
|
def get_project_history_execution_environment(project_id, history_id, execution_id, environment_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
617
|
-
command = make_simple_command(:get, '{projectId}/histories/{historyId}/executions/{executionId}/environments/{environmentId}', options)
|
|
617
|
+
command = make_simple_command(:get, 'projects/{projectId}/histories/{historyId}/executions/{executionId}/environments/{environmentId}', options)
|
|
618
618
|
command.response_representation = Google::Apis::ToolresultsV1beta3::Environment::Representation
|
|
619
619
|
command.response_class = Google::Apis::ToolresultsV1beta3::Environment
|
|
620
620
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
@@ -665,7 +665,7 @@ module Google
|
|
|
665
665
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
666
666
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
667
667
|
def list_project_history_execution_environments(project_id, history_id, execution_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
668
|
-
command = make_simple_command(:get, '{projectId}/histories/{historyId}/executions/{executionId}/environments', options)
|
|
668
|
+
command = make_simple_command(:get, 'projects/{projectId}/histories/{historyId}/executions/{executionId}/environments', options)
|
|
669
669
|
command.response_representation = Google::Apis::ToolresultsV1beta3::ListEnvironmentsResponse::Representation
|
|
670
670
|
command.response_class = Google::Apis::ToolresultsV1beta3::ListEnvironmentsResponse
|
|
671
671
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
@@ -679,6 +679,53 @@ module Google
|
|
|
679
679
|
execute_or_queue_command(command, &block)
|
|
680
680
|
end
|
|
681
681
|
|
|
682
|
+
# Lists accessibility clusters for a given Step
|
|
683
|
+
# May return any of the following canonical error codes:
|
|
684
|
+
# - PERMISSION_DENIED - if the user is not authorized to read project -
|
|
685
|
+
# INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION - if an
|
|
686
|
+
# argument in the request happens to be invalid; e.g. if the locale format is
|
|
687
|
+
# incorrect - NOT_FOUND - if the containing Step does not exist
|
|
688
|
+
# @param [String] name
|
|
689
|
+
# A full resource name of the step. For example, projects/my-project/histories/
|
|
690
|
+
# bh.1234567890abcdef/executions/ 1234567890123456789/steps/bs.1234567890abcdef
|
|
691
|
+
# Required.
|
|
692
|
+
# @param [String] locale
|
|
693
|
+
# The accepted format is the canonical Unicode format with hyphen as a delimiter.
|
|
694
|
+
# Language must be lowercase, Language Script - Capitalized, Region - UPPERCASE.
|
|
695
|
+
# See http://www.unicode.org/reports/tr35/#Unicode_locale_identifier for
|
|
696
|
+
# details.
|
|
697
|
+
# Required.
|
|
698
|
+
# @param [String] fields
|
|
699
|
+
# Selector specifying which fields to include in a partial response.
|
|
700
|
+
# @param [String] quota_user
|
|
701
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
702
|
+
# characters.
|
|
703
|
+
# @param [String] user_ip
|
|
704
|
+
# Deprecated. Please use quotaUser instead.
|
|
705
|
+
# @param [Google::Apis::RequestOptions] options
|
|
706
|
+
# Request-specific options
|
|
707
|
+
#
|
|
708
|
+
# @yield [result, err] Result & error if block supplied
|
|
709
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::ListStepAccessibilityClustersResponse] parsed result object
|
|
710
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
711
|
+
#
|
|
712
|
+
# @return [Google::Apis::ToolresultsV1beta3::ListStepAccessibilityClustersResponse]
|
|
713
|
+
#
|
|
714
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
715
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
716
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
717
|
+
def accessibility_project_history_execution_step_clusters(name, locale: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
718
|
+
command = make_simple_command(:get, '{+name}:accessibilityClusters', options)
|
|
719
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::ListStepAccessibilityClustersResponse::Representation
|
|
720
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::ListStepAccessibilityClustersResponse
|
|
721
|
+
command.params['name'] = name unless name.nil?
|
|
722
|
+
command.query['locale'] = locale unless locale.nil?
|
|
723
|
+
command.query['fields'] = fields unless fields.nil?
|
|
724
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
725
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
726
|
+
execute_or_queue_command(command, &block)
|
|
727
|
+
end
|
|
728
|
+
|
|
682
729
|
# Creates a Step.
|
|
683
730
|
# The returned Step will have the id set.
|
|
684
731
|
# May return any of the following canonical error codes:
|
|
@@ -717,7 +764,7 @@ module Google
|
|
|
717
764
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
718
765
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
719
766
|
def create_project_history_execution_step(project_id, history_id, execution_id, step_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
720
|
-
command = make_simple_command(:post, '{projectId}/histories/{historyId}/executions/{executionId}/steps', options)
|
|
767
|
+
command = make_simple_command(:post, 'projects/{projectId}/histories/{historyId}/executions/{executionId}/steps', options)
|
|
721
768
|
command.request_representation = Google::Apis::ToolresultsV1beta3::Step::Representation
|
|
722
769
|
command.request_object = step_object
|
|
723
770
|
command.response_representation = Google::Apis::ToolresultsV1beta3::Step::Representation
|
|
@@ -769,7 +816,7 @@ module Google
|
|
|
769
816
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
770
817
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
771
818
|
def get_project_history_execution_step(project_id, history_id, execution_id, step_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
772
|
-
command = make_simple_command(:get, '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}', options)
|
|
819
|
+
command = make_simple_command(:get, 'projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}', options)
|
|
773
820
|
command.response_representation = Google::Apis::ToolresultsV1beta3::Step::Representation
|
|
774
821
|
command.response_class = Google::Apis::ToolresultsV1beta3::Step
|
|
775
822
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
@@ -813,7 +860,7 @@ module Google
|
|
|
813
860
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
814
861
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
815
862
|
def get_project_history_execution_step_perf_metrics_summary(project_id, history_id, execution_id, step_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
816
|
-
command = make_simple_command(:get, '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfMetricsSummary', options)
|
|
863
|
+
command = make_simple_command(:get, 'projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfMetricsSummary', options)
|
|
817
864
|
command.response_representation = Google::Apis::ToolresultsV1beta3::PerfMetricsSummary::Representation
|
|
818
865
|
command.response_class = Google::Apis::ToolresultsV1beta3::PerfMetricsSummary
|
|
819
866
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
@@ -872,7 +919,7 @@ module Google
|
|
|
872
919
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
873
920
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
874
921
|
def list_project_history_execution_steps(project_id, history_id, execution_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
875
|
-
command = make_simple_command(:get, '{projectId}/histories/{historyId}/executions/{executionId}/steps', options)
|
|
922
|
+
command = make_simple_command(:get, 'projects/{projectId}/histories/{historyId}/executions/{executionId}/steps', options)
|
|
876
923
|
command.response_representation = Google::Apis::ToolresultsV1beta3::ListStepsResponse::Representation
|
|
877
924
|
command.response_class = Google::Apis::ToolresultsV1beta3::ListStepsResponse
|
|
878
925
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
@@ -930,7 +977,7 @@ module Google
|
|
|
930
977
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
931
978
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
932
979
|
def patch_project_history_execution_step(project_id, history_id, execution_id, step_id, step_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
933
|
-
command = make_simple_command(:patch, '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}', options)
|
|
980
|
+
command = make_simple_command(:patch, 'projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}', options)
|
|
934
981
|
command.request_representation = Google::Apis::ToolresultsV1beta3::Step::Representation
|
|
935
982
|
command.request_object = step_object
|
|
936
983
|
command.response_representation = Google::Apis::ToolresultsV1beta3::Step::Representation
|
|
@@ -985,7 +1032,7 @@ module Google
|
|
|
985
1032
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
986
1033
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
987
1034
|
def publish_step_xunit_xml_files(project_id, history_id, execution_id, step_id, publish_xunit_xml_files_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
988
|
-
command = make_simple_command(:post, '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}:publishXunitXmlFiles', options)
|
|
1035
|
+
command = make_simple_command(:post, 'projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}:publishXunitXmlFiles', options)
|
|
989
1036
|
command.request_representation = Google::Apis::ToolresultsV1beta3::PublishXunitXmlFilesRequest::Representation
|
|
990
1037
|
command.request_object = publish_xunit_xml_files_request_object
|
|
991
1038
|
command.response_representation = Google::Apis::ToolresultsV1beta3::Step::Representation
|
|
@@ -1033,7 +1080,7 @@ module Google
|
|
|
1033
1080
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1034
1081
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1035
1082
|
def create_project_history_execution_step_perf_metrics_summary(project_id, history_id, execution_id, step_id, perf_metrics_summary_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1036
|
-
command = make_simple_command(:post, '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfMetricsSummary', options)
|
|
1083
|
+
command = make_simple_command(:post, 'projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfMetricsSummary', options)
|
|
1037
1084
|
command.request_representation = Google::Apis::ToolresultsV1beta3::PerfMetricsSummary::Representation
|
|
1038
1085
|
command.request_object = perf_metrics_summary_object
|
|
1039
1086
|
command.response_representation = Google::Apis::ToolresultsV1beta3::PerfMetricsSummary::Representation
|
|
@@ -1081,7 +1128,7 @@ module Google
|
|
|
1081
1128
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1082
1129
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1083
1130
|
def create_project_history_execution_step_perf_sample_series(project_id, history_id, execution_id, step_id, perf_sample_series_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1084
|
-
command = make_simple_command(:post, '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries', options)
|
|
1131
|
+
command = make_simple_command(:post, 'projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries', options)
|
|
1085
1132
|
command.request_representation = Google::Apis::ToolresultsV1beta3::PerfSampleSeries::Representation
|
|
1086
1133
|
command.request_object = perf_sample_series_object
|
|
1087
1134
|
command.response_representation = Google::Apis::ToolresultsV1beta3::PerfSampleSeries::Representation
|
|
@@ -1129,7 +1176,7 @@ module Google
|
|
|
1129
1176
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1130
1177
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1131
1178
|
def get_project_history_execution_step_perf_sample_series(project_id, history_id, execution_id, step_id, sample_series_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1132
|
-
command = make_simple_command(:get, '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}', options)
|
|
1179
|
+
command = make_simple_command(:get, 'projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}', options)
|
|
1133
1180
|
command.response_representation = Google::Apis::ToolresultsV1beta3::PerfSampleSeries::Representation
|
|
1134
1181
|
command.response_class = Google::Apis::ToolresultsV1beta3::PerfSampleSeries
|
|
1135
1182
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
@@ -1179,7 +1226,7 @@ module Google
|
|
|
1179
1226
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1180
1227
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1181
1228
|
def list_project_history_execution_step_perf_sample_series(project_id, history_id, execution_id, step_id, filter: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1182
|
-
command = make_simple_command(:get, '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries', options)
|
|
1229
|
+
command = make_simple_command(:get, 'projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries', options)
|
|
1183
1230
|
command.response_representation = Google::Apis::ToolresultsV1beta3::ListPerfSampleSeriesResponse::Representation
|
|
1184
1231
|
command.response_class = Google::Apis::ToolresultsV1beta3::ListPerfSampleSeriesResponse
|
|
1185
1232
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
@@ -1232,7 +1279,7 @@ module Google
|
|
|
1232
1279
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1233
1280
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1234
1281
|
def batch_create_perf_samples(project_id, history_id, execution_id, step_id, sample_series_id, batch_create_perf_samples_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1235
|
-
command = make_simple_command(:post, '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}/samples:batchCreate', options)
|
|
1282
|
+
command = make_simple_command(:post, 'projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}/samples:batchCreate', options)
|
|
1236
1283
|
command.request_representation = Google::Apis::ToolresultsV1beta3::BatchCreatePerfSamplesRequest::Representation
|
|
1237
1284
|
command.request_object = batch_create_perf_samples_request_object
|
|
1238
1285
|
command.response_representation = Google::Apis::ToolresultsV1beta3::BatchCreatePerfSamplesResponse::Representation
|
|
@@ -1292,7 +1339,7 @@ module Google
|
|
|
1292
1339
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1293
1340
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1294
1341
|
def list_project_history_execution_step_perf_sample_series_samples(project_id, history_id, execution_id, step_id, sample_series_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1295
|
-
command = make_simple_command(:get, '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}/samples', options)
|
|
1342
|
+
command = make_simple_command(:get, 'projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}/samples', options)
|
|
1296
1343
|
command.response_representation = Google::Apis::ToolresultsV1beta3::ListPerfSamplesResponse::Representation
|
|
1297
1344
|
command.response_class = Google::Apis::ToolresultsV1beta3::ListPerfSamplesResponse
|
|
1298
1345
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
@@ -1349,7 +1396,7 @@ module Google
|
|
|
1349
1396
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1350
1397
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1351
1398
|
def get_project_history_execution_step_test_case(project_id, history_id, execution_id, step_id, test_case_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1352
|
-
command = make_simple_command(:get, '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/testCases/{testCaseId}', options)
|
|
1399
|
+
command = make_simple_command(:get, 'projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/testCases/{testCaseId}', options)
|
|
1353
1400
|
command.response_representation = Google::Apis::ToolresultsV1beta3::TestCase::Representation
|
|
1354
1401
|
command.response_class = Google::Apis::ToolresultsV1beta3::TestCase
|
|
1355
1402
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
@@ -1409,7 +1456,7 @@ module Google
|
|
|
1409
1456
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1410
1457
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1411
1458
|
def list_project_history_execution_step_test_cases(project_id, history_id, execution_id, step_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1412
|
-
command = make_simple_command(:get, '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/testCases', options)
|
|
1459
|
+
command = make_simple_command(:get, 'projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/testCases', options)
|
|
1413
1460
|
command.response_representation = Google::Apis::ToolresultsV1beta3::ListTestCasesResponse::Representation
|
|
1414
1461
|
command.response_class = Google::Apis::ToolresultsV1beta3::ListTestCasesResponse
|
|
1415
1462
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
@@ -1469,7 +1516,7 @@ module Google
|
|
|
1469
1516
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1470
1517
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1471
1518
|
def list_project_history_execution_step_thumbnails(project_id, history_id, execution_id, step_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1472
|
-
command = make_simple_command(:get, '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/thumbnails', options)
|
|
1519
|
+
command = make_simple_command(:get, 'projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/thumbnails', options)
|
|
1473
1520
|
command.response_representation = Google::Apis::ToolresultsV1beta3::ListStepThumbnailsResponse::Representation
|
|
1474
1521
|
command.response_class = Google::Apis::ToolresultsV1beta3::ListStepThumbnailsResponse
|
|
1475
1522
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
@@ -27,7 +27,7 @@ module Google
|
|
|
27
27
|
# @see https://cloud.google.com/video-intelligence/docs/
|
|
28
28
|
module VideointelligenceV1
|
|
29
29
|
VERSION = 'V1'
|
|
30
|
-
REVISION = '
|
|
30
|
+
REVISION = '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'
|
|
@@ -65,7 +65,7 @@ module Google
|
|
|
65
65
|
# supported, which must be specified in the following format:
|
|
66
66
|
# `gs://bucket-id/object-id` (other URI formats return
|
|
67
67
|
# google.rpc.Code.INVALID_ARGUMENT). For more information, see
|
|
68
|
-
# [Request URIs](/storage/docs/
|
|
68
|
+
# [Request URIs](https://cloud.google.com/storage/docs/request-endpoints).
|
|
69
69
|
# A video URI may include wildcards in `object-id`, and thus identify
|
|
70
70
|
# multiple videos. Supported wildcards: '*' to match 0 or more characters;
|
|
71
71
|
# '?' to match 1 character. If unset, the input video should be embedded
|
|
@@ -86,7 +86,7 @@ module Google
|
|
|
86
86
|
# URIs are supported, which must be specified in the following format:
|
|
87
87
|
# `gs://bucket-id/object-id` (other URI formats return
|
|
88
88
|
# google.rpc.Code.INVALID_ARGUMENT). For more information, see
|
|
89
|
-
# [Request URIs](/storage/docs/
|
|
89
|
+
# [Request URIs](https://cloud.google.com/storage/docs/request-endpoints).
|
|
90
90
|
# Corresponds to the JSON property `outputUri`
|
|
91
91
|
# @return [String]
|
|
92
92
|
attr_accessor :output_uri
|
|
@@ -132,6 +132,73 @@ module Google
|
|
|
132
132
|
end
|
|
133
133
|
end
|
|
134
134
|
|
|
135
|
+
# A generic detected attribute represented by name in string format.
|
|
136
|
+
class GoogleCloudVideointelligenceV1DetectedAttribute
|
|
137
|
+
include Google::Apis::Core::Hashable
|
|
138
|
+
|
|
139
|
+
# Detected attribute confidence. Range [0, 1].
|
|
140
|
+
# Corresponds to the JSON property `confidence`
|
|
141
|
+
# @return [Float]
|
|
142
|
+
attr_accessor :confidence
|
|
143
|
+
|
|
144
|
+
# The name of the attribute, i.e. glasses, dark_glasses, mouth_open etc.
|
|
145
|
+
# A full list of supported type names will be provided in the document.
|
|
146
|
+
# Corresponds to the JSON property `name`
|
|
147
|
+
# @return [String]
|
|
148
|
+
attr_accessor :name
|
|
149
|
+
|
|
150
|
+
# Text value of the detection result. For example, the value for "HairColor"
|
|
151
|
+
# can be "black", "blonde", etc.
|
|
152
|
+
# Corresponds to the JSON property `value`
|
|
153
|
+
# @return [String]
|
|
154
|
+
attr_accessor :value
|
|
155
|
+
|
|
156
|
+
def initialize(**args)
|
|
157
|
+
update!(**args)
|
|
158
|
+
end
|
|
159
|
+
|
|
160
|
+
# Update properties of this object
|
|
161
|
+
def update!(**args)
|
|
162
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
|
163
|
+
@name = args[:name] if args.key?(:name)
|
|
164
|
+
@value = args[:value] if args.key?(:value)
|
|
165
|
+
end
|
|
166
|
+
end
|
|
167
|
+
|
|
168
|
+
# A generic detected landmark represented by name in string format and a 2D
|
|
169
|
+
# location.
|
|
170
|
+
class GoogleCloudVideointelligenceV1DetectedLandmark
|
|
171
|
+
include Google::Apis::Core::Hashable
|
|
172
|
+
|
|
173
|
+
# The confidence score of the detected landmark. Range [0, 1].
|
|
174
|
+
# Corresponds to the JSON property `confidence`
|
|
175
|
+
# @return [Float]
|
|
176
|
+
attr_accessor :confidence
|
|
177
|
+
|
|
178
|
+
# The name of this landmark, i.e. left_hand, right_shoulder.
|
|
179
|
+
# Corresponds to the JSON property `name`
|
|
180
|
+
# @return [String]
|
|
181
|
+
attr_accessor :name
|
|
182
|
+
|
|
183
|
+
# A vertex represents a 2D point in the image.
|
|
184
|
+
# NOTE: the normalized vertex coordinates are relative to the original image
|
|
185
|
+
# and range from 0 to 1.
|
|
186
|
+
# Corresponds to the JSON property `point`
|
|
187
|
+
# @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1NormalizedVertex]
|
|
188
|
+
attr_accessor :point
|
|
189
|
+
|
|
190
|
+
def initialize(**args)
|
|
191
|
+
update!(**args)
|
|
192
|
+
end
|
|
193
|
+
|
|
194
|
+
# Update properties of this object
|
|
195
|
+
def update!(**args)
|
|
196
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
|
197
|
+
@name = args[:name] if args.key?(:name)
|
|
198
|
+
@point = args[:point] if args.key?(:point)
|
|
199
|
+
end
|
|
200
|
+
end
|
|
201
|
+
|
|
135
202
|
# Detected entity from video analysis.
|
|
136
203
|
class GoogleCloudVideointelligenceV1Entity
|
|
137
204
|
include Google::Apis::Core::Hashable
|
|
@@ -384,6 +451,39 @@ module Google
|
|
|
384
451
|
end
|
|
385
452
|
end
|
|
386
453
|
|
|
454
|
+
# Annotation corresponding to one detected, tracked and recognized logo class.
|
|
455
|
+
class GoogleCloudVideointelligenceV1LogoRecognitionAnnotation
|
|
456
|
+
include Google::Apis::Core::Hashable
|
|
457
|
+
|
|
458
|
+
# Detected entity from video analysis.
|
|
459
|
+
# Corresponds to the JSON property `entity`
|
|
460
|
+
# @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1Entity]
|
|
461
|
+
attr_accessor :entity
|
|
462
|
+
|
|
463
|
+
# All video segments where the recognized logo appears. There might be
|
|
464
|
+
# multiple instances of the same logo class appearing in one VideoSegment.
|
|
465
|
+
# Corresponds to the JSON property `segments`
|
|
466
|
+
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1VideoSegment>]
|
|
467
|
+
attr_accessor :segments
|
|
468
|
+
|
|
469
|
+
# All logo tracks where the recognized logo appears. Each track corresponds
|
|
470
|
+
# to one logo instance appearing in consecutive frames.
|
|
471
|
+
# Corresponds to the JSON property `tracks`
|
|
472
|
+
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1Track>]
|
|
473
|
+
attr_accessor :tracks
|
|
474
|
+
|
|
475
|
+
def initialize(**args)
|
|
476
|
+
update!(**args)
|
|
477
|
+
end
|
|
478
|
+
|
|
479
|
+
# Update properties of this object
|
|
480
|
+
def update!(**args)
|
|
481
|
+
@entity = args[:entity] if args.key?(:entity)
|
|
482
|
+
@segments = args[:segments] if args.key?(:segments)
|
|
483
|
+
@tracks = args[:tracks] if args.key?(:tracks)
|
|
484
|
+
end
|
|
485
|
+
end
|
|
486
|
+
|
|
387
487
|
# Normalized bounding box.
|
|
388
488
|
# The normalized vertex coordinates are relative to the original image.
|
|
389
489
|
# Range: [0, 1].
|
|
@@ -927,6 +1027,85 @@ module Google
|
|
|
927
1027
|
end
|
|
928
1028
|
end
|
|
929
1029
|
|
|
1030
|
+
# For tracking related features.
|
|
1031
|
+
# An object at time_offset with attributes, and located with
|
|
1032
|
+
# normalized_bounding_box.
|
|
1033
|
+
class GoogleCloudVideointelligenceV1TimestampedObject
|
|
1034
|
+
include Google::Apis::Core::Hashable
|
|
1035
|
+
|
|
1036
|
+
# Optional. The attributes of the object in the bounding box.
|
|
1037
|
+
# Corresponds to the JSON property `attributes`
|
|
1038
|
+
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1DetectedAttribute>]
|
|
1039
|
+
attr_accessor :attributes
|
|
1040
|
+
|
|
1041
|
+
# Optional. The detected landmarks.
|
|
1042
|
+
# Corresponds to the JSON property `landmarks`
|
|
1043
|
+
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1DetectedLandmark>]
|
|
1044
|
+
attr_accessor :landmarks
|
|
1045
|
+
|
|
1046
|
+
# Normalized bounding box.
|
|
1047
|
+
# The normalized vertex coordinates are relative to the original image.
|
|
1048
|
+
# Range: [0, 1].
|
|
1049
|
+
# Corresponds to the JSON property `normalizedBoundingBox`
|
|
1050
|
+
# @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1NormalizedBoundingBox]
|
|
1051
|
+
attr_accessor :normalized_bounding_box
|
|
1052
|
+
|
|
1053
|
+
# Time-offset, relative to the beginning of the video,
|
|
1054
|
+
# corresponding to the video frame for this object.
|
|
1055
|
+
# Corresponds to the JSON property `timeOffset`
|
|
1056
|
+
# @return [String]
|
|
1057
|
+
attr_accessor :time_offset
|
|
1058
|
+
|
|
1059
|
+
def initialize(**args)
|
|
1060
|
+
update!(**args)
|
|
1061
|
+
end
|
|
1062
|
+
|
|
1063
|
+
# Update properties of this object
|
|
1064
|
+
def update!(**args)
|
|
1065
|
+
@attributes = args[:attributes] if args.key?(:attributes)
|
|
1066
|
+
@landmarks = args[:landmarks] if args.key?(:landmarks)
|
|
1067
|
+
@normalized_bounding_box = args[:normalized_bounding_box] if args.key?(:normalized_bounding_box)
|
|
1068
|
+
@time_offset = args[:time_offset] if args.key?(:time_offset)
|
|
1069
|
+
end
|
|
1070
|
+
end
|
|
1071
|
+
|
|
1072
|
+
# A track of an object instance.
|
|
1073
|
+
class GoogleCloudVideointelligenceV1Track
|
|
1074
|
+
include Google::Apis::Core::Hashable
|
|
1075
|
+
|
|
1076
|
+
# Optional. Attributes in the track level.
|
|
1077
|
+
# Corresponds to the JSON property `attributes`
|
|
1078
|
+
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1DetectedAttribute>]
|
|
1079
|
+
attr_accessor :attributes
|
|
1080
|
+
|
|
1081
|
+
# Optional. The confidence score of the tracked object.
|
|
1082
|
+
# Corresponds to the JSON property `confidence`
|
|
1083
|
+
# @return [Float]
|
|
1084
|
+
attr_accessor :confidence
|
|
1085
|
+
|
|
1086
|
+
# Video segment.
|
|
1087
|
+
# Corresponds to the JSON property `segment`
|
|
1088
|
+
# @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1VideoSegment]
|
|
1089
|
+
attr_accessor :segment
|
|
1090
|
+
|
|
1091
|
+
# The object with timestamp and attributes per frame in the track.
|
|
1092
|
+
# Corresponds to the JSON property `timestampedObjects`
|
|
1093
|
+
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1TimestampedObject>]
|
|
1094
|
+
attr_accessor :timestamped_objects
|
|
1095
|
+
|
|
1096
|
+
def initialize(**args)
|
|
1097
|
+
update!(**args)
|
|
1098
|
+
end
|
|
1099
|
+
|
|
1100
|
+
# Update properties of this object
|
|
1101
|
+
def update!(**args)
|
|
1102
|
+
@attributes = args[:attributes] if args.key?(:attributes)
|
|
1103
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
|
1104
|
+
@segment = args[:segment] if args.key?(:segment)
|
|
1105
|
+
@timestamped_objects = args[:timestamped_objects] if args.key?(:timestamped_objects)
|
|
1106
|
+
end
|
|
1107
|
+
end
|
|
1108
|
+
|
|
930
1109
|
# Annotation progress for a single video.
|
|
931
1110
|
class GoogleCloudVideointelligenceV1VideoAnnotationProgress
|
|
932
1111
|
include Google::Apis::Core::Hashable
|
|
@@ -1012,6 +1191,11 @@ module Google
|
|
|
1012
1191
|
# @return [String]
|
|
1013
1192
|
attr_accessor :input_uri
|
|
1014
1193
|
|
|
1194
|
+
# Annotations for list of logos detected, tracked and recognized in video.
|
|
1195
|
+
# Corresponds to the JSON property `logoRecognitionAnnotations`
|
|
1196
|
+
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1LogoRecognitionAnnotation>]
|
|
1197
|
+
attr_accessor :logo_recognition_annotations
|
|
1198
|
+
|
|
1015
1199
|
# Annotations for list of objects detected and tracked in video.
|
|
1016
1200
|
# Corresponds to the JSON property `objectAnnotations`
|
|
1017
1201
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1ObjectTrackingAnnotation>]
|
|
@@ -1080,6 +1264,7 @@ module Google
|
|
|
1080
1264
|
@explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
|
|
1081
1265
|
@frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
|
|
1082
1266
|
@input_uri = args[:input_uri] if args.key?(:input_uri)
|
|
1267
|
+
@logo_recognition_annotations = args[:logo_recognition_annotations] if args.key?(:logo_recognition_annotations)
|
|
1083
1268
|
@object_annotations = args[:object_annotations] if args.key?(:object_annotations)
|
|
1084
1269
|
@segment = args[:segment] if args.key?(:segment)
|
|
1085
1270
|
@segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
|
|
@@ -1277,6 +1462,73 @@ module Google
|
|
|
1277
1462
|
end
|
|
1278
1463
|
end
|
|
1279
1464
|
|
|
1465
|
+
# A generic detected attribute represented by name in string format.
|
|
1466
|
+
class GoogleCloudVideointelligenceV1beta2DetectedAttribute
|
|
1467
|
+
include Google::Apis::Core::Hashable
|
|
1468
|
+
|
|
1469
|
+
# Detected attribute confidence. Range [0, 1].
|
|
1470
|
+
# Corresponds to the JSON property `confidence`
|
|
1471
|
+
# @return [Float]
|
|
1472
|
+
attr_accessor :confidence
|
|
1473
|
+
|
|
1474
|
+
# The name of the attribute, i.e. glasses, dark_glasses, mouth_open etc.
|
|
1475
|
+
# A full list of supported type names will be provided in the document.
|
|
1476
|
+
# Corresponds to the JSON property `name`
|
|
1477
|
+
# @return [String]
|
|
1478
|
+
attr_accessor :name
|
|
1479
|
+
|
|
1480
|
+
# Text value of the detection result. For example, the value for "HairColor"
|
|
1481
|
+
# can be "black", "blonde", etc.
|
|
1482
|
+
# Corresponds to the JSON property `value`
|
|
1483
|
+
# @return [String]
|
|
1484
|
+
attr_accessor :value
|
|
1485
|
+
|
|
1486
|
+
def initialize(**args)
|
|
1487
|
+
update!(**args)
|
|
1488
|
+
end
|
|
1489
|
+
|
|
1490
|
+
# Update properties of this object
|
|
1491
|
+
def update!(**args)
|
|
1492
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
|
1493
|
+
@name = args[:name] if args.key?(:name)
|
|
1494
|
+
@value = args[:value] if args.key?(:value)
|
|
1495
|
+
end
|
|
1496
|
+
end
|
|
1497
|
+
|
|
1498
|
+
# A generic detected landmark represented by name in string format and a 2D
|
|
1499
|
+
# location.
|
|
1500
|
+
class GoogleCloudVideointelligenceV1beta2DetectedLandmark
|
|
1501
|
+
include Google::Apis::Core::Hashable
|
|
1502
|
+
|
|
1503
|
+
# The confidence score of the detected landmark. Range [0, 1].
|
|
1504
|
+
# Corresponds to the JSON property `confidence`
|
|
1505
|
+
# @return [Float]
|
|
1506
|
+
attr_accessor :confidence
|
|
1507
|
+
|
|
1508
|
+
# The name of this landmark, i.e. left_hand, right_shoulder.
|
|
1509
|
+
# Corresponds to the JSON property `name`
|
|
1510
|
+
# @return [String]
|
|
1511
|
+
attr_accessor :name
|
|
1512
|
+
|
|
1513
|
+
# A vertex represents a 2D point in the image.
|
|
1514
|
+
# NOTE: the normalized vertex coordinates are relative to the original image
|
|
1515
|
+
# and range from 0 to 1.
|
|
1516
|
+
# Corresponds to the JSON property `point`
|
|
1517
|
+
# @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2NormalizedVertex]
|
|
1518
|
+
attr_accessor :point
|
|
1519
|
+
|
|
1520
|
+
def initialize(**args)
|
|
1521
|
+
update!(**args)
|
|
1522
|
+
end
|
|
1523
|
+
|
|
1524
|
+
# Update properties of this object
|
|
1525
|
+
def update!(**args)
|
|
1526
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
|
1527
|
+
@name = args[:name] if args.key?(:name)
|
|
1528
|
+
@point = args[:point] if args.key?(:point)
|
|
1529
|
+
end
|
|
1530
|
+
end
|
|
1531
|
+
|
|
1280
1532
|
# Detected entity from video analysis.
|
|
1281
1533
|
class GoogleCloudVideointelligenceV1beta2Entity
|
|
1282
1534
|
include Google::Apis::Core::Hashable
|
|
@@ -1448,6 +1700,39 @@ module Google
|
|
|
1448
1700
|
end
|
|
1449
1701
|
end
|
|
1450
1702
|
|
|
1703
|
+
# Annotation corresponding to one detected, tracked and recognized logo class.
|
|
1704
|
+
class GoogleCloudVideointelligenceV1beta2LogoRecognitionAnnotation
|
|
1705
|
+
include Google::Apis::Core::Hashable
|
|
1706
|
+
|
|
1707
|
+
# Detected entity from video analysis.
|
|
1708
|
+
# Corresponds to the JSON property `entity`
|
|
1709
|
+
# @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2Entity]
|
|
1710
|
+
attr_accessor :entity
|
|
1711
|
+
|
|
1712
|
+
# All video segments where the recognized logo appears. There might be
|
|
1713
|
+
# multiple instances of the same logo class appearing in one VideoSegment.
|
|
1714
|
+
# Corresponds to the JSON property `segments`
|
|
1715
|
+
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2VideoSegment>]
|
|
1716
|
+
attr_accessor :segments
|
|
1717
|
+
|
|
1718
|
+
# All logo tracks where the recognized logo appears. Each track corresponds
|
|
1719
|
+
# to one logo instance appearing in consecutive frames.
|
|
1720
|
+
# Corresponds to the JSON property `tracks`
|
|
1721
|
+
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2Track>]
|
|
1722
|
+
attr_accessor :tracks
|
|
1723
|
+
|
|
1724
|
+
def initialize(**args)
|
|
1725
|
+
update!(**args)
|
|
1726
|
+
end
|
|
1727
|
+
|
|
1728
|
+
# Update properties of this object
|
|
1729
|
+
def update!(**args)
|
|
1730
|
+
@entity = args[:entity] if args.key?(:entity)
|
|
1731
|
+
@segments = args[:segments] if args.key?(:segments)
|
|
1732
|
+
@tracks = args[:tracks] if args.key?(:tracks)
|
|
1733
|
+
end
|
|
1734
|
+
end
|
|
1735
|
+
|
|
1451
1736
|
# Normalized bounding box.
|
|
1452
1737
|
# The normalized vertex coordinates are relative to the original image.
|
|
1453
1738
|
# Range: [0, 1].
|
|
@@ -1795,6 +2080,85 @@ module Google
|
|
|
1795
2080
|
end
|
|
1796
2081
|
end
|
|
1797
2082
|
|
|
2083
|
+
# For tracking related features.
|
|
2084
|
+
# An object at time_offset with attributes, and located with
|
|
2085
|
+
# normalized_bounding_box.
|
|
2086
|
+
class GoogleCloudVideointelligenceV1beta2TimestampedObject
|
|
2087
|
+
include Google::Apis::Core::Hashable
|
|
2088
|
+
|
|
2089
|
+
# Optional. The attributes of the object in the bounding box.
|
|
2090
|
+
# Corresponds to the JSON property `attributes`
|
|
2091
|
+
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2DetectedAttribute>]
|
|
2092
|
+
attr_accessor :attributes
|
|
2093
|
+
|
|
2094
|
+
# Optional. The detected landmarks.
|
|
2095
|
+
# Corresponds to the JSON property `landmarks`
|
|
2096
|
+
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2DetectedLandmark>]
|
|
2097
|
+
attr_accessor :landmarks
|
|
2098
|
+
|
|
2099
|
+
# Normalized bounding box.
|
|
2100
|
+
# The normalized vertex coordinates are relative to the original image.
|
|
2101
|
+
# Range: [0, 1].
|
|
2102
|
+
# Corresponds to the JSON property `normalizedBoundingBox`
|
|
2103
|
+
# @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox]
|
|
2104
|
+
attr_accessor :normalized_bounding_box
|
|
2105
|
+
|
|
2106
|
+
# Time-offset, relative to the beginning of the video,
|
|
2107
|
+
# corresponding to the video frame for this object.
|
|
2108
|
+
# Corresponds to the JSON property `timeOffset`
|
|
2109
|
+
# @return [String]
|
|
2110
|
+
attr_accessor :time_offset
|
|
2111
|
+
|
|
2112
|
+
def initialize(**args)
|
|
2113
|
+
update!(**args)
|
|
2114
|
+
end
|
|
2115
|
+
|
|
2116
|
+
# Update properties of this object
|
|
2117
|
+
def update!(**args)
|
|
2118
|
+
@attributes = args[:attributes] if args.key?(:attributes)
|
|
2119
|
+
@landmarks = args[:landmarks] if args.key?(:landmarks)
|
|
2120
|
+
@normalized_bounding_box = args[:normalized_bounding_box] if args.key?(:normalized_bounding_box)
|
|
2121
|
+
@time_offset = args[:time_offset] if args.key?(:time_offset)
|
|
2122
|
+
end
|
|
2123
|
+
end
|
|
2124
|
+
|
|
2125
|
+
# A track of an object instance.
|
|
2126
|
+
class GoogleCloudVideointelligenceV1beta2Track
|
|
2127
|
+
include Google::Apis::Core::Hashable
|
|
2128
|
+
|
|
2129
|
+
# Optional. Attributes in the track level.
|
|
2130
|
+
# Corresponds to the JSON property `attributes`
|
|
2131
|
+
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2DetectedAttribute>]
|
|
2132
|
+
attr_accessor :attributes
|
|
2133
|
+
|
|
2134
|
+
# Optional. The confidence score of the tracked object.
|
|
2135
|
+
# Corresponds to the JSON property `confidence`
|
|
2136
|
+
# @return [Float]
|
|
2137
|
+
attr_accessor :confidence
|
|
2138
|
+
|
|
2139
|
+
# Video segment.
|
|
2140
|
+
# Corresponds to the JSON property `segment`
|
|
2141
|
+
# @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2VideoSegment]
|
|
2142
|
+
attr_accessor :segment
|
|
2143
|
+
|
|
2144
|
+
# The object with timestamp and attributes per frame in the track.
|
|
2145
|
+
# Corresponds to the JSON property `timestampedObjects`
|
|
2146
|
+
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2TimestampedObject>]
|
|
2147
|
+
attr_accessor :timestamped_objects
|
|
2148
|
+
|
|
2149
|
+
def initialize(**args)
|
|
2150
|
+
update!(**args)
|
|
2151
|
+
end
|
|
2152
|
+
|
|
2153
|
+
# Update properties of this object
|
|
2154
|
+
def update!(**args)
|
|
2155
|
+
@attributes = args[:attributes] if args.key?(:attributes)
|
|
2156
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
|
2157
|
+
@segment = args[:segment] if args.key?(:segment)
|
|
2158
|
+
@timestamped_objects = args[:timestamped_objects] if args.key?(:timestamped_objects)
|
|
2159
|
+
end
|
|
2160
|
+
end
|
|
2161
|
+
|
|
1798
2162
|
# Annotation progress for a single video.
|
|
1799
2163
|
class GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress
|
|
1800
2164
|
include Google::Apis::Core::Hashable
|
|
@@ -1880,6 +2244,11 @@ module Google
|
|
|
1880
2244
|
# @return [String]
|
|
1881
2245
|
attr_accessor :input_uri
|
|
1882
2246
|
|
|
2247
|
+
# Annotations for list of logos detected, tracked and recognized in video.
|
|
2248
|
+
# Corresponds to the JSON property `logoRecognitionAnnotations`
|
|
2249
|
+
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2LogoRecognitionAnnotation>]
|
|
2250
|
+
attr_accessor :logo_recognition_annotations
|
|
2251
|
+
|
|
1883
2252
|
# Annotations for list of objects detected and tracked in video.
|
|
1884
2253
|
# Corresponds to the JSON property `objectAnnotations`
|
|
1885
2254
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation>]
|
|
@@ -1948,6 +2317,7 @@ module Google
|
|
|
1948
2317
|
@explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
|
|
1949
2318
|
@frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
|
|
1950
2319
|
@input_uri = args[:input_uri] if args.key?(:input_uri)
|
|
2320
|
+
@logo_recognition_annotations = args[:logo_recognition_annotations] if args.key?(:logo_recognition_annotations)
|
|
1951
2321
|
@object_annotations = args[:object_annotations] if args.key?(:object_annotations)
|
|
1952
2322
|
@segment = args[:segment] if args.key?(:segment)
|
|
1953
2323
|
@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::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1DetectedAttribute>]
|
|
3088
|
+
attr_accessor :attributes
|
|
3089
|
+
|
|
3090
|
+
# Optional. The detected landmarks.
|
|
3091
|
+
# Corresponds to the JSON property `landmarks`
|
|
3092
|
+
# @return [Array<Google::Apis::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1DetectedAttribute>]
|
|
4084
|
+
attr_accessor :attributes
|
|
4085
|
+
|
|
4086
|
+
# Optional. The detected landmarks.
|
|
4087
|
+
# Corresponds to the JSON property `landmarks`
|
|
4088
|
+
# @return [Array<Google::Apis::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::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)
|