google-apis-places_v1 0.33.0 → 0.35.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: 451bad0d55e9478b89aeb6cfc15ede4515b4ac73fc6833a795fcc444b659ae57
4
- data.tar.gz: 992c2e06bf13930fdfe22e83b43d465ff3ef9523c18162b3318bfae5516f8943
3
+ metadata.gz: f7df6ed6e41e3808e10f4ff1f8578152e1c1e668aebe82fc829dfe5a0d687339
4
+ data.tar.gz: cf4ab96f79cf668bee3e2edef548f854526eb2ac907921fa217e9e922b780b1b
5
5
  SHA512:
6
- metadata.gz: e71048f4bdba05926fcf54ffd79b8216aeedd2f177fce95fc78298e06cf027bec8929f299d9ddbfa7a7ad7aea1281d6b5dc6b631933ad9d21b2aaf07ef5be85e
7
- data.tar.gz: 3cb991c5ae08d51a0ef2b0e578eebfddee15ad317dbea9230a4f0c9207dbc6e6547239c77451b2b1cdb42b99e3f91aaf01031bafc00a4e9b557f2c082b51afe4
6
+ metadata.gz: bb42f558fce2df971f60c4d4cabf5fdc083a3f1ea900a315d625674f85ee3938804792075a5cc2b5f6fdfc11612310cfcf55513ae431be9ae9ba4e0e684dad81
7
+ data.tar.gz: ea91105f75ac4e36852e02fcd6bfc5bff6fd04293483bafe0b29e6ad508835cbcb4da5f2d55b8a122bb3e6f5df74adc57e0c63ff49481995d2ffec02387c86d7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-places_v1
2
2
 
3
+ ### v0.35.0 (2025-05-18)
4
+
5
+ * Regenerated from discovery document revision 20250506
6
+ * Regenerated using generator version 0.17.0
7
+
8
+ ### v0.34.0 (2025-04-20)
9
+
10
+ * Regenerated from discovery document revision 20250414
11
+
3
12
  ### v0.33.0 (2025-03-23)
4
13
 
5
14
  * Regenerated from discovery document revision 20250318
data/OVERVIEW.md CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://mapsplatform.google.com/maps-products/#place
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.7+.
86
+ This library is supported on Ruby 3.1+.
87
87
 
88
88
  Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
@@ -699,17 +699,11 @@ module Google
699
699
  # @return [Google::Apis::PlacesV1::GoogleTypeLocalizedText]
700
700
  attr_accessor :content
701
701
 
702
- # Experimental: See https://developers.google.com/maps/documentation/places/web-
703
- # service/experimental/places-generative for more details. Reference that the
704
- # generative content is related to.
705
- # Corresponds to the JSON property `references`
706
- # @return [Google::Apis::PlacesV1::GoogleMapsPlacesV1References]
707
- attr_accessor :references
708
-
709
- # The topic of the content, for example "overview" or "restaurant".
710
- # Corresponds to the JSON property `topic`
711
- # @return [String]
712
- attr_accessor :topic
702
+ # The list of resource names of the referenced places. This name can be used in
703
+ # other APIs that accept Place resource names.
704
+ # Corresponds to the JSON property `referencedPlaces`
705
+ # @return [Array<String>]
706
+ attr_accessor :referenced_places
713
707
 
714
708
  def initialize(**args)
715
709
  update!(**args)
@@ -718,8 +712,7 @@ module Google
718
712
  # Update properties of this object
719
713
  def update!(**args)
720
714
  @content = args[:content] if args.key?(:content)
721
- @references = args[:references] if args.key?(:references)
722
- @topic = args[:topic] if args.key?(:topic)
715
+ @referenced_places = args[:referenced_places] if args.key?(:referenced_places)
723
716
  end
724
717
  end
725
718
 
@@ -1169,13 +1162,6 @@ module Google
1169
1162
  attr_accessor :allows_dogs
1170
1163
  alias_method :allows_dogs?, :allows_dogs
1171
1164
 
1172
- # Experimental: See https://developers.google.com/maps/documentation/places/web-
1173
- # service/experimental/places-generative for more details. AI-generated summary
1174
- # of the area that the place is in.
1175
- # Corresponds to the JSON property `areaSummary`
1176
- # @return [Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceAreaSummary]
1177
- attr_accessor :area_summary
1178
-
1179
1165
  # A set of data provider that must be shown with this result.
