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

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
Name Description
other SpeechAdaptationTypesAdaptationPhraseSet

Properties

HasPhraseSet

public bool HasPhraseSet { get; }

Gets whether the "phrase_set" field is set

Property Value
Type Description
bool

InlinePhraseSet

public PhraseSet InlinePhraseSet { get; set; }

An inline defined PhraseSet.

Property Value
Type Description
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
Type Description
string

PhraseSetAsPhraseSetName

public PhraseSetName PhraseSetAsPhraseSetName { get; set; }

PhraseSetName-typed view over the PhraseSet resource name property.

Property Value
Type Description
PhraseSetName

ValueCase

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