View Source GoogleApi.ContentWarehouse.V1.Model.HomeGraphCommonTraitRoutingHints (google_api_content_warehouse v0.3.0)

LINT.IfChange go/shed-per-trait-routing. Making it object to allow for extendible design, where we can add attributes in future.

Attributes

  • cloudFulfillmentOnly (type: boolean(), default: nil) - Set to true for a non-local trait.
  • trait (type: String.t, default: nil) - Trait name, e.g., "action.devices.traits.MediaInitiation". See device traits. See java/com/google/home/graph/common/devices/config/protoconf.pi for the exhaustive list of trait-strings.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.HomeGraphCommonTraitRoutingHints{
  cloudFulfillmentOnly: boolean() | nil,
  trait: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.