    protocol BaseAutomation : Identifiable, Sendable

A base protocol for all `https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/Automation.html` instances.
- `


  ### [id](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/BaseAutomation#/s:13GoogleHomeSDK14BaseAutomationP2idSSvp)


  ` For existing automations, its identifier, unique for the users structure.
  For new automations, the identifier should be empty.

  #### Declaration

  Swift

      var id: String { get }

- `


  ### [structureID](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/BaseAutomation#/s:13GoogleHomeSDK14BaseAutomationP11structureIDSSvp)


  ` The structure this automation belongs to.

  #### Declaration

  Swift

      var structureID: String { get }

- `


  ### [name](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/BaseAutomation#/s:13GoogleHomeSDK14BaseAutomationP4nameSSvp)


  ` User given name for the automation.

  #### Declaration

  Swift

      var name: String { get }

- `


  ### [description](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/BaseAutomation#/s:13GoogleHomeSDK14BaseAutomationP11descriptionSSvp)


  ` Description of this automation instance.

  #### Declaration

  Swift

      var description: String { get }

- `


  ### [isActive](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/BaseAutomation#/s:13GoogleHomeSDK14BaseAutomationP8isActiveSbvp)


  ` Whether the automation will execute from starters.

  #### Declaration

  Swift

      var isActive: Bool { get }

- `


  ### [executionCount](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/BaseAutomation#/s:13GoogleHomeSDK14BaseAutomationP14executionCounts5Int32VSgvp)


  ` The number of times the automation has been executed. This field is only applicable to
  1-time/n-time automations. Default nil if not set.

  #### Declaration

  Swift

      var executionCount: Int32? { get }

- `


  ### [maxExecutionCount](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/BaseAutomation#/s:13GoogleHomeSDK14BaseAutomationP17maxExecutionCounts5Int32VSgvp)


  ` The maximum number of times the automation can be executed. This field is only applicable to
  1-time/n-time automations. Default nil if not set.

  #### Declaration

  Swift

      var maxExecutionCount: Int32? { get }

- `


  ### [automationGraph](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/BaseAutomation#/s:13GoogleHomeSDK14BaseAutomationP15automationGraphAA14SequentialFlowVSgvp)


  ` List of nodes. Nodes in the automation graph execute sequentially by default.

  #### Declaration

  Swift

      var automationGraph: https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/SequentialFlow.html? { get }

- `


  ### [clientFeatureGroup](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/BaseAutomation#/s:13GoogleHomeSDK14BaseAutomationP18clientFeatureGroupSSSgvp)


  ` Unique identifier of the client feature group that the automation belongs to.
  Assigning a `clientFeatureGroup` allows the automation to be application-managed.

  #### Declaration

  Swift

      var clientFeatureGroup: String? { get }

- `


  ### [automationSourceMetadata](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/BaseAutomation#/s:13GoogleHomeSDK14BaseAutomationP24automationSourceMetadataAA0egH0VSgvp)


  ` Information about how the automation was created.

  #### Declaration

  Swift

      var automationSourceMetadata: https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/AutomationSourceMetadata.html? { get }

- `


  ### [appManagedAutomationConfig](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/BaseAutomation#/s:13GoogleHomeSDK14BaseAutomationP010appManagedE6ConfigAA03AppgeH0VSgvp)


  ` Configuration for app-managed automations.

  #### Declaration

  Swift

      var appManagedAutomationConfig: https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/AppManagedAutomationConfig.html? { get }