public sealed class SpeakerDiarizationConfig : IMessage<SpeakerDiarizationConfig>, IEquatable<SpeakerDiarizationConfig>, IDeepCloneable<SpeakerDiarizationConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Speech v1 API class SpeakerDiarizationConfig.
public bool EnableSpeakerDiarization { get; set; }
If 'true', enables speaker detection for each recognized word in
the top alternative of the recognition result using a speaker_label
provided in the WordInfo.
Maximum number of speakers in the conversation. This range gives you more
flexibility by allowing the system to automatically determine the correct
number of speakers. If not set, the default value is 6.
Minimum number of speakers in the conversation. This range gives you more
flexibility by allowing the system to automatically determine the correct
number of speakers. If not set, the default value is 2.
[[["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\u003eThis webpage provides reference documentation for the \u003ccode\u003eSpeakerDiarizationConfig\u003c/code\u003e class within the Google Cloud Speech v1 API for .NET, detailing its functionality for enabling speaker detection in speech recognition results.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003eSpeakerDiarizationConfig\u003c/code\u003e is 3.8.0, and the page lists previous versions back to 2.2.0, with links to the respective documentation for each version.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSpeakerDiarizationConfig\u003c/code\u003e offers properties such as \u003ccode\u003eEnableSpeakerDiarization\u003c/code\u003e, \u003ccode\u003eMaxSpeakerCount\u003c/code\u003e, and \u003ccode\u003eMinSpeakerCount\u003c/code\u003e to configure speaker detection, where these options allow for customization of speaker identification in conversations.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eSpeakerDiarizationConfig\u003c/code\u003e can implement the \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces and inherits from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eTwo constructors are available for the \u003ccode\u003eSpeakerDiarizationConfig\u003c/code\u003e class: a default constructor and one that accepts another \u003ccode\u003eSpeakerDiarizationConfig\u003c/code\u003e instance as a parameter.\u003c/p\u003e\n"]]],[],null,[]]