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 documentation provides details for the \u003ccode\u003eStreamingRecognitionFeatures.Types.VoiceActivityTimeout\u003c/code\u003e class within the Cloud Speech-to-Text v2 API, which manages timeout events for voice activity.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eVoiceActivityTimeout\u003c/code\u003e class is part of the \u003ccode\u003eGoogle.Cloud.Speech.V2\u003c/code\u003e namespace and is implemented with 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\u003eIt allows for setting two types of timeouts: \u003ccode\u003eSpeechEndTimeout\u003c/code\u003e, which ends the stream after a set duration of no detected speech following speech detection, and \u003ccode\u003eSpeechStartTimeout\u003c/code\u003e, which ends the stream if no speech is detected at the beginning of the stream within the set duration.\u003c/p\u003e\n"],["\u003cp\u003eThe class features two constructors: a default one and one that accepts another \u003ccode\u003eVoiceActivityTimeout\u003c/code\u003e object for copying its values.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation includes links to available versions, from version 1.0.0 to the latest version, 1.4.0, of the related APIs.\u003c/p\u003e\n"]]],[],null,[]]