feat: Add `googleMapsTypeLabel` field to show type information on Goo… · googleapis/googleapis@6eead6e
1-// Copyright 2025 Google LLC
1+// Copyright 2026 Google LLC
22//
33// Licensed under the Apache License, Version 2.0 (the "License");
44// you may not use this file except in compliance with the License.
@@ -348,6 +348,25 @@ message Place {
348348string id = 2;
349349 }
350350351+// Links to trigger different Google Maps actions.
352+message GoogleMapsLinks {
353+// A link to show the directions to the place. The link only populates the
354+// destination location and uses the default travel mode `DRIVE`.
355+string directions_uri = 1;
356+357+// A link to show this place.
358+string place_uri = 2;
359+360+// A link to write a review for this place on Google Maps.
361+string write_a_review_uri = 3;
362+363+// A link to show reviews of this place on Google Maps.
364+string reviews_uri = 4;
365+366+// A link to show photos of this place on Google Maps.
367+string photos_uri = 5;
368+ }
369+351370// AI-generated summary of the place using user reviews.
352371message ReviewSummary {
353372// The summary of user reviews.
@@ -480,6 +499,13 @@ message Place {
480499// supported type.
481500google.type.LocalizedText primary_type_display_name = 32;
482501502+// The type label of the place on Google Maps, localized to the request
503+// language if applicable, for example, "Restaurant", "Cafe", "Airport", etc.
504+// The type label may be different from the primary type display name and may
505+// not be a supported type in [Places API Place Types
506+// table](https://developers.google.com/maps/documentation/places/web-service/place-types).
507+google.type.LocalizedText google_maps_type_label = 96;
508+483509// A human-readable phone number for the place, in national format.
484510string national_phone_number = 7;
485511@@ -722,6 +748,9 @@ message Place {
722748// https://developers.google.com/maps/documentation/geocoding/address-descriptors/coverage.
723749AddressDescriptor address_descriptor = 84;
724750751+// Links to trigger different Google Maps actions.
752+GoogleMapsLinks google_maps_links = 85;
753+725754// The price range associated with a Place.
726755PriceRange price_range = 86;
727756