Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentCoachingSuggestionSources

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

Overview

Sources for the suggestion.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2AgentCoachingSuggestionSources

Returns a new instance of GoogleCloudDialogflowV2AgentCoachingSuggestionSources.



8545
8546
8547
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8545

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


8543
8544
8545
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8543

def instruction_indexes
  @instruction_indexes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8550
8551
8552
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8550

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