1180
1166
  # Corresponds to the JSON property `attributions`
1181
1167
  # @return [Array<Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceAttribution>]
@@ -1236,6 +1222,13 @@ module Google
1236
1222
  # @return [Google::Apis::PlacesV1::GoogleTypeLocalizedText]
1237
1223
  attr_accessor :editorial_summary
1238
1224
 
1225
+ # The summary of amenities near the EV charging station. This only applies to
1226
+ # places with type `electric_vehicle_charging_station`. The `overview` field is
1227
+ # guaranteed to be provided while the other fields are optional.
1228
+ # Corresponds to the JSON property `evChargeAmenitySummary`
1229
+ # @return [Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceEvChargeAmenitySummary]
1230
+ attr_accessor :ev_charge_amenity_summary
1231
+
1239
1232
  # Information about the EV Charge Station hosted in Place. Terminology follows
1240
1233
  # https://afdc.energy.gov/fuels/electricity_infrastructure.html One port could
1241
1234
  # charge one car at a time. One port has one or more connectors. One station has
@@ -1255,9 +1248,7 @@ module Google
1255
1248
  # @return [Google::Apis::PlacesV1::GoogleMapsPlacesV1FuelOptions]
1256
1249
  attr_accessor :fuel_options
1257
1250
 
1258
- # Experimental: See https://developers.google.com/maps/documentation/places/web-
1259
- # service/experimental/places-generative for more details. AI-generated summary
1260
- # of the place.
1251
+ # AI-generated summary of the place.
1261
1252
  # Corresponds to the JSON property `generativeSummary`
1262
1253
  # @return [Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceGenerativeSummary]
1263
1254
  attr_accessor :generative_summary
@@ -1342,6 +1333,11 @@ module Google
1342
1333
  # @return [String]
1343
1334
  attr_accessor :national_phone_number
1344
1335
 
1336
+ # A summary of points of interest near the place.
1337
+ # Corresponds to the JSON property `neighborhoodSummary`
1338
+ # @return [Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceNeighborhoodSummary]
1339
+ attr_accessor :neighborhood_summary
1340
+
1345
1341
  # Place provides outdoor seating.
1346
1342
  # Corresponds to the JSON property `outdoorSeating`
1347
1343
  # @return [Boolean]
@@ -1453,6 +1449,11 @@ module Google
1453
1449
  attr_accessor :restroom
1454
1450
  alias_method :restroom?, :restroom
1455
1451
 
1452
+ # AI-generated summary of the place using user reviews.
1453
+ # Corresponds to the JSON property `reviewSummary`
1454
+ # @return [Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceReviewSummary]
1455
+ attr_accessor :review_summary
1456
+
1456
1457
  # List of reviews about this place, sorted by relevance. A maximum of 5 reviews
1457
1458
  # can be returned.
1458
1459
  # Corresponds to the JSON property `reviews`
@@ -1598,7 +1599,6 @@ module Google
1598
1599
  @address_descriptor = args[:address_descriptor] if args.key?(:address_descriptor)
1599
1600
  @adr_format_address = args[:adr_format_address] if args.key?(:adr_format_address)
1600
1601
  @allows_dogs = args[:allows_dogs] if args.key?(:allows_dogs)
1601
- @area_summary = args[:area_summary] if args.key?(:area_summary)
1602
1602
  @attributions = args[:attributions] if args.key?(:attributions)
1603
1603
  @business_status = args[:business_status] if args.key?(:business_status)
1604
1604
  @containing_places = args[:containing_places] if args.key?(:containing_places)
@@ -1609,6 +1609,7 @@ module Google
1609
1609
  @dine_in = args[:dine_in] if args.key?(:dine_in)
1610
1610
  @display_name = args[:display_name] if args.key?(:display_name)
1611
1611
  @editorial_summary = args[:editorial_summary] if args.key?(:editorial_summary)
1612
+ @ev_charge_amenity_summary = args[:ev_charge_amenity_summary] if args.key?(:ev_charge_amenity_summary)
1612
1613
  @ev_charge_options = args[:ev_charge_options] if args.key?(:ev_charge_options)
1613
1614
  @formatted_address = args[:formatted_address] if args.key?(:formatted_address)
1614
1615
  @fuel_options = args[:fuel_options] if args.key?(:fuel_options)
