    struct FaceLibraryTrait

    extension https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.FaceLibraryTrait : Copyable, CustomStringConvertible, Equatable, Escapable, Hashable, Sendable, Trait, TraitEncodable

Undocumented
- `


  ### [identifier](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV10identifierSSvpZ)


  ` The trait identifier.

  #### Declaration

  Swift

      static let identifier: String

- `


  ### [supportedEventTypes](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV014supportedEventC0Say0aB3SDK0H0_pXpGvpZ)


  ` List of all event types on the given Trait.

  Currently, only `MatterTrait` traits support any events, but this will likely expand to other
  traits in the future.

  #### Declaration

  Swift

      static let supportedEventTypes: [any Event.Type]

- `


  ### [supportedCommandTypes](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV016supportedCommandC0Say0aB3SDK0H0_pXpGvpZ)


  ` List of all commands supported by the Trait's definition. The commands supported by a specific
  Trait instance may vary.

  #### Declaration

  Swift

      static var supportedCommandTypes: [any Command.Type] { get }

- `


  ### [metadata](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV8metadata0aB3SDK0F8MetadataVvp)


  ` Metadata about this `Trait`.

  #### Declaration

  Swift

      let metadata: TraitMetadata

- `


  ### [attributes](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV10attributesAE10AttributesVvp)


  ` Undocumented

  #### Declaration

  Swift

      let attributes: https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.FaceLibraryTrait.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/Attributes.html

- `


  ### [init(decoder:interactionProxy:metadata:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV7decoder16interactionProxy8metadataAE0aB3SDK0F7DecoderV_AI011InteractionI0_pSgAI0F8MetadataVtKcfc)


  ` Creates a new Trait instance using data read from the given `TraitDecoder`.
  Throws
  `HomeError.parseError` when parsing fails.

  #### Declaration

  Swift

      init(decoder: TraitDecoder, interactionProxy: (any InteractionProxy)?, metadata: TraitMetadata) throws

  #### Parameters

  |---|---|
  | ` decoder ` | The raw data representing this Trait. |
  | ` interactionProxy ` | Proxy to the Interaction Client. |
  | ` metadata ` | Metadata about this Trait. |

- `


  ### [init(attributes:interactionProxy:metadata:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV10attributes16interactionProxy8metadataA2E10AttributesV_0aB3SDK011InteractionI0_pAK0F8MetadataVtcfc)


  ` Undocumented

  #### Declaration

  Swift

      init(attributes: https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.FaceLibraryTrait.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/Attributes.html, interactionProxy: any InteractionProxy, metadata: TraitMetadata = TraitMetadata())

- `


  ### [encode(with:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV6encode4withy0aB3SDK0F7EncoderC_tKF)


  ` Writes this object to the given `TraitEncoder`.
  Throws `HomeError.encodingFailed` if the data could not be encoded.

  #### Declaration

  Swift

      func encode(with encoder: TraitEncoder) throws

- `


  ### [==(_:_:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV2eeoiySbAE_AEtFZ)


  ` Returns a Boolean value indicating whether two values are equal.

  Equality is the inverse of inequality. For any values `a` and `b`,
  `a == b` implies that `a != b` is `false`.

  #### Declaration

  Swift

      static func == (lhs: https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.FaceLibraryTrait, rhs: https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.FaceLibraryTrait) -> Bool

  #### Parameters

  |---|---|
  | ` lhs ` | A value to compare. |
  | ` rhs ` | Another value to compare. |

- `


  ### [hash(into:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV4hash4intoys6HasherVz_tF)


  ` Hashes the essential components of this value by feeding them into the
  given hasher.

  Implement this method to conform to the `Hashable` protocol. The
  components used for hashing must be the same as the components compared
  in your type's `==` operator implementation. Call `hasher.combine(_:)`
  with each of these components.
  Important

  In your implementation of `hash(into:)`,
  don't call `finalize()` on the `hasher` instance provided,
  or replace it with a different instance.
  Doing so may become a compile-time error in the future.

  #### Declaration

  Swift

      func hash(into hasher: inout Hasher)

