Class Place
All the information representing a Place.
Assembly: Google.Maps.Places.V1.dll
Syntax
public sealed class Place : IMessage<Place>, IEquatable<Place>, IDeepCloneable<Place>, IBufferMessage, IMessage
Constructors
Place()
Declaration
Place(Place)
Declaration
public Place(Place other)
Parameters
Type |
Name |
Description |
Place |
other |
|
Properties
AccessibilityOptions
Information about the accessibility options a place offers.
Declaration
public Place.Types.AccessibilityOptions AccessibilityOptions { get; set; }
Property Value
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
public RepeatedField<Place.Types.AddressComponent> AddressComponents { get; }
Property Value
Declaration
public string AdrFormatAddress { get; set; }
Property Value
AllowsDogs
Declaration
public bool AllowsDogs { get; set; }
Property Value
Attributions
A set of data provider that must be shown with this result.
Declaration
public RepeatedField<Place.Types.Attribution> Attributions { get; }
Property Value
BusinessStatus
The business status for the place.
Declaration
public Place.Types.BusinessStatus BusinessStatus { get; set; }
Property Value
ContainingPlaces
List of places in which the current place is located.
Declaration
public RepeatedField<Place.Types.ContainingPlace> ContainingPlaces { get; }
Property Value
CurbsidePickup
Specifies if the business supports curbside pickup.
Declaration
public bool CurbsidePickup { get; set; }
Property Value
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
public Place.Types.OpeningHours CurrentOpeningHours { get; set; }
Property Value
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
public RepeatedField<Place.Types.OpeningHours> CurrentSecondaryOpeningHours { get; }
Property Value
Delivery
Specifies if the business supports delivery.
Declaration
public bool Delivery { get; set; }
Property Value
DineIn
Specifies if the business supports indoor or outdoor seating options.
Declaration
public bool DineIn { get; set; }
Property Value
DisplayName
The localized name of the place, suitable as a short human-readable
description. For example, "Google Sydney", "Starbucks", "Pyrmont", etc.
Declaration
public LocalizedText DisplayName { get; set; }
Property Value
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
public LocalizedText EditorialSummary { get; set; }
Property Value
EvChargeAmenitySummary
The summary of amenities near the EV charging station.
Declaration
public Place.Types.EvChargeAmenitySummary EvChargeAmenitySummary { get; set; }
Property Value
EvChargeOptions
Information of ev charging options.
Declaration
public EVChargeOptions EvChargeOptions { get; set; }
Property Value
A full, human-readable address for this place.
Declaration
public string FormattedAddress { get; set; }
Property Value
FuelOptions
The most recent information about fuel options in a gas station. This
information is updated regularly.
Declaration
public FuelOptions FuelOptions { get; set; }
Property Value
GenerativeSummary
AI-generated summary of the place.
Declaration
public Place.Types.GenerativeSummary GenerativeSummary { get; set; }
Property Value
GoodForChildren
Place is good for children.
Declaration
public bool GoodForChildren { get; set; }
Property Value
GoodForGroups
Place accommodates groups.
Declaration
public bool GoodForGroups { get; set; }
Property Value
GoodForWatchingSports
Place is suitable for watching sports.
Declaration
public bool GoodForWatchingSports { get; set; }
Property Value
GoogleMapsUri
A URL providing more information about this place.
Declaration
public string GoogleMapsUri { get; set; }
Property Value
HasAllowsDogs
Gets whether the "allows_dogs" field is set
Declaration
public bool HasAllowsDogs { get; }
Property Value
HasCurbsidePickup
Gets whether the "curbside_pickup" field is set
Declaration
public bool HasCurbsidePickup { get; }
Property Value
HasDelivery
Gets whether the "delivery" field is set
Declaration
public bool HasDelivery { get; }
Property Value
HasDineIn
Gets whether the "dine_in" field is set
Declaration
public bool HasDineIn { get; }
Property Value
HasGoodForChildren
Gets whether the "good_for_children" field is set
Declaration
public bool HasGoodForChildren { get; }
Property Value
HasGoodForGroups
Gets whether the "good_for_groups" field is set
Declaration
public bool HasGoodForGroups { get; }
Property Value
HasGoodForWatchingSports
Gets whether the "good_for_watching_sports" field is set
Declaration
public bool HasGoodForWatchingSports { get; }
Property Value
HasLiveMusic
Gets whether the "live_music" field is set
Declaration
public bool HasLiveMusic { get; }
Property Value
Gets whether the "menu_for_children" field is set
Declaration
public bool HasMenuForChildren { get; }
Property Value
HasOutdoorSeating
Gets whether the "outdoor_seating" field is set
Declaration
public bool HasOutdoorSeating { get; }
Property Value
HasPureServiceAreaBusiness
Gets whether the "pure_service_area_business" field is set
Declaration
public bool HasPureServiceAreaBusiness { get; }
Property Value
HasReservable
Gets whether the "reservable" field is set
Declaration
public bool HasReservable { get; }
Property Value
HasRestroom
Gets whether the "restroom" field is set
Declaration
public bool HasRestroom { get; }
Property Value
HasServesBeer
Gets whether the "serves_beer" field is set
Declaration
public bool HasServesBeer { get; }
Property Value
HasServesBreakfast
Gets whether the "serves_breakfast" field is set
Declaration
public bool HasServesBreakfast { get; }
Property Value
HasServesBrunch
Gets whether the "serves_brunch" field is set
Declaration
public bool HasServesBrunch { get; }
Property Value
HasServesCocktails
Gets whether the "serves_cocktails" field is set
Declaration
public bool HasServesCocktails { get; }
Property Value
HasServesCoffee
Gets whether the "serves_coffee" field is set
Declaration
public bool HasServesCoffee { get; }
Property Value
HasServesDessert
Gets whether the "serves_dessert" field is set
Declaration
public bool HasServesDessert { get; }
Property Value
HasServesDinner
Gets whether the "serves_dinner" field is set
Declaration
public bool HasServesDinner { get; }
Property Value
HasServesLunch
Gets whether the "serves_lunch" field is set
Declaration
public bool HasServesLunch { get; }
Property Value
HasServesVegetarianFood
Gets whether the "serves_vegetarian_food" field is set
Declaration
public bool HasServesVegetarianFood { get; }
Property Value
HasServesWine
Gets whether the "serves_wine" field is set
Declaration
public bool HasServesWine { get; }
Property Value
HasTakeout
Gets whether the "takeout" field is set
Declaration
public bool HasTakeout { get; }
Property Value
HasUserRatingCount
Gets whether the "user_rating_count" field is set
Declaration
public bool HasUserRatingCount { get; }
Property Value
HasUtcOffsetMinutes
Gets whether the "utc_offset_minutes" field is set
Declaration
public bool HasUtcOffsetMinutes { get; }
Property Value
IconBackgroundColor
Background color for icon_mask in hex format, e.g. #909CE1.
Declaration
public string IconBackgroundColor { get; set; }
Property Value
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
public string IconMaskBaseUri { get; set; }
Property Value
Id
The unique identifier of a place.
Declaration
public string Id { get; set; }
Property Value
InternationalPhoneNumber
A human-readable phone number for the place, in international format.
Declaration
public string InternationalPhoneNumber { get; set; }
Property Value
LiveMusic
Place provides live music.
Declaration
public bool LiveMusic { get; set; }
Property Value
Location
The position of this place.
Declaration
public LatLng Location { get; set; }
Property Value
Place has a children's menu.
Declaration
public bool MenuForChildren { get; set; }
Property Value
Name
This Place's resource name, in places/{place_id}
format. Can be used to
look up the Place.
Declaration
public string Name { get; set; }
Property Value
NationalPhoneNumber
A human-readable phone number for the place, in national format.
Declaration
public string NationalPhoneNumber { get; set; }
Property Value
NeighborhoodSummary
A summary of points of interest near the place.
Declaration
public Place.Types.NeighborhoodSummary NeighborhoodSummary { get; set; }
Property Value
OutdoorSeating
Place provides outdoor seating.
Declaration
public bool OutdoorSeating { get; set; }
Property Value
ParkingOptions
Options of parking provided by the place.
Declaration
public Place.Types.ParkingOptions ParkingOptions { get; set; }
Property Value
PaymentOptions
Payment options the place accepts. If a payment option data is not
available, the payment option field will be unset.
Declaration
public Place.Types.PaymentOptions PaymentOptions { get; set; }
Property Value
Photos
Information (including references) about photos of this place. A maximum of
10 photos can be returned.
Declaration
public RepeatedField<Photo> Photos { get; }
Property Value
PlaceName
Declaration
public PlaceName PlaceName { get; set; }
Property Value
PlusCode
Plus code of the place location lat/long.
Declaration
public Place.Types.PlusCode PlusCode { get; set; }
Property Value
PostalAddress
The address in postal address format.
Declaration
public PostalAddress PostalAddress { get; set; }
Property Value
PriceLevel
Price level of the place.
Declaration
public PriceLevel PriceLevel { get; set; }
Property Value
PriceRange
The price range associated with a Place.
Declaration
public PriceRange PriceRange { get; set; }
Property Value
PrimaryType
Declaration
public string PrimaryType { get; set; }
Property Value
PrimaryTypeDisplayName
Declaration
public LocalizedText PrimaryTypeDisplayName { get; set; }
Property Value
PureServiceAreaBusiness
Indicates whether the place is a pure service area business. Pure service
area business is a business that visits or delivers to customers directly
but does not serve customers at their business address. For example,
businesses like cleaning services or plumbers. Those businesses may not
have a physical address or location on Google Maps.
Declaration
public bool PureServiceAreaBusiness { get; set; }
Property Value
Rating
A rating between 1.0 and 5.0, based on user reviews of this place.
Declaration
public double Rating { get; set; }
Property Value
RegularOpeningHours
The regular hours of operation. Note that if a place is always open (24
hours), the close
field will not be set. Clients can rely on always open
(24 hours) being represented as an
open
period containing
day
with value 0
,
hour
with value 0
, and
minute
with value 0
.
Declaration
public Place.Types.OpeningHours RegularOpeningHours { get; set; }
Property Value
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
public RepeatedField<Place.Types.OpeningHours> RegularSecondaryOpeningHours { get; }
Property Value
Reservable
Specifies if the place supports reservations.
Declaration
public bool Reservable { get; set; }
Property Value
Restroom
Declaration
public bool Restroom { get; set; }
Property Value
ReviewSummary
AI-generated summary of the place using user reviews.
Declaration
public Place.Types.ReviewSummary ReviewSummary { get; set; }
Property Value
Reviews
List of reviews about this place, sorted by relevance. A maximum of 5
reviews can be returned.
Declaration
public RepeatedField<Review> Reviews { get; }
Property Value
ServesBeer
Specifies if the place serves beer.
Declaration
public bool ServesBeer { get; set; }
Property Value
ServesBreakfast
Specifies if the place serves breakfast.
Declaration
public bool ServesBreakfast { get; set; }
Property Value
ServesBrunch
Specifies if the place serves brunch.
Declaration
public bool ServesBrunch { get; set; }
Property Value
ServesCocktails
Declaration
public bool ServesCocktails { get; set; }
Property Value
ServesCoffee
Declaration
public bool ServesCoffee { get; set; }
Property Value
ServesDessert
Declaration
public bool ServesDessert { get; set; }
Property Value
ServesDinner
Specifies if the place serves dinner.
Declaration
public bool ServesDinner { get; set; }
Property Value
ServesLunch
Specifies if the place serves lunch.
Declaration
public bool ServesLunch { get; set; }
Property Value
ServesVegetarianFood
Specifies if the place serves vegetarian food.
Declaration
public bool ServesVegetarianFood { get; set; }
Property Value
ServesWine
Specifies if the place serves wine.
Declaration
public bool ServesWine { get; set; }
Property Value
A short, human-readable address for this place.
Declaration
public string ShortFormattedAddress { get; set; }
Property Value
SubDestinations
A list of sub-destinations related to the place.
Declaration
public RepeatedField<Place.Types.SubDestination> SubDestinations { get; }
Property Value
Takeout
Specifies if the business supports takeout.
Declaration
public bool Takeout { get; set; }
Property Value
TimeZone
IANA Time Zone Database time zone. For example "America/New_York".
Declaration
public TimeZone TimeZone { get; set; }
Property Value
Type |
Description |
TimeZone |
|
Types_
Declaration
public RepeatedField<string> Types_ { get; }
Property Value
UserRatingCount
The total number of reviews (with or without text) for this place.
Declaration
public int UserRatingCount { get; set; }
Property Value
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
public int UtcOffsetMinutes { get; set; }
Property Value
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
public Viewport Viewport { get; set; }
Property Value
Type |
Description |
Viewport |
|
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
public string WebsiteUri { get; set; }
Property Value