Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessage

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ResponseMessage

Returns a new instance of GoogleCloudDialogflowV2beta1ResponseMessage.



19014
19015
19016
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19014

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#end_interactionGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction

Corresponds to the JSON property endInteraction



18987
18988
18989
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18987

def end_interaction
  @end_interaction
end

#live_agent_handoffGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff

Corresponds to the JSON property liveAgentHandoff



18992
18993
18994
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18992

def live_agent_handoff
  @live_agent_handoff
end

#mixed_audioGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio

Corresponds to the JSON property mixedAudio



18997
18998
18999
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18997

def mixed_audio
  @mixed_audio
end

#payloadHash<String,Object>

Corresponds to the JSON property payload

Returns:

  • (Hash<String,Object>)


19002
19003
19004
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19002

def payload
  @payload
end

#telephony_transfer_callGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall

Corresponds to the JSON property telephonyTransferCall



19007
19008
19009
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19007

def telephony_transfer_call
  @telephony_transfer_call
end

#textGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageText

Corresponds to the JSON property text



19012
19013
19014
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19012

def text
  @text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19019
19020
19021
19022
19023
19024
19025
19026
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19019

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