google-apis-speech_v1 0.30.0 → 0.31.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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c6e5e46c079878055aeb99198221b15eeebd8187f7b0d05c39417b3908eea2b
|
4
|
+
data.tar.gz: eae09ce7f548dea415afa23bad4ba2b17a460dff2741cbecbf88e700f1cdd01b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b8d6254088c4bbbe432ee2e572671b18edba8675f57fa8fb6aab0942640a5ec2180170b0741cb2e9525c3e2d9d02002cee0898248c8ddd6c23c7a9e36e796f4
|
7
|
+
data.tar.gz: 933adae7c83f682dd2fecdadbbc8f272c9500760f0f2c08bec0b40289b9e412a54054d6c189d7c69156e5d1633a93f5a4737facfae29b260c54a9ed98188a50a
|
data/CHANGELOG.md
CHANGED
@@ -923,7 +923,7 @@ module Google
|
|
923
923
|
include Google::Apis::Core::Hashable
|
924
924
|
|
925
925
|
# If 'true', enables speaker detection for each recognized word in the top
|
926
|
-
# alternative of the recognition result using a
|
926
|
+
# alternative of the recognition result using a speaker_label provided in the
|
927
927
|
# WordInfo.
|
928
928
|
# Corresponds to the JSON property `enableSpeakerDiarization`
|
929
929
|
# @return [Boolean]
|
@@ -1243,11 +1243,21 @@ module Google
|
|
1243
1243
|
# @return [String]
|
1244
1244
|
attr_accessor :end_time
|
1245
1245
|
|
1246
|
+
# Output only. A label value assigned for every unique speaker within the audio.
|
1247
|
+
# This field specifies which speaker was detected to have spoken this word. For
|
1248
|
+
# some models, like medical_conversation this can be actual speaker role, for
|
1249
|
+
# example "patient" or "provider", but generally this would be a number
|
1250
|
+
# identifying a speaker. This field is only set if enable_speaker_diarization = '
|
1251
|
+
# true' and only for the top alternative.
|
1252
|
+
# Corresponds to the JSON property `speakerLabel`
|
1253
|
+
# @return [String]
|
1254
|
+
attr_accessor :speaker_label
|
1255
|
+
|
1246
1256
|
# Output only. A distinct integer value is assigned for every speaker within the
|
1247
1257
|
# audio. This field specifies which one of those speakers was detected to have
|
1248
1258
|
# spoken this word. Value ranges from '1' to diarization_speaker_count.
|
1249
|
-
# speaker_tag is set if enable_speaker_diarization = 'true' and only
|
1250
|
-
# alternative.
|
1259
|
+
# speaker_tag is set if enable_speaker_diarization = 'true' and only for the top
|
1260
|
+
# alternative. Note: Use speaker_label instead.
|
1251
1261
|
# Corresponds to the JSON property `speakerTag`
|
1252
1262
|
# @return [Fixnum]
|
1253
1263
|
attr_accessor :speaker_tag
|
@@ -1273,6 +1283,7 @@ module Google
|
|
1273
1283
|
def update!(**args)
|
1274
1284
|
@confidence = args[:confidence] if args.key?(:confidence)
|
1275
1285
|
@end_time = args[:end_time] if args.key?(:end_time)
|
1286
|
+
@speaker_label = args[:speaker_label] if args.key?(:speaker_label)
|
1276
1287
|
@speaker_tag = args[:speaker_tag] if args.key?(:speaker_tag)
|
1277
1288
|
@start_time = args[:start_time] if args.key?(:start_time)
|
1278
1289
|
@word = args[:word] if args.key?(:word)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module SpeechV1
|
18
18
|
# Version of the google-apis-speech_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.31.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230228"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -493,6 +493,7 @@ module Google
|
|
493
493
|
class Representation < Google::Apis::Core::JsonRepresentation
|
494
494
|
property :confidence, as: 'confidence'
|
495
495
|
property :end_time, as: 'endTime'
|
496
|
+
property :speaker_label, as: 'speakerLabel'
|
496
497
|
property :speaker_tag, as: 'speakerTag'
|
497
498
|
property :start_time, as: 'startTime'
|
498
499
|
property :word, as: 'word'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-speech_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.31.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-03-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-speech_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-speech_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-speech_v1/v0.31.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-speech_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|