- `


  ### [Attributes](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/Attributes.html)


  ` Undocumented

  #### Declaration

  Swift

      struct Attributes

      extension https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait.html.Attributes : Copyable, Equatable, Escapable, Hashable, Sendable

- `


  ### [Attribute](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/Attribute.html)


  ` Undocumented

  #### Declaration

  Swift

      enum Attribute

      extension https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait.html.Attribute : Equatable, Field, Hashable, RawRepresentable, Sendable

- `


  ### [attribute(id:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV9attribute2id0aB3SDK5Field_pSgs6UInt32V_tFZ)


  ` Undocumented

  #### Declaration

  Swift

      static func attribute(id: UInt32) -> (any Field)?

- `


  ### [Face](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/Face.html)


  ` Undocumented

  #### Declaration

  Swift

      struct Face

      extension https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait.html.Face : AutomationValue, DefaultConstructible, Equatable, Hashable, Sendable, StructDataRepresentable

- `


  ### [FaceInstance](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/FaceInstance.html)


  ` Undocumented

  #### Declaration

  Swift

      struct FaceInstance

      extension https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait.html.FaceInstance : AutomationValue, DefaultConstructible, Equatable, Hashable, Sendable, StructDataRepresentable

- `


  ### [FaceByInstance](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/FaceByInstance.html)


  ` Undocumented

  #### Declaration

  Swift

      struct FaceByInstance

      extension https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait.html.FaceByInstance : AutomationValue, DefaultConstructible, Equatable, Hashable, Sendable, StructDataRepresentable

- `


  ### [FaceIds](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/FaceIds.html)


  ` Undocumented

  #### Declaration

  Swift

      struct FaceIds

      extension https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait.html.FaceIds : AutomationValue, DefaultConstructible, Equatable, Hashable, Sendable, StructDataRepresentable

- `


  ### [FaceCategories](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/FaceCategories.html)


  ` Undocumented

  #### Declaration

  Swift

      struct FaceCategories

      extension https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait.html.FaceCategories : AutomationValue, DefaultConstructible, Equatable, Hashable, Sendable, StructDataRepresentable

- `


  ### [FaceInstancePositiveFeedback](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/FaceInstancePositiveFeedback.html)


  ` Undocumented

  #### Declaration

  Swift

      struct FaceInstancePositiveFeedback

      extension https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait.html.FaceInstancePositiveFeedback : AutomationValue, DefaultConstructible, Equatable, Hashable, Sendable, StructDataRepresentable

- `


  ### [FaceInstanceNegativeFeedback](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/FaceInstanceNegativeFeedback.html)


  ` Undocumented

  #### Declaration

  Swift

      struct FaceInstanceNegativeFeedback

      extension https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait.html.FaceInstanceNegativeFeedback : AutomationValue, DefaultConstructible, Equatable, Hashable, Sendable, StructDataRepresentable

- `


  ### [FaceLibraryStatus](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/FaceLibraryStatus.html)


  ` Undocumented

  #### Declaration

  Swift

      enum FaceLibraryStatus

      extension https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait.html.FaceLibraryStatus : AutomationValue, Enum, Enum32, Equatable, Hashable, PlatformEnum, RawRepresentable, Sendable

- `


  ### [FaceCategory](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/FaceCategory.html)


  ` Undocumented

  #### Declaration

  Swift

      enum FaceCategory

      extension https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait.html.FaceCategory : AutomationValue, Enum, Enum32, Equatable, Hashable, PlatformEnum, RawRepresentable, Sendable

- `


  ### [GetFacesRequest](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV15GetFacesRequesta)


  ` Undocumented

  #### Declaration

  Swift

      typealias GetFacesRequest = https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.FaceLibraryTrait.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/GetFaces.html.Request

- `


  ### [GetFacesResponse](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV16GetFacesResponsea)


  ` Undocumented

  #### Declaration

  Swift

      typealias GetFacesResponse = https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.FaceLibraryTrait.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/GetFaces.html.Response

