Page Summary
-
This page provides a comprehensive list of structures available globally within the Google Places SDK for iOS.
-
Each structure is accompanied by a brief description and a declaration in Swift.
-
These structures are essential for interacting with various functionalities of the Places SDK, such as place details, autocomplete, photos, and opening hours.
-
Developers can use these structures to build location-aware features into their iOS applications.
-
For detailed information on each structure, click on the corresponding link provided.
Structures
The following structures are available globally.
-
Information about the accessibility options a place offers.
Declaration
Swift
struct AccessibilityOptionsextension AccessibilityOptions : Copyable , CustomStringConvertible , Equatable , Escapable , Hashable -
Represents a component of an address, e.g., street number, postcode, city, etc.
Declaration
Swift
struct AddressComponentextension AddressComponent : Copyable , CustomStringConvertible , Equatable , Escapable , Hashable , Sendable , SendableMetatype -
A relational description of a location. Includes a ranked set of nearby landmarks and precise containing areas and their relationship to the target location.
Declaration
Swift
struct AddressDescriptorextension AddressDescriptor : Copyable , CustomStringConvertible , Equatable , Escapable , Hashable , Sendable , SendableMetatype -
Area information and the area’s relationship with the target location.
Areas includes precise sublocality, neighborhoods, and large compounds that are useful for describing a location.
Declaration
Swift
struct Areaextension Area : Copyable , CustomStringConvertible , Equatable , Escapable , Hashable , Sendable , SendableMetatype -
Declaration
Swift
struct AuthorAttributionextension AuthorAttribution : Copyable , CustomStringConvertible , Equatable , Escapable , Hashable , Sendable , SendableMetatype -
Represents a set of restrictions that may be applied to autocomplete requests. This allows customization of autocomplete suggestions to only those places that are of interest.
Declaration
Swift
struct AutocompleteFilterextension AutocompleteFilter : Sendable , SendableMetatype -
This class represents a suggestion of a full query based on a partially typed string. */
Declaration
Swift
struct AutocompletePlaceSuggestionextension AutocompletePlaceSuggestion : Copyable , CustomStringConvertible , Equatable , Escapable , Hashable , Sendable , SendableMetatype -
The request for autocomplete suggestions based on a given partial query along with additional configuring properties.
Declaration
Swift
struct AutocompleteRequestextension AutocompleteRequest : Sendable , SendableMetatype -
This class represents an session token to uniquely identify an series of queries to the Google Places API Services for fetching place predictions for a partial search string.
Declaration
Swift
struct AutocompleteSessionTokenextension AutocompleteSessionToken : Copyable , CustomStringConvertible , Equatable , Escapable , Hashable , Sendable , SendableMetatype -
UI customizations for the Autocomplete place picker.
Declaration
Swift
struct AutocompleteUICustomization -
CircularCoordinateRegion represents a circular bounding region on the Earth’s surface. CircularCoordinateRegion is immutable and can’t be modified after construction.
Declaration
Swift
struct CircularCoordinateRegionextension CircularCoordinateRegion : CoordinateRegion , CoordinateRegionBias , CoordinateRegionRestriction , Copyable , Equatable , Escapable , Hashable , Sendable , SendableMetatype -
A class that represents an EV charging connector aggregation.
Declaration
Swift
struct ConnectorAggregationextension ConnectorAggregation : Copyable , CustomStringConvertible , Equatable , Escapable , Hashable , Sendable , SendableMetatype -
A struct that represents a place’s consumer alert.
Declaration
Swift
struct ConsumerAlertextension ConsumerAlert : Copyable , CustomStringConvertible , Equatable , Escapable , Hashable , Sendable , SendableMetatype -
A struct that represents the details of a consumer alert.
Declaration
Swift
struct ConsumerAlertDetailsextension ConsumerAlertDetails : Copyable , CustomStringConvertible , Equatable , Escapable , Hashable , Sendable , SendableMetatype -
A parent location that holds another place.
Declaration
Swift
struct ContainingPlaceextension ContainingPlace : Copyable , CustomStringConvertible , Equatable , Escapable , Hashable , Sendable , SendableMetatype -
A struct that represents a content block.
Declaration
Swift
struct ContentBlockextension ContentBlock : Copyable , CustomStringConvertible , Equatable , Escapable , Hashable , Sendable , SendableMetatype -
A struct that represents the summary of amenities near an EV charging station.
Declaration
Swift
struct EVChargeAmenitySummaryextension EVChargeAmenitySummary : AISummary , Copyable , CustomStringConvertible , Equatable , Escapable , Hashable , Sendable , SendableMetatype -
A struct that represents a place’s EV charging options.
Declaration
Swift
struct EVChargeOptionsextension EVChargeOptions : Copyable , CustomStringConvertible , Equatable , Escapable , Hashable , Sendable , SendableMetatype -
Searchable EV options of a place search request.
Declaration
Swift
struct EVSearchOptionsextension EVSearchOptions : Copyable , CustomStringConvertible , Equatable , Escapable , Hashable , Sendable , SendableMetatype -
An encoded polyline for a route.
See https://developers.google.com/maps/documentation/utilities/polylinealgorithm for more info.
Declaration
Swift
struct EncodedPolylineextension EncodedPolyline : Copyable , CustomStringConvertible , Equatable , Escapable , Hashable , Polyline , Sendable , SendableMetatype -
A class representing a open/close event in
Period.Declaration
Swift
struct Eventextension Event : Copyable , CustomStringConvertible , Equatable , Escapable , Hashable , Sendable , SendableMetatype -
The request for a specific placeID and place properties to include in the Place response.
Declaration
Swift
struct FetchPhotoRequestextension FetchPhotoRequest : Sendable , SendableMetatype -
The request for a specific placeID and place properties to include in the Place response.
Declaration
Swift
struct FetchPlaceRequestextension FetchPlaceRequest : Sendable , SendableMetatype -
The most recent information about fuel options in a gas station.
Declaration
Swift
struct FuelOptionsextension FuelOptions : Copyable , CustomStringConvertible , Equatable , Escapable , Hashable , Sendable , SendableMetatype -
Fuel price information for a given fuel type.
Declaration
Swift
struct FuelPriceextension FuelPrice : Copyable , CustomStringConvertible , Equatable , Escapable , Hashable , Sendable , SendableMetatype -
A struct that represents a place’s generative summary.
Declaration
Swift
struct GenerativeSummaryextension GenerativeSummary : AISummary , Copyable , CustomStringConvertible , Equatable , Escapable , Hashable , Sendable , SendableMetatype -
Links to trigger different Google Maps actions for a place.
Declaration
Swift
struct GoogleMapsLinksextension GoogleMapsLinks : Copyable , CustomStringConvertible , Equatable , Escapable , Hashable , Sendable , SendableMetatype -
Represents an
IsPlaceOpenRequestdefinition to be sent via PlacesClient.Declaration
Swift
struct IsPlaceOpenRequestextension IsPlaceOpenRequest : Sendable , SendableMetatype -
The response from the
isPlaceOpenmethod.Declaration
Swift
struct IsPlaceOpenResponseextension IsPlaceOpenResponse : Sendable , SendableMetatype -
Basic landmark information and the landmark’s relationship with the target location.
Landmarks are prominent places that can be used to describe a location.
Declaration
Swift
struct Landmarkextension Landmark : Copyable , CustomStringConvertible , Equatable , Escapable , Hashable , Sendable , SendableMetatype -
A single portion of a trip from one location to another.
Declaration
Swift
struct Legextension Leg : Copyable , CustomStringConvertible , Equatable , Escapable , Hashable , Sendable , SendableMetatype -
Represents an amount of money with its currency type.
Declaration
Swift
struct Moneyextension Money : Copyable , CustomStringConvertible , Equatable , Escapable , Hashable , Sendable , SendableMetatype -
A struct that represents a summary of a neighborhood.
Declaration
Swift
struct NeighborhoodSummaryextension NeighborhoodSummary : AISummary , Copyable , CustomStringConvertible , Equatable , Escapable , Hashable , Sendable , SendableMetatype -
A type to handle storing and accessing opening hours information for
Place.Declaration
Swift
struct OpeningHoursextension OpeningHours : Copyable , CustomStringConvertible , Equatable , Escapable , Hashable , Sendable , SendableMetatype -
A struct that represents pagination in a search response.
Declaration
Swift
struct Pagination < Response > where Response : SearchResponseextension Pagination : Copyable , CustomStringConvertible , Equatable , Escapable , Hashable , Sendable , SendableMetatype -
A struct that represents parking options at a place.
Declaration
Swift
struct ParkingOptionsextension ParkingOptions : Copyable , CustomStringConvertible , Equatable , Escapable , Hashable , Sendable , SendableMetatype -
A struct that represents payment options for a place.
Declaration
Swift
struct PaymentOptionsextension PaymentOptions : Copyable , CustomStringConvertible , Equatable , Escapable , Hashable , Sendable , SendableMetatype -
A type representing a period of time where the place is operating for a
Place.Contains an open
Eventand an optional closeEvent. The close event will be nil if the period is open 24hrs.Declaration
Swift
struct Periodextension Period : Copyable , CustomStringConvertible , Equatable , Escapable , Hashable , Sendable , SendableMetatype -
The metadata corresponding to a single photo associated with a place.
Declaration
Swift
struct Photoextension Photo : Copyable , CustomStringConvertible , Equatable , Escapable , Hashable , Sendable , SendableMetatype -
Represents a particular physical place.
A
Placeencapsulates information about a physical location, including its name, location, and any other information we might have about it. This class is immutable.Declaration
Swift
struct Placeextension Place : Copyable , CustomStringConvertible , Equatable , Escapable , Hashable , PlaceProtocol , Sendable , SendableMetatype -
The configuration of the place details compact view.
Declaration
Swift
struct PlaceDetailsCompactConfigurationextension PlaceDetailsCompactConfiguration : Sendable , SendableMetatype -
Declaration
Swift
@MainActor struct PlaceDetailsCompactViewextension PlaceDetailsCompactView : Sendable , SendableMetatype , View -
Configuration for the Place Details component.
Declaration
Swift
struct PlaceDetailsConfigurationextension PlaceDetailsConfiguration : Sendable , SendableMetatype -
The place details component query.
Declaration
Swift
struct PlaceDetailsQueryextension PlaceDetailsQuery : Equatable -
The view for the place details component.
Declaration
Swift
@MainActor @preconcurrency struct PlaceDetailsViewextension PlaceDetailsView : Sendable , SendableMetatype , View -
The configuration of the place search view.
Declaration
Swift
struct PlaceSearchConfigurationextension PlaceSearchConfiguration : Sendable , SendableMetatype -
Declaration
Swift
@MainActor struct PlaceSearchViewextension PlaceSearchView : Sendable , SendableMetatype , View -
All Places (NEW) API place types found at https://developers.google.com/maps/documentation/places/ios-sdk/place-types All Place Types found at https://developers.google.com/maps/documentation/places/ios-sdk/supported_types
Declaration
Swift
struct PlaceTypeextension PlaceType : Equatable , Hashable , RawRepresentable , Sendable , SendableMetatype -
The material attribution.
Declaration
Swift
struct PlacesMaterialAttributionextension PlacesMaterialAttribution : Equatable , Hashable , Sendable , SendableMetatype -
Material color tokens.
Declaration
Swift
struct PlacesMaterialColorextension PlacesMaterialColor : Equatable , Hashable , Sendable , SendableMetatype -
Material font tokens.
Declaration
Swift
struct PlacesMaterialFontextension PlacesMaterialFont : Equatable , Hashable , Sendable , SendableMetatype -
Measurement tokens.
Declaration
Swift
struct PlacesMaterialMeasurementextension PlacesMaterialMeasurement : Equatable , Hashable , Sendable , SendableMetatype -
Shape-related tokens.
Declaration
Swift
struct PlacesMaterialShapeextension PlacesMaterialShape : Equatable , Hashable , Sendable , SendableMetatype -
General theming.
Declaration
Swift
struct PlacesMaterialThemeextension PlacesMaterialTheme : Equatable , Hashable , Sendable , SendableMetatype -
A class containing the Plus codes representation for a location.
See https://plus.codes/ for more details.
Declaration
Swift
struct PlusCodeextension PlusCode : Copyable , CustomStringConvertible , Equatable , Escapable , Hashable , Sendable , SendableMetatype -
Represents a postal address, such as for postal delivery or payments addresses. With a postal address, a postal service can deliver items to a premise, P.O. box, or similar. A postal address is not intended to model geographical locations like roads, towns, or mountains.
Declaration
Swift
struct PostalAddressextension PostalAddress : Copyable , CustomStringConvertible , Equatable , Escapable , Hashable , Sendable , SendableMetatype -
Price range associated with a place. When price range information is available for a place, the start price will always be set but the end price may not always be set with an upper boundary (eg: “More than $100”).
Declaration
Swift
struct PriceRangeextension PriceRange : Copyable , CustomStringConvertible , Equatable , Escapable , Hashable , Sendable , SendableMetatype -
RectangularCoordinateRegion represents a rectangular bounding box on the Earth’s surface. RectangularCoordinateRegion is immutable and can’t be modified after construction.
Declaration
Swift
struct RectangularCoordinateRegionextension RectangularCoordinateRegion : CoordinateRegion , CoordinateRegionBias , CoordinateRegionRestriction , Copyable , Equatable , Escapable , Hashable , Sendable , SendableMetatype -
Declaration
Swift
struct Reviewextension Review : Copyable , CustomStringConvertible , Equatable , Escapable , Hashable , Sendable , SendableMetatype -
A struct that represents an AI-generated summary of the place using user reviews.
Declaration
Swift
struct ReviewSummaryextension ReviewSummary : AISummary , Copyable , CustomStringConvertible , Equatable , Escapable , Hashable , Sendable , SendableMetatype -
Encapsulates a set of optional conditions to satisfy when calculating the routes.
Declaration
Swift
struct RouteModifiersextension RouteModifiers : Copyable , CustomStringConvertible , Equatable , Escapable , Hashable , Sendable , SendableMetatype -
Parameters to configure the routing calculations to the places in the response, both along a route (where result ranking will be influenced) and for calculating travel times on results.
Declaration
Swift
struct RoutingParametersextension RoutingParameters : Copyable , CustomStringConvertible , Equatable , Escapable , Hashable , Sendable , SendableMetatype -
The duration and distance from the routing origin to a place in the response, and a second leg from that place to the destination, if requested.
Declaration
Swift
struct RoutingSummaryextension RoutingSummary : Copyable , CustomStringConvertible , Equatable , Escapable , Hashable , Sendable , SendableMetatype -
Additional parameters for searching along a route.
Declaration
Swift
struct SearchAlongRouteParametersextension SearchAlongRouteParameters : Copyable , CustomStringConvertible , Equatable , Escapable , Hashable , Sendable , SendableMetatype -
Declaration
Swift
struct SearchByTextRequestextension SearchByTextRequest : Equatable , Sendable , SendableMetatype -
The response object for the
searchByTextmethod.Declaration
Swift
struct SearchByTextResponseextension SearchByTextResponse : SearchResponse , Sendable , SendableMetatype -
Declaration
Swift
struct SearchNearbyRequestextension SearchNearbyRequest : Equatable , Sendable , SendableMetatype -
The response object for the
searchNearbymethod.Declaration
Swift
struct SearchNearbyResponseextension SearchNearbyResponse : SearchResponse , Sendable , SendableMetatype -
Represents information on a particular day which may have opening hours different than normal.
Declaration
Swift
struct SpecialDayextension SpecialDay : Copyable , CustomStringConvertible , Equatable , Escapable , Hashable , Sendable , SendableMetatype -
Time represents time in hours and minutes in a 24hr clock.
Declaration
Swift
struct Timeextension Time : Copyable , CustomStringConvertible , Equatable , Escapable , Hashable , Sendable , SendableMetatype

