ExecuteActionRequest

Request for the DataConnectorService.ExecuteAction method.

JSON representation
{
  "name": string,
  "actionName": string,
  "args": {
    object
  },
  "languageCode": string,
  "assistAnswerInfo": {
    object (AssistAnswerInfo)
  }
}
Fields
name

string

Required. DataConnector resource.

The data connector used for executing the action.

actionName

string

Required. name of the action.

For example: "send_email"

args

object (Struct format)

Required. Named arguments of the action.

For example: {"recipient": "tom@...", "subject": ... }

When offered to a user, this part might be editable.

languageCode

string

Optional. Language to be used for status and error messages created by actions.

assistAnswerInfo

object (AssistAnswerInfo)

Optional. If specified, the result of the action execution will be associated with the given assist answer. This lets the assistant take the result into account in subsequent answers in the same session.

The referenced assist answer resource must exist.

AssistAnswerInfo

Message that identifes an action invocation in the assist answer.

JSON representation
{
  "assistAnswer": string,
  "invocationId": string
}
Fields
assistAnswer

string

Required. name of the assist answer.

Format: projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assistAnswer}

invocationId

string

Required. The action invocation id.