Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::AgentCoachingInstruction.
Agent Coaching instructions that customer can configure.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#agent_action
def agent_action() -> ::String
Returns
- (::String) — Optional. The action that human agent should take. For example, "apologize for the slow shipping". If the users only want to use agent coaching for intent detection, agent_action can be empty
#agent_action=
def agent_action=(value) -> ::String
Parameter
- value (::String) — Optional. The action that human agent should take. For example, "apologize for the slow shipping". If the users only want to use agent coaching for intent detection, agent_action can be empty
Returns
- (::String) — Optional. The action that human agent should take. For example, "apologize for the slow shipping". If the users only want to use agent coaching for intent detection, agent_action can be empty
#condition
def condition() -> ::String
Returns
- (::String) — Optional. The condition of the instruction. For example, "the customer wants to cancel an order". If the users want the instruction to be triggered unconditionally, the condition can be empty.
#condition=
def condition=(value) -> ::String
Parameter
- value (::String) — Optional. The condition of the instruction. For example, "the customer wants to cancel an order". If the users want the instruction to be triggered unconditionally, the condition can be empty.
Returns
- (::String) — Optional. The condition of the instruction. For example, "the customer wants to cancel an order". If the users want the instruction to be triggered unconditionally, the condition can be empty.
#display_details
def display_details() -> ::String
Returns
- (::String) — Optional. The detailed description of this instruction.
#display_details=
def display_details=(value) -> ::String
Parameter
- value (::String) — Optional. The detailed description of this instruction.
Returns
- (::String) — Optional. The detailed description of this instruction.
#display_name
def display_name() -> ::String
Returns
- (::String) — Optional. Display name for the instruction.
#display_name=
def display_name=(value) -> ::String
Parameter
- value (::String) — Optional. Display name for the instruction.
Returns
- (::String) — Optional. Display name for the instruction.
#duplicate_check_result
def duplicate_check_result() -> ::Google::Cloud::Dialogflow::V2::AgentCoachingInstruction::DuplicateCheckResult
Returns
- (::Google::Cloud::Dialogflow::V2::AgentCoachingInstruction::DuplicateCheckResult) — Output only. Duplication check for the AgentCoachingInstruction.
#system_action
def system_action() -> ::String
Returns
- (::String) — Optional. The action that system should take. For example, "call GetOrderTime with order_number=number provided by the customer". If the users don't have plugins or don't want to trigger plugins, the system_action can be empty
#system_action=
def system_action=(value) -> ::String
Parameter
- value (::String) — Optional. The action that system should take. For example, "call GetOrderTime with order_number=number provided by the customer". If the users don't have plugins or don't want to trigger plugins, the system_action can be empty
Returns
- (::String) — Optional. The action that system should take. For example, "call GetOrderTime with order_number=number provided by the customer". If the users don't have plugins or don't want to trigger plugins, the system_action can be empty
#triggering_event
def triggering_event() -> ::Google::Cloud::Dialogflow::V2::AgentCoachingInstruction::TriggerEvent
Returns
- (::Google::Cloud::Dialogflow::V2::AgentCoachingInstruction::TriggerEvent) — Optional. The event that should trigger this instruction. If UNSPECIFIED, the instruction triggering will be same as the generator's trigger_event.
#triggering_event=
def triggering_event=(value) -> ::Google::Cloud::Dialogflow::V2::AgentCoachingInstruction::TriggerEvent
Parameter
- value (::Google::Cloud::Dialogflow::V2::AgentCoachingInstruction::TriggerEvent) — Optional. The event that should trigger this instruction. If UNSPECIFIED, the instruction triggering will be same as the generator's trigger_event.
Returns
- (::Google::Cloud::Dialogflow::V2::AgentCoachingInstruction::TriggerEvent) — Optional. The event that should trigger this instruction. If UNSPECIFIED, the instruction triggering will be same as the generator's trigger_event.