Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationSection
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationSection
- 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
Represents the section of summarization.
Instance Attribute Summary collapse
-
#definition ⇒ String
Optional.
-
#key ⇒ String
Optional.
-
#type ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2SummarizationSection
constructor
A new instance of GoogleCloudDialogflowV2SummarizationSection.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2SummarizationSection
Returns a new instance of GoogleCloudDialogflowV2SummarizationSection.
16160 16161 16162 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16160 def initialize(**args) update!(**args) end |
Instance Attribute Details
#definition ⇒ String
Optional. Definition of the section, for example, "what the customer needs
help with or has question about."
Corresponds to the JSON property definition
16148 16149 16150 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16148 def definition @definition end |
#key ⇒ String
Optional. Name of the section, for example, "situation".
Corresponds to the JSON property key
16153 16154 16155 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16153 def key @key end |
#type ⇒ String
Optional. Type of the summarization section.
Corresponds to the JSON property type
16158 16159 16160 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16158 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16165 16166 16167 16168 16169 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16165 def update!(**args) @definition = args[:definition] if args.key?(:definition) @key = args[:key] if args.key?(:key) @type = args[:type] if args.key?(:type) end |