google-apis-speech_v1p1beta1 0.15.0 → 0.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/speech_v1p1beta1/classes.rb +19 -7
- data/lib/google/apis/speech_v1p1beta1/gem_version.rb +3 -3
- data/lib/google/apis/speech_v1p1beta1/representations.rb +1 -0
- data/lib/google/apis/speech_v1p1beta1/service.rb +37 -13
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 61f11839683ee6f9e513f0ce60e8b6ea080806a878328b6afaa30c34694529d1
|
4
|
+
data.tar.gz: 86eaf8130ff118c2b1c1a5337bd369ac19617aa5015a71a441d1c798064c6bb8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cca7a538b15f17f4d2328a4dd95959b0edff895a3163c3c12592c0f5f6f408e6f72eaebe512d03ea1ec1b32a47b10a4aaf330aebb155b3537b2001b8898b6750
|
7
|
+
data.tar.gz: 29d4c0814f0f255d4decf61b5e0ddcd1f4c4f6681ed62e9b5c8db97a75634abc0210efa8a2289d61e4482910bcb5870cdb1da9e4ac933288b9aed387dfbd397d
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-speech_v1p1beta1
|
2
2
|
|
3
|
+
### v0.19.0 (2022-02-04)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220128
|
6
|
+
* Regenerated using generator version 0.4.1
|
7
|
+
|
8
|
+
### v0.18.0 (2021-12-14)
|
9
|
+
|
10
|
+
* Unspecified changes
|
11
|
+
|
12
|
+
### v0.17.0 (2021-12-10)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20211130
|
15
|
+
|
16
|
+
### v0.16.0 (2021-11-12)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20211104
|
19
|
+
|
3
20
|
### v0.15.0 (2021-10-20)
|
4
21
|
|
5
22
|
* Unspecified changes
|
data/OVERVIEW.md
CHANGED
@@ -51,7 +51,7 @@ require "google/apis/speech_v1p1beta1"
|
|
51
51
|
client = Google::Apis::SpeechV1p1beta1::SpeechService.new
|
52
52
|
|
53
53
|
# Authenticate calls
|
54
|
-
client.
|
54
|
+
client.authorization = # ... use the googleauth gem to create credentials
|
55
55
|
```
|
56
56
|
|
57
57
|
See the class reference docs for information on the methods you can call from a client.
|
@@ -465,19 +465,22 @@ module Google
|
|
465
465
|
# set the class's `custom_class_id` to a string unique to all class resources
|
466
466
|
# and inline classes. Then use the class' id wrapped in $``...`` e.g. "$`my-
|
467
467
|
# months`". To refer to custom classes resources, use the class' id wrapped in `$
|
468
|
-
# ``` (e.g. `$`my-months``).
|
468
|
+
# ``` (e.g. `$`my-months``). Speech-to-Text supports three locations: `global`, `
|
469
|
+
# us` (US North America), and `eu` (Europe). If you are calling the `speech.
|
470
|
+
# googleapis.com` endpoint, use the `global` location. To specify a region, use
|
471
|
+
# a [regional endpoint](/speech-to-text/docs/endpoints) with matching `us` or `
|
472
|
+
# eu` location value.
|
469
473
|
class Phrase
|
470
474
|
include Google::Apis::Core::Hashable
|
471
475
|
|
472
476
|
# Hint Boost. Overrides the boost set at the phrase set level. Positive value
|
473
477
|
# will increase the probability that a specific phrase will be recognized over
|
474
478
|
# other similar sounding phrases. The higher the boost, the higher the chance of
|
475
|
-
# false positive recognition as well. Negative boost
|
476
|
-
#
|
477
|
-
#
|
478
|
-
#
|
479
|
-
#
|
480
|
-
# recognition will skip PhraseSets with a boost value of 0.
|
479
|
+
# false positive recognition as well. Negative boost will simply be ignored.
|
480
|
+
# Though `boost` can accept a wide range of positive values, most use cases are
|
481
|
+
# best served with values between 0 and 20. We recommend using a binary search
|
482
|
+
# approach to finding the optimal value for your use case. Speech recognition
|
483
|
+
# will skip PhraseSets with a boost value of 0.
|
481
484
|
# Corresponds to the JSON property `boost`
|
482
485
|
# @return [Float]
|
483
486
|
attr_accessor :boost
|
@@ -725,6 +728,9 @@ module Google
|
|
725
728
|
# costs more than the standard rate. default Best for audio that is not one of
|
726
729
|
# the specific audio models. For example, long-form audio. Ideally the audio is
|
727
730
|
# high-fidelity, recorded at a 16khz or greater sampling rate.
|
731
|
+
# medical_conversation Best for audio that originated from a conversation
|
732
|
+
# between a medical provider and patient. medical_dictation Best for audio that
|
733
|
+
# originated from dictation notes by a medical provider.
|
728
734
|
# Corresponds to the JSON property `model`
|
729
735
|
# @return [String]
|
730
736
|
attr_accessor :model
|
@@ -1121,6 +1127,11 @@ module Google
|
|
1121
1127
|
# @return [String]
|
1122
1128
|
attr_accessor :language_code
|
1123
1129
|
|
1130
|
+
# Time offset of the end of this result relative to the beginning of the audio.
|
1131
|
+
# Corresponds to the JSON property `resultEndTime`
|
1132
|
+
# @return [String]
|
1133
|
+
attr_accessor :result_end_time
|
1134
|
+
|
1124
1135
|
def initialize(**args)
|
1125
1136
|
update!(**args)
|
1126
1137
|
end
|
@@ -1130,6 +1141,7 @@ module Google
|
|
1130
1141
|
@alternatives = args[:alternatives] if args.key?(:alternatives)
|
1131
1142
|
@channel_tag = args[:channel_tag] if args.key?(:channel_tag)
|
1132
1143
|
@language_code = args[:language_code] if args.key?(:language_code)
|
1144
|
+
@result_end_time = args[:result_end_time] if args.key?(:result_end_time)
|
1133
1145
|
end
|
1134
1146
|
end
|
1135
1147
|
|
@@ -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.19.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.4.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220128"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -129,7 +129,11 @@ module Google
|
|
129
129
|
# Create a custom class.
|
130
130
|
# @param [String] parent
|
131
131
|
# Required. The parent resource where this custom class will be created. Format:
|
132
|
-
# `
|
132
|
+
# `projects/`project`/locations/`location`/customClasses` Speech-to-Text
|
133
|
+
# supports three locations: `global`, `us` (US North America), and `eu` (Europe).
|
134
|
+
# If you are calling the `speech.googleapis.com` endpoint, use the `global`
|
135
|
+
# location. To specify a region, use a [regional endpoint](/speech-to-text/docs/
|
136
|
+
# endpoints) with matching `us` or `eu` location value.
|
133
137
|
# @param [Google::Apis::SpeechV1p1beta1::CreateCustomClassRequest] create_custom_class_request_object
|
134
138
|
# @param [String] fields
|
135
139
|
# Selector specifying which fields to include in a partial response.
|
@@ -162,8 +166,12 @@ module Google
|
|
162
166
|
|
163
167
|
# Delete a custom class.
|
164
168
|
# @param [String] name
|
165
|
-
# Required. The name of the custom class to delete. Format: `
|
166
|
-
#
|
169
|
+
# Required. The name of the custom class to delete. Format: `projects/`project`/
|
170
|
+
# locations/`location`/customClasses/`custom_class`` Speech-to-Text supports
|
171
|
+
# three locations: `global`, `us` (US North America), and `eu` (Europe). If you
|
172
|
+
# are calling the `speech.googleapis.com` endpoint, use the `global` location.
|
173
|
+
# To specify a region, use a [regional endpoint](/speech-to-text/docs/endpoints)
|
174
|
+
# with matching `us` or `eu` location value.
|
167
175
|
# @param [String] fields
|
168
176
|
# Selector specifying which fields to include in a partial response.
|
169
177
|
# @param [String] quota_user
|
@@ -193,8 +201,8 @@ module Google
|
|
193
201
|
|
194
202
|
# Get a custom class.
|
195
203
|
# @param [String] name
|
196
|
-
# Required. The name of the custom class to retrieve. Format: `
|
197
|
-
#
|
204
|
+
# Required. The name of the custom class to retrieve. Format: `projects/`project`
|
205
|
+
# /locations/`location`/customClasses/`custom_class``
|
198
206
|
# @param [String] fields
|
199
207
|
# Selector specifying which fields to include in a partial response.
|
200
208
|
# @param [String] quota_user
|
@@ -225,7 +233,11 @@ module Google
|
|
225
233
|
# List custom classes.
|
226
234
|
# @param [String] parent
|
227
235
|
# Required. The parent, which owns this collection of custom classes. Format: `
|
228
|
-
#
|
236
|
+
# projects/`project`/locations/`location`/customClasses` Speech-to-Text supports
|
237
|
+
# three locations: `global`, `us` (US North America), and `eu` (Europe). If you
|
238
|
+
# are calling the `speech.googleapis.com` endpoint, use the `global` location.
|
239
|
+
# To specify a region, use a [regional endpoint](/speech-to-text/docs/endpoints)
|
240
|
+
# with matching `us` or `eu` location value.
|
229
241
|
# @param [Fixnum] page_size
|
230
242
|
# The maximum number of custom classes to return. The service may return fewer
|
231
243
|
# than this value. If unspecified, at most 50 custom classes will be returned.
|
@@ -304,7 +316,11 @@ module Google
|
|
304
316
|
# model when you send a call that includes the PhraseSet.
|
305
317
|
# @param [String] parent
|
306
318
|
# Required. The parent resource where this phrase set will be created. Format: `
|
307
|
-
#
|
319
|
+
# projects/`project`/locations/`location`/phraseSets` Speech-to-Text supports
|
320
|
+
# three locations: `global`, `us` (US North America), and `eu` (Europe). If you
|
321
|
+
# are calling the `speech.googleapis.com` endpoint, use the `global` location.
|
322
|
+
# To specify a region, use a [regional endpoint](/speech-to-text/docs/endpoints)
|
323
|
+
# with matching `us` or `eu` location value.
|
308
324
|
# @param [Google::Apis::SpeechV1p1beta1::CreatePhraseSetRequest] create_phrase_set_request_object
|
309
325
|
# @param [String] fields
|
310
326
|
# Selector specifying which fields to include in a partial response.
|
@@ -337,8 +353,8 @@ module Google
|
|
337
353
|
|
338
354
|
# Delete a phrase set.
|
339
355
|
# @param [String] name
|
340
|
-
# Required. The name of the phrase set to delete. Format: `
|
341
|
-
#
|
356
|
+
# Required. The name of the phrase set to delete. Format: `projects/`project`/
|
357
|
+
# locations/`location`/phraseSets/`phrase_set``
|
342
358
|
# @param [String] fields
|
343
359
|
# Selector specifying which fields to include in a partial response.
|
344
360
|
# @param [String] quota_user
|
@@ -368,8 +384,12 @@ module Google
|
|
368
384
|
|
369
385
|
# Get a phrase set.
|
370
386
|
# @param [String] name
|
371
|
-
# Required. The name of the phrase set to retrieve. Format: `
|
372
|
-
#
|
387
|
+
# Required. The name of the phrase set to retrieve. Format: `projects/`project`/
|
388
|
+
# locations/`location`/phraseSets/`phrase_set`` Speech-to-Text supports three
|
389
|
+
# locations: `global`, `us` (US North America), and `eu` (Europe). If you are
|
390
|
+
# calling the `speech.googleapis.com` endpoint, use the `global` location. To
|
391
|
+
# specify a region, use a [regional endpoint](/speech-to-text/docs/endpoints)
|
392
|
+
# with matching `us` or `eu` location value.
|
373
393
|
# @param [String] fields
|
374
394
|
# Selector specifying which fields to include in a partial response.
|
375
395
|
# @param [String] quota_user
|
@@ -399,8 +419,12 @@ module Google
|
|
399
419
|
|
400
420
|
# List phrase sets.
|
401
421
|
# @param [String] parent
|
402
|
-
# Required. The parent, which owns this collection of phrase set. Format:
|
403
|
-
# projects/`project`/locations/`location
|
422
|
+
# Required. The parent, which owns this collection of phrase set. Format: `
|
423
|
+
# projects/`project`/locations/`location`` Speech-to-Text supports three
|
424
|
+
# locations: `global`, `us` (US North America), and `eu` (Europe). If you are
|
425
|
+
# calling the `speech.googleapis.com` endpoint, use the `global` location. To
|
426
|
+
# specify a region, use a [regional endpoint](/speech-to-text/docs/endpoints)
|
427
|
+
# with matching `us` or `eu` location value.
|
404
428
|
# @param [Fixnum] page_size
|
405
429
|
# The maximum number of phrase sets to return. The service may return fewer than
|
406
430
|
# this value. If unspecified, at most 50 phrase sets will be returned. The
|
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.19.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:
|
11
|
+
date: 2022-02-07 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-speech_v1p1beta1/v0.19.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: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.3.5
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Speech-to-Text API V1p1beta1
|