Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1InputAudioConfig
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1InputAudioConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb
Instance Attribute Summary collapse
-
#audio_encoding ⇒ String
Corresponds to the JSON property
audioEncoding. -
#barge_in_config ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1BargeInConfig
Corresponds to the JSON property
bargeInConfig. -
#enable_word_info ⇒ Boolean
(also: #enable_word_info?)
Corresponds to the JSON property
enableWordInfo. -
#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. -
#sample_rate_hertz ⇒ Fixnum
Corresponds to the JSON property
sampleRateHertz. -
#single_utterance ⇒ Boolean
(also: #single_utterance?)
Corresponds to the JSON property
singleUtterance.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1InputAudioConfig
constructor
A new instance of GoogleCloudDialogflowCxV3beta1InputAudioConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1InputAudioConfig
Returns a new instance of GoogleCloudDialogflowCxV3beta1InputAudioConfig.
8572 8573 8574 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8572 def initialize(**args) update!(**args) end |
Instance Attribute Details
#audio_encoding ⇒ String
Corresponds to the JSON property audioEncoding
8527 8528 8529 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8527 def audio_encoding @audio_encoding end |
#barge_in_config ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1BargeInConfig
Corresponds to the JSON property bargeInConfig
8532 8533 8534 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8532 def @barge_in_config end |
#enable_word_info ⇒ Boolean Also known as: enable_word_info?
Corresponds to the JSON property enableWordInfo
8537 8538 8539 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8537 def enable_word_info @enable_word_info end |
#model ⇒ String
Corresponds to the JSON property model
8543 8544 8545 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8543 def model @model end |
#model_variant ⇒ String
Corresponds to the JSON property modelVariant
8548 8549 8550 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8548 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
8553 8554 8555 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8553 def opt_out_conformer_model_migration @opt_out_conformer_model_migration end |
#phrase_hints ⇒ Array<String>
Corresponds to the JSON property phraseHints
8559 8560 8561 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8559 def phrase_hints @phrase_hints end |
#sample_rate_hertz ⇒ Fixnum
Corresponds to the JSON property sampleRateHertz
8564 8565 8566 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8564 def sample_rate_hertz @sample_rate_hertz end |
#single_utterance ⇒ Boolean Also known as: single_utterance?
Corresponds to the JSON property singleUtterance
8569 8570 8571 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8569 def single_utterance @single_utterance end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8577 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) @enable_word_info = args[:enable_word_info] if args.key?(:enable_word_info) @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) @sample_rate_hertz = args[:sample_rate_hertz] if args.key?(:sample_rate_hertz) @single_utterance = args[:single_utterance] if args.key?(:single_utterance) end |