Google Assistant

Integration published by Jovo | 37,840 downloads

Build apps for Google's Assistant platform

Request

Introduction

The request is the incoming data that the Alexa platform sends to your app's endpoint. It consists of information like:

  • User ID,
  • Intent, e.g. MyNameIsIntent
  • Input, e.g. name
  • Session data, e.g. a state

and other things that might be relevant to your app. You can access the incoming request with this.$request.

Here's an example request:

In the Jovo Framework repository we keep sample requests for the most common types. You can find them here

$request Object

Besides the cross-platform getter and setter methods the Google Assistant $request object supports the following general helper methods:

Name Description Return Value
getUserStorage() Returns the userStorage object where you can persist data across sessions object
hasWebBrowserInterface() Returns true if the user's device is capable of using a web browser boolean

Google Assistant Changelog

Current version might be higher than the latest changes displayed below because of updates of dependencies.

3.0.12 (2020-04-09)

🐛 Bug Fix

  • #716 Corrected logic for retrieving project-ids in staged environments (@m-ripper)

Committers: 3

3.0.11 (2020-04-06)

  • Updated Typescript to 3.8.x
  • Updated Prettier to 2.x

Committers: 2

2.x

Find the 2.x changelog here.

Join Our Newsletter

Be the first to get our free tutorials, courses, and other resources for voice app developers.