lib/google/cloud/speech/v1/cloud_speech_pb.rb in google-cloud-speech-v1-0.9.0 vs lib/google/cloud/speech/v1/cloud_speech_pb.rb in google-cloud-speech-v1-0.10.0

- old
+ new

@@ -130,16 +130,20 @@ end end add_message "google.cloud.speech.v1.RecognizeResponse" do repeated :results, :message, 2, "google.cloud.speech.v1.SpeechRecognitionResult" optional :total_billed_time, :message, 3, "google.protobuf.Duration" + optional :speech_adaptation_info, :message, 7, "google.cloud.speech.v1.SpeechAdaptationInfo" + optional :request_id, :int64, 8 end add_message "google.cloud.speech.v1.LongRunningRecognizeResponse" do repeated :results, :message, 2, "google.cloud.speech.v1.SpeechRecognitionResult" optional :total_billed_time, :message, 3, "google.protobuf.Duration" optional :output_config, :message, 6, "google.cloud.speech.v1.TranscriptOutputConfig" optional :output_error, :message, 7, "google.rpc.Status" + optional :speech_adaptation_info, :message, 8, "google.cloud.speech.v1.SpeechAdaptationInfo" + optional :request_id, :int64, 9 end add_message "google.cloud.speech.v1.LongRunningRecognizeMetadata" do optional :progress_percent, :int32, 1 optional :start_time, :message, 2, "google.protobuf.Timestamp" optional :last_update_time, :message, 3, "google.protobuf.Timestamp" @@ -148,10 +152,12 @@ add_message "google.cloud.speech.v1.StreamingRecognizeResponse" do optional :error, :message, 1, "google.rpc.Status" repeated :results, :message, 2, "google.cloud.speech.v1.StreamingRecognitionResult" optional :speech_event_type, :enum, 4, "google.cloud.speech.v1.StreamingRecognizeResponse.SpeechEventType" optional :total_billed_time, :message, 5, "google.protobuf.Duration" + optional :speech_adaptation_info, :message, 9, "google.cloud.speech.v1.SpeechAdaptationInfo" + optional :request_id, :int64, 10 end add_enum "google.cloud.speech.v1.StreamingRecognizeResponse.SpeechEventType" do value :SPEECH_EVENT_UNSPECIFIED, 0 value :END_OF_SINGLE_UTTERANCE, 1 end @@ -179,10 +185,14 @@ optional :end_time, :message, 2, "google.protobuf.Duration" optional :word, :string, 3 optional :confidence, :float, 4 optional :speaker_tag, :int32, 5 end + add_message "google.cloud.speech.v1.SpeechAdaptationInfo" do + optional :adaptation_timeout, :bool, 1 + optional :timeout_message, :string, 4 + end end end module Google module Cloud @@ -210,9 +220,10 @@ StreamingRecognizeResponse::SpeechEventType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.speech.v1.StreamingRecognizeResponse.SpeechEventType").enummodule StreamingRecognitionResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.speech.v1.StreamingRecognitionResult").msgclass SpeechRecognitionResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.speech.v1.SpeechRecognitionResult").msgclass SpeechRecognitionAlternative = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.speech.v1.SpeechRecognitionAlternative").msgclass WordInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.speech.v1.WordInfo").msgclass + SpeechAdaptationInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.speech.v1.SpeechAdaptationInfo").msgclass end end end end