Skip to content

Commit 0d3ec5e

Browse files
feat: Automated regeneration of Places client (googleapis#12399)
Auto-created at 2024-10-24 13:15:32 +0000 using the toys pull request generator.
1 parent bb07fbb commit 0d3ec5e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

clients/places/lib/google_api/places/v1/metadata.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.Places.V1 do
2020
API client metadata for GoogleApi.Places.V1.
2121
"""
2222

23-
@discovery_revision "20241015"
23+
@discovery_revision "20241022"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end

clients/places/lib/google_api/places/v1/model/google_maps_places_v1_address_descriptor_landmark.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ defmodule GoogleApi.Places.V1.Model.GoogleMapsPlacesV1AddressDescriptorLandmark
2525
* `name` (*type:* `String.t`, *default:* `nil`) - The landmark's resource name.
2626
* `placeId` (*type:* `String.t`, *default:* `nil`) - The landmark's place id.
2727
* `spatialRelationship` (*type:* `String.t`, *default:* `nil`) - Defines the spatial relationship between the target location and the landmark.
28-
* `straightLineDistanceMeters` (*type:* `number()`, *default:* `nil`) - The straight line distance in meters between the target location and the landmark.
29-
* `travelDistanceMeters` (*type:* `number()`, *default:* `nil`) - The travel distance in meters along the road network if known. This does not take into account the mode of transportation (walking/driving).
28+
* `straightLineDistanceMeters` (*type:* `number()`, *default:* `nil`) - The straight line distance, in meters, between the center point of the target and the center point of the landmark. In some situations, this value can be longer than `travel_distance_meters`.
29+
* `travelDistanceMeters` (*type:* `number()`, *default:* `nil`) - The travel distance, in meters, along the road network from the target to the landmark, if known. This value does not take into account the mode of transportation, such as walking, driving, or biking.
3030
* `types` (*type:* `list(String.t)`, *default:* `nil`) - A set of type tags for this landmark. For a complete list of possible values, see https://developers.google.com/maps/documentation/places/web-service/place-types.
3131
"""
3232

clients/places/mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
defmodule GoogleApi.Places.Mixfile do
1919
use Mix.Project
2020

21-
@version "0.8.1"
21+
@version "0.8.2"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)