Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface HandlerRequest

Represents a request sent to a developer's fulfillment by Google.

Hierarchy

  • HandlerRequest

Properties

Optional context

context: undefined | Context

Optional. Information of current context of the request. Includes but isn't limited to active media session info or canvas info.

Optional device

device: undefined | Device

Required. Info on the device the user is using to interact with the Action.

Optional handler

handler: undefined | Handler

Required. Information to fulfillment on how to handle the request. For example a request intending to get a fact might have a handler with a name of "getFact".

Optional home

home: undefined | Home

Optional. Information related to the HomeGraph structure that the target device belongs to. See https://developers.google.com/actions/smarthome/concepts/homegraph.

Optional intent

intent: undefined | Intent

Required. Represents the last matched intent.

Optional scene

scene: undefined | Scene

Optional. Info on the current and next scene when the function was called. Will be filled when the fulfillment call is made within the scope of a scene.

Optional session

session: undefined | Session

Required. Holds session data like the session id and session parameters.

Optional user

user: undefined | User

Required. User who initiated the conversation.

Generated using TypeDoc