View Source GoogleApi.ContentWarehouse.V1.Model.AssistantVerticalsHomeautomationProtoCommonStructureBasedRoutine (google_api_content_warehouse v0.4.0)
Routines team stores the core Structure Based Routine data as the payload. We will add specific metadata on a per-need basis. LINT.IfChange(proto_structure_based_routine) Next id: 12 These two forms of payload are equivalent data in different formats and both will be stored in Home Graph. 1. The internal format will fan out to the DynamicEntity Footprints for read in Settings flow and Execution. 2. The UI format will be stripped out upon replication to DynamicEntity Footprints due to its redundancy and the Footprints data size limit, i.e. DE Footprints will only contain the internal format.
Attributes
-
enabled
(type:boolean()
, default:nil
) - Whether this Routine is enabled or not. If false, then this Routine can't be triggered by Voice. -
googlePreconfigWorkflowId
(type:String.t
, default:nil
) - The unique identifier for a class of workflows. For example: "sbr_001" => Away "sbr_002" => Home * "category_template" => CUSTOM -
language
(type:String.t
, default:nil
) - -
payload
(type:map()
, default:nil
) - Internal format payload primarily for Routines team use. -
securityLevel
(type:String.t
, default:nil
) - The security level of the Structure Based Routine as determined by the most security-sensitive task. -
shared
(type:boolean()
, default:nil
) - -
storagePayload
(type:map()
, default:nil
) - -
structureId
(type:String.t
, default:nil
) - -
triggers
(type:list(GoogleApi.ContentWarehouse.V1.Model.AssistantVerticalsHomeautomationProtoCommonStructureBasedRoutineTrigger.t)
, default:nil
) - Voice or event triggers. -
type
(type:String.t
, default:nil
) - -
uiPayload
(type:map()
, default:nil
) - UI format payload primarily for external team use.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.AssistantVerticalsHomeautomationProtoCommonStructureBasedRoutine{ enabled: boolean() | nil, googlePreconfigWorkflowId: String.t() | nil, language: String.t() | nil, payload: map() | nil, securityLevel: String.t() | nil, shared: boolean() | nil, storagePayload: map() | nil, structureId: String.t() | nil, triggers: [ GoogleApi.ContentWarehouse.V1.Model.AssistantVerticalsHomeautomationProtoCommonStructureBasedRoutineTrigger.t() ] | nil, type: String.t() | nil, uiPayload: map() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.