Interface protos.google.cloud.texttospeech.v1beta1.AdvancedVoiceOptions.ISafetySetting (7.1.1)

Properties of a SafetySetting.

Package

@google-cloud/text-to-speech

Properties

category

category?: (google.cloud.texttospeech.v1beta1.AdvancedVoiceOptions.HarmCategory|keyof typeof google.cloud.texttospeech.v1beta1.AdvancedVoiceOptions.HarmCategory|null);

SafetySetting category

threshold

threshold?: (google.cloud.texttospeech.v1beta1.AdvancedVoiceOptions.HarmBlockThreshold|keyof typeof google.cloud.texttospeech.v1beta1.AdvancedVoiceOptions.HarmBlockThreshold|null);

SafetySetting threshold