@@ -22,13 +22,14 @@ import "google/maps/places/v1/content_block.proto";
22
22
import "google/maps/places/v1/ev_charging.proto" ;
23
23
import "google/maps/places/v1/fuel_options.proto" ;
24
24
import "google/maps/places/v1/photo.proto" ;
25
+ import "google/maps/places/v1/price_range.proto" ;
25
26
import "google/maps/places/v1/reference.proto" ;
26
27
import "google/maps/places/v1/review.proto" ;
28
+ import "google/protobuf/timestamp.proto" ;
27
29
import "google/type/date.proto" ;
28
30
import "google/type/latlng.proto" ;
29
31
import "google/type/localized_text.proto" ;
30
32
31
- option cc_enable_arenas = true ;
32
33
option csharp_namespace = "Google.Maps.Places.V1" ;
33
34
option go_package = "cloud.google.com/go/maps/places/apiv1/placespb;placespb" ;
34
35
option java_multiple_files = true ;
@@ -193,6 +194,16 @@ message Place {
193
194
// current_opening_hours and current_secondary_opening_hours if there are
194
195
// exceptional hours.
195
196
repeated SpecialDay special_days = 5 ;
197
+
198
+ // The next time the current opening hours period starts up to 7 days in the
199
+ // future. This field is only populated if the opening hours period is not
200
+ // active at the time of serving the request.
201
+ google.protobuf.Timestamp next_open_time = 6 ;
202
+
203
+ // The next time the current opening hours period ends up to 7 days in the
204
+ // future. This field is only populated if the opening hours period is
205
+ // active at the time of serving the request.
206
+ google.protobuf.Timestamp next_close_time = 7 ;
196
207
}
197
208
198
209
// Business status for the place.
@@ -314,6 +325,17 @@ message Place {
314
325
repeated ContentBlock content_blocks = 4 ;
315
326
}
316
327
328
+ // Info about the place in which this place is located.
329
+ message ContainingPlace {
330
+ // The resource name of the place in which this place is located.
331
+ string name = 1 [
332
+ (google.api.resource_reference ) = { type : "places.googleapis.com/Place" }
333
+ ];
334
+
335
+ // The place id of the place in which this place is located.
336
+ string id = 2 ;
337
+ }
338
+
317
339
// This Place's resource name, in `places/{place_id}` format. Can be used to
318
340
// look up the Place.
319
341
string name = 1 ;
@@ -378,7 +400,9 @@ message Place {
378
400
// The position of this place.
379
401
google.type.LatLng location = 12 ;
380
402
381
- // A viewport suitable for displaying the place on an average-sized map.
403
+ // A viewport suitable for displaying the place on an average-sized map. This
404
+ // viewport should not be used as the physical boundary or the service area of
405
+ // the business.
382
406
google.geo.type.Viewport viewport = 13 ;
383
407
384
408
// A rating between 1.0 and 5.0, based on user reviews of this place.
@@ -412,7 +436,6 @@ message Place {
412
436
// The place's address in adr microformat: http://microformats.org/wiki/adr.
413
437
string adr_format_address = 24 ;
414
438
415
- // The business status for the place.
416
439
BusinessStatus business_status = 25 ;
417
440
418
441
// Price level of the place.
@@ -562,6 +585,19 @@ message Place {
562
585
//
563
586
// AI-generated summary of the area that the place is in.
564
587
AreaSummary area_summary = 81 ;
588
+
589
+ // List of places in which the current place is located.
590
+ repeated ContainingPlace containing_places = 82 ;
591
+
592
+ // Indicates whether the place is a pure service area business. Pure service
593
+ // area business is a business that visits or delivers to customers directly
594
+ // but does not serve customers at their business address. For example,
595
+ // businesses like cleaning services or plumbers. Those businesses may not
596
+ // have a physical address or location on Google Maps.
597
+ optional bool pure_service_area_business = 83 ;
598
+
599
+ // The price range associated with a Place.
600
+ PriceRange price_range = 86 ;
565
601
}
566
602
567
603
// Price level of the place.
0 commit comments