Class Place
- Namespace
- GoogleMapsApi.Entities.PlacesNew.Response
- Assembly
- GoogleMapsApi.dll
A place returned by the Places API (New). Place Details returns a bare instance of this type; the search endpoints return a list of them. Which fields are populated depends on the request's field mask — fields outside the mask are returned as null.
public sealed class Place : IResponseFor<PlaceDetailsRequest>
- Inheritance
-
Place
- Implements
- Inherited Members
Properties
AccessibilityOptions
Accessibility options available at the place.
[JsonPropertyName("accessibilityOptions")]
public AccessibilityOptions? AccessibilityOptions { get; set; }
Property Value
AddressComponents
Structured address components.
[JsonPropertyName("addressComponents")]
public List<AddressComponent>? AddressComponents { get; set; }
Property Value
BusinessStatus
Operational status of the business.
[JsonPropertyName("businessStatus")]
public BusinessStatus? BusinessStatus { get; set; }
Property Value
CurrentOpeningHours
Current opening hours, including holiday/special-day overrides.
[JsonPropertyName("currentOpeningHours")]
public OpeningHours? CurrentOpeningHours { get; set; }
Property Value
DisplayName
Localized display name of the place.
[JsonPropertyName("displayName")]
public LocalizedText? DisplayName { get; set; }
Property Value
EditorialSummary
Editorial summary of the place.
[JsonPropertyName("editorialSummary")]
public EditorialSummary? EditorialSummary { get; set; }
Property Value
EvChargeOptions
EV charging options (for places with EV chargers).
[JsonPropertyName("evChargeOptions")]
public EvChargeOptions? EvChargeOptions { get; set; }
Property Value
FormattedAddress
Full, human-readable address.
[JsonPropertyName("formattedAddress")]
public string? FormattedAddress { get; set; }
Property Value
FuelOptions
Fuel options (for fuel stations).
[JsonPropertyName("fuelOptions")]
public FuelOptions? FuelOptions { get; set; }
Property Value
GoogleMapsUri
URI to the place's Google Maps page.
[JsonPropertyName("googleMapsUri")]
public string? GoogleMapsUri { get; set; }
Property Value
Id
Place ID (stable identifier for the place).
[JsonPropertyName("id")]
public string? Id { get; set; }
Property Value
InternationalPhoneNumber
International-format phone number.
[JsonPropertyName("internationalPhoneNumber")]
public string? InternationalPhoneNumber { get; set; }
Property Value
Location
Geographic location of the place.
[JsonPropertyName("location")]
public LatLng? Location { get; set; }
Property Value
Name
Resource name of the place (e.g. places/{placeId}).
[JsonPropertyName("name")]
public string? Name { get; set; }
Property Value
NationalPhoneNumber
National-format phone number.
[JsonPropertyName("nationalPhoneNumber")]
public string? NationalPhoneNumber { get; set; }
Property Value
ParkingOptions
Parking options available at the place.
[JsonPropertyName("parkingOptions")]
public ParkingOptions? ParkingOptions { get; set; }
Property Value
PaymentOptions
Payment options accepted by the place.
[JsonPropertyName("paymentOptions")]
public PaymentOptions? PaymentOptions { get; set; }
Property Value
Photos
Photos of the place.
[JsonPropertyName("photos")]
public List<Photo>? Photos { get; set; }
Property Value
PlusCode
Open Location Code (plus code) for the place.
[JsonPropertyName("plusCode")]
public PlusCode? PlusCode { get; set; }
Property Value
PriceLevel
Price level of the place.
[JsonPropertyName("priceLevel")]
public PriceLevel? PriceLevel { get; set; }
Property Value
PrimaryType
Primary type of the place.
[JsonPropertyName("primaryType")]
public string? PrimaryType { get; set; }
Property Value
PrimaryTypeDisplayName
Localized display name of the primary type.
[JsonPropertyName("primaryTypeDisplayName")]
public LocalizedText? PrimaryTypeDisplayName { get; set; }
Property Value
Rating
Average rating, 1.0–5.0.
[JsonPropertyName("rating")]
public double? Rating { get; set; }
Property Value
RegularOpeningHours
Regular (standard) opening hours.
[JsonPropertyName("regularOpeningHours")]
public OpeningHours? RegularOpeningHours { get; set; }
Property Value
Reviews
User reviews of the place.
[JsonPropertyName("reviews")]
public List<Review>? Reviews { get; set; }
Property Value
ShortFormattedAddress
Short, human-readable address.
[JsonPropertyName("shortFormattedAddress")]
public string? ShortFormattedAddress { get; set; }
Property Value
Types
Place types associated with this place.
[JsonPropertyName("types")]
public List<string>? Types { get; set; }
Property Value
UserRatingCount
Total number of user ratings.
[JsonPropertyName("userRatingCount")]
public int? UserRatingCount { get; set; }
Property Value
- int?
UtcOffsetMinutes
Offset from UTC, in minutes, of the place's current timezone.
[JsonPropertyName("utcOffsetMinutes")]
public int? UtcOffsetMinutes { get; set; }
Property Value
- int?
Viewport
Viewport suitable for displaying the place on a map.
[JsonPropertyName("viewport")]
public Viewport? Viewport { get; set; }
Property Value
WebsiteUri
URI to the place's authoritative website.
[JsonPropertyName("websiteUri")]
public string? WebsiteUri { get; set; }