Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1FewShotExample
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1FewShotExample
- 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
Instance Attribute Summary collapse
-
#conversation_context ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationContext
Corresponds to the JSON property
conversationContext. -
#extra_info ⇒ Hash<String,String>
Corresponds to the JSON property
extraInfo. -
#output ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorSuggestion
Corresponds to the JSON property
output. -
#summarization_section_list ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationSectionList
Corresponds to the JSON property
summarizationSectionList.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1FewShotExample
constructor
A new instance of GoogleCloudDialogflowV2beta1FewShotExample.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1FewShotExample
Returns a new instance of GoogleCloudDialogflowV2beta1FewShotExample.
13688 13689 13690 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13688 def initialize(**args) update!(**args) end |
Instance Attribute Details
#conversation_context ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationContext
Corresponds to the JSON property conversationContext
13671 13672 13673 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13671 def conversation_context @conversation_context end |
#extra_info ⇒ Hash<String,String>
Corresponds to the JSON property extraInfo
13676 13677 13678 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13676 def extra_info @extra_info end |
#output ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorSuggestion
Corresponds to the JSON property output
13681 13682 13683 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13681 def output @output end |
#summarization_section_list ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationSectionList
Corresponds to the JSON property summarizationSectionList
13686 13687 13688 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13686 def summarization_section_list @summarization_section_list end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13693 13694 13695 13696 13697 13698 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13693 def update!(**args) @conversation_context = args[:conversation_context] if args.key?(:conversation_context) @extra_info = args[:extra_info] if args.key?(:extra_info) @output = args[:output] if args.key?(:output) @summarization_section_list = args[:summarization_section_list] if args.key?(:summarization_section_list) end |