Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2DtmfParameters

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb

Overview

The message in the response that indicates the parameters of DTMF.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2DtmfParameters

Returns a new instance of GoogleCloudDialogflowV2DtmfParameters.



9912
9913
9914
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9912

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

Instance Attribute Details

#accepts_dtmf_inputBoolean Also known as: accepts_dtmf_input?

Indicates whether DTMF input can be handled in the next request. Corresponds to the JSON property acceptsDtmfInput

Returns:

  • (Boolean)


9909
9910
9911
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9909

def accepts_dtmf_input
  @accepts_dtmf_input
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9917
9918
9919
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9917

def update!(**args)
  @accepts_dtmf_input = args[:accepts_dtmf_input] if args.key?(:accepts_dtmf_input)
end