@@ -1627,6 +1628,7 @@ module Google
1627
1628
  @menu_for_children = args[:menu_for_children] if args.key?(:menu_for_children)
1628
1629
  @name = args[:name] if args.key?(:name)
1629
1630
  @national_phone_number = args[:national_phone_number] if args.key?(:national_phone_number)
1631
+ @neighborhood_summary = args[:neighborhood_summary] if args.key?(:neighborhood_summary)
1630
1632
  @outdoor_seating = args[:outdoor_seating] if args.key?(:outdoor_seating)
1631
1633
  @parking_options = args[:parking_options] if args.key?(:parking_options)
1632
1634
  @payment_options = args[:payment_options] if args.key?(:payment_options)
@@ -1643,6 +1645,7 @@ module Google
1643
1645
  @regular_secondary_opening_hours = args[:regular_secondary_opening_hours] if args.key?(:regular_secondary_opening_hours)
1644
1646
  @reservable = args[:reservable] if args.key?(:reservable)
1645
1647
  @restroom = args[:restroom] if args.key?(:restroom)
1648
+ @review_summary = args[:review_summary] if args.key?(:review_summary)
1646
1649
  @reviews = args[:reviews] if args.key?(:reviews)
1647
1650
  @serves_beer = args[:serves_beer] if args.key?(:serves_beer)
1648
1651
  @serves_breakfast = args[:serves_breakfast] if args.key?(:serves_breakfast)
@@ -1749,34 +1752,6 @@ module Google
1749
1752
  end
1750
1753
  end
1751
1754
 
1752
- # Experimental: See https://developers.google.com/maps/documentation/places/web-
1753
- # service/experimental/places-generative for more details. AI-generated summary
1754
- # of the area that the place is in.
1755
- class GoogleMapsPlacesV1PlaceAreaSummary
1756
- include Google::Apis::Core::Hashable
1757
-
1758
- # Content blocks that compose the area summary. Each block has a separate topic
1759
- # about the area.
1760
- # Corresponds to the JSON property `contentBlocks`
1761
- # @return [Array<Google::Apis::PlacesV1::GoogleMapsPlacesV1ContentBlock>]
1762
- attr_accessor :content_blocks
1763
-
1764
- # A link where users can flag a problem with the summary.
1765
- # Corresponds to the JSON property `flagContentUri`
1766
- # @return [String]
1767
- attr_accessor :flag_content_uri
1768
-
1769
- def initialize(**args)
1770
- update!(**args)
1771
- end
1772
-
1773
- # Update properties of this object
1774
- def update!(**args)
1775
- @content_blocks = args[:content_blocks] if args.key?(:content_blocks)
1776
- @flag_content_uri = args[:flag_content_uri] if args.key?(:flag_content_uri)
1777
- end
1778
- end
1779
-
1780
1755
  # Information about data providers of this place.
1781
1756
  class GoogleMapsPlacesV1PlaceAttribution
1782
1757
  include Google::Apis::Core::Hashable
@@ -1827,21 +1802,65 @@ module Google
1827
1802
  end
1828
1803
  end
1829
1804
 
1830
- # Experimental: See https://developers.google.com/maps/documentation/places/web-
1831
- # service/experimental/places-generative for more details. AI-generated summary
1832
- # of the place.
1833
- class GoogleMapsPlacesV1PlaceGenerativeSummary
1805
+ # The summary of amenities near the EV charging station. This only applies to
1806
+ # places with type `electric_vehicle_charging_station`. The `overview` field is
1807
+ # guaranteed to be provided while the other fields are optional.
1808
+ class GoogleMapsPlacesV1PlaceEvChargeAmenitySummary
1834
1809
  include Google::Apis::Core::Hashable
1835
1810
 
1811
+ # A block of content that can be served individually.
1812
+ # Corresponds to the JSON property `coffee`
1813
+ # @return [Google::Apis::PlacesV1::GoogleMapsPlacesV1ContentBlock]
1814
+ attr_accessor :coffee
1815
+
1836
1816
  # Localized variant of a text in a particular language.
1837
- # Corresponds to the JSON property `description`
1817
+ # Corresponds to the JSON property `disclosureText`
1838
1818
  # @return [Google::Apis::PlacesV1::GoogleTypeLocalizedText]
1839
- attr_accessor :description
1819
+ attr_accessor :disclosure_text
1840
1820
 
