Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1InputAudioConfig

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) ⇒ GoogleCloudDialogflowCxV3beta1InputAudioConfig

Returns a new instance of GoogleCloudDialogflowCxV3beta1InputAudioConfig.



11209
11210
11211
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11209

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

Instance Attribute Details

#audio_encodingString

Corresponds to the JSON property audioEncoding

Returns:

  • (String)


11164
11165
11166
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11164

def audio_encoding
  @audio_encoding
end

#barge_in_configGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1BargeInConfig

Corresponds to the JSON property bargeInConfig



11169
11170
11171
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11169

def barge_in_config
  @barge_in_config
end

#enable_word_infoBoolean Also known as: enable_word_info?

Corresponds to the JSON property enableWordInfo

Returns:

  • (Boolean)


11174
11175
11176
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11174

def enable_word_info
  @enable_word_info
end

#modelString

Corresponds to the JSON property model

Returns:

  • (String)


11180
11181
11182
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11180

def model
  @model
end

#model_variantString

Corresponds to the JSON property modelVariant

Returns:

  • (String)


11185
11186
11187
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11185

def model_variant
  @model_variant
end

#opt_out_conformer_model_migrationBoolean Also known as: opt_out_conformer_model_migration?

Corresponds to the JSON property optOutConformerModelMigration

Returns:

  • (Boolean)


11190
11191
11192
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11190

def opt_out_conformer_model_migration
  @opt_out_conformer_model_migration
end

#phrase_hintsArray<String>

Corresponds to the JSON property phraseHints

Returns:

  • (Array<String>)


11196
11197
11198
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11196

def phrase_hints
  @phrase_hints
end

#sample_rate_hertzFixnum

Corresponds to the JSON property sampleRateHertz

Returns:

  • (Fixnum)


11201
11202
11203
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11201

def sample_rate_hertz
  @sample_rate_hertz
end

#single_utteranceBoolean Also known as: single_utterance?

Corresponds to the JSON property singleUtterance

Returns:

  • (Boolean)


11206
11207
11208
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11206

def single_utterance
  @single_utterance
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11214

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