Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1AgentCoachingInstruction
- Inherits:
-
Object
- Object
- Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1AgentCoachingInstruction
- 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) ⇒ GoogleCloudContactcenterinsightsV1alpha1AgentCoachingInstruction
constructor
A new instance of GoogleCloudContactcenterinsightsV1alpha1AgentCoachingInstruction.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1AgentCoachingInstruction
Returns a new instance of GoogleCloudContactcenterinsightsV1alpha1AgentCoachingInstruction.
4386 4387 4388 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4386 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
4355 4356 4357 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4355 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
4362 4363 4364 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4362 def condition @condition end |
#description ⇒ String
Optional. The detailed description of this instruction.
Corresponds to the JSON property description
4367 4368 4369 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4367 def description @description end |
#display_name ⇒ String
Optional. Display name for the instruction.
Corresponds to the JSON property displayName
4372 4373 4374 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4372 def display_name @display_name end |
#metadata ⇒ Hash<String,String>
Optional. Additional information attached to this instruction.
Corresponds to the JSON property metadata
4377 4378 4379 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4377 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
4384 4385 4386 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4384 def system_action @system_action end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4391 4392 4393 4394 4395 4396 4397 4398 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4391 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 |