Cloud Speech-to-Text v2 API - Class SpeechAdaptation.Types.AdaptationPhraseSet (1.0.0-beta08)

public sealed class SpeechAdaptation.Types.AdaptationPhraseSet : IMessage<SpeechAdaptation.Types.AdaptationPhraseSet>, IEquatable<SpeechAdaptation.Types.AdaptationPhraseSet>, IDeepCloneable<SpeechAdaptation.Types.AdaptationPhraseSet>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Speech-to-Text v2 API class SpeechAdaptation.Types.AdaptationPhraseSet.

A biasing PhraseSet, which can be either a string referencing the name of an existing PhraseSets resource, or an inline definition of a PhraseSet.

Inheritance

object > SpeechAdaptation.Types.AdaptationPhraseSet

Namespace

Google.Cloud.Speech.V2

Assembly

Google.Cloud.Speech.V2.dll

Constructors

AdaptationPhraseSet()

public AdaptationPhraseSet()

AdaptationPhraseSet(AdaptationPhraseSet)

public AdaptationPhraseSet(SpeechAdaptation.Types.AdaptationPhraseSet other)
Parameter
NameDescription
otherSpeechAdaptationTypesAdaptationPhraseSet

Properties

HasPhraseSet

public bool HasPhraseSet { get; }

Gets whether the "phrase_set" field is set

Property Value
TypeDescription
bool

InlinePhraseSet

public PhraseSet InlinePhraseSet { get; set; }

An inline defined PhraseSet.

Property Value
TypeDescription
PhraseSet

PhraseSet

public string PhraseSet { get; set; }

The name of an existing PhraseSet resource. The user must have read access to the resource and it must not be deleted.

Property Value
TypeDescription
string

ValueCase

public SpeechAdaptation.Types.AdaptationPhraseSet.ValueOneofCase ValueCase { get; }
Property Value
TypeDescription
SpeechAdaptationTypesAdaptationPhraseSetValueOneofCase