Skip to content

Commit c53c6ea

Browse files
feat: [places] add AutoComplete API (#5056)
* feat: add AutoComplete API feat: add Searchable EV feature to TextSearch API PiperOrigin-RevId: 608184544 Source-Link: googleapis/googleapis@3049b76 Source-Link: googleapis/googleapis-gen@2cac391 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLW1hcHMtcGxhY2VzLy5Pd2xCb3QueWFtbCIsImgiOiIyY2FjMzkxYWM4YTU2MGU5MDMxYzFjNTAyY2EwOGQ2MmZhYWQzNWFiIn0= * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 79a4df0 commit c53c6ea

15 files changed

Lines changed: 5624 additions & 18 deletions

packages/google-maps-places/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ Samples are in the [`samples/`](https://github.com/googleapis/google-cloud-node/
9393

9494
| Sample | Source Code | Try it |
9595
| --------------------------- | --------------------------------- | ------ |
96+
| Places.autocomplete_places | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-maps-places/samples/generated/v1/places.autocomplete_places.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-maps-places/samples/generated/v1/places.autocomplete_places.js,packages/google-maps-places/samples/README.md) |
9697
| Places.get_photo_media | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-maps-places/samples/generated/v1/places.get_photo_media.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-maps-places/samples/generated/v1/places.get_photo_media.js,packages/google-maps-places/samples/README.md) |
9798
| Places.get_place | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-maps-places/samples/generated/v1/places.get_place.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-maps-places/samples/generated/v1/places.get_place.js,packages/google-maps-places/samples/README.md) |
9899
| Places.search_nearby | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-maps-places/samples/generated/v1/places.search_nearby.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-maps-places/samples/generated/v1/places.search_nearby.js,packages/google-maps-places/samples/README.md) |

packages/google-maps-places/protos/google/maps/places/v1/place.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,8 +283,8 @@ message Place {
283283
optional bool wheelchair_accessible_seating = 4;
284284
}
285285

286-
// An ID representing this place which may be used to look up this place
287-
// again (a.k.a. the API "resource" name: places/place_id).
286+
// This Place's resource name, in `places/{place_id}` format. Can be used to
287+
// look up the Place.
288288
string name = 1;
289289

290290
// The unique identifier of a place.

packages/google-maps-places/protos/google/maps/places/v1/places_service.proto

Lines changed: 317 additions & 6 deletions
Large diffs are not rendered by default.

packages/google-maps-places/protos/protos.d.ts

Lines changed: 1256 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/google-maps-places/protos/protos.js

Lines changed: 3182 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/google-maps-places/protos/protos.json

Lines changed: 288 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/google-maps-places/samples/README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
* [Before you begin](#before-you-begin)
1414
* [Samples](#samples)
15+
* [Places.autocomplete_places](#places.autocomplete_places)
1516
* [Places.get_photo_media](#places.get_photo_media)
1617
* [Places.get_place](#places.get_place)
1718
* [Places.search_nearby](#places.search_nearby)
@@ -33,6 +34,23 @@ Before running the samples, make sure you've followed the steps outlined in
3334

3435

3536

37+
### Places.autocomplete_places
38+
39+
View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-maps-places/samples/generated/v1/places.autocomplete_places.js).
40+
41+
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-maps-places/samples/generated/v1/places.autocomplete_places.js,samples/README.md)
42+
43+
__Usage:__
44+
45+
46+
`node packages/google-maps-places/samples/generated/v1/places.autocomplete_places.js`
47+
48+
49+
-----
50+
51+
52+
53+
3654
### Places.get_photo_media
3755

3856
View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-maps-places/samples/generated/v1/places.get_photo_media.js).

0 commit comments

Comments
 (0)