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.



5582
5583
5584
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5582

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



5580
5581
5582
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5580

def detect_intent_response
  @detect_intent_response
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5587
5588
5589
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5587

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