public sealed class SpeechAdaptation : IMessage<SpeechAdaptation>, IEquatable<SpeechAdaptation>, IDeepCloneable<SpeechAdaptation>, IBufferMessage, IMessage
public RepeatedField<CustomClass> CustomClasses { get; }
A collection of custom classes. To specify the classes inline, leave the
class' name blank and fill in the rest of its fields, giving it a unique
custom_class_id. Refer to the inline defined class in phrase hints by its
custom_class_id.
public RepeatedField<PhraseSet> PhraseSets { get; }
A collection of phrase sets. To specify the hints inline, leave the
phrase set's name blank and fill in the rest of its fields. Any
phrase set can use any custom class.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eSpeechAdaptation\u003c/code\u003e class in version 2.0.0-beta09 is used for configuring speech adaptation within the \u003ccode\u003eGoogle.Cloud.Speech.V1P1Beta1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from \u003ccode\u003eObject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSpeechAdaptation\u003c/code\u003e includes properties like \u003ccode\u003eCustomClasses\u003c/code\u003e, \u003ccode\u003ePhraseSetReferences\u003c/code\u003e, \u003ccode\u003ePhraseSetReferencesAsPhraseSetNames\u003c/code\u003e, and \u003ccode\u003ePhraseSets\u003c/code\u003e, which manage collections of custom classes and phrase sets for speech adaptation.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides two constructors to create instances, either empty or cloned from an existing SpeechAdaptation instance.\u003c/p\u003e\n"],["\u003cp\u003eThere are two versions later than this version on the webpage, \u003ccode\u003e3.0.0-beta07\u003c/code\u003e and \u003ccode\u003e3.0.0-beta08\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]