google-api-client 0.33.1 → 0.33.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +42 -0
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +11 -0
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +1 -0
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +0 -72
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +0 -32
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +15 -2
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +16 -3
- data/generated/google/apis/admin_datatransfer_v1.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_reports_v1.rb +1 -1
- data/generated/google/apis/admin_reports_v1/service.rb +6 -3
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/service.rb +3 -3
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/service.rb +3 -3
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +9 -1
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +62 -29
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/representations.rb +2 -2
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +12 -12
- data/generated/google/apis/cloudresourcemanager_v2.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_v2beta1.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/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +6 -0
- data/generated/google/apis/cloudshell_v1/representations.rb +1 -0
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +6 -0
- data/generated/google/apis/cloudshell_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +205 -4
- data/generated/google/apis/container_v1/representations.rb +85 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +93 -2
- data/generated/google/apis/container_v1beta1/representations.rb +18 -0
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +112 -0
- data/generated/google/apis/docs_v1/representations.rb +60 -0
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +2 -1
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/service.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +11 -7
- data/generated/google/apis/licensing_v1.rb +4 -4
- data/generated/google/apis/licensing_v1/classes.rb +15 -7
- data/generated/google/apis/licensing_v1/service.rb +81 -37
- data/generated/google/apis/ml_v1.rb +2 -2
- data/generated/google/apis/ml_v1/classes.rb +9 -0
- data/generated/google/apis/ml_v1/representations.rb +1 -0
- data/generated/google/apis/ml_v1/service.rb +1 -1
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1/classes.rb +1 -1
- data/generated/google/apis/oslogin_v1/service.rb +8 -5
- data/generated/google/apis/oslogin_v1beta.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/reseller_v1.rb +1 -1
- data/generated/google/apis/reseller_v1/service.rb +1 -1
- data/generated/google/apis/run_v1alpha1.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/speech_v2beta1.rb +34 -0
- data/generated/google/apis/speech_v2beta1/classes.rb +356 -0
- data/generated/google/apis/speech_v2beta1/representations.rb +152 -0
- data/generated/google/apis/speech_v2beta1/service.rb +138 -0
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +63 -0
- data/generated/google/apis/sql_v1beta4/representations.rb +32 -0
- data/generated/google/apis/sql_v1beta4/service.rb +161 -30
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +141 -0
- data/generated/google/apis/testing_v1/representations.rb +76 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +34 -34
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +34 -34
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +34 -34
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +34 -34
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +34 -34
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/service.rb +2 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -2
@@ -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 = '20191018'
|
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::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
|
@@ -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 = '20191018'
|
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
|
@@ -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 = '20191018'
|
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
|