# Class SpeechConfig (0.7.0)

0.7.0 (latest) 0.6.0 0.5.0 0.4.0 0.3.0

    SpeechConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Configuration for Text-to-Speech generation.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `speaking_rate` | `float` Optional. The speaking rate. 1.0 is normal. Lower is slower (e.g., 0.8), higher is faster (e.g., 1.5). Useful for testing how the agent handles fast talkers. |
| `environment` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-ces/latest/google.cloud.ces_v1beta.types.EvaluationPersona.SpeechConfig.BackgroundEnvironment` Optional. The simulated audio environment. |
| `voice_id` | `str` Optional. The specific voice identifier/accent to use. Example: "en-US-Wavenet-D" or "en-GB-Standard-A". |

## Classes

### BackgroundEnvironment

    BackgroundEnvironment(value)

Simulated audio environment.