Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1AgentCoachingSuggestion

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1AgentCoachingSuggestion

Returns a new instance of GoogleCloudDialogflowV2beta1AgentCoachingSuggestion.



17914
17915
17916
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17914

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

Instance Attribute Details

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

Corresponds to the JSON property agentActionSuggestions



17902
17903
17904
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17902

def agent_action_suggestions
  @agent_action_suggestions
end

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

Corresponds to the JSON property applicableInstructions



17907
17908
17909
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17907

def applicable_instructions
  @applicable_instructions
end

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

Corresponds to the JSON property sampleResponses



17912
17913
17914
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17912

def sample_responses
  @sample_responses
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17919
17920
17921
17922
17923
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17919

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