1841
- # A link where users can flag a problem with the description summary.
1842
- # Corresponds to the JSON property `descriptionFlagContentUri`
1821
+ # A link where users can flag a problem with the summary.
1822
+ # Corresponds to the JSON property `flagContentUri`
1843
1823
  # @return [String]
1844
- attr_accessor :description_flag_content_uri
1824
+ attr_accessor :flag_content_uri
1825
+
1826
+ # A block of content that can be served individually.
1827
+ # Corresponds to the JSON property `overview`
1828
+ # @return [Google::Apis::PlacesV1::GoogleMapsPlacesV1ContentBlock]
1829
+ attr_accessor :overview
1830
+
1831
+ # A block of content that can be served individually.
1832
+ # Corresponds to the JSON property `restaurant`
1833
+ # @return [Google::Apis::PlacesV1::GoogleMapsPlacesV1ContentBlock]
1834
+ attr_accessor :restaurant
1835
+
1836
+ # A block of content that can be served individually.
1837
+ # Corresponds to the JSON property `store`
1838
+ # @return [Google::Apis::PlacesV1::GoogleMapsPlacesV1ContentBlock]
1839
+ attr_accessor :store
1840
+
1841
+ def initialize(**args)
1842
+ update!(**args)
1843
+ end
1844
+
1845
+ # Update properties of this object
1846
+ def update!(**args)
1847
+ @coffee = args[:coffee] if args.key?(:coffee)
1848
+ @disclosure_text = args[:disclosure_text] if args.key?(:disclosure_text)
1849
+ @flag_content_uri = args[:flag_content_uri] if args.key?(:flag_content_uri)
1850
+ @overview = args[:overview] if args.key?(:overview)
1851
+ @restaurant = args[:restaurant] if args.key?(:restaurant)
1852
+ @store = args[:store] if args.key?(:store)
1853
+ end
1854
+ end
1855
+
1856
+ # AI-generated summary of the place.
1857
+ class GoogleMapsPlacesV1PlaceGenerativeSummary
1858
+ include Google::Apis::Core::Hashable
1859
+
1860
+ # Localized variant of a text in a particular language.
1861
+ # Corresponds to the JSON property `disclosureText`
1862
+ # @return [Google::Apis::PlacesV1::GoogleTypeLocalizedText]
1863
+ attr_accessor :disclosure_text
1845
1864
 
1846
1865
  # Localized variant of a text in a particular language.
1847
1866
  # Corresponds to the JSON property `overview`
@@ -1853,24 +1872,15 @@ module Google
1853
1872
  # @return [String]
1854
1873
  attr_accessor :overview_flag_content_uri
1855
1874
 
1856
- # Experimental: See https://developers.google.com/maps/documentation/places/web-
1857
- # service/experimental/places-generative for more details. Reference that the
1858
- # generative content is related to.
1859
- # Corresponds to the JSON property `references`
1860
- # @return [Google::Apis::PlacesV1::GoogleMapsPlacesV1References]
1861
- attr_accessor :references
1862
-
1863
1875
  def initialize(**args)
1864
1876
  update!(**args)
1865
1877
  end
1866
1878
 
1867
1879
  # Update properties of this object
1868
1880
  def update!(**args)
1869
- @description = args[:description] if args.key?(:description)
1870
- @description_flag_content_uri = args[:description_flag_content_uri] if args.key?(:description_flag_content_uri)
1881
+ @disclosure_text = args[:disclosure_text] if args.key?(:disclosure_text)
1871
1882
  @overview = args[:overview] if args.key?(:overview)
1872
1883
  @overview_flag_content_uri = args[:overview_flag_content_uri] if args.key?(:overview_flag_content_uri)
1873
- @references = args[:references] if args.key?(:references)
1874
1884
  end
1875
1885
  end
1876
1886
 
@@ -1884,8 +1894,7 @@ module Google
1884
1894
  # @return [String]
1885
1895
  attr_accessor :directions_uri
1886
1896
 
1887
- # A link to show photos of this place. This link is currently not supported on
1888
- # Google Maps Mobile and only works on the web version of Google Maps.
1897
+ # A link to show reviews of this place on Google Maps.
1889
1898
  # Corresponds to the JSON property `photosUri`
1890
1899
  # @return [String]
1891
1900
  attr_accessor :photos_uri
@@ -1895,14 +1904,12 @@ module Google
1895
1904
  # @return [String]
