public sealed class AdvancedVoiceOptions.Types.SafetySetting : IMessage<AdvancedVoiceOptions.Types.SafetySetting>, IEquatable<AdvancedVoiceOptions.Types.SafetySetting>, IDeepCloneable<AdvancedVoiceOptions.Types.SafetySetting>, IBufferMessage, IMessageReference documentation and code samples for the Google Cloud Text-to-Speech v1beta1 API class AdvancedVoiceOptions.Types.SafetySetting.
Safety setting for a single harm category.
Implements
IMessageAdvancedVoiceOptionsTypesSafetySetting, IEquatableAdvancedVoiceOptionsTypesSafetySetting, IDeepCloneableAdvancedVoiceOptionsTypesSafetySetting, IBufferMessage, IMessageNamespace
Google.Cloud.TextToSpeech.V1Beta1Assembly
Google.Cloud.TextToSpeech.V1Beta1.dll
Constructors
SafetySetting()
public SafetySetting()SafetySetting(SafetySetting)
public SafetySetting(AdvancedVoiceOptions.Types.SafetySetting other)| Parameter | |
|---|---|
| Name | Description |
other |
AdvancedVoiceOptionsTypesSafetySetting |
Properties
Category
public AdvancedVoiceOptions.Types.HarmCategory Category { get; set; }The harm category to apply the safety setting to.
| Property Value | |
|---|---|
| Type | Description |
AdvancedVoiceOptionsTypesHarmCategory |
|
Threshold
public AdvancedVoiceOptions.Types.HarmBlockThreshold Threshold { get; set; }The harm block threshold for the safety setting.
| Property Value | |
|---|---|
| Type | Description |
AdvancedVoiceOptionsTypesHarmBlockThreshold |
|