AssistantApiSettingsHomeGraphData

AI Overview😉

  • The potential purpose of this module is to collect and organize data about devices connected to Google Home and other smart home systems, allowing Google Assistant to better understand and interact with these devices. This module appears to be focused on collecting information about the devices themselves, such as their type, capabilities, and settings.
  • This module could impact search results by influencing the way Google Assistant responds to voice commands and queries related to smart home devices. For example, if a user asks Google Assistant to turn on a specific light, this module's data could help the assistant understand which device to control and how to do so. This could also impact search results by providing more accurate and relevant information about devices and their capabilities.
  • A website may change things to be more favorable for this function by ensuring that their smart home devices are properly configured and registered with Google Home and Google Assistant. This could involve providing accurate and up-to-date information about their devices, such as their capabilities and settings, and ensuring that their devices are compatible with Google's smart home ecosystem. Additionally, websites could optimize their content to provide more relevant and useful information about smart home devices and their integration with Google Assistant.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

GoogleApi.ContentWarehouse.V1.Model.AssistantApiSettingsHomeGraphData (google_api_content_warehouse v0.4.0)

Next ID: 8

Attributes

  • agentId (type: String.t, default: nil) - Agent ID, aka project ID. Used as the AgentDeviceId.agent_id of device when calling Home Graph Service.
  • attributes (type: map(), default: nil) - See go/ha-dev-guide and HomeGraphItem.attribute in //assistant/verticals/homeautomation/proto/home_graph.proto
  • deviceId (type: String.t, default: nil) - Device ID, used as AgentDeviceId.device_id of device when calling Home Graph Service.
  • deviceType (type: String.t, default: nil) - HGS device type. See java/com/google/home/graph/service/config/protoconf.pi for the exhaustive list of type strings.
  • shouldWriteToHomeGraph (type: boolean(), default: nil) - Whether device data should be written to Home Graph via Assistant device_settings. Assistant SDK and Google Home write their devices into Home Graph through AssistantSettingsService, while Home Automation Partner devices (e.g. SmartThings, Philips Hue, Nest, TP-Link, etc.) don't need to be written to Home Graph through AssistantSettingsService. This field decides whether AssistantSettingsService writes devices to Home Graph or not.
  • supportedTraits (type: list(String.t), default: nil) - Supported traits of the device. See java/com/google/home/graph/service/config/protoconf.pi for the exhaustive list of trait-strings.
  • supportsDirectResponse (type: boolean(), default: nil) - Whether the device supports direct response. See HomeGraphItem.supports_direct_response in //assistant/verticals/homeautomation/proto/home_graph.proto

Summary

Types

t()

Functions

decode(value, options)

Unwrap a decoded JSON object into its complex fields.

Types

Link to this type

t()

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.AssistantApiSettingsHomeGraphData{
  agentId: String.t() | nil,
  attributes: map() | nil,
  deviceId: String.t() | nil,
  deviceType: String.t() | nil,
  shouldWriteToHomeGraph: boolean() | nil,
  supportedTraits: [String.t()] | nil,
  supportsDirectResponse: boolean() | nil
}

Functions

Link to this function

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.