google-apis-speech_v1p1beta1 0.13.0 → 0.17.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 +2 -2
- data/lib/google/apis/speech_v1p1beta1/classes.rb +94 -7
- data/lib/google/apis/speech_v1p1beta1/gem_version.rb +2 -2
- data/lib/google/apis/speech_v1p1beta1/representations.rb +34 -0
- data/lib/google/apis/speech_v1p1beta1/service.rb +37 -13
- data/lib/google/apis/speech_v1p1beta1.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4df7ee0e12e390baf2d048046bf02b5a0f10a085bd30babde69532493ebc28ff
|
4
|
+
data.tar.gz: d46d895b1cf4c1d658eeacfbfad420646dbc1f10a12c98bf35d329c0c84160b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c977eaa460d40060c012a78dc46baf4f44f8661822f7f4e25f7cc5750f3cda74138ffc886e6b99551283599dccc7aa6e40731dc31bc64abc23b368fefd39fe4
|
7
|
+
data.tar.gz: b933f47915b5ed46d09de881e42a2c5996dad814fcfc8d87110aba1a28190d7e5fe3ef9fb0fcf855305bd2d174cbc0453cd6b2427384b70bba367f1705d8e012
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-speech_v1p1beta1
|
2
2
|
|
3
|
+
### v0.17.0 (2021-12-10)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211130
|
6
|
+
|
7
|
+
### v0.16.0 (2021-11-12)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20211104
|
10
|
+
|
11
|
+
### v0.15.0 (2021-10-20)
|
12
|
+
|
13
|
+
* Unspecified changes
|
14
|
+
|
15
|
+
### v0.14.0 (2021-09-03)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210825
|
18
|
+
|
3
19
|
### v0.13.0 (2021-07-31)
|
4
20
|
|
5
21
|
* Regenerated from discovery document revision 20210726
|
data/OVERVIEW.md
CHANGED
@@ -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
|
|
@@ -149,6 +149,38 @@ 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
|
+
|
152
184
|
# Message returned to the client by the `ListCustomClasses` method.
|
153
185
|
class ListCustomClassesResponse
|
154
186
|
include Google::Apis::Core::Hashable
|
@@ -337,6 +369,11 @@ module Google
|
|
337
369
|
# @return [Array<Google::Apis::SpeechV1p1beta1::SpeechRecognitionResult>]
|
338
370
|
attr_accessor :results
|
339
371
|
|
372
|
+
# When available, billed audio seconds for the corresponding request.
|
373
|
+
# Corresponds to the JSON property `totalBilledTime`
|
374
|
+
# @return [String]
|
375
|
+
attr_accessor :total_billed_time
|
376
|
+
|
340
377
|
def initialize(**args)
|
341
378
|
update!(**args)
|
342
379
|
end
|
@@ -346,6 +383,7 @@ module Google
|
|
346
383
|
@output_config = args[:output_config] if args.key?(:output_config)
|
347
384
|
@output_error = args[:output_error] if args.key?(:output_error)
|
348
385
|
@results = args[:results] if args.key?(:results)
|
386
|
+
@total_billed_time = args[:total_billed_time] if args.key?(:total_billed_time)
|
349
387
|
end
|
350
388
|
end
|
351
389
|
|
@@ -427,19 +465,22 @@ module Google
|
|
427
465
|
# set the class's `custom_class_id` to a string unique to all class resources
|
428
466
|
# and inline classes. Then use the class' id wrapped in $``...`` e.g. "$`my-
|
429
467
|
# months`". To refer to custom classes resources, use the class' id wrapped in `$
|
430
|
-
# ``` (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.
|
431
473
|
class Phrase
|
432
474
|
include Google::Apis::Core::Hashable
|
433
475
|
|
434
476
|
# Hint Boost. Overrides the boost set at the phrase set level. Positive value
|
435
477
|
# will increase the probability that a specific phrase will be recognized over
|
436
478
|
# other similar sounding phrases. The higher the boost, the higher the chance of
|
437
|
-
# false positive recognition as well. Negative boost
|
438
|
-
#
|
439
|
-
#
|
440
|
-
#
|
441
|
-
#
|
442
|
-
# 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.
|
443
484
|
# Corresponds to the JSON property `boost`
|
444
485
|
# @return [Float]
|
445
486
|
attr_accessor :boost
|
@@ -716,6 +757,14 @@ module Google
|
|
716
757
|
# @return [Array<Google::Apis::SpeechV1p1beta1::SpeechContext>]
|
717
758
|
attr_accessor :speech_contexts
|
718
759
|
|
760
|
+
# Transcription normalization configuration. Use transcription normalization to
|
761
|
+
# automatically replace parts of the transcript with phrases of your choosing.
|
762
|
+
# For StreamingRecognize, this normalization only applies to stable partial
|
763
|
+
# transcripts (stability > 0.8) and final transcripts.
|
764
|
+
# Corresponds to the JSON property `transcriptNormalization`
|
765
|
+
# @return [Google::Apis::SpeechV1p1beta1::TranscriptNormalization]
|
766
|
+
attr_accessor :transcript_normalization
|
767
|
+
|
719
768
|
# Set to true to use an enhanced model for speech recognition. If `use_enhanced`
|
720
769
|
# is set to true and the `model` field is not set, then an appropriate enhanced
|
721
770
|
# model is chosen if an enhanced model exists for the audio. If `use_enhanced`
|
@@ -752,6 +801,7 @@ module Google
|
|
752
801
|
@profanity_filter = args[:profanity_filter] if args.key?(:profanity_filter)
|
753
802
|
@sample_rate_hertz = args[:sample_rate_hertz] if args.key?(:sample_rate_hertz)
|
754
803
|
@speech_contexts = args[:speech_contexts] if args.key?(:speech_contexts)
|
804
|
+
@transcript_normalization = args[:transcript_normalization] if args.key?(:transcript_normalization)
|
755
805
|
@use_enhanced = args[:use_enhanced] if args.key?(:use_enhanced)
|
756
806
|
end
|
757
807
|
end
|
@@ -872,6 +922,11 @@ module Google
|
|
872
922
|
# @return [Array<Google::Apis::SpeechV1p1beta1::SpeechRecognitionResult>]
|
873
923
|
attr_accessor :results
|
874
924
|
|
925
|
+
# When available, billed audio seconds for the corresponding request.
|
926
|
+
# Corresponds to the JSON property `totalBilledTime`
|
927
|
+
# @return [String]
|
928
|
+
attr_accessor :total_billed_time
|
929
|
+
|
875
930
|
def initialize(**args)
|
876
931
|
update!(**args)
|
877
932
|
end
|
@@ -879,6 +934,7 @@ module Google
|
|
879
934
|
# Update properties of this object
|
880
935
|
def update!(**args)
|
881
936
|
@results = args[:results] if args.key?(:results)
|
937
|
+
@total_billed_time = args[:total_billed_time] if args.key?(:total_billed_time)
|
882
938
|
end
|
883
939
|
end
|
884
940
|
|
@@ -1068,6 +1124,11 @@ module Google
|
|
1068
1124
|
# @return [String]
|
1069
1125
|
attr_accessor :language_code
|
1070
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
|
+
|
1071
1132
|
def initialize(**args)
|
1072
1133
|
update!(**args)
|
1073
1134
|
end
|
@@ -1077,6 +1138,7 @@ module Google
|
|
1077
1138
|
@alternatives = args[:alternatives] if args.key?(:alternatives)
|
1078
1139
|
@channel_tag = args[:channel_tag] if args.key?(:channel_tag)
|
1079
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)
|
1080
1142
|
end
|
1081
1143
|
end
|
1082
1144
|
|
@@ -1119,6 +1181,31 @@ module Google
|
|
1119
1181
|
end
|
1120
1182
|
end
|
1121
1183
|
|
1184
|
+
# Transcription normalization configuration. Use transcription normalization to
|
1185
|
+
# automatically replace parts of the transcript with phrases of your choosing.
|
1186
|
+
# For StreamingRecognize, this normalization only applies to stable partial
|
1187
|
+
# transcripts (stability > 0.8) and final transcripts.
|
1188
|
+
class TranscriptNormalization
|
1189
|
+
include Google::Apis::Core::Hashable
|
1190
|
+
|
1191
|
+
# A list of replacement entries. We will perform replacement with one entry at a
|
1192
|
+
# time. For example, the second entry in ["cat" => "dog", "mountain cat" => "
|
1193
|
+
# mountain dog"] will never be applied because we will always process the first
|
1194
|
+
# entry before it. At most 100 entries.
|
1195
|
+
# Corresponds to the JSON property `entries`
|
1196
|
+
# @return [Array<Google::Apis::SpeechV1p1beta1::Entry>]
|
1197
|
+
attr_accessor :entries
|
1198
|
+
|
1199
|
+
def initialize(**args)
|
1200
|
+
update!(**args)
|
1201
|
+
end
|
1202
|
+
|
1203
|
+
# Update properties of this object
|
1204
|
+
def update!(**args)
|
1205
|
+
@entries = args[:entries] if args.key?(:entries)
|
1206
|
+
end
|
1207
|
+
end
|
1208
|
+
|
1122
1209
|
# Specifies an optional destination for the recognition results.
|
1123
1210
|
class TranscriptOutputConfig
|
1124
1211
|
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.17.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
|
@@ -52,6 +52,12 @@ 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
|
+
|
55
61
|
class ListCustomClassesResponse
|
56
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
63
|
|
@@ -172,6 +178,12 @@ module Google
|
|
172
178
|
include Google::Apis::Core::JsonObjectSupport
|
173
179
|
end
|
174
180
|
|
181
|
+
class TranscriptNormalization
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
175
187
|
class TranscriptOutputConfig
|
176
188
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
189
|
|
@@ -225,6 +237,15 @@ module Google
|
|
225
237
|
end
|
226
238
|
end
|
227
239
|
|
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
|
+
|
228
249
|
class ListCustomClassesResponse
|
229
250
|
# @private
|
230
251
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -285,6 +306,7 @@ module Google
|
|
285
306
|
|
286
307
|
collection :results, as: 'results', class: Google::Apis::SpeechV1p1beta1::SpeechRecognitionResult, decorator: Google::Apis::SpeechV1p1beta1::SpeechRecognitionResult::Representation
|
287
308
|
|
309
|
+
property :total_billed_time, as: 'totalBilledTime'
|
288
310
|
end
|
289
311
|
end
|
290
312
|
|
@@ -353,6 +375,8 @@ module Google
|
|
353
375
|
property :sample_rate_hertz, as: 'sampleRateHertz'
|
354
376
|
collection :speech_contexts, as: 'speechContexts', class: Google::Apis::SpeechV1p1beta1::SpeechContext, decorator: Google::Apis::SpeechV1p1beta1::SpeechContext::Representation
|
355
377
|
|
378
|
+
property :transcript_normalization, as: 'transcriptNormalization', class: Google::Apis::SpeechV1p1beta1::TranscriptNormalization, decorator: Google::Apis::SpeechV1p1beta1::TranscriptNormalization::Representation
|
379
|
+
|
356
380
|
property :use_enhanced, as: 'useEnhanced'
|
357
381
|
end
|
358
382
|
end
|
@@ -387,6 +411,7 @@ module Google
|
|
387
411
|
class Representation < Google::Apis::Core::JsonRepresentation
|
388
412
|
collection :results, as: 'results', class: Google::Apis::SpeechV1p1beta1::SpeechRecognitionResult, decorator: Google::Apis::SpeechV1p1beta1::SpeechRecognitionResult::Representation
|
389
413
|
|
414
|
+
property :total_billed_time, as: 'totalBilledTime'
|
390
415
|
end
|
391
416
|
end
|
392
417
|
|
@@ -436,6 +461,7 @@ module Google
|
|
436
461
|
|
437
462
|
property :channel_tag, as: 'channelTag'
|
438
463
|
property :language_code, as: 'languageCode'
|
464
|
+
property :result_end_time, as: 'resultEndTime'
|
439
465
|
end
|
440
466
|
end
|
441
467
|
|
@@ -448,6 +474,14 @@ module Google
|
|
448
474
|
end
|
449
475
|
end
|
450
476
|
|
477
|
+
class TranscriptNormalization
|
478
|
+
# @private
|
479
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
480
|
+
collection :entries, as: 'entries', class: Google::Apis::SpeechV1p1beta1::Entry, decorator: Google::Apis::SpeechV1p1beta1::Entry::Representation
|
481
|
+
|
482
|
+
end
|
483
|
+
end
|
484
|
+
|
451
485
|
class TranscriptOutputConfig
|
452
486
|
# @private
|
453
487
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -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
|
@@ -29,7 +29,7 @@ module Google
|
|
29
29
|
# This is NOT the gem version.
|
30
30
|
VERSION = 'V1p1beta1'
|
31
31
|
|
32
|
-
# See, edit, configure, and delete your Google Cloud
|
32
|
+
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
34
34
|
end
|
35
35
|
end
|
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.17.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-12-13 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.17.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:
|