google-apis-places_v1 0.27.0 → 0.29.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 610c02a1be8a46bd4320a6508facfb5b6c40bb0e1e385a524dcf4da82d0d4e08
4
- data.tar.gz: 74fb35ecfa672272793291b24b1b24a4cac5bb9db6e78b1fe0626316f979ac0a
3
+ metadata.gz: '08dbb62b933da0b337570a85ebabe37ebf978e44bce90725b5e404969707e50a'
4
+ data.tar.gz: 7cde5bed811c6b35715ea088ed2b6c9200c57dbecf54181e054f61cef58322e6
5
5
  SHA512:
6
- metadata.gz: 17dc3e04b213e9bb12a89b4780b78a990878001cd8bd63a60bc7a43fef4c58c01aedee34e0953f5d247c7abacca8889a95b410b7064a65f231a4bd1e045d87d5
7
- data.tar.gz: 86d8f4d3f4dd4f7d7dd218dc0e4abaed0f51afbd832d701a9375f8a0413b43abfc8916a99bab1dba49d66f0c832d74485f60be24c82e4debbba74954a1077d3c
6
+ metadata.gz: 3930b48018d00340e9743175d49acdfa3d36b6f68aecf0492848cbab84a96c66739a7959767c145f79cc69ff14983af4d7a2bfe3f221db4c31d160d178eefd46
7
+ data.tar.gz: 4baca64e790f96cd1a7b191186567438b2fea0f21275fd8c3d218f8212840b370454fd5f787968b498ba9178db50142b84c311bf72a3bdfbec6a690af5cf2ff0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-places_v1
2
2
 
3
+ ### v0.29.0 (2024-11-10)
4
+
5
+ * Regenerated from discovery document revision 20241106
6
+
7
+ ### v0.28.0 (2024-11-03)
8
+
9
+ * Regenerated from discovery document revision 20241029
10
+
3
11
  ### v0.27.0 (2024-10-27)
4
12
 
5
13
  * Regenerated from discovery document revision 20241022
@@ -234,6 +234,18 @@ module Google
234
234
  class GoogleMapsPlacesV1AutocompletePlacesRequest
235
235
  include Google::Apis::Core::Hashable
236
236
 
237
+ # Optional. Include pure service area businesses if the field is set to true.
238
+ # Pure service area business is a business that visits or delivers to customers
239
+ # directly but does not serve customers at their business address. For example,
240
+ # businesses like cleaning services or plumbers. Those businesses do not have a
241
+ # physical address or location on Google Maps. Places will not return fields
242
+ # including `location`, `plus_code`, and other location related fields for these
243
+ # businesses.
244
+ # Corresponds to the JSON property `includePureServiceAreaBusinesses`
245
+ # @return [Boolean]
246
+ attr_accessor :include_pure_service_area_businesses
247
+ alias_method :include_pure_service_area_businesses?, :include_pure_service_area_businesses
248
+
237
249
  # Optional. If true, the response will include both Place and query predictions.
238
250
  # Otherwise the response will only return Place predictions.
239
251
  # Corresponds to the JSON property `includeQueryPredictions`
@@ -334,6 +346,7 @@ module Google
334
346
 
335
347
  # Update properties of this object
336
348
  def update!(**args)
349
+ @include_pure_service_area_businesses = args[:include_pure_service_area_businesses] if args.key?(:include_pure_service_area_businesses)
337
350
  @include_query_predictions = args[:include_query_predictions] if args.key?(:include_query_predictions)
338
351
  @included_primary_types = args[:included_primary_types] if args.key?(:included_primary_types)
339
352
  @included_region_codes = args[:included_region_codes] if args.key?(:included_region_codes)
@@ -1045,6 +1058,16 @@ module Google
1045
1058
  # @return [Array<Google::Apis::PlacesV1::GoogleMapsPlacesV1AuthorAttribution>]
1046
1059
  attr_accessor :author_attributions
1047
1060
 
1061
+ # A link where users can flag a problem with the photo.
1062
+ # Corresponds to the JSON property `flagContentUri`
1063
+ # @return [String]
1064
+ attr_accessor :flag_content_uri
1065
+
1066
+ # A link to show the photo on Google Maps.
1067
+ # Corresponds to the JSON property `googleMapsUri`
1068
+ # @return [String]
1069
+ attr_accessor :google_maps_uri
1070
+
1048
1071
  # The maximum available height, in pixels.
1049
1072
  # Corresponds to the JSON property `heightPx`
