Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationSection

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1SummarizationSection

Returns a new instance of GoogleCloudDialogflowV2beta1SummarizationSection.



19795
19796
19797
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19795

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

Instance Attribute Details

#definitionString

Optional. Definition of the section, for example, "what the customer needs help with or has question about." Corresponds to the JSON property definition

Returns:

  • (String)


19783
19784
19785
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19783

def definition
  @definition
end

#keyString

Optional. Name of the section, for example, "situation". Corresponds to the JSON property key

Returns:

  • (String)


19788
19789
19790
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19788

def key
  @key
end

#typeString

Optional. Type of the summarization section. Corresponds to the JSON property type

Returns:

  • (String)


19793
19794
19795
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19793

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19800
19801
19802
19803
19804
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19800

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