google-apis-places_v1 0.32.0 → 0.34.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: 28bb5e3debc08c98d64cd4f72049a961a953e6fc37c2fd151b4530545e5f751c
4
- data.tar.gz: 63d90169f373ca24f7166a35403ab5f1c5557529d75052399215e68a5fc0305c
3
+ metadata.gz: a040b9bf56fd894ee7047593998d63cee692cace5c1a40d9f49961f9f9d805cf
4
+ data.tar.gz: 84510048c725d32dede85515c7871c7d72f1dc185c59ebc6db9c7bcfa0dc801d
5
5
  SHA512:
6
- metadata.gz: 3c01a3acda73dd7bc1c08d5a7870a12000e427946ebb89d62a4bd78bbc3bb7f71dd70e3661243ecb81f47812dde1f5fc02b7faa53825fb2a4f44df91633d142e
7
- data.tar.gz: 648eb90150ca532bd1dc1e5aeb9c89cd52733a69651417a15376046f60ee4e67743109de7c61cc70dde9b663befbde39cc49cc2af9c93e5893b2ff3ec496275a
6
+ metadata.gz: 8feb3d98d625c24ddc0c584dd23ef8a86f041fc1cbdf74c34b16c53597b8ef7f46ec4f86ee413290034679f62252bf874b6af8523e1c17d53f60a13666863826
7
+ data.tar.gz: d6b1f91cb42bc60a41e53621fe6ceae41546014009d7a166d0f44c7bf751b7fa3d2c224fc269bc2ca5dfa7754964b62c924a594db4f7168380e9f30e54e2c348
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-places_v1
2
2
 
3
+ ### v0.34.0 (2025-04-20)
4
+
5
+ * Regenerated from discovery document revision 20250414
6
+
7
+ ### v0.33.0 (2025-03-23)
8
+
9
+ * Regenerated from discovery document revision 20250318
10
+
3
11
  ### v0.32.0 (2025-03-16)
4
12
 
5
13
  * Regenerated from discovery document revision 20250312
@@ -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]
@@ -1372,16 +1368,16 @@ module Google
1372
1368
  # @return [Google::Apis::PlacesV1::GoogleMapsPlacesV1PlacePlusCode]
1373
1369
  attr_accessor :plus_code
1374
1370
 
1375
- # Represents a postal address. For example for postal delivery or payments
1376
- # addresses. Given a postal address, a postal service can deliver items to a
1377
- # premise, P.O. Box or similar. It is not intended to model geographical
1378
- # locations (roads, towns, mountains). In typical usage an address would be
1371
+ # Represents a postal address (for example, for postal delivery or payments
1372
+ # addresses). Given a postal address, a postal service can deliver items to a
1373
+ # premise, P.O. box or similar. It is not intended to model geographical
1374
+ # locations (roads, towns, mountains). In typical usage, an address would be
1379
1375
  # created by user input or from importing existing data, depending on the type
1380
- # of process. Advice on address input / editing: - Use an internationalization-
1381
- # ready address widget such as https://github.com/google/libaddressinput) -
1376
+ # of process. Advice on address input or editing: - Use an internationalization-
1377
+ # ready address widget such as https://github.com/google/libaddressinput. -
1382
1378
  # Users should not be presented with UI elements for input or editing of fields
1383
1379
  # outside countries where that field is used. For more guidance on how to use
1384
- # this schema, see: https://support.google.com/business/answer/6397478
1380
+ # this schema, see: https://support.google.com/business/answer/6397478.
1385
1381
  # Corresponds to the JSON property `postalAddress`
1386
1382
  # @return [Google::Apis::PlacesV1::GoogleTypePostalAddress]
1387
1383
  attr_accessor :postal_address
