Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1AgentCoachingInstruction

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_actionString

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

Returns:

  • (String)


4355
4356
4357
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4355

def agent_action
  @agent_action
end

#conditionString

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

Returns:

  • (String)


4362
4363
4364
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4362

def condition
  @condition
end

#descriptionString

Optional. The detailed description of this instruction. Corresponds to the JSON property description

Returns:

  • (String)


4367
4368
4369
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4367

def description
  @description
end

#display_nameString

Optional. Display name for the instruction. Corresponds to the JSON property displayName

Returns:

  • (String)


4372
4373
4374
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4372

def display_name
  @display_name
end

#metadataHash<String,String>

Optional. Additional information attached to this instruction. Corresponds to the JSON property metadata

Returns:

  • (Hash<String,String>)


4377
4378
4379
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4377

def 
  @metadata
end

#system_actionString

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

Returns:

  • (String)


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