1050
1073
  # @return [Fixnum]
@@ -1069,6 +1092,8 @@ module Google
1069
1092
  # Update properties of this object
1070
1093
  def update!(**args)
1071
1094
  @author_attributions = args[:author_attributions] if args.key?(:author_attributions)
1095
+ @flag_content_uri = args[:flag_content_uri] if args.key?(:flag_content_uri)
1096
+ @google_maps_uri = args[:google_maps_uri] if args.key?(:google_maps_uri)
1072
1097
  @height_px = args[:height_px] if args.key?(:height_px)
1073
1098
  @name = args[:name] if args.key?(:name)
1074
1099
  @width_px = args[:width_px] if args.key?(:width_px)
@@ -1161,6 +1186,11 @@ module Google
1161
1186
  # @return [String]
1162
1187
  attr_accessor :business_status
1163
1188
 
1189
+ # List of places in which the current place is located.
1190
+ # Corresponds to the JSON property `containingPlaces`
1191
+ # @return [Array<Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceContainingPlace>]
1192
+ attr_accessor :containing_places
1193
+
1164
1194
  # Specifies if the business supports curbside pickup.
1165
1195
  # Corresponds to the JSON property `curbsidePickup`
1166
1196
  # @return [Boolean]
@@ -1250,6 +1280,11 @@ module Google
1250
1280
  attr_accessor :good_for_watching_sports
1251
1281
  alias_method :good_for_watching_sports?, :good_for_watching_sports
1252
1282
 
1283
+ # Links to trigger different Google Maps actions.
1284
+ # Corresponds to the JSON property `googleMapsLinks`
1285
+ # @return [Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceGoogleMapsLinks]
1286
+ attr_accessor :google_maps_links
1287
+
1253
1288
  # A URL providing more information about this place.
1254
1289
  # Corresponds to the JSON property `googleMapsUri`
1255
1290
  # @return [String]
@@ -1342,6 +1377,12 @@ module Google
1342
1377
  # @return [String]
1343
1378
  attr_accessor :price_level
1344
1379
 
1380
+ # The price range associated with a Place. `end_price` could be unset, which
1381
+ # indicates a range without upper bound (e.g. "More than $100").
1382
+ # Corresponds to the JSON property `priceRange`
1383
+ # @return [Google::Apis::PlacesV1::GoogleMapsPlacesV1PriceRange]
1384
+ attr_accessor :price_range
1385
+
1345
1386
  # The primary type of the given result. This type must one of the Places API
1346
1387
  # supported types. For example, "restaurant", "cafe", "airport", etc. A place
1347
1388
  # can only have a single primary type. For the complete list of possible values,
@@ -1356,6 +1397,16 @@ module Google
1356
1397
  # @return [Google::Apis::PlacesV1::GoogleTypeLocalizedText]
1357
1398
  attr_accessor :primary_type_display_name
1358
1399
 
1400
+ # Indicates whether the place is a pure service area business. Pure service area
1401
+ # business is a business that visits or delivers to customers directly but does
1402
+ # not serve customers at their business address. For example, businesses like
1403
+ # cleaning services or plumbers. Those businesses may not have a physical
1404
+ # address or location on Google Maps.
1405
+ # Corresponds to the JSON property `pureServiceAreaBusiness`
1406
+ # @return [Boolean]
1407
+ attr_accessor :pure_service_area_business
1408
+ alias_method :pure_service_area_business?, :pure_service_area_business
1409
+
1359
1410
  # A rating between 1.0 and 5.0, based on user reviews of this place.
1360
1411
  # Corresponds to the JSON property `rating`
1361
1412
  # @return [Float]
@@ -1530,6 +1581,7 @@ module Google
1530
1581
  @area_summary = args[:area_summary] if args.key?(:area_summary)
1531
1582
  @attributions = args[:attributions] if args.key?(:attributions)
1532
1583
  @business_status = args[:business_status] if args.key?(:business_status)
1584
+ @containing_places = args[:containing_places] if args.key?(:containing_places)
1533
1585
  @curbside_pickup = args[:curbside_pickup] if args.key?(:curbside_pickup)
1534
1586
  @current_opening_hours = args[:current_opening_hours] if args.key?(:current_opening_hours)
1535
1587
  @current_secondary_opening_hours = args[:current_secondary_opening_hours] if args.key?(:current_secondary_opening_hours)
@@ -1544,6 +1596,7 @@ module Google
1544
1596
  @good_for_children = args[:good_for_children] if args.key?(:good_for_children)
