> Documentation index: https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/AdvancedPerceptionDetectionTrait/SecurityIncidentDetectedEvent/llms.txt

    struct Payload

Payload for the `SecurityIncidentDetectedEvent`.
- `


  ### [hgsDeviceId](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/AdvancedPerceptionDetectionTrait/SecurityIncidentDetectedEvent/Payload.md.txt#/s:15GoogleHomeTypes0A0O32AdvancedPerceptionDetectionTraitV29SecurityIncidentDetectedEventV7PayloadV11hgsDeviceIdSSSgvp)


  ` The device ID of the device that generated the event.

  #### Declaration

  Swift

      let hgsDeviceId: String?

- `


  ### [startTimeMillis](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/AdvancedPerceptionDetectionTrait/SecurityIncidentDetectedEvent/Payload.md.txt#/s:15GoogleHomeTypes0A0O32AdvancedPerceptionDetectionTraitV29SecurityIncidentDetectedEventV7PayloadV15startTimeMilliss5Int64VSgvp)


  ` The start time of the event.

  #### Declaration

  Swift

      let startTimeMillis: Int64?

- `


  ### [endTimeMillis](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/AdvancedPerceptionDetectionTrait/SecurityIncidentDetectedEvent/Payload.md.txt#/s:15GoogleHomeTypes0A0O32AdvancedPerceptionDetectionTraitV29SecurityIncidentDetectedEventV7PayloadV13endTimeMilliss5Int64VSgvp)


  ` The end time of the event.

  #### Declaration

  Swift

      let endTimeMillis: Int64?

- `


  ### [eventSessionId](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/AdvancedPerceptionDetectionTrait/SecurityIncidentDetectedEvent/Payload.md.txt#/s:15GoogleHomeTypes0A0O32AdvancedPerceptionDetectionTraitV29SecurityIncidentDetectedEventV7PayloadV14eventSessionIdSSSgvp)


  ` The session ID.

  #### Declaration

  Swift

      let eventSessionId: String?

- `


  ### [detections](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/AdvancedPerceptionDetectionTrait/SecurityIncidentDetectedEvent/Payload.md.txt#/s:15GoogleHomeTypes0A0O32AdvancedPerceptionDetectionTraitV29SecurityIncidentDetectedEventV7PayloadV10detectionsSayAE0hI6DetailVGSgvp)


  ` The details of the event.

  #### Declaration

  Swift

      let detections: [Google.AdvancedPerceptionDetectionTrait.SecurityIncidentDetail]?

- `


  ### [incidentStatus](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/AdvancedPerceptionDetectionTrait/SecurityIncidentDetectedEvent/Payload.md.txt#/s:15GoogleHomeTypes0A0O32AdvancedPerceptionDetectionTraitV29SecurityIncidentDetectedEventV7PayloadV14incidentStatusAE0hiN0OSgvp)


  ` Overall status of the security incident across all sub-detections.

  #### Declaration

  Swift

      let incidentStatus: Google.AdvancedPerceptionDetectionTrait.SecurityIncidentStatus?

- `


  ### [debugDescription](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/AdvancedPerceptionDetectionTrait/SecurityIncidentDetectedEvent/Payload.md.txt#/s:15GoogleHomeTypes0A0O32AdvancedPerceptionDetectionTraitV29SecurityIncidentDetectedEventV7PayloadV16debugDescriptionSSvp)


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