google-apis-speech_v1p1beta1 0.33.0 → 0.35.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: cf24e4bb3846727c61dd1c8c41c58f50398a1cce79274b8da951e1502a2be00c
4
+ data.tar.gz: dec07d440b5002d390638fea4feff15cc5afdcd436445d3a11fb0a479ca41dd4
5
5
  SHA512:
6
- metadata.gz: 041d12e8ef0cba0d1ba9eeff3a188b6716021c67b5fb321e710f8b25f6c49b869e070e99bc377cce797eb343221a62a1c2edcd7e49aab252b75fcbd0c472a992
7
- data.tar.gz: 50aaf7fed1e2264fa273d446aa06c49a3ebdc88ee9d1b695d4003f8cc67ab1e50fc9ec10ace8b27ad6c5c8cbd8874255c738b9747d613edbdb93a790fbd96cfd
6
+ metadata.gz: b93ac5f612d8812e3c9a3a70d21d864fcf4ed9d3399b7e018eb09034c3dcfcaedfec5461a0a70e8b06e33379b0fc7071e3d0b384f7e7d5b4cced141f8c6c34cd
7
+ data.tar.gz: 1185c0cb0cc338f590d838ec34b8003e617984827b7dd6c26eb50e01f909adda01db9ebde40133c66f1bbc1de0648fee43473013faa2ffc428ecc7032480483d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-speech_v1p1beta1
2
2
 
3
+ ### v0.35.0 (2023-03-19)
4
+
5
+ * Regenerated from discovery document revision 20230313
6
+
7
+ ### v0.34.0 (2023-03-05)
8
+
9
+ * Regenerated from discovery document revision 20230228
10
+
3
11
  ### v0.33.0 (2023-02-15)
4
12
 
5
13
  * 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.35.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 = "20230313"
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'
@@ -81,13 +81,7 @@ module Google
81
81
  end
82
82
 
83
83
  # Lists operations that match the specified filter in the request. If the server
84
- # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
85
- # binding allows API services to override the binding to use different resource
86
- # name schemes, such as `users/*/operations`. To override the binding, API
87
- # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
88
- # service configuration. For backwards compatibility, the default name includes
89
- # the operations collection id, however overriding users must ensure the name
90
- # binding is the parent resource, without the operations collection id.
84
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
91
85
  # @param [String] filter
92
86
  # The standard list filter.
93
87
  # @param [String] name
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.35.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-19 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.35.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: []