1545
1597
  @good_for_groups = args[:good_for_groups] if args.key?(:good_for_groups)
1546
1598
  @good_for_watching_sports = args[:good_for_watching_sports] if args.key?(:good_for_watching_sports)
1599
+ @google_maps_links = args[:google_maps_links] if args.key?(:google_maps_links)
1547
1600
  @google_maps_uri = args[:google_maps_uri] if args.key?(:google_maps_uri)
1548
1601
  @icon_background_color = args[:icon_background_color] if args.key?(:icon_background_color)
1549
1602
  @icon_mask_base_uri = args[:icon_mask_base_uri] if args.key?(:icon_mask_base_uri)
@@ -1560,8 +1613,10 @@ module Google
1560
1613
  @photos = args[:photos] if args.key?(:photos)
1561
1614
  @plus_code = args[:plus_code] if args.key?(:plus_code)
1562
1615
  @price_level = args[:price_level] if args.key?(:price_level)
1616
+ @price_range = args[:price_range] if args.key?(:price_range)
1563
1617
  @primary_type = args[:primary_type] if args.key?(:primary_type)
1564
1618
  @primary_type_display_name = args[:primary_type_display_name] if args.key?(:primary_type_display_name)
1619
+ @pure_service_area_business = args[:pure_service_area_business] if args.key?(:pure_service_area_business)
1565
1620
  @rating = args[:rating] if args.key?(:rating)
1566
1621
  @regular_opening_hours = args[:regular_opening_hours] if args.key?(:regular_opening_hours)
1567
1622
  @regular_secondary_opening_hours = args[:regular_secondary_opening_hours] if args.key?(:regular_secondary_opening_hours)
@@ -1684,6 +1739,11 @@ module Google
1684
1739
  # @return [Array<Google::Apis::PlacesV1::GoogleMapsPlacesV1ContentBlock>]
1685
1740
  attr_accessor :content_blocks
1686
1741
 
1742
+ # A link where users can flag a problem with the summary.
1743
+ # Corresponds to the JSON property `flagContentUri`
1744
+ # @return [String]
1745
+ attr_accessor :flag_content_uri
1746
+
1687
1747
  def initialize(**args)
1688
1748
  update!(**args)
1689
1749
  end
@@ -1691,6 +1751,7 @@ module Google
1691
1751
  # Update properties of this object
1692
1752
  def update!(**args)
1693
1753
  @content_blocks = args[:content_blocks] if args.key?(:content_blocks)
1754
+ @flag_content_uri = args[:flag_content_uri] if args.key?(:flag_content_uri)
1694
1755
  end
1695
1756
  end
1696
1757
 
@@ -1719,6 +1780,31 @@ module Google
1719
1780
  end
1720
1781
  end
1721
1782
 
1783
+ # Info about the place in which this place is located.
1784
+ class GoogleMapsPlacesV1PlaceContainingPlace
1785
+ include Google::Apis::Core::Hashable
1786
+
1787
+ # The place id of the place in which this place is located.
1788
+ # Corresponds to the JSON property `id`
1789
+ # @return [String]
1790
+ attr_accessor :id
1791
+
1792
+ # The resource name of the place in which this place is located.
1793
+ # Corresponds to the JSON property `name`
1794
+ # @return [String]
1795
+ attr_accessor :name
1796
+
1797
+ def initialize(**args)
1798
+ update!(**args)
1799
+ end
1800
+
1801
+ # Update properties of this object
1802
+ def update!(**args)
1803
+ @id = args[:id] if args.key?(:id)
1804
+ @name = args[:name] if args.key?(:name)
1805
+ end
1806
+ end
1807
+
1722
1808
  # Experimental: See https://developers.google.com/maps/documentation/places/web-
1723
1809
  # service/experimental/places-generative for more details. AI-generated summary
1724
1810
  # of the place.
@@ -1730,11 +1816,21 @@ module Google
1730
1816
  # @return [Google::Apis::PlacesV1::GoogleTypeLocalizedText]
1731
1817
  attr_accessor :description
1732
1818
 
1819
+ # A link where users can flag a problem with the description summary.
1820
+ # Corresponds to the JSON property `descriptionFlagContentUri`
1821
+ # @return [String]
1822
+ attr_accessor :description_flag_content_uri
1823
+
1733
1824
  # Localized variant of a text in a particular language.
1734
1825
  # Corresponds to the JSON property `overview`
1735
1826
  # @return [Google::Apis::PlacesV1::GoogleTypeLocalizedText]
