Structures
The following structures are available globally.
-
Information about the accessibility options a place offers.
Declaration
Swift
struct AccessibilityOptions -
Represents a component of an address, e.g., street number, postcode, city, etc.
Declaration
Swift
struct AddressComponentextension AddressComponent : Copyable, CustomStringConvertible, Equatable, Escapable, Hashable, Sendable -
Declaration
Swift
struct AuthorAttributionextension AuthorAttribution : Copyable, CustomStringConvertible, Equatable, Escapable, Hashable, Sendable -
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 -
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 -
The request for autocomplete suggestions based on a given partial query along with additional configuring properties.
Declaration
Swift
struct AutocompleteRequestextension AutocompleteRequest : Sendable -
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, Equatable, Escapable, Hashable, Sendable -
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 -
A class that represents an EV charging connector aggregation.
Declaration
Swift
struct ConnectorAggregationextension ConnectorAggregation : Copyable, CustomStringConvertible, Equatable, Escapable, Hashable, Sendable -
A struct that represents a place’s consumer alert.
Declaration
Swift
struct ConsumerAlertextension ConsumerAlert : Copyable, CustomStringConvertible, Equatable, Escapable, Hashable, Sendable -
A struct that represents the details of a consumer alert.
Declaration
Swift
struct ConsumerAlertDetailsextension ConsumerAlertDetails : Copyable, CustomStringConvertible, Equatable, Escapable, Hashable, Sendable -
A struct that represents a content block.
Declaration
Swift
struct ContentBlockextension ContentBlock : Copyable, CustomStringConvertible, Equatable, Escapable, Hashable, Sendable -
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 -
A struct that represents a place’s EV charging options.
Declaration
Swift
struct EVChargeOptionsextension EVChargeOptions : Copyable, CustomStringConvertible, Equatable, Escapable, Hashable, Sendable -
A class representing a open/close event in
Period.Declaration
Swift
struct Eventextension Event : Copyable, CustomStringConvertible, Equatable, Escapable, Hashable, Sendable -
The request for a specific placeID and place properties to include in the Place response.
Declaration
Swift
struct FetchPhotoRequestextension FetchPhotoRequest : Sendable -
The request for a specific placeID and place properties to include in the Place response.
Declaration
Swift
struct FetchPlaceRequestextension FetchPlaceRequest : Sendable -
A struct that represents a place’s generative summary.
Declaration
Swift
struct GenerativeSummaryextension GenerativeSummary : AISummary, Copyable, CustomStringConvertible, Equatable, Escapable, Hashable, Sendable -
Represents an
IsPlaceOpenRequestdefinition to be sent via PlacesClient.Declaration
Swift
struct IsPlaceOpenRequestextension IsPlaceOpenRequest : Sendable -
The response from the
isPlaceOpenmethod.Declaration
Swift
struct IsPlaceOpenResponseextension IsPlaceOpenResponse : Sendable -
A struct that represents a summary of a neighborhood.
Declaration
Swift
struct NeighborhoodSummaryextension NeighborhoodSummary : AISummary, Copyable, CustomStringConvertible, Equatable, Escapable, Hashable, Sendable -
A type to handle storing and accessing opening hours information for
Place.Declaration
Swift
struct OpeningHoursextension OpeningHours : Copyable, CustomStringConvertible, Equatable, Escapable, Hashable, Sendable -
A struct that represents parking options at a place.
Declaration
Swift
struct ParkingOptionsextension ParkingOptions : Copyable, CustomStringConvertible, Equatable, Escapable, Hashable, Sendable -
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 -
The metadata corresponding to a single photo associated with a place.
Declaration
Swift
struct Photoextension Photo : Copyable, CustomStringConvertible, Equatable, Escapable, Hashable, Sendable -
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 -
The configuration of the place details compact view.
Declaration
Swift
struct PlaceDetailsCompactConfigurationextension PlaceDetailsCompactConfiguration : Sendable -
Declaration
Swift
@MainActor struct PlaceDetailsCompactViewextension PlaceDetailsCompactView : Sendable, View -
Configuration for the Place Details component.
Declaration
Swift
struct PlaceDetailsConfigurationextension PlaceDetailsConfiguration : Sendable -
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, View -
The configuration of the place search view.
Declaration
Swift
struct PlaceSearchConfigurationextension PlaceSearchConfiguration : Sendable -
Declaration
Swift
@MainActor struct PlaceSearchViewextension PlaceSearchView : Sendable, 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 -
The material attribution.
Declaration
Swift
struct PlacesMaterialAttributionextension PlacesMaterialAttribution : Equatable, Hashable, Sendable -
Material color tokens.
Declaration
Swift
struct PlacesMaterialColorextension PlacesMaterialColor : Equatable, Hashable, Sendable -
Material font tokens.
Declaration
Swift
struct PlacesMaterialFontextension PlacesMaterialFont : Equatable, Hashable, Sendable -
Measurement tokens.
Declaration
Swift
struct PlacesMaterialMeasurementextension PlacesMaterialMeasurement : Equatable, Hashable, Sendable -
Shape-related tokens.
Declaration
Swift
struct PlacesMaterialShapeextension PlacesMaterialShape : Equatable, Hashable, Sendable -
General theming.
Declaration
Swift
struct PlacesMaterialThemeextension PlacesMaterialTheme : Equatable, Hashable, Sendable -
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 -
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 -
Declaration
Swift
struct Reviewextension Review : Copyable, CustomStringConvertible, Equatable, Escapable, Hashable, Sendable -
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 -
Declaration
Swift
struct SearchByTextRequestextension SearchByTextRequest : Equatable, Sendable -
Declaration
Swift
struct SearchNearbyRequestextension SearchNearbyRequest : Equatable, Sendable -
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 -
Time represents time in hours and minutes in a 24hr clock.
Declaration
Swift
struct Timeextension Time : Copyable, CustomStringConvertible, Equatable, Escapable, Hashable, Sendable