google_api_speech v0.5.0 GoogleApi.Speech.V1.Model.RecognitionMetadata View Source

Description of audio data to be recognized.

Attributes

  • audioTopic (String.t): Description of the content. Eg. "Recordings of federal supreme court hearings from 2012". Defaults to: null.
  • industryNaicsCodeOfAudio (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/. Defaults to: null.
  • interactionType (String.t): The use case most closely describing the audio content to be recognized. Defaults to: null.

    • Enum - one of [INTERACTION_TYPE_UNSPECIFIED, DISCUSSION, PRESENTATION, PHONE_CALL, VOICEMAIL, PROFESSIONALLY_PRODUCED, VOICE_SEARCH, VOICE_COMMAND, DICTATION]
  • microphoneDistance (String.t): The audio type that most closely describes the audio being recognized. Defaults to: null.

    • Enum - one of [MICROPHONE_DISTANCE_UNSPECIFIED, NEARFIELD, MIDFIELD, FARFIELD]
  • obfuscatedId (String.t): Obfuscated (privacy-protected) ID of the user, to identify number of unique users using the service. Defaults to: null.
  • originalMediaType (String.t): The original media the speech was recorded on. Defaults to: null.

    • Enum - one of [ORIGINAL_MEDIA_TYPE_UNSPECIFIED, AUDIO, VIDEO]
  • originalMimeType (String.t): 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 Defaults to: null.
  • recordingDeviceName (String.t): The device used to make the recording. Examples 'Nexus 5X' or 'Polycom SoundStation IP 6000' or 'POTS' or 'VoIP' or 'Cardioid Microphone'. Defaults to: null.
  • recordingDeviceType (String.t): The type of device the speech was recorded with. Defaults to: null.

    • Enum - one of [RECORDING_DEVICE_TYPE_UNSPECIFIED, SMARTPHONE, PC, PHONE_LINE, VEHICLE, OTHER_OUTDOOR_DEVICE, OTHER_INDOOR_DEVICE]

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.Speech.V1.Model.RecognitionMetadata{
  audioTopic: any(),
  industryNaicsCodeOfAudio: any(),
  interactionType: any(),
  microphoneDistance: any(),
  obfuscatedId: any(),
  originalMediaType: any(),
  originalMimeType: any(),
  recordingDeviceName: any(),
  recordingDeviceType: any()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.