# GooglePergolaGoogleTraits

    struct GooglePergolaGoogleTraits

Trait Container for GooglePergolaDeviceType Google Traits.
- `


  ### [openCloseTrait](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Structs/GooglePergolaDeviceType/GooglePergolaGoogleTraits#/s:15GoogleHomeTypes0A17PergolaDeviceTypeV0adA6TraitsV14openCloseTraitAA0A0O04OpeniJ0VSgvp)


  ` This trait belongs to devices that support opening and closing, and in some cases opening and
  closing partially or potentially in more than one direction.

  #### Declaration

  Swift

      let openCloseTrait: https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.OpenCloseTrait?

- `


  ### [rotationTrait](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Structs/GooglePergolaDeviceType/GooglePergolaGoogleTraits#/s:15GoogleHomeTypes0A17PergolaDeviceTypeV0adA6TraitsV13rotationTraitAA0A0O08RotationI0VSgvp)


  ` This trait belongs to devices that support rotation, which can be specified in percentage of a
  full rotation or in number of degrees. The default direction of a rotation is clockwise.

  #### Declaration

  Swift

      let rotationTrait: https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.RotationTrait?