The array of GMSPlaceProperty that should be included in place results.
Must not be empty. An empty list will result in an error when trying to send the request.
Whether pure service area businesses should be included in the results.
A pure service area business is a business that visits or delivers to customers
directly but does not serve customers at their business address. For
example, businesses like cleaning services or plumbers. Those businesses
do not have a physical address or location on Google Maps. Places will not
return fields including location, plusCode, and other location related
fields for these businesses.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-14 UTC."],[[["\u003cp\u003e\u003ccode\u003eGMSPlaceSearchByTextRequest\u003c/code\u003e objects define parameters for text-based searches using the Google Places API.\u003c/p\u003e\n"],["\u003cp\u003eRequests must include a text query and desired place properties to return specific details about places.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can customize searches by setting optional parameters like location bias, rating filters, price level, and more.\u003c/p\u003e\n"],["\u003cp\u003eLocation restrictions can be applied, limiting results to a defined area.\u003c/p\u003e\n"],["\u003cp\u003eThe results can be ranked by prominence or by distance to a specified location using \u003ccode\u003erankPreference\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# GooglePlaces Framework Reference\n\nGMSPlaceSearchByTextRequest\n===========================\n\n @interface GMSPlaceSearchByTextRequest : NSObject\n\nRepresents a text search request definition to be sent via [GMSPlacesClient](../Classes/GMSPlacesClient.html).\n- `\n ``\n ``\n `\n\n ### [-initWithTextQuery:placeProperties:](#/c:objc(cs)GMSPlaceSearchByTextRequest(im)initWithTextQuery:placeProperties:)\n\n `\n ` \n Instantiates a `GMSPlaceSearchByTextRequest` with a text query and place properties to return. \n\n #### Declaration\n\n Swift \n\n init(textQuery: String, placeProperties: [String])\n\n Objective-C \n\n - (nonnull instancetype)initWithTextQuery:(nonnull NSString *)textQuery\n placeProperties:\n (nonnull NSArray\u003cNSString *\u003e *)placeProperties;\n\n #### Parameters\n\n |-------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n | ` `*textQuery*` ` | The string query for the search request. |\n | ` `*placeProperties*` ` | The array of [GMSPlaceProperty](../Type-Definitions/GMSPlaceProperty.html) that should be included in place results. Must not be empty. An empty list will result in an error when trying to send the request. |\n\n- `\n ``\n ``\n `\n\n ### [-init](#/c:objc(cs)GMSPlaceSearchByTextRequest(im)init)\n\n `\n ` \n Unavailable \n Default init is not available. Please use the designated initializer. \n\n #### Declaration\n\n Objective-C \n\n - (nonnull instancetype)init;\n\n- `\n ``\n ``\n `\n\n ### [includedType](#/c:objc(cs)GMSPlaceSearchByTextRequest(py)includedType)\n\n `\n ` \n The requested place type.\n\n \u003cbr /\u003e\n\n See\n \u003chttps://developers.google.com/maps/documentation/places/web-service/search-textual#supported-types\u003e\n for the most up-to-date list of supported types available \n\n #### Declaration\n\n Swift \n\n var includedType: String? { get set }\n\n Objective-C \n\n @property (nonatomic, copy, nullable) NSString *includedType;\n\n- `\n ``\n ``\n `\n\n ### [maxResultCount](#/c:objc(cs)GMSPlaceSearchByTextRequest(py)maxResultCount)\n\n `\n ` \n The maximum number of results to return. Allows values between 1 and 20.\n\n \u003cbr /\u003e\n\n The allowed range of this field can be found at\n \u003chttps://developers.google.com/maps/documentation/places/web-service/search-textual#maxresultcount\u003e.\n\n Defaults to the upper limit. \n\n #### Declaration\n\n Swift \n\n var maxResultCount: Int32 { get set }\n\n Objective-C \n\n @property (nonatomic) int maxResultCount;\n\n- `\n ``\n ``\n `\n\n ### [minRating](#/c:objc(cs)GMSPlaceSearchByTextRequest(py)minRating)\n\n `\n ` \n The minimum average user rating for places to be included in the results.\n Rating will be within a range between 0.0 and 5.0.\n\n \u003cbr /\u003e\n\n The specified rating will be rounded up to the nearest 0.5. See [GMSPlace](../Classes/GMSPlace.html) rating property.\n\n Defaults to 0.0. \n\n #### Declaration\n\n Swift \n\n var minRating: Float { get set }\n\n Objective-C \n\n @property (nonatomic) float minRating;\n\n- `\n ``\n ``\n `\n\n ### [isOpenNow](#/c:objc(cs)GMSPlaceSearchByTextRequest(py)isOpenNow)\n\n `\n ` \n Filter results to places that are currently open.\n\n Defaults to true. \n\n #### Declaration\n\n Swift \n\n var isOpenNow: Bool { get set }\n\n Objective-C \n\n @property (nonatomic) BOOL isOpenNow;\n\n- `\n ``\n ``\n `\n\n ### [placeProperties](#/c:objc(cs)GMSPlaceSearchByTextRequest(py)placeProperties)\n\n `\n ` \n The array of [GMSPlaceProperty](../Type-Definitions/GMSPlaceProperty.html) that should be included in place results. \n\n #### Declaration\n\n Swift \n\n var placeProperties: [String] { get }\n\n Objective-C \n\n @property (nonatomic, readonly) NSArray\u003cNSString *\u003e *_Nonnull placeProperties;\n\n- `\n ``\n ``\n `\n\n ### [priceLevels](#/c:objc(cs)GMSPlaceSearchByTextRequest(py)priceLevels)\n\n `\n ` \n An Array of the [GMSPlacesPriceLevel](../Enums/GMSPlacesPriceLevel.html) values that should filter the places included\n in the results.\n\n \u003cbr /\u003e\n\n Any combination of price levels can be selected; default is\n all price levels. \n\n #### Declaration\n\n Swift \n\n var priceLevels: [NSNumber]? { get set }\n\n Objective-C \n\n @property (nonatomic, nullable) NSArray\u003cNSNumber *\u003e *priceLevels;\n\n- `\n ``\n ``\n `\n\n ### [rankPreference](#/c:objc(cs)GMSPlaceSearchByTextRequest(py)rankPreference)\n\n `\n ` \n The [GMSPlaceSearchByTextRankPreference](../Enums/GMSPlaceSearchByTextRankPreference.html) used to sort the results returned from the request. \n\n #### Declaration\n\n Swift \n\n var rankPreference: ../Enums/GMSPlaceSearchByTextRankPreference.html { get set }\n\n Objective-C \n\n @property (nonatomic) ../Enums/GMSPlaceSearchByTextRankPreference.html rankPreference;\n\n- `\n ``\n ``\n `\n\n ### [regionCode](#/c:objc(cs)GMSPlaceSearchByTextRequest(py)regionCode)\n\n `\n ` \n The unicode country/region code (CLDR) of the location where the request is coming from.\n\n \u003cbr /\u003e\n\n The region may affect the format and type of data returned. If no code is provided, there is\n no bias towards any country/region.\n\n \u003cbr /\u003e\n\n See \u003chttps://unicode.org/cldr/charts/latest/supplemental/territory_containment_un_m_49.html\u003e\n for region codes. \n\n #### Declaration\n\n Swift \n\n var regionCode: String? { get set }\n\n Objective-C \n\n @property (nonatomic, copy, nullable) NSString *regionCode;\n\n- `\n ``\n ``\n `\n\n ### [isStrictTypeFiltering](#/c:objc(cs)GMSPlaceSearchByTextRequest(py)isStrictTypeFiltering)\n\n `\n ` \n Defines whether only results of [includedType](../Classes/GMSPlaceSearchByTextRequest.html#/c:objc(cs)GMSPlaceSearchByTextRequest(py)includedType)\n should be returned.\n\n \u003cbr /\u003e\n\n Default value is false. \n\n #### Declaration\n\n Swift \n\n var isStrictTypeFiltering: Bool { get set }\n\n Objective-C \n\n @property (nonatomic) BOOL isStrictTypeFiltering;\n\n- `\n ``\n ``\n `\n\n ### [textQuery](#/c:objc(cs)GMSPlaceSearchByTextRequest(py)textQuery)\n\n `\n ` \n The text query for the search. \n\n #### Declaration\n\n Swift \n\n var textQuery: String { get }\n\n Objective-C \n\n @property (nonatomic, copy, readonly) NSString *_Nonnull textQuery;\n\n- `\n ``\n ``\n `\n\n ### [locationBias](#/c:objc(cs)GMSPlaceSearchByTextRequest(py)locationBias)\n\n `\n ` \n The biased region to search.\n\n \u003cbr /\u003e\n\n This location serves as a bias, which means there is a preference for results in the\n given location.\n\n \u003cbr /\u003e\n\n A locationRestriction or a locationBias must be set when performing a search request.\n\n If set along with locationRestriction, this will be ignored. \n\n #### Declaration\n\n Swift \n\n var locationBias: (any ../Protocols/GMSPlaceLocationBias.html)? { get set }\n\n Objective-C \n\n @property (nonatomic, nullable) id\u003c../Protocols/GMSPlaceLocationBias.html\u003e locationBias;\n\n- `\n ``\n ``\n `\n\n ### [locationRestriction](#/c:objc(cs)GMSPlaceSearchByTextRequest(py)locationRestriction)\n\n `\n ` \n The restricted region to search.\n\n \u003cbr /\u003e\n\n This location serves as a restriction which means results outside the given location will not\n be returned.\n\n \u003cbr /\u003e\n\n A locationRestriction or a locationBias must be set when performing a search request.\n\n Cannot be used with locationBias.\n\n The locationRestriction for text search only supports [GMSPlaceRectangularLocationOption](../Functions/GMSPlaceRectangularLocationOption.html). \n\n #### Declaration\n\n Swift \n\n var locationRestriction: (any ../Protocols/GMSPlaceLocationRestriction.html)? { get set }\n\n Objective-C \n\n @property (nonatomic, nullable) id\u003c../Protocols/GMSPlaceLocationRestriction.html\u003e locationRestriction;\n\n- `\n ``\n ``\n `\n\n ### [shouldIncludePureServiceAreaBusinesses](#/c:objc(cs)GMSPlaceSearchByTextRequest(py)shouldIncludePureServiceAreaBusinesses)\n\n `\n ` \n Whether pure service area businesses should be included in the results.\n\n \u003cbr /\u003e\n\n A pure service area business is a business that visits or delivers to customers\n directly but does not serve customers at their business address. For\n example, businesses like cleaning services or plumbers. Those businesses\n do not have a physical address or location on Google Maps. Places will not\n return fields including `location`, `plusCode`, and other location related\n fields for these businesses.\n\n \u003cbr /\u003e\n\n Default value is false. \n\n #### Declaration\n\n Swift \n\n var shouldIncludePureServiceAreaBusinesses: Bool { get set }\n\n Objective-C \n\n @property (nonatomic) BOOL shouldIncludePureServiceAreaBusinesses;"]]