Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AgentCoachingSuggestion

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

Suggestion for coaching agents.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1AgentCoachingSuggestion

Returns a new instance of GoogleCloudContactcenterinsightsV1AgentCoachingSuggestion.



109
110
111
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 109

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

Instance Attribute Details

#agent_action_suggestionsArray<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentActionSuggestion>

Optional. Suggested actions for the agent to take. Corresponds to the JSON property agentActionSuggestions



87
88
89
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 87

def agent_action_suggestions
  @agent_action_suggestions
end

#applicable_instructionsArray<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AgentCoachingInstruction>

Optional. Instructions applicable based on the current context. Corresponds to the JSON property applicableInstructions



92
93
94
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 92

def applicable_instructions
  @applicable_instructions
end

#sample_responsesArray<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionSampleResponse>

Optional. Sample response for the Agent. Corresponds to the JSON property sampleResponses



97
98
99
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 97

def sample_responses
  @sample_responses
end

#suggestion_evalGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionEval

Self evaluations of the suggestion. Corresponds to the JSON property suggestionEval



102
103
104
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 102

def suggestion_eval
  @suggestion_eval
end

#suggestion_reasoningGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionReasoning

Reasoning for the suggestion. Corresponds to the JSON property suggestionReasoning



107
108
109
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 107

def suggestion_reasoning
  @suggestion_reasoning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



114
115
116
117
118
119
120
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 114

def update!(**args)
  @agent_action_suggestions = args[:agent_action_suggestions] if args.key?(:agent_action_suggestions)
  @applicable_instructions = args[:applicable_instructions] if args.key?(:applicable_instructions)
  @sample_responses = args[:sample_responses] if args.key?(:sample_responses)
  @suggestion_eval = args[:suggestion_eval] if args.key?(:suggestion_eval)
  @suggestion_reasoning = args[:suggestion_reasoning] if args.key?(:suggestion_reasoning)
end