Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3QueryInput
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3QueryInput
- 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 ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3AudioInput
Corresponds to the JSON property
audio. -
#dtmf ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3DtmfInput
Corresponds to the JSON property
dtmf. -
#event ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3EventInput
Corresponds to the JSON property
event. -
#intent ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3IntentInput
Corresponds to the JSON property
intent. -
#language_code ⇒ String
Corresponds to the JSON property
languageCode. -
#text ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3TextInput
Corresponds to the JSON property
text. -
#tool_call_result ⇒ Google::Apis::DialogflowV2beta1::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.
1986 1987 1988 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1986 def initialize(**args) update!(**args) end |
Instance Attribute Details
#audio ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3AudioInput
Corresponds to the JSON property audio
1954 1955 1956 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1954 def audio @audio end |
#dtmf ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3DtmfInput
Corresponds to the JSON property dtmf
1959 1960 1961 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1959 def dtmf @dtmf end |
#event ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3EventInput
Corresponds to the JSON property event
1964 1965 1966 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1964 def event @event end |
#intent ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3IntentInput
Corresponds to the JSON property intent
1969 1970 1971 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1969 def intent @intent end |
#language_code ⇒ String
Corresponds to the JSON property languageCode
1974 1975 1976 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1974 def language_code @language_code end |
#text ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3TextInput
Corresponds to the JSON property text
1979 1980 1981 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1979 def text @text end |
#tool_call_result ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ToolCallResult
Corresponds to the JSON property toolCallResult
1984 1985 1986 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1984 def tool_call_result @tool_call_result end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1991 1992 1993 1994 1995 1996 1997 1998 1999 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1991 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 |