Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessage
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessage
- 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
-
#end_interaction ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction
Corresponds to the JSON property
endInteraction. -
#live_agent_handoff ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff
Corresponds to the JSON property
liveAgentHandoff. -
#mixed_audio ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio
Corresponds to the JSON property
mixedAudio. -
#payload ⇒ Hash<String,Object>
Corresponds to the JSON property
payload. -
#telephony_transfer_call ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall
Corresponds to the JSON property
telephonyTransferCall. -
#text ⇒ Google::Apis::DialogflowV2beta1::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.
18907 18908 18909 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18907 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end_interaction ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction
Corresponds to the JSON property endInteraction
18880 18881 18882 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18880 def end_interaction @end_interaction end |
#live_agent_handoff ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff
Corresponds to the JSON property liveAgentHandoff
18885 18886 18887 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18885 def live_agent_handoff @live_agent_handoff end |
#mixed_audio ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio
Corresponds to the JSON property mixedAudio
18890 18891 18892 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18890 def mixed_audio @mixed_audio end |
#payload ⇒ Hash<String,Object>
Corresponds to the JSON property payload
18895 18896 18897 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18895 def payload @payload end |
#telephony_transfer_call ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall
Corresponds to the JSON property telephonyTransferCall
18900 18901 18902 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18900 def telephony_transfer_call @telephony_transfer_call end |
#text ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageText
Corresponds to the JSON property text
18905 18906 18907 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18905 def text @text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18912 18913 18914 18915 18916 18917 18918 18919 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18912 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 |