Skip to content

Commit

Permalink
feat: new features for Places GA (#11909)
Browse files Browse the repository at this point in the history
- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 575913105

Source-Link:
googleapis/googleapis@0d6992f

Source-Link:
googleapis/googleapis-gen@7cdc9e8
Copy-Tag:
eyJwIjoicGFja2FnZXMvZ29vZ2xlLW1hcHMtcGxhY2VzLy5Pd2xCb3QueWFtbCIsImgiOiI3Y2RjOWU4YzBiZDhlNjM1YmMwYWE5Yzk1M2U5M2M5NWRjOWRmODcyIn0=

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Oct 26, 2023
1 parent 7ba9f76 commit 9cd4ccb
Show file tree
Hide file tree
Showing 27 changed files with 5,395 additions and 528 deletions.
23 changes: 21 additions & 2 deletions packages/google-maps-places/google/maps/places/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,40 @@

from google.maps.places_v1.services.places.async_client import PlacesAsyncClient
from google.maps.places_v1.services.places.client import PlacesClient
from google.maps.places_v1.types.attribution import AuthorAttribution
from google.maps.places_v1.types.ev_charging import EVChargeOptions, EVConnectorType
from google.maps.places_v1.types.fuel_options import FuelOptions
from google.maps.places_v1.types.geometry import Circle
from google.maps.places_v1.types.photo import Photo
from google.maps.places_v1.types.place import Place, PriceLevel
from google.maps.places_v1.types.places_service import (
Int32Range,
GetPhotoMediaRequest,
GetPlaceRequest,
PhotoMedia,
SearchNearbyRequest,
SearchNearbyResponse,
SearchTextRequest,
SearchTextResponse,
)
from google.maps.places_v1.types.review import Review

__all__ = (
"PlacesClient",
"PlacesAsyncClient",
"AuthorAttribution",
"EVChargeOptions",
"EVConnectorType",
"FuelOptions",
"Circle",
"Photo",
"Place",
"PriceLevel",
"Int32Range",
"GetPhotoMediaRequest",
"GetPlaceRequest",
"PhotoMedia",
"SearchNearbyRequest",
"SearchNearbyResponse",
"SearchTextRequest",
"SearchTextResponse",
"Review",
)
27 changes: 25 additions & 2 deletions packages/google-maps-places/google/maps/places_v1/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,40 @@


from .services.places import PlacesAsyncClient, PlacesClient
from .types.attribution import AuthorAttribution
from .types.ev_charging import EVChargeOptions, EVConnectorType
from .types.fuel_options import FuelOptions
from .types.geometry import Circle
from .types.photo import Photo
from .types.place import Place, PriceLevel
from .types.places_service import Int32Range, SearchTextRequest, SearchTextResponse
from .types.places_service import (
GetPhotoMediaRequest,
GetPlaceRequest,
PhotoMedia,
SearchNearbyRequest,
SearchNearbyResponse,
SearchTextRequest,
SearchTextResponse,
)
from .types.review import Review

__all__ = (
"PlacesAsyncClient",
"AuthorAttribution",
"Circle",
"Int32Range",
"EVChargeOptions",
"EVConnectorType",
"FuelOptions",
"GetPhotoMediaRequest",
"GetPlaceRequest",
"Photo",
"PhotoMedia",
"Place",
"PlacesClient",
"PriceLevel",
"Review",
"SearchNearbyRequest",
"SearchNearbyResponse",
"SearchTextRequest",
"SearchTextResponse",
)
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,21 @@
"grpc": {
"libraryClient": "PlacesClient",
"rpcs": {
"GetPhotoMedia": {
"methods": [
"get_photo_media"
]
},
"GetPlace": {
"methods": [
"get_place"
]
},
"SearchNearby": {
"methods": [
"search_nearby"
]
},
"SearchText": {
"methods": [
"search_text"
Expand All @@ -20,6 +35,21 @@
"grpc-async": {
"libraryClient": "PlacesAsyncClient",
"rpcs": {
"GetPhotoMedia": {
"methods": [
"get_photo_media"
]
},
"GetPlace": {
"methods": [
"get_place"
]
},
"SearchNearby": {
"methods": [
"search_nearby"
]
},
"SearchText": {
"methods": [
"search_text"
Expand All @@ -30,6 +60,21 @@
"rest": {
"libraryClient": "PlacesClient",
"rpcs": {
"GetPhotoMedia": {
"methods": [
"get_photo_media"
]
},
"GetPlace": {
"methods": [
"get_place"
]
},
"SearchNearby": {
"methods": [
"search_nearby"
]
},
"SearchText": {
"methods": [
"search_text"
Expand Down
Loading

0 comments on commit 9cd4ccb

Please sign in to comment.