Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessage
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessage
- 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
-
#channel ⇒ String
Corresponds to the JSON property
channel. -
#conversation_success ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess
Corresponds to the JSON property
conversationSuccess. -
#end_interaction ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageEndInteraction
Corresponds to the JSON property
endInteraction. -
#knowledge_info_card ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageKnowledgeInfoCard
Corresponds to the JSON property
knowledgeInfoCard. -
#live_agent_handoff ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff
Corresponds to the JSON property
liveAgentHandoff. -
#mixed_audio ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageMixedAudio
Corresponds to the JSON property
mixedAudio. -
#output_audio_text ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText
Corresponds to the JSON property
outputAudioText. -
#payload ⇒ Hash<String,Object>
Corresponds to the JSON property
payload. -
#play_audio ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessagePlayAudio
Corresponds to the JSON property
playAudio. -
#response_type ⇒ String
Corresponds to the JSON property
responseType. -
#telephony_transfer_call ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall
Corresponds to the JSON property
telephonyTransferCall. -
#text ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageText
Corresponds to the JSON property
text. -
#tool_call ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ToolCall
Corresponds to the JSON property
toolCall.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3ResponseMessage
constructor
A new instance of GoogleCloudDialogflowCxV3ResponseMessage.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3ResponseMessage
Returns a new instance of GoogleCloudDialogflowCxV3ResponseMessage.
2077 2078 2079 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2077 def initialize(**args) update!(**args) end |
Instance Attribute Details
#channel ⇒ String
Corresponds to the JSON property channel
2015 2016 2017 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2015 def channel @channel end |
#conversation_success ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess
Corresponds to the JSON property conversationSuccess
2020 2021 2022 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2020 def conversation_success @conversation_success end |
#end_interaction ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageEndInteraction
Corresponds to the JSON property endInteraction
2025 2026 2027 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2025 def end_interaction @end_interaction end |
#knowledge_info_card ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageKnowledgeInfoCard
Corresponds to the JSON property knowledgeInfoCard
2030 2031 2032 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2030 def knowledge_info_card @knowledge_info_card end |
#live_agent_handoff ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff
Corresponds to the JSON property liveAgentHandoff
2035 2036 2037 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2035 def live_agent_handoff @live_agent_handoff end |
#mixed_audio ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageMixedAudio
Corresponds to the JSON property mixedAudio
2040 2041 2042 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2040 def mixed_audio @mixed_audio end |
#output_audio_text ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText
Corresponds to the JSON property outputAudioText
2045 2046 2047 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2045 def output_audio_text @output_audio_text end |
#payload ⇒ Hash<String,Object>
Corresponds to the JSON property payload
2050 2051 2052 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2050 def payload @payload end |
#play_audio ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessagePlayAudio
Corresponds to the JSON property playAudio
2055 2056 2057 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2055 def play_audio @play_audio end |
#response_type ⇒ String
Corresponds to the JSON property responseType
2060 2061 2062 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2060 def response_type @response_type end |
#telephony_transfer_call ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall
Corresponds to the JSON property telephonyTransferCall
2065 2066 2067 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2065 def telephony_transfer_call @telephony_transfer_call end |
#text ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessageText
Corresponds to the JSON property text
2070 2071 2072 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2070 def text @text end |
#tool_call ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ToolCall
Corresponds to the JSON property toolCall
2075 2076 2077 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2075 def tool_call @tool_call end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 2082 def update!(**args) @channel = args[:channel] if args.key?(:channel) @conversation_success = args[:conversation_success] if args.key?(:conversation_success) @end_interaction = args[:end_interaction] if args.key?(:end_interaction) @knowledge_info_card = args[:knowledge_info_card] if args.key?(:knowledge_info_card) @live_agent_handoff = args[:live_agent_handoff] if args.key?(:live_agent_handoff) @mixed_audio = args[:mixed_audio] if args.key?(:mixed_audio) @output_audio_text = args[:output_audio_text] if args.key?(:output_audio_text) @payload = args[:payload] if args.key?(:payload) @play_audio = args[:play_audio] if args.key?(:play_audio) @response_type = args[:response_type] if args.key?(:response_type) @telephony_transfer_call = args[:telephony_transfer_call] if args.key?(:telephony_transfer_call) @text = args[:text] if args.key?(:text) @tool_call = args[:tool_call] if args.key?(:tool_call) end |