    struct Request

    extension https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/StructureUserManagementTrait.html.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/StructureUserManagementTrait/CreateInvitation.html.Request : CommandRequest, Sendable

Undocumented
- `


  ### [intendedUserRole](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/StructureUserManagementTrait/CreateInvitation/Request#/s:15GoogleHomeTypes0A0O28StructureUserManagementTraitV16CreateInvitationV7RequestV08intendedE4RoleAE0eL0OSgvp)


  ` Undocumented

  #### Declaration

  Swift

      let intendedUserRole: https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/StructureUserManagementTrait.html.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/StructureUserManagementTrait/UserRole.html?

- `


  ### [encode(with:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/StructureUserManagementTrait/CreateInvitation/Request#/s:15GoogleHomeTypes0A0O28StructureUserManagementTraitV16CreateInvitationV7RequestV6encode4withy0aB3SDK0G7EncoderC_tKF)


  ` Writes this Request to the given `TraitEncoder`.
  Throws
  `HomeError.parseError` when parsing fails.

  #### Declaration

  Swift

      func encode(with encoder: TraitEncoder) throws