Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GenerateStatelessSuggestionRequest
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GenerateStatelessSuggestionRequest
- 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
The request message for Conversations.GenerateStatelessSuggestion.
Instance Attribute Summary collapse
-
#conversation_context ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationContext
Context of the conversation, including transcripts.
-
#generator ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Generator
LLM generator.
-
#generator_name ⇒ String
The resource name of the existing created generator.
-
#trigger_events ⇒ Array<String>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1GenerateStatelessSuggestionRequest
constructor
A new instance of GoogleCloudDialogflowV2beta1GenerateStatelessSuggestionRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1GenerateStatelessSuggestionRequest
Returns a new instance of GoogleCloudDialogflowV2beta1GenerateStatelessSuggestionRequest.
13666 13667 13668 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13666 def initialize(**args) update!(**args) end |
Instance Attribute Details
#conversation_context ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationContext
Context of the conversation, including transcripts.
Corresponds to the JSON property conversationContext
13647 13648 13649 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13647 def conversation_context @conversation_context end |
#generator ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Generator
LLM generator.
Corresponds to the JSON property generator
13652 13653 13654 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13652 def generator @generator end |
#generator_name ⇒ String
The resource name of the existing created generator. Format: projects//
locations//generators/
Corresponds to the JSON property generatorName
13658 13659 13660 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13658 def generator_name @generator_name end |
#trigger_events ⇒ Array<String>
Optional. A list of trigger events. Generator will be triggered only if it's
trigger event is included here.
Corresponds to the JSON property triggerEvents
13664 13665 13666 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13664 def trigger_events @trigger_events end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13671 13672 13673 13674 13675 13676 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13671 def update!(**args) @conversation_context = args[:conversation_context] if args.key?(:conversation_context) @generator = args[:generator] if args.key?(:generator) @generator_name = args[:generator_name] if args.key?(:generator_name) @trigger_events = args[:trigger_events] if args.key?(:trigger_events) end |