google-apis-speech_v1p1beta1 0.14.0 → 0.18.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 +16 -0
- data/OVERVIEW.md +3 -3
- data/lib/google/apis/speech_v1p1beta1/classes.rb +16 -7
- data/lib/google/apis/speech_v1p1beta1/gem_version.rb +2 -2
- data/lib/google/apis/speech_v1p1beta1/representations.rb +1 -0
- data/lib/google/apis/speech_v1p1beta1/service.rb +37 -13
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7f287dc396a071585b3fcdab445b7142160c9d9f4f1d43c17d1ec3a15ddce19f
|
4
|
+
data.tar.gz: ab5cf4271d2cb46390d5063c3518a4bbbf97685435353ca57af12cbb9689322f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 988cf574f213c9558b40a50546844e283e1c62d2f64a52ad0614a4d58cab26b0e7705243c0a22ac8f2f1579f0f7b51a6dcd7506aec0dfe879dc63326dc7545f4
|
7
|
+
data.tar.gz: aa713a4963ebf396def60260c1e375738da2c5d1e1fee0a3160e645a82791fe04691ed3338ec4607abdcfa41904290c92d1e887e13dcfa02b7234cc8ec89df7c
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-speech_v1p1beta1
|
2
2
|
|
3
|
+
### v0.18.0 (2021-12-14)
|
4
|
+
|
5
|
+
* Unspecified changes
|
6
|
+
|
7
|
+
### v0.17.0 (2021-12-10)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20211130
|
10
|
+
|
11
|
+
### v0.16.0 (2021-11-12)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20211104
|
14
|
+
|
15
|
+
### v0.15.0 (2021-10-20)
|
16
|
+
|
17
|
+
* Unspecified changes
|
18
|
+
|
3
19
|
### v0.14.0 (2021-09-03)
|
4
20
|
|
5
21
|
* Regenerated from discovery document revision 20210825
|
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.
|
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Speech service in particular.)
|
67
67
|
|
@@ -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
|
@@ -1121,6 +1124,11 @@ module Google
|
|
1121
1124
|
# @return [String]
|
1122
1125
|
attr_accessor :language_code
|
1123
1126
|
|
1127
|
+
# Time offset of the end of this result relative to the beginning of the audio.
|
1128
|
+
# Corresponds to the JSON property `resultEndTime`
|
1129
|
+
# @return [String]
|
1130
|
+
attr_accessor :result_end_time
|
1131
|
+
|
1124
1132
|
def initialize(**args)
|
1125
1133
|
update!(**args)
|
1126
1134
|
end
|
@@ -1130,6 +1138,7 @@ module Google
|
|
1130
1138
|
@alternatives = args[:alternatives] if args.key?(:alternatives)
|
1131
1139
|
@channel_tag = args[:channel_tag] if args.key?(:channel_tag)
|
1132
1140
|
@language_code = args[:language_code] if args.key?(:language_code)
|
1141
|
+
@result_end_time = args[:result_end_time] if args.key?(:result_end_time)
|
1133
1142
|
end
|
1134
1143
|
end
|
1135
1144
|
|
@@ -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.18.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 = "20211130"
|
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.18.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-01-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-speech_v1p1beta1/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
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.18.0
|
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: []
|
65
65
|
require_paths:
|
@@ -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.4
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Speech-to-Text API V1p1beta1
|