AssistantApiSettingsHomeGraphData

GoogleApi.ContentWarehouse.V1.Model.AssistantApiSettingsHomeGraphData


Table of Contents ▼

Jump to a specific part of the page:

Description

Next ID: 8

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. agentId (type: String.t, default: nil)
    - Agent ID, aka project ID. Used as the AgentDeviceId.agent_id of device when calling Home Graph Service.
  2. attributes (type: map(), default: nil)
    - See go/ha-dev-guide and HomeGraphItem.attribute in //assistant/verticals/homeautomation/proto/home_graph.proto
  3. deviceId (type: String.t, default: nil)
    - Device ID, used as AgentDeviceId.device_id of device when calling Home Graph Service.
  4. 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.
  5. 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.
  6. 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.
  7. supportsDirectResponse (type: boolean(), default: nil)
    - Whether the device supports direct response. See HomeGraphItem.supports_direct_response in //assistant/verticals/homeautomation/proto/home_graph.proto

Type

@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
}

Function

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

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.AssistantApiSettingsHomeGraphData