google-apis-speech_v1p1beta1 0.33.0 → 0.34.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4510d362ed64e5fb812caf9ca141bb1bf1893e79b9fd207cfafb2347f7f8cc70
4
- data.tar.gz: c8fb8ecfa65a4f56217e3e40c5879f7975a770f46b95d4eeac115c2aabaa2d4e
3
+ metadata.gz: fe884962d361ce68e36aa6772177bc412558ba9b001baabf422d67107cd0167f
4
+ data.tar.gz: 5eeb380133cf02f2594a1a829e9fe6f3f0e4b496c70b7d53611e73350e7174ba
5
5
  SHA512:
6
- metadata.gz: 041d12e8ef0cba0d1ba9eeff3a188b6716021c67b5fb321e710f8b25f6c49b869e070e99bc377cce797eb343221a62a1c2edcd7e49aab252b75fcbd0c472a992
7
- data.tar.gz: 50aaf7fed1e2264fa273d446aa06c49a3ebdc88ee9d1b695d4003f8cc67ab1e50fc9ec10ace8b27ad6c5c8cbd8874255c738b9747d613edbdb93a790fbd96cfd
6
+ metadata.gz: 7904c3cb0cc8a4ec1fa2563d1a03161bfcfc4c2f4a6dd2865d736c02a01936da832485ac2b6f5207adcbfd579aa3cabfacb6f2a6dee3937569ec651fc494ac81
7
+ data.tar.gz: ae595514b9b14f001f012b0d6c930a0bad44c014d4b47ebfbc796453baee25f21dbcb8203ef371d12599395b6346a743fe00df80d2d383c117645694382ed440
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-speech_v1p1beta1
2
2
 
3
+ ### v0.34.0 (2023-03-05)
4
+
5
+ * Regenerated from discovery document revision 20230228
6
+
3
7
  ### v0.33.0 (2023-02-15)
4
8
 
5
9
  * Regenerated using generator version 0.12.0
@@ -678,7 +678,7 @@ module Google
678
678
  alias_method :enable_separate_recognition_per_channel?, :enable_separate_recognition_per_channel
679
679
 
680
680
  # If 'true', enables speaker detection for each recognized word in the top
681
- # alternative of the recognition result using a speaker_tag provided in the
681
+ # alternative of the recognition result using a speaker_label provided in the
682
682
  # WordInfo. Note: Use diarization_config instead.
683
683
  # Corresponds to the JSON property `enableSpeakerDiarization`
684
684
  # @return [Boolean]
@@ -994,7 +994,7 @@ module Google
994
994
  include Google::Apis::Core::Hashable
995
995
 
996
996
  # If 'true', enables speaker detection for each recognized word in the top
997
- # alternative of the recognition result using a speaker_tag provided in the
997
+ # alternative of the recognition result using a speaker_label provided in the
998
998
  # WordInfo.
999
999
  # Corresponds to the JSON property `enableSpeakerDiarization`
1000
1000
  # @return [Boolean]
@@ -1339,11 +1339,21 @@ module Google
1339
1339
  # @return [String]
1340
1340
  attr_accessor :end_time
1341
1341
 
1342
+ # Output only. A label value assigned for every unique speaker within the audio.
1343
+ # This field specifies which speaker was detected to have spoken this word. For
1344
+ # some models, like medical_conversation this can be actual speaker role, for
1345
+ # example "patient" or "provider", but generally this would be a number
1346
+ # identifying a speaker. This field is only set if enable_speaker_diarization = '
1347
+ # true' and only for the top alternative.
1348
+ # Corresponds to the JSON property `speakerLabel`
1349
+ # @return [String]
1350
+ attr_accessor :speaker_label
1351
+
1342
1352
  # Output only. A distinct integer value is assigned for every speaker within the
1343
1353
  # audio. This field specifies which one of those speakers was detected to have
1344
1354
  # spoken this word. Value ranges from '1' to diarization_speaker_count.
1345
- # speaker_tag is set if enable_speaker_diarization = 'true' and only in the top
1346
- # alternative.
1355
+ # speaker_tag is set if enable_speaker_diarization = 'true' and only for the top
1356
+ # alternative. Note: Use speaker_label instead.
1347
1357
  # Corresponds to the JSON property `speakerTag`
1348
1358
  # @return [Fixnum]
1349
1359
  attr_accessor :speaker_tag
@@ -1369,6 +1379,7 @@ module Google
1369
1379
  def update!(**args)
1370
1380
  @confidence = args[:confidence] if args.key?(:confidence)
1371
1381
  @end_time = args[:end_time] if args.key?(:end_time)
1382
+ @speaker_label = args[:speaker_label] if args.key?(:speaker_label)
1372
1383
  @speaker_tag = args[:speaker_tag] if args.key?(:speaker_tag)
1373
1384
  @start_time = args[:start_time] if args.key?(:start_time)
1374
1385
  @word = args[:word] if args.key?(:word)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SpeechV1p1beta1
18
18
  # Version of the google-apis-speech_v1p1beta1 gem
19
- GEM_VERSION = "0.33.0"
19
+ GEM_VERSION = "0.34.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 = "20230119"
25
+ REVISION = "20230228"
26
26
  end
27
27
  end
28
28
  end
@@ -529,6 +529,7 @@ module Google
529
529
  class Representation < Google::Apis::Core::JsonRepresentation
530
530
  property :confidence, as: 'confidence'
531
531
  property :end_time, as: 'endTime'
532
+ property :speaker_label, as: 'speakerLabel'
532
533
  property :speaker_tag, as: 'speakerTag'
533
534
  property :start_time, as: 'startTime'
534
535
  property :word, as: 'word'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-speech_v1p1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.33.0
4
+ version: 0.34.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-02-19 00:00:00.000000000 Z
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_v1p1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-speech_v1p1beta1/v0.33.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-speech_v1p1beta1/v0.34.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-speech_v1p1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []