Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AgentCoachingSuggestion

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb

Overview

Suggestion for coaching agents.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1AgentCoachingSuggestion

Returns a new instance of GoogleCloudDialogflowV2beta1AgentCoachingSuggestion.



19187
19188
19189
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 19187

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

Instance Attribute Details

#agent_action_suggestionsArray<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion>

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



19175
19176
19177
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 19175

def agent_action_suggestions
  @agent_action_suggestions
end

#applicable_instructionsArray<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AgentCoachingInstruction>

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



19180
19181
19182
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 19180

def applicable_instructions
  @applicable_instructions
end

#sample_responsesArray<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse>

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



19185
19186
19187
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 19185

def sample_responses
  @sample_responses
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19192
19193
19194
19195
19196
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 19192

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)
end