View Source GoogleApi.HomeGraph.V1.Model.QueryRequest (google_api_home_graph v0.13.0)

Request type for the Query call.

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 device IDs for which to get the device states.
  • requestId (type: String.t, default: nil) - Request ID used for debugging.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.HomeGraph.V1.Model.QueryRequest{
  agentUserId: String.t() | nil,
  inputs: [GoogleApi.HomeGraph.V1.Model.QueryRequestInput.t()] | nil,
  requestId: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.