1896
1905
  attr_accessor :place_uri
1897
1906
 
1898
- # A link to show reviews of this place. This link is currently not supported on
1899
- # Google Maps Mobile and only works on the web version of Google Maps.
1907
+ # A link to show reviews of this place on Google Maps.
1900
1908
  # Corresponds to the JSON property `reviewsUri`
1901
1909
  # @return [String]
1902
1910
  attr_accessor :reviews_uri
1903
1911
 
1904
- # A link to write a review for this place. This link is currently not supported
1905
- # on Google Maps Mobile and only works on the web version of Google Maps.
1912
+ # A link to write a review for this place on Google Maps.
1906
1913
  # Corresponds to the JSON property `writeAReviewUri`
1907
1914
  # @return [String]
1908
1915
  attr_accessor :write_a_review_uri
@@ -1921,6 +1928,43 @@ module Google
1921
1928
  end
1922
1929
  end
1923
1930
 
1931
+ # A summary of points of interest near the place.
1932
+ class GoogleMapsPlacesV1PlaceNeighborhoodSummary
1933
+ include Google::Apis::Core::Hashable
1934
+
1935
+ # A block of content that can be served individually.
1936
+ # Corresponds to the JSON property `description`
1937
+ # @return [Google::Apis::PlacesV1::GoogleMapsPlacesV1ContentBlock]
1938
+ attr_accessor :description
1939
+
1940
+ # Localized variant of a text in a particular language.
1941
+ # Corresponds to the JSON property `disclosureText`
1942
+ # @return [Google::Apis::PlacesV1::GoogleTypeLocalizedText]
1943
+ attr_accessor :disclosure_text
1944
+
1945
+ # A link where users can flag a problem with the summary.
1946
+ # Corresponds to the JSON property `flagContentUri`
1947
+ # @return [String]
1948
+ attr_accessor :flag_content_uri
1949
+
1950
+ # A block of content that can be served individually.
1951
+ # Corresponds to the JSON property `overview`
1952
+ # @return [Google::Apis::PlacesV1::GoogleMapsPlacesV1ContentBlock]
1953
+ attr_accessor :overview
1954
+
1955
+ def initialize(**args)
1956
+ update!(**args)
1957
+ end
1958
+
1959
+ # Update properties of this object
1960
+ def update!(**args)
1961
+ @description = args[:description] if args.key?(:description)
1962
+ @disclosure_text = args[:disclosure_text] if args.key?(:disclosure_text)
1963
+ @flag_content_uri = args[:flag_content_uri] if args.key?(:flag_content_uri)
1964
+ @overview = args[:overview] if args.key?(:overview)
1965
+ end
1966
+ end
1967
+
1924
1968
  # Information about business hour of the place.
1925
1969
  class GoogleMapsPlacesV1PlaceOpeningHours
1926
1970
  include Google::Apis::Core::Hashable
@@ -2235,6 +2279,43 @@ module Google
2235
2279
  end
2236
2280
  end
2237
2281
 
2282
+ # AI-generated summary of the place using user reviews.
2283
+ class GoogleMapsPlacesV1PlaceReviewSummary
2284
+ include Google::Apis::Core::Hashable
2285
+
2286
+ # Localized variant of a text in a particular language.
2287
+ # Corresponds to the JSON property `disclosureText`
2288
+ # @return [Google::Apis::PlacesV1::GoogleTypeLocalizedText]
2289
+ attr_accessor :disclosure_text
2290
+
2291
+ # A link where users can flag a problem with the summary.
2292
+ # Corresponds to the JSON property `flagContentUri`
2293
+ # @return [String]
2294
+ attr_accessor :flag_content_uri
2295
+
2296
+ # A link to show reviews of this place on Google Maps.
2297
+ # Corresponds to the JSON property `reviewsUri`
2298
+ # @return [String]
2299
+ attr_accessor :reviews_uri
2300
+
2301
+ # Localized variant of a text in a particular language.
2302
+ # Corresponds to the JSON property `text`
2303
+ # @return [Google::Apis::PlacesV1::GoogleTypeLocalizedText]
2304
+ attr_accessor :text
2305
+
2306
+ def initialize(**args)
2307
+ update!(**args)
2308
+ end
2309
+
2310
+ # Update properties of this object
2311
+ def update!(**args)
2312
+ @disclosure_text = args[:disclosure_text] if args.key?(:disclosure_text)
2313
+ @flag_content_uri = args[:flag_content_uri] if args.key?(:flag_content_uri)
2314
+ @reviews_uri = args[:reviews_uri] if args.key?(:reviews_uri)
2315
+ @text = args[:text] if args.key?(:text)
2316
+ end
2317
+ end
2318
+
2238
2319
  # Sub-destinations are specific places associated with a main place. These
