Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1QueryInput
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1QueryInput
- 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_config ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InputAudioConfig
Corresponds to the JSON property
audioConfig. -
#dtmf ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TelephonyDtmfEvents
Corresponds to the JSON property
dtmf. -
#event ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EventInput
Corresponds to the JSON property
event. -
#text ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TextInput
Corresponds to the JSON property
text.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1QueryInput
constructor
A new instance of GoogleCloudDialogflowV2beta1QueryInput.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1QueryInput
Returns a new instance of GoogleCloudDialogflowV2beta1QueryInput.
18413 18414 18415 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18413 def initialize(**args) update!(**args) end |
Instance Attribute Details
#audio_config ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InputAudioConfig
Corresponds to the JSON property audioConfig
18396 18397 18398 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18396 def audio_config @audio_config end |
#dtmf ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TelephonyDtmfEvents
Corresponds to the JSON property dtmf
18401 18402 18403 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18401 def dtmf @dtmf end |
#event ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EventInput
Corresponds to the JSON property event
18406 18407 18408 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18406 def event @event end |
#text ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TextInput
Corresponds to the JSON property text
18411 18412 18413 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18411 def text @text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18418 18419 18420 18421 18422 18423 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18418 def update!(**args) @audio_config = args[:audio_config] if args.key?(:audio_config) @dtmf = args[:dtmf] if args.key?(:dtmf) @event = args[:event] if args.key?(:event) @text = args[:text] if args.key?(:text) end |