Google Cloud Text-to-Speech v1beta1 API - Class AdvancedVoiceOptions.Types.SafetySetting (2.0.0-beta18)

public sealed class AdvancedVoiceOptions.Types.SafetySetting : IMessage<AdvancedVoiceOptions.Types.SafetySetting>, IEquatable<AdvancedVoiceOptions.Types.SafetySetting>, IDeepCloneable<AdvancedVoiceOptions.Types.SafetySetting>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Text-to-Speech v1beta1 API class AdvancedVoiceOptions.Types.SafetySetting.

Safety setting for a single harm category.

Inheritance

object > AdvancedVoiceOptions.Types.SafetySetting

Namespace

Google.Cloud.TextToSpeech.V1Beta1

Assembly

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