2239
2320
  # provide more specific destinations for users who are searching within a large
2240
2321
  # or complex place, like an airport, national park, university, or stadium. For
@@ -2319,34 +2400,6 @@ module Google
2319
2400
  end
2320
2401
  end
2321
2402
 
2322
- # Experimental: See https://developers.google.com/maps/documentation/places/web-
2323
- # service/experimental/places-generative for more details. Reference that the
2324
- # generative content is related to.
2325
- class GoogleMapsPlacesV1References
2326
- include Google::Apis::Core::Hashable
2327
-
2328
- # The list of resource names of the referenced places. This name can be used in
2329
- # other APIs that accept Place resource names.
2330
- # Corresponds to the JSON property `places`
2331
- # @return [Array<String>]
2332
- attr_accessor :places
2333
-
2334
- # Reviews that serve as references.
2335
- # Corresponds to the JSON property `reviews`
2336
- # @return [Array<Google::Apis::PlacesV1::GoogleMapsPlacesV1Review>]
2337
- attr_accessor :reviews
2338
-
2339
- def initialize(**args)
2340
- update!(**args)
2341
- end
2342
-
2343
- # Update properties of this object
2344
- def update!(**args)
2345
- @places = args[:places] if args.key?(:places)
2346
- @reviews = args[:reviews] if args.key?(:reviews)
2347
- end
2348
- end
2349
-
2350
2403
  # Information about a review of a place.
2351
2404
  class GoogleMapsPlacesV1Review
2352
2405
  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.33.0"
19
+ GEM_VERSION = "0.35.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.16.0"
22
+ GENERATOR_VERSION = "0.17.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250318"
25
+ REVISION = "20250506"
26
26
  end
27
27
  end
28
28
  end
@@ -214,19 +214,19 @@ module Google
214
214
  include Google::Apis::Core::JsonObjectSupport
215
215
  end
216
216
 
217
- class GoogleMapsPlacesV1PlaceAreaSummary
217
+ class GoogleMapsPlacesV1PlaceAttribution
218
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
219
 
220
220
  include Google::Apis::Core::JsonObjectSupport
221
221
  end
222
222
 
223
- class GoogleMapsPlacesV1PlaceAttribution
223
+ class GoogleMapsPlacesV1PlaceContainingPlace
224
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
225
 
226
226
  include Google::Apis::Core::JsonObjectSupport
227
227
  end
228
228
 
229
- class GoogleMapsPlacesV1PlaceContainingPlace
229
+ class GoogleMapsPlacesV1PlaceEvChargeAmenitySummary
230
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
231
231
 
232
232
  include Google::Apis::Core::JsonObjectSupport
@@ -244,6 +244,12 @@ module Google
244
244
  include Google::Apis::Core::JsonObjectSupport
245
245
  end
246
246
 
247
+ class GoogleMapsPlacesV1PlaceNeighborhoodSummary
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
247
253
  class GoogleMapsPlacesV1PlaceOpeningHours
248
254
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
255
 
@@ -286,25 +292,25 @@ module Google
286
292
  include Google::Apis::Core::JsonObjectSupport
287
293
  end
288
294
 
289
- class GoogleMapsPlacesV1PlaceSubDestination
295
+ class GoogleMapsPlacesV1PlaceReviewSummary
290
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
291
297
 
292
298
  include Google::Apis::Core::JsonObjectSupport
293
299
  end
294
300
 
295
- class GoogleMapsPlacesV1Polyline
301
+ class GoogleMapsPlacesV1PlaceSubDestination
296
302
  class Representation < Google::Apis::Core::JsonRepresentation; end
297
303
 
298
304
  include Google::Apis::Core::JsonObjectSupport
299
305
  end
300
306
 
301
- class GoogleMapsPlacesV1PriceRange
307
+ class GoogleMapsPlacesV1Polyline
302
308
  class Representation < Google::Apis::Core::JsonRepresentation; end
303
309
 
