@@ -234,6 +234,18 @@ def update!(**args)
234234 class GoogleMapsPlacesV1AutocompletePlacesRequest
235235 include Google ::Apis ::Core ::Hashable
236236
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+
237249 # Optional. If true, the response will include both Place and query predictions.
238250 # Otherwise the response will only return Place predictions.
239251 # Corresponds to the JSON property `includeQueryPredictions`
@@ -334,6 +346,7 @@ def initialize(**args)
334346
335347 # Update properties of this object
336348 def update! ( **args )
349+ @include_pure_service_area_businesses = args [ :include_pure_service_area_businesses ] if args . key? ( :include_pure_service_area_businesses )
337350 @include_query_predictions = args [ :include_query_predictions ] if args . key? ( :include_query_predictions )
338351 @included_primary_types = args [ :included_primary_types ] if args . key? ( :included_primary_types )
339352 @included_region_codes = args [ :included_region_codes ] if args . key? ( :included_region_codes )
@@ -1168,11 +1181,16 @@ class GoogleMapsPlacesV1Place
11681181 # @return [Array<Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceAttribution>]
11691182 attr_accessor :attributions
11701183
1171- #
1184+ # The business status for the place.
11721185 # Corresponds to the JSON property `businessStatus`
11731186 # @return [String]
11741187 attr_accessor :business_status
11751188
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+
11761194 # Specifies if the business supports curbside pickup.
11771195 # Corresponds to the JSON property `curbsidePickup`
11781196 # @return [Boolean]
@@ -1359,6 +1377,12 @@ class GoogleMapsPlacesV1Place
13591377 # @return [String]
13601378 attr_accessor :price_level
13611379
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+
13621386 # The primary type of the given result. This type must one of the Places API
13631387 # supported types. For example, "restaurant", "cafe", "airport", etc. A place
13641388 # can only have a single primary type. For the complete list of possible values,
@@ -1373,6 +1397,16 @@ class GoogleMapsPlacesV1Place
13731397 # @return [Google::Apis::PlacesV1::GoogleTypeLocalizedText]
13741398 attr_accessor :primary_type_display_name
13751399
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+
13761410 # A rating between 1.0 and 5.0, based on user reviews of this place.
13771411 # Corresponds to the JSON property `rating`
13781412 # @return [Float]
@@ -1547,6 +1581,7 @@ def update!(**args)
15471581 @area_summary = args [ :area_summary ] if args . key? ( :area_summary )
15481582 @attributions = args [ :attributions ] if args . key? ( :attributions )
15491583 @business_status = args [ :business_status ] if args . key? ( :business_status )
1584+ @containing_places = args [ :containing_places ] if args . key? ( :containing_places )
15501585 @curbside_pickup = args [ :curbside_pickup ] if args . key? ( :curbside_pickup )
15511586 @current_opening_hours = args [ :current_opening_hours ] if args . key? ( :current_opening_hours )
15521587 @current_secondary_opening_hours = args [ :current_secondary_opening_hours ] if args . key? ( :current_secondary_opening_hours )
@@ -1578,8 +1613,10 @@ def update!(**args)
15781613 @photos = args [ :photos ] if args . key? ( :photos )
15791614 @plus_code = args [ :plus_code ] if args . key? ( :plus_code )
15801615 @price_level = args [ :price_level ] if args . key? ( :price_level )
1616+ @price_range = args [ :price_range ] if args . key? ( :price_range )
15811617 @primary_type = args [ :primary_type ] if args . key? ( :primary_type )
15821618 @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 )
15831620 @rating = args [ :rating ] if args . key? ( :rating )
15841621 @regular_opening_hours = args [ :regular_opening_hours ] if args . key? ( :regular_opening_hours )
15851622 @regular_secondary_opening_hours = args [ :regular_secondary_opening_hours ] if args . key? ( :regular_secondary_opening_hours )
@@ -1743,6 +1780,31 @@ def update!(**args)
17431780 end
17441781 end
17451782
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+
17461808 # Experimental: See https://developers.google.com/maps/documentation/places/web-
17471809 # service/experimental/places-generative for more details. AI-generated summary
17481810 # of the place.
@@ -1841,6 +1903,20 @@ def update!(**args)
18411903 class GoogleMapsPlacesV1PlaceOpeningHours
18421904 include Google ::Apis ::Core ::Hashable
18431905
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+
18441920 # Whether the opening hours period is currently active. For regular opening
18451921 # hours and current opening hours, this field means whether the place is open.
18461922 # For secondary opening hours and current secondary opening hours, this field
@@ -1884,6 +1960,8 @@ def initialize(**args)
18841960
18851961 # Update properties of this object
18861962 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 )
18871965 @open_now = args [ :open_now ] if args . key? ( :open_now )
18881966 @periods = args [ :periods ] if args . key? ( :periods )
18891967 @secondary_hours_type = args [ :secondary_hours_type ] if args . key? ( :secondary_hours_type )
@@ -2188,6 +2266,32 @@ def update!(**args)
21882266 end
21892267 end
21902268
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+
21912295 # Experimental: See https://developers.google.com/maps/documentation/places/web-
21922296 # service/experimental/places-generative for more details. Reference that the
21932297 # generative content is related to.
@@ -2633,6 +2737,18 @@ class GoogleMapsPlacesV1SearchTextRequest
26332737 # @return [Google::Apis::PlacesV1::GoogleMapsPlacesV1SearchTextRequestEvOptions]
26342738 attr_accessor :ev_options
26352739
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+
26362752 # The requested place type. Full list of types supported: https://developers.
26372753 # google.com/maps/documentation/places/web-service/place-types. Only support one
26382754 # included type.
@@ -2772,6 +2888,7 @@ def initialize(**args)
27722888 # Update properties of this object
27732889 def update! ( **args )
27742890 @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 )
27752892 @included_type = args [ :included_type ] if args . key? ( :included_type )
27762893 @language_code = args [ :language_code ] if args . key? ( :language_code )
27772894 @location_bias = args [ :location_bias ] if args . key? ( :location_bias )
0 commit comments