Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::AutomatedAgentReply.
Represents a response from an automated agent.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#allow_cancellation
def allow_cancellation() -> ::Boolean
Returns
- (::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.
#allow_cancellation=
def allow_cancellation=(value) -> ::Boolean
Parameter
- value (::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.
Returns
- (::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.
#automated_agent_reply_type
def automated_agent_reply_type() -> ::Google::Cloud::Dialogflow::V2::AutomatedAgentReply::AutomatedAgentReplyType
Returns
- (::Google::Cloud::Dialogflow::V2::AutomatedAgentReply::AutomatedAgentReplyType) — AutomatedAgentReply type.
#automated_agent_reply_type=
def automated_agent_reply_type=(value) -> ::Google::Cloud::Dialogflow::V2::AutomatedAgentReply::AutomatedAgentReplyType
Parameter
- value (::Google::Cloud::Dialogflow::V2::AutomatedAgentReply::AutomatedAgentReplyType) — AutomatedAgentReply type.
Returns
- (::Google::Cloud::Dialogflow::V2::AutomatedAgentReply::AutomatedAgentReplyType) — AutomatedAgentReply type.
#call_companion_auth_code
def call_companion_auth_code() -> ::String
Returns
- (::String) — The auth code for accessing Call Companion UI.
#call_companion_auth_code=
def call_companion_auth_code=(value) -> ::String
Parameter
- value (::String) — The auth code for accessing Call Companion UI.
Returns
- (::String) — The auth code for accessing Call Companion UI.
#cx_current_page
def cx_current_page() -> ::String
Returns
-
(::String) — The unique identifier of the current Dialogflow CX conversation page.
Format:
projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>.
#cx_current_page=
def cx_current_page=(value) -> ::String
Parameter
-
value (::String) — The unique identifier of the current Dialogflow CX conversation page.
Format:
projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>.
Returns
-
(::String) — The unique identifier of the current Dialogflow CX conversation page.
Format:
projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>.
#detect_intent_response
def detect_intent_response() -> ::Google::Cloud::Dialogflow::V2::DetectIntentResponse
Returns
- (::Google::Cloud::Dialogflow::V2::DetectIntentResponse) — Response of the Dialogflow Sessions.DetectIntent call.
#detect_intent_response=
def detect_intent_response=(value) -> ::Google::Cloud::Dialogflow::V2::DetectIntentResponse
Parameter
- value (::Google::Cloud::Dialogflow::V2::DetectIntentResponse) — Response of the Dialogflow Sessions.DetectIntent call.
Returns
- (::Google::Cloud::Dialogflow::V2::DetectIntentResponse) — Response of the Dialogflow Sessions.DetectIntent call.
#event
def event() -> ::String
Returns
- (::String) — Event name if an event is triggered for the query.
#event=
def event=(value) -> ::String
Parameter
- value (::String) — Event name if an event is triggered for the query.
Returns
- (::String) — Event name if an event is triggered for the query.
#intent
def intent() -> ::String
Returns
-
(::String) — Name of the intent if an intent is matched for the query.
For a V2 query, the value format is
projects/<Project ID>/locations/ <Location ID>/agent/intents/<Intent ID>. For a V3 query, the value format isprojects/<Project ID>/locations/ <Location ID>/agents/<Agent ID>/intents/<Intent ID>.
#intent=
def intent=(value) -> ::String
Parameter
-
value (::String) — Name of the intent if an intent is matched for the query.
For a V2 query, the value format is
projects/<Project ID>/locations/ <Location ID>/agent/intents/<Intent ID>. For a V3 query, the value format isprojects/<Project ID>/locations/ <Location ID>/agents/<Agent ID>/intents/<Intent ID>.
Returns
-
(::String) — Name of the intent if an intent is matched for the query.
For a V2 query, the value format is
projects/<Project ID>/locations/ <Location ID>/agent/intents/<Intent ID>. For a V3 query, the value format isprojects/<Project ID>/locations/ <Location ID>/agents/<Agent ID>/intents/<Intent ID>.
#match_confidence
def match_confidence() -> ::Float
Returns
- (::Float) — 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.
#match_confidence=
def match_confidence=(value) -> ::Float
Parameter
- value (::Float) — 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.
Returns
- (::Float) — 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.
#parameters
def parameters() -> ::Google::Protobuf::Struct
Returns
- (::Google::Protobuf::Struct) — The collection of current parameters at the time of this response.
#parameters=
def parameters=(value) -> ::Google::Protobuf::Struct
Parameter
- value (::Google::Protobuf::Struct) — The collection of current parameters at the time of this response.
Returns
- (::Google::Protobuf::Struct) — The collection of current parameters at the time of this response.
#response_messages
def response_messages() -> ::Array<::Google::Cloud::Dialogflow::V2::ResponseMessage>
Returns
- (::Array<::Google::Cloud::Dialogflow::V2::ResponseMessage>) — Response messages from the automated agent.
#response_messages=
def response_messages=(value) -> ::Array<::Google::Cloud::Dialogflow::V2::ResponseMessage>
Parameter
- value (::Array<::Google::Cloud::Dialogflow::V2::ResponseMessage>) — Response messages from the automated agent.
Returns
- (::Array<::Google::Cloud::Dialogflow::V2::ResponseMessage>) — Response messages from the automated agent.