Request message for WidgetService.WidgetExecuteAction
method.
JSON representation |
---|
{ "location": string, "configId": string, "executeActionRequest": { object ( |
Fields | |
---|---|
location |
Required. The location resource where widget homepage FetchDocuments will be performed. Format: |
configId |
Required. The UUID of the WidgetConfig. This field is used to identify the widget configuration. |
executeActionRequest |
Required. The proxied request to DataConnectorService.ExecuteAction. |
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 ( |
Fields | |
---|---|
name |
Required. The data connector used for executing the action. |
actionName |
Required. Name of the action. For example: "send_email" |
args |
Required. Named arguments of the action. For example: When offered to a user, this part might be editable. |
languageCode |
Optional. Language to be used for status and error messages created by actions. |
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. |