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_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\u003eThe \u003ccode\u003eSpeakerDiarizationConfig\u003c/code\u003e class in the Google Cloud Speech v1 API is used to configure speaker diarization, which enables speaker detection for each word in the recognition result.\u003c/p\u003e\n"],["\u003cp\u003eThis class is available in multiple versions, from 2.2.0 to the latest 3.8.0, with each version providing access to the \u003ccode\u003eSpeakerDiarizationConfig\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eSpeakerDiarizationConfig\u003c/code\u003e include \u003ccode\u003eEnableSpeakerDiarization\u003c/code\u003e to turn on speaker detection, as well as \u003ccode\u003eMaxSpeakerCount\u003c/code\u003e and \u003ccode\u003eMinSpeakerCount\u003c/code\u003e to define the range of speakers expected in a conversation, with default values of 6 and 2 respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe class is implemented using IMessage, IEquatable, IDeepCloneable, and IBufferMessage, and inherits members from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThere is an obsolete property \u003ccode\u003eSpeakerTag\u003c/code\u003e that is considered output only, and will not be used.\u003c/p\u003e\n"]]],[],null,[]]