Class: Google::Cloud::Speech::V1p1beta1::StreamingRecognizeRequest
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Cloud::Speech::V1p1beta1::StreamingRecognizeRequest
 
 
- Defined in:
 - lib/google/cloud/speech/v1p1beta1/doc/google/cloud/speech/v1p1beta1/cloud_speech.rb
 
Overview
The top-level message sent by the client for the +StreamingRecognize+ method. Multiple +StreamingRecognizeRequest+ messages are sent. The first message must contain a +streaming_config+ message and must not contain +audio+ data. All subsequent messages must contain +audio+ data and must not contain a +streaming_config+ message.
Instance Attribute Summary collapse
- 
  
    
      #audio_content  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The audio data to be recognized.
 - 
  
    
      #streaming_config  ⇒ Google::Cloud::Speech::V1p1beta1::StreamingRecognitionConfig 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Provides information to the recognizer that specifies how to process the request.
 
Instance Attribute Details
#audio_content ⇒ String
Returns The audio data to be recognized. Sequential chunks of audio data are sent in sequential +StreamingRecognizeRequest+ messages. The first +StreamingRecognizeRequest+ message must not contain +audio_content+ data and all subsequent +StreamingRecognizeRequest+ messages must contain +audio_content+ data. The audio bytes must be encoded as specified in +RecognitionConfig+. Note: as with all bytes fields, protobuffers use a pure binary representation (not base64). See audio limits.
      61  | 
    
      # File 'lib/google/cloud/speech/v1p1beta1/doc/google/cloud/speech/v1p1beta1/cloud_speech.rb', line 61 class StreamingRecognizeRequest; end  | 
  
#streaming_config ⇒ Google::Cloud::Speech::V1p1beta1::StreamingRecognitionConfig
Returns Provides information to the recognizer that specifies how to process the request. The first +StreamingRecognizeRequest+ message must contain a +streaming_config+ message.
      61  | 
    
      # File 'lib/google/cloud/speech/v1p1beta1/doc/google/cloud/speech/v1p1beta1/cloud_speech.rb', line 61 class StreamingRecognizeRequest; end  |