Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::AutomatedAgentConfig.
Defines the Automated Agent to connect to a conversation.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#agent
def agent() -> ::String
-
(::String) —
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
theDialogflow 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.
#agent=
def agent=(value) -> ::String
-
value (::String) —
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
theDialogflow 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.
-
(::String) —
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
theDialogflow 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.
#session_ttl
def session_ttl() -> ::Google::Protobuf::Duration
- (::Google::Protobuf::Duration) — 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.
#session_ttl=
def session_ttl=(value) -> ::Google::Protobuf::Duration
- value (::Google::Protobuf::Duration) — 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.
- (::Google::Protobuf::Duration) — 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.