Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Generator
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Generator
- 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
LLM generator.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
Optional.
-
#inference_parameter ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2InferenceParameter
The parameters of inference.
-
#name ⇒ String
Output only.
-
#summarization_context ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationContext
Summarization context that customer can configure.
-
#trigger_event ⇒ String
Optional.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2Generator
constructor
A new instance of GoogleCloudDialogflowV2Generator.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2Generator
Returns a new instance of GoogleCloudDialogflowV2Generator.
10875 10876 10877 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10875 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. Creation time of this generator.
Corresponds to the JSON property createTime
10841 10842 10843 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10841 def create_time @create_time end |
#description ⇒ String
Optional. Human readable description of the generator.
Corresponds to the JSON property description
10846 10847 10848 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10846 def description @description end |
#inference_parameter ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2InferenceParameter
The parameters of inference.
Corresponds to the JSON property inferenceParameter
10851 10852 10853 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10851 def inference_parameter @inference_parameter end |
#name ⇒ String
Output only. Identifier. The resource name of the generator. Format: projects/
/locations//generators/
Corresponds to the JSON property name
10857 10858 10859 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10857 def name @name end |
#summarization_context ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationContext
Summarization context that customer can configure.
Corresponds to the JSON property summarizationContext
10862 10863 10864 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10862 def summarization_context @summarization_context end |
#trigger_event ⇒ String
Optional. The trigger event of the generator. It defines when the generator is
triggered in a conversation.
Corresponds to the JSON property triggerEvent
10868 10869 10870 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10868 def trigger_event @trigger_event end |
#update_time ⇒ String
Output only. Update time of this generator.
Corresponds to the JSON property updateTime
10873 10874 10875 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10873 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10880 10881 10882 10883 10884 10885 10886 10887 10888 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10880 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @inference_parameter = args[:inference_parameter] if args.key?(:inference_parameter) @name = args[:name] if args.key?(:name) @summarization_context = args[:summarization_context] if args.key?(:summarization_context) @trigger_event = args[:trigger_event] if args.key?(:trigger_event) @update_time = args[:update_time] if args.key?(:update_time) end |