1736
1827
  attr_accessor :overview
1737
1828
 
1829
+ # A link where users can flag a problem with the overview summary.
1830
+ # Corresponds to the JSON property `overviewFlagContentUri`
1831
+ # @return [String]
1832
+ attr_accessor :overview_flag_content_uri
1833
+
1738
1834
  # Experimental: See https://developers.google.com/maps/documentation/places/web-
1739
1835
  # service/experimental/places-generative for more details. Reference that the
1740
1836
  # generative content is related to.
@@ -1749,15 +1845,78 @@ module Google
1749
1845
  # Update properties of this object
1750
1846
  def update!(**args)
1751
1847
  @description = args[:description] if args.key?(:description)
1848
+ @description_flag_content_uri = args[:description_flag_content_uri] if args.key?(:description_flag_content_uri)
1752
1849
  @overview = args[:overview] if args.key?(:overview)
1850
+ @overview_flag_content_uri = args[:overview_flag_content_uri] if args.key?(:overview_flag_content_uri)
1753
1851
  @references = args[:references] if args.key?(:references)
1754
1852
  end
1755
1853
  end
1756
1854
 
1855
+ # Links to trigger different Google Maps actions.
1856
+ class GoogleMapsPlacesV1PlaceGoogleMapsLinks
1857
+ include Google::Apis::Core::Hashable
1858
+
1859
+ # A link to show the directions to the place. The link only populates the
1860
+ # destination location and uses the default travel mode `DRIVE`.
1861
+ # Corresponds to the JSON property `directionsUri`
1862
+ # @return [String]
1863
+ attr_accessor :directions_uri
1864
+
1865
+ # A link to show photos of this place. This link is currently not supported on
1866
+ # Google Maps Mobile and only works on the web version of Google Maps.
1867
+ # Corresponds to the JSON property `photosUri`
1868
+ # @return [String]
1869
+ attr_accessor :photos_uri
1870
+
1871
+ # A link to show this place.
1872
+ # Corresponds to the JSON property `placeUri`
1873
+ # @return [String]
1874
+ attr_accessor :place_uri
1875
+
1876
+ # A link to show reviews of this place. This link is currently not supported on
1877
+ # Google Maps Mobile and only works on the web version of Google Maps.
1878
+ # Corresponds to the JSON property `reviewsUri`
1879
+ # @return [String]
1880
+ attr_accessor :reviews_uri
1881
+
1882
+ # A link to write a review for this place. This link is currently not supported
1883
+ # on Google Maps Mobile and only works on the web version of Google Maps.
1884
+ # Corresponds to the JSON property `writeAReviewUri`
1885
+ # @return [String]
1886
+ attr_accessor :write_a_review_uri
1887
+
1888
+ def initialize(**args)
1889
+ update!(**args)
1890
+ end
1891
+
1892
+ # Update properties of this object
1893
+ def update!(**args)
1894
+ @directions_uri = args[:directions_uri] if args.key?(:directions_uri)
1895
+ @photos_uri = args[:photos_uri] if args.key?(:photos_uri)
1896
+ @place_uri = args[:place_uri] if args.key?(:place_uri)
1897
+ @reviews_uri = args[:reviews_uri] if args.key?(:reviews_uri)
1898
+ @write_a_review_uri = args[:write_a_review_uri] if args.key?(:write_a_review_uri)
1899
+ end
1900
+ end
1901
+
1757
1902
  # Information about business hour of the place.
1758
1903
  class GoogleMapsPlacesV1PlaceOpeningHours
1759
1904
  include Google::Apis::Core::Hashable
1760
1905
 
1906
+ # The next time the current opening hours period ends up to 7 days in the future.
1907
+ # This field is only populated if the opening hours period is active at the
1908
+ # time of serving the request.
1909
+ # Corresponds to the JSON property `nextCloseTime`
1910
+ # @return [String]
1911
+ attr_accessor :next_close_time
1912
+
1913
+ # The next time the current opening hours period starts up to 7 days in the
1914
+ # future. This field is only populated if the opening hours period is not active
1915
+ # at the time of serving the request.
1916
+ # Corresponds to the JSON property `nextOpenTime`
1917
+ # @return [String]
1918
+ attr_accessor :next_open_time
1919
+
1761
1920
  # Whether the opening hours period is currently active. For regular opening
1762
1921
  # hours and current opening hours, this field means whether the place is open.
1763
1922
  # For secondary opening hours and current secondary opening hours, this field
