google-apis-places_v1 0.46.0 → 0.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 79e45a452ecd0f7e2044f6b8114c609688c1480af004693c6286fac9a1b90982
|
|
4
|
+
data.tar.gz: c53274ea3e207eb8c79909663cbf4fd500979f4ac16fc0f6afdeffaae6c9c71e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b8a1d33718607cbe78c8d3db42e9dc79a1eaff0cf450eeea59415c7064565a9e7ab717d21597d944a1418296b97ce7271e08e2eee6de164d6f90b7d24b396d3d
|
|
7
|
+
data.tar.gz: daf7e0adf208280e690dd00326f81872617e82f36a4a1e559f9bf5555c253d4a577ae840e43839389a54e959fdc88a4ccfee0e153aec77af6bcf94b79cc5cf6f
|
data/CHANGELOG.md
CHANGED
|
@@ -1224,6 +1224,11 @@ module Google
|
|
|
1224
1224
|
# @return [Google::Apis::PlacesV1::GoogleTypeLocalizedText]
|
|
1225
1225
|
attr_accessor :editorial_summary
|
|
1226
1226
|
|
|
1227
|
+
# Entrances for this destination.
|
|
1228
|
+
# Corresponds to the JSON property `entrances`
|
|
1229
|
+
# @return [Array<Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceEntrance>]
|
|
1230
|
+
attr_accessor :entrances
|
|
1231
|
+
|
|
1227
1232
|
# The summary of amenities near the EV charging station. This only applies to
|
|
1228
1233
|
# places with type `electric_vehicle_charging_station`. The `overview` field is
|
|
1229
1234
|
# guaranteed to be provided while the other fields are optional.
|
|
@@ -1356,6 +1361,11 @@ module Google
|
|
|
1356
1361
|
# @return [String]
|
|
1357
1362
|
attr_accessor :national_phone_number
|
|
1358
1363
|
|
|
1364
|
+
# Navigation points for this destination.
|
|
1365
|
+
# Corresponds to the JSON property `navigationPoints`
|
|
1366
|
+
# @return [Array<Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceNavigationPoint>]
|
|
1367
|
+
attr_accessor :navigation_points
|
|
1368
|
+
|
|
1359
1369
|
# A summary of points of interest near the place.
|
|
1360
1370
|
# Corresponds to the JSON property `neighborhoodSummary`
|
|
1361
1371
|
# @return [Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceNeighborhoodSummary]
|
|
@@ -1653,6 +1663,7 @@ module Google
|
|
|
1653
1663
|
@dine_in = args[:dine_in] if args.key?(:dine_in)
|
|
1654
1664
|
@display_name = args[:display_name] if args.key?(:display_name)
|
|
1655
1665
|
@editorial_summary = args[:editorial_summary] if args.key?(:editorial_summary)
|
|
1666
|
+
@entrances = args[:entrances] if args.key?(:entrances)
|
|
1656
1667
|
@ev_charge_amenity_summary = args[:ev_charge_amenity_summary] if args.key?(:ev_charge_amenity_summary)
|
|
1657
1668
|
@ev_charge_options = args[:ev_charge_options] if args.key?(:ev_charge_options)
|
|
1658
1669
|
@formatted_address = args[:formatted_address] if args.key?(:formatted_address)
|
|
@@ -1675,6 +1686,7 @@ module Google
|
|
|
1675
1686
|
@moved_place_id = args[:moved_place_id] if args.key?(:moved_place_id)
|
|
1676
1687
|
@name = args[:name] if args.key?(:name)
|
|
1677
1688
|
@national_phone_number = args[:national_phone_number] if args.key?(:national_phone_number)
|
|
1689
|
+
@navigation_points = args[:navigation_points] if args.key?(:navigation_points)
|
|
1678
1690
|
@neighborhood_summary = args[:neighborhood_summary] if args.key?(:neighborhood_summary)
|
|
1679
1691
|
@opening_date = args[:opening_date] if args.key?(:opening_date)
|
|
1680
1692
|
@outdoor_seating = args[:outdoor_seating] if args.key?(:outdoor_seating)
|
|
@@ -1940,6 +1952,35 @@ module Google
|
|
|
1940
1952
|
end
|
|
1941
1953
|
end
|
|
1942
1954
|
|
|
1955
|
+
# An entrance is a single latitude/longitude coordinate pair that defines the
|
|
1956
|
+
# location of an entry and exit point for a place.
|
|
1957
|
+
class GoogleMapsPlacesV1PlaceEntrance
|
|
1958
|
+
include Google::Apis::Core::Hashable
|
|
1959
|
+
|
|
1960
|
+
# An object that represents a latitude/longitude pair. This is expressed as a
|
|
1961
|
+
# pair of doubles to represent degrees latitude and degrees longitude. Unless
|
|
1962
|
+
# specified otherwise, this object must conform to the WGS84 standard. Values
|
|
1963
|
+
# must be within normalized ranges.
|
|
1964
|
+
# Corresponds to the JSON property `location`
|
|
1965
|
+
# @return [Google::Apis::PlacesV1::GoogleTypeLatLng]
|
|
1966
|
+
attr_accessor :location
|
|
1967
|
+
|
|
1968
|
+
# A list of tags that describe the entrance.
|
|
1969
|
+
# Corresponds to the JSON property `tags`
|
|
1970
|
+
# @return [Array<String>]
|
|
1971
|
+
attr_accessor :tags
|
|
1972
|
+
|
|
1973
|
+
def initialize(**args)
|
|
1974
|
+
update!(**args)
|
|
1975
|
+
end
|
|
1976
|
+
|
|
1977
|
+
# Update properties of this object
|
|
1978
|
+
def update!(**args)
|
|
1979
|
+
@location = args[:location] if args.key?(:location)
|
|
1980
|
+
@tags = args[:tags] if args.key?(:tags)
|
|
1981
|
+
end
|
|
1982
|
+
end
|
|
1983
|
+
|
|
1943
1984
|
# The summary of amenities near the EV charging station. This only applies to
|
|
1944
1985
|
# places with type `electric_vehicle_charging_station`. The `overview` field is
|
|
1945
1986
|
# guaranteed to be provided while the other fields are optional.
|
|
@@ -2066,6 +2107,54 @@ module Google
|
|
|
2066
2107
|
end
|
|
2067
2108
|
end
|
|
2068
2109
|
|
|
2110
|
+
# A navigation point is a location next to a road where navigation can end.
|
|
2111
|
+
class GoogleMapsPlacesV1PlaceNavigationPoint
|
|
2112
|
+
include Google::Apis::Core::Hashable
|
|
2113
|
+
|
|
2114
|
+
# Localized variant of a text in a particular language.
|
|
2115
|
+
# Corresponds to the JSON property `displayName`
|
|
2116
|
+
# @return [Google::Apis::PlacesV1::GoogleTypeLocalizedText]
|
|
2117
|
+
attr_accessor :display_name
|
|
2118
|
+
|
|
2119
|
+
# An object that represents a latitude/longitude pair. This is expressed as a
|
|
2120
|
+
# pair of doubles to represent degrees latitude and degrees longitude. Unless
|
|
2121
|
+
# specified otherwise, this object must conform to the WGS84 standard. Values
|
|
2122
|
+
# must be within normalized ranges.
|
|
2123
|
+
# Corresponds to the JSON property `location`
|
|
2124
|
+
# @return [Google::Apis::PlacesV1::GoogleTypeLatLng]
|
|
2125
|
+
attr_accessor :location
|
|
2126
|
+
|
|
2127
|
+
# A token that can be used to identify this navigation point.
|
|
2128
|
+
# Corresponds to the JSON property `navigationPointToken`
|
|
2129
|
+
# @return [String]
|
|
2130
|
+
attr_accessor :navigation_point_token
|
|
2131
|
+
|
|
2132
|
+
# Travel modes that are appropriate for this navigation point.
|
|
2133
|
+
# Corresponds to the JSON property `travelModes`
|
|
2134
|
+
# @return [Array<String>]
|
|
2135
|
+
attr_accessor :travel_modes
|
|
2136
|
+
|
|
2137
|
+
# Lists `usages` supported by this navigation point. If empty, it does not
|
|
2138
|
+
# necessarily mean its usage is restricted in any way. All navigation points can
|
|
2139
|
+
# be used for general navigation.
|
|
2140
|
+
# Corresponds to the JSON property `usages`
|
|
2141
|
+
# @return [Array<String>]
|
|
2142
|
+
attr_accessor :usages
|
|
2143
|
+
|
|
2144
|
+
def initialize(**args)
|
|
2145
|
+
update!(**args)
|
|
2146
|
+
end
|
|
2147
|
+
|
|
2148
|
+
# Update properties of this object
|
|
2149
|
+
def update!(**args)
|
|
2150
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
2151
|
+
@location = args[:location] if args.key?(:location)
|
|
2152
|
+
@navigation_point_token = args[:navigation_point_token] if args.key?(:navigation_point_token)
|
|
2153
|
+
@travel_modes = args[:travel_modes] if args.key?(:travel_modes)
|
|
2154
|
+
@usages = args[:usages] if args.key?(:usages)
|
|
2155
|
+
end
|
|
2156
|
+
end
|
|
2157
|
+
|
|
2069
2158
|
# A summary of points of interest near the place.
|
|
2070
2159
|
class GoogleMapsPlacesV1PlaceNeighborhoodSummary
|
|
2071
2160
|
include Google::Apis::Core::Hashable
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module PlacesV1
|
|
18
18
|
# Version of the google-apis-places_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.47.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.19.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260729"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -244,6 +244,12 @@ module Google
|
|
|
244
244
|
include Google::Apis::Core::JsonObjectSupport
|
|
245
245
|
end
|
|
246
246
|
|
|
247
|
+
class GoogleMapsPlacesV1PlaceEntrance
|
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
249
|
+
|
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
251
|
+
end
|
|
252
|
+
|
|
247
253
|
class GoogleMapsPlacesV1PlaceEvChargeAmenitySummary
|
|
248
254
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
249
255
|
|
|
@@ -262,6 +268,12 @@ module Google
|
|
|
262
268
|
include Google::Apis::Core::JsonObjectSupport
|
|
263
269
|
end
|
|
264
270
|
|
|
271
|
+
class GoogleMapsPlacesV1PlaceNavigationPoint
|
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
273
|
+
|
|
274
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
275
|
+
end
|
|
276
|
+
|
|
265
277
|
class GoogleMapsPlacesV1PlaceNeighborhoodSummary
|
|
266
278
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
267
279
|
|
|
@@ -814,6 +826,8 @@ module Google
|
|
|
814
826
|
|
|
815
827
|
property :editorial_summary, as: 'editorialSummary', class: Google::Apis::PlacesV1::GoogleTypeLocalizedText, decorator: Google::Apis::PlacesV1::GoogleTypeLocalizedText::Representation
|
|
816
828
|
|
|
829
|
+
collection :entrances, as: 'entrances', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceEntrance, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceEntrance::Representation
|
|
830
|
+
|
|
817
831
|
property :ev_charge_amenity_summary, as: 'evChargeAmenitySummary', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceEvChargeAmenitySummary, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceEvChargeAmenitySummary::Representation
|
|
818
832
|
|
|
819
833
|
property :ev_charge_options, as: 'evChargeOptions', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1EvChargeOptions, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1EvChargeOptions::Representation
|
|
@@ -843,6 +857,8 @@ module Google
|
|
|
843
857
|
property :moved_place_id, as: 'movedPlaceId'
|
|
844
858
|
property :name, as: 'name'
|
|
845
859
|
property :national_phone_number, as: 'nationalPhoneNumber'
|
|
860
|
+
collection :navigation_points, as: 'navigationPoints', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceNavigationPoint, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceNavigationPoint::Representation
|
|
861
|
+
|
|
846
862
|
property :neighborhood_summary, as: 'neighborhoodSummary', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceNeighborhoodSummary, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceNeighborhoodSummary::Representation
|
|
847
863
|
|
|
848
864
|
property :opening_date, as: 'openingDate', class: Google::Apis::PlacesV1::GoogleTypeDate, decorator: Google::Apis::PlacesV1::GoogleTypeDate::Representation
|
|
@@ -967,6 +983,15 @@ module Google
|
|
|
967
983
|
end
|
|
968
984
|
end
|
|
969
985
|
|
|
986
|
+
class GoogleMapsPlacesV1PlaceEntrance
|
|
987
|
+
# @private
|
|
988
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
989
|
+
property :location, as: 'location', class: Google::Apis::PlacesV1::GoogleTypeLatLng, decorator: Google::Apis::PlacesV1::GoogleTypeLatLng::Representation
|
|
990
|
+
|
|
991
|
+
collection :tags, as: 'tags'
|
|
992
|
+
end
|
|
993
|
+
end
|
|
994
|
+
|
|
970
995
|
class GoogleMapsPlacesV1PlaceEvChargeAmenitySummary
|
|
971
996
|
# @private
|
|
972
997
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1006,6 +1031,19 @@ module Google
|
|
|
1006
1031
|
end
|
|
1007
1032
|
end
|
|
1008
1033
|
|
|
1034
|
+
class GoogleMapsPlacesV1PlaceNavigationPoint
|
|
1035
|
+
# @private
|
|
1036
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1037
|
+
property :display_name, as: 'displayName', class: Google::Apis::PlacesV1::GoogleTypeLocalizedText, decorator: Google::Apis::PlacesV1::GoogleTypeLocalizedText::Representation
|
|
1038
|
+
|
|
1039
|
+
property :location, as: 'location', class: Google::Apis::PlacesV1::GoogleTypeLatLng, decorator: Google::Apis::PlacesV1::GoogleTypeLatLng::Representation
|
|
1040
|
+
|
|
1041
|
+
property :navigation_point_token, as: 'navigationPointToken'
|
|
1042
|
+
collection :travel_modes, as: 'travelModes'
|
|
1043
|
+
collection :usages, as: 'usages'
|
|
1044
|
+
end
|
|
1045
|
+
end
|
|
1046
|
+
|
|
1009
1047
|
class GoogleMapsPlacesV1PlaceNeighborhoodSummary
|
|
1010
1048
|
# @private
|
|
1011
1049
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-places_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.47.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-places_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-places_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-places_v1/v0.47.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-places_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|