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.



11411
11412
11413
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11411

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


11409
11410
11411
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11409

def section_types
  @section_types
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11416
11417
11418
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11416

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