Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb
Overview
The Knowledge Connector settings for this page or flow. This includes information such as the attached Knowledge Bases, and the way to execute fulfillment.
Instance Attribute Summary collapse
-
#data_store_connections ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1DataStoreConnection>
Optional.
-
#enabled ⇒ Boolean
(also: #enabled?)
Whether Knowledge Connector is enabled or not.
-
#target_flow ⇒ String
The target flow to transition to.
-
#target_page ⇒ String
The target page to transition to.
-
#trigger_fulfillment ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1Fulfillment
A fulfillment can do one or more of the following actions at the same time: * Generate rich message responses.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings
constructor
A new instance of GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings
Returns a new instance of GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings.
9846 9847 9848 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9846 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_store_connections ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1DataStoreConnection>
Optional. List of related data store connections.
Corresponds to the JSON property dataStoreConnections
9815 9816 9817 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9815 def data_store_connections @data_store_connections end |
#enabled ⇒ Boolean Also known as: enabled?
Whether Knowledge Connector is enabled or not.
Corresponds to the JSON property enabled
9820 9821 9822 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9820 def enabled @enabled end |
#target_flow ⇒ String
The target flow to transition to. Format: projects//locations//agents//flows/
.
Corresponds to the JSON property targetFlow
9827 9828 9829 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9827 def target_flow @target_flow end |
#target_page ⇒ String
The target page to transition to. Format: projects//locations//agents//flows//
pages/.
Corresponds to the JSON property targetPage
9833 9834 9835 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9833 def target_page @target_page end |
#trigger_fulfillment ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1Fulfillment
A fulfillment can do one or more of the following actions at the same time: *
Generate rich message responses. * Set parameter values. * Call the webhook.
Fulfillments can be called at various stages in the Page or Form lifecycle.
For example, when a DetectIntentRequest drives a session to enter a new page,
the page's entry fulfillment can add a static response to the QueryResult in
the returning DetectIntentResponse, call the webhook (for example, to load
user data from a database), or both.
Corresponds to the JSON property triggerFulfillment
9844 9845 9846 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9844 def trigger_fulfillment @trigger_fulfillment end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9851 9852 9853 9854 9855 9856 9857 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9851 def update!(**args) @data_store_connections = args[:data_store_connections] if args.key?(:data_store_connections) @enabled = args[:enabled] if args.key?(:enabled) @target_flow = args[:target_flow] if args.key?(:target_flow) @target_page = args[:target_page] if args.key?(:target_page) @trigger_fulfillment = args[:trigger_fulfillment] if args.key?(:trigger_fulfillment) end |