    struct AutomationExecutionEvent

    extension https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/AutomationExecutionTrait.html.AutomationExecutionEvent : CustomDebugStringConvertible, Equatable, https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/Event.html, Hashable, Sendable, SendableMetatype

Event emitted when an automation execution occurs, containing details and
metadata of the executed automation.
- `


  ### [identifier](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/AutomationExecutionTrait/AutomationExecutionEvent#/s:13GoogleHomeSDK24AutomationExecutionTraitV0dE5EventV10identifierAA06ScopedG2IDVvpZ)


  ` Identifier for this event.

  The Event ID is appended onto the Trait ID of the trait this event belongs to.

  #### Declaration

  Swift

      static let identifier: https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/ScopedEventID.html

- `


  ### [name](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/AutomationExecutionTrait/AutomationExecutionEvent#/s:13GoogleHomeSDK24AutomationExecutionTraitV0dE5EventV4names12StaticStringVvpZ)


  ` Name of the given event type.

  #### Declaration

  Swift

      static let name: StaticString

- `


  ### [automationID](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/AutomationExecutionTrait/AutomationExecutionEvent#/s:13GoogleHomeSDK24AutomationExecutionTraitV0dE5EventV12automationIDSSvp)


  ` A unique identifier of the executed automation.

  #### Declaration

  Swift

      let automationID: String

- `


  ### [automationName](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/AutomationExecutionTrait/AutomationExecutionEvent#/s:13GoogleHomeSDK24AutomationExecutionTraitV0dE5EventV14automationNameSSvp)


  ` A user provided automation name.

  #### Declaration

  Swift

      let automationName: String

- `


  ### [managingAppDisplayNames](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/AutomationExecutionTrait/AutomationExecutionEvent#/s:13GoogleHomeSDK24AutomationExecutionTraitV0dE5EventV23managingAppDisplayNamesSayAA13LocalizedTextVGvp)


  ` Display names of the managing app.

  #### Declaration

  Swift

      let managingAppDisplayNames: [https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/LocalizedText.html]

- `


  ### [timestamp](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/AutomationExecutionTrait/AutomationExecutionEvent#/s:13GoogleHomeSDK24AutomationExecutionTraitV0dE5EventV9timestampSdvp)


  ` Timestamp of when the given event occurred on the sender.

  #### Declaration

  Swift

      let timestamp: TimeInterval

- `


  ### [importance](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/AutomationExecutionTrait/AutomationExecutionEvent#/s:13GoogleHomeSDK24AutomationExecutionTraitV0dE5EventV10importanceAA0G10ImportanceOvp)


  ` Reported importance level of the given event.

  #### Declaration

  Swift

      let importance: https://developers.home.google.com/reference/swift/GoogleHomeSDK/Enums/EventImportance.html

- `


  ### [number](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/AutomationExecutionTrait/AutomationExecutionEvent#/s:13GoogleHomeSDK24AutomationExecutionTraitV0dE5EventV6numberSuvp)


  ` Optional number of the event in the sequence history of this field.

  #### Declaration

  Swift

      let number: UInt

- `


  ### [partID](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/AutomationExecutionTrait/AutomationExecutionEvent#/s:13GoogleHomeSDK24AutomationExecutionTraitV0dE5EventV6partIDSSSgvp)


  ` Optional ID of the part that emitted this event.

  #### Declaration

  Swift

      let partID: String?

- `


  ### [init(decoder:timestamp:importance:number:partID:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/AutomationExecutionTrait/AutomationExecutionEvent#/s:13GoogleHomeSDK24AutomationExecutionTraitV0dE5EventV7decoder9timestamp10importance6number6partIDAeA0F7DecoderV_SdAA0G10ImportanceOSuSSSgtKcfc)


  ` Initializer to decode the event.

  #### Declaration

  Swift

      init(decoder: https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/TraitDecoder.html, timestamp: TimeInterval, importance: https://developers.home.google.com/reference/swift/GoogleHomeSDK/Enums/EventImportance.html, number: UInt, partID: String?) throws

- `


  ### [init(automationID:automationName:managingAppDisplayNames:timestamp:importance:number:partID:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/AutomationExecutionTrait/AutomationExecutionEvent#/s:13GoogleHomeSDK24AutomationExecutionTraitV0dE5EventV12automationID0H4Name23managingAppDisplayNames9timestamp10importance6number04partI0AESS_SSSayAA13LocalizedTextVGSdAA0G10ImportanceOSuSSSgtcfc)


  ` Memberwise initializer for testing and manual construction.

  #### Declaration

  Swift

      init(automationID: String, automationName: String, managingAppDisplayNames: [https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/LocalizedText.html] = [], timestamp: TimeInterval = 0, importance: https://developers.home.google.com/reference/swift/GoogleHomeSDK/Enums/EventImportance.html = .productionStandard, number: UInt = 0, partID: String? = nil)

- `


  ### [encode(with:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/AutomationExecutionTrait/AutomationExecutionEvent#/s:13GoogleHomeSDK24AutomationExecutionTraitV0dE5EventV6encode4withyAA0F7EncoderC_tKF)


  ` Encodes the given event.

  #### Declaration

  Swift

      func encode(with encoder: https://developers.home.google.com/reference/swift/GoogleHomeSDK/Classes/TraitEncoder.html) throws

- `


  ### [eventField(id:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/AutomationExecutionTrait/AutomationExecutionEvent#/s:13GoogleHomeSDK24AutomationExecutionTraitV0dE5EventV10eventField2idAA0I0_pSgs6UInt32V_tFZ)


  ` Returns the field corresponding to the given field ID.

  #### Declaration

  Swift

      static func eventField(id: UInt32) -> (any https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/Field.html)?

- `


  ### [debugDescription](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/AutomationExecutionTrait/AutomationExecutionEvent#/s:13GoogleHomeSDK24AutomationExecutionTraitV0dE5EventV16debugDescriptionSSvp)


  ` A textual representation of this instance, suitable for debugging.

  Calling this property directly is discouraged. Instead, convert an
  instance of any type to a string by using the `String(reflecting:)`
  initializer. This initializer works with any type, and uses the custom
  `debugDescription` property for types that conform to
  `CustomDebugStringConvertible`:

      struct Point: CustomDebugStringConvertible {
          let x: Int, y: Int

          var debugDescription: String {
              return "(\(x), \(y))"
          }
      }

      let p = Point(x: 21, y: 30)
      let s = String(reflecting: p)
      print(s)
      // Prints "(21, 30)"

  The conversion of `p` to a string in the assignment to `s` uses the
  `Point` type's `debugDescription` property.

  #### Declaration

  Swift

      var debugDescription: String { get }