Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolDataStoreTool
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolDataStoreTool
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb
Overview
A DataStoreTool is a way to provide specifications needed to search a list of data stores.
Instance Attribute Summary collapse
-
#data_store_connections ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnection>
Required.
-
#fallback_prompt ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolDataStoreToolFallbackPrompt
A FallbackPrompt is a way to provide specifications for the Data Store fallback prompt when generating responses.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ToolDataStoreTool
constructor
A new instance of GoogleCloudDialogflowCxV3beta1ToolDataStoreTool.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ToolDataStoreTool
Returns a new instance of GoogleCloudDialogflowCxV3beta1ToolDataStoreTool.
14667 14668 14669 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14667 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_store_connections ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnection>
Required. List of data stores to search.
Corresponds to the JSON property dataStoreConnections
14659 14660 14661 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14659 def data_store_connections @data_store_connections end |
#fallback_prompt ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolDataStoreToolFallbackPrompt
A FallbackPrompt is a way to provide specifications for the Data Store
fallback prompt when generating responses.
Corresponds to the JSON property fallbackPrompt
14665 14666 14667 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14665 def fallback_prompt @fallback_prompt end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14672 14673 14674 14675 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14672 def update!(**args) @data_store_connections = args[:data_store_connections] if args.key?(:data_store_connections) @fallback_prompt = args[:fallback_prompt] if args.key?(:fallback_prompt) end |