SafetySetting(mapping=None, *, ignore_unknown_fields=False, **kwargs)Safety setting for a single harm category.
Attributes |
|
|---|---|
| Name | Description |
category |
google.cloud.texttospeech_v1.types.AdvancedVoiceOptions.HarmCategory
The harm category to apply the safety setting to. |
threshold |
google.cloud.texttospeech_v1.types.AdvancedVoiceOptions.HarmBlockThreshold
The harm block threshold for the safety setting. |