google-apis-speech_v1 0.30.0 → 0.32.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: e2c13b18a57970eb25a5311ff3e5b2866e91ba889d7bcd1dadf843fe3e21e99e
4
- data.tar.gz: 59a9525b398851337421be96f1c8aab4e25a066e6ea10d2e6083ea5c1d86c8d2
3
+ metadata.gz: 5f3f356632c70fc88818420b756ee57a4d3c7b702801431c15252c73ff1ff3dc
4
+ data.tar.gz: '0193391b9fb054cf411e0e4859da0a084e17b73a142b72a0e4ea16daa7e665ed'
5
5
  SHA512:
6
- metadata.gz: f046af56db03a9a72599d06472e2102dbbff9f40aa1b87ce3ecf20b61ce59a91e0874afbbb1987f2d481b975c08ca3a2ed08f157f87069a278e45347497ed5ba
7
- data.tar.gz: f7600a7e61221986adb2643368c3b695e5fb0dd78b3d604b4b5f461118e787bf48c207121d223e18a1101baf38c58a4245b9bc5f7bef0647f295241fec6919ea
6
+ metadata.gz: fa991d2ef551f59ebfdcf04b54a7f5ffc9c4b7ebc999588fb663d9855b60293cbeb98127a4a97d6dd13b53be1cbef7ba7c69f6c1a09344203b6a0e6b13493392
7
+ data.tar.gz: eb09968c83a16dc8158bb6f55f8ec46a636518c9ae93f6f502c2de5485ce745ce8753437f7f46df381ba5fd9a7da9cf6fefe2f5b57aa26915734509c7cd835a1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-speech_v1
2
2
 
3
+ ### v0.32.0 (2023-03-19)
4
+
5
+ * Regenerated from discovery document revision 20230313
6
+
7
+ ### v0.31.0 (2023-03-05)
8
+
9
+ * Regenerated from discovery document revision 20230228
10
+
3
11
  ### v0.30.0 (2023-02-26)
4
12
 
5
13
  * Regenerated using generator version 0.12.0
@@ -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 speaker_tag provided in the
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 in the top
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.30.0"
19
+ GEM_VERSION = "0.32.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
@@ -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'
@@ -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_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.30.0
4
+ version: 0.32.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-26 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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-speech_v1/v0.30.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-speech_v1/v0.32.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: []