304
310
  include Google::Apis::Core::JsonObjectSupport
305
311
  end
306
312
 
307
- class GoogleMapsPlacesV1References
313
+ class GoogleMapsPlacesV1PriceRange
308
314
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
315
 
310
316
  include Google::Apis::Core::JsonObjectSupport
@@ -608,9 +614,7 @@ module Google
608
614
  class Representation < Google::Apis::Core::JsonRepresentation
609
615
  property :content, as: 'content', class: Google::Apis::PlacesV1::GoogleTypeLocalizedText, decorator: Google::Apis::PlacesV1::GoogleTypeLocalizedText::Representation
610
616
 
611
- property :references, as: 'references', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1References, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1References::Representation
612
-
613
- property :topic, as: 'topic'
617
+ collection :referenced_places, as: 'referencedPlaces'
614
618
  end
615
619
  end
616
620
 
@@ -743,8 +747,6 @@ module Google
743
747
 
744
748
  property :adr_format_address, as: 'adrFormatAddress'
745
749
  property :allows_dogs, as: 'allowsDogs'
746
- property :area_summary, as: 'areaSummary', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceAreaSummary, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceAreaSummary::Representation
747
-
748
750
  collection :attributions, as: 'attributions', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceAttribution, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceAttribution::Representation
749
751
 
750
752
  property :business_status, as: 'businessStatus'
@@ -761,6 +763,8 @@ module Google
761
763
 
762
764
  property :editorial_summary, as: 'editorialSummary', class: Google::Apis::PlacesV1::GoogleTypeLocalizedText, decorator: Google::Apis::PlacesV1::GoogleTypeLocalizedText::Representation
763
765
 
766
+ property :ev_charge_amenity_summary, as: 'evChargeAmenitySummary', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceEvChargeAmenitySummary, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceEvChargeAmenitySummary::Representation
767
+
764
768
  property :ev_charge_options, as: 'evChargeOptions', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1EvChargeOptions, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1EvChargeOptions::Representation
765
769
 
766
770
  property :formatted_address, as: 'formattedAddress'
@@ -784,6 +788,8 @@ module Google
784
788
  property :menu_for_children, as: 'menuForChildren'
785
789
  property :name, as: 'name'
786
790
  property :national_phone_number, as: 'nationalPhoneNumber'
791
+ property :neighborhood_summary, as: 'neighborhoodSummary', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceNeighborhoodSummary, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceNeighborhoodSummary::Representation
792
+
787
793
  property :outdoor_seating, as: 'outdoorSeating'
788
794
  property :parking_options, as: 'parkingOptions', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceParkingOptions, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceParkingOptions::Representation
789
795
 
@@ -809,6 +815,8 @@ module Google
809
815
 
810
816
  property :reservable, as: 'reservable'
811
817
  property :restroom, as: 'restroom'
818
+ property :review_summary, as: 'reviewSummary', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceReviewSummary, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceReviewSummary::Representation
819
+
812
820
  collection :reviews, as: 'reviews', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1Review, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1Review::Representation
813
821
 
814
822
  property :serves_beer, as: 'servesBeer'
@@ -856,15 +864,6 @@ module Google
856
864
  end
857
865
  end
858
866
 
859
- class GoogleMapsPlacesV1PlaceAreaSummary
860
- # @private
861
- class Representation < Google::Apis::Core::JsonRepresentation
862
- collection :content_blocks, as: 'contentBlocks', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1ContentBlock, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1ContentBlock::Representation
863
-
864
- property :flag_content_uri, as: 'flagContentUri'
865
- end
866
- end
867
-
868
867
  class GoogleMapsPlacesV1PlaceAttribution
869
868
  # @private
870
869
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -881,17 +880,31 @@ module Google
881
880
  end
882
881
  end
883
882
 
883
+ class GoogleMapsPlacesV1PlaceEvChargeAmenitySummary
884
+ # @private
885
+ class Representation < Google::Apis::Core::JsonRepresentation
886
+ property :coffee, as: 'coffee', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1ContentBlock, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1ContentBlock::Representation
887
+
888
+ property :disclosure_text, as: 'disclosureText', class: Google::Apis::PlacesV1::GoogleTypeLocalizedText, decorator: Google::Apis::PlacesV1::GoogleTypeLocalizedText::Representation
889
+
890
+ property :flag_content_uri, as: 'flagContentUri'
891
+ property :overview, as: 'overview', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1ContentBlock, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1ContentBlock::Representation
892
+
893
+ property :restaurant, as: 'restaurant', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1ContentBlock, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1ContentBlock::Representation
894
+
895
+ property :store, as: 'store', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1ContentBlock, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1ContentBlock::Representation
896
+
897
+ end
898
+ end
899
+
884
900
  class GoogleMapsPlacesV1PlaceGenerativeSummary