@@ -1801,6 +1960,8 @@ module Google
1801
1960
 
1802
1961
  # Update properties of this object
1803
1962
  def update!(**args)
1963
+ @next_close_time = args[:next_close_time] if args.key?(:next_close_time)
1964
+ @next_open_time = args[:next_open_time] if args.key?(:next_open_time)
1804
1965
  @open_now = args[:open_now] if args.key?(:open_now)
1805
1966
  @periods = args[:periods] if args.key?(:periods)
1806
1967
  @secondary_hours_type = args[:secondary_hours_type] if args.key?(:secondary_hours_type)
@@ -2105,6 +2266,32 @@ module Google
2105
2266
  end
2106
2267
  end
2107
2268
 
2269
+ # The price range associated with a Place. `end_price` could be unset, which
2270
+ # indicates a range without upper bound (e.g. "More than $100").
2271
+ class GoogleMapsPlacesV1PriceRange
2272
+ include Google::Apis::Core::Hashable
2273
+
2274
+ # Represents an amount of money with its currency type.
2275
+ # Corresponds to the JSON property `endPrice`
2276
+ # @return [Google::Apis::PlacesV1::GoogleTypeMoney]
2277
+ attr_accessor :end_price
2278
+
2279
+ # Represents an amount of money with its currency type.
2280
+ # Corresponds to the JSON property `startPrice`
2281
+ # @return [Google::Apis::PlacesV1::GoogleTypeMoney]
2282
+ attr_accessor :start_price
2283
+
2284
+ def initialize(**args)
2285
+ update!(**args)
2286
+ end
2287
+
2288
+ # Update properties of this object
2289
+ def update!(**args)
2290
+ @end_price = args[:end_price] if args.key?(:end_price)
2291
+ @start_price = args[:start_price] if args.key?(:start_price)
2292
+ end
2293
+ end
2294
+
2108
2295
  # Experimental: See https://developers.google.com/maps/documentation/places/web-
2109
2296
  # service/experimental/places-generative for more details. Reference that the
2110
2297
  # generative content is related to.
@@ -2142,6 +2329,16 @@ module Google
2142
2329
  # @return [Google::Apis::PlacesV1::GoogleMapsPlacesV1AuthorAttribution]
2143
2330
  attr_accessor :author_attribution
2144
2331
 
2332
+ # A link where users can flag a problem with the review.
2333
+ # Corresponds to the JSON property `flagContentUri`
2334
+ # @return [String]
2335
+ attr_accessor :flag_content_uri
2336
+
2337
+ # A link to show the review on Google Maps.
2338
+ # Corresponds to the JSON property `googleMapsUri`
2339
+ # @return [String]
2340
+ attr_accessor :google_maps_uri
2341
+
2145
2342
  # A reference representing this place review which may be used to look up this
2146
2343
  # place review again (also called the API "resource" name: `places/`place_id`/
2147
2344
  # reviews/`review``).
@@ -2182,6 +2379,8 @@ module Google
2182
2379
  # Update properties of this object
2183
2380
  def update!(**args)
2184
2381
  @author_attribution = args[:author_attribution] if args.key?(:author_attribution)
2382
+ @flag_content_uri = args[:flag_content_uri] if args.key?(:flag_content_uri)
2383
+ @google_maps_uri = args[:google_maps_uri] if args.key?(:google_maps_uri)
2185
2384
  @name = args[:name] if args.key?(:name)
2186
2385
  @original_text = args[:original_text] if args.key?(:original_text)
2187
2386
  @publish_time = args[:publish_time] if args.key?(:publish_time)
@@ -2295,6 +2494,16 @@ module Google
2295
2494
  class GoogleMapsPlacesV1RoutingSummary
2296
2495
  include Google::Apis::Core::Hashable
2297
2496
 
2497
+ # A link to show directions on Google Maps using the waypoints from the given
2498
+ # routing summary. The route generated by this link is not guaranteed to be the
2499
+ # same as the route used to generate the routing summary. The link uses
2500
+ # information provided in the request, from fields including `routingParameters`
2501
+ # and `searchAlongRouteParameters` when applicable, to generate the directions
2502
+ # link.
2503
+ # Corresponds to the JSON property `directionsUri`
2504
+ # @return [String]
2505
+ attr_accessor :directions_uri
2506
+
2298
2507
  # The legs of the trip. When you calculate travel duration and distance from a
2299
2508
  # set origin, `legs` contains a single leg containing the duration and distance
2300
2509
  # from the origin to the destination. When you do a search along route, `legs`
