Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionAgentActionSuggestion

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

Actions suggested for the agent. This is based on applicable instructions.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionAgentActionSuggestion

Returns a new instance of GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionAgentActionSuggestion.



4453
4454
4455
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4453

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#agent_actionString

Optional. The suggested action for the agent. Corresponds to the JSON property agentAction

Returns:

  • (String)


4451
4452
4453
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4451

def agent_action
  @agent_action
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4458
4459
4460
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4458

def update!(**args)
  @agent_action = args[:agent_action] if args.key?(:agent_action)
end