class Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AutomatedAgentReply
Represents a response from an automated agent.
Attributes
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` @return [Boolean]
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` @return [Boolean]
AutomatedAgentReply type. Corresponds to the JSON property `automatedAgentReplyType` @return [String]
The collection of current Dialogflow CX agent session parameters at the time of this response. Deprecated: Use `parameters` instead. Corresponds to the JSON property `cxSessionParameters` @return [Hash<String,Object>]
The message returned from the DetectIntent method. Corresponds to the JSON property `detectIntentResponse` @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentResponse]
Event name if an event is triggered for the query. Corresponds to the JSON property `event` @return [String]
Name of the intent if an intent is matched for the query. For a V2 query, the value format is `projects//locations/ /agent/intents/`. For a V3 query, the value format is `projects//locations/ /agents//intents/`. Corresponds to the JSON property `intent` @return [String]
The confidence of the match. Values range from 0.0 (completely uncertain) to 1. 0 (completely certain). This value is for informational purpose only and is only used to help match the best intent within the classification threshold. This value may change for the same end-user expression at any time due to a model retraining or change in implementation. Corresponds to the JSON property `matchConfidence` @return [Float]
The collection of current parameters at the time of this response. Corresponds to the JSON property `parameters` @return [Hash<String,Object>]
Response messages from the automated agent. Corresponds to the JSON property `responseMessages` @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessage>]
Public Class Methods
# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 8083 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 8088 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_session_parameters = args[:cx_session_parameters] if args.key?(:cx_session_parameters) @detect_intent_response = args[:detect_intent_response] if args.key?(:detect_intent_response) @event = args[:event] if args.key?(:event) @intent = args[:intent] if args.key?(:intent) @match_confidence = args[:match_confidence] if args.key?(:match_confidence) @parameters = args[:parameters] if args.key?(:parameters) @response_messages = args[:response_messages] if args.key?(:response_messages) end