Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage
- 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
-
#channel ⇒ String
Corresponds to the JSON property
channel. -
#conversation_success ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess
Corresponds to the JSON property
conversationSuccess. -
#end_interaction ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction
Corresponds to the JSON property
endInteraction. -
#knowledge_info_card ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageKnowledgeInfoCard
Corresponds to the JSON property
knowledgeInfoCard. -
#live_agent_handoff ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff
Corresponds to the JSON property
liveAgentHandoff. -
#mixed_audio ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio
Corresponds to the JSON property
mixedAudio. -
#output_audio_text ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText
Corresponds to the JSON property
outputAudioText. -
#payload ⇒ Hash<String,Object>
Corresponds to the JSON property
payload. -
#play_audio ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio
Corresponds to the JSON property
playAudio. -
#telephony_transfer_call ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall
Corresponds to the JSON property
telephonyTransferCall. -
#text ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageText
Corresponds to the JSON property
text. -
#tool_call ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolCall
Corresponds to the JSON property
toolCall.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ResponseMessage
constructor
A new instance of GoogleCloudDialogflowCxV3beta1ResponseMessage.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ResponseMessage
Returns a new instance of GoogleCloudDialogflowCxV3beta1ResponseMessage.
11001 11002 11003 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11001 def initialize(**args) update!(**args) end |
Instance Attribute Details
#channel ⇒ String
Corresponds to the JSON property channel
10944 10945 10946 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10944 def channel @channel end |
#conversation_success ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess
Corresponds to the JSON property conversationSuccess
10949 10950 10951 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10949 def conversation_success @conversation_success end |
#end_interaction ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction
Corresponds to the JSON property endInteraction
10954 10955 10956 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10954 def end_interaction @end_interaction end |
#knowledge_info_card ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageKnowledgeInfoCard
Corresponds to the JSON property knowledgeInfoCard
10959 10960 10961 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10959 def knowledge_info_card @knowledge_info_card end |
#live_agent_handoff ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff
Corresponds to the JSON property liveAgentHandoff
10964 10965 10966 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10964 def live_agent_handoff @live_agent_handoff end |
#mixed_audio ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio
Corresponds to the JSON property mixedAudio
10969 10970 10971 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10969 def mixed_audio @mixed_audio end |
#output_audio_text ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText
Corresponds to the JSON property outputAudioText
10974 10975 10976 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10974 def output_audio_text @output_audio_text end |
#payload ⇒ Hash<String,Object>
Corresponds to the JSON property payload
10979 10980 10981 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10979 def payload @payload end |
#play_audio ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio
Corresponds to the JSON property playAudio
10984 10985 10986 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10984 def play_audio @play_audio end |
#telephony_transfer_call ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall
Corresponds to the JSON property telephonyTransferCall
10989 10990 10991 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10989 def telephony_transfer_call @telephony_transfer_call end |
#text ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageText
Corresponds to the JSON property text
10994 10995 10996 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10994 def text @text end |
#tool_call ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolCall
Corresponds to the JSON property toolCall
10999 11000 11001 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10999 def tool_call @tool_call end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11006 11007 11008 11009 11010 11011 11012 11013 11014 11015 11016 11017 11018 11019 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11006 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) @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 |