REST Resource: places

Resource: Place

All the information representing a Place.

JSON representation
{
  "name": string,
  "id": string,
  "displayName": {
    object (LocalizedText)
  },
  "types": [
    string
  ],
  "primaryType": string,
  "primaryTypeDisplayName": {
    object (LocalizedText)
  },
  "nationalPhoneNumber": string,
  "internationalPhoneNumber": string,
  "formattedAddress": string,
  "shortFormattedAddress": string,
  "addressComponents": [
    {
      object (AddressComponent)
    }
  ],
  "plusCode": {
    object (PlusCode)
  },
  "location": {
    object (LatLng)
  },
  "viewport": {
    object (Viewport)
  },
  "rating": number,
  "googleMapsUri": string,
  "websiteUri": string,
  "reviews": [
    {
      object (Review)
    }
  ],
  "regularOpeningHours": {
    object (OpeningHours)
  },
  "photos": [
    {
      object (Photo)
    }
  ],
  "adrFormatAddress": string,
  "businessStatus": enum (BusinessStatus),
  "priceLevel": enum (PriceLevel),
  "attributions": [
    {
      object (Attribution)
    }
  ],
  "iconMaskBaseUri": string,
  "iconBackgroundColor": string,
  "currentOpeningHours": {
    object (OpeningHours)
  },
  "currentSecondaryOpeningHours": [
    {
      object (OpeningHours)
    }
  ],
  "regularSecondaryOpeningHours": [
    {
      object (OpeningHours)
    }
  ],
  "editorialSummary": {
    object (LocalizedText)
  },
  "paymentOptions": {
    object (PaymentOptions)
  },
  "parkingOptions": {
    object (ParkingOptions)
  },
  "subDestinations": [
    {
      object (SubDestination)
    }
  ],
  "fuelOptions": {
    object (FuelOptions)
  },
  "evChargeOptions": {
    object (EVChargeOptions)
  },
  "generativeSummary": {
    object (GenerativeSummary)
  },
  "areaSummary": {
    object (AreaSummary)
  },
  "utcOffsetMinutes": integer,
  "userRatingCount": integer,
  "takeout": boolean,
  "delivery": boolean,
  "dineIn": boolean,
  "curbsidePickup": boolean,
  "reservable": boolean,
  "servesBreakfast": boolean,
  "servesLunch": boolean,
  "servesDinner": boolean,
  "servesBeer": boolean,
  "servesWine": boolean,
  "servesBrunch": boolean,
  "servesVegetarianFood": boolean,
  "outdoorSeating": boolean,
  "liveMusic": boolean,
  "menuForChildren": boolean,
  "servesCocktails": boolean,
  "servesDessert": boolean,
  "servesCoffee": boolean,
  "goodForChildren": boolean,
  "allowsDogs": boolean,
  "restroom": boolean,
  "goodForGroups": boolean,
  "goodForWatchingSports": boolean,
  "accessibilityOptions": {
    object (AccessibilityOptions)
  }
}
Fields
name

string

This Place's resource name, in places/{placeId} format. Can be used to look up the Place.

id

string

The unique identifier of a place.

displayName

object (LocalizedText)

The localized name of the place, suitable as a short human-readable description. For example, "Google Sydney", "Starbucks", "Pyrmont", etc.

types[]

string

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

primaryType

string

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

primaryTypeDisplayName

object (LocalizedText)

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

nationalPhoneNumber

string

A human-readable phone number for the place, in national format.

internationalPhoneNumber

string

A human-readable phone number for the place, in international format.

formattedAddress

string

A full, human-readable address for this place.

shortFormattedAddress

string

A short, human-readable address for this place.

addressComponents[]

object (AddressComponent)

Repeated components for each locality level. Note the following facts about the addressComponents[] array: - The array of address components may contain more components than the formattedAddress. - The array does not necessarily include all the political entities that contain an address, apart from those included in the formattedAddress. 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 addressComponents 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.

plusCode

object (PlusCode)

Plus code of the place location lat/long.

location

object (LatLng)

The position of this place.

viewport

object (Viewport)

A viewport suitable for displaying the place on an average-sized map.

rating

number

A rating between 1.0 and 5.0, based on user reviews of this place.

googleMapsUri

string

A URL providing more information about this place.

websiteUri

string

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.

reviews[]

object (Review)

