google-api-client 0.32.1 → 0.34.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 +5 -5
- data/CHANGELOG.md +159 -0
- data/README.md +1 -1
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +35 -2
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +13 -0
- data/generated/google/apis/accessapproval_v1beta1/service.rb +108 -6
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +1 -73
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +0 -32
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +15 -2
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +16 -3
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +5 -5
- data/generated/google/apis/admin_datatransfer_v1/service.rb +2 -2
- data/generated/google/apis/admin_datatransfer_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +4 -3
- data/generated/google/apis/admin_directory_v1.rb +4 -1
- data/generated/google/apis/admin_reports_v1/classes.rb +87 -44
- data/generated/google/apis/admin_reports_v1/service.rb +310 -64
- data/generated/google/apis/admin_reports_v1.rb +2 -2
- data/generated/google/apis/androidpublisher_v3/classes.rb +12 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +2 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/appengine_v1/service.rb +10 -6
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1beta/service.rb +10 -6
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +25 -19
- data/generated/google/apis/bigquery_v2/representations.rb +2 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +3 -2
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +62 -29
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/service.rb +2 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +2 -0
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/civicinfo_v2/representations.rb +2 -2
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +14 -15
- data/generated/google/apis/cloudasset_v1/service.rb +1 -2
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +65 -36
- data/generated/google/apis/cloudbilling_v1/representations.rb +0 -1
- data/generated/google/apis/cloudbilling_v1/service.rb +5 -3
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/service.rb +14 -14
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +7 -3
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -0
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +10 -4
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +11 -8
- data/generated/google/apis/cloudidentity_v1/service.rb +2 -1
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +13 -10
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +2 -1
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/service.rb +3 -0
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +12 -12
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +4 -8
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +11 -13
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +4 -8
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +11 -13
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +5 -2
- data/generated/google/apis/cloudsearch_v1/service.rb +5 -2
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +22 -0
- data/generated/google/apis/cloudshell_v1/representations.rb +3 -0
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +22 -0
- data/generated/google/apis/cloudshell_v1alpha1/representations.rb +3 -0
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +519 -152
- data/generated/google/apis/compute_alpha/representations.rb +108 -2
- data/generated/google/apis/compute_alpha/service.rb +1035 -640
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +1016 -266
- data/generated/google/apis/compute_beta/representations.rb +284 -0
- data/generated/google/apis/compute_beta/service.rb +1242 -532
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +283 -125
- data/generated/google/apis/compute_v1/representations.rb +24 -0
- data/generated/google/apis/compute_v1/service.rb +759 -473
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +207 -5
- data/generated/google/apis/container_v1/representations.rb +85 -0
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +125 -3
- data/generated/google/apis/container_v1beta1/representations.rb +22 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +23 -220
- data/generated/google/apis/content_v2/representations.rb +0 -115
- data/generated/google/apis/content_v2/service.rb +0 -160
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +57 -18
- data/generated/google/apis/content_v2_1/representations.rb +3 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +6 -9
- data/generated/google/apis/dataflow_v1b3/representations.rb +1 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +156 -46
- data/generated/google/apis/datafusion_v1beta1/representations.rb +33 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +10 -1
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1/service.rb +85 -1
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/service.rb +1 -1
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +25 -7
- data/generated/google/apis/dialogflow_v2/representations.rb +2 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +33 -7
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +3 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +19 -11
- data/generated/google/apis/dlp_v2/representations.rb +1 -0
- data/generated/google/apis/dlp_v2/service.rb +43 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +175 -0
- data/generated/google/apis/docs_v1/representations.rb +77 -0
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +2 -1
- data/generated/google/apis/drive_v2/service.rb +3 -3
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +37 -0
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +16 -0
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/fitness_v1/service.rb +1 -1
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/games_management_v1management/classes.rb +6 -26
- data/generated/google/apis/games_management_v1management/representations.rb +1 -14
- data/generated/google/apis/games_management_v1management/service.rb +0 -158
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +6 -292
- data/generated/google/apis/games_v1/representations.rb +1 -98
- data/generated/google/apis/games_v1/service.rb +0 -123
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +205 -9
- data/generated/google/apis/healthcare_v1beta1/representations.rb +101 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +198 -104
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +9 -2
- data/generated/google/apis/iam_v1/representations.rb +1 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +187 -2
- data/generated/google/apis/iap_v1/representations.rb +102 -0
- data/generated/google/apis/iap_v1/service.rb +72 -0
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +2 -2
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +167 -0
- data/generated/google/apis/jobs_v2/representations.rb +40 -0
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +179 -0
- data/generated/google/apis/jobs_v3/representations.rb +41 -0
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +179 -0
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +41 -0
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/licensing_v1/classes.rb +15 -7
- data/generated/google/apis/licensing_v1/service.rb +81 -37
- data/generated/google/apis/licensing_v1.rb +4 -4
- data/generated/google/apis/lifesciences_v2beta/classes.rb +1329 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +533 -0
- data/generated/google/apis/lifesciences_v2beta/service.rb +303 -0
- data/generated/google/apis/{urlshortener_v1.rb → lifesciences_v2beta.rb} +12 -11
- data/generated/google/apis/logging_v2/classes.rb +12 -0
- data/generated/google/apis/logging_v2/representations.rb +2 -0
- data/generated/google/apis/logging_v2/service.rb +10 -5
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +66 -23
- data/generated/google/apis/ml_v1/representations.rb +1 -0
- data/generated/google/apis/ml_v1/service.rb +7 -3
- data/generated/google/apis/ml_v1.rb +2 -2
- data/generated/google/apis/monitoring_v1/classes.rb +260 -0
- data/generated/google/apis/monitoring_v1/representations.rb +123 -0
- data/generated/google/apis/monitoring_v1/service.rb +64 -0
- data/generated/google/apis/monitoring_v1.rb +36 -0
- data/generated/google/apis/monitoring_v3/classes.rb +27 -13
- data/generated/google/apis/monitoring_v3/representations.rb +1 -0
- data/generated/google/apis/monitoring_v3/service.rb +2 -2
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/oslogin_v1/classes.rb +1 -1
- data/generated/google/apis/oslogin_v1/service.rb +10 -6
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/classes.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/service.rb +9 -5
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +67 -63
- data/generated/google/apis/people_v1/service.rb +53 -44
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +5 -4
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/pubsub_v1/service.rb +3 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/service.rb +2 -0
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +24 -0
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +4 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +24 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +4 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +24 -0
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +4 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/reseller_v1/service.rb +1 -1
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +0 -7
- data/generated/google/apis/run_v1/service.rb +156 -94
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +319 -0
- data/generated/google/apis/run_v1alpha1/representations.rb +126 -0
- data/generated/google/apis/run_v1alpha1/service.rb +408 -0
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +2 -2
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +2 -2
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +63 -0
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +30 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +0 -11
- data/generated/google/apis/servicecontrol_v1/representations.rb +0 -1
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +33 -7
- data/generated/google/apis/servicemanagement_v1/representations.rb +24 -0
- data/generated/google/apis/servicemanagement_v1/service.rb +31 -17
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +55 -0
- data/generated/google/apis/serviceusage_v1/representations.rb +29 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +55 -0
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +29 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +389 -0
- data/generated/google/apis/sheets_v4/representations.rb +79 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/{speech_v2beta → speech_v2beta1}/classes.rb +9 -8
- data/generated/google/apis/{speech_v2beta → speech_v2beta1}/representations.rb +6 -6
- data/generated/google/apis/{speech_v2beta → speech_v2beta1}/service.rb +13 -13
- data/generated/google/apis/{speech_v2beta.rb → speech_v2beta1.rb} +6 -6
- data/generated/google/apis/sql_v1beta4/classes.rb +2752 -0
- data/generated/google/apis/sql_v1beta4/representations.rb +1131 -0
- data/generated/google/apis/sql_v1beta4/service.rb +1791 -0
- data/generated/google/apis/sql_v1beta4.rb +37 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +142 -1
- data/generated/google/apis/testing_v1/representations.rb +76 -0
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +35 -36
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +35 -36
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +35 -36
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +35 -36
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +35 -36
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/service.rb +2 -2
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/google-api-client.gemspec +6 -3
- data/lib/google/apis/version.rb +1 -1
- metadata +28 -30
- data/generated/google/apis/dfareporting_v3_2/classes.rb +0 -12299
- data/generated/google/apis/dfareporting_v3_2/representations.rb +0 -4397
- data/generated/google/apis/dfareporting_v3_2/service.rb +0 -8793
- data/generated/google/apis/dfareporting_v3_2.rb +0 -40
- data/generated/google/apis/urlshortener_v1/classes.rb +0 -246
- data/generated/google/apis/urlshortener_v1/representations.rb +0 -121
- data/generated/google/apis/urlshortener_v1/service.rb +0 -169
|
@@ -463,10 +463,10 @@ module Google
|
|
|
463
463
|
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1SpeechRecognitionAlternative>]
|
|
464
464
|
attr_accessor :alternatives
|
|
465
465
|
|
|
466
|
-
# Output only. The
|
|
467
|
-
#
|
|
468
|
-
# language in this result. This language code was detected to have the
|
|
469
|
-
# likelihood of being spoken in the audio.
|
|
466
|
+
# Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
|
|
467
|
+
# language tag of
|
|
468
|
+
# the language in this result. This language code was detected to have the
|
|
469
|
+
# most likelihood of being spoken in the audio.
|
|
470
470
|
# Corresponds to the JSON property `languageCode`
|
|
471
471
|
# @return [String]
|
|
472
472
|
attr_accessor :language_code
|
|
@@ -858,7 +858,7 @@ module Google
|
|
|
858
858
|
class GoogleCloudVideointelligenceV1beta2AnnotateVideoRequest
|
|
859
859
|
include Google::Apis::Core::Hashable
|
|
860
860
|
|
|
861
|
-
# Requested video annotation features.
|
|
861
|
+
# Required. Requested video annotation features.
|
|
862
862
|
# Corresponds to the JSON property `features`
|
|
863
863
|
# @return [Array<String>]
|
|
864
864
|
attr_accessor :features
|
|
@@ -885,14 +885,14 @@ module Google
|
|
|
885
885
|
# @return [String]
|
|
886
886
|
attr_accessor :input_uri
|
|
887
887
|
|
|
888
|
-
# Optional
|
|
888
|
+
# Optional. Cloud region where annotation should take place. Supported cloud
|
|
889
889
|
# regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
|
|
890
890
|
# is specified, a region will be determined based on video file location.
|
|
891
891
|
# Corresponds to the JSON property `locationId`
|
|
892
892
|
# @return [String]
|
|
893
893
|
attr_accessor :location_id
|
|
894
894
|
|
|
895
|
-
# Optional
|
|
895
|
+
# Optional. Location where the output (in JSON format) should be stored.
|
|
896
896
|
# Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
|
|
897
897
|
# URIs are supported, which must be specified in the following format:
|
|
898
898
|
# `gs://bucket-id/object-id` (other URI formats return
|
|
@@ -1420,7 +1420,7 @@ module Google
|
|
|
1420
1420
|
class GoogleCloudVideointelligenceV1beta2SpeechContext
|
|
1421
1421
|
include Google::Apis::Core::Hashable
|
|
1422
1422
|
|
|
1423
|
-
#
|
|
1423
|
+
# Optional. A list of strings containing words and phrases "hints" so that
|
|
1424
1424
|
# the speech recognition is more likely to recognize them. This can be used
|
|
1425
1425
|
# to improve the accuracy for specific words and phrases, for example, if
|
|
1426
1426
|
# specific commands are typically spoken by the user. This can also be used
|
|
@@ -1490,10 +1490,10 @@ module Google
|
|
|
1490
1490
|
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative>]
|
|
1491
1491
|
attr_accessor :alternatives
|
|
1492
1492
|
|
|
1493
|
-
# Output only. The
|
|
1494
|
-
#
|
|
1495
|
-
# language in this result. This language code was detected to have the
|
|
1496
|
-
# likelihood of being spoken in the audio.
|
|
1493
|
+
# Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
|
|
1494
|
+
# language tag of
|
|
1495
|
+
# the language in this result. This language code was detected to have the
|
|
1496
|
+
# most likelihood of being spoken in the audio.
|
|
1497
1497
|
# Corresponds to the JSON property `languageCode`
|
|
1498
1498
|
# @return [String]
|
|
1499
1499
|
attr_accessor :language_code
|
|
@@ -1513,21 +1513,21 @@ module Google
|
|
|
1513
1513
|
class GoogleCloudVideointelligenceV1beta2SpeechTranscriptionConfig
|
|
1514
1514
|
include Google::Apis::Core::Hashable
|
|
1515
1515
|
|
|
1516
|
-
#
|
|
1516
|
+
# Optional. For file formats, such as MXF or MKV, supporting multiple audio
|
|
1517
1517
|
# tracks, specify up to two tracks. Default: track 0.
|
|
1518
1518
|
# Corresponds to the JSON property `audioTracks`
|
|
1519
1519
|
# @return [Array<Fixnum>]
|
|
1520
1520
|
attr_accessor :audio_tracks
|
|
1521
1521
|
|
|
1522
|
-
#
|
|
1523
|
-
#
|
|
1522
|
+
# Optional. If set, specifies the estimated number of speakers in the
|
|
1523
|
+
# conversation.
|
|
1524
1524
|
# If not set, defaults to '2'.
|
|
1525
1525
|
# Ignored unless enable_speaker_diarization is set to true.
|
|
1526
1526
|
# Corresponds to the JSON property `diarizationSpeakerCount`
|
|
1527
1527
|
# @return [Fixnum]
|
|
1528
1528
|
attr_accessor :diarization_speaker_count
|
|
1529
1529
|
|
|
1530
|
-
#
|
|
1530
|
+
# Optional. If 'true', adds punctuation to recognition result hypotheses.
|
|
1531
1531
|
# This feature is only available in select languages. Setting this for
|
|
1532
1532
|
# requests in other languages has no effect at all. The default 'false' value
|
|
1533
1533
|
# does not add punctuation to result hypotheses. NOTE: "This is currently
|
|
@@ -1538,7 +1538,7 @@ module Google
|
|
|
1538
1538
|
attr_accessor :enable_automatic_punctuation
|
|
1539
1539
|
alias_method :enable_automatic_punctuation?, :enable_automatic_punctuation
|
|
1540
1540
|
|
|
1541
|
-
#
|
|
1541
|
+
# Optional. If 'true', enables speaker detection for each recognized word in
|
|
1542
1542
|
# the top alternative of the recognition result using a speaker_tag provided
|
|
1543
1543
|
# in the WordInfo.
|
|
1544
1544
|
# Note: When this is true, we send all the words from the beginning of the
|
|
@@ -1550,7 +1550,7 @@ module Google
|
|
|
1550
1550
|
attr_accessor :enable_speaker_diarization
|
|
1551
1551
|
alias_method :enable_speaker_diarization?, :enable_speaker_diarization
|
|
1552
1552
|
|
|
1553
|
-
#
|
|
1553
|
+
# Optional. If `true`, the top result includes a list of words and the
|
|
1554
1554
|
# confidence for those words. If `false`, no word-level confidence
|
|
1555
1555
|
# information is returned. The default is `false`.
|
|
1556
1556
|
# Corresponds to the JSON property `enableWordConfidence`
|
|
@@ -1558,7 +1558,7 @@ module Google
|
|
|
1558
1558
|
attr_accessor :enable_word_confidence
|
|
1559
1559
|
alias_method :enable_word_confidence?, :enable_word_confidence
|
|
1560
1560
|
|
|
1561
|
-
#
|
|
1561
|
+
# Optional. If set to `true`, the server will attempt to filter out
|
|
1562
1562
|
# profanities, replacing all but the initial character in each filtered word
|
|
1563
1563
|
# with asterisks, e.g. "f***". If set to `false` or omitted, profanities
|
|
1564
1564
|
# won't be filtered out.
|
|
@@ -1567,7 +1567,7 @@ module Google
|
|
|
1567
1567
|
attr_accessor :filter_profanity
|
|
1568
1568
|
alias_method :filter_profanity?, :filter_profanity
|
|
1569
1569
|
|
|
1570
|
-
# *Required* The language of the supplied audio as a
|
|
1570
|
+
# Required. *Required* The language of the supplied audio as a
|
|
1571
1571
|
# [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
|
|
1572
1572
|
# Example: "en-US".
|
|
1573
1573
|
# See [Language Support](https://cloud.google.com/speech/docs/languages)
|
|
@@ -1576,7 +1576,7 @@ module Google
|
|
|
1576
1576
|
# @return [String]
|
|
1577
1577
|
attr_accessor :language_code
|
|
1578
1578
|
|
|
1579
|
-
#
|
|
1579
|
+
# Optional. Maximum number of recognition hypotheses to be returned.
|
|
1580
1580
|
# Specifically, the maximum number of `SpeechRecognitionAlternative` messages
|
|
1581
1581
|
# within each `SpeechTranscription`. The server may return fewer than
|
|
1582
1582
|
# `max_alternatives`. Valid values are `0`-`30`. A value of `0` or `1` will
|
|
@@ -1585,7 +1585,7 @@ module Google
|
|
|
1585
1585
|
# @return [Fixnum]
|
|
1586
1586
|
attr_accessor :max_alternatives
|
|
1587
1587
|
|
|
1588
|
-
#
|
|
1588
|
+
# Optional. A means to provide context to assist the speech recognition.
|
|
1589
1589
|
# Corresponds to the JSON property `speechContexts`
|
|
1590
1590
|
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2SpeechContext>]
|
|
1591
1591
|
attr_accessor :speech_contexts
|
|
@@ -2487,10 +2487,10 @@ module Google
|
|
|
2487
2487
|
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative>]
|
|
2488
2488
|
attr_accessor :alternatives
|
|
2489
2489
|
|
|
2490
|
-
# Output only. The
|
|
2491
|
-
#
|
|
2492
|
-
# language in this result. This language code was detected to have the
|
|
2493
|
-
# likelihood of being spoken in the audio.
|
|
2490
|
+
# Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
|
|
2491
|
+
# language tag of
|
|
2492
|
+
# the language in this result. This language code was detected to have the
|
|
2493
|
+
# most likelihood of being spoken in the audio.
|
|
2494
2494
|
# Corresponds to the JSON property `languageCode`
|
|
2495
2495
|
# @return [String]
|
|
2496
2496
|
attr_accessor :language_code
|
|
@@ -3298,10 +3298,10 @@ module Google
|
|
|
3298
3298
|
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1SpeechRecognitionAlternative>]
|
|
3299
3299
|
attr_accessor :alternatives
|
|
3300
3300
|
|
|
3301
|
-
# Output only. The
|
|
3302
|
-
#
|
|
3303
|
-
# language in this result. This language code was detected to have the
|
|
3304
|
-
# likelihood of being spoken in the audio.
|
|
3301
|
+
# Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
|
|
3302
|
+
# language tag of
|
|
3303
|
+
# the language in this result. This language code was detected to have the
|
|
3304
|
+
# most likelihood of being spoken in the audio.
|
|
3305
3305
|
# Corresponds to the JSON property `languageCode`
|
|
3306
3306
|
# @return [String]
|
|
3307
3307
|
attr_accessor :language_code
|
|
@@ -4175,10 +4175,10 @@ module Google
|
|
|
4175
4175
|
# @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative>]
|
|
4176
4176
|
attr_accessor :alternatives
|
|
4177
4177
|
|
|
4178
|
-
# Output only. The
|
|
4179
|
-
#
|
|
4180
|
-
# language in this result. This language code was detected to have the
|
|
4181
|
-
# likelihood of being spoken in the audio.
|
|
4178
|
+
# Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
|
|
4179
|
+
# language tag of
|
|
4180
|
+
# the language in this result. This language code was detected to have the
|
|
4181
|
+
# most likelihood of being spoken in the audio.
|
|
4182
4182
|
# Corresponds to the JSON property `languageCode`
|
|
4183
4183
|
# @return [String]
|
|
4184
4184
|
attr_accessor :language_code
|
|
@@ -4376,8 +4376,7 @@ module Google
|
|
|
4376
4376
|
end
|
|
4377
4377
|
end
|
|
4378
4378
|
|
|
4379
|
-
# For tracking related features
|
|
4380
|
-
# CELEBRITY_RECOGNITION, PERSON_DETECTION.
|
|
4379
|
+
# For tracking related features.
|
|
4381
4380
|
# An object at time_offset with attributes, and located with
|
|
4382
4381
|
# normalized_bounding_box.
|
|
4383
4382
|
class GoogleCloudVideointelligenceV1p3beta1TimestampedObject
|
|
@@ -27,7 +27,7 @@ module Google
|
|
|
27
27
|
# @see https://cloud.google.com/video-intelligence/docs/
|
|
28
28
|
module VideointelligenceV1beta2
|
|
29
29
|
VERSION = 'V1beta2'
|
|
30
|
-
REVISION = '
|
|
30
|
+
REVISION = '20191028'
|
|
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'
|
|
@@ -463,10 +463,10 @@ module Google
|
|
|
463
463
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1SpeechRecognitionAlternative>]
|
|
464
464
|
attr_accessor :alternatives
|
|
465
465
|
|
|
466
|
-
# Output only. The
|
|
467
|
-
#
|
|
468
|
-
# language in this result. This language code was detected to have the
|
|
469
|
-
# likelihood of being spoken in the audio.
|
|
466
|
+
# Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
|
|
467
|
+
# language tag of
|
|
468
|
+
# the language in this result. This language code was detected to have the
|
|
469
|
+
# most likelihood of being spoken in the audio.
|
|
470
470
|
# Corresponds to the JSON property `languageCode`
|
|
471
471
|
# @return [String]
|
|
472
472
|
attr_accessor :language_code
|
|
@@ -1274,10 +1274,10 @@ module Google
|
|
|
1274
1274
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative>]
|
|
1275
1275
|
attr_accessor :alternatives
|
|
1276
1276
|
|
|
1277
|
-
# Output only. The
|
|
1278
|
-
#
|
|
1279
|
-
# language in this result. This language code was detected to have the
|
|
1280
|
-
# likelihood of being spoken in the audio.
|
|
1277
|
+
# Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
|
|
1278
|
+
# language tag of
|
|
1279
|
+
# the language in this result. This language code was detected to have the
|
|
1280
|
+
# most likelihood of being spoken in the audio.
|
|
1281
1281
|
# Corresponds to the JSON property `languageCode`
|
|
1282
1282
|
# @return [String]
|
|
1283
1283
|
attr_accessor :language_code
|
|
@@ -1669,7 +1669,7 @@ module Google
|
|
|
1669
1669
|
class GoogleCloudVideointelligenceV1p1beta1AnnotateVideoRequest
|
|
1670
1670
|
include Google::Apis::Core::Hashable
|
|
1671
1671
|
|
|
1672
|
-
# Requested video annotation features.
|
|
1672
|
+
# Required. Requested video annotation features.
|
|
1673
1673
|
# Corresponds to the JSON property `features`
|
|
1674
1674
|
# @return [Array<String>]
|
|
1675
1675
|
attr_accessor :features
|
|
@@ -1696,14 +1696,14 @@ module Google
|
|
|
1696
1696
|
# @return [String]
|
|
1697
1697
|
attr_accessor :input_uri
|
|
1698
1698
|
|
|
1699
|
-
# Optional
|
|
1699
|
+
# Optional. Cloud region where annotation should take place. Supported cloud
|
|
1700
1700
|
# regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
|
|
1701
1701
|
# is specified, a region will be determined based on video file location.
|
|
1702
1702
|
# Corresponds to the JSON property `locationId`
|
|
1703
1703
|
# @return [String]
|
|
1704
1704
|
attr_accessor :location_id
|
|
1705
1705
|
|
|
1706
|
-
# Optional
|
|
1706
|
+
# Optional. Location where the output (in JSON format) should be stored.
|
|
1707
1707
|
# Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
|
|
1708
1708
|
# URIs are supported, which must be specified in the following format:
|
|
1709
1709
|
# `gs://bucket-id/object-id` (other URI formats return
|
|
@@ -2231,7 +2231,7 @@ module Google
|
|
|
2231
2231
|
class GoogleCloudVideointelligenceV1p1beta1SpeechContext
|
|
2232
2232
|
include Google::Apis::Core::Hashable
|
|
2233
2233
|
|
|
2234
|
-
#
|
|
2234
|
+
# Optional. A list of strings containing words and phrases "hints" so that
|
|
2235
2235
|
# the speech recognition is more likely to recognize them. This can be used
|
|
2236
2236
|
# to improve the accuracy for specific words and phrases, for example, if
|
|
2237
2237
|
# specific commands are typically spoken by the user. This can also be used
|
|
@@ -2301,10 +2301,10 @@ module Google
|
|
|
2301
2301
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative>]
|
|
2302
2302
|
attr_accessor :alternatives
|
|
2303
2303
|
|
|
2304
|
-
# Output only. The
|
|
2305
|
-
#
|
|
2306
|
-
# language in this result. This language code was detected to have the
|
|
2307
|
-
# likelihood of being spoken in the audio.
|
|
2304
|
+
# Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
|
|
2305
|
+
# language tag of
|
|
2306
|
+
# the language in this result. This language code was detected to have the
|
|
2307
|
+
# most likelihood of being spoken in the audio.
|
|
2308
2308
|
# Corresponds to the JSON property `languageCode`
|
|
2309
2309
|
# @return [String]
|
|
2310
2310
|
attr_accessor :language_code
|
|
@@ -2324,21 +2324,21 @@ module Google
|
|
|
2324
2324
|
class GoogleCloudVideointelligenceV1p1beta1SpeechTranscriptionConfig
|
|
2325
2325
|
include Google::Apis::Core::Hashable
|
|
2326
2326
|
|
|
2327
|
-
#
|
|
2327
|
+
# Optional. For file formats, such as MXF or MKV, supporting multiple audio
|
|
2328
2328
|
# tracks, specify up to two tracks. Default: track 0.
|
|
2329
2329
|
# Corresponds to the JSON property `audioTracks`
|
|
2330
2330
|
# @return [Array<Fixnum>]
|
|
2331
2331
|
attr_accessor :audio_tracks
|
|
2332
2332
|
|
|
2333
|
-
#
|
|
2334
|
-
#
|
|
2333
|
+
# Optional. If set, specifies the estimated number of speakers in the
|
|
2334
|
+
# conversation.
|
|
2335
2335
|
# If not set, defaults to '2'.
|
|
2336
2336
|
# Ignored unless enable_speaker_diarization is set to true.
|
|
2337
2337
|
# Corresponds to the JSON property `diarizationSpeakerCount`
|
|
2338
2338
|
# @return [Fixnum]
|
|
2339
2339
|
attr_accessor :diarization_speaker_count
|
|
2340
2340
|
|
|
2341
|
-
#
|
|
2341
|
+
# Optional. If 'true', adds punctuation to recognition result hypotheses.
|
|
2342
2342
|
# This feature is only available in select languages. Setting this for
|
|
2343
2343
|
# requests in other languages has no effect at all. The default 'false' value
|
|
2344
2344
|
# does not add punctuation to result hypotheses. NOTE: "This is currently
|
|
@@ -2349,7 +2349,7 @@ module Google
|
|
|
2349
2349
|
attr_accessor :enable_automatic_punctuation
|
|
2350
2350
|
alias_method :enable_automatic_punctuation?, :enable_automatic_punctuation
|
|
2351
2351
|
|
|
2352
|
-
#
|
|
2352
|
+
# Optional. If 'true', enables speaker detection for each recognized word in
|
|
2353
2353
|
# the top alternative of the recognition result using a speaker_tag provided
|
|
2354
2354
|
# in the WordInfo.
|
|
2355
2355
|
# Note: When this is true, we send all the words from the beginning of the
|
|
@@ -2361,7 +2361,7 @@ module Google
|
|
|
2361
2361
|
attr_accessor :enable_speaker_diarization
|
|
2362
2362
|
alias_method :enable_speaker_diarization?, :enable_speaker_diarization
|
|
2363
2363
|
|
|
2364
|
-
#
|
|
2364
|
+
# Optional. If `true`, the top result includes a list of words and the
|
|
2365
2365
|
# confidence for those words. If `false`, no word-level confidence
|
|
2366
2366
|
# information is returned. The default is `false`.
|
|
2367
2367
|
# Corresponds to the JSON property `enableWordConfidence`
|
|
@@ -2369,7 +2369,7 @@ module Google
|
|
|
2369
2369
|
attr_accessor :enable_word_confidence
|
|
2370
2370
|
alias_method :enable_word_confidence?, :enable_word_confidence
|
|
2371
2371
|
|
|
2372
|
-
#
|
|
2372
|
+
# Optional. If set to `true`, the server will attempt to filter out
|
|
2373
2373
|
# profanities, replacing all but the initial character in each filtered word
|
|
2374
2374
|
# with asterisks, e.g. "f***". If set to `false` or omitted, profanities
|
|
2375
2375
|
# won't be filtered out.
|
|
@@ -2378,7 +2378,7 @@ module Google
|
|
|
2378
2378
|
attr_accessor :filter_profanity
|
|
2379
2379
|
alias_method :filter_profanity?, :filter_profanity
|
|
2380
2380
|
|
|
2381
|
-
# *Required* The language of the supplied audio as a
|
|
2381
|
+
# Required. *Required* The language of the supplied audio as a
|
|
2382
2382
|
# [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
|
|
2383
2383
|
# Example: "en-US".
|
|
2384
2384
|
# See [Language Support](https://cloud.google.com/speech/docs/languages)
|
|
@@ -2387,7 +2387,7 @@ module Google
|
|
|
2387
2387
|
# @return [String]
|
|
2388
2388
|
attr_accessor :language_code
|
|
2389
2389
|
|
|
2390
|
-
#
|
|
2390
|
+
# Optional. Maximum number of recognition hypotheses to be returned.
|
|
2391
2391
|
# Specifically, the maximum number of `SpeechRecognitionAlternative` messages
|
|
2392
2392
|
# within each `SpeechTranscription`. The server may return fewer than
|
|
2393
2393
|
# `max_alternatives`. Valid values are `0`-`30`. A value of `0` or `1` will
|
|
@@ -2396,7 +2396,7 @@ module Google
|
|
|
2396
2396
|
# @return [Fixnum]
|
|
2397
2397
|
attr_accessor :max_alternatives
|
|
2398
2398
|
|
|
2399
|
-
#
|
|
2399
|
+
# Optional. A means to provide context to assist the speech recognition.
|
|
2400
2400
|
# Corresponds to the JSON property `speechContexts`
|
|
2401
2401
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1SpeechContext>]
|
|
2402
2402
|
attr_accessor :speech_contexts
|
|
@@ -3298,10 +3298,10 @@ module Google
|
|
|
3298
3298
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1SpeechRecognitionAlternative>]
|
|
3299
3299
|
attr_accessor :alternatives
|
|
3300
3300
|
|
|
3301
|
-
# Output only. The
|
|
3302
|
-
#
|
|
3303
|
-
# language in this result. This language code was detected to have the
|
|
3304
|
-
# likelihood of being spoken in the audio.
|
|
3301
|
+
# Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
|
|
3302
|
+
# language tag of
|
|
3303
|
+
# the language in this result. This language code was detected to have the
|
|
3304
|
+
# most likelihood of being spoken in the audio.
|
|
3305
3305
|
# Corresponds to the JSON property `languageCode`
|
|
3306
3306
|
# @return [String]
|
|
3307
3307
|
attr_accessor :language_code
|
|
@@ -4175,10 +4175,10 @@ module Google
|
|
|
4175
4175
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative>]
|
|
4176
4176
|
attr_accessor :alternatives
|
|
4177
4177
|
|
|
4178
|
-
# Output only. The
|
|
4179
|
-
#
|
|
4180
|
-
# language in this result. This language code was detected to have the
|
|
4181
|
-
# likelihood of being spoken in the audio.
|
|
4178
|
+
# Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
|
|
4179
|
+
# language tag of
|
|
4180
|
+
# the language in this result. This language code was detected to have the
|
|
4181
|
+
# most likelihood of being spoken in the audio.
|
|
4182
4182
|
# Corresponds to the JSON property `languageCode`
|
|
4183
4183
|
# @return [String]
|
|
4184
4184
|
attr_accessor :language_code
|
|
@@ -4376,8 +4376,7 @@ module Google
|
|
|
4376
4376
|
end
|
|
4377
4377
|
end
|
|
4378
4378
|
|
|
4379
|
-
# For tracking related features
|
|
4380
|
-
# CELEBRITY_RECOGNITION, PERSON_DETECTION.
|
|
4379
|
+
# For tracking related features.
|
|
4381
4380
|
# An object at time_offset with attributes, and located with
|
|
4382
4381
|
# normalized_bounding_box.
|
|
4383
4382
|
class GoogleCloudVideointelligenceV1p3beta1TimestampedObject
|
|
@@ -27,7 +27,7 @@ module Google
|
|
|
27
27
|
# @see https://cloud.google.com/video-intelligence/docs/
|
|
28
28
|
module VideointelligenceV1p1beta1
|
|
29
29
|
VERSION = 'V1p1beta1'
|
|
30
|
-
REVISION = '
|
|
30
|
+
REVISION = '20191028'
|
|
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'
|
|
@@ -463,10 +463,10 @@ module Google
|
|
|
463
463
|
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1SpeechRecognitionAlternative>]
|
|
464
464
|
attr_accessor :alternatives
|
|
465
465
|
|
|
466
|
-
# Output only. The
|
|
467
|
-
#
|
|
468
|
-
# language in this result. This language code was detected to have the
|
|
469
|
-
# likelihood of being spoken in the audio.
|
|
466
|
+
# Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
|
|
467
|
+
# language tag of
|
|
468
|
+
# the language in this result. This language code was detected to have the
|
|
469
|
+
# most likelihood of being spoken in the audio.
|
|
470
470
|
# Corresponds to the JSON property `languageCode`
|
|
471
471
|
# @return [String]
|
|
472
472
|
attr_accessor :language_code
|
|
@@ -1274,10 +1274,10 @@ module Google
|
|
|
1274
1274
|
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative>]
|
|
1275
1275
|
attr_accessor :alternatives
|
|
1276
1276
|
|
|
1277
|
-
# Output only. The
|
|
1278
|
-
#
|
|
1279
|
-
# language in this result. This language code was detected to have the
|
|
1280
|
-
# likelihood of being spoken in the audio.
|
|
1277
|
+
# Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
|
|
1278
|
+
# language tag of
|
|
1279
|
+
# the language in this result. This language code was detected to have the
|
|
1280
|
+
# most likelihood of being spoken in the audio.
|
|
1281
1281
|
# Corresponds to the JSON property `languageCode`
|
|
1282
1282
|
# @return [String]
|
|
1283
1283
|
attr_accessor :language_code
|
|
@@ -2085,10 +2085,10 @@ module Google
|
|
|
2085
2085
|
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative>]
|
|
2086
2086
|
attr_accessor :alternatives
|
|
2087
2087
|
|
|
2088
|
-
# Output only. The
|
|
2089
|
-
#
|
|
2090
|
-
# language in this result. This language code was detected to have the
|
|
2091
|
-
# likelihood of being spoken in the audio.
|
|
2088
|
+
# Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
|
|
2089
|
+
# language tag of
|
|
2090
|
+
# the language in this result. This language code was detected to have the
|
|
2091
|
+
# most likelihood of being spoken in the audio.
|
|
2092
2092
|
# Corresponds to the JSON property `languageCode`
|
|
2093
2093
|
# @return [String]
|
|
2094
2094
|
attr_accessor :language_code
|
|
@@ -2480,7 +2480,7 @@ module Google
|
|
|
2480
2480
|
class GoogleCloudVideointelligenceV1p2beta1AnnotateVideoRequest
|
|
2481
2481
|
include Google::Apis::Core::Hashable
|
|
2482
2482
|
|
|
2483
|
-
# Requested video annotation features.
|
|
2483
|
+
# Required. Requested video annotation features.
|
|
2484
2484
|
# Corresponds to the JSON property `features`
|
|
2485
2485
|
# @return [Array<String>]
|
|
2486
2486
|
attr_accessor :features
|
|
@@ -2507,14 +2507,14 @@ module Google
|
|
|
2507
2507
|
# @return [String]
|
|
2508
2508
|
attr_accessor :input_uri
|
|
2509
2509
|
|
|
2510
|
-
# Optional
|
|
2510
|
+
# Optional. Cloud region where annotation should take place. Supported cloud
|
|
2511
2511
|
# regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
|
|
2512
2512
|
# is specified, a region will be determined based on video file location.
|
|
2513
2513
|
# Corresponds to the JSON property `locationId`
|
|
2514
2514
|
# @return [String]
|
|
2515
2515
|
attr_accessor :location_id
|
|
2516
2516
|
|
|
2517
|
-
# Optional
|
|
2517
|
+
# Optional. Location where the output (in JSON format) should be stored.
|
|
2518
2518
|
# Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
|
|
2519
2519
|
# URIs are supported, which must be specified in the following format:
|
|
2520
2520
|
# `gs://bucket-id/object-id` (other URI formats return
|
|
@@ -3042,7 +3042,7 @@ module Google
|
|
|
3042
3042
|
class GoogleCloudVideointelligenceV1p2beta1SpeechContext
|
|
3043
3043
|
include Google::Apis::Core::Hashable
|
|
3044
3044
|
|
|
3045
|
-
#
|
|
3045
|
+
# Optional. A list of strings containing words and phrases "hints" so that
|
|
3046
3046
|
# the speech recognition is more likely to recognize them. This can be used
|
|
3047
3047
|
# to improve the accuracy for specific words and phrases, for example, if
|
|
3048
3048
|
# specific commands are typically spoken by the user. This can also be used
|
|
@@ -3112,10 +3112,10 @@ module Google
|
|
|
3112
3112
|
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1SpeechRecognitionAlternative>]
|
|
3113
3113
|
attr_accessor :alternatives
|
|
3114
3114
|
|
|
3115
|
-
# Output only. The
|
|
3116
|
-
#
|
|
3117
|
-
# language in this result. This language code was detected to have the
|
|
3118
|
-
# likelihood of being spoken in the audio.
|
|
3115
|
+
# Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
|
|
3116
|
+
# language tag of
|
|
3117
|
+
# the language in this result. This language code was detected to have the
|
|
3118
|
+
# most likelihood of being spoken in the audio.
|
|
3119
3119
|
# Corresponds to the JSON property `languageCode`
|
|
3120
3120
|
# @return [String]
|
|
3121
3121
|
attr_accessor :language_code
|
|
@@ -3135,21 +3135,21 @@ module Google
|
|
|
3135
3135
|
class GoogleCloudVideointelligenceV1p2beta1SpeechTranscriptionConfig
|
|
3136
3136
|
include Google::Apis::Core::Hashable
|
|
3137
3137
|
|
|
3138
|
-
#
|
|
3138
|
+
# Optional. For file formats, such as MXF or MKV, supporting multiple audio
|
|
3139
3139
|
# tracks, specify up to two tracks. Default: track 0.
|
|
3140
3140
|
# Corresponds to the JSON property `audioTracks`
|
|
3141
3141
|
# @return [Array<Fixnum>]
|
|
3142
3142
|
attr_accessor :audio_tracks
|
|
3143
3143
|
|
|
3144
|
-
#
|
|
3145
|
-
#
|
|
3144
|
+
# Optional. If set, specifies the estimated number of speakers in the
|
|
3145
|
+
# conversation.
|
|
3146
3146
|
# If not set, defaults to '2'.
|
|
3147
3147
|
# Ignored unless enable_speaker_diarization is set to true.
|
|
3148
3148
|
# Corresponds to the JSON property `diarizationSpeakerCount`
|
|
3149
3149
|
# @return [Fixnum]
|
|
3150
3150
|
attr_accessor :diarization_speaker_count
|
|
3151
3151
|
|
|
3152
|
-
#
|
|
3152
|
+
# Optional. If 'true', adds punctuation to recognition result hypotheses.
|
|
3153
3153
|
# This feature is only available in select languages. Setting this for
|
|
3154
3154
|
# requests in other languages has no effect at all. The default 'false' value
|
|
3155
3155
|
# does not add punctuation to result hypotheses. NOTE: "This is currently
|
|
@@ -3160,7 +3160,7 @@ module Google
|
|
|
3160
3160
|
attr_accessor :enable_automatic_punctuation
|
|
3161
3161
|
alias_method :enable_automatic_punctuation?, :enable_automatic_punctuation
|
|
3162
3162
|
|
|
3163
|
-
#
|
|
3163
|
+
# Optional. If 'true', enables speaker detection for each recognized word in
|
|
3164
3164
|
# the top alternative of the recognition result using a speaker_tag provided
|
|
3165
3165
|
# in the WordInfo.
|
|
3166
3166
|
# Note: When this is true, we send all the words from the beginning of the
|
|
@@ -3172,7 +3172,7 @@ module Google
|
|
|
3172
3172
|
attr_accessor :enable_speaker_diarization
|
|
3173
3173
|
alias_method :enable_speaker_diarization?, :enable_speaker_diarization
|
|
3174
3174
|
|
|
3175
|
-
#
|
|
3175
|
+
# Optional. If `true`, the top result includes a list of words and the
|
|
3176
3176
|
# confidence for those words. If `false`, no word-level confidence
|
|
3177
3177
|
# information is returned. The default is `false`.
|
|
3178
3178
|
# Corresponds to the JSON property `enableWordConfidence`
|
|
@@ -3180,7 +3180,7 @@ module Google
|
|
|
3180
3180
|
attr_accessor :enable_word_confidence
|
|
3181
3181
|
alias_method :enable_word_confidence?, :enable_word_confidence
|
|
3182
3182
|
|
|
3183
|
-
#
|
|
3183
|
+
# Optional. If set to `true`, the server will attempt to filter out
|
|
3184
3184
|
# profanities, replacing all but the initial character in each filtered word
|
|
3185
3185
|
# with asterisks, e.g. "f***". If set to `false` or omitted, profanities
|
|
3186
3186
|
# won't be filtered out.
|
|
@@ -3189,7 +3189,7 @@ module Google
|
|
|
3189
3189
|
attr_accessor :filter_profanity
|
|
3190
3190
|
alias_method :filter_profanity?, :filter_profanity
|
|
3191
3191
|
|
|
3192
|
-
# *Required* The language of the supplied audio as a
|
|
3192
|
+
# Required. *Required* The language of the supplied audio as a
|
|
3193
3193
|
# [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
|
|
3194
3194
|
# Example: "en-US".
|
|
3195
3195
|
# See [Language Support](https://cloud.google.com/speech/docs/languages)
|
|
@@ -3198,7 +3198,7 @@ module Google
|
|
|
3198
3198
|
# @return [String]
|
|
3199
3199
|
attr_accessor :language_code
|
|
3200
3200
|
|
|
3201
|
-
#
|
|
3201
|
+
# Optional. Maximum number of recognition hypotheses to be returned.
|
|
3202
3202
|
# Specifically, the maximum number of `SpeechRecognitionAlternative` messages
|
|
3203
3203
|
# within each `SpeechTranscription`. The server may return fewer than
|
|
3204
3204
|
# `max_alternatives`. Valid values are `0`-`30`. A value of `0` or `1` will
|
|
@@ -3207,7 +3207,7 @@ module Google
|
|
|
3207
3207
|
# @return [Fixnum]
|
|
3208
3208
|
attr_accessor :max_alternatives
|
|
3209
3209
|
|
|
3210
|
-
#
|
|
3210
|
+
# Optional. A means to provide context to assist the speech recognition.
|
|
3211
3211
|
# Corresponds to the JSON property `speechContexts`
|
|
3212
3212
|
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1SpeechContext>]
|
|
3213
3213
|
attr_accessor :speech_contexts
|
|
@@ -4175,10 +4175,10 @@ module Google
|
|
|
4175
4175
|
# @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative>]
|
|
4176
4176
|
attr_accessor :alternatives
|
|
4177
4177
|
|
|
4178
|
-
# Output only. The
|
|
4179
|
-
#
|
|
4180
|
-
# language in this result. This language code was detected to have the
|
|
4181
|
-
# likelihood of being spoken in the audio.
|
|
4178
|
+
# Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
|
|
4179
|
+
# language tag of
|
|
4180
|
+
# the language in this result. This language code was detected to have the
|
|
4181
|
+
# most likelihood of being spoken in the audio.
|
|
4182
4182
|
# Corresponds to the JSON property `languageCode`
|
|
4183
4183
|
# @return [String]
|
|
4184
4184
|
attr_accessor :language_code
|
|
@@ -4376,8 +4376,7 @@ module Google
|
|
|
4376
4376
|
end
|
|
4377
4377
|
end
|
|
4378
4378
|
|
|
4379
|
-
# For tracking related features
|
|
4380
|
-
# CELEBRITY_RECOGNITION, PERSON_DETECTION.
|
|
4379
|
+
# For tracking related features.
|
|
4381
4380
|
# An object at time_offset with attributes, and located with
|
|
4382
4381
|
# normalized_bounding_box.
|
|
4383
4382
|
class GoogleCloudVideointelligenceV1p3beta1TimestampedObject
|
|
@@ -27,7 +27,7 @@ module Google
|
|
|
27
27
|
# @see https://cloud.google.com/video-intelligence/docs/
|
|
28
28
|
module VideointelligenceV1p2beta1
|
|
29
29
|
VERSION = 'V1p2beta1'
|
|
30
|
-
REVISION = '
|
|
30
|
+
REVISION = '20191028'
|
|
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'
|