google-cloud-speech-v2 0.3.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/speech/v2/cloud_speech_pb.rb +29 -391
- data/lib/google/cloud/speech/v2/speech/client.rb +10 -8
- data/lib/google/cloud/speech/v2/speech/rest/client.rb +10 -8
- data/lib/google/cloud/speech/v2/version.rb +1 -1
- data/proto_docs/google/api/client.rb +58 -1
- data/proto_docs/google/cloud/speech/v2/cloud_speech.rb +29 -52
- data/proto_docs/google/protobuf/any.rb +7 -4
- data/proto_docs/google/protobuf/timestamp.rb +1 -3
- 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: d8f555446723dc6dadb5fc80d7e22a0446281c20107722739a25fcfa93e2a7f9
|
4
|
+
data.tar.gz: 155286f87bafdcfd47cbea356c5e1fad0653fc8ca3e83de9f521d22e7bfe58ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 953fa9ad02887a936df0d4bdaff7c7cfb22d12406c7cbd2e7af723c6903738b249fd39b25a999f1672cf55b15dab927821975f921b89e98935284cf5858fbc67
|
7
|
+
data.tar.gz: 48a14686d773bd77a26922c9c1e7e053d04098d5497e6876b9f11cb2b06e41ed236f0a8cd128bac523a1a793d477c515d8df0c10a6458767977b2461d1357b1b
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/cloud/speech/v2/cloud_speech.proto
|
3
4
|
|
@@ -13,399 +14,35 @@ require 'google/protobuf/field_mask_pb'
|
|
13
14
|
require 'google/protobuf/timestamp_pb'
|
14
15
|
require 'google/rpc/status_pb'
|
15
16
|
|
16
|
-
|
17
|
-
add_file("google/cloud/speech/v2/cloud_speech.proto", :syntax => :proto3) do
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
optional :undelete_custom_class_request, :message, 16, "google.cloud.speech.v2.UndeleteCustomClassRequest"
|
42
|
-
optional :create_phrase_set_request, :message, 17, "google.cloud.speech.v2.CreatePhraseSetRequest"
|
43
|
-
optional :update_phrase_set_request, :message, 18, "google.cloud.speech.v2.UpdatePhraseSetRequest"
|
44
|
-
optional :delete_phrase_set_request, :message, 19, "google.cloud.speech.v2.DeletePhraseSetRequest"
|
45
|
-
optional :undelete_phrase_set_request, :message, 20, "google.cloud.speech.v2.UndeletePhraseSetRequest"
|
46
|
-
optional :update_config_request, :message, 21, "google.cloud.speech.v2.UpdateConfigRequest"
|
47
|
-
end
|
48
|
-
oneof :metadata do
|
49
|
-
optional :batch_recognize_metadata, :message, 23, "google.cloud.speech.v2.BatchRecognizeMetadata"
|
50
|
-
end
|
51
|
-
end
|
52
|
-
add_message "google.cloud.speech.v2.ListRecognizersRequest" do
|
53
|
-
optional :parent, :string, 1
|
54
|
-
optional :page_size, :int32, 2
|
55
|
-
optional :page_token, :string, 3
|
56
|
-
optional :show_deleted, :bool, 4
|
57
|
-
end
|
58
|
-
add_message "google.cloud.speech.v2.ListRecognizersResponse" do
|
59
|
-
repeated :recognizers, :message, 1, "google.cloud.speech.v2.Recognizer"
|
60
|
-
optional :next_page_token, :string, 2
|
61
|
-
end
|
62
|
-
add_message "google.cloud.speech.v2.GetRecognizerRequest" do
|
63
|
-
optional :name, :string, 1
|
64
|
-
end
|
65
|
-
add_message "google.cloud.speech.v2.UpdateRecognizerRequest" do
|
66
|
-
optional :recognizer, :message, 1, "google.cloud.speech.v2.Recognizer"
|
67
|
-
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
68
|
-
optional :validate_only, :bool, 4
|
69
|
-
end
|
70
|
-
add_message "google.cloud.speech.v2.DeleteRecognizerRequest" do
|
71
|
-
optional :name, :string, 1
|
72
|
-
optional :validate_only, :bool, 2
|
73
|
-
optional :allow_missing, :bool, 4
|
74
|
-
optional :etag, :string, 3
|
75
|
-
end
|
76
|
-
add_message "google.cloud.speech.v2.UndeleteRecognizerRequest" do
|
77
|
-
optional :name, :string, 1
|
78
|
-
optional :validate_only, :bool, 3
|
79
|
-
optional :etag, :string, 4
|
80
|
-
end
|
81
|
-
add_message "google.cloud.speech.v2.Recognizer" do
|
82
|
-
optional :name, :string, 1
|
83
|
-
optional :uid, :string, 2
|
84
|
-
optional :display_name, :string, 3
|
85
|
-
optional :model, :string, 4
|
86
|
-
repeated :language_codes, :string, 17
|
87
|
-
optional :default_recognition_config, :message, 6, "google.cloud.speech.v2.RecognitionConfig"
|
88
|
-
map :annotations, :string, :string, 7
|
89
|
-
optional :state, :enum, 8, "google.cloud.speech.v2.Recognizer.State"
|
90
|
-
optional :create_time, :message, 9, "google.protobuf.Timestamp"
|
91
|
-
optional :update_time, :message, 10, "google.protobuf.Timestamp"
|
92
|
-
optional :delete_time, :message, 11, "google.protobuf.Timestamp"
|
93
|
-
optional :expire_time, :message, 14, "google.protobuf.Timestamp"
|
94
|
-
optional :etag, :string, 12
|
95
|
-
optional :reconciling, :bool, 13
|
96
|
-
optional :kms_key_name, :string, 15
|
97
|
-
optional :kms_key_version_name, :string, 16
|
98
|
-
end
|
99
|
-
add_enum "google.cloud.speech.v2.Recognizer.State" do
|
100
|
-
value :STATE_UNSPECIFIED, 0
|
101
|
-
value :ACTIVE, 2
|
102
|
-
value :DELETED, 4
|
103
|
-
end
|
104
|
-
add_message "google.cloud.speech.v2.AutoDetectDecodingConfig" do
|
105
|
-
end
|
106
|
-
add_message "google.cloud.speech.v2.ExplicitDecodingConfig" do
|
107
|
-
optional :encoding, :enum, 1, "google.cloud.speech.v2.ExplicitDecodingConfig.AudioEncoding"
|
108
|
-
optional :sample_rate_hertz, :int32, 2
|
109
|
-
optional :audio_channel_count, :int32, 3
|
110
|
-
end
|
111
|
-
add_enum "google.cloud.speech.v2.ExplicitDecodingConfig.AudioEncoding" do
|
112
|
-
value :AUDIO_ENCODING_UNSPECIFIED, 0
|
113
|
-
value :LINEAR16, 1
|
114
|
-
value :MULAW, 2
|
115
|
-
value :ALAW, 3
|
116
|
-
end
|
117
|
-
add_message "google.cloud.speech.v2.SpeakerDiarizationConfig" do
|
118
|
-
optional :min_speaker_count, :int32, 2
|
119
|
-
optional :max_speaker_count, :int32, 3
|
120
|
-
end
|
121
|
-
add_message "google.cloud.speech.v2.RecognitionFeatures" do
|
122
|
-
optional :profanity_filter, :bool, 1
|
123
|
-
optional :enable_word_time_offsets, :bool, 2
|
124
|
-
optional :enable_word_confidence, :bool, 3
|
125
|
-
optional :enable_automatic_punctuation, :bool, 4
|
126
|
-
optional :enable_spoken_punctuation, :bool, 14
|
127
|
-
optional :enable_spoken_emojis, :bool, 15
|
128
|
-
optional :multi_channel_mode, :enum, 17, "google.cloud.speech.v2.RecognitionFeatures.MultiChannelMode"
|
129
|
-
optional :diarization_config, :message, 9, "google.cloud.speech.v2.SpeakerDiarizationConfig"
|
130
|
-
optional :max_alternatives, :int32, 16
|
131
|
-
end
|
132
|
-
add_enum "google.cloud.speech.v2.RecognitionFeatures.MultiChannelMode" do
|
133
|
-
value :MULTI_CHANNEL_MODE_UNSPECIFIED, 0
|
134
|
-
value :SEPARATE_RECOGNITION_PER_CHANNEL, 1
|
135
|
-
end
|
136
|
-
add_message "google.cloud.speech.v2.SpeechAdaptation" do
|
137
|
-
repeated :phrase_sets, :message, 1, "google.cloud.speech.v2.SpeechAdaptation.AdaptationPhraseSet"
|
138
|
-
repeated :custom_classes, :message, 2, "google.cloud.speech.v2.CustomClass"
|
139
|
-
end
|
140
|
-
add_message "google.cloud.speech.v2.SpeechAdaptation.AdaptationPhraseSet" do
|
141
|
-
oneof :value do
|
142
|
-
optional :phrase_set, :string, 1
|
143
|
-
optional :inline_phrase_set, :message, 2, "google.cloud.speech.v2.PhraseSet"
|
144
|
-
end
|
145
|
-
end
|
146
|
-
add_message "google.cloud.speech.v2.RecognitionConfig" do
|
147
|
-
optional :features, :message, 2, "google.cloud.speech.v2.RecognitionFeatures"
|
148
|
-
optional :adaptation, :message, 6, "google.cloud.speech.v2.SpeechAdaptation"
|
149
|
-
oneof :decoding_config do
|
150
|
-
optional :auto_decoding_config, :message, 7, "google.cloud.speech.v2.AutoDetectDecodingConfig"
|
151
|
-
optional :explicit_decoding_config, :message, 8, "google.cloud.speech.v2.ExplicitDecodingConfig"
|
152
|
-
end
|
153
|
-
end
|
154
|
-
add_message "google.cloud.speech.v2.RecognizeRequest" do
|
155
|
-
optional :recognizer, :string, 3
|
156
|
-
optional :config, :message, 1, "google.cloud.speech.v2.RecognitionConfig"
|
157
|
-
optional :config_mask, :message, 8, "google.protobuf.FieldMask"
|
158
|
-
oneof :audio_source do
|
159
|
-
optional :content, :bytes, 5
|
160
|
-
optional :uri, :string, 6
|
161
|
-
end
|
162
|
-
end
|
163
|
-
add_message "google.cloud.speech.v2.RecognitionResponseMetadata" do
|
164
|
-
optional :total_billed_duration, :message, 6, "google.protobuf.Duration"
|
165
|
-
end
|
166
|
-
add_message "google.cloud.speech.v2.SpeechRecognitionAlternative" do
|
167
|
-
optional :transcript, :string, 1
|
168
|
-
optional :confidence, :float, 2
|
169
|
-
repeated :words, :message, 3, "google.cloud.speech.v2.WordInfo"
|
170
|
-
end
|
171
|
-
add_message "google.cloud.speech.v2.WordInfo" do
|
172
|
-
optional :start_offset, :message, 1, "google.protobuf.Duration"
|
173
|
-
optional :end_offset, :message, 2, "google.protobuf.Duration"
|
174
|
-
optional :word, :string, 3
|
175
|
-
optional :confidence, :float, 4
|
176
|
-
optional :speaker_label, :string, 6
|
177
|
-
end
|
178
|
-
add_message "google.cloud.speech.v2.SpeechRecognitionResult" do
|
179
|
-
repeated :alternatives, :message, 1, "google.cloud.speech.v2.SpeechRecognitionAlternative"
|
180
|
-
optional :channel_tag, :int32, 2
|
181
|
-
optional :result_end_offset, :message, 4, "google.protobuf.Duration"
|
182
|
-
optional :language_code, :string, 5
|
183
|
-
end
|
184
|
-
add_message "google.cloud.speech.v2.RecognizeResponse" do
|
185
|
-
repeated :results, :message, 3, "google.cloud.speech.v2.SpeechRecognitionResult"
|
186
|
-
optional :metadata, :message, 2, "google.cloud.speech.v2.RecognitionResponseMetadata"
|
187
|
-
end
|
188
|
-
add_message "google.cloud.speech.v2.StreamingRecognitionFeatures" do
|
189
|
-
optional :enable_voice_activity_events, :bool, 1
|
190
|
-
optional :interim_results, :bool, 2
|
191
|
-
optional :voice_activity_timeout, :message, 3, "google.cloud.speech.v2.StreamingRecognitionFeatures.VoiceActivityTimeout"
|
192
|
-
end
|
193
|
-
add_message "google.cloud.speech.v2.StreamingRecognitionFeatures.VoiceActivityTimeout" do
|
194
|
-
optional :speech_start_timeout, :message, 1, "google.protobuf.Duration"
|
195
|
-
optional :speech_end_timeout, :message, 2, "google.protobuf.Duration"
|
196
|
-
end
|
197
|
-
add_message "google.cloud.speech.v2.StreamingRecognitionConfig" do
|
198
|
-
optional :config, :message, 1, "google.cloud.speech.v2.RecognitionConfig"
|
199
|
-
optional :config_mask, :message, 3, "google.protobuf.FieldMask"
|
200
|
-
optional :streaming_features, :message, 2, "google.cloud.speech.v2.StreamingRecognitionFeatures"
|
201
|
-
end
|
202
|
-
add_message "google.cloud.speech.v2.StreamingRecognizeRequest" do
|
203
|
-
optional :recognizer, :string, 3
|
204
|
-
oneof :streaming_request do
|
205
|
-
optional :streaming_config, :message, 6, "google.cloud.speech.v2.StreamingRecognitionConfig"
|
206
|
-
optional :audio, :bytes, 5
|
207
|
-
end
|
208
|
-
end
|
209
|
-
add_message "google.cloud.speech.v2.BatchRecognizeRequest" do
|
210
|
-
optional :recognizer, :string, 1
|
211
|
-
optional :config, :message, 4, "google.cloud.speech.v2.RecognitionConfig"
|
212
|
-
optional :config_mask, :message, 5, "google.protobuf.FieldMask"
|
213
|
-
repeated :files, :message, 3, "google.cloud.speech.v2.BatchRecognizeFileMetadata"
|
214
|
-
optional :recognition_output_config, :message, 6, "google.cloud.speech.v2.RecognitionOutputConfig"
|
215
|
-
end
|
216
|
-
add_message "google.cloud.speech.v2.GcsOutputConfig" do
|
217
|
-
optional :uri, :string, 1
|
218
|
-
end
|
219
|
-
add_message "google.cloud.speech.v2.InlineOutputConfig" do
|
220
|
-
end
|
221
|
-
add_message "google.cloud.speech.v2.RecognitionOutputConfig" do
|
222
|
-
oneof :output do
|
223
|
-
optional :gcs_output_config, :message, 1, "google.cloud.speech.v2.GcsOutputConfig"
|
224
|
-
optional :inline_response_config, :message, 2, "google.cloud.speech.v2.InlineOutputConfig"
|
225
|
-
end
|
226
|
-
end
|
227
|
-
add_message "google.cloud.speech.v2.BatchRecognizeResponse" do
|
228
|
-
map :results, :string, :message, 1, "google.cloud.speech.v2.BatchRecognizeFileResult"
|
229
|
-
optional :total_billed_duration, :message, 2, "google.protobuf.Duration"
|
230
|
-
end
|
231
|
-
add_message "google.cloud.speech.v2.BatchRecognizeResults" do
|
232
|
-
repeated :results, :message, 1, "google.cloud.speech.v2.SpeechRecognitionResult"
|
233
|
-
optional :metadata, :message, 2, "google.cloud.speech.v2.RecognitionResponseMetadata"
|
234
|
-
end
|
235
|
-
add_message "google.cloud.speech.v2.BatchRecognizeFileResult" do
|
236
|
-
optional :uri, :string, 1
|
237
|
-
optional :error, :message, 2, "google.rpc.Status"
|
238
|
-
optional :metadata, :message, 3, "google.cloud.speech.v2.RecognitionResponseMetadata"
|
239
|
-
optional :transcript, :message, 4, "google.cloud.speech.v2.BatchRecognizeResults"
|
240
|
-
end
|
241
|
-
add_message "google.cloud.speech.v2.BatchRecognizeTranscriptionMetadata" do
|
242
|
-
optional :progress_percent, :int32, 1
|
243
|
-
optional :error, :message, 2, "google.rpc.Status"
|
244
|
-
optional :uri, :string, 3
|
245
|
-
end
|
246
|
-
add_message "google.cloud.speech.v2.BatchRecognizeMetadata" do
|
247
|
-
map :transcription_metadata, :string, :message, 1, "google.cloud.speech.v2.BatchRecognizeTranscriptionMetadata"
|
248
|
-
end
|
249
|
-
add_message "google.cloud.speech.v2.BatchRecognizeFileMetadata" do
|
250
|
-
optional :config, :message, 4, "google.cloud.speech.v2.RecognitionConfig"
|
251
|
-
optional :config_mask, :message, 5, "google.protobuf.FieldMask"
|
252
|
-
oneof :audio_source do
|
253
|
-
optional :uri, :string, 1
|
254
|
-
end
|
255
|
-
end
|
256
|
-
add_message "google.cloud.speech.v2.StreamingRecognitionResult" do
|
257
|
-
repeated :alternatives, :message, 1, "google.cloud.speech.v2.SpeechRecognitionAlternative"
|
258
|
-
optional :is_final, :bool, 2
|
259
|
-
optional :stability, :float, 3
|
260
|
-
optional :result_end_offset, :message, 4, "google.protobuf.Duration"
|
261
|
-
optional :channel_tag, :int32, 5
|
262
|
-
optional :language_code, :string, 6
|
263
|
-
end
|
264
|
-
add_message "google.cloud.speech.v2.StreamingRecognizeResponse" do
|
265
|
-
repeated :results, :message, 6, "google.cloud.speech.v2.StreamingRecognitionResult"
|
266
|
-
optional :speech_event_type, :enum, 3, "google.cloud.speech.v2.StreamingRecognizeResponse.SpeechEventType"
|
267
|
-
optional :speech_event_offset, :message, 7, "google.protobuf.Duration"
|
268
|
-
optional :metadata, :message, 5, "google.cloud.speech.v2.RecognitionResponseMetadata"
|
269
|
-
end
|
270
|
-
add_enum "google.cloud.speech.v2.StreamingRecognizeResponse.SpeechEventType" do
|
271
|
-
value :SPEECH_EVENT_TYPE_UNSPECIFIED, 0
|
272
|
-
value :END_OF_SINGLE_UTTERANCE, 1
|
273
|
-
value :SPEECH_ACTIVITY_BEGIN, 2
|
274
|
-
value :SPEECH_ACTIVITY_END, 3
|
275
|
-
end
|
276
|
-
add_message "google.cloud.speech.v2.Config" do
|
277
|
-
optional :name, :string, 1
|
278
|
-
optional :kms_key_name, :string, 2
|
279
|
-
optional :update_time, :message, 3, "google.protobuf.Timestamp"
|
280
|
-
end
|
281
|
-
add_message "google.cloud.speech.v2.GetConfigRequest" do
|
282
|
-
optional :name, :string, 1
|
283
|
-
end
|
284
|
-
add_message "google.cloud.speech.v2.UpdateConfigRequest" do
|
285
|
-
optional :config, :message, 1, "google.cloud.speech.v2.Config"
|
286
|
-
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
287
|
-
end
|
288
|
-
add_message "google.cloud.speech.v2.CustomClass" do
|
289
|
-
optional :name, :string, 1
|
290
|
-
optional :uid, :string, 2
|
291
|
-
optional :display_name, :string, 4
|
292
|
-
repeated :items, :message, 5, "google.cloud.speech.v2.CustomClass.ClassItem"
|
293
|
-
optional :state, :enum, 15, "google.cloud.speech.v2.CustomClass.State"
|
294
|
-
optional :create_time, :message, 6, "google.protobuf.Timestamp"
|
295
|
-
optional :update_time, :message, 7, "google.protobuf.Timestamp"
|
296
|
-
optional :delete_time, :message, 8, "google.protobuf.Timestamp"
|
297
|
-
optional :expire_time, :message, 9, "google.protobuf.Timestamp"
|
298
|
-
map :annotations, :string, :string, 10
|
299
|
-
optional :etag, :string, 11
|
300
|
-
optional :reconciling, :bool, 12
|
301
|
-
optional :kms_key_name, :string, 13
|
302
|
-
optional :kms_key_version_name, :string, 14
|
303
|
-
end
|
304
|
-
add_message "google.cloud.speech.v2.CustomClass.ClassItem" do
|
305
|
-
optional :value, :string, 1
|
306
|
-
end
|
307
|
-
add_enum "google.cloud.speech.v2.CustomClass.State" do
|
308
|
-
value :STATE_UNSPECIFIED, 0
|
309
|
-
value :ACTIVE, 2
|
310
|
-
value :DELETED, 4
|
311
|
-
end
|
312
|
-
add_message "google.cloud.speech.v2.PhraseSet" do
|
313
|
-
optional :name, :string, 1
|
314
|
-
optional :uid, :string, 2
|
315
|
-
repeated :phrases, :message, 3, "google.cloud.speech.v2.PhraseSet.Phrase"
|
316
|
-
optional :boost, :float, 4
|
317
|
-
optional :display_name, :string, 5
|
318
|
-
optional :state, :enum, 15, "google.cloud.speech.v2.PhraseSet.State"
|
319
|
-
optional :create_time, :message, 6, "google.protobuf.Timestamp"
|
320
|
-
optional :update_time, :message, 7, "google.protobuf.Timestamp"
|
321
|
-
optional :delete_time, :message, 8, "google.protobuf.Timestamp"
|
322
|
-
optional :expire_time, :message, 9, "google.protobuf.Timestamp"
|
323
|
-
map :annotations, :string, :string, 10
|
324
|
-
optional :etag, :string, 11
|
325
|
-
optional :reconciling, :bool, 12
|
326
|
-
optional :kms_key_name, :string, 13
|
327
|
-
optional :kms_key_version_name, :string, 14
|
328
|
-
end
|
329
|
-
add_message "google.cloud.speech.v2.PhraseSet.Phrase" do
|
330
|
-
optional :value, :string, 1
|
331
|
-
optional :boost, :float, 2
|
332
|
-
end
|
333
|
-
add_enum "google.cloud.speech.v2.PhraseSet.State" do
|
334
|
-
value :STATE_UNSPECIFIED, 0
|
335
|
-
value :ACTIVE, 2
|
336
|
-
value :DELETED, 4
|
337
|
-
end
|
338
|
-
add_message "google.cloud.speech.v2.CreateCustomClassRequest" do
|
339
|
-
optional :custom_class, :message, 1, "google.cloud.speech.v2.CustomClass"
|
340
|
-
optional :validate_only, :bool, 2
|
341
|
-
optional :custom_class_id, :string, 3
|
342
|
-
optional :parent, :string, 4
|
343
|
-
end
|
344
|
-
add_message "google.cloud.speech.v2.ListCustomClassesRequest" do
|
345
|
-
optional :parent, :string, 1
|
346
|
-
optional :page_size, :int32, 2
|
347
|
-
optional :page_token, :string, 3
|
348
|
-
optional :show_deleted, :bool, 4
|
349
|
-
end
|
350
|
-
add_message "google.cloud.speech.v2.ListCustomClassesResponse" do
|
351
|
-
repeated :custom_classes, :message, 1, "google.cloud.speech.v2.CustomClass"
|
352
|
-
optional :next_page_token, :string, 2
|
353
|
-
end
|
354
|
-
add_message "google.cloud.speech.v2.GetCustomClassRequest" do
|
355
|
-
optional :name, :string, 1
|
356
|
-
end
|
357
|
-
add_message "google.cloud.speech.v2.UpdateCustomClassRequest" do
|
358
|
-
optional :custom_class, :message, 1, "google.cloud.speech.v2.CustomClass"
|
359
|
-
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
360
|
-
optional :validate_only, :bool, 4
|
361
|
-
end
|
362
|
-
add_message "google.cloud.speech.v2.DeleteCustomClassRequest" do
|
363
|
-
optional :name, :string, 1
|
364
|
-
optional :validate_only, :bool, 2
|
365
|
-
optional :allow_missing, :bool, 4
|
366
|
-
optional :etag, :string, 3
|
367
|
-
end
|
368
|
-
add_message "google.cloud.speech.v2.UndeleteCustomClassRequest" do
|
369
|
-
optional :name, :string, 1
|
370
|
-
optional :validate_only, :bool, 3
|
371
|
-
optional :etag, :string, 4
|
372
|
-
end
|
373
|
-
add_message "google.cloud.speech.v2.CreatePhraseSetRequest" do
|
374
|
-
optional :phrase_set, :message, 1, "google.cloud.speech.v2.PhraseSet"
|
375
|
-
optional :validate_only, :bool, 2
|
376
|
-
optional :phrase_set_id, :string, 3
|
377
|
-
optional :parent, :string, 4
|
378
|
-
end
|
379
|
-
add_message "google.cloud.speech.v2.ListPhraseSetsRequest" do
|
380
|
-
optional :parent, :string, 1
|
381
|
-
optional :page_size, :int32, 2
|
382
|
-
optional :page_token, :string, 3
|
383
|
-
optional :show_deleted, :bool, 4
|
384
|
-
end
|
385
|
-
add_message "google.cloud.speech.v2.ListPhraseSetsResponse" do
|
386
|
-
repeated :phrase_sets, :message, 1, "google.cloud.speech.v2.PhraseSet"
|
387
|
-
optional :next_page_token, :string, 2
|
388
|
-
end
|
389
|
-
add_message "google.cloud.speech.v2.GetPhraseSetRequest" do
|
390
|
-
optional :name, :string, 1
|
391
|
-
end
|
392
|
-
add_message "google.cloud.speech.v2.UpdatePhraseSetRequest" do
|
393
|
-
optional :phrase_set, :message, 1, "google.cloud.speech.v2.PhraseSet"
|
394
|
-
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
395
|
-
optional :validate_only, :bool, 4
|
396
|
-
end
|
397
|
-
add_message "google.cloud.speech.v2.DeletePhraseSetRequest" do
|
398
|
-
optional :name, :string, 1
|
399
|
-
optional :validate_only, :bool, 2
|
400
|
-
optional :allow_missing, :bool, 4
|
401
|
-
optional :etag, :string, 3
|
402
|
-
end
|
403
|
-
add_message "google.cloud.speech.v2.UndeletePhraseSetRequest" do
|
404
|
-
optional :name, :string, 1
|
405
|
-
optional :validate_only, :bool, 3
|
406
|
-
optional :etag, :string, 4
|
17
|
+
|
18
|
+
descriptor_data = "\n)google/cloud/speech/v2/cloud_speech.proto\x12\x16google.cloud.speech.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\xbe\x01\n\x17\x43reateRecognizerRequest\x12;\n\nrecognizer\x18\x01 \x01(\x0b\x32\".google.cloud.speech.v2.RecognizerB\x03\xe0\x41\x02\x12\x15\n\rvalidate_only\x18\x02 \x01(\x08\x12\x15\n\rrecognizer_id\x18\x03 \x01(\t\x12\x38\n\x06parent\x18\x04 \x01(\tB(\xe0\x41\x02\xfa\x41\"\x12 speech.googleapis.com/Recognizer\"\xe7\x0c\n\x11OperationMetadata\x12/\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x10\n\x08resource\x18\x03 \x01(\t\x12\x0e\n\x06method\x18\x04 \x01(\t\x12<\n\x0ckms_key_name\x18\x06 \x01(\tB&\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\x12K\n\x14kms_key_version_name\x18\x07 \x01(\tB-\xfa\x41*\n(cloudkms.googleapis.com/CryptoKeyVersion\x12P\n\x17\x62\x61tch_recognize_request\x18\x08 \x01(\x0b\x32-.google.cloud.speech.v2.BatchRecognizeRequestH\x00\x12T\n\x19\x63reate_recognizer_request\x18\t \x01(\x0b\x32/.google.cloud.speech.v2.CreateRecognizerRequestH\x00\x12T\n\x19update_recognizer_request\x18\n \x01(\x0b\x32/.google.cloud.speech.v2.UpdateRecognizerRequestH\x00\x12T\n\x19\x64\x65lete_recognizer_request\x18\x0b \x01(\x0b\x32/.google.cloud.speech.v2.DeleteRecognizerRequestH\x00\x12X\n\x1bundelete_recognizer_request\x18\x0c \x01(\x0b\x32\x31.google.cloud.speech.v2.UndeleteRecognizerRequestH\x00\x12W\n\x1b\x63reate_custom_class_request\x18\r \x01(\x0b\x32\x30.google.cloud.speech.v2.CreateCustomClassRequestH\x00\x12W\n\x1bupdate_custom_class_request\x18\x0e \x01(\x0b\x32\x30.google.cloud.speech.v2.UpdateCustomClassRequestH\x00\x12W\n\x1b\x64\x65lete_custom_class_request\x18\x0f \x01(\x0b\x32\x30.google.cloud.speech.v2.DeleteCustomClassRequestH\x00\x12[\n\x1dundelete_custom_class_request\x18\x10 \x01(\x0b\x32\x32.google.cloud.speech.v2.UndeleteCustomClassRequestH\x00\x12S\n\x19\x63reate_phrase_set_request\x18\x11 \x01(\x0b\x32..google.cloud.speech.v2.CreatePhraseSetRequestH\x00\x12S\n\x19update_phrase_set_request\x18\x12 \x01(\x0b\x32..google.cloud.speech.v2.UpdatePhraseSetRequestH\x00\x12S\n\x19\x64\x65lete_phrase_set_request\x18\x13 \x01(\x0b\x32..google.cloud.speech.v2.DeletePhraseSetRequestH\x00\x12W\n\x1bundelete_phrase_set_request\x18\x14 \x01(\x0b\x32\x30.google.cloud.speech.v2.UndeletePhraseSetRequestH\x00\x12P\n\x15update_config_request\x18\x15 \x01(\x0b\x32+.google.cloud.speech.v2.UpdateConfigRequestB\x02\x18\x01H\x00\x12\x18\n\x10progress_percent\x18\x16 \x01(\x05\x12R\n\x18\x62\x61tch_recognize_metadata\x18\x17 \x01(\x0b\x32..google.cloud.speech.v2.BatchRecognizeMetadataH\x01\x42\t\n\x07requestB\n\n\x08metadata\"\x90\x01\n\x16ListRecognizersRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x14\n\x0cshow_deleted\x18\x04 \x01(\x08\"k\n\x17ListRecognizersResponse\x12\x37\n\x0brecognizers\x18\x01 \x03(\x0b\x32\".google.cloud.speech.v2.Recognizer\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"N\n\x14GetRecognizerRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n speech.googleapis.com/Recognizer\"\x9e\x01\n\x17UpdateRecognizerRequest\x12;\n\nrecognizer\x18\x01 \x01(\x0b\x32\".google.cloud.speech.v2.RecognizerB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\x8d\x01\n\x17\x44\x65leteRecognizerRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n speech.googleapis.com/Recognizer\x12\x15\n\rvalidate_only\x18\x02 \x01(\x08\x12\x15\n\rallow_missing\x18\x04 \x01(\x08\x12\x0c\n\x04\x65tag\x18\x03 \x01(\t\"x\n\x19UndeleteRecognizerRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n speech.googleapis.com/Recognizer\x12\x15\n\rvalidate_only\x18\x03 \x01(\x08\x12\x0c\n\x04\x65tag\x18\x04 \x01(\t\"\xbe\x07\n\nRecognizer\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x10\n\x03uid\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x0c\x64isplay_name\x18\x03 \x01(\t\x12\x12\n\x05model\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x1b\n\x0elanguage_codes\x18\x11 \x03(\tB\x03\xe0\x41\x02\x12M\n\x1a\x64\x65\x66\x61ult_recognition_config\x18\x06 \x01(\x0b\x32).google.cloud.speech.v2.RecognitionConfig\x12H\n\x0b\x61nnotations\x18\x07 \x03(\x0b\x32\x33.google.cloud.speech.v2.Recognizer.AnnotationsEntry\x12<\n\x05state\x18\x08 \x01(\x0e\x32(.google.cloud.speech.v2.Recognizer.StateB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x65xpire_time\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x11\n\x04\x65tag\x18\x0c \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0breconciling\x18\r \x01(\x08\x42\x03\xe0\x41\x03\x12?\n\x0ckms_key_name\x18\x0f \x01(\tB)\xe0\x41\x03\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\x12N\n\x14kms_key_version_name\x18\x10 \x01(\tB0\xe0\x41\x03\xfa\x41*\n(cloudkms.googleapis.com/CryptoKeyVersion\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"7\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0b\n\x07\x44\x45LETED\x10\x04:j\xea\x41g\n speech.googleapis.com/Recognizer\x12@projects/{project}/locations/{location}/recognizers/{recognizer}R\x01\x01\"\x1a\n\x18\x41utoDetectDecodingConfig\"\xf9\x01\n\x16\x45xplicitDecodingConfig\x12S\n\x08\x65ncoding\x18\x01 \x01(\x0e\x32<.google.cloud.speech.v2.ExplicitDecodingConfig.AudioEncodingB\x03\xe0\x41\x02\x12\x19\n\x11sample_rate_hertz\x18\x02 \x01(\x05\x12\x1b\n\x13\x61udio_channel_count\x18\x03 \x01(\x05\"R\n\rAudioEncoding\x12\x1e\n\x1a\x41UDIO_ENCODING_UNSPECIFIED\x10\x00\x12\x0c\n\x08LINEAR16\x10\x01\x12\t\n\x05MULAW\x10\x02\x12\x08\n\x04\x41LAW\x10\x03\"Z\n\x18SpeakerDiarizationConfig\x12\x1e\n\x11min_speaker_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\x12\x1e\n\x11max_speaker_count\x18\x03 \x01(\x05\x42\x03\xe0\x41\x02\"\xf8\x03\n\x13RecognitionFeatures\x12\x18\n\x10profanity_filter\x18\x01 \x01(\x08\x12 \n\x18\x65nable_word_time_offsets\x18\x02 \x01(\x08\x12\x1e\n\x16\x65nable_word_confidence\x18\x03 \x01(\x08\x12$\n\x1c\x65nable_automatic_punctuation\x18\x04 \x01(\x08\x12!\n\x19\x65nable_spoken_punctuation\x18\x0e \x01(\x08\x12\x1c\n\x14\x65nable_spoken_emojis\x18\x0f \x01(\x08\x12X\n\x12multi_channel_mode\x18\x11 \x01(\x0e\x32<.google.cloud.speech.v2.RecognitionFeatures.MultiChannelMode\x12L\n\x12\x64iarization_config\x18\t \x01(\x0b\x32\x30.google.cloud.speech.v2.SpeakerDiarizationConfig\x12\x18\n\x10max_alternatives\x18\x10 \x01(\x05\"\\\n\x10MultiChannelMode\x12\"\n\x1eMULTI_CHANNEL_MODE_UNSPECIFIED\x10\x00\x12$\n SEPARATE_RECOGNITION_PER_CHANNEL\x10\x01\"\xbf\x02\n\x10SpeechAdaptation\x12Q\n\x0bphrase_sets\x18\x01 \x03(\x0b\x32<.google.cloud.speech.v2.SpeechAdaptation.AdaptationPhraseSet\x12;\n\x0e\x63ustom_classes\x18\x02 \x03(\x0b\x32#.google.cloud.speech.v2.CustomClass\x1a\x9a\x01\n\x13\x41\x64\x61ptationPhraseSet\x12:\n\nphrase_set\x18\x01 \x01(\tB$\xfa\x41!\n\x1fspeech.googleapis.com/PhraseSetH\x00\x12>\n\x11inline_phrase_set\x18\x02 \x01(\x0b\x32!.google.cloud.speech.v2.PhraseSetH\x00\x42\x07\n\x05value\"\xc9\x02\n\x11RecognitionConfig\x12P\n\x14\x61uto_decoding_config\x18\x07 \x01(\x0b\x32\x30.google.cloud.speech.v2.AutoDetectDecodingConfigH\x00\x12R\n\x18\x65xplicit_decoding_config\x18\x08 \x01(\x0b\x32..google.cloud.speech.v2.ExplicitDecodingConfigH\x00\x12=\n\x08\x66\x65\x61tures\x18\x02 \x01(\x0b\x32+.google.cloud.speech.v2.RecognitionFeatures\x12<\n\nadaptation\x18\x06 \x01(\x0b\x32(.google.cloud.speech.v2.SpeechAdaptationB\x11\n\x0f\x64\x65\x63oding_config\"\xee\x01\n\x10RecognizeRequest\x12<\n\nrecognizer\x18\x03 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n speech.googleapis.com/Recognizer\x12\x39\n\x06\x63onfig\x18\x01 \x01(\x0b\x32).google.cloud.speech.v2.RecognitionConfig\x12/\n\x0b\x63onfig_mask\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x11\n\x07\x63ontent\x18\x05 \x01(\x0cH\x00\x12\r\n\x03uri\x18\x06 \x01(\tH\x00\x42\x0e\n\x0c\x61udio_source\"W\n\x1bRecognitionResponseMetadata\x12\x38\n\x15total_billed_duration\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\"w\n\x1cSpeechRecognitionAlternative\x12\x12\n\ntranscript\x18\x01 \x01(\t\x12\x12\n\nconfidence\x18\x02 \x01(\x02\x12/\n\x05words\x18\x03 \x03(\x0b\x32 .google.cloud.speech.v2.WordInfo\"\xa3\x01\n\x08WordInfo\x12/\n\x0cstart_offset\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12-\n\nend_offset\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x0c\n\x04word\x18\x03 \x01(\t\x12\x12\n\nconfidence\x18\x04 \x01(\x02\x12\x15\n\rspeaker_label\x18\x06 \x01(\t\"\xcc\x01\n\x17SpeechRecognitionResult\x12J\n\x0c\x61lternatives\x18\x01 \x03(\x0b\x32\x34.google.cloud.speech.v2.SpeechRecognitionAlternative\x12\x13\n\x0b\x63hannel_tag\x18\x02 \x01(\x05\x12\x34\n\x11result_end_offset\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1a\n\rlanguage_code\x18\x05 \x01(\tB\x03\xe0\x41\x03\"\x9c\x01\n\x11RecognizeResponse\x12@\n\x07results\x18\x03 \x03(\x0b\x32/.google.cloud.speech.v2.SpeechRecognitionResult\x12\x45\n\x08metadata\x18\x02 \x01(\x0b\x32\x33.google.cloud.speech.v2.RecognitionResponseMetadata\"\xd1\x02\n\x1cStreamingRecognitionFeatures\x12$\n\x1c\x65nable_voice_activity_events\x18\x01 \x01(\x08\x12\x17\n\x0finterim_results\x18\x02 \x01(\x08\x12i\n\x16voice_activity_timeout\x18\x03 \x01(\x0b\x32I.google.cloud.speech.v2.StreamingRecognitionFeatures.VoiceActivityTimeout\x1a\x86\x01\n\x14VoiceActivityTimeout\x12\x37\n\x14speech_start_timeout\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\x12speech_end_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\"\xdf\x01\n\x1aStreamingRecognitionConfig\x12>\n\x06\x63onfig\x18\x01 \x01(\x0b\x32).google.cloud.speech.v2.RecognitionConfigB\x03\xe0\x41\x02\x12/\n\x0b\x63onfig_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12P\n\x12streaming_features\x18\x02 \x01(\x0b\x32\x34.google.cloud.speech.v2.StreamingRecognitionFeatures\"\xcf\x01\n\x19StreamingRecognizeRequest\x12<\n\nrecognizer\x18\x03 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n speech.googleapis.com/Recognizer\x12N\n\x10streaming_config\x18\x06 \x01(\x0b\x32\x32.google.cloud.speech.v2.StreamingRecognitionConfigH\x00\x12\x0f\n\x05\x61udio\x18\x05 \x01(\x0cH\x00\x42\x13\n\x11streaming_request\"\x88\x04\n\x15\x42\x61tchRecognizeRequest\x12<\n\nrecognizer\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n speech.googleapis.com/Recognizer\x12\x39\n\x06\x63onfig\x18\x04 \x01(\x0b\x32).google.cloud.speech.v2.RecognitionConfig\x12/\n\x0b\x63onfig_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x41\n\x05\x66iles\x18\x03 \x03(\x0b\x32\x32.google.cloud.speech.v2.BatchRecognizeFileMetadata\x12R\n\x19recognition_output_config\x18\x06 \x01(\x0b\x32/.google.cloud.speech.v2.RecognitionOutputConfig\x12]\n\x13processing_strategy\x18\x07 \x01(\x0e\x32@.google.cloud.speech.v2.BatchRecognizeRequest.ProcessingStrategy\"O\n\x12ProcessingStrategy\x12#\n\x1fPROCESSING_STRATEGY_UNSPECIFIED\x10\x00\x12\x14\n\x10\x44YNAMIC_BATCHING\x10\x01\"\x1e\n\x0fGcsOutputConfig\x12\x0b\n\x03uri\x18\x01 \x01(\t\"\x14\n\x12InlineOutputConfig\"\xb7\x01\n\x17RecognitionOutputConfig\x12\x44\n\x11gcs_output_config\x18\x01 \x01(\x0b\x32\'.google.cloud.speech.v2.GcsOutputConfigH\x00\x12L\n\x16inline_response_config\x18\x02 \x01(\x0b\x32*.google.cloud.speech.v2.InlineOutputConfigH\x00\x42\x08\n\x06output\"\x82\x02\n\x16\x42\x61tchRecognizeResponse\x12L\n\x07results\x18\x01 \x03(\x0b\x32;.google.cloud.speech.v2.BatchRecognizeResponse.ResultsEntry\x12\x38\n\x15total_billed_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x1a`\n\x0cResultsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12?\n\x05value\x18\x02 \x01(\x0b\x32\x30.google.cloud.speech.v2.BatchRecognizeFileResult:\x02\x38\x01\"\xa0\x01\n\x15\x42\x61tchRecognizeResults\x12@\n\x07results\x18\x01 \x03(\x0b\x32/.google.cloud.speech.v2.SpeechRecognitionResult\x12\x45\n\x08metadata\x18\x02 \x01(\x0b\x32\x33.google.cloud.speech.v2.RecognitionResponseMetadata\"\xd4\x01\n\x18\x42\x61tchRecognizeFileResult\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12!\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x12.google.rpc.Status\x12\x45\n\x08metadata\x18\x03 \x01(\x0b\x32\x33.google.cloud.speech.v2.RecognitionResponseMetadata\x12\x41\n\ntranscript\x18\x04 \x01(\x0b\x32-.google.cloud.speech.v2.BatchRecognizeResults\"o\n#BatchRecognizeTranscriptionMetadata\x12\x18\n\x10progress_percent\x18\x01 \x01(\x05\x12!\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x12.google.rpc.Status\x12\x0b\n\x03uri\x18\x03 \x01(\t\"\xfe\x01\n\x16\x42\x61tchRecognizeMetadata\x12i\n\x16transcription_metadata\x18\x01 \x03(\x0b\x32I.google.cloud.speech.v2.BatchRecognizeMetadata.TranscriptionMetadataEntry\x1ay\n\x1aTranscriptionMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12J\n\x05value\x18\x02 \x01(\x0b\x32;.google.cloud.speech.v2.BatchRecognizeTranscriptionMetadata:\x02\x38\x01\"\xa7\x01\n\x1a\x42\x61tchRecognizeFileMetadata\x12\r\n\x03uri\x18\x01 \x01(\tH\x00\x12\x39\n\x06\x63onfig\x18\x04 \x01(\x0b\x32).google.cloud.speech.v2.RecognitionConfig\x12/\n\x0b\x63onfig_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x0e\n\x0c\x61udio_source\"\xf4\x01\n\x1aStreamingRecognitionResult\x12J\n\x0c\x61lternatives\x18\x01 \x03(\x0b\x32\x34.google.cloud.speech.v2.SpeechRecognitionAlternative\x12\x10\n\x08is_final\x18\x02 \x01(\x08\x12\x11\n\tstability\x18\x03 \x01(\x02\x12\x34\n\x11result_end_offset\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x13\n\x0b\x63hannel_tag\x18\x05 \x01(\x05\x12\x1a\n\rlanguage_code\x18\x06 \x01(\tB\x03\xe0\x41\x03\"\xc7\x03\n\x1aStreamingRecognizeResponse\x12\x43\n\x07results\x18\x06 \x03(\x0b\x32\x32.google.cloud.speech.v2.StreamingRecognitionResult\x12]\n\x11speech_event_type\x18\x03 \x01(\x0e\x32\x42.google.cloud.speech.v2.StreamingRecognizeResponse.SpeechEventType\x12\x36\n\x13speech_event_offset\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x45\n\x08metadata\x18\x05 \x01(\x0b\x32\x33.google.cloud.speech.v2.RecognitionResponseMetadata\"\x85\x01\n\x0fSpeechEventType\x12!\n\x1dSPEECH_EVENT_TYPE_UNSPECIFIED\x10\x00\x12\x1b\n\x17\x45ND_OF_SINGLE_UTTERANCE\x10\x01\x12\x19\n\x15SPEECH_ACTIVITY_BEGIN\x10\x02\x12\x17\n\x13SPEECH_ACTIVITY_END\x10\x03\"\xe5\x01\n\x06\x43onfig\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12?\n\x0ckms_key_name\x18\x02 \x01(\tB)\xe0\x41\x01\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03:Q\xea\x41N\n\x1cspeech.googleapis.com/Config\x12.projects/{project}/locations/{location}/config\"F\n\x10GetConfigRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1cspeech.googleapis.com/Config\"{\n\x13UpdateConfigRequest\x12\x33\n\x06\x63onfig\x18\x01 \x01(\x0b\x32\x1e.google.cloud.speech.v2.ConfigB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\xa0\x07\n\x0b\x43ustomClass\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x10\n\x03uid\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x0c\x64isplay_name\x18\x04 \x01(\t\x12<\n\x05items\x18\x05 \x03(\x0b\x32-.google.cloud.speech.v2.CustomClass.ClassItem\x12=\n\x05state\x18\x0f \x01(\x0e\x32).google.cloud.speech.v2.CustomClass.StateB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x65xpire_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12I\n\x0b\x61nnotations\x18\n \x03(\x0b\x32\x34.google.cloud.speech.v2.CustomClass.AnnotationsEntry\x12\x11\n\x04\x65tag\x18\x0b \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0breconciling\x18\x0c \x01(\x08\x42\x03\xe0\x41\x03\x12?\n\x0ckms_key_name\x18\r \x01(\tB)\xe0\x41\x03\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\x12N\n\x14kms_key_version_name\x18\x0e \x01(\tB0\xe0\x41\x03\xfa\x41*\n(cloudkms.googleapis.com/CryptoKeyVersion\x1a\x1a\n\tClassItem\x12\r\n\x05value\x18\x01 \x01(\t\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"7\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0b\n\x07\x44\x45LETED\x10\x04:o\xea\x41l\n!speech.googleapis.com/CustomClass\x12\x44projects/{project}/locations/{location}/customClasses/{custom_class}R\x01\x01\"\xab\x07\n\tPhraseSet\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x10\n\x03uid\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x39\n\x07phrases\x18\x03 \x03(\x0b\x32(.google.cloud.speech.v2.PhraseSet.Phrase\x12\r\n\x05\x62oost\x18\x04 \x01(\x02\x12\x14\n\x0c\x64isplay_name\x18\x05 \x01(\t\x12;\n\x05state\x18\x0f \x01(\x0e\x32\'.google.cloud.speech.v2.PhraseSet.StateB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x65xpire_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12G\n\x0b\x61nnotations\x18\n \x03(\x0b\x32\x32.google.cloud.speech.v2.PhraseSet.AnnotationsEntry\x12\x11\n\x04\x65tag\x18\x0b \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0breconciling\x18\x0c \x01(\x08\x42\x03\xe0\x41\x03\x12?\n\x0ckms_key_name\x18\r \x01(\tB)\xe0\x41\x03\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\x12N\n\x14kms_key_version_name\x18\x0e \x01(\tB0\xe0\x41\x03\xfa\x41*\n(cloudkms.googleapis.com/CryptoKeyVersion\x1a&\n\x06Phrase\x12\r\n\x05value\x18\x01 \x01(\t\x12\r\n\x05\x62oost\x18\x02 \x01(\x02\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"7\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0b\n\x07\x44\x45LETED\x10\x04:h\xea\x41\x65\n\x1fspeech.googleapis.com/PhraseSet\x12?projects/{project}/locations/{location}/phraseSets/{phrase_set}R\x01\x01\"\xc5\x01\n\x18\x43reateCustomClassRequest\x12>\n\x0c\x63ustom_class\x18\x01 \x01(\x0b\x32#.google.cloud.speech.v2.CustomClassB\x03\xe0\x41\x02\x12\x15\n\rvalidate_only\x18\x02 \x01(\x08\x12\x17\n\x0f\x63ustom_class_id\x18\x03 \x01(\t\x12\x39\n\x06parent\x18\x04 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!speech.googleapis.com/CustomClass\"\x92\x01\n\x18ListCustomClassesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x14\n\x0cshow_deleted\x18\x04 \x01(\x08\"q\n\x19ListCustomClassesResponse\x12;\n\x0e\x63ustom_classes\x18\x01 \x03(\x0b\x32#.google.cloud.speech.v2.CustomClass\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"P\n\x15GetCustomClassRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!speech.googleapis.com/CustomClass\"\xa2\x01\n\x18UpdateCustomClassRequest\x12>\n\x0c\x63ustom_class\x18\x01 \x01(\x0b\x32#.google.cloud.speech.v2.CustomClassB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\x8f\x01\n\x18\x44\x65leteCustomClassRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!speech.googleapis.com/CustomClass\x12\x15\n\rvalidate_only\x18\x02 \x01(\x08\x12\x15\n\rallow_missing\x18\x04 \x01(\x08\x12\x0c\n\x04\x65tag\x18\x03 \x01(\t\"z\n\x1aUndeleteCustomClassRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!speech.googleapis.com/CustomClass\x12\x15\n\rvalidate_only\x18\x03 \x01(\x08\x12\x0c\n\x04\x65tag\x18\x04 \x01(\t\"\xbb\x01\n\x16\x43reatePhraseSetRequest\x12:\n\nphrase_set\x18\x01 \x01(\x0b\x32!.google.cloud.speech.v2.PhraseSetB\x03\xe0\x41\x02\x12\x15\n\rvalidate_only\x18\x02 \x01(\x08\x12\x15\n\rphrase_set_id\x18\x03 \x01(\t\x12\x37\n\x06parent\x18\x04 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1fspeech.googleapis.com/PhraseSet\"\x8f\x01\n\x15ListPhraseSetsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x14\n\x0cshow_deleted\x18\x04 \x01(\x08\"i\n\x16ListPhraseSetsResponse\x12\x36\n\x0bphrase_sets\x18\x01 \x03(\x0b\x32!.google.cloud.speech.v2.PhraseSet\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"L\n\x13GetPhraseSetRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fspeech.googleapis.com/PhraseSet\"\x9c\x01\n\x16UpdatePhraseSetRequest\x12:\n\nphrase_set\x18\x01 \x01(\x0b\x32!.google.cloud.speech.v2.PhraseSetB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\x8b\x01\n\x16\x44\x65letePhraseSetRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fspeech.googleapis.com/PhraseSet\x12\x15\n\rvalidate_only\x18\x02 \x01(\x08\x12\x15\n\rallow_missing\x18\x04 \x01(\x08\x12\x0c\n\x04\x65tag\x18\x03 \x01(\t\"v\n\x18UndeletePhraseSetRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fspeech.googleapis.com/PhraseSet\x12\x15\n\rvalidate_only\x18\x03 \x01(\x08\x12\x0c\n\x04\x65tag\x18\x04 \x01(\t2\xbf%\n\x06Speech\x12\xec\x01\n\x10\x43reateRecognizer\x12/.google.cloud.speech.v2.CreateRecognizerRequest\x1a\x1d.google.longrunning.Operation\"\x87\x01\x82\xd3\xe4\x93\x02=\"//v2/{parent=projects/*/locations/*}/recognizers:\nrecognizer\xda\x41\x1fparent,recognizer,recognizer_id\xca\x41\x1f\n\nRecognizer\x12\x11OperationMetadata\x12\xb4\x01\n\x0fListRecognizers\x12..google.cloud.speech.v2.ListRecognizersRequest\x1a/.google.cloud.speech.v2.ListRecognizersResponse\"@\x82\xd3\xe4\x93\x02\x31\x12//v2/{parent=projects/*/locations/*}/recognizers\xda\x41\x06parent\x12\xa1\x01\n\rGetRecognizer\x12,.google.cloud.speech.v2.GetRecognizerRequest\x1a\".google.cloud.speech.v2.Recognizer\">\x82\xd3\xe4\x93\x02\x31\x12//v2/{name=projects/*/locations/*/recognizers/*}\xda\x41\x04name\x12\xee\x01\n\x10UpdateRecognizer\x12/.google.cloud.speech.v2.UpdateRecognizerRequest\x1a\x1d.google.longrunning.Operation\"\x89\x01\x82\xd3\xe4\x93\x02H2:/v2/{recognizer.name=projects/*/locations/*/recognizers/*}:\nrecognizer\xda\x41\x16recognizer,update_mask\xca\x41\x1f\n\nRecognizer\x12\x11OperationMetadata\x12\xc4\x01\n\x10\x44\x65leteRecognizer\x12/.google.cloud.speech.v2.DeleteRecognizerRequest\x1a\x1d.google.longrunning.Operation\"`\x82\xd3\xe4\x93\x02\x31*//v2/{name=projects/*/locations/*/recognizers/*}\xda\x41\x04name\xca\x41\x1f\n\nRecognizer\x12\x11OperationMetadata\x12\xd4\x01\n\x12UndeleteRecognizer\x12\x31.google.cloud.speech.v2.UndeleteRecognizerRequest\x1a\x1d.google.longrunning.Operation\"l\x82\xd3\xe4\x93\x02=\"8/v2/{name=projects/*/locations/*/recognizers/*}:undelete:\x01*\xda\x41\x04name\xca\x41\x1f\n\nRecognizer\x12\x11OperationMetadata\x12\xf9\x01\n\tRecognize\x12(.google.cloud.speech.v2.RecognizeRequest\x1a).google.cloud.speech.v2.RecognizeResponse\"\x96\x01\x82\xd3\xe4\x93\x02\x44\"?/v2/{recognizer=projects/*/locations/*/recognizers/*}:recognize:\x01*\xda\x41%recognizer,config,config_mask,content\xda\x41!recognizer,config,config_mask,uri\x12\x81\x01\n\x12StreamingRecognize\x12\x31.google.cloud.speech.v2.StreamingRecognizeRequest\x1a\x32.google.cloud.speech.v2.StreamingRecognizeResponse\"\x00(\x01\x30\x01\x12\x84\x02\n\x0e\x42\x61tchRecognize\x12-.google.cloud.speech.v2.BatchRecognizeRequest\x1a\x1d.google.longrunning.Operation\"\xa3\x01\x82\xd3\xe4\x93\x02I\"D/v2/{recognizer=projects/*/locations/*/recognizers/*}:batchRecognize:\x01*\xda\x41#recognizer,config,config_mask,files\xca\x41+\n\x16\x42\x61tchRecognizeResponse\x12\x11OperationMetadata\x12\x8e\x01\n\tGetConfig\x12(.google.cloud.speech.v2.GetConfigRequest\x1a\x1e.google.cloud.speech.v2.Config\"7\x82\xd3\xe4\x93\x02*\x12(/v2/{name=projects/*/locations/*/config}\xda\x41\x04name\x12\xb1\x01\n\x0cUpdateConfig\x12+.google.cloud.speech.v2.UpdateConfigRequest\x1a\x1e.google.cloud.speech.v2.Config\"T\x82\xd3\xe4\x93\x02\x39\x32//v2/{config.name=projects/*/locations/*/config}:\x06\x63onfig\xda\x41\x12\x63onfig,update_mask\x12\xf7\x01\n\x11\x43reateCustomClass\x12\x30.google.cloud.speech.v2.CreateCustomClassRequest\x1a\x1d.google.longrunning.Operation\"\x90\x01\x82\xd3\xe4\x93\x02\x41\"1/v2/{parent=projects/*/locations/*}/customClasses:\x0c\x63ustom_class\xda\x41#parent,custom_class,custom_class_id\xca\x41 \n\x0b\x43ustomClass\x12\x11OperationMetadata\x12\xbc\x01\n\x11ListCustomClasses\x12\x30.google.cloud.speech.v2.ListCustomClassesRequest\x1a\x31.google.cloud.speech.v2.ListCustomClassesResponse\"B\x82\xd3\xe4\x93\x02\x33\x12\x31/v2/{parent=projects/*/locations/*}/customClasses\xda\x41\x06parent\x12\xa6\x01\n\x0eGetCustomClass\x12-.google.cloud.speech.v2.GetCustomClassRequest\x1a#.google.cloud.speech.v2.CustomClass\"@\x82\xd3\xe4\x93\x02\x33\x12\x31/v2/{name=projects/*/locations/*/customClasses/*}\xda\x41\x04name\x12\xf9\x01\n\x11UpdateCustomClass\x12\x30.google.cloud.speech.v2.UpdateCustomClassRequest\x1a\x1d.google.longrunning.Operation\"\x92\x01\x82\xd3\xe4\x93\x02N2>/v2/{custom_class.name=projects/*/locations/*/customClasses/*}:\x0c\x63ustom_class\xda\x41\x18\x63ustom_class,update_mask\xca\x41 \n\x0b\x43ustomClass\x12\x11OperationMetadata\x12\xc9\x01\n\x11\x44\x65leteCustomClass\x12\x30.google.cloud.speech.v2.DeleteCustomClassRequest\x1a\x1d.google.longrunning.Operation\"c\x82\xd3\xe4\x93\x02\x33*1/v2/{name=projects/*/locations/*/customClasses/*}\xda\x41\x04name\xca\x41 \n\x0b\x43ustomClass\x12\x11OperationMetadata\x12\xd9\x01\n\x13UndeleteCustomClass\x12\x32.google.cloud.speech.v2.UndeleteCustomClassRequest\x1a\x1d.google.longrunning.Operation\"o\x82\xd3\xe4\x93\x02?\":/v2/{name=projects/*/locations/*/customClasses/*}:undelete:\x01*\xda\x41\x04name\xca\x41 \n\x0b\x43ustomClass\x12\x11OperationMetadata\x12\xe8\x01\n\x0f\x43reatePhraseSet\x12..google.cloud.speech.v2.CreatePhraseSetRequest\x1a\x1d.google.longrunning.Operation\"\x85\x01\x82\xd3\xe4\x93\x02<\"./v2/{parent=projects/*/locations/*}/phraseSets:\nphrase_set\xda\x41\x1fparent,phrase_set,phrase_set_id\xca\x41\x1e\n\tPhraseSet\x12\x11OperationMetadata\x12\xb0\x01\n\x0eListPhraseSets\x12-.google.cloud.speech.v2.ListPhraseSetsRequest\x1a..google.cloud.speech.v2.ListPhraseSetsResponse\"?\x82\xd3\xe4\x93\x02\x30\x12./v2/{parent=projects/*/locations/*}/phraseSets\xda\x41\x06parent\x12\x9d\x01\n\x0cGetPhraseSet\x12+.google.cloud.speech.v2.GetPhraseSetRequest\x1a!.google.cloud.speech.v2.PhraseSet\"=\x82\xd3\xe4\x93\x02\x30\x12./v2/{name=projects/*/locations/*/phraseSets/*}\xda\x41\x04name\x12\xea\x01\n\x0fUpdatePhraseSet\x12..google.cloud.speech.v2.UpdatePhraseSetRequest\x1a\x1d.google.longrunning.Operation\"\x87\x01\x82\xd3\xe4\x93\x02G29/v2/{phrase_set.name=projects/*/locations/*/phraseSets/*}:\nphrase_set\xda\x41\x16phrase_set,update_mask\xca\x41\x1e\n\tPhraseSet\x12\x11OperationMetadata\x12\xc0\x01\n\x0f\x44\x65letePhraseSet\x12..google.cloud.speech.v2.DeletePhraseSetRequest\x1a\x1d.google.longrunning.Operation\"^\x82\xd3\xe4\x93\x02\x30*./v2/{name=projects/*/locations/*/phraseSets/*}\xda\x41\x04name\xca\x41\x1e\n\tPhraseSet\x12\x11OperationMetadata\x12\xd0\x01\n\x11UndeletePhraseSet\x12\x30.google.cloud.speech.v2.UndeletePhraseSetRequest\x1a\x1d.google.longrunning.Operation\"j\x82\xd3\xe4\x93\x02<\"7/v2/{name=projects/*/locations/*/phraseSets/*}:undelete:\x01*\xda\x41\x04name\xca\x41\x1e\n\tPhraseSet\x12\x11OperationMetadata\x1aI\xca\x41\x15speech.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x89\x03\n\x1a\x63om.google.cloud.speech.v2B\x10\x43loudSpeechProtoP\x01Z2cloud.google.com/go/speech/apiv2/speechpb;speechpb\xea\x41x\n!cloudkms.googleapis.com/CryptoKey\x12Sprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}\xea\x41\xa6\x01\n(cloudkms.googleapis.com/CryptoKeyVersion\x12zprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}b\x06proto3"
|
19
|
+
|
20
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
21
|
+
|
22
|
+
begin
|
23
|
+
pool.add_serialized_file(descriptor_data)
|
24
|
+
rescue TypeError => e
|
25
|
+
# Compatibility code: will be removed in the next major version.
|
26
|
+
require 'google/protobuf/descriptor_pb'
|
27
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
28
|
+
parsed.clear_dependency
|
29
|
+
serialized = parsed.class.encode(parsed)
|
30
|
+
file = pool.add_serialized_file(serialized)
|
31
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
32
|
+
imports = [
|
33
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
34
|
+
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
35
|
+
["google.protobuf.Duration", "google/protobuf/duration.proto"],
|
36
|
+
["google.rpc.Status", "google/rpc/status.proto"],
|
37
|
+
]
|
38
|
+
imports.each do |type_name, expected_filename|
|
39
|
+
import_file = pool.lookup(type_name).file_descriptor
|
40
|
+
if import_file.name != expected_filename
|
41
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
407
42
|
end
|
408
43
|
end
|
44
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
45
|
+
warn "This will become an error in the next major version."
|
409
46
|
end
|
410
47
|
|
411
48
|
module Google
|
@@ -442,6 +79,7 @@ module Google
|
|
442
79
|
StreamingRecognitionConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.speech.v2.StreamingRecognitionConfig").msgclass
|
443
80
|
StreamingRecognizeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.speech.v2.StreamingRecognizeRequest").msgclass
|
444
81
|
BatchRecognizeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.speech.v2.BatchRecognizeRequest").msgclass
|
82
|
+
BatchRecognizeRequest::ProcessingStrategy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.speech.v2.BatchRecognizeRequest.ProcessingStrategy").enummodule
|
445
83
|
GcsOutputConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.speech.v2.GcsOutputConfig").msgclass
|
446
84
|
InlineOutputConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.speech.v2.InlineOutputConfig").msgclass
|
447
85
|
RecognitionOutputConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.speech.v2.RecognitionOutputConfig").msgclass
|
@@ -304,8 +304,8 @@ module Google
|
|
304
304
|
# format is `projects/{project}/locations/{location}`.
|
305
305
|
# @param page_size [::Integer]
|
306
306
|
# The maximum number of Recognizers to return. The service may return fewer
|
307
|
-
# than this value. If unspecified, at most
|
308
|
-
# The maximum value is
|
307
|
+
# than this value. If unspecified, at most 5 Recognizers will be returned.
|
308
|
+
# The maximum value is 100; values above 100 will be coerced to 100.
|
309
309
|
# @param page_token [::String]
|
310
310
|
# A page token, received from a previous
|
311
311
|
# {::Google::Cloud::Speech::V2::Speech::Client#list_recognizers ListRecognizers} call.
|
@@ -999,7 +999,7 @@ module Google
|
|
999
999
|
# @param options [::Gapic::CallOptions, ::Hash]
|
1000
1000
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
1001
1001
|
#
|
1002
|
-
# @overload batch_recognize(recognizer: nil, config: nil, config_mask: nil, files: nil, recognition_output_config: nil)
|
1002
|
+
# @overload batch_recognize(recognizer: nil, config: nil, config_mask: nil, files: nil, recognition_output_config: nil, processing_strategy: nil)
|
1003
1003
|
# Pass arguments to `batch_recognize` via keyword arguments. Note that at
|
1004
1004
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
1005
1005
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -1032,6 +1032,8 @@ module Google
|
|
1032
1032
|
# The maximum number of files allowed to be specified is 5.
|
1033
1033
|
# @param recognition_output_config [::Google::Cloud::Speech::V2::RecognitionOutputConfig, ::Hash]
|
1034
1034
|
# Configuration options for where to output the transcripts of each file.
|
1035
|
+
# @param processing_strategy [::Google::Cloud::Speech::V2::BatchRecognizeRequest::ProcessingStrategy]
|
1036
|
+
# Processing strategy to use for this request.
|
1035
1037
|
#
|
1036
1038
|
# @yield [response, operation] Access the result along with the RPC operation
|
1037
1039
|
# @yieldparam response [::Gapic::Operation]
|
@@ -1409,10 +1411,10 @@ module Google
|
|
1409
1411
|
# Required. The project and location of CustomClass resources to list. The
|
1410
1412
|
# expected format is `projects/{project}/locations/{location}`.
|
1411
1413
|
# @param page_size [::Integer]
|
1412
|
-
# Number of results per requests. A valid page_size ranges from 0 to
|
1414
|
+
# Number of results per requests. A valid page_size ranges from 0 to 100
|
1413
1415
|
# inclusive. If the page_size is zero or unspecified, a page size of 5 will
|
1414
|
-
# be chosen. If the page size exceeds
|
1415
|
-
# that a call might return fewer results than the requested page size.
|
1416
|
+
# be chosen. If the page size exceeds 100, it will be coerced down to 100.
|
1417
|
+
# Note that a call might return fewer results than the requested page size.
|
1416
1418
|
# @param page_token [::String]
|
1417
1419
|
# A page token, received from a previous
|
1418
1420
|
# {::Google::Cloud::Speech::V2::Speech::Client#list_custom_classes ListCustomClasses} call.
|
@@ -2018,8 +2020,8 @@ module Google
|
|
2018
2020
|
# expected format is `projects/{project}/locations/{location}`.
|
2019
2021
|
# @param page_size [::Integer]
|
2020
2022
|
# The maximum number of PhraseSets to return. The service may return fewer
|
2021
|
-
# than this value. If unspecified, at most
|
2022
|
-
# The maximum value is
|
2023
|
+
# than this value. If unspecified, at most 5 PhraseSets will be returned.
|
2024
|
+
# The maximum value is 100; values above 100 will be coerced to 100.
|
2023
2025
|
# @param page_token [::String]
|
2024
2026
|
# A page token, received from a previous
|
2025
2027
|
# {::Google::Cloud::Speech::V2::Speech::Client#list_phrase_sets ListPhraseSets} call.
|
@@ -266,8 +266,8 @@ module Google
|
|
266
266
|
# format is `projects/{project}/locations/{location}`.
|
267
267
|
# @param page_size [::Integer]
|
268
268
|
# The maximum number of Recognizers to return. The service may return fewer
|
269
|
-
# than this value. If unspecified, at most
|
270
|
-
# The maximum value is
|
269
|
+
# than this value. If unspecified, at most 5 Recognizers will be returned.
|
270
|
+
# The maximum value is 100; values above 100 will be coerced to 100.
|
271
271
|
# @param page_token [::String]
|
272
272
|
# A page token, received from a previous
|
273
273
|
# {::Google::Cloud::Speech::V2::Speech::Rest::Client#list_recognizers ListRecognizers} call.
|
@@ -719,7 +719,7 @@ module Google
|
|
719
719
|
# @param options [::Gapic::CallOptions, ::Hash]
|
720
720
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
721
721
|
#
|
722
|
-
# @overload batch_recognize(recognizer: nil, config: nil, config_mask: nil, files: nil, recognition_output_config: nil)
|
722
|
+
# @overload batch_recognize(recognizer: nil, config: nil, config_mask: nil, files: nil, recognition_output_config: nil, processing_strategy: nil)
|
723
723
|
# Pass arguments to `batch_recognize` via keyword arguments. Note that at
|
724
724
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
725
725
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -752,6 +752,8 @@ module Google
|
|
752
752
|
# The maximum number of files allowed to be specified is 5.
|
753
753
|
# @param recognition_output_config [::Google::Cloud::Speech::V2::RecognitionOutputConfig, ::Hash]
|
754
754
|
# Configuration options for where to output the transcripts of each file.
|
755
|
+
# @param processing_strategy [::Google::Cloud::Speech::V2::BatchRecognizeRequest::ProcessingStrategy]
|
756
|
+
# Processing strategy to use for this request.
|
755
757
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
756
758
|
# @yieldparam result [::Gapic::Operation]
|
757
759
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -1023,10 +1025,10 @@ module Google
|
|
1023
1025
|
# Required. The project and location of CustomClass resources to list. The
|
1024
1026
|
# expected format is `projects/{project}/locations/{location}`.
|
1025
1027
|
# @param page_size [::Integer]
|
1026
|
-
# Number of results per requests. A valid page_size ranges from 0 to
|
1028
|
+
# Number of results per requests. A valid page_size ranges from 0 to 100
|
1027
1029
|
# inclusive. If the page_size is zero or unspecified, a page size of 5 will
|
1028
|
-
# be chosen. If the page size exceeds
|
1029
|
-
# that a call might return fewer results than the requested page size.
|
1030
|
+
# be chosen. If the page size exceeds 100, it will be coerced down to 100.
|
1031
|
+
# Note that a call might return fewer results than the requested page size.
|
1030
1032
|
# @param page_token [::String]
|
1031
1033
|
# A page token, received from a previous
|
1032
1034
|
# {::Google::Cloud::Speech::V2::Speech::Rest::Client#list_custom_classes ListCustomClasses} call.
|
@@ -1462,8 +1464,8 @@ module Google
|
|
1462
1464
|
# expected format is `projects/{project}/locations/{location}`.
|
1463
1465
|
# @param page_size [::Integer]
|
1464
1466
|
# The maximum number of PhraseSets to return. The service may return fewer
|
1465
|
-
# than this value. If unspecified, at most
|
1466
|
-
# The maximum value is
|
1467
|
+
# than this value. If unspecified, at most 5 PhraseSets will be returned.
|
1468
|
+
# The maximum value is 100; values above 100 will be coerced to 100.
|
1467
1469
|
# @param page_token [::String]
|
1468
1470
|
# A page token, received from a previous
|
1469
1471
|
# {::Google::Cloud::Speech::V2::Speech::Rest::Client#list_phrase_sets ListPhraseSets} call.
|
@@ -83,7 +83,7 @@ module Google
|
|
83
83
|
# long-running operation pattern.
|
84
84
|
# @!attribute [rw] new_issue_uri
|
85
85
|
# @return [::String]
|
86
|
-
# Link to a
|
86
|
+
# Link to a *public* URI where users can report issues. Example:
|
87
87
|
# https://issuetracker.google.com/issues/new?component=190865&template=1161103
|
88
88
|
# @!attribute [rw] documentation_uri
|
89
89
|
# @return [::String]
|
@@ -209,9 +209,57 @@ module Google
|
|
209
209
|
# @!attribute [rw] common
|
210
210
|
# @return [::Google::Api::CommonLanguageSettings]
|
211
211
|
# Some settings.
|
212
|
+
# @!attribute [rw] renamed_services
|
213
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
214
|
+
# Map from original service names to renamed versions.
|
215
|
+
# This is used when the default generated types
|
216
|
+
# would cause a naming conflict. (Neither name is
|
217
|
+
# fully-qualified.)
|
218
|
+
# Example: Subscriber to SubscriberServiceApi.
|
219
|
+
# @!attribute [rw] renamed_resources
|
220
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
221
|
+
# Map from full resource types to the effective short name
|
222
|
+
# for the resource. This is used when otherwise resource
|
223
|
+
# named from different services would cause naming collisions.
|
224
|
+
# Example entry:
|
225
|
+
# "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
|
226
|
+
# @!attribute [rw] ignored_resources
|
227
|
+
# @return [::Array<::String>]
|
228
|
+
# List of full resource types to ignore during generation.
|
229
|
+
# This is typically used for API-specific Location resources,
|
230
|
+
# which should be handled by the generator as if they were actually
|
231
|
+
# the common Location resources.
|
232
|
+
# Example entry: "documentai.googleapis.com/Location"
|
233
|
+
# @!attribute [rw] forced_namespace_aliases
|
234
|
+
# @return [::Array<::String>]
|
235
|
+
# Namespaces which must be aliased in snippets due to
|
236
|
+
# a known (but non-generator-predictable) naming collision
|
237
|
+
# @!attribute [rw] handwritten_signatures
|
238
|
+
# @return [::Array<::String>]
|
239
|
+
# Method signatures (in the form "service.method(signature)")
|
240
|
+
# which are provided separately, so shouldn't be generated.
|
241
|
+
# Snippets *calling* these methods are still generated, however.
|
212
242
|
class DotnetSettings
|
213
243
|
include ::Google::Protobuf::MessageExts
|
214
244
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
245
|
+
|
246
|
+
# @!attribute [rw] key
|
247
|
+
# @return [::String]
|
248
|
+
# @!attribute [rw] value
|
249
|
+
# @return [::String]
|
250
|
+
class RenamedServicesEntry
|
251
|
+
include ::Google::Protobuf::MessageExts
|
252
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
253
|
+
end
|
254
|
+
|
255
|
+
# @!attribute [rw] key
|
256
|
+
# @return [::String]
|
257
|
+
# @!attribute [rw] value
|
258
|
+
# @return [::String]
|
259
|
+
class RenamedResourcesEntry
|
260
|
+
include ::Google::Protobuf::MessageExts
|
261
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
262
|
+
end
|
215
263
|
end
|
216
264
|
|
217
265
|
# Settings for Ruby client libraries.
|
@@ -305,6 +353,15 @@ module Google
|
|
305
353
|
|
306
354
|
# Street View Org.
|
307
355
|
STREET_VIEW = 4
|
356
|
+
|
357
|
+
# Shopping Org.
|
358
|
+
SHOPPING = 5
|
359
|
+
|
360
|
+
# Geo Org.
|
361
|
+
GEO = 6
|
362
|
+
|
363
|
+
# Generative AI - https://developers.generativeai.google
|
364
|
+
GENERATIVE_AI = 7
|
308
365
|
end
|
309
366
|
|
310
367
|
# To where should client libraries be published?
|
@@ -134,8 +134,8 @@ module Google
|
|
134
134
|
# @!attribute [rw] page_size
|
135
135
|
# @return [::Integer]
|
136
136
|
# The maximum number of Recognizers to return. The service may return fewer
|
137
|
-
# than this value. If unspecified, at most
|
138
|
-
# The maximum value is
|
137
|
+
# than this value. If unspecified, at most 5 Recognizers will be returned.
|
138
|
+
# The maximum value is 100; values above 100 will be coerced to 100.
|
139
139
|
# @!attribute [rw] page_token
|
140
140
|
# @return [::String]
|
141
141
|
# A page token, received from a previous
|
@@ -263,56 +263,19 @@ module Google
|
|
263
263
|
# Required. Which model to use for recognition requests. Select the model
|
264
264
|
# best suited to your domain to get best results.
|
265
265
|
#
|
266
|
-
#
|
267
|
-
#
|
268
|
-
# -
|
269
|
-
#
|
270
|
-
#
|
271
|
-
#
|
272
|
-
# - `latest_short`
|
273
|
-
#
|
274
|
-
# Best for short form content like commands or single shot directed speech.
|
275
|
-
# When using this model, the service will stop transcribing audio after the
|
276
|
-
# first utterance is detected and completed.
|
277
|
-
#
|
278
|
-
# When using this model,
|
279
|
-
# {::Google::Cloud::Speech::V2::RecognitionFeatures::MultiChannelMode::SEPARATE_RECOGNITION_PER_CHANNEL SEPARATE_RECOGNITION_PER_CHANNEL}
|
280
|
-
# is not supported; multi-channel audio is accepted, but only the first
|
281
|
-
# channel will be processed and transcribed.
|
282
|
-
#
|
283
|
-
# - `telephony`
|
284
|
-
#
|
285
|
-
# Best for audio that originated from a phone call (typically recorded at
|
286
|
-
# an 8khz sampling rate).
|
287
|
-
#
|
288
|
-
# - `medical_conversation`
|
289
|
-
#
|
290
|
-
# For conversations between a medical provider—for example, a doctor or
|
291
|
-
# nurse—and a patient. Use this model when both a provider and a patient
|
292
|
-
# are speaking. Words uttered by each speaker are automatically detected
|
293
|
-
# and labeled in the returned transcript.
|
294
|
-
#
|
295
|
-
# For supported features please see [medical models
|
296
|
-
# documentation](https://cloud.google.com/speech-to-text/docs/medical-models).
|
297
|
-
#
|
298
|
-
# - `medical_dictation`
|
299
|
-
#
|
300
|
-
# For dictated notes spoken by a single medical provider—for example, a
|
301
|
-
# doctor dictating notes about a patient's blood test results.
|
302
|
-
#
|
303
|
-
# For supported features please see [medical models
|
304
|
-
# documentation](https://cloud.google.com/speech-to-text/docs/medical-models).
|
305
|
-
#
|
306
|
-
# - `usm`
|
307
|
-
#
|
308
|
-
# The next generation of Speech-to-Text models from Google.
|
266
|
+
# Guidance for choosing which model to use can be found in the [Transcription
|
267
|
+
# Models
|
268
|
+
# Documentation](https://cloud.google.com/speech-to-text/v2/docs/transcription-model)
|
269
|
+
# and the models supported in each region can be found in the [Table Of
|
270
|
+
# Supported
|
271
|
+
# Models](https://cloud.google.com/speech-to-text/v2/docs/speech-to-text-supported-languages).
|
309
272
|
# @!attribute [rw] language_codes
|
310
273
|
# @return [::Array<::String>]
|
311
274
|
# Required. The language of the supplied audio as a
|
312
275
|
# [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
|
313
276
|
#
|
314
|
-
# Supported languages for each model are listed
|
315
|
-
# https://cloud.google.com/speech-to-text/docs/languages
|
277
|
+
# Supported languages for each model are listed in the [Table of Supported
|
278
|
+
# Models](https://cloud.google.com/speech-to-text/v2/docs/speech-to-text-supported-languages).
|
316
279
|
#
|
317
280
|
# If additional languages are provided, recognition result will contain
|
318
281
|
# recognition in the most likely language detected. The recognition result
|
@@ -922,9 +885,23 @@ module Google
|
|
922
885
|
# @!attribute [rw] recognition_output_config
|
923
886
|
# @return [::Google::Cloud::Speech::V2::RecognitionOutputConfig]
|
924
887
|
# Configuration options for where to output the transcripts of each file.
|
888
|
+
# @!attribute [rw] processing_strategy
|
889
|
+
# @return [::Google::Cloud::Speech::V2::BatchRecognizeRequest::ProcessingStrategy]
|
890
|
+
# Processing strategy to use for this request.
|
925
891
|
class BatchRecognizeRequest
|
926
892
|
include ::Google::Protobuf::MessageExts
|
927
893
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
894
|
+
|
895
|
+
# Possible processing strategies for batch requests.
|
896
|
+
module ProcessingStrategy
|
897
|
+
# Default value for the processing strategy. The request is processed as
|
898
|
+
# soon as its received.
|
899
|
+
PROCESSING_STRATEGY_UNSPECIFIED = 0
|
900
|
+
|
901
|
+
# If selected, processes the request during lower utilization periods for a
|
902
|
+
# price discount. The request is fulfilled within 24 hours.
|
903
|
+
DYNAMIC_BATCHING = 1
|
904
|
+
end
|
928
905
|
end
|
929
906
|
|
930
907
|
# Output configurations for Cloud Storage.
|
@@ -1528,10 +1505,10 @@ module Google
|
|
1528
1505
|
# expected format is `projects/{project}/locations/{location}`.
|
1529
1506
|
# @!attribute [rw] page_size
|
1530
1507
|
# @return [::Integer]
|
1531
|
-
# Number of results per requests. A valid page_size ranges from 0 to
|
1508
|
+
# Number of results per requests. A valid page_size ranges from 0 to 100
|
1532
1509
|
# inclusive. If the page_size is zero or unspecified, a page size of 5 will
|
1533
|
-
# be chosen. If the page size exceeds
|
1534
|
-
# that a call might return fewer results than the requested page size.
|
1510
|
+
# be chosen. If the page size exceeds 100, it will be coerced down to 100.
|
1511
|
+
# Note that a call might return fewer results than the requested page size.
|
1535
1512
|
# @!attribute [rw] page_token
|
1536
1513
|
# @return [::String]
|
1537
1514
|
# A page token, received from a previous
|
@@ -1679,8 +1656,8 @@ module Google
|
|
1679
1656
|
# @!attribute [rw] page_size
|
1680
1657
|
# @return [::Integer]
|
1681
1658
|
# The maximum number of PhraseSets to return. The service may return fewer
|
1682
|
-
# than this value. If unspecified, at most
|
1683
|
-
# The maximum value is
|
1659
|
+
# than this value. If unspecified, at most 5 PhraseSets will be returned.
|
1660
|
+
# The maximum value is 100; values above 100 will be coerced to 100.
|
1684
1661
|
# @!attribute [rw] page_token
|
1685
1662
|
# @return [::String]
|
1686
1663
|
# A page token, received from a previous
|
@@ -43,8 +43,12 @@ module Google
|
|
43
43
|
# if (any.is(Foo.class)) {
|
44
44
|
# foo = any.unpack(Foo.class);
|
45
45
|
# }
|
46
|
+
# // or ...
|
47
|
+
# if (any.isSameTypeAs(Foo.getDefaultInstance())) {
|
48
|
+
# foo = any.unpack(Foo.getDefaultInstance());
|
49
|
+
# }
|
46
50
|
#
|
47
|
-
#
|
51
|
+
# Example 3: Pack and unpack a message in Python.
|
48
52
|
#
|
49
53
|
# foo = Foo(...)
|
50
54
|
# any = Any()
|
@@ -54,7 +58,7 @@ module Google
|
|
54
58
|
# any.Unpack(foo)
|
55
59
|
# ...
|
56
60
|
#
|
57
|
-
#
|
61
|
+
# Example 4: Pack and unpack a message in Go
|
58
62
|
#
|
59
63
|
# foo := &pb.Foo{...}
|
60
64
|
# any, err := anypb.New(foo)
|
@@ -73,9 +77,8 @@ module Google
|
|
73
77
|
# in the type URL, for example "foo.bar.com/x/y.z" will yield type
|
74
78
|
# name "y.z".
|
75
79
|
#
|
76
|
-
#
|
77
80
|
# JSON
|
78
|
-
#
|
81
|
+
# ====
|
79
82
|
# The JSON representation of an `Any` value uses the regular
|
80
83
|
# representation of the deserialized, embedded message, with an
|
81
84
|
# additional field `@type` which contains the type URL. Example:
|
@@ -69,7 +69,6 @@ module Google
|
|
69
69
|
# Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
|
70
70
|
# .setNanos((int) ((millis % 1000) * 1000000)).build();
|
71
71
|
#
|
72
|
-
#
|
73
72
|
# Example 5: Compute Timestamp from Java `Instant.now()`.
|
74
73
|
#
|
75
74
|
# Instant now = Instant.now();
|
@@ -78,7 +77,6 @@ module Google
|
|
78
77
|
# Timestamp.newBuilder().setSeconds(now.getEpochSecond())
|
79
78
|
# .setNanos(now.getNano()).build();
|
80
79
|
#
|
81
|
-
#
|
82
80
|
# Example 6: Compute Timestamp from current time in Python.
|
83
81
|
#
|
84
82
|
# timestamp = Timestamp()
|
@@ -108,7 +106,7 @@ module Google
|
|
108
106
|
# [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
|
109
107
|
# the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
|
110
108
|
# the Joda Time's [`ISODateTimeFormat.dateTime()`](
|
111
|
-
# http://
|
109
|
+
# http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
|
112
110
|
# ) to obtain a formatter capable of generating timestamps in this format.
|
113
111
|
# @!attribute [rw] seconds
|
114
112
|
# @return [::Integer]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-speech-v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.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: 2023-
|
11
|
+
date: 2023-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.19.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.19.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|