Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationSection

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

Represents the section of summarization.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2SummarizationSection

Returns a new instance of GoogleCloudDialogflowV2SummarizationSection.



18475
18476
18477
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18475

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)


18463
18464
18465
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18463

def definition
  @definition
end

#keyString

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

Returns:

  • (String)


18468
18469
18470
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18468

def key
  @key
end

#typeString

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

Returns:

  • (String)


18473
18474
18475
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18473

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18480
18481
18482
18483
18484
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18480

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