885
901
  # @private
886
902
  class Representation < Google::Apis::Core::JsonRepresentation
887
- property :description, as: 'description', class: Google::Apis::PlacesV1::GoogleTypeLocalizedText, decorator: Google::Apis::PlacesV1::GoogleTypeLocalizedText::Representation
903
+ property :disclosure_text, as: 'disclosureText', class: Google::Apis::PlacesV1::GoogleTypeLocalizedText, decorator: Google::Apis::PlacesV1::GoogleTypeLocalizedText::Representation
888
904
 
889
- property :description_flag_content_uri, as: 'descriptionFlagContentUri'
890
905
  property :overview, as: 'overview', class: Google::Apis::PlacesV1::GoogleTypeLocalizedText, decorator: Google::Apis::PlacesV1::GoogleTypeLocalizedText::Representation
891
906
 
892
907
  property :overview_flag_content_uri, as: 'overviewFlagContentUri'
893
- property :references, as: 'references', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1References, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1References::Representation
894
-
895
908
  end
896
909
  end
897
910
 
@@ -906,6 +919,19 @@ module Google
906
919
  end
907
920
  end
908
921
 
922
+ class GoogleMapsPlacesV1PlaceNeighborhoodSummary
923
+ # @private
924
+ class Representation < Google::Apis::Core::JsonRepresentation
925
+ property :description, as: 'description', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1ContentBlock, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1ContentBlock::Representation
926
+
927
+ property :disclosure_text, as: 'disclosureText', class: Google::Apis::PlacesV1::GoogleTypeLocalizedText, decorator: Google::Apis::PlacesV1::GoogleTypeLocalizedText::Representation
928
+
929
+ property :flag_content_uri, as: 'flagContentUri'
930
+ property :overview, as: 'overview', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1ContentBlock, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1ContentBlock::Representation
931
+
932
+ end
933
+ end
934
+
909
935
  class GoogleMapsPlacesV1PlaceOpeningHours
910
936
  # @private
911
937
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -982,6 +1008,18 @@ module Google
982
1008
  end
983
1009
  end
984
1010
 
1011
+ class GoogleMapsPlacesV1PlaceReviewSummary
1012
+ # @private
1013
+ class Representation < Google::Apis::Core::JsonRepresentation
1014
+ property :disclosure_text, as: 'disclosureText', class: Google::Apis::PlacesV1::GoogleTypeLocalizedText, decorator: Google::Apis::PlacesV1::GoogleTypeLocalizedText::Representation
1015
+
1016
+ property :flag_content_uri, as: 'flagContentUri'
1017
+ property :reviews_uri, as: 'reviewsUri'
1018
+ property :text, as: 'text', class: Google::Apis::PlacesV1::GoogleTypeLocalizedText, decorator: Google::Apis::PlacesV1::GoogleTypeLocalizedText::Representation
1019
+
1020
+ end
1021
+ end
1022
+
985
1023
  class GoogleMapsPlacesV1PlaceSubDestination
986
1024
  # @private
987
1025
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1007,15 +1045,6 @@ module Google
1007
1045
  end
1008
1046
  end
1009
1047
 
1010
- class GoogleMapsPlacesV1References
1011
- # @private
1012
- class Representation < Google::Apis::Core::JsonRepresentation
1013
- collection :places, as: 'places'
1014
- collection :reviews, as: 'reviews', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1Review, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1Review::Representation
1015
-
1016
- end
1017
- end
1018
-
1019
1048
  class GoogleMapsPlacesV1Review
1020
1049
  # @private
1021
1050
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-places_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.33.0
4
+ version: 0.35.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-23 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -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.33.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-places_v1/v0.35.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:
@@ -66,14 +66,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: '2.7'
69
+ version: '3.1'
70
70
  required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - ">="
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.5
76
+ rubygems_version: 3.6.8
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Places API (New) V1
79
79
  test_files: []