@@ -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`
@@ -1524,7 +1525,7 @@ module Google
1524
1525
  # @return [String]
1525
1526
  attr_accessor :short_formatted_address
1526
1527
 
1527
- # A list of sub destinations related to the place.
1528
+ # A list of sub-destinations related to the place.
1528
1529
  # Corresponds to the JSON property `subDestinations`
1529
1530
  # @return [Array<Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceSubDestination>]
1530
1531
  attr_accessor :sub_destinations
@@ -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
 
@@ -1921,6 +1931,43 @@ module Google
1921
1931
  end
1922
1932
  end
1923
1933
 
1934
+ # A summary of points of interest near the place.
1935
+ class GoogleMapsPlacesV1PlaceNeighborhoodSummary
1936
+ include Google::Apis::Core::Hashable
1937
+
1938
+ # A block of content that can be served individually.
1939
+ # Corresponds to the JSON property `description`
1940
+ # @return [Google::Apis::PlacesV1::GoogleMapsPlacesV1ContentBlock]
1941
+ attr_accessor :description
1942
+
1943
+ # Localized variant of a text in a particular language.
1944
+ # Corresponds to the JSON property `disclosureText`
1945
+ # @return [Google::Apis::PlacesV1::GoogleTypeLocalizedText]
1946
+ attr_accessor :disclosure_text
1947
+
1948
+ # A link where users can flag a problem with the summary.
1949
+ # Corresponds to the JSON property `flagContentUri`
1950
+ # @return [String]
1951
+ attr_accessor :flag_content_uri
1952
+
1953
+ # A block of content that can be served individually.
1954
+ # Corresponds to the JSON property `overview`
1955
+ # @return [Google::Apis::PlacesV1::GoogleMapsPlacesV1ContentBlock]
1956
+ attr_accessor :overview
1957
+
1958
+ def initialize(**args)
1959
+ update!(**args)
1960
+ end
1961
+
1962
+ # Update properties of this object
1963
+ def update!(**args)
1964
+ @description = args[:description] if args.key?(:description)
1965
+ @disclosure_text = args[:disclosure_text] if args.key?(:disclosure_text)
1966
+ @flag_content_uri = args[:flag_content_uri] if args.key?(:flag_content_uri)
1967
+ @overview = args[:overview] if args.key?(:overview)
1968
+ end
1969
+ end
1970
+
1924
1971
  # Information about business hour of the place.
1925
1972
  class GoogleMapsPlacesV1PlaceOpeningHours
1926
1973
  include Google::Apis::Core::Hashable
@@ -2235,22 +2282,53 @@ module Google
2235
2282
  end
2236
2283
  end
2237
2284
 
2285
+ # AI-generated summary of the place using user reviews.
2286
+ class GoogleMapsPlacesV1PlaceReviewSummary
2287
+ include Google::Apis::Core::Hashable
2288
+
2289
+ # Localized variant of a text in a particular language.
2290
+ # Corresponds to the JSON property `disclosureText`
2291
+ # @return [Google::Apis::PlacesV1::GoogleTypeLocalizedText]
2292
+ attr_accessor :disclosure_text
2293
+
2294
+ # A link where users can flag a problem with the summary.
2295
+ # Corresponds to the JSON property `flagContentUri`
2296
+ # @return [String]
2297
+ attr_accessor :flag_content_uri
2298
+
2299
+ # Localized variant of a text in a particular language.
2300
+ # Corresponds to the JSON property `text`
2301
+ # @return [Google::Apis::PlacesV1::GoogleTypeLocalizedText]
2302
+ attr_accessor :text
2303
+
2304
+ def initialize(**args)
2305
+ update!(**args)
2306
+ end
2307
+
2308
+ # Update properties of this object
2309
+ def update!(**args)
2310
+ @disclosure_text = args[:disclosure_text] if args.key?(:disclosure_text)
2311
+ @flag_content_uri = args[:flag_content_uri] if args.key?(:flag_content_uri)
2312
+ @text = args[:text] if args.key?(:text)
2313
+ end
2314
+ end
2315
+
2238
2316
  # Sub-destinations are specific places associated with a main place. These
2239
- # provide more specific destinations for users who are searching inside a large
2317
+ # provide more specific destinations for users who are searching within a large
2240
2318
  # or complex place, like an airport, national park, university, or stadium. For
2241
2319
  # example, sub-destinations at an airport might include associated terminals and
2242
2320
  # parking lots. Sub-destinations return the place ID and place resource name,
2243
- # which can be used in subsequent Place Details (new) requests to fetch richer
2321
+ # which can be used in subsequent Place Details (New) requests to fetch richer
2244
2322
  # details, including the sub-destination's display name and location.
2245
2323
  class GoogleMapsPlacesV1PlaceSubDestination
2246
2324
  include Google::Apis::Core::Hashable
2247
2325
 
2248
- # The place id of the sub destination.
2326
+ # The place id of the sub-destination.
2249
2327
  # Corresponds to the JSON property `id`
2250
2328
  # @return [String]
2251
2329
  attr_accessor :id
2252
2330
 
2253
- # The resource name of the sub destination.
2331
+ # The resource name of the sub-destination.
2254
2332
  # Corresponds to the JSON property `name`
2255
2333
  # @return [String]
2256
2334
  attr_accessor :name
@@ -2319,34 +2397,6 @@ module Google
2319
2397
  end
2320
2398
  end
2321
2399
 
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
2400
  # Information about a review of a place.
2351
2401
  class GoogleMapsPlacesV1Review
2352
2402
  include Google::Apis::Core::Hashable
@@ -3257,46 +3307,46 @@ module Google
3257
3307
  end
3258
3308
  end
3259
3309
 
3260
- # Represents a postal address. For example for postal delivery or payments
3261
- # addresses. Given a postal address, a postal service can deliver items to a
3262
- # premise, P.O. Box or similar. It is not intended to model geographical
3263
- # locations (roads, towns, mountains). In typical usage an address would be
3310
+ # Represents a postal address (for example, for postal delivery or payments
3311
+ # addresses). Given a postal address, a postal service can deliver items to a
3312
+ # premise, P.O. box or similar. It is not intended to model geographical
3313
+ # locations (roads, towns, mountains). In typical usage, an address would be
3264
3314
  # created by user input or from importing existing data, depending on the type
3265
- # of process. Advice on address input / editing: - Use an internationalization-
3266
- # ready address widget such as https://github.com/google/libaddressinput) -
3315
+ # of process. Advice on address input or editing: - Use an internationalization-
3316
+ # ready address widget such as https://github.com/google/libaddressinput. -
3267
3317
  # Users should not be presented with UI elements for input or editing of fields
3268
3318
  # outside countries where that field is used. For more guidance on how to use
3269
- # this schema, see: https://support.google.com/business/answer/6397478
3319
+ # this schema, see: https://support.google.com/business/answer/6397478.
3270
3320
  class GoogleTypePostalAddress
3271
3321
  include Google::Apis::Core::Hashable
3272
3322
 
3273
3323
  # Unstructured address lines describing the lower levels of an address. Because
3274
- # values in address_lines do not have type information and may sometimes contain
3275
- # multiple values in a single field (For example "Austin, TX"), it is important
3276
- # that the line order is clear. The order of address lines should be "envelope
3277
- # order" for the country/region of the address. In places where this can vary (
3278
- # For example Japan), address_language is used to make it explicit (For example "
3279
- # ja" for large-to-small ordering and "ja-Latn" or "en" for small-to-large).
3280
- # This way, the most specific line of an address can be selected based on the
3281
- # language. The minimum permitted structural representation of an address
3282
- # consists of a region_code with all remaining information placed in the
3283
- # address_lines. It would be possible to format such an address very
3324
+ # values in `address_lines` do not have type information and may sometimes
3325
+ # contain multiple values in a single field (for example, "Austin, TX"), it is
3326
+ # important that the line order is clear. The order of address lines should be "
3327
+ # envelope order" for the country or region of the address. In places where this
3328
+ # can vary (for example, Japan), `address_language` is used to make it explicit (
3329
+ # for example, "ja" for large-to-small ordering and "ja-Latn" or "en" for small-
3330
+ # to-large). In this way, the most specific line of an address can be selected
3331
+ # based on the language. The minimum permitted structural representation of an
3332
+ # address consists of a `region_code` with all remaining information placed in
3333
+ # the `address_lines`. It would be possible to format such an address very
3284
3334
  # approximately without geocoding, but no semantic reasoning could be made about
3285
3335
  # any of the address components until it was at least partially resolved.
3286
- # Creating an address only containing a region_code and address_lines, and then
3287
- # geocoding is the recommended way to handle completely unstructured addresses (
3288
- # as opposed to guessing which parts of the address should be localities or
3289
- # administrative areas).
3336
+ # Creating an address only containing a `region_code` and `address_lines` and
3337
+ # then geocoding is the recommended way to handle completely unstructured
3338
+ # addresses (as opposed to guessing which parts of the address should be
3339
+ # localities or administrative areas).
3290
3340
  # Corresponds to the JSON property `addressLines`
3291
3341
  # @return [Array<String>]
3292
3342
  attr_accessor :address_lines
3293
3343
 
3294
3344
  # Optional. Highest administrative subdivision which is used for postal
3295
3345
  # addresses of a country or region. For example, this can be a state, a province,
3296
- # an oblast, or a prefecture. Specifically, for Spain this is the province and
3297
- # not the autonomous community (For example "Barcelona" and not "Catalonia").
3298
- # Many countries don't use an administrative area in postal addresses. For
3299
- # example in Switzerland this should be left unpopulated.
3346
+ # an oblast, or a prefecture. For Spain, this is the province and not the
3347
+ # autonomous community (for example, "Barcelona" and not "Catalonia"). Many
3348
+ # countries don't use an administrative area in postal addresses. For example,
3349
+ # in Switzerland, this should be left unpopulated.
3300
3350
  # Corresponds to the JSON property `administrativeArea`
3301
3351
  # @return [String]
3302
3352
  attr_accessor :administrative_area
@@ -3313,10 +3363,10 @@ module Google
3313
3363
  # @return [String]
3314
3364
  attr_accessor :language_code
3315
3365
 
3316
- # Optional. Generally refers to the city/town portion of the address. Examples:
3317
- # US city, IT comune, UK post town. In regions of the world where localities are
3318
- # not well defined or do not fit into this structure well, leave locality empty
3319
- # and use address_lines.
3366
+ # Optional. Generally refers to the city or town portion of the address.
3367
+ # Examples: US city, IT comune, UK post town. In regions of the world where
3368
+ # localities are not well defined or do not fit into this structure well, leave `
3369
+ # locality` empty and use `address_lines`.
3320
3370
  # Corresponds to the JSON property `locality`
