google-cloud-speech-v1p1beta1 0.11.1 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/speech/v1p1beta1/adaptation/client.rb +76 -26
- data/lib/google/cloud/speech/v1p1beta1/cloud_speech_pb.rb +1 -0
- data/lib/google/cloud/speech/v1p1beta1/version.rb +1 -1
- data/proto_docs/google/cloud/speech/v1p1beta1/cloud_speech.rb +10 -6
- data/proto_docs/google/cloud/speech/v1p1beta1/cloud_speech_adaptation.rb +76 -26
- data/proto_docs/google/cloud/speech/v1p1beta1/resource.rb +8 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a6d43b132f5ba5e19e86248b8bcea56dc46c1b9a94fb43f73309ef94ff719b5c
|
|
4
|
+
data.tar.gz: a261a5c69e035fe497311cf5ab53727bf8a694bd32f38d0a1f1367f0af9a6a18
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b5a98d2dfe8aac3c0e39bee3fe534de24eb7e7c383edfa692c4eb1fc324fcad1731f526ae33bf0f4c06cf8e44f10e99583695cd0c6190617d9ddab6cf4e867d7
|
|
7
|
+
data.tar.gz: 1e1a76ae05bacf72008227c9ff8e009a35ed570a4f973439d5086cfccb6ec5fd80a5bf8ef39850b6f9c3a43314e7e15eb1d10c1ce74b10ef4c9caf7138580d63
|
|
@@ -165,9 +165,15 @@ module Google
|
|
|
165
165
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
166
166
|
#
|
|
167
167
|
# @param parent [::String]
|
|
168
|
-
# Required. The parent resource where this phrase set will be created.
|
|
169
|
-
#
|
|
170
|
-
#
|
|
168
|
+
# Required. The parent resource where this phrase set will be created. Format:
|
|
169
|
+
#
|
|
170
|
+
# `projects/{project}/locations/{location}/phraseSets`
|
|
171
|
+
#
|
|
172
|
+
# Speech-to-Text supports three locations: `global`, `us` (US North America),
|
|
173
|
+
# and `eu` (Europe). If you are calling the `speech.googleapis.com`
|
|
174
|
+
# endpoint, use the `global` location. To specify a region, use a
|
|
175
|
+
# [regional endpoint](/speech-to-text/docs/endpoints) with matching `us` or
|
|
176
|
+
# `eu` location value.
|
|
171
177
|
# @param phrase_set_id [::String]
|
|
172
178
|
# Required. The ID to use for the phrase set, which will become the final
|
|
173
179
|
# component of the phrase set's resource name.
|
|
@@ -260,9 +266,15 @@ module Google
|
|
|
260
266
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
261
267
|
#
|
|
262
268
|
# @param name [::String]
|
|
263
|
-
# Required. The name of the phrase set to retrieve.
|
|
264
|
-
#
|
|
265
|
-
#
|
|
269
|
+
# Required. The name of the phrase set to retrieve. Format:
|
|
270
|
+
#
|
|
271
|
+
# `projects/{project}/locations/{location}/phraseSets/{phrase_set}`
|
|
272
|
+
#
|
|
273
|
+
# Speech-to-Text supports three locations: `global`, `us` (US North America),
|
|
274
|
+
# and `eu` (Europe). If you are calling the `speech.googleapis.com`
|
|
275
|
+
# endpoint, use the `global` location. To specify a region, use a
|
|
276
|
+
# [regional endpoint](/speech-to-text/docs/endpoints) with matching `us` or
|
|
277
|
+
# `eu` location value.
|
|
266
278
|
#
|
|
267
279
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
268
280
|
# @yieldparam response [::Google::Cloud::Speech::V1p1beta1::PhraseSet]
|
|
@@ -347,9 +359,15 @@ module Google
|
|
|
347
359
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
348
360
|
#
|
|
349
361
|
# @param parent [::String]
|
|
350
|
-
# Required. The parent, which owns this collection of phrase set.
|
|
351
|
-
#
|
|
352
|
-
# projects
|
|
362
|
+
# Required. The parent, which owns this collection of phrase set. Format:
|
|
363
|
+
#
|
|
364
|
+
# `projects/{project}/locations/{location}`
|
|
365
|
+
#
|
|
366
|
+
# Speech-to-Text supports three locations: `global`, `us` (US North America),
|
|
367
|
+
# and `eu` (Europe). If you are calling the `speech.googleapis.com`
|
|
368
|
+
# endpoint, use the `global` location. To specify a region, use a
|
|
369
|
+
# [regional endpoint](/speech-to-text/docs/endpoints) with matching `us` or
|
|
370
|
+
# `eu` location value.
|
|
353
371
|
# @param page_size [::Integer]
|
|
354
372
|
# The maximum number of phrase sets to return. The service may return
|
|
355
373
|
# fewer than this value. If unspecified, at most 50 phrase sets will be
|
|
@@ -456,7 +474,14 @@ module Google
|
|
|
456
474
|
#
|
|
457
475
|
# The phrase set's `name` field is used to identify the set to be
|
|
458
476
|
# updated. Format:
|
|
459
|
-
#
|
|
477
|
+
#
|
|
478
|
+
# `projects/{project}/locations/{location}/phraseSets/{phrase_set}`
|
|
479
|
+
#
|
|
480
|
+
# Speech-to-Text supports three locations: `global`, `us` (US North America),
|
|
481
|
+
# and `eu` (Europe). If you are calling the `speech.googleapis.com`
|
|
482
|
+
# endpoint, use the `global` location. To specify a region, use a
|
|
483
|
+
# [regional endpoint](/speech-to-text/docs/endpoints) with matching `us` or
|
|
484
|
+
# `eu` location value.
|
|
460
485
|
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
|
461
486
|
# The list of fields to be updated.
|
|
462
487
|
#
|
|
@@ -543,9 +568,9 @@ module Google
|
|
|
543
568
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
544
569
|
#
|
|
545
570
|
# @param name [::String]
|
|
546
|
-
# Required. The name of the phrase set to delete.
|
|
547
|
-
#
|
|
548
|
-
#
|
|
571
|
+
# Required. The name of the phrase set to delete. Format:
|
|
572
|
+
#
|
|
573
|
+
# `projects/{project}/locations/{location}/phraseSets/{phrase_set}`
|
|
549
574
|
#
|
|
550
575
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
551
576
|
# @yieldparam response [::Google::Protobuf::Empty]
|
|
@@ -630,9 +655,15 @@ module Google
|
|
|
630
655
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
631
656
|
#
|
|
632
657
|
# @param parent [::String]
|
|
633
|
-
# Required. The parent resource where this custom class will be created.
|
|
634
|
-
#
|
|
635
|
-
#
|
|
658
|
+
# Required. The parent resource where this custom class will be created. Format:
|
|
659
|
+
#
|
|
660
|
+
# `projects/{project}/locations/{location}/customClasses`
|
|
661
|
+
#
|
|
662
|
+
# Speech-to-Text supports three locations: `global`, `us` (US North America),
|
|
663
|
+
# and `eu` (Europe). If you are calling the `speech.googleapis.com`
|
|
664
|
+
# endpoint, use the `global` location. To specify a region, use a
|
|
665
|
+
# [regional endpoint](/speech-to-text/docs/endpoints) with matching `us` or
|
|
666
|
+
# `eu` location value.
|
|
636
667
|
# @param custom_class_id [::String]
|
|
637
668
|
# Required. The ID to use for the custom class, which will become the final
|
|
638
669
|
# component of the custom class' resource name.
|
|
@@ -725,9 +756,9 @@ module Google
|
|
|
725
756
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
726
757
|
#
|
|
727
758
|
# @param name [::String]
|
|
728
|
-
# Required. The name of the custom class to retrieve.
|
|
729
|
-
#
|
|
730
|
-
#
|
|
759
|
+
# Required. The name of the custom class to retrieve. Format:
|
|
760
|
+
#
|
|
761
|
+
# `projects/{project}/locations/{location}/customClasses/{custom_class}`
|
|
731
762
|
#
|
|
732
763
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
733
764
|
# @yieldparam response [::Google::Cloud::Speech::V1p1beta1::CustomClass]
|
|
@@ -812,9 +843,15 @@ module Google
|
|
|
812
843
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
813
844
|
#
|
|
814
845
|
# @param parent [::String]
|
|
815
|
-
# Required. The parent, which owns this collection of custom classes.
|
|
816
|
-
#
|
|
817
|
-
#
|
|
846
|
+
# Required. The parent, which owns this collection of custom classes. Format:
|
|
847
|
+
#
|
|
848
|
+
# `projects/{project}/locations/{location}/customClasses`
|
|
849
|
+
#
|
|
850
|
+
# Speech-to-Text supports three locations: `global`, `us` (US North America),
|
|
851
|
+
# and `eu` (Europe). If you are calling the `speech.googleapis.com`
|
|
852
|
+
# endpoint, use the `global` location. To specify a region, use a
|
|
853
|
+
# [regional endpoint](/speech-to-text/docs/endpoints) with matching `us` or
|
|
854
|
+
# `eu` location value.
|
|
818
855
|
# @param page_size [::Integer]
|
|
819
856
|
# The maximum number of custom classes to return. The service may return
|
|
820
857
|
# fewer than this value. If unspecified, at most 50 custom classes will be
|
|
@@ -921,7 +958,14 @@ module Google
|
|
|
921
958
|
#
|
|
922
959
|
# The custom class's `name` field is used to identify the custom class to be
|
|
923
960
|
# updated. Format:
|
|
924
|
-
#
|
|
961
|
+
#
|
|
962
|
+
# `projects/{project}/locations/{location}/customClasses/{custom_class}`
|
|
963
|
+
#
|
|
964
|
+
# Speech-to-Text supports three locations: `global`, `us` (US North America),
|
|
965
|
+
# and `eu` (Europe). If you are calling the `speech.googleapis.com`
|
|
966
|
+
# endpoint, use the `global` location. To specify a region, use a
|
|
967
|
+
# [regional endpoint](/speech-to-text/docs/endpoints) with matching `us` or
|
|
968
|
+
# `eu` location value.
|
|
925
969
|
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
|
926
970
|
# The list of fields to be updated.
|
|
927
971
|
#
|
|
@@ -1008,9 +1052,15 @@ module Google
|
|
|
1008
1052
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
1009
1053
|
#
|
|
1010
1054
|
# @param name [::String]
|
|
1011
|
-
# Required. The name of the custom class to delete.
|
|
1012
|
-
#
|
|
1013
|
-
#
|
|
1055
|
+
# Required. The name of the custom class to delete. Format:
|
|
1056
|
+
#
|
|
1057
|
+
# `projects/{project}/locations/{location}/customClasses/{custom_class}`
|
|
1058
|
+
#
|
|
1059
|
+
# Speech-to-Text supports three locations: `global`, `us` (US North America),
|
|
1060
|
+
# and `eu` (Europe). If you are calling the `speech.googleapis.com`
|
|
1061
|
+
# endpoint, use the `global` location. To specify a region, use a
|
|
1062
|
+
# [regional endpoint](/speech-to-text/docs/endpoints) with matching `us` or
|
|
1063
|
+
# `eu` location value.
|
|
1014
1064
|
#
|
|
1015
1065
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
1016
1066
|
# @yieldparam response [::Google::Protobuf::Empty]
|
|
@@ -172,6 +172,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
172
172
|
add_message "google.cloud.speech.v1p1beta1.SpeechRecognitionResult" do
|
|
173
173
|
repeated :alternatives, :message, 1, "google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative"
|
|
174
174
|
optional :channel_tag, :int32, 2
|
|
175
|
+
optional :result_end_time, :message, 4, "google.protobuf.Duration"
|
|
175
176
|
optional :language_code, :string, 5
|
|
176
177
|
end
|
|
177
178
|
add_message "google.cloud.speech.v1p1beta1.SpeechRecognitionAlternative" do
|
|
@@ -201,10 +201,10 @@ module Google
|
|
|
201
201
|
# @!attribute [rw] adaptation
|
|
202
202
|
# @return [::Google::Cloud::Speech::V1p1beta1::SpeechAdaptation]
|
|
203
203
|
# Speech adaptation configuration improves the accuracy of speech
|
|
204
|
-
# recognition.
|
|
205
|
-
# `speech_contexts` field. For more information, see the [speech
|
|
204
|
+
# recognition. For more information, see the [speech
|
|
206
205
|
# adaptation](https://cloud.google.com/speech-to-text/docs/adaptation)
|
|
207
206
|
# documentation.
|
|
207
|
+
# When speech adaptation is set it supersedes the `speech_contexts` field.
|
|
208
208
|
# @!attribute [rw] transcript_normalization
|
|
209
209
|
# @return [::Google::Cloud::Speech::V1p1beta1::TranscriptNormalization]
|
|
210
210
|
# Use transcription normalization to automatically replace parts of the
|
|
@@ -333,7 +333,8 @@ module Google
|
|
|
333
333
|
# a lossless encoding (`FLAC` or `LINEAR16`). The accuracy of the speech
|
|
334
334
|
# recognition can be reduced if lossy codecs are used to capture or transmit
|
|
335
335
|
# audio, particularly if background noise is present. Lossy codecs include
|
|
336
|
-
# `MULAW`, `AMR`, `AMR_WB`, `OGG_OPUS`, `SPEEX_WITH_HEADER_BYTE`, `MP3
|
|
336
|
+
# `MULAW`, `AMR`, `AMR_WB`, `OGG_OPUS`, `SPEEX_WITH_HEADER_BYTE`, `MP3`,
|
|
337
|
+
# and `WEBM_OPUS`.
|
|
337
338
|
#
|
|
338
339
|
# The `FLAC` and `WAV` audio file formats include a header that describes the
|
|
339
340
|
# included audio content. You can request recognition for `WAV` files that
|
|
@@ -396,9 +397,8 @@ module Google
|
|
|
396
397
|
MP3 = 8
|
|
397
398
|
|
|
398
399
|
# Opus encoded audio frames in WebM container
|
|
399
|
-
# ([OggOpus](https://wiki.xiph.org/OggOpus)).
|
|
400
|
-
#
|
|
401
|
-
# 12000, 16000, 24000, or 48000.
|
|
400
|
+
# ([OggOpus](https://wiki.xiph.org/OggOpus)). `sample_rate_hertz` must be
|
|
401
|
+
# one of 8000, 12000, 16000, 24000, or 48000.
|
|
402
402
|
WEBM_OPUS = 9
|
|
403
403
|
end
|
|
404
404
|
end
|
|
@@ -817,6 +817,10 @@ module Google
|
|
|
817
817
|
# For multi-channel audio, this is the channel number corresponding to the
|
|
818
818
|
# recognized result for the audio from that channel.
|
|
819
819
|
# For audio_channel_count = N, its output values can range from '1' to 'N'.
|
|
820
|
+
# @!attribute [rw] result_end_time
|
|
821
|
+
# @return [::Google::Protobuf::Duration]
|
|
822
|
+
# Time offset of the end of this result relative to the
|
|
823
|
+
# beginning of the audio.
|
|
820
824
|
# @!attribute [r] language_code
|
|
821
825
|
# @return [::String]
|
|
822
826
|
# Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag
|
|
@@ -24,9 +24,15 @@ module Google
|
|
|
24
24
|
# Message sent by the client for the `CreatePhraseSet` method.
|
|
25
25
|
# @!attribute [rw] parent
|
|
26
26
|
# @return [::String]
|
|
27
|
-
# Required. The parent resource where this phrase set will be created.
|
|
28
|
-
#
|
|
29
|
-
#
|
|
27
|
+
# Required. The parent resource where this phrase set will be created. Format:
|
|
28
|
+
#
|
|
29
|
+
# `projects/{project}/locations/{location}/phraseSets`
|
|
30
|
+
#
|
|
31
|
+
# Speech-to-Text supports three locations: `global`, `us` (US North America),
|
|
32
|
+
# and `eu` (Europe). If you are calling the `speech.googleapis.com`
|
|
33
|
+
# endpoint, use the `global` location. To specify a region, use a
|
|
34
|
+
# [regional endpoint](/speech-to-text/docs/endpoints) with matching `us` or
|
|
35
|
+
# `eu` location value.
|
|
30
36
|
# @!attribute [rw] phrase_set_id
|
|
31
37
|
# @return [::String]
|
|
32
38
|
# Required. The ID to use for the phrase set, which will become the final
|
|
@@ -49,7 +55,14 @@ module Google
|
|
|
49
55
|
#
|
|
50
56
|
# The phrase set's `name` field is used to identify the set to be
|
|
51
57
|
# updated. Format:
|
|
52
|
-
#
|
|
58
|
+
#
|
|
59
|
+
# `projects/{project}/locations/{location}/phraseSets/{phrase_set}`
|
|
60
|
+
#
|
|
61
|
+
# Speech-to-Text supports three locations: `global`, `us` (US North America),
|
|
62
|
+
# and `eu` (Europe). If you are calling the `speech.googleapis.com`
|
|
63
|
+
# endpoint, use the `global` location. To specify a region, use a
|
|
64
|
+
# [regional endpoint](/speech-to-text/docs/endpoints) with matching `us` or
|
|
65
|
+
# `eu` location value.
|
|
53
66
|
# @!attribute [rw] update_mask
|
|
54
67
|
# @return [::Google::Protobuf::FieldMask]
|
|
55
68
|
# The list of fields to be updated.
|
|
@@ -61,9 +74,15 @@ module Google
|
|
|
61
74
|
# Message sent by the client for the `GetPhraseSet` method.
|
|
62
75
|
# @!attribute [rw] name
|
|
63
76
|
# @return [::String]
|
|
64
|
-
# Required. The name of the phrase set to retrieve.
|
|
65
|
-
#
|
|
66
|
-
#
|
|
77
|
+
# Required. The name of the phrase set to retrieve. Format:
|
|
78
|
+
#
|
|
79
|
+
# `projects/{project}/locations/{location}/phraseSets/{phrase_set}`
|
|
80
|
+
#
|
|
81
|
+
# Speech-to-Text supports three locations: `global`, `us` (US North America),
|
|
82
|
+
# and `eu` (Europe). If you are calling the `speech.googleapis.com`
|
|
83
|
+
# endpoint, use the `global` location. To specify a region, use a
|
|
84
|
+
# [regional endpoint](/speech-to-text/docs/endpoints) with matching `us` or
|
|
85
|
+
# `eu` location value.
|
|
67
86
|
class GetPhraseSetRequest
|
|
68
87
|
include ::Google::Protobuf::MessageExts
|
|
69
88
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -72,9 +91,15 @@ module Google
|
|
|
72
91
|
# Message sent by the client for the `ListPhraseSet` method.
|
|
73
92
|
# @!attribute [rw] parent
|
|
74
93
|
# @return [::String]
|
|
75
|
-
# Required. The parent, which owns this collection of phrase set.
|
|
76
|
-
#
|
|
77
|
-
# projects
|
|
94
|
+
# Required. The parent, which owns this collection of phrase set. Format:
|
|
95
|
+
#
|
|
96
|
+
# `projects/{project}/locations/{location}`
|
|
97
|
+
#
|
|
98
|
+
# Speech-to-Text supports three locations: `global`, `us` (US North America),
|
|
99
|
+
# and `eu` (Europe). If you are calling the `speech.googleapis.com`
|
|
100
|
+
# endpoint, use the `global` location. To specify a region, use a
|
|
101
|
+
# [regional endpoint](/speech-to-text/docs/endpoints) with matching `us` or
|
|
102
|
+
# `eu` location value.
|
|
78
103
|
# @!attribute [rw] page_size
|
|
79
104
|
# @return [::Integer]
|
|
80
105
|
# The maximum number of phrase sets to return. The service may return
|
|
@@ -109,9 +134,9 @@ module Google
|
|
|
109
134
|
# Message sent by the client for the `DeletePhraseSet` method.
|
|
110
135
|
# @!attribute [rw] name
|
|
111
136
|
# @return [::String]
|
|
112
|
-
# Required. The name of the phrase set to delete.
|
|
113
|
-
#
|
|
114
|
-
#
|
|
137
|
+
# Required. The name of the phrase set to delete. Format:
|
|
138
|
+
#
|
|
139
|
+
# `projects/{project}/locations/{location}/phraseSets/{phrase_set}`
|
|
115
140
|
class DeletePhraseSetRequest
|
|
116
141
|
include ::Google::Protobuf::MessageExts
|
|
117
142
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -120,9 +145,15 @@ module Google
|
|
|
120
145
|
# Message sent by the client for the `CreateCustomClass` method.
|
|
121
146
|
# @!attribute [rw] parent
|
|
122
147
|
# @return [::String]
|
|
123
|
-
# Required. The parent resource where this custom class will be created.
|
|
124
|
-
#
|
|
125
|
-
#
|
|
148
|
+
# Required. The parent resource where this custom class will be created. Format:
|
|
149
|
+
#
|
|
150
|
+
# `projects/{project}/locations/{location}/customClasses`
|
|
151
|
+
#
|
|
152
|
+
# Speech-to-Text supports three locations: `global`, `us` (US North America),
|
|
153
|
+
# and `eu` (Europe). If you are calling the `speech.googleapis.com`
|
|
154
|
+
# endpoint, use the `global` location. To specify a region, use a
|
|
155
|
+
# [regional endpoint](/speech-to-text/docs/endpoints) with matching `us` or
|
|
156
|
+
# `eu` location value.
|
|
126
157
|
# @!attribute [rw] custom_class_id
|
|
127
158
|
# @return [::String]
|
|
128
159
|
# Required. The ID to use for the custom class, which will become the final
|
|
@@ -145,7 +176,14 @@ module Google
|
|
|
145
176
|
#
|
|
146
177
|
# The custom class's `name` field is used to identify the custom class to be
|
|
147
178
|
# updated. Format:
|
|
148
|
-
#
|
|
179
|
+
#
|
|
180
|
+
# `projects/{project}/locations/{location}/customClasses/{custom_class}`
|
|
181
|
+
#
|
|
182
|
+
# Speech-to-Text supports three locations: `global`, `us` (US North America),
|
|
183
|
+
# and `eu` (Europe). If you are calling the `speech.googleapis.com`
|
|
184
|
+
# endpoint, use the `global` location. To specify a region, use a
|
|
185
|
+
# [regional endpoint](/speech-to-text/docs/endpoints) with matching `us` or
|
|
186
|
+
# `eu` location value.
|
|
149
187
|
# @!attribute [rw] update_mask
|
|
150
188
|
# @return [::Google::Protobuf::FieldMask]
|
|
151
189
|
# The list of fields to be updated.
|
|
@@ -157,9 +195,9 @@ module Google
|
|
|
157
195
|
# Message sent by the client for the `GetCustomClass` method.
|
|
158
196
|
# @!attribute [rw] name
|
|
159
197
|
# @return [::String]
|
|
160
|
-
# Required. The name of the custom class to retrieve.
|
|
161
|
-
#
|
|
162
|
-
#
|
|
198
|
+
# Required. The name of the custom class to retrieve. Format:
|
|
199
|
+
#
|
|
200
|
+
# `projects/{project}/locations/{location}/customClasses/{custom_class}`
|
|
163
201
|
class GetCustomClassRequest
|
|
164
202
|
include ::Google::Protobuf::MessageExts
|
|
165
203
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -168,9 +206,15 @@ module Google
|
|
|
168
206
|
# Message sent by the client for the `ListCustomClasses` method.
|
|
169
207
|
# @!attribute [rw] parent
|
|
170
208
|
# @return [::String]
|
|
171
|
-
# Required. The parent, which owns this collection of custom classes.
|
|
172
|
-
#
|
|
173
|
-
#
|
|
209
|
+
# Required. The parent, which owns this collection of custom classes. Format:
|
|
210
|
+
#
|
|
211
|
+
# `projects/{project}/locations/{location}/customClasses`
|
|
212
|
+
#
|
|
213
|
+
# Speech-to-Text supports three locations: `global`, `us` (US North America),
|
|
214
|
+
# and `eu` (Europe). If you are calling the `speech.googleapis.com`
|
|
215
|
+
# endpoint, use the `global` location. To specify a region, use a
|
|
216
|
+
# [regional endpoint](/speech-to-text/docs/endpoints) with matching `us` or
|
|
217
|
+
# `eu` location value.
|
|
174
218
|
# @!attribute [rw] page_size
|
|
175
219
|
# @return [::Integer]
|
|
176
220
|
# The maximum number of custom classes to return. The service may return
|
|
@@ -205,9 +249,15 @@ module Google
|
|
|
205
249
|
# Message sent by the client for the `DeleteCustomClass` method.
|
|
206
250
|
# @!attribute [rw] name
|
|
207
251
|
# @return [::String]
|
|
208
|
-
# Required. The name of the custom class to delete.
|
|
209
|
-
#
|
|
210
|
-
#
|
|
252
|
+
# Required. The name of the custom class to delete. Format:
|
|
253
|
+
#
|
|
254
|
+
# `projects/{project}/locations/{location}/customClasses/{custom_class}`
|
|
255
|
+
#
|
|
256
|
+
# Speech-to-Text supports three locations: `global`, `us` (US North America),
|
|
257
|
+
# and `eu` (Europe). If you are calling the `speech.googleapis.com`
|
|
258
|
+
# endpoint, use the `global` location. To specify a region, use a
|
|
259
|
+
# [regional endpoint](/speech-to-text/docs/endpoints) with matching `us` or
|
|
260
|
+
# `eu` location value.
|
|
211
261
|
class DeleteCustomClassRequest
|
|
212
262
|
include ::Google::Protobuf::MessageExts
|
|
213
263
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -90,6 +90,12 @@ module Google
|
|
|
90
90
|
# resources and inline classes. Then use the class' id wrapped in $`{...}`
|
|
91
91
|
# e.g. "$\\{my-months}". To refer to custom classes resources, use the class'
|
|
92
92
|
# id wrapped in `${}` (e.g. `${my-months}`).
|
|
93
|
+
#
|
|
94
|
+
# Speech-to-Text supports three locations: `global`, `us` (US North America),
|
|
95
|
+
# and `eu` (Europe). If you are calling the `speech.googleapis.com`
|
|
96
|
+
# endpoint, use the `global` location. To specify a region, use a
|
|
97
|
+
# [regional endpoint](/speech-to-text/docs/endpoints) with matching `us` or
|
|
98
|
+
# `eu` location value.
|
|
93
99
|
# @!attribute [rw] value
|
|
94
100
|
# @return [::String]
|
|
95
101
|
# The phrase itself.
|
|
@@ -99,9 +105,8 @@ module Google
|
|
|
99
105
|
# Positive value will increase the probability that a specific phrase will
|
|
100
106
|
# be recognized over other similar sounding phrases. The higher the boost,
|
|
101
107
|
# the higher the chance of false positive recognition as well. Negative
|
|
102
|
-
# boost
|
|
103
|
-
#
|
|
104
|
-
# accept a wide range of positive values, most use cases are best served
|
|
108
|
+
# boost will simply be ignored. Though `boost` can accept a wide range of
|
|
109
|
+
# positive values, most use cases are best served
|
|
105
110
|
# with values between 0 and 20. We recommend using a binary search approach
|
|
106
111
|
# to finding the optimal value for your use case. Speech recognition
|
|
107
112
|
# will skip PhraseSets with a boost value of 0.
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-speech-v1p1beta1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.12.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-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gapic-common
|