- `


  ### [GetFaces](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/GetFaces.html)


  ` Undocumented

  #### Declaration

  Swift

      struct GetFaces

      extension https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait.html.GetFaces : Command, Sendable

- `


  ### [getFaces(faceIds:faceCategories:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV8getFaces7faceIds0I10CategoriesAE03GetH0V8ResponseVAE0dJ0VSg_AE0dK0VSgtYaKF)


  `

  #### Declaration

  Swift

      func getFaces(faceIds: https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.FaceLibraryTrait.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/FaceIds.html? = nil, faceCategories: https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.FaceLibraryTrait.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/FaceCategories.html? = nil) async throws -> https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.FaceLibraryTrait.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait.html#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV16GetFacesResponsea

  #### Parameters

  |---|---|
  | ` faceIds ` | <br /> |
  | ` faceCategories ` | <br /> |

- `


  ### [getFaces(faceIds:faceCategories:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV8getFaces7faceIds0I10Categories0aB3SDK17AutomationCommandVAE0dJ0VSg_AE0dK0VSgtFZ)


  ` Undocumented

  #### Declaration

  Swift

      static func getFaces(faceIds: https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.FaceLibraryTrait.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/FaceIds.html?, faceCategories: https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.FaceLibraryTrait.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/FaceCategories.html?) -> AutomationCommand

- `


  ### [GetFacesByInstancesRequest](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV26GetFacesByInstancesRequesta)


  ` Undocumented

  #### Declaration

  Swift

      typealias GetFacesByInstancesRequest = https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.FaceLibraryTrait.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/GetFacesByInstances.html.Request

- `


  ### [GetFacesByInstancesResponse](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV27GetFacesByInstancesResponsea)


  ` Undocumented

  #### Declaration

  Swift

      typealias GetFacesByInstancesResponse = https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.FaceLibraryTrait.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/GetFacesByInstances.html.Response

- `


  ### [GetFacesByInstances](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/GetFacesByInstances.html)


  ` Undocumented

  #### Declaration

  Swift

      struct GetFacesByInstances

      extension https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait.html.GetFacesByInstances : Command, Sendable

- `


  ### [getFacesByInstances(faceInstanceIdsArray:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV19getFacesByInstances20faceInstanceIdsArrayAE03GethiJ0V8ResponseVSaySSG_tYaKF)


  `

  #### Declaration

  Swift

      func getFacesByInstances(faceInstanceIdsArray: [String]) async throws -> https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.FaceLibraryTrait.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait.html#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV27GetFacesByInstancesResponsea

  #### Parameters

  |---|---|
  | ` faceInstanceIdsArray ` | <br /> |

- `


  ### [getFacesByInstances(faceInstanceIdsArray:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV19getFacesByInstances20faceInstanceIdsArray0aB3SDK17AutomationCommandVSaySSG_tFZ)


  ` Undocumented

  #### Declaration

  Swift

      static func getFacesByInstances(faceInstanceIdsArray: [String]) -> AutomationCommand

- `


  ### [UpdateFaceRequest](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV06UpdateD7Requesta)


  ` Undocumented

  #### Declaration

  Swift

      typealias UpdateFaceRequest = https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.FaceLibraryTrait.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/UpdateFace.html.Request

- `


  ### [UpdateFaceResponse](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV06UpdateD8Responsea)


  ` Undocumented

  #### Declaration

  Swift

      typealias UpdateFaceResponse = https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.FaceLibraryTrait.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/UpdateFace.html.Response

- `


  ### [UpdateFace](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/UpdateFace.html)


  ` Undocumented

  #### Declaration

  Swift

      struct UpdateFace

      extension https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait.html.UpdateFace : Command, Sendable

- `


  ### [updateFace(id:name:category:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV06updateD02id4name8categoryAE06UpdateD0V8ResponseVSSSg_AnE0D8CategoryOSgtYaKF)


  `

  #### Declaration

  Swift

      func updateFace(id: String? = nil, name: String? = nil, category: https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.FaceLibraryTrait.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/FaceCategory.html? = nil) async throws -> https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.FaceLibraryTrait.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait.html#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV06UpdateD8Responsea

  #### Parameters

  |---|---|
  | ` id ` | <br /> |
  | ` name ` | <br /> |
  | ` category ` | <br /> |

