lib/google/cloud/speech/v1/cloud_speech_pb.rb in google-cloud-speech-0.30.1 vs lib/google/cloud/speech/v1/cloud_speech_pb.rb in google-cloud-speech-0.31.0
- old
+ new
@@ -1,14 +1,16 @@
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/cloud/speech/v1/cloud_speech.proto
+
require 'google/protobuf'
require 'google/api/annotations_pb'
require 'google/longrunning/operations_pb'
require 'google/protobuf/any_pb'
require 'google/protobuf/duration_pb'
+require 'google/protobuf/empty_pb'
require 'google/protobuf/timestamp_pb'
require 'google/rpc/status_pb'
Google::Protobuf::DescriptorPool.generated_pool.build do
add_message "google.cloud.speech.v1.RecognizeRequest" do
optional :config, :message, 1, "google.cloud.speech.v1.RecognitionConfig"
@@ -35,9 +37,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
+ optional :enable_automatic_punctuation, :bool, 11
+ optional :model, :string, 13
+ optional :use_enhanced, :bool, 14
end
add_enum "google.cloud.speech.v1.RecognitionConfig.AudioEncoding" do
value :ENCODING_UNSPECIFIED, 0
value :LINEAR16, 1
value :FLAC, 2