    struct SuggestionMetadata

    extension SuggestionMetadata : Equatable, Hashable, Sendable, SendableMetatype

Metadata about an automation suggestion.
- `


  ### [rank](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/SuggestionMetadata#/s:13GoogleHomeSDK18SuggestionMetadataV4rankSivp)


  ` The score of the suggestion.

  #### Declaration

  Swift

      let rank: Int

- `


  ### [type](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/SuggestionMetadata#/s:13GoogleHomeSDK18SuggestionMetadataV4typeSayAA0D4TypeOGvp)


  ` The category of the suggestion.

  #### Declaration

  Swift

      let type: [https://developers.home.google.com/reference/swift/GoogleHomeSDK/Enums/SuggestionType.html]

- `


  ### [source](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/SuggestionMetadata#/s:13GoogleHomeSDK18SuggestionMetadataV6sourceAA0D6SourceOvp)


  ` The source of the suggestion.

  #### Declaration

  Swift

      let source: https://developers.home.google.com/reference/swift/GoogleHomeSDK/Enums/SuggestionSource.html

- `


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


  ` The name of the suggestion.

  #### Declaration

  Swift

      let name: String

- `


  ### [description](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/SuggestionMetadata#/s:13GoogleHomeSDK18SuggestionMetadataV11descriptionSSvp)


  ` The description of the suggestion.

  #### Declaration

  Swift

      let description: String

- `


  ### [feedbackType](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/SuggestionMetadata#/s:13GoogleHomeSDK18SuggestionMetadataV12feedbackTypeAA08FeedbackG0Ovp)


  ` The feedback for the suggestion.

  #### Declaration

  Swift

      let feedbackType: https://developers.home.google.com/reference/swift/GoogleHomeSDK/Enums/FeedbackType.html

- `


  ### [init(rank:type:source:name:description:feedbackType:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/SuggestionMetadata#/s:13GoogleHomeSDK18SuggestionMetadataV4rank4type6source4name11description12feedbackTypeACSi_SayAA0dL0OGAA0D6SourceOS2SAA08FeedbackL0Otcfc)


  ` Undocumented

  #### Declaration

  Swift

      init(rank: Int, type: [https://developers.home.google.com/reference/swift/GoogleHomeSDK/Enums/SuggestionType.html], source: https://developers.home.google.com/reference/swift/GoogleHomeSDK/Enums/SuggestionSource.html, name: String, description: String, feedbackType: https://developers.home.google.com/reference/swift/GoogleHomeSDK/Enums/FeedbackType.html = .unspecified)