List of reviews about this place, sorted by relevance. A maximum of 5 reviews can be returned.

regularOpeningHours

object (OpeningHours)

The regular hours of operation.

photos[]

object (Photo)

Information (including references) about photos of this place. A maximum of 10 photos can be returned.

adrFormatAddress

string

The place's address in adr microformat: http://microformats.org/wiki/adr.

businessStatus

enum (BusinessStatus)

The business status for the place.

priceLevel

enum (PriceLevel)

Price level of the place.

attributions[]

object (Attribution)

A set of data provider that must be shown with this result.

iconMaskBaseUri

string

A truncated URL to an icon mask. User can access different icon type by appending type suffix to the end (eg, ".svg" or ".png").

iconBackgroundColor

string

Background color for icon_mask in hex format, e.g. #909CE1.

currentOpeningHours

object (OpeningHours)

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 specialDays subfield of all hours, set for dates that have exceptional hours.

currentSecondaryOpeningHours[]

object (OpeningHours)

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 specialDays subfield of all hours, set for dates that have exceptional hours.

regularSecondaryOpeningHours[]

object (OpeningHours)

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.

editorialSummary

object (LocalizedText)

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.

paymentOptions

object (PaymentOptions)

Payment options the place accepts. If a payment option data is not available, the payment option field will be unset.

parkingOptions

object (ParkingOptions)

Options of parking provided by the place.

subDestinations[]

object (SubDestination)

A list of sub destinations related to the place.

fuelOptions

object (FuelOptions)

The most recent information about fuel options in a gas station. This information is updated regularly.

evChargeOptions

object (EVChargeOptions)

Information of ev charging options.

generativeSummary

object (GenerativeSummary)

Experimental: See https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative for more details.

AI-generated summary of the place.

areaSummary

