# Cloud Speech V2 Client - Class AutoDetectDecodingConfig (2.5.1)

2.5.1 (latest) 2.5.0 2.4.0 2.3.0 2.2.1 2.1.1 2.0.1 1.20.1 1.19.2 1.18.3 1.16.0 1.15.0 1.14.3 1.13.1 1.12.0 1.11.2 1.10.0 1.9.1 1.8.0 1.7.0 Reference documentation and code samples for the Cloud Speech V2 Client class AutoDetectDecodingConfig.

Automatically detected decoding parameters.

Supported for the following encodings:

- WAV_LINEAR16: 16-bit signed little-endian PCM samples in a WAV container.
- WAV_MULAW: 8-bit companded mulaw samples in a WAV container.
- WAV_ALAW: 8-bit companded alaw samples in a WAV container.
- RFC4867_5_AMR: AMR frames with an rfc4867.5 header.
- RFC4867_5_AMRWB: AMR-WB frames with an rfc4867.5 header.
- FLAC: FLAC frames in the "native FLAC" container format.
- MP3: MPEG audio frames with optional (ignored) ID3 metadata.
- OGG_OPUS: Opus audio frames in an Ogg container.
- WEBM_OPUS: Opus audio frames in a WebM container.
- MP4_AAC: AAC audio frames in an MP4 container.
- M4A_AAC: AAC audio frames in an M4A container.
- MOV_AAC: AAC audio frames in an MOV container.

Generated from protobuf message `google.cloud.speech.v2.AutoDetectDecodingConfig`

## Namespace

Google \\ Cloud \\ Speech \\ V2

## Methods

### __construct

Constructor.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |