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: 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: Device

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

Optional handler

handler: 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: 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: Intent

Required. Represents the last matched intent.

Optional scene

scene: 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: Session

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

Optional user

user: User

Required. User who initiated the conversation.

Generated using TypeDoc