public sealed class StreamingRecognitionFeatures.Types.VoiceActivityTimeout : IMessage<StreamingRecognitionFeatures.Types.VoiceActivityTimeout>, IEquatable<StreamingRecognitionFeatures.Types.VoiceActivityTimeout>, IDeepCloneable<StreamingRecognitionFeatures.Types.VoiceActivityTimeout>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Speech-to-Text v2 API class StreamingRecognitionFeatures.Types.VoiceActivityTimeout.
Events that a timeout can be set on for voice activity.
Duration to timeout the stream after speech ends. If this is set and no
speech is detected in this duration after speech was detected, the server
will close the stream.
Duration to timeout the stream if no speech begins. If this is set and
no speech is detected in this duration at the start of the stream, the
server will close the stream.
[[["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 document provides reference documentation for the \u003ccode\u003eStreamingRecognitionFeatures.Types.VoiceActivityTimeout\u003c/code\u003e class within the Cloud Speech-to-Text v2 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eVoiceActivityTimeout\u003c/code\u003e class is used to set timeouts for voice activity events during streaming recognition.\u003c/p\u003e\n"],["\u003cp\u003eIt offers functionalities such as checking for inheritance, and implements several interfaces including \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"],["\u003cp\u003eKey properties of this class include \u003ccode\u003eSpeechEndTimeout\u003c/code\u003e and \u003ccode\u003eSpeechStartTimeout\u003c/code\u003e, which allow setting duration limits for the end and start of speech.\u003c/p\u003e\n"],["\u003cp\u003eThe class has a constructor that accepts another \u003ccode\u003eVoiceActivityTimeout\u003c/code\u003e object, and a parameterless version, and resides in the \u003ccode\u003eGoogle.Cloud.Speech.V2\u003c/code\u003e namespace.\u003c/p\u003e\n"]]],[],null,[]]