Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2FewShotExample
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2FewShotExample
- 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
Instance Attribute Summary collapse
-
#conversation_context ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationContext
Corresponds to the JSON property
conversationContext. -
#extra_info ⇒ Hash<String,String>
Corresponds to the JSON property
extraInfo. -
#output ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorSuggestion
Corresponds to the JSON property
output. -
#summarization_section_list ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationSectionList
Corresponds to the JSON property
summarizationSectionList.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2FewShotExample
constructor
A new instance of GoogleCloudDialogflowV2FewShotExample.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2FewShotExample
Returns a new instance of GoogleCloudDialogflowV2FewShotExample.
9886 9887 9888 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9886 def initialize(**args) update!(**args) end |
Instance Attribute Details
#conversation_context ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationContext
Corresponds to the JSON property conversationContext
9869 9870 9871 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9869 def conversation_context @conversation_context end |
#extra_info ⇒ Hash<String,String>
Corresponds to the JSON property extraInfo
9874 9875 9876 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9874 def extra_info @extra_info end |
#output ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorSuggestion
Corresponds to the JSON property output
9879 9880 9881 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9879 def output @output end |
#summarization_section_list ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationSectionList
Corresponds to the JSON property summarizationSectionList
9884 9885 9886 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9884 def summarization_section_list @summarization_section_list end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9891 9892 9893 9894 9895 9896 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9891 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 |