Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings

Inherits:
Object
  • Object
show all
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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings

Returns a new instance of GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings.



9858
9859
9860
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9858

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#endpointer_sensitivityFixnum

Corresponds to the JSON property endpointerSensitivity

Returns:

  • (Fixnum)


9840
9841
9842
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9840

def endpointer_sensitivity
  @endpointer_sensitivity
end

#modelsHash<String,String>

Corresponds to the JSON property models

Returns:

  • (Hash<String,String>)


9845
9846
9847
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9845

def models
  @models
end

#no_speech_timeoutString

Corresponds to the JSON property noSpeechTimeout

Returns:

  • (String)


9850
9851
9852
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9850

def no_speech_timeout
  @no_speech_timeout
end

#use_timeout_based_endpointingBoolean Also known as: use_timeout_based_endpointing?

Corresponds to the JSON property useTimeoutBasedEndpointing

Returns:

  • (Boolean)


9855
9856
9857
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9855

def use_timeout_based_endpointing
  @use_timeout_based_endpointing
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9863
9864
9865
9866
9867
9868
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9863

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