Cloud Text-to-Speech V1 API - Module Google::Cloud::TextToSpeech::V1::AdvancedVoiceOptions::HarmBlockThreshold (v1.17.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Cloud Text-to-Speech V1 API module Google::Cloud::TextToSpeech::V1::AdvancedVoiceOptions::HarmBlockThreshold.
Harm block thresholds for the safety settings.
Constants
HARM_BLOCK_THRESHOLD_UNSPECIFIED
value: 0 The harm block threshold is unspecified.
BLOCK_LOW_AND_ABOVE
value: 1 Block content with a low harm probability or higher.
BLOCK_MEDIUM_AND_ABOVE
value: 2 Block content with a medium harm probability or higher.
BLOCK_ONLY_HIGH
value: 3 Block content with a high harm probability.
BLOCK_NONE
value: 4 Do not block any content, regardless of its harm probability.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-04-03 UTC."],[],[]]