Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3QueryInput
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3QueryInput
- 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
Instance Attribute Summary collapse
-
#audio ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3AudioInput
Corresponds to the JSON property
audio. -
#dtmf ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3DtmfInput
Corresponds to the JSON property
dtmf. -
#event ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3EventInput
Corresponds to the JSON property
event. -
#intent ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3IntentInput
Corresponds to the JSON property
intent. -
#language_code ⇒ String
Corresponds to the JSON property
languageCode. -
#text ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3TextInput
Corresponds to the JSON property
text. -
#tool_call_result ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ToolCallResult
Corresponds to the JSON property
toolCallResult.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3QueryInput
constructor
A new instance of GoogleCloudDialogflowCxV3QueryInput.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3QueryInput
Returns a new instance of GoogleCloudDialogflowCxV3QueryInput.
1992 1993 1994 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 1992 def initialize(**args) update!(**args) end |
Instance Attribute Details
#audio ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3AudioInput
Corresponds to the JSON property audio
1960 1961 1962 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 1960 def audio @audio end |
#dtmf ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3DtmfInput
Corresponds to the JSON property dtmf
1965 1966 1967 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 1965 def dtmf @dtmf end |
#event ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3EventInput
Corresponds to the JSON property event
1970 1971 1972 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 1970 def event @event end |
#intent ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3IntentInput
Corresponds to the JSON property intent
1975 1976 1977 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 1975 def intent @intent end |
#language_code ⇒ String
Corresponds to the JSON property languageCode
1980 1981 1982 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 1980 def language_code @language_code end |
#text ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3TextInput
Corresponds to the JSON property text
1985 1986 1987 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 1985 def text @text end |
#tool_call_result ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ToolCallResult
Corresponds to the JSON property toolCallResult
1990 1991 1992 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 1990 def tool_call_result @tool_call_result end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1997 1998 1999 2000 2001 2002 2003 2004 2005 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 1997 def update!(**args) @audio = args[:audio] if args.key?(:audio) @dtmf = args[:dtmf] if args.key?(:dtmf) @event = args[:event] if args.key?(:event) @intent = args[:intent] if args.key?(:intent) @language_code = args[:language_code] if args.key?(:language_code) @text = args[:text] if args.key?(:text) @tool_call_result = args[:tool_call_result] if args.key?(:tool_call_result) end |