Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestion

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) ⇒ GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestion

Returns a new instance of GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestion.



4430
4431
4432
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4430

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

Instance Attribute Details

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

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



4408
4409
4410
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4408

def agent_action_suggestions
  @agent_action_suggestions
end

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

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



4413
4414
4415
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4413

def applicable_instructions
  @applicable_instructions
end

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

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



4418
4419
4420
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4418

def sample_responses
  @sample_responses
end

#suggestion_evalGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionAgentCoachingSuggestionEval

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



4423
4424
4425
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4423

def suggestion_eval
  @suggestion_eval
end

#suggestion_reasoningGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionAgentCoachingSuggestionReasoning

Reasoning for the suggestion. Corresponds to the JSON property suggestionReasoning



4428
4429
4430
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4428

def suggestion_reasoning
  @suggestion_reasoning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4435
4436
4437
4438
4439
4440
4441
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4435

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