Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InputAudioConfig
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InputAudioConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb
Instance Attribute Summary collapse
-
#audio_encoding ⇒ String
Corresponds to the JSON property
audioEncoding. -
#barge_in_config ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BargeInConfig
Corresponds to the JSON property
bargeInConfig. -
#default_no_speech_timeout ⇒ String
Corresponds to the JSON property
defaultNoSpeechTimeout. -
#disable_no_speech_recognized_event ⇒ Boolean
(also: #disable_no_speech_recognized_event?)
Corresponds to the JSON property
disableNoSpeechRecognizedEvent. -
#enable_automatic_punctuation ⇒ Boolean
(also: #enable_automatic_punctuation?)
Corresponds to the JSON property
enableAutomaticPunctuation. -
#enable_word_info ⇒ Boolean
(also: #enable_word_info?)
Corresponds to the JSON property
enableWordInfo. -
#language_code ⇒ String
Corresponds to the JSON property
languageCode. -
#model ⇒ String
Corresponds to the JSON property
model. -
#model_variant ⇒ String
Corresponds to the JSON property
modelVariant. -
#opt_out_conformer_model_migration ⇒ Boolean
(also: #opt_out_conformer_model_migration?)
Corresponds to the JSON property
optOutConformerModelMigration. -
#phrase_hints ⇒ Array<String>
Corresponds to the JSON property
phraseHints. -
#phrase_sets ⇒ Array<String>
Corresponds to the JSON property
phraseSets. -
#sample_rate_hertz ⇒ Fixnum
Corresponds to the JSON property
sampleRateHertz. -
#single_utterance ⇒ Boolean
(also: #single_utterance?)
Corresponds to the JSON property
singleUtterance. -
#speech_contexts ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SpeechContext>
Corresponds to the JSON property
speechContexts.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1InputAudioConfig
constructor
A new instance of GoogleCloudDialogflowV2beta1InputAudioConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1InputAudioConfig
Returns a new instance of GoogleCloudDialogflowV2beta1InputAudioConfig.
15247 15248 15249 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15247 def initialize(**args) update!(**args) end |
Instance Attribute Details
#audio_encoding ⇒ String
Corresponds to the JSON property audioEncoding
15170 15171 15172 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15170 def audio_encoding @audio_encoding end |
#barge_in_config ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BargeInConfig
Corresponds to the JSON property bargeInConfig
15175 15176 15177 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15175 def @barge_in_config end |
#default_no_speech_timeout ⇒ String
Corresponds to the JSON property defaultNoSpeechTimeout
15180 15181 15182 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15180 def default_no_speech_timeout @default_no_speech_timeout end |
#disable_no_speech_recognized_event ⇒ Boolean Also known as: disable_no_speech_recognized_event?
Corresponds to the JSON property disableNoSpeechRecognizedEvent
15185 15186 15187 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15185 def disable_no_speech_recognized_event @disable_no_speech_recognized_event end |
#enable_automatic_punctuation ⇒ Boolean Also known as: enable_automatic_punctuation?
Corresponds to the JSON property enableAutomaticPunctuation
15191 15192 15193 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15191 def enable_automatic_punctuation @enable_automatic_punctuation end |
#enable_word_info ⇒ Boolean Also known as: enable_word_info?
Corresponds to the JSON property enableWordInfo
15197 15198 15199 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15197 def enable_word_info @enable_word_info end |
#language_code ⇒ String
Corresponds to the JSON property languageCode
15203 15204 15205 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15203 def language_code @language_code end |
#model ⇒ String
Corresponds to the JSON property model
15208 15209 15210 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15208 def model @model end |
#model_variant ⇒ String
Corresponds to the JSON property modelVariant
15213 15214 15215 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15213 def model_variant @model_variant end |
#opt_out_conformer_model_migration ⇒ Boolean Also known as: opt_out_conformer_model_migration?
Corresponds to the JSON property optOutConformerModelMigration
15218 15219 15220 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15218 def opt_out_conformer_model_migration @opt_out_conformer_model_migration end |
#phrase_hints ⇒ Array<String>
Corresponds to the JSON property phraseHints
15224 15225 15226 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15224 def phrase_hints @phrase_hints end |
#phrase_sets ⇒ Array<String>
Corresponds to the JSON property phraseSets
15229 15230 15231 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15229 def phrase_sets @phrase_sets end |
#sample_rate_hertz ⇒ Fixnum
Corresponds to the JSON property sampleRateHertz
15234 15235 15236 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15234 def sample_rate_hertz @sample_rate_hertz end |
#single_utterance ⇒ Boolean Also known as: single_utterance?
Corresponds to the JSON property singleUtterance
15239 15240 15241 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15239 def single_utterance @single_utterance end |
#speech_contexts ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SpeechContext>
Corresponds to the JSON property speechContexts
15245 15246 15247 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15245 def speech_contexts @speech_contexts end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
15252 15253 15254 15255 15256 15257 15258 15259 15260 15261 15262 15263 15264 15265 15266 15267 15268 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15252 def update!(**args) @audio_encoding = args[:audio_encoding] if args.key?(:audio_encoding) @barge_in_config = args[:barge_in_config] if args.key?(:barge_in_config) @default_no_speech_timeout = args[:default_no_speech_timeout] if args.key?(:default_no_speech_timeout) @disable_no_speech_recognized_event = args[:disable_no_speech_recognized_event] if args.key?(:disable_no_speech_recognized_event) @enable_automatic_punctuation = args[:enable_automatic_punctuation] if args.key?(:enable_automatic_punctuation) @enable_word_info = args[:enable_word_info] if args.key?(:enable_word_info) @language_code = args[:language_code] if args.key?(:language_code) @model = args[:model] if args.key?(:model) @model_variant = args[:model_variant] if args.key?(:model_variant) @opt_out_conformer_model_migration = args[:opt_out_conformer_model_migration] if args.key?(:opt_out_conformer_model_migration) @phrase_hints = args[:phrase_hints] if args.key?(:phrase_hints) @phrase_sets = args[:phrase_sets] if args.key?(:phrase_sets) @sample_rate_hertz = args[:sample_rate_hertz] if args.key?(:sample_rate_hertz) @single_utterance = args[:single_utterance] if args.key?(:single_utterance) @speech_contexts = args[:speech_contexts] if args.key?(:speech_contexts) end |