Cloud Speech-to-Text V1 API - Class Google::Cloud::Speech::V1::SpeechAdaptationInfo (v0.16.2)

Reference documentation and code samples for the Cloud Speech-to-Text V1 API class Google::Cloud::Speech::V1::SpeechAdaptationInfo.

Information on speech adaptation use in results

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#adaptation_timeout

def adaptation_timeout() -> ::Boolean
Returns
  • (::Boolean) — Whether there was a timeout when applying speech adaptation. If true, adaptation had no effect in the response transcript.

#adaptation_timeout=

def adaptation_timeout=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Whether there was a timeout when applying speech adaptation. If true, adaptation had no effect in the response transcript.
Returns
  • (::Boolean) — Whether there was a timeout when applying speech adaptation. If true, adaptation had no effect in the response transcript.

#timeout_message

def timeout_message() -> ::String
Returns
  • (::String) — If set, returns a message specifying which part of the speech adaptation request timed out.

#timeout_message=

def timeout_message=(value) -> ::String
Parameter
  • value (::String) — If set, returns a message specifying which part of the speech adaptation request timed out.
Returns
  • (::String) — If set, returns a message specifying which part of the speech adaptation request timed out.