Cloud Speech-to-Text V1 API - Class Google::Cloud::Speech::V1::RecognitionMetadata (v0.13.0)

Reference documentation and code samples for the Cloud Speech-to-Text V1 API class Google::Cloud::Speech::V1::RecognitionMetadata.

Description of audio data to be recognized.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#audio_topic

def audio_topic() -> ::String
Returns
  • (::String) — Description of the content. Eg. "Recordings of federal supreme court hearings from 2012".

#audio_topic=

def audio_topic=(value) -> ::String
Parameter
  • value (::String) — Description of the content. Eg. "Recordings of federal supreme court hearings from 2012".
Returns
  • (::String) — Description of the content. Eg. "Recordings of federal supreme court hearings from 2012".

#industry_naics_code_of_audio

def industry_naics_code_of_audio() -> ::Integer
Returns
  • (::Integer) — The industry vertical to which this speech recognition request most closely applies. This is most indicative of the topics contained in the audio. Use the 6-digit NAICS code to identify the industry vertical - see https://www.naics.com/search/.

#industry_naics_code_of_audio=

def industry_naics_code_of_audio=(value) -> ::Integer
Parameter
  • value (::Integer) — The industry vertical to which this speech recognition request most closely applies. This is most indicative of the topics contained in the audio. Use the 6-digit NAICS code to identify the industry vertical - see https://www.naics.com/search/.
Returns
  • (::Integer) — The industry vertical to which this speech recognition request most closely applies. This is most indicative of the topics contained in the audio. Use the 6-digit NAICS code to identify the industry vertical - see https://www.naics.com/search/.

#interaction_type

def interaction_type() -> ::Google::Cloud::Speech::V1::RecognitionMetadata::InteractionType
Returns

#interaction_type=

def interaction_type=(value) -> ::Google::Cloud::Speech::V1::RecognitionMetadata::InteractionType
Parameter
Returns

#microphone_distance

def microphone_distance() -> ::Google::Cloud::Speech::V1::RecognitionMetadata::MicrophoneDistance
Returns

#microphone_distance=

def microphone_distance=(value) -> ::Google::Cloud::Speech::V1::RecognitionMetadata::MicrophoneDistance
Parameter
Returns

#original_media_type

def original_media_type() -> ::Google::Cloud::Speech::V1::RecognitionMetadata::OriginalMediaType
Returns

#original_media_type=

def original_media_type=(value) -> ::Google::Cloud::Speech::V1::RecognitionMetadata::OriginalMediaType
Parameter
Returns

#original_mime_type

def original_mime_type() -> ::String
Returns
  • (::String) — Mime type of the original audio file. For example audio/m4a, audio/x-alaw-basic, audio/mp3, audio/3gpp. A list of possible audio mime types is maintained at http://www.iana.org/assignments/media-types/media-types.xhtml#audio

#original_mime_type=

def original_mime_type=(value) -> ::String
Parameter
  • value (::String) — Mime type of the original audio file. For example audio/m4a, audio/x-alaw-basic, audio/mp3, audio/3gpp. A list of possible audio mime types is maintained at http://www.iana.org/assignments/media-types/media-types.xhtml#audio
Returns
  • (::String) — Mime type of the original audio file. For example audio/m4a, audio/x-alaw-basic, audio/mp3, audio/3gpp. A list of possible audio mime types is maintained at http://www.iana.org/assignments/media-types/media-types.xhtml#audio

#recording_device_name

def recording_device_name() -> ::String
Returns
  • (::String) — The device used to make the recording. Examples 'Nexus 5X' or 'Polycom SoundStation IP 6000' or 'POTS' or 'VoIP' or 'Cardioid Microphone'.

#recording_device_name=

def recording_device_name=(value) -> ::String
Parameter
  • value (::String) — The device used to make the recording. Examples 'Nexus 5X' or 'Polycom SoundStation IP 6000' or 'POTS' or 'VoIP' or 'Cardioid Microphone'.
Returns
  • (::String) — The device used to make the recording. Examples 'Nexus 5X' or 'Polycom SoundStation IP 6000' or 'POTS' or 'VoIP' or 'Cardioid Microphone'.

#recording_device_type

def recording_device_type() -> ::Google::Cloud::Speech::V1::RecognitionMetadata::RecordingDeviceType
Returns

#recording_device_type=

def recording_device_type=(value) -> ::Google::Cloud::Speech::V1::RecognitionMetadata::RecordingDeviceType
Parameter
Returns