lib/google/cloud/speech/v1/cloud_speech_pb.rb in google-cloud-speech-0.32.0 vs lib/google/cloud/speech/v1/cloud_speech_pb.rb in google-cloud-speech-0.33.0
- old
+ new
@@ -32,10 +32,11 @@
optional :interim_results, :bool, 3
end
add_message "google.cloud.speech.v1.RecognitionConfig" do
optional :encoding, :enum, 1, "google.cloud.speech.v1.RecognitionConfig.AudioEncoding"
optional :sample_rate_hertz, :int32, 2
+ optional :enable_separate_recognition_per_channel, :bool, 12
optional :language_code, :string, 3
optional :max_alternatives, :int32, 4
optional :profanity_filter, :bool, 5
repeated :speech_contexts, :message, 6, "google.cloud.speech.v1.SpeechContext"
optional :enable_word_time_offsets, :bool, 8
@@ -84,12 +85,14 @@
end
add_message "google.cloud.speech.v1.StreamingRecognitionResult" do
repeated :alternatives, :message, 1, "google.cloud.speech.v1.SpeechRecognitionAlternative"
optional :is_final, :bool, 2
optional :stability, :float, 3
+ optional :channel_tag, :int32, 5
end
add_message "google.cloud.speech.v1.SpeechRecognitionResult" do
repeated :alternatives, :message, 1, "google.cloud.speech.v1.SpeechRecognitionAlternative"
+ optional :channel_tag, :int32, 2
end
add_message "google.cloud.speech.v1.SpeechRecognitionAlternative" do
optional :transcript, :string, 1
optional :confidence, :float, 2
repeated :words, :message, 3, "google.cloud.speech.v1.WordInfo"