Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb
Overview
Define behaviors of speech to text detection.
Instance Attribute Summary collapse
-
#endpointer_sensitivity ⇒ Fixnum
Sensitivity of the speech model that detects the end of speech.
-
#models ⇒ Hash<String,String>
Mapping from language to Speech-to-Text model.
-
#no_speech_timeout ⇒ String
Timeout before detecting no speech.
-
#use_timeout_based_endpointing ⇒ Boolean
(also: #use_timeout_based_endpointing?)
Use timeout based endpointing, interpreting endpointer sensitivy as seconds of timeout value.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings
constructor
A new instance of GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings
Returns a new instance of GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings.
9013 9014 9015 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9013 def initialize(**args) update!(**args) end |
Instance Attribute Details
#endpointer_sensitivity ⇒ Fixnum
Sensitivity of the speech model that detects the end of speech. Scale from 0
to 100.
Corresponds to the JSON property endpointerSensitivity
8991 8992 8993 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8991 def endpointer_sensitivity @endpointer_sensitivity end |
#models ⇒ Hash<String,String>
Mapping from language to Speech-to-Text model. The mapped Speech-to-Text model
will be selected for requests from its corresponding language. For more
information, see Speech models.
Corresponds to the JSON property models
8999 9000 9001 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8999 def models @models end |
#no_speech_timeout ⇒ String
Timeout before detecting no speech.
Corresponds to the JSON property noSpeechTimeout
9004 9005 9006 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9004 def no_speech_timeout @no_speech_timeout end |
#use_timeout_based_endpointing ⇒ Boolean Also known as: use_timeout_based_endpointing?
Use timeout based endpointing, interpreting endpointer sensitivy as seconds of
timeout value.
Corresponds to the JSON property useTimeoutBasedEndpointing
9010 9011 9012 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9010 def use_timeout_based_endpointing @use_timeout_based_endpointing end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9018 9019 9020 9021 9022 9023 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9018 def update!(**args) @endpointer_sensitivity = args[:endpointer_sensitivity] if args.key?(:endpointer_sensitivity) @models = args[:models] if args.key?(:models) @no_speech_timeout = args[:no_speech_timeout] if args.key?(:no_speech_timeout) @use_timeout_based_endpointing = args[:use_timeout_based_endpointing] if args.key?(:use_timeout_based_endpointing) end |