# GooglePlaces Framework Reference

# GMSPlaceLocationRestriction

    @protocol GMSPlaceLocationRestriction <NSObject, NSCopying>

Protocol for specifying that the location can be used as search restriction.
- `


  ### [-locationRestrictionURLQueryItem](https://developers.google.com/maps/documentation/places/ios-sdk/reference/objc/Protocols/GMSPlaceLocationRestriction#/c:objc(pl)GMSPlaceLocationRestriction(im)locationRestrictionURLQueryItem)


  ` Returns the location restriction as `NSURLQueryItem`.

  #### Declaration

  Swift

      func locationRestrictionURLQueryItem() -> URLQueryItem

  Objective-C

      - (nonnull NSURLQueryItem *)locationRestrictionURLQueryItem;