class Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AutomatedAgentConfig

Defines the Automated Agent to connect to a conversation.

Attributes

agent[RW]

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](/dialogflow/docs/reference/ rpc/google.cloud.dialogflow.v2beta1#google.cloud.dialogflow.v2beta1. 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` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 8014
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 8019
def update!(**args)
  @agent = args[:agent] if args.key?(:agent)
end