- `


  ### [updateFace(id:name:category:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV06updateD02id4name8category0aB3SDK17AutomationCommandVSSSg_AmE0D8CategoryOSgtFZ)


  ` Undocumented

  #### Declaration

  Swift

      static func updateFace(id: String?, name: String?, category: https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.FaceLibraryTrait.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/FaceCategory.html?) -> AutomationCommand

- `


  ### [MergeFacesRequest](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV17MergeFacesRequesta)


  ` Undocumented

  #### Declaration

  Swift

      typealias MergeFacesRequest = https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.FaceLibraryTrait.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/MergeFaces.html.Request

- `


  ### [MergeFacesResponse](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV18MergeFacesResponsea)


  ` Undocumented

  #### Declaration

  Swift

      typealias MergeFacesResponse = https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.FaceLibraryTrait.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/MergeFaces.html.Response

- `


  ### [MergeFaces](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/MergeFaces.html)


  ` Undocumented

  #### Declaration

  Swift

      struct MergeFaces

      extension https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait.html.MergeFaces : Command, Sendable

- `


  ### [mergeFaces(mergedFaceId:faceIdsToMergeArray:name:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV10mergeFaces06mergedD2Id19faceIdsToMergeArray4nameAE0nH0V8ResponseVSSSg_SaySSGANtYaKF)


  `

  #### Declaration

  Swift

      func mergeFaces(mergedFaceId: String? = nil, faceIdsToMergeArray: [String], name: String? = nil) async throws -> https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.FaceLibraryTrait.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait.html#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV18MergeFacesResponsea

  #### Parameters

  |---|---|
  | ` mergedFaceId ` | <br /> |
  | ` faceIdsToMergeArray ` | <br /> |
  | ` name ` | <br /> |

- `


  ### [mergeFaces(mergedFaceId:faceIdsToMergeArray:name:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV10mergeFaces06mergedD2Id19faceIdsToMergeArray4name0aB3SDK17AutomationCommandVSSSg_SaySSGAMtFZ)


  ` Undocumented

  #### Declaration

  Swift

      static func mergeFaces(mergedFaceId: String?, faceIdsToMergeArray: [String], name: String?) -> AutomationCommand

- `


  ### [RemoveFacesRequest](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV18RemoveFacesRequesta)


  ` Undocumented

  #### Declaration

  Swift

      typealias RemoveFacesRequest = https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.FaceLibraryTrait.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/RemoveFaces.html.Request

- `


  ### [RemoveFacesResponse](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV19RemoveFacesResponsea)


  ` Undocumented

  #### Declaration

  Swift

      typealias RemoveFacesResponse = https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.FaceLibraryTrait.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/RemoveFaces.html.Response

- `


  ### [RemoveFaces](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/RemoveFaces.html)


  ` Undocumented

  #### Declaration

  Swift

      struct RemoveFaces

      extension https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait.html.RemoveFaces : Command, Sendable

- `


  ### [removeFaces(faceIdsArray:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV11removeFaces12faceIdsArrayAE06RemoveH0V8ResponseVSaySSG_tYaKF)


  `

  #### Declaration

  Swift

      func removeFaces(faceIdsArray: [String]) async throws -> https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.FaceLibraryTrait.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait.html#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV19RemoveFacesResponsea

  #### Parameters

  |---|---|
  | ` faceIdsArray ` | <br /> |

- `


  ### [removeFaces(faceIdsArray:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV11removeFaces12faceIdsArray0aB3SDK17AutomationCommandVSaySSG_tFZ)


  ` Undocumented

  #### Declaration

  Swift

      static func removeFaces(faceIdsArray: [String]) -> AutomationCommand

- `


  ### [GetFaceInstancesRequest](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV03GetD16InstancesRequesta)


  ` Undocumented

  #### Declaration

  Swift

      typealias GetFaceInstancesRequest = https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.FaceLibraryTrait.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/GetFaceInstances.html.Request

