Table of Contents

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

AccessibilityOptions

AddressComponents

Structured address components.

[JsonPropertyName("addressComponents")]
public List<AddressComponent>? AddressComponents { get; set; }

Property Value

List<AddressComponent>

BusinessStatus

Operational status of the business.

[JsonPropertyName("businessStatus")]
public BusinessStatus? BusinessStatus { get; set; }

Property Value

BusinessStatus?

CurrentOpeningHours

Current opening hours, including holiday/special-day overrides.

[JsonPropertyName("currentOpeningHours")]
public OpeningHours? CurrentOpeningHours { get; set; }

Property Value

OpeningHours

DisplayName

Localized display name of the place.

[JsonPropertyName("displayName")]
public LocalizedText? DisplayName { get; set; }

Property Value

LocalizedText

EditorialSummary

Editorial summary of the place.

[JsonPropertyName("editorialSummary")]
public EditorialSummary? EditorialSummary { get; set; }

Property Value

EditorialSummary

EvChargeOptions

EV charging options (for places with EV chargers).

[JsonPropertyName("evChargeOptions")]
public EvChargeOptions? EvChargeOptions { get; set; }

Property Value

EvChargeOptions

FormattedAddress

Full, human-readable address.

[JsonPropertyName("formattedAddress")]
public string? FormattedAddress { get; set; }

Property Value

string

FuelOptions

Fuel options (for fuel stations).

[JsonPropertyName("fuelOptions")]
public FuelOptions? FuelOptions { get; set; }

Property Value

FuelOptions

GoogleMapsUri

URI to the place's Google Maps page.

[JsonPropertyName("googleMapsUri")]
public string? GoogleMapsUri { get; set; }

Property Value

string

Id

Place ID (stable identifier for the place).

[JsonPropertyName("id")]
public string? Id { get; set; }

Property Value

string

InternationalPhoneNumber

International-format phone number.

[JsonPropertyName("internationalPhoneNumber")]
public string? InternationalPhoneNumber { get; set; }

Property Value

string

Location

Geographic location of the place.

[JsonPropertyName("location")]
public LatLng? Location { get; set; }

Property Value

LatLng

Name

Resource name of the place (e.g. places/{placeId}).

[JsonPropertyName("name")]
public string? Name { get; set; }

Property Value

string

NationalPhoneNumber

National-format phone number.

[JsonPropertyName("nationalPhoneNumber")]
public string? NationalPhoneNumber { get; set; }

Property Value

string

ParkingOptions

Parking options available at the place.

[JsonPropertyName("parkingOptions")]
public ParkingOptions? ParkingOptions { get; set; }

Property Value

ParkingOptions

PaymentOptions

Payment options accepted by the place.

[JsonPropertyName("paymentOptions")]
public PaymentOptions? PaymentOptions { get; set; }

Property Value

PaymentOptions

Photos

Photos of the place.

[JsonPropertyName("photos")]
public List<Photo>? Photos { get; set; }

Property Value

List<Photo>

PlusCode

Open Location Code (plus code) for the place.

[JsonPropertyName("plusCode")]
public PlusCode? PlusCode { get; set; }

Property Value

PlusCode

PriceLevel

Price level of the place.

[JsonPropertyName("priceLevel")]
public PriceLevel? PriceLevel { get; set; }

Property Value

PriceLevel?

PrimaryType

Primary type of the place.

[JsonPropertyName("primaryType")]
public string? PrimaryType { get; set; }

Property Value

string

PrimaryTypeDisplayName

Localized display name of the primary type.

[JsonPropertyName("primaryTypeDisplayName")]
public LocalizedText? PrimaryTypeDisplayName { get; set; }

Property Value

LocalizedText

Rating

Average rating, 1.0–5.0.

[JsonPropertyName("rating")]
public double? Rating { get; set; }

Property Value

double?

RegularOpeningHours

Regular (standard) opening hours.

[JsonPropertyName("regularOpeningHours")]
public OpeningHours? RegularOpeningHours { get; set; }

Property Value

OpeningHours

Reviews

User reviews of the place.

[JsonPropertyName("reviews")]
public List<Review>? Reviews { get; set; }

Property Value

List<Review>

ShortFormattedAddress

Short, human-readable address.

[JsonPropertyName("shortFormattedAddress")]
public string? ShortFormattedAddress { get; set; }

Property Value

string

Types

Place types associated with this place.

[JsonPropertyName("types")]
public List<string>? Types { get; set; }

Property Value

List<string>

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

Viewport

WebsiteUri

URI to the place's authoritative website.

[JsonPropertyName("websiteUri")]
public string? WebsiteUri { get; set; }

Property Value

string