Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ResponseMessage
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ResponseMessage
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb
Instance Attribute Summary collapse
-
#end_interaction ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction
Corresponds to the JSON property
endInteraction. -
#live_agent_handoff ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff
Corresponds to the JSON property
liveAgentHandoff. -
#mixed_audio ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio
Corresponds to the JSON property
mixedAudio. -
#payload ⇒ Hash<String,Object>
Corresponds to the JSON property
payload. -
#telephony_transfer_call ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall
Corresponds to the JSON property
telephonyTransferCall. -
#text ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ResponseMessageText
Corresponds to the JSON property
text.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ResponseMessage
constructor
A new instance of GoogleCloudDialogflowV2beta1ResponseMessage.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ResponseMessage
Returns a new instance of GoogleCloudDialogflowV2beta1ResponseMessage.
20423 20424 20425 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 20423 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end_interaction ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction
Corresponds to the JSON property endInteraction
20396 20397 20398 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 20396 def end_interaction @end_interaction end |
#live_agent_handoff ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff
Corresponds to the JSON property liveAgentHandoff
20401 20402 20403 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 20401 def live_agent_handoff @live_agent_handoff end |
#mixed_audio ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio
Corresponds to the JSON property mixedAudio
20406 20407 20408 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 20406 def mixed_audio @mixed_audio end |
#payload ⇒ Hash<String,Object>
Corresponds to the JSON property payload
20411 20412 20413 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 20411 def payload @payload end |
#telephony_transfer_call ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall
Corresponds to the JSON property telephonyTransferCall
20416 20417 20418 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 20416 def telephony_transfer_call @telephony_transfer_call end |
#text ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ResponseMessageText
Corresponds to the JSON property text
20421 20422 20423 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 20421 def text @text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
20428 20429 20430 20431 20432 20433 20434 20435 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 20428 def update!(**args) @end_interaction = args[:end_interaction] if args.key?(:end_interaction) @live_agent_handoff = args[:live_agent_handoff] if args.key?(:live_agent_handoff) @mixed_audio = args[:mixed_audio] if args.key?(:mixed_audio) @payload = args[:payload] if args.key?(:payload) @telephony_transfer_call = args[:telephony_transfer_call] if args.key?(:telephony_transfer_call) @text = args[:text] if args.key?(:text) end |