@@ -2310,6 +2519,7 @@ module Google
2310
2519
 
2311
2520
  # Update properties of this object
2312
2521
  def update!(**args)
2522
+ @directions_uri = args[:directions_uri] if args.key?(:directions_uri)
2313
2523
  @legs = args[:legs] if args.key?(:legs)
2314
2524
  end
2315
2525
  end
@@ -2527,6 +2737,18 @@ module Google
2527
2737
  # @return [Google::Apis::PlacesV1::GoogleMapsPlacesV1SearchTextRequestEvOptions]
2528
2738
  attr_accessor :ev_options
2529
2739
 
2740
+ # Optional. Include pure service area businesses if the field is set to true.
2741
+ # Pure service area business is a business that visits or delivers to customers
2742
+ # directly but does not serve customers at their business address. For example,
2743
+ # businesses like cleaning services or plumbers. Those businesses do not have a
2744
+ # physical address or location on Google Maps. Places will not return fields
2745
+ # including `location`, `plus_code`, and other location related fields for these
2746
+ # businesses.
2747
+ # Corresponds to the JSON property `includePureServiceAreaBusinesses`
2748
+ # @return [Boolean]
2749
+ attr_accessor :include_pure_service_area_businesses
2750
+ alias_method :include_pure_service_area_businesses?, :include_pure_service_area_businesses
2751
+
2530
2752
  # The requested place type. Full list of types supported: https://developers.
2531
2753
  # google.com/maps/documentation/places/web-service/place-types. Only support one
2532
2754
  # included type.
@@ -2666,6 +2888,7 @@ module Google
2666
2888
  # Update properties of this object
2667
2889
  def update!(**args)
2668
2890
  @ev_options = args[:ev_options] if args.key?(:ev_options)
2891
+ @include_pure_service_area_businesses = args[:include_pure_service_area_businesses] if args.key?(:include_pure_service_area_businesses)
2669
2892
  @included_type = args[:included_type] if args.key?(:included_type)
2670
2893
  @language_code = args[:language_code] if args.key?(:language_code)
2671
2894
  @location_bias = args[:location_bias] if args.key?(:location_bias)
@@ -2855,6 +3078,12 @@ module Google
2855
3078
  # @return [Array<Google::Apis::PlacesV1::GoogleMapsPlacesV1RoutingSummary>]
2856
3079
  attr_accessor :routing_summaries
2857
3080
 
3081
+ # A link allows the user to search with the same text query as specified in the
3082
+ # request on Google Maps.
3083
+ # Corresponds to the JSON property `searchUri`
3084
+ # @return [String]
3085
+ attr_accessor :search_uri
3086
+
2858
3087
  def initialize(**args)
2859
3088
  update!(**args)
2860
3089
  end
@@ -2865,6 +3094,7 @@ module Google
2865
3094
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2866
3095
  @places = args[:places] if args.key?(:places)
2867
3096
  @routing_summaries = args[:routing_summaries] if args.key?(:routing_summaries)
3097
+ @search_uri = args[:search_uri] if args.key?(:search_uri)
2868
3098
  end
2869
3099
  end
2870
3100
 
@@ -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.27.0"
19
+ GEM_VERSION = "0.29.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241022"
25
+ REVISION = "20241106"
26
26
  end
27
27
  end
28
28
  end
@@ -226,12 +226,24 @@ module Google
226
226
  include Google::Apis::Core::JsonObjectSupport
227
227
  end
228
228
 
229
+ class GoogleMapsPlacesV1PlaceContainingPlace
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
229
235
  class GoogleMapsPlacesV1PlaceGenerativeSummary
230
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
231
237
 
232
238
  include Google::Apis::Core::JsonObjectSupport
233
239
  end
234
240
 
241
+ class GoogleMapsPlacesV1PlaceGoogleMapsLinks
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
235
247
  class GoogleMapsPlacesV1PlaceOpeningHours
236
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
249
 
@@ -286,6 +298,12 @@ module Google
286
298
  include Google::Apis::Core::JsonObjectSupport
287
299
  end
288
300
 
301
+ class GoogleMapsPlacesV1PriceRange
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
289
307
  class GoogleMapsPlacesV1References
290
308
  class Representation < Google::Apis::Core::JsonRepresentation; end
291
309
 
@@ -457,6 +475,7 @@ module Google
457
475
  class GoogleMapsPlacesV1AutocompletePlacesRequest
458
476
  # @private
