Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AutomatedAgentReply
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AutomatedAgentReply
- 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
-
#allow_cancellation ⇒ Boolean
(also: #allow_cancellation?)
Indicates whether the partial automated agent reply is interruptible when a later reply message arrives.
-
#automated_agent_reply_type ⇒ String
AutomatedAgentReply type.
-
#cx_current_page ⇒ String
The unique identifier of the current Dialogflow CX conversation page.
-
#detect_intent_response ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2DetectIntentResponse
The message returned from the DetectIntent method.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2AutomatedAgentReply
constructor
A new instance of GoogleCloudDialogflowV2AutomatedAgentReply.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2AutomatedAgentReply
Returns a new instance of GoogleCloudDialogflowV2AutomatedAgentReply.
8553 8554 8555 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8553 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allow_cancellation ⇒ Boolean Also known as: allow_cancellation?
Indicates whether the partial automated agent reply is interruptible when a
later reply message arrives. e.g. if the agent specified some music as partial
response, it can be cancelled.
Corresponds to the JSON property allowCancellation
8534 8535 8536 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8534 def allow_cancellation @allow_cancellation end |
#automated_agent_reply_type ⇒ String
AutomatedAgentReply type.
Corresponds to the JSON property automatedAgentReplyType
8540 8541 8542 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8540 def automated_agent_reply_type @automated_agent_reply_type end |
#cx_current_page ⇒ String
The unique identifier of the current Dialogflow CX conversation page. Format:
projects//locations//agents//flows//pages/
.
Corresponds to the JSON property cxCurrentPage
8546 8547 8548 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8546 def cx_current_page @cx_current_page end |
#detect_intent_response ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2DetectIntentResponse
The message returned from the DetectIntent method.
Corresponds to the JSON property detectIntentResponse
8551 8552 8553 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8551 def detect_intent_response @detect_intent_response end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8558 8559 8560 8561 8562 8563 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8558 def update!(**args) @allow_cancellation = args[:allow_cancellation] if args.key?(:allow_cancellation) @automated_agent_reply_type = args[:automated_agent_reply_type] if args.key?(:automated_agent_reply_type) @cx_current_page = args[:cx_current_page] if args.key?(:cx_current_page) @detect_intent_response = args[:detect_intent_response] if args.key?(:detect_intent_response) end |