AssistantVerticalsHomeautomationProtoCommonStructureBasedRoutine

GoogleApi.ContentWarehouse.V1.Model.AssistantVerticalsHomeautomationProtoCommonStructureBasedRoutine


Table of Contents ▼

Jump to a specific part of the page:

Description

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 List

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

View Attributes

Attributes

  1. enabled (type: boolean(), default: nil)
    - Whether this Routine is enabled or not. If false, then this Routine can't be triggered by Voice.
  2. 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
  3. language (type: String.t, default: nil)
    -
  4. payload (type: map(), default: nil)
    - Internal format payload primarily for Routines team use.
  5. securityLevel (type: String.t, default: nil)
    - The security level of the Structure Based Routine as determined by the most security-sensitive task.
  6. shared (type: boolean(), default: nil)
    -
  7. storagePayload (type: map(), default: nil)
    -
  8. structureId (type: String.t, default: nil)
    -
  9. triggers (type: list(GoogleApi.ContentWarehouse.V1.Model.AssistantVerticalsHomeautomationProtoCommonStructureBasedRoutineTrigger), default: nil)
    - Voice or event triggers.
  10. type (type: String.t, default: nil)
    -
  11. uiPayload (type: map(), default: nil)
    - UI format payload primarily for external team use.

Type

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

Function

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

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