Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2AgentCoachingSuggestion

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

Returns a new instance of GoogleCloudDialogflowV2AgentCoachingSuggestion.



14633
14634
14635
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14633

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

Instance Attribute Details

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

Corresponds to the JSON property agentActionSuggestions



14621
14622
14623
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14621

def agent_action_suggestions
  @agent_action_suggestions
end

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

Corresponds to the JSON property applicableInstructions



14626
14627
14628
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14626

def applicable_instructions
  @applicable_instructions
end

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

Corresponds to the JSON property sampleResponses



14631
14632
14633
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14631

def sample_responses
  @sample_responses
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14638
14639
14640
14641
14642
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14638

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