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, covering versions from 2.2.0 up to the latest 3.8.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSpeakerDiarizationConfig\u003c/code\u003e class is used to enable speaker detection in speech recognition results, providing information about which speaker spoke each word.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eSpeakerDiarizationConfig\u003c/code\u003e class include \u003ccode\u003eEnableSpeakerDiarization\u003c/code\u003e to activate speaker detection, \u003ccode\u003eMaxSpeakerCount\u003c/code\u003e and \u003ccode\u003eMinSpeakerCount\u003c/code\u003e to define the expected number of speakers, and a deprecated \u003ccode\u003eSpeakerTag\u003c/code\u003e field.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from various interfaces, such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and it includes constructors for creating new instances and copying existing ones.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for this class is \u003ccode\u003eGoogle.Cloud.Speech.V1\u003c/code\u003e, and it is part of the \u003ccode\u003eGoogle.Cloud.Speech.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]