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.