Class: Google::Cloud::Speech::V1p1beta1::StreamingRecognitionConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/speech/v1p1beta1/cloud_speech.rb

Overview

Provides information to the recognizer that specifies how to process the request.

Defined Under Namespace

Classes: VoiceActivityTimeout

Instance Attribute Summary collapse

Instance Attribute Details

#config::Google::Cloud::Speech::V1p1beta1::RecognitionConfig



139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
# File 'proto_docs/google/cloud/speech/v1p1beta1/cloud_speech.rb', line 139

class StreamingRecognitionConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Events that a timeout can be set on for voice activity.
  # @!attribute [rw] speech_start_timeout
  #   @return [::Google::Protobuf::Duration]
  #     Duration to timeout the stream if no speech begins.
  # @!attribute [rw] speech_end_timeout
  #   @return [::Google::Protobuf::Duration]
  #     Duration to timeout the stream after speech ends.
  class VoiceActivityTimeout
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#enable_voice_activity_events::Boolean



139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
# File 'proto_docs/google/cloud/speech/v1p1beta1/cloud_speech.rb', line 139

class StreamingRecognitionConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Events that a timeout can be set on for voice activity.
  # @!attribute [rw] speech_start_timeout
  #   @return [::Google::Protobuf::Duration]
  #     Duration to timeout the stream if no speech begins.
  # @!attribute [rw] speech_end_timeout
  #   @return [::Google::Protobuf::Duration]
  #     Duration to timeout the stream after speech ends.
  class VoiceActivityTimeout
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#interim_results::Boolean



139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
# File 'proto_docs/google/cloud/speech/v1p1beta1/cloud_speech.rb', line 139

class StreamingRecognitionConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Events that a timeout can be set on for voice activity.
  # @!attribute [rw] speech_start_timeout
  #   @return [::Google::Protobuf::Duration]
  #     Duration to timeout the stream if no speech begins.
  # @!attribute [rw] speech_end_timeout
  #   @return [::Google::Protobuf::Duration]
  #     Duration to timeout the stream after speech ends.
  class VoiceActivityTimeout
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#single_utterance::Boolean



139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
# File 'proto_docs/google/cloud/speech/v1p1beta1/cloud_speech.rb', line 139

class StreamingRecognitionConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Events that a timeout can be set on for voice activity.
  # @!attribute [rw] speech_start_timeout
  #   @return [::Google::Protobuf::Duration]
  #     Duration to timeout the stream if no speech begins.
  # @!attribute [rw] speech_end_timeout
  #   @return [::Google::Protobuf::Duration]
  #     Duration to timeout the stream after speech ends.
  class VoiceActivityTimeout
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#voice_activity_timeout::Google::Cloud::Speech::V1p1beta1::StreamingRecognitionConfig::VoiceActivityTimeout



139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
# File 'proto_docs/google/cloud/speech/v1p1beta1/cloud_speech.rb', line 139

class StreamingRecognitionConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Events that a timeout can be set on for voice activity.
  # @!attribute [rw] speech_start_timeout
  #   @return [::Google::Protobuf::Duration]
  #     Duration to timeout the stream if no speech begins.
  # @!attribute [rw] speech_end_timeout
  #   @return [::Google::Protobuf::Duration]
  #     Duration to timeout the stream after speech ends.
  class VoiceActivityTimeout
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end