object (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.

utcOffsetMinutes

integer

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.

userRatingCount

integer

The total number of reviews (with or without text) for this place.

takeout

boolean

Specifies if the business supports takeout.

delivery

boolean

Specifies if the business supports delivery.

dineIn

boolean

Specifies if the business supports indoor or outdoor seating options.

curbsidePickup

boolean

Specifies if the business supports curbside pickup.

reservable

boolean

Specifies if the place supports reservations.

servesBreakfast

boolean

Specifies if the place serves breakfast.

servesLunch

boolean

Specifies if the place serves lunch.

servesDinner

boolean

Specifies if the place serves dinner.

servesBeer

boolean

Specifies if the place serves beer.

servesWine

boolean

Specifies if the place serves wine.

servesBrunch

boolean

Specifies if the place serves brunch.

servesVegetarianFood

boolean

Specifies if the place serves vegetarian food.

outdoorSeating

boolean

Place provides outdoor seating.

liveMusic

boolean

Place provides live music.

menuForChildren

boolean

Place has a children's menu.

servesCocktails

boolean

Place serves cocktails.

servesDessert

boolean

Place serves dessert.

servesCoffee

boolean

Place serves coffee.

goodForChildren

boolean

Place is good for children.

allowsDogs

boolean

Place allows dogs.

restroom

boolean

Place has restroom.

goodForGroups

boolean

Place accommodates groups.

goodForWatchingSports

boolean

Place is suitable for watching sports.

accessibilityOptions

object (AccessibilityOptions)

Information about the accessibility options a place offers.

LocalizedText

Localized variant of a text in a particular language.

JSON representation
{
  "text": string,
  "languageCode": string
}
Fields
text

string

Localized string in the language corresponding to languageCode below.

languageCode

string

The text's BCP-47 language code, such as "en-US" or "sr-Latn".

For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.

AddressComponent

The structured components that form the formatted address, if this information is available.

JSON representation
{
  "longText": string,
  "shortText": string,
  "types": [
    string
  ],
  "languageCode": string
}
Fields
longText

string

The full text description or name of the address component. For example, an address component for the country Australia may have a long_name of "Australia".

shortText

string

An abbreviated textual name for the address component, if available. For example, an address component for the country of Australia may have a short_name of "AU".

types[]

string

An array indicating the type(s) of the address component.

languageCode

string

The language used to format this components, in CLDR notation.

PlusCode

Plus code (http://plus.codes) is a location reference with two formats: global code defining a 14mx14m (1/8000th of a degree) or smaller rectangle, and compound code, replacing the prefix with a reference location.

JSON representation
{
  "globalCode": string,
  "compoundCode": string
}
Fields
globalCode

string

Place's global (full) code, such as "9FWM33GV+HQ", representing an 1/8000 by 1/8000 degree area (~14 by 14 meters).

compoundCode

string

Place's compound code, such as "33GV+HQ, Ramberg, Norway", containing the suffix of the global code and replacing the prefix with a formatted name of a reference entity.

LatLng

An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges.

JSON representation
{
  "latitude": number,
  "longitude": number
}
Fields
latitude

number

The latitude in degrees. It must be in the range [-90.0, +90.0].

longitude

number

The longitude in degrees. It must be in the range [-180.0, +180.0].

Viewport

A latitude-longitude viewport, represented as two diagonally opposite low and high points. A viewport is considered a closed region, i.e. it includes its boundary. The latitude bounds must range between -90 to 90 degrees inclusive, and the longitude bounds must range between -180 to 180 degrees inclusive. Various cases include:

  • If low = high, the viewport consists of that single point.

  • If low.longitude > high.longitude, the longitude range is inverted (the viewport crosses the 180 degree longitude line).

  • If low.longitude = -180 degrees and high.longitude = 180 degrees, the viewport includes all longitudes.

  • If low.longitude = 180 degrees and high.longitude = -180 degrees, the longitude range is empty.

  • If low.latitude > high.latitude, the latitude range is empty.

Both low and high must be populated, and the represented box cannot be empty (as specified by the definitions above). An empty viewport will result in an error.

For example, this viewport fully encloses New York City:

{ "low": { "latitude": 40.477398, "longitude": -74.259087 }, "high": { "latitude": 40.91618, "longitude": -73.70018 } }

JSON representation
{
  "low": {
    object (LatLng)
  },
  "high": {
    object (LatLng)
  }
}
Fields
low

object (LatLng)

Required. The low point of the viewport.

high

object (LatLng)

Required. The high point of the viewport.

Review

Information about a review of a place.

JSON representation
{
  "name": string,
  "relativePublishTimeDescription": string,
  "text": {
    object (LocalizedText)
  },
  "originalText": {
    object (LocalizedText)
  },
  "rating": number,
  "authorAttribution": {
    object (AuthorAttribution)
  },
  "publishTime": string
}
Fields
name

string

A reference representing this place review which may be used to look up this place review again (also called the API "resource" name: places/{placeId}/reviews/{review}).

relativePublishTimeDescription

string

A string of formatted recent time, expressing the review time relative to the current time in a form appropriate for the language and country.

text

object (LocalizedText)

The localized text of the review.

originalText

object (LocalizedText)

The review text in its original language.

rating

number

A number between 1.0 and 5.0, also called the number of stars.

authorAttribution

object (AuthorAttribution)

This review's author.

publishTime

string (Timestamp format)

Timestamp for the review.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

AuthorAttribution

Information about the author of the UGC data. Used in Photo, and Review.

JSON representation
{
  "displayName": string,
  "uri": string,
  "photoUri": string
}
Fields
displayName

string

Name of the author of the Photo or Review.

uri

string

URI of the author of the Photo or Review.

photoUri

string

Profile photo URI of the author of the Photo or Review.

OpeningHours

Information about business hour of the place.

JSON representation
{
  "periods": [
    {
      object (Period)
    }
  ],
  "weekdayDescriptions": [
    string
  ],
  "secondaryHoursType": enum (SecondaryHoursType),
  "specialDays": [
    {
      object (SpecialDay)
    }
  ],
  "openNow": boolean
}
Fields
periods[]

object (Period)

The periods that this place is open during the week. The periods are in chronological order, starting with Sunday in the place-local timezone. An empty (but not absent) value indicates a place that is never open, e.g. because it is closed temporarily for renovations.

weekdayDescriptions[]

string

Localized strings describing the opening hours of this place, one string for each day of the week. Will be empty if the hours are unknown or could not be converted to localized text. Example: "Sun: 18:00–06:00"

secondaryHoursType

enum (SecondaryHoursType)

A type string used to identify the type of secondary hours.

specialDays[]

object (SpecialDay)

Structured information for special days that fall within the period that the returned opening hours cover. Special days are days that could impact the business hours of a place, e.g. Christmas day. Set for currentOpeningHours and currentSecondaryOpeningHours if there are exceptional hours.

openNow

boolean

Whether the opening hours period is currently active. For regular opening hours and current opening hours, this field means whether the place is open. For secondary opening hours and current secondary opening hours, this field means whether the secondary hours of this place is active.

Period

A period the place remains in openNow status.

JSON representation
{
  "open": {
    object (Point)
  },
  "close": {
    object (Point)
  }
}
Fields
open

object (Point)

The time that the place starts to be open.

close

object (Point)

The time that the place starts to be closed.

Point

Status changing points.

JSON representation
{
  "date": {
    object (Date)
  },
  "truncated": boolean,
  "day": integer,
  "hour": integer,
  "minute": integer
}
Fields
date

object (Date)

Date in the local timezone for the place.

truncated

boolean

Whether or not this endpoint was truncated. Truncation occurs when the real hours are outside the times we are willing to return hours between, so we truncate the hours back to these boundaries. This ensures that at most 24 * 7 hours from midnight of the day of the request are returned.

day

integer

A day of the week, as an integer in the range 0-6. 0 is Sunday, 1 is Monday, etc.

hour

integer

The hour in 2 digits. Ranges from 00 to 23.

minute

integer

The minute in 2 digits. Ranges from 00 to 59.

Date

Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following:

  • A full date, with non-zero year, month, and day values.
  • A month and day, with a zero year (for example, an anniversary).
  • A year on its own, with a zero month and a zero day.
  • A year and month, with a zero day (for example, a credit card expiration date).

Related types:

JSON representation
{
  "year": integer,
  "month": integer,
  "day": integer
}
Fields
year

integer

Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.

month

integer

Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.

day

integer

Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.

SecondaryHoursType

A type used to identify the type of secondary hours.

Enums
SECONDARY_HOURS_TYPE_UNSPECIFIED Default value when secondary hour type is not specified.
DRIVE_THROUGH The drive-through hour for banks, restaurants, or pharmacies.
HAPPY_HOUR The happy hour.
DELIVERY The delivery hour.
TAKEOUT The takeout hour.
KITCHEN The kitchen hour.
BREAKFAST The breakfast hour.
LUNCH The lunch hour.
DINNER The dinner hour.
BRUNCH The brunch hour.
PICKUP The pickup hour.
ACCESS The access hours for storage places.
SENIOR_HOURS The special hours for seniors.
ONLINE_SERVICE_HOURS The online service hours.

SpecialDay

Structured information for special days that fall within the period that the returned opening hours cover. Special days are days that could impact the business hours of a place, e.g. Christmas day.

JSON representation
{
  "date": {
    object (Date)
  }
}
Fields
date

object (Date)

The date of this special day.

Photo

Information about a photo of a place.

JSON representation
{
  "name": string,
  "widthPx": integer,
  "heightPx": integer,
  "authorAttributions": [
    {
      object (AuthorAttribution)
    }
  ]
}
Fields
name

string

Identifier. A reference representing this place photo which may be used to look up this place photo again (also called the API "resource" name: places/{placeId}/photos/{photo}).

widthPx

integer

The maximum available width, in pixels.

heightPx

integer

The maximum available height, in pixels.

authorAttributions[]

object (AuthorAttribution)

This photo's authors.

BusinessStatus

Business status for the place.

Enums
BUSINESS_STATUS_UNSPECIFIED Default value. This value is unused.
OPERATIONAL The establishment is operational, not necessarily open now.
CLOSED_TEMPORARILY The establishment is temporarily closed.
CLOSED_PERMANENTLY The establishment is permanently closed.

PriceLevel

Price level of the place.

Enums
PRICE_LEVEL_UNSPECIFIED Place price level is unspecified or unknown.
PRICE_LEVEL_FREE Place provides free services.
PRICE_LEVEL_INEXPENSIVE Place provides inexpensive services.
PRICE_LEVEL_MODERATE Place provides moderately priced services.
PRICE_LEVEL_EXPENSIVE Place provides expensive services.
PRICE_LEVEL_VERY_EXPENSIVE Place provides very expensive services.

Attribution

Information about data providers of this place.

JSON representation
{
  "provider": string,
  "providerUri": string
}
Fields
provider

string

Name of the Place's data provider.

providerUri

string

URI to the Place's data provider.

PaymentOptions

Payment options the place accepts.

JSON representation
{
  "acceptsCreditCards": boolean,
  "acceptsDebitCards": boolean,
  "acceptsCashOnly": boolean,
  "acceptsNfc": boolean
}
Fields
acceptsCreditCards

boolean

Place accepts credit cards as payment.

acceptsDebitCards

boolean

Place accepts debit cards as payment.

acceptsCashOnly

boolean

Place accepts cash only as payment. Places with this attribute may still accept other payment methods.

acceptsNfc

boolean

Place accepts NFC payments.

ParkingOptions

Information about parking options for the place. A parking lot could support more than one option at the same time.

JSON representation
{
  "freeParkingLot": boolean,
  "paidParkingLot": boolean,
  "freeStreetParking": boolean,
  "paidStreetParking": boolean,
  "valetParking": boolean,
  "freeGarageParking": boolean,
  "paidGarageParking": boolean
}
Fields
freeParkingLot

boolean

Place offers free parking lots.

paidParkingLot

boolean

Place offers paid parking lots.

freeStreetParking

boolean

Place offers free street parking.

paidStreetParking

boolean

Place offers paid street parking.

valetParking

boolean

Place offers valet parking.

freeGarageParking

boolean

Place offers free garage parking.

paidGarageParking

boolean

Place offers paid garage parking.

SubDestination

Place resource name and id of sub destinations that relate to the place. For example, different terminals are different destinations of an airport.

JSON representation
{
  "name": string,
  "id": string
}
Fields
name

string

The resource name of the sub destination.

id

string

The place id of the sub destination.

AccessibilityOptions

Information about the accessibility options a place offers.

JSON representation
{
  "wheelchairAccessibleParking": boolean,
  "wheelchairAccessibleEntrance": boolean,
  "wheelchairAccessibleRestroom": boolean,
  "wheelchairAccessibleSeating": boolean
}
Fields
wheelchairAccessibleParking

boolean

Place offers wheelchair accessible parking.

wheelchairAccessibleEntrance

boolean

Places has wheelchair accessible entrance.

wheelchairAccessibleRestroom

boolean

Place has wheelchair accessible restroom.

wheelchairAccessibleSeating

boolean

Place has wheelchair accessible seating.

FuelOptions

The most recent information about fuel options in a gas station. This information is updated regularly.

JSON representation
{
  "fuelPrices": [
    {
      object (FuelPrice)
    }
  ]
}
Fields
fuelPrices[]

object (FuelPrice)

The last known fuel price for each type of fuel this station has. There is one entry per fuel type this station has. Order is not important.

FuelPrice

Fuel price information for a given type.

JSON representation
{
  "type": enum (FuelType),
  "price": {
    object (Money)
  },
  "updateTime": string
}
Fields
type

enum (FuelType)

The type of fuel.

price

object (Money)

The price of the fuel.

updateTime

string (Timestamp format)

The time the fuel price was last updated.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

FuelType

Types of fuel.

Enums
FUEL_TYPE_UNSPECIFIED Unspecified fuel type.
DIESEL Diesel fuel.
REGULAR_UNLEADED Regular unleaded.
MIDGRADE Midgrade.
PREMIUM Premium.
SP91 SP 91.
SP91_E10 SP 91 E10.
SP92 SP 92.
SP95 SP 95.
SP95_E10 SP95 E10.
SP98 SP 98.
SP99 SP 99.
SP100 SP 100.
LPG LPG.
E80 E 80.
E85 E 85.
METHANE Methane.
BIO_DIESEL Bio-diesel.
TRUCK_DIESEL Truck diesel.

Money

Represents an amount of money with its currency type.

JSON representation
{
  "currencyCode": string,
  "units": string,
  "nanos": integer
}
Fields
currencyCode

string

The three-letter currency code defined in ISO 4217.

units

string (int64 format)

The whole units of the amount. For example if currencyCode is "USD", then 1 unit is one US dollar.

nanos

integer

Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If units is positive, nanos must be positive or zero. If units is zero, nanos can be positive, zero, or negative. If units is negative, nanos must be negative or zero. For example $-1.75 is represented as units=-1 and nanos=-750,000,000.

EVChargeOptions

Information about the EV Charge Station hosted in Place. Terminology follows https://afdc.energy.gov/fuels/electricity_infrastructure.html One port could charge one car at a time. One port has one or more connectors. One station has one or more ports.

JSON representation
{
  "connectorCount": integer,
  "connectorAggregation": [
    {
      object (ConnectorAggregation)
    }
  ]
}
Fields
connectorCount

integer

Number of connectors at this station. However, because some ports can have multiple connectors but only be able to charge one car at a time (e.g.) the number of connectors may be greater than the total number of cars which can charge simultaneously.

connectorAggregation[]

object (ConnectorAggregation)

A list of EV charging connector aggregations that contain connectors of the same type and same charge rate.

ConnectorAggregation

EV charging information grouped by [type, maxChargeRateKw]. Shows EV charge aggregation of connectors that have the same type and max charge rate in kw.

JSON representation
{
  "type": enum (EVConnectorType),
  "maxChargeRateKw": number,
  "count": integer,
  "availabilityLastUpdateTime": string,
  "availableCount": integer,
  "outOfServiceCount": integer
}
Fields
type

enum (EVConnectorType)

The connector type of this aggregation.

maxChargeRateKw

number

The static max charging rate in kw of each connector in the aggregation.

count

integer

Number of connectors in this aggregation.

availabilityLastUpdateTime

string (Timestamp format)

The timestamp when the connector availability information in this aggregation was last updated.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

availableCount

integer

Number of connectors in this aggregation that are currently available.

outOfServiceCount

integer

Number of connectors in this aggregation that are currently out of service.

EVConnectorType

See http://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=6872107 for additional information/context on EV charging connector types.

Enums
EV_CONNECTOR_TYPE_UNSPECIFIED Unspecified connector.
EV_CONNECTOR_TYPE_OTHER Other connector types.
EV_CONNECTOR_TYPE_J1772 J1772 type 1 connector.
EV_CONNECTOR_TYPE_TYPE_2 IEC 62196 type 2 connector. Often referred to as MENNEKES.
EV_CONNECTOR_TYPE_CHADEMO CHAdeMO type connector.
EV_CONNECTOR_TYPE_CCS_COMBO_1 Combined Charging System (AC and DC). Based on SAE. Type-1 J-1772 connector
EV_CONNECTOR_TYPE_CCS_COMBO_2 Combined Charging System (AC and DC). Based on Type-2 Mennekes connector
EV_CONNECTOR_TYPE_TESLA The generic TESLA connector. This is NACS in the North America but can be non-NACS in other parts of the world (e.g. CCS Combo 2 (CCS2) or GB/T). This value is less representative of an actual connector type, and more represents the ability to charge a Tesla brand vehicle at a Tesla owned charging station.
EV_CONNECTOR_TYPE_UNSPECIFIED_GB_T GB/T type corresponds to the GB/T standard in China. This type covers all GB_T types.
EV_CONNECTOR_TYPE_UNSPECIFIED_WALL_OUTLET Unspecified wall outlet.

GenerativeSummary

Experimental: See https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative for more details.

AI-generated summary of the place.

JSON representation
{
  "overview": {
    object (LocalizedText)
  },
  "description": {
    object (LocalizedText)
  },
  "references": {
    object (References)
  }
}
Fields
overview

object (LocalizedText)

The overview of the place.

description

object (LocalizedText)

The detailed description of the place.

references

object (References)

References that are used to generate the summary description.

References

Experimental: See https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative for more details.

Reference that the generative content is related to.

JSON representation
{
  "reviews": [
    {
      object (Review)
    }
  ],
  "places": [
    string
  ]
}
Fields
reviews[]

object (Review)

Reviews that serve as references.

places[]

string

The list of resource names of the referenced places. This name can be used in other APIs that accept Place resource names.

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.

JSON representation
{
  "contentBlocks": [
    {
      object (ContentBlock)
    }
  ]
}
Fields
contentBlocks[]

object (ContentBlock)

Content blocks that compose the area summary. Each block has a separate topic about the area.

ContentBlock

A block of content that can be served individually.

JSON representation
{
  "topic": string,
  "content": {
    object (LocalizedText)
  },
  "references": {
    object (References)
  }
}
Fields
topic

string

The topic of the content, for example "overview" or "restaurant".

content

object (LocalizedText)

Content related to the topic.

references

object (References)

Experimental: See https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative for more details.

References that are related to this block of content.

Methods

autocomplete

Returns predictions for the given input.

get

Get the details of a place based on its resource name, which is a string in the places/{place_id} format.

searchNearby

Search for places near locations.

searchText

Text query based place search.