Skip to content

Commit

Permalink
fix(places): update the API
Browse files Browse the repository at this point in the history
#### places:v1

The following keys were changed:
- schemas.GoogleMapsPlacesV1SearchTextResponse.properties.contextualContents.description
  • Loading branch information
yoshi-automation authored and sofisl committed Aug 30, 2024
1 parent d42c0fd commit f9b8acb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions discovery/places-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@
}
}
},
"revision": "20240729",
"revision": "20240825",
"rootUrl": "https://places.googleapis.com/",
"schemas": {
"GoogleGeoTypeViewport": {
Expand Down Expand Up @@ -1817,7 +1817,7 @@
"id": "GoogleMapsPlacesV1SearchTextResponse",
"properties": {
"contextualContents": {
"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.",
"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.",
"items": {
"$ref": "GoogleMapsPlacesV1ContextualContent"
},
Expand Down
2 changes: 1 addition & 1 deletion src/apis/places/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1238,7 +1238,7 @@ export namespace places_v1 {
*/
export interface Schema$GoogleMapsPlacesV1SearchTextResponse {
/**
* 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.
* 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.
*/
contextualContents?: Schema$GoogleMapsPlacesV1ContextualContent[];
/**
Expand Down

0 comments on commit f9b8acb

Please sign in to comment.