VoiceConsentRequest

data class VoiceConsentRequest(val name: String, val language: String, val recording: FileSource, val mediaType: String? = null)

Uploads a consent recording containing the speaker's required consent phrase.

Constructors

Link copied to clipboard
constructor(name: String, language: String, recording: FileSource, mediaType: String? = null)

Properties

Link copied to clipboard

BCP 47 language tag of the consent phrase, such as en-US.

Link copied to clipboard
val mediaType: String? = null

Audio MIME type; inferred from the filename when omitted. Codec parameters are removed.

Link copied to clipboard

Label for this consent recording.

Link copied to clipboard

Consent audio recording, uploaded without changing its bytes.