3321
3371
  # @return [String]
3322
3372
  attr_accessor :locality
@@ -3328,8 +3378,8 @@ module Google
3328
3378
 
3329
3379
  # Optional. Postal code of the address. Not all countries use or require postal
3330
3380
  # codes to be present, but where they are used, they may trigger additional
3331
- # validation with other parts of the address (For example state/zip validation
3332
- # in the U.S.A.).
3381
+ # validation with other parts of the address (for example, state or zip code
3382
+ # validation in the United States).
3333
3383
  # Corresponds to the JSON property `postalCode`
3334
3384
  # @return [String]
3335
3385
  attr_accessor :postal_code
@@ -3358,15 +3408,15 @@ module Google
3358
3408
 
3359
3409
  # Optional. Additional, country-specific, sorting code. This is not used in most
3360
3410
  # regions. Where it is used, the value is either a string like "CEDEX",
3361
- # optionally followed by a number (For example "CEDEX 7"), or just a number
3411
+ # optionally followed by a number (for example, "CEDEX 7"), or just a number
3362
3412
  # alone, representing the "sector code" (Jamaica), "delivery area indicator" (
3363
- # Malawi) or "post office indicator" (For example Côte d'Ivoire).
3413
+ # Malawi) or "post office indicator" (Côte d'Ivoire).
3364
3414
  # Corresponds to the JSON property `sortingCode`
