Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationSection
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationSection
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/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) ⇒ GoogleCloudDialogflowV2beta1SummarizationSection
constructor
A new instance of GoogleCloudDialogflowV2beta1SummarizationSection.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1SummarizationSection
Returns a new instance of GoogleCloudDialogflowV2beta1SummarizationSection.
19596 19597 19598 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19596 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
19584 19585 19586 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19584 def definition @definition end |
#key ⇒ String
Optional. Name of the section, for example, "situation".
Corresponds to the JSON property key
19589 19590 19591 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19589 def key @key end |
#type ⇒ String
Optional. Type of the summarization section.
Corresponds to the JSON property type
19594 19595 19596 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19594 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
19601 19602 19603 19604 19605 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19601 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 |