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
-
#context_references ⇒ Hash<String,Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationContextReference>
Optional.
-
#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.
-
#security_settings ⇒ String
Optional.
-
#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.
15443 15444 15445 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15443 def initialize(**args) update!(**args) end |
Instance Attribute Details
#context_references ⇒ Hash<String,Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationContextReference>
Optional. A section of ingested context information. The key is the name of
the context reference and the value contains the contents of the context
reference. The key is used to incorporate ingested context references to
enhance the generator.
Corresponds to the JSON property contextReferences
15410 15411 15412 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15410 def context_references @context_references end |
#conversation_context ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationContext
Context of the conversation, including transcripts.
Corresponds to the JSON property conversationContext
15415 15416 15417 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15415 def conversation_context @conversation_context end |
#generator ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Generator
LLM generator.
Corresponds to the JSON property generator
15420 15421 15422 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15420 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
15426 15427 15428 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15426 def generator_name @generator_name end |
#security_settings ⇒ String
Optional. Name of the CX SecuritySettings which is used to redact generated
response. If this field is empty, try to fetch v2 security_settings, which is
a project level setting. If this field is empty and no v2 security_settings
set up in this project, no redaction will be done. Format: projects//
locations//securitySettings/.
Corresponds to the JSON property securitySettings
15435 15436 15437 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15435 def security_settings @security_settings 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
15441 15442 15443 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15441 def trigger_events @trigger_events end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
15448 15449 15450 15451 15452 15453 15454 15455 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15448 def update!(**args) @context_references = args[:context_references] if args.key?(:context_references) @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) @security_settings = args[:security_settings] if args.key?(:security_settings) @trigger_events = args[:trigger_events] if args.key?(:trigger_events) end |