459
477
  class Representation < Google::Apis::Core::JsonRepresentation
478
+ property :include_pure_service_area_businesses, as: 'includePureServiceAreaBusinesses'
460
479
  property :include_query_predictions, as: 'includeQueryPredictions'
461
480
  collection :included_primary_types, as: 'includedPrimaryTypes'
462
481
  collection :included_region_codes, as: 'includedRegionCodes'
@@ -685,6 +704,8 @@ module Google
685
704
  class Representation < Google::Apis::Core::JsonRepresentation
686
705
  collection :author_attributions, as: 'authorAttributions', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1AuthorAttribution, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1AuthorAttribution::Representation
687
706
 
707
+ property :flag_content_uri, as: 'flagContentUri'
708
+ property :google_maps_uri, as: 'googleMapsUri'
688
709
  property :height_px, as: 'heightPx'
689
710
  property :name, as: 'name'
690
711
  property :width_px, as: 'widthPx'
@@ -715,6 +736,8 @@ module Google
715
736
  collection :attributions, as: 'attributions', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceAttribution, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceAttribution::Representation
716
737
 
717
738
  property :business_status, as: 'businessStatus'
739
+ collection :containing_places, as: 'containingPlaces', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceContainingPlace, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceContainingPlace::Representation
740
+
718
741
  property :curbside_pickup, as: 'curbsidePickup'
719
742
  property :current_opening_hours, as: 'currentOpeningHours', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceOpeningHours, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceOpeningHours::Representation
720
743
 
@@ -736,6 +759,8 @@ module Google
736
759
  property :good_for_children, as: 'goodForChildren'
737
760
  property :good_for_groups, as: 'goodForGroups'
738
761
  property :good_for_watching_sports, as: 'goodForWatchingSports'
762
+ property :google_maps_links, as: 'googleMapsLinks', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceGoogleMapsLinks, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceGoogleMapsLinks::Representation
763
+
739
764
  property :google_maps_uri, as: 'googleMapsUri'
740
765
  property :icon_background_color, as: 'iconBackgroundColor'
741
766
  property :icon_mask_base_uri, as: 'iconMaskBaseUri'
@@ -757,9 +782,12 @@ module Google
757
782
  property :plus_code, as: 'plusCode', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlacePlusCode, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlacePlusCode::Representation
758
783
 
759
784
  property :price_level, as: 'priceLevel'
785
+ property :price_range, as: 'priceRange', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1PriceRange, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1PriceRange::Representation
786
+
760
787
  property :primary_type, as: 'primaryType'
761
788
  property :primary_type_display_name, as: 'primaryTypeDisplayName', class: Google::Apis::PlacesV1::GoogleTypeLocalizedText, decorator: Google::Apis::PlacesV1::GoogleTypeLocalizedText::Representation
762
789
 
790
+ property :pure_service_area_business, as: 'pureServiceAreaBusiness'
763
791
  property :rating, as: 'rating'
764
792
  property :regular_opening_hours, as: 'regularOpeningHours', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceOpeningHours, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceOpeningHours::Representation
765
793
 
@@ -817,6 +845,7 @@ module Google
817
845
  class Representation < Google::Apis::Core::JsonRepresentation
818
846
  collection :content_blocks, as: 'contentBlocks', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1ContentBlock, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1ContentBlock::Representation
819
847
 
848
+ property :flag_content_uri, as: 'flagContentUri'
820
849
  end
821
850
  end
822
851
 
@@ -828,21 +857,44 @@ module Google
828
857
  end
829
858
  end
830
859
 
860
+ class GoogleMapsPlacesV1PlaceContainingPlace
861
+ # @private
862
+ class Representation < Google::Apis::Core::JsonRepresentation
863
+ property :id, as: 'id'
864
+ property :name, as: 'name'
865
+ end
866
+ end
867
+
831
868
  class GoogleMapsPlacesV1PlaceGenerativeSummary
832
869
  # @private
833
870
  class Representation < Google::Apis::Core::JsonRepresentation
834
871
  property :description, as: 'description', class: Google::Apis::PlacesV1::GoogleTypeLocalizedText, decorator: Google::Apis::PlacesV1::GoogleTypeLocalizedText::Representation
835
872
 
873
+ property :description_flag_content_uri, as: 'descriptionFlagContentUri'
836
874
  property :overview, as: 'overview', class: Google::Apis::PlacesV1::GoogleTypeLocalizedText, decorator: Google::Apis::PlacesV1::GoogleTypeLocalizedText::Representation
