Skip to content

Commit f7d1ad7

Browse files
feat(places): update the API
#### places:v1 The following keys were added: - schemas.GoogleMapsPlacesV1Place.properties.movedPlace.description - schemas.GoogleMapsPlacesV1Place.properties.movedPlace.type - schemas.GoogleMapsPlacesV1Place.properties.movedPlaceId.description - schemas.GoogleMapsPlacesV1Place.properties.movedPlaceId.type
1 parent 8432360 commit f7d1ad7

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

discovery/places-v1.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@
280280
}
281281
}
282282
},
283-
"revision": "20251007",
283+
"revision": "20251019",
284284
"rootUrl": "https://places.googleapis.com/",
285285
"schemas": {
286286
"GoogleGeoTypeViewport": {
@@ -1166,6 +1166,14 @@
11661166
"description": "Place has a children's menu.",
11671167
"type": "boolean"
11681168
},
1169+
"movedPlace": {
1170+
"description": "If this Place is permanently closed and has moved to a new Place, this field contains the new Place's resource name, in `places/{place_id}` format. If this Place moved multiple times, this field will represent the first moved place. This field will not be populated if this Place has not moved.",
1171+
"type": "string"
1172+
},
1173+
"movedPlaceId": {
1174+
"description": "If this Place is permanently closed and has moved to a new Place, this field contains the new Place's place ID. If this Place moved multiple times, this field will represent the first moved Place. This field will not be populated if this Place has not moved.",
1175+
"type": "string"
1176+
},
11691177
"name": {
11701178
"description": "This Place's resource name, in `places/{place_id}` format. Can be used to look up the Place.",
11711179
"type": "string"

src/apis/places/v1.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -749,6 +749,14 @@ export namespace places_v1 {
749749
* Place has a children's menu.
750750
*/
751751
menuForChildren?: boolean | null;
752+
/**
753+
* If this Place is permanently closed and has moved to a new Place, this field contains the new Place's resource name, in `places/{place_id\}` format. If this Place moved multiple times, this field will represent the first moved place. This field will not be populated if this Place has not moved.
754+
*/
755+
movedPlace?: string | null;
756+
/**
757+
* If this Place is permanently closed and has moved to a new Place, this field contains the new Place's place ID. If this Place moved multiple times, this field will represent the first moved Place. This field will not be populated if this Place has not moved.
758+
*/
759+
movedPlaceId?: string | null;
752760
/**
753761
* This Place's resource name, in `places/{place_id\}` format. Can be used to look up the Place.
754762
*/
@@ -2025,6 +2033,8 @@ export namespace places_v1 {
20252033
* // "liveMusic": false,
20262034
* // "location": {},
20272035
* // "menuForChildren": false,
2036+
* // "movedPlace": "my_movedPlace",
2037+
* // "movedPlaceId": "my_movedPlaceId",
20282038
* // "name": "my_name",
20292039
* // "nationalPhoneNumber": "my_nationalPhoneNumber",
20302040
* // "neighborhoodSummary": {},

0 commit comments

Comments
 (0)