Skip to content

Commit f9b8acb

Browse files
yoshi-automationsofisl
authored andcommittedAug 30, 2024
fix(places): update the API
#### places:v1 The following keys were changed: - schemas.GoogleMapsPlacesV1SearchTextResponse.properties.contextualContents.description
1 parent d42c0fd commit f9b8acb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎discovery/places-v1.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@
276276
}
277277
}
278278
},
279-
"revision": "20240729",
279+
"revision": "20240825",
280280
"rootUrl": "https://places.googleapis.com/",
281281
"schemas": {
282282
"GoogleGeoTypeViewport": {
@@ -1817,7 +1817,7 @@
18171817
"id": "GoogleMapsPlacesV1SearchTextResponse",
18181818
"properties": {
18191819
"contextualContents": {
1820-
"description": "Experimental: See https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative for more details. A list of contextual contents where each entry associates to the corresponding place in the same index in the places field. The contents that are relevant to the `text_query` in the request are preferred. If the contextual content is not available for one of the places, it will return non-contextual content. It will be empty only when the content is unavailable for this place. This list should have as many entries as the list of places if requested.",
1820+
"description": "Experimental: See https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative for more details. A list of contextual contents where each entry associates to the corresponding place in the same index in the places field. The contents that are relevant to the `text_query` in the request are preferred. If the contextual content is not available for one of the places, it will return non-contextual content. It will be empty only when the content is unavailable for this place. This list will have as many entries as the list of places if requested.",
18211821
"items": {
18221822
"$ref": "GoogleMapsPlacesV1ContextualContent"
18231823
},

‎src/apis/places/v1.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1238,7 +1238,7 @@ export namespace places_v1 {
12381238
*/
12391239
export interface Schema$GoogleMapsPlacesV1SearchTextResponse {
12401240
/**
1241-
* Experimental: See https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative for more details. A list of contextual contents where each entry associates to the corresponding place in the same index in the places field. The contents that are relevant to the `text_query` in the request are preferred. If the contextual content is not available for one of the places, it will return non-contextual content. It will be empty only when the content is unavailable for this place. This list should have as many entries as the list of places if requested.
1241+
* Experimental: See https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative for more details. A list of contextual contents where each entry associates to the corresponding place in the same index in the places field. The contents that are relevant to the `text_query` in the request are preferred. If the contextual content is not available for one of the places, it will return non-contextual content. It will be empty only when the content is unavailable for this place. This list will have as many entries as the list of places if requested.
12421242
*/
12431243
contextualContents?: Schema$GoogleMapsPlacesV1ContextualContent[];
12441244
/**

0 commit comments

Comments
 (0)
Please sign in to comment.