Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigSections

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

Custom sections to return when requesting a summary of a conversation. This is only supported when baseline_model_version == '2.0'. Supported features: CONVERSATION_SUMMARIZATION, CONVERSATION_SUMMARIZATION_VOICE.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigSections

Returns a new instance of GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigSections.



11456
11457
11458
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11456

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

Instance Attribute Details

#section_typesArray<String>

The selected sections chosen to return when requesting a summary of a conversation. A duplicate selected section will be treated as a single selected section. If section types are not provided, the default will be SITUATION, ACTION, RESULT. Corresponds to the JSON property sectionTypes

Returns:

  • (Array<String>)


11454
11455
11456
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11454

def section_types
  @section_types
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11461
11462
11463
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11461

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