# GooglePlacesSwift Framework Reference

# CoordinateRegionRestriction

    protocol CoordinateRegionRestriction : https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Protocols.html#/s:17GooglePlacesSwift16CoordinateRegionP

Specifies that the coordinate region can be used as a search restriction.
Warning
This should not be conformed to by types outside of GooglePlacesSwift. Doing so may result in a fatal error.
- `


  ### [restriction()](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Protocols/CoordinateRegionRestriction#/s:17GooglePlacesSwift27CoordinateRegionRestrictionP11restriction10Foundation12URLQueryItemVyF)


  ` Returns the region restriction as `URLQueryItem`.

  #### Declaration

  Swift

      func restriction() -> URLQueryItem