Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1MatchIntentRequest

Inherits:
Object
  • Object
show all
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

Overview

Request of MatchIntent.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1MatchIntentRequest

Returns a new instance of GoogleCloudDialogflowCxV3beta1MatchIntentRequest.



10021
10022
10023
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10021

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

Instance Attribute Details

#persist_parameter_changesBoolean Also known as: persist_parameter_changes?

Persist session parameter changes from query_params. Corresponds to the JSON property persistParameterChanges

Returns:

  • (Boolean)


10004
10005
10006
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10004

def persist_parameter_changes
  @persist_parameter_changes
end

#query_inputGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryInput

Represents the query input. It can contain one of: 1. A conversational query in the form of text. 2. An intent query that specifies which intent to trigger.

  1. Natural language speech audio to be processed. 4. An event to be triggered.
  2. DTMF digits to invoke an intent and fill in parameter value. 6. The results of a tool executed by the client. Corresponds to the JSON property queryInput


10014
10015
10016
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10014

def query_input
  @query_input
end

#query_paramsGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryParameters

Represents the parameters of a conversational query. Corresponds to the JSON property queryParams



10019
10020
10021
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10019

def query_params
  @query_params
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10026
10027
10028
10029
10030
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10026

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