- `


  ### [GetFaceInstancesResponse](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV03GetD17InstancesResponsea)


  ` Undocumented

  #### Declaration

  Swift

      typealias GetFaceInstancesResponse = https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.FaceLibraryTrait.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/GetFaceInstances.html.Response

- `


  ### [GetFaceInstances](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/GetFaceInstances.html)


  ` Undocumented

  #### Declaration

  Swift

      struct GetFaceInstances

      extension https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait.html.GetFaceInstances : Command, Sendable

- `


  ### [getFaceInstances(faceId:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV03getD9Instances6faceIdAE03GetdH0V8ResponseVSSSg_tYaKF)


  `

  #### Declaration

  Swift

      func getFaceInstances(faceId: String? = nil) async throws -> https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.FaceLibraryTrait.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait.html#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV03GetD17InstancesResponsea

  #### Parameters

  |---|---|
  | ` faceId ` | <br /> |

- `


  ### [getFaceInstances(faceId:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV03getD9Instances6faceId0aB3SDK17AutomationCommandVSSSg_tFZ)


  ` Undocumented

  #### Declaration

  Swift

      static func getFaceInstances(faceId: String?) -> AutomationCommand

- `


  ### [MoveFaceInstancesRequest](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV04MoveD16InstancesRequesta)


  ` Undocumented

  #### Declaration

  Swift

      typealias MoveFaceInstancesRequest = https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.FaceLibraryTrait.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/MoveFaceInstances.html.Request

- `


  ### [MoveFaceInstancesResponse](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV04MoveD17InstancesResponsea)


  ` Undocumented

  #### Declaration

  Swift

      typealias MoveFaceInstancesResponse = https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.FaceLibraryTrait.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/MoveFaceInstances.html.Response

- `


  ### [MoveFaceInstances](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/MoveFaceInstances.html)


  ` Undocumented

  #### Declaration

  Swift

      struct MoveFaceInstances

      extension https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait.html.MoveFaceInstances : Command, Sendable

- `


  ### [moveFaceInstances(faceId:faceInstanceIdsArray:name:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV04moveD9Instances6faceId0I16InstanceIdsArray4nameAE04MovedH0V8ResponseVSSSg_SaySSGANtYaKF)


  `

  #### Declaration

  Swift

      func moveFaceInstances(faceId: String? = nil, faceInstanceIdsArray: [String], name: String? = nil) async throws -> https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.FaceLibraryTrait.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait.html#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV04MoveD17InstancesResponsea

  #### Parameters

  |---|---|
  | ` faceId ` | <br /> |
  | ` faceInstanceIdsArray ` | <br /> |
  | ` name ` | <br /> |

- `


  ### [moveFaceInstances(faceId:faceInstanceIdsArray:name:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV04moveD9Instances6faceId0I16InstanceIdsArray4name0aB3SDK17AutomationCommandVSSSg_SaySSGAMtFZ)


  ` Undocumented

  #### Declaration

  Swift

      static func moveFaceInstances(faceId: String?, faceInstanceIdsArray: [String], name: String?) -> AutomationCommand

- `


  ### [RemoveFaceInstancesRequest](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV06RemoveD16InstancesRequesta)


  ` Undocumented

  #### Declaration

  Swift

      typealias RemoveFaceInstancesRequest = https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.FaceLibraryTrait.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/RemoveFaceInstances.html.Request

- `


  ### [RemoveFaceInstancesResponse](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV06RemoveD17InstancesResponsea)


  ` Undocumented

  #### Declaration

  Swift

      typealias RemoveFaceInstancesResponse = https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.FaceLibraryTrait.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/RemoveFaceInstances.html.Response

- `


  ### [RemoveFaceInstances](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/RemoveFaceInstances.html)


  ` Undocumented

  #### Declaration

  Swift

      struct RemoveFaceInstances

      extension https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait.html.RemoveFaceInstances : Command, Sendable

