RecognitionAudio Stay organized with collections Save and categorize content based on your preferences.
Contains audio data in the encoding specified in theRecognitionConfig. Eithercontent oruri must be supplied. Supplying both or neither returnsgoogle.rpc.Code.INVALID_ARGUMENT. Seecontent limits.
| JSON representation |
|---|
{// Union field |
| Fields | |
|---|---|
Union fieldaudio_source. The audio source, which is either inline content or a Google Cloud Storage uri.audio_source can be only one of the following: | |
content |
The audio data bytes encoded as specified in A base64-encoded string. |
uri |
URI that points to a file that contains audio data bytes as specified in |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-23 UTC.