Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface GoogleActionsV2AppResponse

Hierarchy

  • GoogleActionsV2AppResponse

Properties

Optional conversationToken

conversationToken: undefined | string

An opaque token that is recirculated to the Action every conversation turn.

Optional customPushMessage

A custom push message that allows developers to send structured data to Actions on Google.

Optional expectUserResponse

expectUserResponse: undefined | false | true

Indicates whether the Action is expecting a user response. This is true when the conversation is ongoing, false when the conversation is done.

Optional expectedInputs

List of inputs the Action expects, each input can be a common Actions on Google intent (start with 'actions.'), or an input taking list of possible intents. Only one input is supported for now.

Optional finalResponse

Final response when the Action does not expect user's input.

Optional isInSandbox

isInSandbox: undefined | false | true

Indicates whether the response should be handled in sandbox mode. This bit is needed to push structured data to Google in sandbox mode.

Optional resetUserStorage

resetUserStorage: undefined | false | true

Whether to clear the persisted user_storage. If set to true, then in the next interaction with the user, the user_storage field will be empty.

Optional userStorage

userStorage: undefined | string

An opaque token controlled by the Action that is persisted across conversations for a particular user. If empty or unspecified, the existing persisted token will be unchanged. The maximum size of the string is 10k bytes. If multiple dialogs are occurring concurrently for the same user, then updates to this token can overwrite each other unexpectedly.

Generated using TypeDoc