837
875
 
876
+ property :overview_flag_content_uri, as: 'overviewFlagContentUri'
838
877
  property :references, as: 'references', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1References, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1References::Representation
839
878
 
840
879
  end
841
880
  end
842
881
 
882
+ class GoogleMapsPlacesV1PlaceGoogleMapsLinks
883
+ # @private
884
+ class Representation < Google::Apis::Core::JsonRepresentation
885
+ property :directions_uri, as: 'directionsUri'
886
+ property :photos_uri, as: 'photosUri'
887
+ property :place_uri, as: 'placeUri'
888
+ property :reviews_uri, as: 'reviewsUri'
889
+ property :write_a_review_uri, as: 'writeAReviewUri'
890
+ end
891
+ end
892
+
843
893
  class GoogleMapsPlacesV1PlaceOpeningHours
844
894
  # @private
845
895
  class Representation < Google::Apis::Core::JsonRepresentation
896
+ property :next_close_time, as: 'nextCloseTime'
897
+ property :next_open_time, as: 'nextOpenTime'
846
898
  property :open_now, as: 'openNow'
847
899
  collection :periods, as: 'periods', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceOpeningHoursPeriod, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceOpeningHoursPeriod::Representation
848
900
 
@@ -929,6 +981,16 @@ module Google
929
981
  end
930
982
  end
931
983
 
984
+ class GoogleMapsPlacesV1PriceRange
985
+ # @private
986
+ class Representation < Google::Apis::Core::JsonRepresentation
987
+ property :end_price, as: 'endPrice', class: Google::Apis::PlacesV1::GoogleTypeMoney, decorator: Google::Apis::PlacesV1::GoogleTypeMoney::Representation
988
+
989
+ property :start_price, as: 'startPrice', class: Google::Apis::PlacesV1::GoogleTypeMoney, decorator: Google::Apis::PlacesV1::GoogleTypeMoney::Representation
990
+
991
+ end
992
+ end
993
+
932
994
  class GoogleMapsPlacesV1References
933
995
  # @private
934
996
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -943,6 +1005,8 @@ module Google
943
1005
  class Representation < Google::Apis::Core::JsonRepresentation
944
1006
  property :author_attribution, as: 'authorAttribution', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1AuthorAttribution, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1AuthorAttribution::Representation
945
1007
 
1008
+ property :flag_content_uri, as: 'flagContentUri'
1009
+ property :google_maps_uri, as: 'googleMapsUri'
946
1010
  property :name, as: 'name'
947
1011
  property :original_text, as: 'originalText', class: Google::Apis::PlacesV1::GoogleTypeLocalizedText, decorator: Google::Apis::PlacesV1::GoogleTypeLocalizedText::Representation
948
1012
 
@@ -979,6 +1043,7 @@ module Google
979
1043
  class GoogleMapsPlacesV1RoutingSummary
980
1044
  # @private
981
1045
  class Representation < Google::Apis::Core::JsonRepresentation
1046
+ property :directions_uri, as: 'directionsUri'
982
1047
  collection :legs, as: 'legs', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1RoutingSummaryLeg, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1RoutingSummaryLeg::Representation
983
1048
 
984
1049
  end
@@ -1033,6 +1098,7 @@ module Google
1033
1098
  class Representation < Google::Apis::Core::JsonRepresentation
1034
1099
  property :ev_options, as: 'evOptions', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1SearchTextRequestEvOptions, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1SearchTextRequestEvOptions::Representation
1035
1100
 
1101
+ property :include_pure_service_area_businesses, as: 'includePureServiceAreaBusinesses'
1036
1102
  property :included_type, as: 'includedType'
1037
1103
  property :language_code, as: 'languageCode'
1038
1104
  property :location_bias, as: 'locationBias', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1SearchTextRequestLocationBias, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1SearchTextRequestLocationBias::Representation
@@ -1100,6 +1166,7 @@ module Google
1100
1166
 
1101
1167
  collection :routing_summaries, as: 'routingSummaries', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1RoutingSummary, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1RoutingSummary::Representation
1102
1168
 
1169
+ property :search_uri, as: 'searchUri'
1103
1170
  end
1104
1171
  end
1105
1172
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-places_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.27.0
4
+ version: 0.29.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-27 00:00:00.000000000 Z
11
+ date: 2024-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-places_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-places_v1/v0.27.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-places_v1/v0.29.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-places_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.21
78
+ rubygems_version: 3.5.22
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Places API (New) V1