Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestion

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1AgentCoachingSuggestion

Returns a new instance of GoogleCloudDialogflowV2beta1AgentCoachingSuggestion.



18742
18743
18744
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 18742

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

Instance Attribute Details

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

Corresponds to the JSON property agentActionSuggestions



18730
18731
18732
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 18730

def agent_action_suggestions
  @agent_action_suggestions
end

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

Corresponds to the JSON property applicableInstructions



18735
18736
18737
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 18735

def applicable_instructions
  @applicable_instructions
end

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

Corresponds to the JSON property sampleResponses



18740
18741
18742
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 18740

def sample_responses
  @sample_responses
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18747
18748
18749
18750
18751
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 18747

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