Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ResponseMessage

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ResponseMessage

Returns a new instance of GoogleCloudDialogflowV2beta1ResponseMessage.



21482
21483
21484
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 21482

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

Instance Attribute Details

#end_interactionGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction

Corresponds to the JSON property endInteraction



21455
21456
21457
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 21455

def end_interaction
  @end_interaction
end

#live_agent_handoffGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff

Corresponds to the JSON property liveAgentHandoff



21460
21461
21462
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 21460

def live_agent_handoff
  @live_agent_handoff
end

#mixed_audioGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio

Corresponds to the JSON property mixedAudio



21465
21466
21467
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 21465

def mixed_audio
  @mixed_audio
end

#payloadHash<String,Object>

Corresponds to the JSON property payload

Returns:

  • (Hash<String,Object>)


21470
21471
21472
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 21470

def payload
  @payload
end

#telephony_transfer_callGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall

Corresponds to the JSON property telephonyTransferCall



21475
21476
21477
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 21475

def telephony_transfer_call
  @telephony_transfer_call
end

#textGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ResponseMessageText

Corresponds to the JSON property text



21480
21481
21482
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 21480

def text
  @text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



21487
21488
21489
21490
21491
21492
21493
21494
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 21487

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