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.
Implements
IMessageSpeechAdaptationTypesAdaptationPhraseSet, IEquatableSpeechAdaptationTypesAdaptationPhraseSet, IDeepCloneableSpeechAdaptationTypesAdaptationPhraseSet, IBufferMessage, IMessageNamespace
Google.Cloud.Speech.V2Assembly
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 |
ValueCase
public SpeechAdaptation.Types.AdaptationPhraseSet.ValueOneofCase ValueCase { get; }
Property Value | |
---|---|
Type | Description |
SpeechAdaptationTypesAdaptationPhraseSetValueOneofCase |