Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources

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

Overview

Sources for the suggestion.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources

Returns a new instance of GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources.



12623
12624
12625
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12623

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

Instance Attribute Details

#instruction_indexesArray<Fixnum>

Output only. Source instruction indexes for the suggestion. This is the index of the applicable_instructions field. Corresponds to the JSON property instructionIndexes

Returns:

  • (Array<Fixnum>)


12621
12622
12623
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12621

def instruction_indexes
  @instruction_indexes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12628
12629
12630
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12628

def update!(**args)
  @instruction_indexes = args[:instruction_indexes] if args.key?(:instruction_indexes)
end