# Cloud Text-to-Speech V1beta1 API - Module Google::Cloud::TextToSpeech::V1beta1::AdvancedVoiceOptions::HarmCategory (v0.31.0)

0.31.0 (latest) 0.30.0 0.29.0 0.28.0 0.27.1 0.26.0 0.25.0 0.24.0 0.23.0 0.22.0 0.21.0 0.20.1 0.19.0 0.18.0 0.17.0 0.16.0 0.15.2 0.14.0 0.13.2 0.12.1 0.11.1 0.10.1 0.9.1 0.8.0 0.7.1 Reference documentation and code samples for the Cloud Text-to-Speech V1beta1 API module Google::Cloud::TextToSpeech::V1beta1::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.