AI-generated Key Takeaways
-
This documentation details the data fields available when requesting place data using the Places SDK for iOS.
-
You must specify at least one field in the field mask (
GMSPlaceProperty
) to avoid errors when requesting data. -
The cost of accessing specific fields is determined by the Place Details, Text Search, and Nearby Search SKUs.
-
Place data results are non-empty; if a field is requested but no data is available, it will not be included in the result.
-
The Places SDK for iOS offers a comprehensive
GMSPlacePropertyAll
type for retrieving all data fields.
Place data fields define the place data to return in the response
GMSPlace
object for
Place Details (New),
Text Search (New),
and Nearby Search (New).
In the request, you specify the list of fields to return, called the field mask, using
GMSPlaceProperty
.
If you don't specify at least one field in the field mask, or if you omit the field mask, then the
call returns an error.
This page lists all the place data fields by pricing tier (SKU). For more information about how requests are billed, see Usage and Billing.
Place data fields and SKUs
Places SDK for iOS all fields
In addition to the fields listed previously, the Places SDK for iOS includes
the GMSPlacePropertyAll
data type, which has the effect of returning
all available data fields.