google_api_home_graph v0.2.0 GoogleApi.HomeGraph.V1.Model.QueryRequest View Source

Request type for the Query call. This should be the same format as the Actions on Google action.devices.QUERY request with the exception of the extra agent_user_id and no intent and customData fields.

Attributes

  • agentUserId (type: String.t, default: nil) - Required. Third-party user ID.
  • inputs (type: list(GoogleApi.HomeGraph.V1.Model.QueryRequestInput.t), default: nil) - Required. Inputs containing third-party partner's device IDs for which to get the device states.
  • requestId (type: String.t, default: nil) - Request ID used for debugging.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.HomeGraph.V1.Model.QueryRequest{
  agentUserId: String.t(),
  inputs: [GoogleApi.HomeGraph.V1.Model.QueryRequestInput.t()],
  requestId: String.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.