Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AutomatedAgentConfig
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AutomatedAgentConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb
Overview
Defines the Automated Agent to connect to a conversation.
Instance Attribute Summary collapse
-
#agent ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2AutomatedAgentConfig
constructor
A new instance of GoogleCloudDialogflowV2AutomatedAgentConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2AutomatedAgentConfig
Returns a new instance of GoogleCloudDialogflowV2AutomatedAgentConfig.
6440 6441 6442 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6440 def initialize(**args) update!(**args) end |
Instance Attribute Details
#agent ⇒ 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-@
gcp-sa-dialogflow.iam.gserviceaccount.com the Dialogflow API Service Agent
role in this project. - For ES agents, use format: projects//locations//agent/
environments/. If environment is not specified, the default draft
environment is used. Refer to DetectIntentRequest
for more details. - For CX agents, use format projects//locations//agents//
environments/. If environment is not specified, the default draft
environment is used.
Corresponds to the JSON property agent
6438 6439 6440 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6438 def agent @agent end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6445 6446 6447 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6445 def update!(**args) @agent = args[:agent] if args.key?(:agent) end |