WidgetExecuteActionRequest

Request message for WidgetService.WidgetExecuteAction method.

JSON representation
{
  "location": string,
  "configId": string,
  "executeActionRequest": {
    object (ExecuteActionRequest)
  },
  "additionalParams": {
    object (AdditionalParams)
  }
}
Fields
location

string

Required. The location resource where widget homepage FetchDocuments will be performed. Format: locations/{location}

configId

string

Required. The UUID of the WidgetConfig. This field is used to identify the widget configuration.

executeActionRequest

object (ExecuteActionRequest)

Required. The proxied request to DataConnectorService.ExecuteAction.

additionalParams

object (AdditionalParams)

Additional params for security and privacy enhancement.

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.