Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AutomatedAgentReply

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

Overview

Represents a response from an automated agent.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2AutomatedAgentReply

Returns a new instance of GoogleCloudDialogflowV2AutomatedAgentReply.



5306
5307
5308
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5306

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

Instance Attribute Details

#detect_intent_responseGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2DetectIntentResponse

The message returned from the DetectIntent method. Corresponds to the JSON property detectIntentResponse



5304
5305
5306
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5304

def detect_intent_response
  @detect_intent_response
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5311
5312
5313
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5311

def update!(**args)
  @detect_intent_response = args[:detect_intent_response] if args.key?(:detect_intent_response)
end