Cloud Text-to-Speech V1 API - Module Google::Cloud::TextToSpeech::V1::AdvancedVoiceOptions::HarmCategory (v1.17.0)

Reference documentation and code samples for the Cloud Text-to-Speech V1 API module Google::Cloud::TextToSpeech::V1::AdvancedVoiceOptions::HarmCategory.

Harm categories that will block the content.

Constants

HARM_CATEGORY_UNSPECIFIED

value: 0
Default value. This value is unused.

HARM_CATEGORY_HATE_SPEECH

value: 1
Content that promotes violence or incites hatred against individuals or groups based on certain attributes.

HARM_CATEGORY_DANGEROUS_CONTENT

value: 2
Content that promotes, facilitates, or enables dangerous activities.

HARM_CATEGORY_HARASSMENT

value: 3
Abusive, threatening, or content intended to bully, torment, or ridicule.

HARM_CATEGORY_SEXUALLY_EXPLICIT

value: 4
Content that contains sexually explicit material.