- `


  ### [removeFaceInstances(faceInstanceIdsArray:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV06removeD9Instances20faceInstanceIdsArrayAE06RemovedH0V8ResponseVSaySSG_tYaKF)


  `

  #### Declaration

  Swift

      func removeFaceInstances(faceInstanceIdsArray: [String]) async throws -> https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.FaceLibraryTrait.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait.html#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV06RemoveD17InstancesResponsea

  #### Parameters

  |---|---|
  | ` faceInstanceIdsArray ` | <br /> |

- `


  ### [removeFaceInstances(faceInstanceIdsArray:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV06removeD9Instances20faceInstanceIdsArray0aB3SDK17AutomationCommandVSaySSG_tFZ)


  ` Undocumented

  #### Declaration

  Swift

      static func removeFaceInstances(faceInstanceIdsArray: [String]) -> AutomationCommand

- `


  ### [RemoveLibraryResponse](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV06RemoveE8Responsea)


  ` Undocumented

  #### Declaration

  Swift

      typealias RemoveLibraryResponse = https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.FaceLibraryTrait.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/RemoveLibrary.html.Response

- `


  ### [RemoveLibrary](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/RemoveLibrary.html)


  ` Undocumented

  #### Declaration

  Swift

      struct RemoveLibrary

      extension https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait.html.RemoveLibrary : Command, Sendable

- `


  ### [removeLibrary()](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV06removeE0AE06RemoveE0V8ResponseVyYaKF)


  ` Undocumented

  #### Declaration

  Swift

      func removeLibrary() async throws -> https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.FaceLibraryTrait.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait.html#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV06RemoveE8Responsea

- `


  ### [removeLibrary()](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV06removeE00aB3SDK17AutomationCommandVyFZ)


  ` Undocumented

  #### Declaration

  Swift

      static func removeLibrary() -> AutomationCommand

- `


  ### [GiveFaceFeedbackRequest](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV04GiveD15FeedbackRequesta)


  ` Undocumented

  #### Declaration

  Swift

      typealias GiveFaceFeedbackRequest = https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.FaceLibraryTrait.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/GiveFaceFeedback.html.Request

- `


  ### [GiveFaceFeedbackResponse](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV04GiveD16FeedbackResponsea)


  ` Undocumented

  #### Declaration

  Swift

      typealias GiveFaceFeedbackResponse = https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.FaceLibraryTrait.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/GiveFaceFeedback.html.Response

- `


  ### [GiveFaceFeedback](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/GiveFaceFeedback.html)


  ` Undocumented

  #### Declaration

  Swift

      struct GiveFaceFeedback

      extension https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait.html.GiveFaceFeedback : Command, Sendable

- `


  ### [giveFaceFeedback(faceInstancePositiveFeedback:faceInstanceNegativeFeedback:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV04giveD8Feedback020faceInstancePositiveH00ij8NegativeH0AE04GivedH0V8ResponseVAE0djkH0VSg_AE0djlH0VSgtYaKF)


  `

  #### Declaration

  Swift

      func giveFaceFeedback(faceInstancePositiveFeedback: https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.FaceLibraryTrait.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/FaceInstancePositiveFeedback.html? = nil, faceInstanceNegativeFeedback: https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.FaceLibraryTrait.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/FaceInstanceNegativeFeedback.html? = nil) async throws -> https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.FaceLibraryTrait.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait.html#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV04GiveD16FeedbackResponsea

  #### Parameters

  |---|---|
  | ` faceInstancePositiveFeedback ` | <br /> |
  | ` faceInstanceNegativeFeedback ` | <br /> |

- `


  ### [giveFaceFeedback(faceInstancePositiveFeedback:faceInstanceNegativeFeedback:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV04giveD8Feedback020faceInstancePositiveH00ij8NegativeH00aB3SDK17AutomationCommandVAE0djkH0VSg_AE0djlH0VSgtFZ)


  ` Undocumented

  #### Declaration

  Swift

      static func giveFaceFeedback(faceInstancePositiveFeedback: https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.FaceLibraryTrait.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/FaceInstancePositiveFeedback.html?, faceInstanceNegativeFeedback: https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.FaceLibraryTrait.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/FaceInstanceNegativeFeedback.html?) -> AutomationCommand