google-apis-places_v1 0.46.0 → 0.48.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: b0ba792628620f98a2c1642b44c83409e712b097ec1ccc55412897536c6870d0
|
|
4
|
+
data.tar.gz: c3e933e43316e468c2ef90cbe20da4dd84dd5a3ed45c9f725ce22559073802f6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f94ae7c73371cb3b8dd953eee8c6bb278d790078412cdc0ffc588d1457910509c650bc71e4520ae55203452b2deea47b586bfc0d3734940b88c16caf0f643b61
|
|
7
|
+
data.tar.gz: bc3ff14b265cbffd6c0917d2f868fc041c177cf810bdc6757a9583fbd9093c3a2a9375f0b69905b61512f9df1fd62b8f63ab9352909c07e73b54139887065f6e
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Release history for google-apis-places_v1
|
|
2
2
|
|
|
3
|
+
### v0.48.0 (2026-11-01)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20261027
|
|
6
|
+
* Regenerated using generator version 0.19.1
|
|
7
|
+
|
|
8
|
+
### v0.47.0 (2026-08-02)
|
|
9
|
+
|
|
10
|
+
* Regenerated from discovery document revision 20260729
|
|
11
|
+
|
|
3
12
|
### v0.46.0 (2026-06-14)
|
|
4
13
|
|
|
5
14
|
* Regenerated from discovery document revision 20260601
|
|
@@ -261,11 +261,11 @@ module Google
|
|
|
261
261
|
alias_method :include_query_predictions?, :include_query_predictions
|
|
262
262
|
|
|
263
263
|
# Optional. Included primary Place type (for example, "restaurant" or "
|
|
264
|
-
# gas_station") in Place Types
|
|
265
|
-
# places/web-service/place-types), or only `(regions)`, or only `(
|
|
266
|
-
# Place is only returned if its primary type is included in this
|
|
267
|
-
# values can be specified. If no types are specified, all Place
|
|
268
|
-
# returned.
|
|
264
|
+
# gas_station") in [Place Types](https://developers.google.com/maps/
|
|
265
|
+
# documentation/places/web-service/place-types), or only `(regions)`, or only `(
|
|
266
|
+
# cities)`. A Place is only returned if its primary type is included in this
|
|
267
|
+
# list. Up to 5 values can be specified. If no types are specified, all Place
|
|
268
|
+
# types are returned.
|
|
269
269
|
# Corresponds to the JSON property `includedPrimaryTypes`
|
|
270
270
|
# @return [Array<String>]
|
|
271
271
|
attr_accessor :included_primary_types
|
|
@@ -1021,7 +1021,8 @@ module Google
|
|
|
1021
1021
|
# @return [String]
|
|
1022
1022
|
attr_accessor :type
|
|
1023
1023
|
|
|
1024
|
-
# The time the fuel price was last updated.
|
|
1024
|
+
# The time the fuel price was last updated. This represents the time when the
|
|
1025
|
+
# specific fuel price offer was last observed or updated by the data provider.
|
|
1025
1026
|
# Corresponds to the JSON property `updateTime`
|
|
1026
1027
|
# @return [String]
|
|
1027
1028
|
attr_accessor :update_time
|
|
@@ -1224,6 +1225,11 @@ module Google
|
|
|
1224
1225
|
# @return [Google::Apis::PlacesV1::GoogleTypeLocalizedText]
|
|
1225
1226
|
attr_accessor :editorial_summary
|
|
1226
1227
|
|
|
1228
|
+
# Entrances for this destination.
|
|
1229
|
+
# Corresponds to the JSON property `entrances`
|
|
1230
|
+
# @return [Array<Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceEntrance>]
|
|
1231
|
+
attr_accessor :entrances
|
|
1232
|
+
|
|
1227
1233
|
# The summary of amenities near the EV charging station. This only applies to
|
|
1228
1234
|
# places with type `electric_vehicle_charging_station`. The `overview` field is
|
|
1229
1235
|
# guaranteed to be provided while the other fields are optional.
|
|
@@ -1356,6 +1362,11 @@ module Google
|
|
|
1356
1362
|
# @return [String]
|
|
1357
1363
|
attr_accessor :national_phone_number
|
|
1358
1364
|
|
|
1365
|
+
# Navigation points for this destination.
|
|
1366
|
+
# Corresponds to the JSON property `navigationPoints`
|
|
1367
|
+
# @return [Array<Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceNavigationPoint>]
|
|
1368
|
+
attr_accessor :navigation_points
|
|
1369
|
+
|
|
1359
1370
|
# A summary of points of interest near the place.
|
|
1360
1371
|
# Corresponds to the JSON property `neighborhoodSummary`
|
|
1361
1372
|
# @return [Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceNeighborhoodSummary]
|
|
@@ -1653,6 +1664,7 @@ module Google
|
|
|
1653
1664
|
@dine_in = args[:dine_in] if args.key?(:dine_in)
|
|
1654
1665
|
@display_name = args[:display_name] if args.key?(:display_name)
|
|
1655
1666
|
@editorial_summary = args[:editorial_summary] if args.key?(:editorial_summary)
|
|
1667
|
+
@entrances = args[:entrances] if args.key?(:entrances)
|
|
1656
1668
|
@ev_charge_amenity_summary = args[:ev_charge_amenity_summary] if args.key?(:ev_charge_amenity_summary)
|
|
1657
1669
|
@ev_charge_options = args[:ev_charge_options] if args.key?(:ev_charge_options)
|
|
1658
1670
|
@formatted_address = args[:formatted_address] if args.key?(:formatted_address)
|
|
@@ -1675,6 +1687,7 @@ module Google
|
|
|
1675
1687
|
@moved_place_id = args[:moved_place_id] if args.key?(:moved_place_id)
|
|
1676
1688
|
@name = args[:name] if args.key?(:name)
|
|
1677
1689
|
@national_phone_number = args[:national_phone_number] if args.key?(:national_phone_number)
|
|
1690
|
+
@navigation_points = args[:navigation_points] if args.key?(:navigation_points)
|
|
1678
1691
|
@neighborhood_summary = args[:neighborhood_summary] if args.key?(:neighborhood_summary)
|
|
1679
1692
|
@opening_date = args[:opening_date] if args.key?(:opening_date)
|
|
1680
1693
|
@outdoor_seating = args[:outdoor_seating] if args.key?(:outdoor_seating)
|
|
@@ -1940,6 +1953,35 @@ module Google
|
|
|
1940
1953
|
end
|
|
1941
1954
|
end
|
|
1942
1955
|
|
|
1956
|
+
# An entrance is a single latitude/longitude coordinate pair that defines the
|
|
1957
|
+
# location of an entry and exit point for a place.
|
|
1958
|
+
class GoogleMapsPlacesV1PlaceEntrance
|
|
1959
|
+
include Google::Apis::Core::Hashable
|
|
1960
|
+
|
|
1961
|
+
# An object that represents a latitude/longitude pair. This is expressed as a
|
|
1962
|
+
# pair of doubles to represent degrees latitude and degrees longitude. Unless
|
|
1963
|
+
# specified otherwise, this object must conform to the WGS84 standard. Values
|
|
1964
|
+
# must be within normalized ranges.
|
|
1965
|
+
# Corresponds to the JSON property `location`
|
|
1966
|
+
# @return [Google::Apis::PlacesV1::GoogleTypeLatLng]
|
|
1967
|
+
attr_accessor :location
|
|
1968
|
+
|
|
1969
|
+
# A list of tags that describe the entrance.
|
|
1970
|
+
# Corresponds to the JSON property `tags`
|
|
1971
|
+
# @return [Array<String>]
|
|
1972
|
+
attr_accessor :tags
|
|
1973
|
+
|
|
1974
|
+
def initialize(**args)
|
|
1975
|
+
update!(**args)
|
|
1976
|
+
end
|
|
1977
|
+
|
|
1978
|
+
# Update properties of this object
|
|
1979
|
+
def update!(**args)
|
|
1980
|
+
@location = args[:location] if args.key?(:location)
|
|
1981
|
+
@tags = args[:tags] if args.key?(:tags)
|
|
1982
|
+
end
|
|
1983
|
+
end
|
|
1984
|
+
|
|
1943
1985
|
# The summary of amenities near the EV charging station. This only applies to
|
|
1944
1986
|
# places with type `electric_vehicle_charging_station`. The `overview` field is
|
|
1945
1987
|
# guaranteed to be provided while the other fields are optional.
|
|
@@ -2066,6 +2108,54 @@ module Google
|
|
|
2066
2108
|
end
|
|
2067
2109
|
end
|
|
2068
2110
|
|
|
2111
|
+
# A navigation point is a location next to a road where navigation can end.
|
|
2112
|
+
class GoogleMapsPlacesV1PlaceNavigationPoint
|
|
2113
|
+
include Google::Apis::Core::Hashable
|
|
2114
|
+
|
|
2115
|
+
# Localized variant of a text in a particular language.
|
|
2116
|
+
# Corresponds to the JSON property `displayName`
|
|
2117
|
+
# @return [Google::Apis::PlacesV1::GoogleTypeLocalizedText]
|
|
2118
|
+
attr_accessor :display_name
|
|
2119
|
+
|
|
2120
|
+
# An object that represents a latitude/longitude pair. This is expressed as a
|
|
2121
|
+
# pair of doubles to represent degrees latitude and degrees longitude. Unless
|
|
2122
|
+
# specified otherwise, this object must conform to the WGS84 standard. Values
|
|
2123
|
+
# must be within normalized ranges.
|
|
2124
|
+
# Corresponds to the JSON property `location`
|
|
2125
|
+
# @return [Google::Apis::PlacesV1::GoogleTypeLatLng]
|
|
2126
|
+
attr_accessor :location
|
|
2127
|
+
|
|
2128
|
+
# A token that can be used to identify this navigation point.
|
|
2129
|
+
# Corresponds to the JSON property `navigationPointToken`
|
|
2130
|
+
# @return [String]
|
|
2131
|
+
attr_accessor :navigation_point_token
|
|
2132
|
+
|
|
2133
|
+
# Travel modes that are appropriate for this navigation point.
|
|
2134
|
+
# Corresponds to the JSON property `travelModes`
|
|
2135
|
+
# @return [Array<String>]
|
|
2136
|
+
attr_accessor :travel_modes
|
|
2137
|
+
|
|
2138
|
+
# Lists `usages` supported by this navigation point. If empty, it does not
|
|
2139
|
+
# necessarily mean its usage is restricted in any way. All navigation points can
|
|
2140
|
+
# be used for general navigation.
|
|
2141
|
+
# Corresponds to the JSON property `usages`
|
|
2142
|
+
# @return [Array<String>]
|
|
2143
|
+
attr_accessor :usages
|
|
2144
|
+
|
|
2145
|
+
def initialize(**args)
|
|
2146
|
+
update!(**args)
|
|
2147
|
+
end
|
|
2148
|
+
|
|
2149
|
+
# Update properties of this object
|
|
2150
|
+
def update!(**args)
|
|
2151
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
2152
|
+
@location = args[:location] if args.key?(:location)
|
|
2153
|
+
@navigation_point_token = args[:navigation_point_token] if args.key?(:navigation_point_token)
|
|
2154
|
+
@travel_modes = args[:travel_modes] if args.key?(:travel_modes)
|
|
2155
|
+
@usages = args[:usages] if args.key?(:usages)
|
|
2156
|
+
end
|
|
2157
|
+
end
|
|
2158
|
+
|
|
2069
2159
|
# A summary of points of interest near the place.
|
|
2070
2160
|
class GoogleMapsPlacesV1PlaceNeighborhoodSummary
|
|
2071
2161
|
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.48.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
|
-
GENERATOR_VERSION = "0.19.
|
|
22
|
+
GENERATOR_VERSION = "0.19.1"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20261027"
|
|
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.48.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.48.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:
|