Google Cloud Text-to-Speech v1 API - Class CustomPronunciationParams (3.8.0)

public sealed class CustomPronunciationParams : IMessage<CustomPronunciationParams>, IEquatable<CustomPronunciationParams>, IDeepCloneable<CustomPronunciationParams>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Text-to-Speech v1 API class CustomPronunciationParams.

Pronunciation customization for a phrase.

Inheritance

object > CustomPronunciationParams

Namespace

Google.Cloud.TextToSpeech.V1

Assembly

Google.Cloud.TextToSpeech.V1.dll

Constructors

CustomPronunciationParams()

public CustomPronunciationParams()

CustomPronunciationParams(CustomPronunciationParams)

public CustomPronunciationParams(CustomPronunciationParams other)
Parameter
Name Description
other CustomPronunciationParams

Properties

HasPhoneticEncoding

public bool HasPhoneticEncoding { get; }

Gets whether the "phonetic_encoding" field is set

Property Value
Type Description
bool

HasPhrase

public bool HasPhrase { get; }

Gets whether the "phrase" field is set

Property Value
Type Description
bool

HasPronunciation

public bool HasPronunciation { get; }

Gets whether the "pronunciation" field is set

Property Value
Type Description
bool

PhoneticEncoding

public CustomPronunciationParams.Types.PhoneticEncoding PhoneticEncoding { get; set; }

The phonetic encoding of the phrase.

Property Value
Type Description
CustomPronunciationParamsTypesPhoneticEncoding

Phrase

public string Phrase { get; set; }

The phrase to which the customization will be applied. The phrase can be multiple words (in the case of proper nouns etc), but should not span to a whole sentence.

Property Value
Type Description
string

Pronunciation

public string Pronunciation { get; set; }

The pronunciation of the phrase. This must be in the phonetic encoding specified above.

Property Value
Type Description
string