Class: Google::Cloud::Dialogflow::V2::AutomatedAgentConfig
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::V2::AutomatedAgentConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dialogflow/v2/conversation_profile.rb
Overview
Defines the Automated Agent to connect to a conversation.
Instance Attribute Summary collapse
-
#agent ⇒ ::String
Required.
-
#session_ttl ⇒ ::Google::Protobuf::Duration
Optional.
Instance Attribute Details
#agent ⇒ ::String
Returns Required. ID of the Dialogflow agent environment to use.
This project needs to either be the same project as the conversation or you
need to grant service-<Conversation Project
Number>@gcp-sa-dialogflow.iam.gserviceaccount.com
the Dialogflow API
Service Agent
role in this project.
For ES agents, use format:
projects/<Project ID>/locations/<Location ID>/agent/environments/<Environment ID or '-'>
. If environment is not specified, the defaultdraft
environment is used. Refer to DetectIntentRequest for more details.For CX agents, use format
projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID or '-'>
. If environment is not specified, the defaultdraft
environment is used.
205 206 207 208 |
# File 'proto_docs/google/cloud/dialogflow/v2/conversation_profile.rb', line 205 class AutomatedAgentConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#session_ttl ⇒ ::Google::Protobuf::Duration
Returns Optional. Configure lifetime of the Dialogflow session. By default, a Dialogflow CX session remains active and its data is stored for 30 minutes after the last request is sent for the session. This value should be no longer than 1 day.
205 206 207 208 |
# File 'proto_docs/google/cloud/dialogflow/v2/conversation_profile.rb', line 205 class AutomatedAgentConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |