Dialogflow CX V3 API - Class Google::Cloud::Dialogflow::CX::V3::AdvancedSettings::DtmfSettings (v0.26.0)

Reference documentation and code samples for the Dialogflow CX V3 API class Google::Cloud::Dialogflow::CX::V3::AdvancedSettings::DtmfSettings.

Define behaviors for DTMF (dual tone multi frequency).

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#enabled

def enabled() -> ::Boolean
Returns
  • (::Boolean) — If true, incoming audio is processed for DTMF (dual tone multi frequency) events. For example, if the caller presses a button on their telephone keypad and DTMF processing is enabled, Dialogflow will detect the event (e.g. a "3" was pressed) in the incoming audio and pass the event to the bot to drive business logic (e.g. when 3 is pressed, return the account balance).

#enabled=

def enabled=(value) -> ::Boolean
Parameter
  • value (::Boolean) — If true, incoming audio is processed for DTMF (dual tone multi frequency) events. For example, if the caller presses a button on their telephone keypad and DTMF processing is enabled, Dialogflow will detect the event (e.g. a "3" was pressed) in the incoming audio and pass the event to the bot to drive business logic (e.g. when 3 is pressed, return the account balance).
Returns
  • (::Boolean) — If true, incoming audio is processed for DTMF (dual tone multi frequency) events. For example, if the caller presses a button on their telephone keypad and DTMF processing is enabled, Dialogflow will detect the event (e.g. a "3" was pressed) in the incoming audio and pass the event to the bot to drive business logic (e.g. when 3 is pressed, return the account balance).

#finish_digit

def finish_digit() -> ::String
Returns
  • (::String) — The digit that terminates a DTMF digit sequence.

#finish_digit=

def finish_digit=(value) -> ::String
Parameter
  • value (::String) — The digit that terminates a DTMF digit sequence.
Returns
  • (::String) — The digit that terminates a DTMF digit sequence.

#max_digits

def max_digits() -> ::Integer
Returns
  • (::Integer) — Max length of DTMF digits.

#max_digits=

def max_digits=(value) -> ::Integer
Parameter
  • value (::Integer) — Max length of DTMF digits.
Returns
  • (::Integer) — Max length of DTMF digits.