3365
3415
  # @return [String]
3366
3416
  attr_accessor :sorting_code
3367
3417
 
3368
- # Optional. Sublocality of the address. For example, this can be neighborhoods,
3369
- # boroughs, districts.
3418
+ # Optional. Sublocality of the address. For example, this can be a neighborhood,
3419
+ # borough, or district.
3370
3420
  # Corresponds to the JSON property `sublocality`
3371
3421
  # @return [String]
3372
3422
  attr_accessor :sublocality
@@ -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.32.0"
19
+ GEM_VERSION = "0.34.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250312"
25
+ REVISION = "20250414"
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,17 @@ 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 :text, as: 'text', class: Google::Apis::PlacesV1::GoogleTypeLocalizedText, decorator: Google::Apis::PlacesV1::GoogleTypeLocalizedText::Representation
1018
+
1019
+ end
1020
+ end
1021
+
985
1022
  class GoogleMapsPlacesV1PlaceSubDestination
986
1023
  # @private
987
1024
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1007,15 +1044,6 @@ module Google
1007
1044
  end
1008
1045
  end
1009
1046
 
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
1047
  class GoogleMapsPlacesV1Review
1020
1048
  # @private
1021
1049
  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.32.0
4
+ version: 0.34.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-16 00:00:00.000000000 Z
10
+ date: 2025-04-20 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.32.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-places_v1/v0.34.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: