Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb
Overview
Configurations for a Chat Engine.
Instance Attribute Summary collapse
-
#agent_creation_config ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig
Configurations for generating a Dialogflow agent.
-
#dialogflow_agent_to_link ⇒ String
The resource name of an exist Dialogflow agent to link to this Chat Engine.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig
Returns a new instance of GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig.
1647 1648 1649 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 1647 def initialize(**args) update!(**args) end |
Instance Attribute Details
#agent_creation_config ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig
Configurations for generating a Dialogflow agent. Note that these
configurations are one-time consumed by and passed to Dialogflow service. It
means they cannot be retrieved using GetEngine or ListEngine API after engine
creation.
Corresponds to the JSON property agentCreationConfig
1633 1634 1635 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 1633 def agent_creation_config @agent_creation_config end |
#dialogflow_agent_to_link ⇒ String
The resource name of an exist Dialogflow agent to link to this Chat Engine.
Customers can either provide agent_creation_config
to create agent or
provide an agent name that links the agent with the Chat engine. Format:
projects//locations//agents/
. Note that the dialogflow_agent_to_link
are
one-time consumed by and passed to Dialogflow service. It means they cannot be
retrieved using GetEngine or ListEngine API after engine creation. Please use
Engine.chat_engine_metadata.dialogflow_agent for actual agent association
after Engine is created.
Corresponds to the JSON property dialogflowAgentToLink
1645 1646 1647 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 1645 def dialogflow_agent_to_link @dialogflow_agent_to_link end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1652 1653 1654 1655 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 1652 def update!(**args) @agent_creation_config = args[:agent_creation_config] if args.key?(:agent_creation_config) @dialogflow_agent_to_link = args[:dialogflow_agent_to_link] if args.key?(:dialogflow_agent_to_link) end |