public sealed class SpeakerDiarizationConfig : IMessage<SpeakerDiarizationConfig>, IEquatable<SpeakerDiarizationConfig>, IDeepCloneable<SpeakerDiarizationConfig>, IBufferMessage, IMessage
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_tag 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 details the \u003ccode\u003eSpeakerDiarizationConfig\u003c/code\u003e class, version 2.2.0, used for configuring speaker diarization within the Google Cloud Speech API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSpeakerDiarizationConfig\u003c/code\u003e allows you to enable speaker detection, which tags each word in the recognition result with a speaker identifier.\u003c/p\u003e\n"],["\u003cp\u003eYou can set the minimum and maximum number of speakers expected in the audio using the \u003ccode\u003eMinSpeakerCount\u003c/code\u003e and \u003ccode\u003eMaxSpeakerCount\u003c/code\u003e properties, with default values of 2 and 6, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEnableSpeakerDiarization\u003c/code\u003e boolean property activates speaker detection functionality within the \u003ccode\u003eSpeakerDiarizationConfig\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSpeakerTag\u003c/code\u003e property within \u003ccode\u003eSpeakerDiarizationConfig\u003c/code\u003e is now obsolete and should no longer be used.\u003c/p\u003e\n"]]],[],null,[]]