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 documentation for the \u003ccode\u003eSpeakerDiarizationConfig\u003c/code\u003e class within the Google Cloud Speech v1 API, specifically for version 3.6.0, with links to other versions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSpeakerDiarizationConfig\u003c/code\u003e class is used to configure speaker diarization, which enables the detection of different speakers within an audio stream.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eSpeakerDiarizationConfig\u003c/code\u003e class include \u003ccode\u003eEnableSpeakerDiarization\u003c/code\u003e, \u003ccode\u003eMaxSpeakerCount\u003c/code\u003e, \u003ccode\u003eMinSpeakerCount\u003c/code\u003e, and the deprecated \u003ccode\u003eSpeakerTag\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEnableSpeakerDiarization\u003c/code\u003e property enables or disables speaker detection in the audio, while \u003ccode\u003eMaxSpeakerCount\u003c/code\u003e and \u003ccode\u003eMinSpeakerCount\u003c/code\u003e allow setting the expected number of speakers within a range.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSpeakerDiarizationConfig\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]