google-apis-speech_v1p1beta1 0.12.0 → 0.13.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b4a2abe7b7997e8d4a879d67059d962fc49fc1dcdd20fc0ba7ee4e78c8e0efcb
|
4
|
+
data.tar.gz: b6652f9b98f7483866a3f534926e189b4781f81558804cc5f5b472c599acd750
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e4ba07bd1961d676591db959e3daa1f0f84144ae16a3220ec4e80e94dde4d989d7d5995bbc87b641dda36646866ed31bd169d7885074e1b79c81774a8a821958
|
7
|
+
data.tar.gz: 9c84f11e9b5e10c3f6ad02633defb6c0a60e3d13e5527626d4173ceb1ba6aeaf566dc9d5a363de331bee326899871f8dcc978af54167e08370d4a6ca87593123
|
data/CHANGELOG.md
CHANGED
@@ -149,38 +149,6 @@ module Google
|
|
149
149
|
end
|
150
150
|
end
|
151
151
|
|
152
|
-
# A single replacement configuration.
|
153
|
-
class Entry
|
154
|
-
include Google::Apis::Core::Hashable
|
155
|
-
|
156
|
-
# Whether the search is case sensitive.
|
157
|
-
# Corresponds to the JSON property `caseSensitive`
|
158
|
-
# @return [Boolean]
|
159
|
-
attr_accessor :case_sensitive
|
160
|
-
alias_method :case_sensitive?, :case_sensitive
|
161
|
-
|
162
|
-
# What to replace with. Max length is 100 characters.
|
163
|
-
# Corresponds to the JSON property `replace`
|
164
|
-
# @return [String]
|
165
|
-
attr_accessor :replace
|
166
|
-
|
167
|
-
# What to replace. Max length is 100 characters.
|
168
|
-
# Corresponds to the JSON property `search`
|
169
|
-
# @return [String]
|
170
|
-
attr_accessor :search
|
171
|
-
|
172
|
-
def initialize(**args)
|
173
|
-
update!(**args)
|
174
|
-
end
|
175
|
-
|
176
|
-
# Update properties of this object
|
177
|
-
def update!(**args)
|
178
|
-
@case_sensitive = args[:case_sensitive] if args.key?(:case_sensitive)
|
179
|
-
@replace = args[:replace] if args.key?(:replace)
|
180
|
-
@search = args[:search] if args.key?(:search)
|
181
|
-
end
|
182
|
-
end
|
183
|
-
|
184
152
|
# Message returned to the client by the `ListCustomClasses` method.
|
185
153
|
class ListCustomClassesResponse
|
186
154
|
include Google::Apis::Core::Hashable
|
@@ -748,14 +716,6 @@ module Google
|
|
748
716
|
# @return [Array<Google::Apis::SpeechV1p1beta1::SpeechContext>]
|
749
717
|
attr_accessor :speech_contexts
|
750
718
|
|
751
|
-
# Transcription normalization configuration. Use transcription normalization to
|
752
|
-
# automatically replace parts of the transcript with phrases of your choosing.
|
753
|
-
# For StreamingRecognize, this normalization only applies to stable partial
|
754
|
-
# transcripts (stability > 0.8) and final transcripts.
|
755
|
-
# Corresponds to the JSON property `transcriptNormalization`
|
756
|
-
# @return [Google::Apis::SpeechV1p1beta1::TranscriptNormalization]
|
757
|
-
attr_accessor :transcript_normalization
|
758
|
-
|
759
719
|
# Set to true to use an enhanced model for speech recognition. If `use_enhanced`
|
760
720
|
# is set to true and the `model` field is not set, then an appropriate enhanced
|
761
721
|
# model is chosen if an enhanced model exists for the audio. If `use_enhanced`
|
@@ -792,7 +752,6 @@ module Google
|
|
792
752
|
@profanity_filter = args[:profanity_filter] if args.key?(:profanity_filter)
|
793
753
|
@sample_rate_hertz = args[:sample_rate_hertz] if args.key?(:sample_rate_hertz)
|
794
754
|
@speech_contexts = args[:speech_contexts] if args.key?(:speech_contexts)
|
795
|
-
@transcript_normalization = args[:transcript_normalization] if args.key?(:transcript_normalization)
|
796
755
|
@use_enhanced = args[:use_enhanced] if args.key?(:use_enhanced)
|
797
756
|
end
|
798
757
|
end
|
@@ -1160,28 +1119,6 @@ module Google
|
|
1160
1119
|
end
|
1161
1120
|
end
|
1162
1121
|
|
1163
|
-
# Transcription normalization configuration. Use transcription normalization to
|
1164
|
-
# automatically replace parts of the transcript with phrases of your choosing.
|
1165
|
-
# For StreamingRecognize, this normalization only applies to stable partial
|
1166
|
-
# transcripts (stability > 0.8) and final transcripts.
|
1167
|
-
class TranscriptNormalization
|
1168
|
-
include Google::Apis::Core::Hashable
|
1169
|
-
|
1170
|
-
# A single replacement configuration.
|
1171
|
-
# Corresponds to the JSON property `entries`
|
1172
|
-
# @return [Google::Apis::SpeechV1p1beta1::Entry]
|
1173
|
-
attr_accessor :entries
|
1174
|
-
|
1175
|
-
def initialize(**args)
|
1176
|
-
update!(**args)
|
1177
|
-
end
|
1178
|
-
|
1179
|
-
# Update properties of this object
|
1180
|
-
def update!(**args)
|
1181
|
-
@entries = args[:entries] if args.key?(:entries)
|
1182
|
-
end
|
1183
|
-
end
|
1184
|
-
|
1185
1122
|
# Specifies an optional destination for the recognition results.
|
1186
1123
|
class TranscriptOutputConfig
|
1187
1124
|
include Google::Apis::Core::Hashable
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.13.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210726"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -52,12 +52,6 @@ module Google
|
|
52
52
|
include Google::Apis::Core::JsonObjectSupport
|
53
53
|
end
|
54
54
|
|
55
|
-
class Entry
|
56
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
-
|
58
|
-
include Google::Apis::Core::JsonObjectSupport
|
59
|
-
end
|
60
|
-
|
61
55
|
class ListCustomClassesResponse
|
62
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
57
|
|
@@ -178,12 +172,6 @@ module Google
|
|
178
172
|
include Google::Apis::Core::JsonObjectSupport
|
179
173
|
end
|
180
174
|
|
181
|
-
class TranscriptNormalization
|
182
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
-
|
184
|
-
include Google::Apis::Core::JsonObjectSupport
|
185
|
-
end
|
186
|
-
|
187
175
|
class TranscriptOutputConfig
|
188
176
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
177
|
|
@@ -237,15 +225,6 @@ module Google
|
|
237
225
|
end
|
238
226
|
end
|
239
227
|
|
240
|
-
class Entry
|
241
|
-
# @private
|
242
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
243
|
-
property :case_sensitive, as: 'caseSensitive'
|
244
|
-
property :replace, as: 'replace'
|
245
|
-
property :search, as: 'search'
|
246
|
-
end
|
247
|
-
end
|
248
|
-
|
249
228
|
class ListCustomClassesResponse
|
250
229
|
# @private
|
251
230
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -374,8 +353,6 @@ module Google
|
|
374
353
|
property :sample_rate_hertz, as: 'sampleRateHertz'
|
375
354
|
collection :speech_contexts, as: 'speechContexts', class: Google::Apis::SpeechV1p1beta1::SpeechContext, decorator: Google::Apis::SpeechV1p1beta1::SpeechContext::Representation
|
376
355
|
|
377
|
-
property :transcript_normalization, as: 'transcriptNormalization', class: Google::Apis::SpeechV1p1beta1::TranscriptNormalization, decorator: Google::Apis::SpeechV1p1beta1::TranscriptNormalization::Representation
|
378
|
-
|
379
356
|
property :use_enhanced, as: 'useEnhanced'
|
380
357
|
end
|
381
358
|
end
|
@@ -471,14 +448,6 @@ module Google
|
|
471
448
|
end
|
472
449
|
end
|
473
450
|
|
474
|
-
class TranscriptNormalization
|
475
|
-
# @private
|
476
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
477
|
-
property :entries, as: 'entries', class: Google::Apis::SpeechV1p1beta1::Entry, decorator: Google::Apis::SpeechV1p1beta1::Entry::Representation
|
478
|
-
|
479
|
-
end
|
480
|
-
end
|
481
|
-
|
482
451
|
class TranscriptOutputConfig
|
483
452
|
# @private
|
484
453
|
class Representation < Google::Apis::Core::JsonRepresentation
|
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.
|
4
|
+
version: 0.13.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: 2021-
|
11
|
+
date: 2021-08-02 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/master/generated/google-apis-speech_v1p1beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-speech_v1p1beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-speech_v1p1beta1/v0.13.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-speech_v1p1beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|