Configures speech transcription for ConversationProfile.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#speech_model_variant
def speech_model_variant() -> ::Google::Cloud::Dialogflow::V2::SpeechModelVariant
Returns
-
(::Google::Cloud::Dialogflow::V2::SpeechModelVariant) — Optional. The speech model used in speech to text.
SPEECH_MODEL_VARIANT_UNSPECIFIED
,USE_BEST_AVAILABLE
will be treated asUSE_ENHANCED
. It can be overridden in AnalyzeContentRequest and [StreamingAnalyzeContentRequest][google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest] request.
#speech_model_variant=
def speech_model_variant=(value) -> ::Google::Cloud::Dialogflow::V2::SpeechModelVariant
Parameter
-
value (::Google::Cloud::Dialogflow::V2::SpeechModelVariant) — Optional. The speech model used in speech to text.
SPEECH_MODEL_VARIANT_UNSPECIFIED
,USE_BEST_AVAILABLE
will be treated asUSE_ENHANCED
. It can be overridden in AnalyzeContentRequest and [StreamingAnalyzeContentRequest][google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest] request.
Returns
-
(::Google::Cloud::Dialogflow::V2::SpeechModelVariant) — Optional. The speech model used in speech to text.
SPEECH_MODEL_VARIANT_UNSPECIFIED
,USE_BEST_AVAILABLE
will be treated asUSE_ENHANCED
. It can be overridden in AnalyzeContentRequest and [StreamingAnalyzeContentRequest][google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest] request.