Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AgentCoachingInstruction
- Inherits:
-
Object
- Object
- Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AgentCoachingInstruction
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/contactcenterinsights_v1/classes.rb,
lib/google/apis/contactcenterinsights_v1/representations.rb,
lib/google/apis/contactcenterinsights_v1/representations.rb
Overview
Agent Coaching instructions that customer can configure.
Instance Attribute Summary collapse
-
#agent_action ⇒ String
Optional.
-
#condition ⇒ String
Optional.
-
#description ⇒ String
Optional.
-
#display_name ⇒ String
Optional.
-
#metadata ⇒ Hash<String,String>
Optional.
-
#system_action ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1AgentCoachingInstruction
constructor
A new instance of GoogleCloudContactcenterinsightsV1AgentCoachingInstruction.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1AgentCoachingInstruction
Returns a new instance of GoogleCloudContactcenterinsightsV1AgentCoachingInstruction.
65 66 67 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 65 def initialize(**args) update!(**args) end |
Instance Attribute Details
#agent_action ⇒ 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
Corresponds to the JSON property agentAction
34 35 36 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 34 def agent_action @agent_action end |
#condition ⇒ 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.
Corresponds to the JSON property condition
41 42 43 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 41 def condition @condition end |
#description ⇒ String
Optional. The detailed description of this instruction.
Corresponds to the JSON property description
46 47 48 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 46 def description @description end |
#display_name ⇒ String
Optional. Display name for the instruction.
Corresponds to the JSON property displayName
51 52 53 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 51 def display_name @display_name end |
#metadata ⇒ Hash<String,String>
Optional. Additional information attached to this instruction.
Corresponds to the JSON property metadata
56 57 58 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 56 def @metadata end |
#system_action ⇒ String
Optional. The action that system should take. For example, "call GetOrderTime
with order_number=order 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
Corresponds to the JSON property systemAction
63 64 65 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 63 def system_action @system_action end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
70 71 72 73 74 75 76 77 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 70 def update!(**args) @agent_action = args[:agent_action] if args.key?(:agent_action) @condition = args[:condition] if args.key?(:condition) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @metadata = args[:metadata] if args.key?(:metadata) @system_action = args[:system_action] if args.key?(:system_action) end |