Cloud Speech-to-Text V1p1beta1 API - Class Google::Cloud::Speech::V1p1beta1::RecognitionMetadata (v0.16.0)

Reference documentation and code samples for the Cloud Speech-to-Text V1p1beta1 API class Google::Cloud::Speech::V1p1beta1::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::V1p1beta1::RecognitionMetadata::InteractionType
Returns

#interaction_type=

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

#microphone_distance

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

#microphone_distance=

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

#obfuscated_id

def obfuscated_id() -> ::Integer
Returns
  • (::Integer) — Obfuscated (privacy-protected) ID of the user, to identify number of unique users using the service.

#obfuscated_id=

def obfuscated_id=(value) -> ::Integer
Parameter
  • value (::Integer) — Obfuscated (privacy-protected) ID of the user, to identify number of unique users using the service.
Returns
  • (::Integer) — Obfuscated (privacy-protected) ID of the user, to identify number of unique users using the service.

#original_media_type

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

#original_media_type=

def original_media_type=(value) -> ::Google::Cloud::Speech::V1p1beta1::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::V1p1beta1::RecognitionMetadata::RecordingDeviceType
Returns

#recording_device_type=

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