Class GoogleMapsPlacesV1Place
All the information representing a Place.
Implements
Inherited Members
Namespace: Google.Apis.MapsPlaces.v1.Data
Assembly: Google.Apis.MapsPlaces.v1.dll
Syntax
public class GoogleMapsPlacesV1Place : IDirectResponseSchema
Properties
AccessibilityOptions
Information about the accessibility options a place offers.
Declaration
[JsonProperty("accessibilityOptions")]
public virtual GoogleMapsPlacesV1PlaceAccessibilityOptions AccessibilityOptions { get; set; }
Property Value
Type | Description |
---|---|
GoogleMapsPlacesV1PlaceAccessibilityOptions |
AddressComponents
Repeated components for each locality level. Note the following facts about the address_components[] array:
- The array of address components may contain more components than the formatted_address. - The array does not necessarily include all the political entities that contain an address, apart from those included in the formatted_address. To retrieve all the political entities that contain a specific address, you should use reverse geocoding, passing the latitude/longitude of the address as a parameter to the request. - The format of the response is not guaranteed to remain the same between requests. In particular, the number of address_components varies based on the address requested and can change over time for the same address. A component can change position in the array. The type of the component can change. A particular component may be missing in a later response.
Declaration
[JsonProperty("addressComponents")]
public virtual IList<GoogleMapsPlacesV1PlaceAddressComponent> AddressComponents { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleMapsPlacesV1PlaceAddressComponent> |
AddressDescriptor
The address descriptor of the place. Address descriptors include additional information that help describe a location using landmarks and areas. See address descriptor regional coverage in https://developers.google.com/maps/documentation/geocoding/address-descriptors/coverage.
Declaration
[JsonProperty("addressDescriptor")]
public virtual GoogleMapsPlacesV1AddressDescriptor AddressDescriptor { get; set; }
Property Value
Type | Description |
---|---|
GoogleMapsPlacesV1AddressDescriptor |
AdrFormatAddress
The place's address in adr microformat: http://microformats.org/wiki/adr.
Declaration
[JsonProperty("adrFormatAddress")]
public virtual string AdrFormatAddress { get; set; }
Property Value
Type | Description |
---|---|
string |
AllowsDogs
Place allows dogs.
Declaration
[JsonProperty("allowsDogs")]
public virtual bool? AllowsDogs { get; set; }
Property Value
Type | Description |
---|---|
bool? |
AreaSummary
Experimental: See https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative for more details. AI-generated summary of the area that the place is in.
Declaration
[JsonProperty("areaSummary")]
public virtual GoogleMapsPlacesV1PlaceAreaSummary AreaSummary { get; set; }
Property Value
Type | Description |
---|---|
GoogleMapsPlacesV1PlaceAreaSummary |
Attributions
A set of data provider that must be shown with this result.
Declaration
[JsonProperty("attributions")]
public virtual IList<GoogleMapsPlacesV1PlaceAttribution> Attributions { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleMapsPlacesV1PlaceAttribution> |
BusinessStatus
The business status for the place.
Declaration
[JsonProperty("businessStatus")]
public virtual string BusinessStatus { get; set; }
Property Value
Type | Description |
---|---|
string |
CurbsidePickup
Specifies if the business supports curbside pickup.
Declaration
[JsonProperty("curbsidePickup")]
public virtual bool? CurbsidePickup { get; set; }
Property Value
Type | Description |
---|---|
bool? |
CurrentOpeningHours
The hours of operation for the next seven days (including today). The time period starts at midnight on the date of the request and ends at 11:59 pm six days later. This field includes the special_days subfield of all hours, set for dates that have exceptional hours.
Declaration
[JsonProperty("currentOpeningHours")]
public virtual GoogleMapsPlacesV1PlaceOpeningHours CurrentOpeningHours { get; set; }
Property Value
Type | Description |
---|---|
GoogleMapsPlacesV1PlaceOpeningHours |
CurrentSecondaryOpeningHours
Contains an array of entries for the next seven days including information about secondary hours of a business. Secondary hours are different from a business's main hours. For example, a restaurant can specify drive through hours or delivery hours as its secondary hours. This field populates the type subfield, which draws from a predefined list of opening hours types (such as DRIVE_THROUGH, PICKUP, or TAKEOUT) based on the types of the place. This field includes the special_days subfield of all hours, set for dates that have exceptional hours.
Declaration
[JsonProperty("currentSecondaryOpeningHours")]
public virtual IList<GoogleMapsPlacesV1PlaceOpeningHours> CurrentSecondaryOpeningHours { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleMapsPlacesV1PlaceOpeningHours> |
Delivery
Specifies if the business supports delivery.
Declaration
[JsonProperty("delivery")]
public virtual bool? Delivery { get; set; }
Property Value
Type | Description |
---|---|
bool? |
DineIn
Specifies if the business supports indoor or outdoor seating options.
Declaration
[JsonProperty("dineIn")]
public virtual bool? DineIn { get; set; }
Property Value
Type | Description |
---|---|
bool? |
DisplayName
The localized name of the place, suitable as a short human-readable description. For example, "Google Sydney", "Starbucks", "Pyrmont", etc.
Declaration
[JsonProperty("displayName")]
public virtual GoogleTypeLocalizedText DisplayName { get; set; }
Property Value
Type | Description |
---|---|
GoogleTypeLocalizedText |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
EditorialSummary
Contains a summary of the place. A summary is comprised of a textual overview, and also includes the language code for these if applicable. Summary text must be presented as-is and can not be modified or altered.
Declaration
[JsonProperty("editorialSummary")]
public virtual GoogleTypeLocalizedText EditorialSummary { get; set; }
Property Value
Type | Description |
---|---|
GoogleTypeLocalizedText |
EvChargeOptions
Information of ev charging options.
Declaration
[JsonProperty("evChargeOptions")]
public virtual GoogleMapsPlacesV1EVChargeOptions EvChargeOptions { get; set; }
Property Value
Type | Description |
---|---|
GoogleMapsPlacesV1EVChargeOptions |
FormattedAddress
A full, human-readable address for this place.
Declaration
[JsonProperty("formattedAddress")]
public virtual string FormattedAddress { get; set; }
Property Value
Type | Description |
---|---|
string |
FuelOptions
The most recent information about fuel options in a gas station. This information is updated regularly.
Declaration
[JsonProperty("fuelOptions")]
public virtual GoogleMapsPlacesV1FuelOptions FuelOptions { get; set; }
Property Value
Type | Description |
---|---|
GoogleMapsPlacesV1FuelOptions |
GenerativeSummary
Experimental: See https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative for more details. AI-generated summary of the place.
Declaration
[JsonProperty("generativeSummary")]
public virtual GoogleMapsPlacesV1PlaceGenerativeSummary GenerativeSummary { get; set; }
Property Value
Type | Description |
---|---|
GoogleMapsPlacesV1PlaceGenerativeSummary |
GoodForChildren
Place is good for children.
Declaration
[JsonProperty("goodForChildren")]
public virtual bool? GoodForChildren { get; set; }
Property Value
Type | Description |
---|---|
bool? |
GoodForGroups
Place accommodates groups.
Declaration
[JsonProperty("goodForGroups")]
public virtual bool? GoodForGroups { get; set; }
Property Value
Type | Description |
---|---|
bool? |
GoodForWatchingSports
Place is suitable for watching sports.
Declaration
[JsonProperty("goodForWatchingSports")]
public virtual bool? GoodForWatchingSports { get; set; }
Property Value
Type | Description |
---|---|
bool? |
GoogleMapsLinks
Links to trigger different Google Maps actions.
Declaration
[JsonProperty("googleMapsLinks")]
public virtual GoogleMapsPlacesV1PlaceGoogleMapsLinks GoogleMapsLinks { get; set; }
Property Value
Type | Description |
---|---|
GoogleMapsPlacesV1PlaceGoogleMapsLinks |
GoogleMapsUri
A URL providing more information about this place.
Declaration
[JsonProperty("googleMapsUri")]
public virtual string GoogleMapsUri { get; set; }
Property Value
Type | Description |
---|---|
string |
IconBackgroundColor
Background color for icon_mask in hex format, e.g. #909CE1.
Declaration
[JsonProperty("iconBackgroundColor")]
public virtual string IconBackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
string |
IconMaskBaseUri
A truncated URL to an icon mask. User can access different icon type by appending type suffix to the end (eg, ".svg" or ".png").
Declaration
[JsonProperty("iconMaskBaseUri")]
public virtual string IconMaskBaseUri { get; set; }
Property Value
Type | Description |
---|---|
string |
Id
The unique identifier of a place.
Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
Type | Description |
---|---|
string |
InternationalPhoneNumber
A human-readable phone number for the place, in international format.
Declaration
[JsonProperty("internationalPhoneNumber")]
public virtual string InternationalPhoneNumber { get; set; }
Property Value
Type | Description |
---|---|
string |
LiveMusic
Place provides live music.
Declaration
[JsonProperty("liveMusic")]
public virtual bool? LiveMusic { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Location
The position of this place.
Declaration
[JsonProperty("location")]
public virtual GoogleTypeLatLng Location { get; set; }
Property Value
Type | Description |
---|---|
GoogleTypeLatLng |
MenuForChildren
Place has a children's menu.
Declaration
[JsonProperty("menuForChildren")]
public virtual bool? MenuForChildren { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Name
This Place's resource name, in places/{place_id}
format. Can be used to look up the Place.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
NationalPhoneNumber
A human-readable phone number for the place, in national format.
Declaration
[JsonProperty("nationalPhoneNumber")]
public virtual string NationalPhoneNumber { get; set; }
Property Value
Type | Description |
---|---|
string |
OutdoorSeating
Place provides outdoor seating.
Declaration
[JsonProperty("outdoorSeating")]
public virtual bool? OutdoorSeating { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ParkingOptions
Options of parking provided by the place.
Declaration
[JsonProperty("parkingOptions")]
public virtual GoogleMapsPlacesV1PlaceParkingOptions ParkingOptions { get; set; }
Property Value
Type | Description |
---|---|
GoogleMapsPlacesV1PlaceParkingOptions |
PaymentOptions
Payment options the place accepts. If a payment option data is not available, the payment option field will be unset.
Declaration
[JsonProperty("paymentOptions")]
public virtual GoogleMapsPlacesV1PlacePaymentOptions PaymentOptions { get; set; }
Property Value
Type | Description |
---|---|
GoogleMapsPlacesV1PlacePaymentOptions |
Photos
Information (including references) about photos of this place. A maximum of 10 photos can be returned.
Declaration
[JsonProperty("photos")]
public virtual IList<GoogleMapsPlacesV1Photo> Photos { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleMapsPlacesV1Photo> |
PlusCode
Plus code of the place location lat/long.
Declaration
[JsonProperty("plusCode")]
public virtual GoogleMapsPlacesV1PlacePlusCode PlusCode { get; set; }
Property Value
Type | Description |
---|---|
GoogleMapsPlacesV1PlacePlusCode |
PriceLevel
Price level of the place.
Declaration
[JsonProperty("priceLevel")]
public virtual string PriceLevel { get; set; }
Property Value
Type | Description |
---|---|
string |
PrimaryType
The primary type of the given result. This type must one of the Places API supported types. For example, "restaurant", "cafe", "airport", etc. A place can only have a single primary type. For the complete list of possible values, see Table A and Table B at https://developers.google.com/maps/documentation/places/web-service/place-types
Declaration
[JsonProperty("primaryType")]
public virtual string PrimaryType { get; set; }
Property Value
Type | Description |
---|---|
string |
PrimaryTypeDisplayName
The display name of the primary type, localized to the request language if applicable. For the complete list of possible values, see Table A and Table B at https://developers.google.com/maps/documentation/places/web-service/place-types
Declaration
[JsonProperty("primaryTypeDisplayName")]
public virtual GoogleTypeLocalizedText PrimaryTypeDisplayName { get; set; }
Property Value
Type | Description |
---|---|
GoogleTypeLocalizedText |
Rating
A rating between 1.0 and 5.0, based on user reviews of this place.
Declaration
[JsonProperty("rating")]
public virtual double? Rating { get; set; }
Property Value
Type | Description |
---|---|
double? |
RegularOpeningHours
The regular hours of operation.
Declaration
[JsonProperty("regularOpeningHours")]
public virtual GoogleMapsPlacesV1PlaceOpeningHours RegularOpeningHours { get; set; }
Property Value
Type | Description |
---|---|
GoogleMapsPlacesV1PlaceOpeningHours |
RegularSecondaryOpeningHours
Contains an array of entries for information about regular secondary hours of a business. Secondary hours are different from a business's main hours. For example, a restaurant can specify drive through hours or delivery hours as its secondary hours. This field populates the type subfield, which draws from a predefined list of opening hours types (such as DRIVE_THROUGH, PICKUP, or TAKEOUT) based on the types of the place.
Declaration
[JsonProperty("regularSecondaryOpeningHours")]
public virtual IList<GoogleMapsPlacesV1PlaceOpeningHours> RegularSecondaryOpeningHours { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleMapsPlacesV1PlaceOpeningHours> |
Reservable
Specifies if the place supports reservations.
Declaration
[JsonProperty("reservable")]
public virtual bool? Reservable { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Restroom
Place has restroom.
Declaration
[JsonProperty("restroom")]
public virtual bool? Restroom { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Reviews
List of reviews about this place, sorted by relevance. A maximum of 5 reviews can be returned.
Declaration
[JsonProperty("reviews")]
public virtual IList<GoogleMapsPlacesV1Review> Reviews { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleMapsPlacesV1Review> |
ServesBeer
Specifies if the place serves beer.
Declaration
[JsonProperty("servesBeer")]
public virtual bool? ServesBeer { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ServesBreakfast
Specifies if the place serves breakfast.
Declaration
[JsonProperty("servesBreakfast")]
public virtual bool? ServesBreakfast { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ServesBrunch
Specifies if the place serves brunch.
Declaration
[JsonProperty("servesBrunch")]
public virtual bool? ServesBrunch { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ServesCocktails
Place serves cocktails.
Declaration
[JsonProperty("servesCocktails")]
public virtual bool? ServesCocktails { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ServesCoffee
Place serves coffee.
Declaration
[JsonProperty("servesCoffee")]
public virtual bool? ServesCoffee { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ServesDessert
Place serves dessert.
Declaration
[JsonProperty("servesDessert")]
public virtual bool? ServesDessert { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ServesDinner
Specifies if the place serves dinner.
Declaration
[JsonProperty("servesDinner")]
public virtual bool? ServesDinner { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ServesLunch
Specifies if the place serves lunch.
Declaration
[JsonProperty("servesLunch")]
public virtual bool? ServesLunch { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ServesVegetarianFood
Specifies if the place serves vegetarian food.
Declaration
[JsonProperty("servesVegetarianFood")]
public virtual bool? ServesVegetarianFood { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ServesWine
Specifies if the place serves wine.
Declaration
[JsonProperty("servesWine")]
public virtual bool? ServesWine { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ShortFormattedAddress
A short, human-readable address for this place.
Declaration
[JsonProperty("shortFormattedAddress")]
public virtual string ShortFormattedAddress { get; set; }
Property Value
Type | Description |
---|---|
string |
SubDestinations
A list of sub destinations related to the place.
Declaration
[JsonProperty("subDestinations")]
public virtual IList<GoogleMapsPlacesV1PlaceSubDestination> SubDestinations { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleMapsPlacesV1PlaceSubDestination> |
Takeout
Specifies if the business supports takeout.
Declaration
[JsonProperty("takeout")]
public virtual bool? Takeout { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Types
A set of type tags for this result. For example, "political" and "locality". For the complete list of possible values, see Table A and Table B at https://developers.google.com/maps/documentation/places/web-service/place-types
Declaration
[JsonProperty("types")]
public virtual IList<string> Types { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
UserRatingCount
The total number of reviews (with or without text) for this place.
Declaration
[JsonProperty("userRatingCount")]
public virtual int? UserRatingCount { get; set; }
Property Value
Type | Description |
---|---|
int? |
UtcOffsetMinutes
Number of minutes this place's timezone is currently offset from UTC. This is expressed in minutes to support timezones that are offset by fractions of an hour, e.g. X hours and 15 minutes.
Declaration
[JsonProperty("utcOffsetMinutes")]
public virtual int? UtcOffsetMinutes { get; set; }
Property Value
Type | Description |
---|---|
int? |
Viewport
A viewport suitable for displaying the place on an average-sized map. This viewport should not be used as the physical boundary or the service area of the business.
Declaration
[JsonProperty("viewport")]
public virtual GoogleGeoTypeViewport Viewport { get; set; }
Property Value
Type | Description |
---|---|
GoogleGeoTypeViewport |
WebsiteUri
The authoritative website for this place, e.g. a business' homepage. Note that for places that are part of a chain (e.g. an IKEA store), this will usually be the website for the individual store, not the overall chain.
Declaration
[JsonProperty("websiteUri")]
public virtual string WebsiteUri { get; set; }
Property Value
Type | Description |
---|---|
string |