@googlemaps/places 1.0.1 → 1.1.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.
@@ -17,8 +17,12 @@ syntax = "proto3";
17
17
  package google.maps.places.v1;
18
18
 
19
19
  import "google/api/field_behavior.proto";
20
+ import "google/api/resource.proto";
20
21
  import "google/geo/type/viewport.proto";
21
- import "google/protobuf/timestamp.proto";
22
+ import "google/maps/places/v1/ev_charging.proto";
23
+ import "google/maps/places/v1/fuel_options.proto";
24
+ import "google/maps/places/v1/photo.proto";
25
+ import "google/maps/places/v1/review.proto";
22
26
  import "google/type/date.proto";
23
27
  import "google/type/latlng.proto";
24
28
  import "google/type/localized_text.proto";
@@ -34,122 +38,86 @@ option php_namespace = "Google\\Maps\\Places\\V1";
34
38
 
35
39
  // All the information representing a Place.
36
40
  message Place {
41
+ option (google.api.resource) = {
42
+ type: "places.googleapis.com/Place"
43
+ pattern: "places/{place_id}"
44
+ plural: "places"
45
+ singular: "place"
46
+ };
47
+
37
48
  // The structured components that form the formatted address, if this
38
49
  // information is available.
39
50
  message AddressComponent {
40
- // The full text description or name of the address component. For example,
41
- // an address component for the country Australia may have a long_name of
42
- // "Australia".
43
- string long_text = 1;
44
-
45
- // An abbreviated textual name for the address component, if available. For
46
- // example, an address component for the country of Australia may have a
47
- // short_name of "AU".
48
- string short_text = 2;
49
-
50
- // An array indicating the type(s) of the address component.
51
- repeated string types = 3;
52
-
53
- // The language used to format this components, in CLDR notation.
54
- string language_code = 4;
51
+ // Output only. The full text description or name of the address component.
52
+ // For example, an address component for the country Australia may have a
53
+ // long_name of "Australia".
54
+ string long_text = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
55
+
56
+ // Output only. An abbreviated textual name for the address component, if
57
+ // available. For example, an address component for the country of Australia
58
+ // may have a short_name of "AU".
59
+ string short_text = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
60
+
61
+ // Output only. An array indicating the type(s) of the address component.
62
+ repeated string types = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
63
+
64
+ // Output only. The language used to format this components, in CLDR
65
+ // notation.
66
+ string language_code = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
55
67
  }
56
68
 
57
69
  // Plus code (http://plus.codes) is a location reference with two formats:
58
70
  // global code defining a 14mx14m (1/8000th of a degree) or smaller rectangle,
59
71
  // and compound code, replacing the prefix with a reference location.
60
72
  message PlusCode {
61
- // Place's global (full) code, such as `9FWM33GV+HQ`, representing an
62
- // 1/8000 by 1/8000 degree area (~14 by 14 meters).
63
- string global_code = 1;
64
-
65
- // Place's compound code, such as `33GV+HQ, Ramberg, Norway`, containing
66
- // the suffix of the global code and replacing the prefix with a formatted
67
- // name of a reference entity.
68
- string compound_code = 2;
69
- }
70
-
71
- // Information about a review of the place.
72
- message Review {
73
- // Timestamp for the review, expressed in seconds since epoch.
74
- google.protobuf.Timestamp publish_time = 1;
75
-
76
- // A string of formatted recent time, expressing the review time relative
77
- // to the current time in a form appropriate for the language and country.
78
- string relative_publish_time_description = 2;
79
-
80
- // The localized text of the review.
81
- google.type.LocalizedText text = 9;
82
-
83
- // The name of the review author.
84
- string author = 4;
85
-
86
- // A link to the review author's profile.
87
- string author_uri = 5;
88
-
89
- // The author's profile photo.
90
- string author_photo_uri = 6;
91
-
92
- // A whole number between 1.0 and 5.0, a.k.a. the number of stars.
93
- double rating = 7;
94
-
95
- // A BCP-47 language code indicating the original language of the review.
96
- // If the review has been translated, then original_language != language.
97
- // This field contains the main language tag only, and not the secondary tag
98
- // indicating country or region. For example, all the English reviews are
99
- // tagged as 'en', and not 'en-AU' or 'en-UK' and so on.This field is empty
100
- // if there is only a rating with no review text.
101
- string original_language_code = 10;
102
-
103
- // A boolean value indicating if the review was translated from the original
104
- // language it was written in. If a review has been translated,
105
- // corresponding to a value of true, Google recommends that you indicate
106
- // this to your users. For example, you can add the following string,
107
- // “Translated by Google”, to the review.
108
- bool translated = 11;
73
+ // Output only. Place's global (full) code, such as "9FWM33GV+HQ",
74
+ // representing an 1/8000 by 1/8000 degree area (~14 by 14 meters).
75
+ string global_code = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
76
+
77
+ // Output only. Place's compound code, such as "33GV+HQ, Ramberg, Norway",
78
+ // containing the suffix of the global code and replacing the prefix with a
79
+ // formatted name of a reference entity.
80
+ string compound_code = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
109
81
  }
110
82
 
111
83
  // Information about business hour of the place.
112
84
  message OpeningHours {
113
85
  // A period the place remains in open_now status.
114
- message OpeningHoursPeriod {
86
+ message Period {
115
87
  // Status changing points.
116
- message OpeningHoursPoint {
117
- // A day of the week, as an integer in the range 0-6. 0 is Sunday, 1 is
118
- // Monday, etc.
119
- optional int32 day = 1;
120
-
121
- // The hour in 2 digits. Ranges from 00 to 23.
122
- optional int32 hour = 2;
123
-
124
- // The minute in 2 digits. Ranges from 00 to 59.
125
- optional int32 minute = 3;
126
-
127
- // Date of the endpoint expressed in `RFC3339` format in the local
128
- // timezone for the place. For example 2010-12-31.
129
- string date_deprecated = 4 [deprecated = true];
130
-
131
- // Date in the local timezone for the place.
132
- google.type.Date date = 6;
133
-
134
- // Whether or not this endpoint was truncated. Truncation occurs when
135
- // the real hours are outside the times we are willing to return hours
136
- // between, so we truncate the hours back to these boundaries. This
137
- // ensures that at most `24 * 7` hours from midnight of the day of the
138
- // request are returned.
139
- bool truncated = 5;
88
+ message Point {
89
+ // Output only. A day of the week, as an integer in the range 0-6. 0 is
90
+ // Sunday, 1 is Monday, etc.
91
+ optional int32 day = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
92
+
93
+ // Output only. The hour in 2 digits. Ranges from 00 to 23.
94
+ optional int32 hour = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
95
+
96
+ // Output only. The minute in 2 digits. Ranges from 00 to 59.
97
+ optional int32 minute = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
98
+
99
+ // Output only. Date in the local timezone for the place.
100
+ google.type.Date date = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
101
+
102
+ // Output only. Whether or not this endpoint was truncated. Truncation
103
+ // occurs when the real hours are outside the times we are willing to
104
+ // return hours between, so we truncate the hours back to these
105
+ // boundaries. This ensures that at most 24 * 7 hours from midnight of
106
+ // the day of the request are returned.
107
+ bool truncated = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
140
108
  }
141
109
 
142
- // The time that the place starts to be open.
143
- OpeningHoursPoint open = 1;
110
+ // Output only. The time that the place starts to be open.
111
+ Point open = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
144
112
 
145
- // The time that the place starts to be closed.
146
- OpeningHoursPoint close = 2;
113
+ // Output only. The time that the place starts to be closed.
114
+ Point close = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
147
115
  }
148
116
 
149
117
  // A type used to identify the type of secondary hours.
150
- enum SecondaryHourType {
118
+ enum SecondaryHoursType {
151
119
  // Default value when secondary hour type is not specified.
152
- SECONDARY_HOUR_TYPE_UNSPECIFIED = 0;
120
+ SECONDARY_HOURS_TYPE_UNSPECIFIED = 0;
153
121
 
154
122
  // The drive-through hour for banks, restaurants, or pharmacies.
155
123
  DRIVE_THROUGH = 1;
@@ -195,34 +163,39 @@ message Place {
195
163
  // the returned opening hours cover. Special days are days that could impact
196
164
  // the business hours of a place, e.g. Christmas day.
197
165
  message SpecialDay {
198
- // The date of this special day.
199
- google.type.Date date = 1;
166
+ // Output only. The date of this special day.
167
+ google.type.Date date = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
200
168
  }
201
169
 
202
- // Is this place open right now? Always present unless we lack time-of-day
203
- // or timezone data for these opening hours.
204
- bool open_now = 1;
205
-
206
- // The periods that this place is open during the week. The periods are in
207
- // chronological order, starting with Sunday in the place-local timezone. An
208
- // empty (but not absent) value indicates a place that is never open, e.g.
209
- // because it is closed temporarily for renovations.
210
- repeated OpeningHoursPeriod periods = 2;
211
-
212
- // Localized strings describing the opening hours of this place, one string
213
- // for each day of the week. Will be empty if the hours are unknown or
214
- // could not be converted to localized text. Example: "Sun: 18:00–06:00"
215
- repeated string weekday_descriptions = 3;
216
-
217
- // A type string used to identify the type of secondary hours.
218
- SecondaryHourType secondary_hour_type = 4;
219
-
220
- // Structured information for special days that fall within the period that
221
- // the returned opening hours cover. Special days are days that could impact
222
- // the business hours of a place, e.g. Christmas day. Set for
170
+ // Output only. Is this place open right now? Always present unless we lack
171
+ // time-of-day or timezone data for these opening hours.
172
+ optional bool open_now = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
173
+
174
+ // Output only. The periods that this place is open during the week. The
175
+ // periods are in chronological order, starting with Sunday in the
176
+ // place-local timezone. An empty (but not absent) value indicates a place
177
+ // that is never open, e.g. because it is closed temporarily for
178
+ // renovations.
179
+ repeated Period periods = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
180
+
181
+ // Output only. Localized strings describing the opening hours of this
182
+ // place, one string for each day of the week. Will be empty if the hours
183
+ // are unknown or could not be converted to localized text. Example: "Sun:
184
+ // 18:00–06:00"
185
+ repeated string weekday_descriptions = 3
186
+ [(google.api.field_behavior) = OUTPUT_ONLY];
187
+
188
+ // Output only. A type string used to identify the type of secondary hours.
189
+ SecondaryHoursType secondary_hours_type = 4
190
+ [(google.api.field_behavior) = OUTPUT_ONLY];
191
+
192
+ // Output only. Structured information for special days that fall within the
193
+ // period that the returned opening hours cover. Special days are days that
194
+ // could impact the business hours of a place, e.g. Christmas day. Set for
223
195
  // current_opening_hours and current_secondary_opening_hours if there are
224
196
  // exceptional hours.
225
- repeated SpecialDay special_days = 5;
197
+ repeated SpecialDay special_days = 5
198
+ [(google.api.field_behavior) = OUTPUT_ONLY];
226
199
  }
227
200
 
228
201
  // Business status for the place.
@@ -242,165 +215,308 @@ message Place {
242
215
 
243
216
  // Information about data providers of this place.
244
217
  message Attribution {
245
- // Name of the Place's data provider.
246
- string provider = 1;
218
+ // Output only. Name of the Place's data provider.
219
+ string provider = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
247
220
 
248
- // URI to the Place's data provider.
249
- string provider_uri = 2;
221
+ // Output only. URI to the Place's data provider.
222
+ string provider_uri = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
250
223
  }
251
224
 
252
- // Contains a summary of the place.
253
- message EditorialSummary {
254
- // A summary is comprised of a textual overview, and also includes the
255
- // language code for these if applicable. Summary text must be presented
256
- // as-is and can not be modified or altered.
257
- google.type.LocalizedText overview = 1;
225
+ // Payment options the place accepts.
226
+ message PaymentOptions {
227
+ // Place accepts credit cards as payment.
228
+ optional bool accepts_credit_cards = 1;
229
+
230
+ // Place accepts debit cards as payment.
231
+ optional bool accepts_debit_cards = 2;
232
+
233
+ // Place accepts cash only as payment. Places with this attribute may still
234
+ // accept other payment methods.
235
+ optional bool accepts_cash_only = 3;
236
+
237
+ // Place accepts NFC payments.
238
+ optional bool accepts_nfc = 4;
258
239
  }
259
240
 
260
- // Required. The unique identifier of a place.
261
- string id = 2 [(google.api.field_behavior) = REQUIRED];
241
+ // Information about parking options for the place. A parking lot could
242
+ // support more than one option at the same time.
243
+ message ParkingOptions {
244
+ // Place offers free parking lots.
245
+ optional bool free_parking_lot = 1;
262
246
 
263
- // The localized name of the place, suitable as a short human-readable
264
- // description. For example, "Google Sydney", "Starbucks", "Pyrmont", etc.
265
- google.type.LocalizedText display_name = 31;
247
+ // Place offers paid parking lots.
248
+ optional bool paid_parking_lot = 2;
266
249
 
267
- // A set of type tags for this result. For example, "political" and
268
- // "locality".
269
- repeated string types = 5;
250
+ // Place offers free street parking.
251
+ optional bool free_street_parking = 3;
270
252
 
271
- // A human-readable phone number for the place, in national format.
272
- string national_phone_number = 7;
253
+ // Place offers paid street parking.
254
+ optional bool paid_street_parking = 4;
273
255
 
274
- // A human-readable phone number for the place, in international format.
275
- string international_phone_number = 8;
256
+ // Place offers valet parking.
257
+ optional bool valet_parking = 5;
276
258
 
277
- // A full, human-readable address for this place.
278
- string formatted_address = 9;
259
+ // Place offers free garage parking.
260
+ optional bool free_garage_parking = 6;
261
+
262
+ // Place offers paid garage parking.
263
+ optional bool paid_garage_parking = 7;
264
+ }
279
265
 
280
- // Repeated components for each locality level.
281
- repeated AddressComponent address_components = 10;
266
+ // Place resource name and id of sub destinations that relate to the place.
267
+ // For example, different terminals are different destinations of an airport.
268
+ message SubDestination {
269
+ // The resource name of the sub destination.
270
+ string name = 1 [
271
+ (google.api.resource_reference) = { type: "places.googleapis.com/Place" }
272
+ ];
282
273
 
283
- // Plus code of the place location lat/long.
284
- PlusCode plus_code = 11;
274
+ // The place id of the sub destination.
275
+ string id = 2;
276
+ }
277
+
278
+ // Information about the accessibility options a place offers.
279
+ message AccessibilityOptions {
280
+ // Places has wheelchair accessible entrance.
281
+ optional bool wheelchair_accessible_entrance = 2;
282
+ }
285
283
 
286
- // The position of this place.
287
- google.type.LatLng location = 12;
284
+ // Output only. An ID representing this place which may be used to look up
285
+ // this place again (a.k.a. the API "resource" name: places/<place_id>).
286
+ string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
288
287
 
289
- // A viewport suitable for displaying the place on an average-sized map.
290
- google.geo.type.Viewport viewport = 13;
288
+ // Output only. The unique identifier of a place.
289
+ string id = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
291
290
 
292
- // A rating between 1.0 and 5.0, based on user reviews of this place.
293
- double rating = 14;
291
+ // Output only. The localized name of the place, suitable as a short
292
+ // human-readable description. For example, "Google Sydney", "Starbucks",
293
+ // "Pyrmont", etc.
294
+ google.type.LocalizedText display_name = 31
295
+ [(google.api.field_behavior) = OUTPUT_ONLY];
294
296
 
295
- // A URL providing more information about this place.
296
- string google_maps_uri = 15;
297
+ // Output only. A set of type tags for this result. For example, "political"
298
+ // and "locality".
299
+ repeated string types = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
297
300
 
298
- // The authoritative website for this place, e.g. a business' homepage.
299
- // Note that for places that are part of a chain (e.g. an IKEA store), this
300
- // will usually be the website for the individual store, not the overall
301
- // chain.
302
- string website_uri = 16;
301
+ // Output only. A human-readable phone number for the place, in national
302
+ // format.
303
+ string national_phone_number = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
303
304
 
304
- // List of reviews about this place.
305
- repeated Review reviews = 20;
305
+ // Output only. A human-readable phone number for the place, in international
306
+ // format.
307
+ string international_phone_number = 8
308
+ [(google.api.field_behavior) = OUTPUT_ONLY];
306
309
 
307
- // The regular hours of operation.
308
- OpeningHours opening_hours = 21;
310
+ // Output only. A full, human-readable address for this place.
311
+ string formatted_address = 9 [(google.api.field_behavior) = OUTPUT_ONLY];
309
312
 
310
- // Number of minutes this place's timezone is currently offset from UTC.
311
- // This is expressed in minutes to support timezones that are offset by
312
- // fractions of an hour, e.g. X hours and 15 minutes.
313
- int32 utc_offset_minutes = 22;
313
+ // Output only. Repeated components for each locality level.
314
+ repeated AddressComponent address_components = 10
315
+ [(google.api.field_behavior) = OUTPUT_ONLY];
314
316
 
315
- // The place's address in adr microformat: http://microformats.org/wiki/adr.
316
- string adr_format_address = 24;
317
+ // Output only. Plus code of the place location lat/long.
318
+ PlusCode plus_code = 11 [(google.api.field_behavior) = OUTPUT_ONLY];
317
319
 
318
- // The business status for the place.
319
- BusinessStatus business_status = 25;
320
+ // Output only. The position of this place.
321
+ google.type.LatLng location = 12 [(google.api.field_behavior) = OUTPUT_ONLY];
320
322
 
321
- // Price level of the place.
322
- PriceLevel price_level = 26;
323
+ // Output only. A viewport suitable for displaying the place on an
324
+ // average-sized map.
325
+ google.geo.type.Viewport viewport = 13
326
+ [(google.api.field_behavior) = OUTPUT_ONLY];
323
327
 
324
- // A set of data provider that must be shown with this result.
325
- repeated Attribution attributions = 27;
328
+ // Output only. A rating between 1.0 and 5.0, based on user reviews of this
329
+ // place.
330
+ double rating = 14 [(google.api.field_behavior) = OUTPUT_ONLY];
326
331
 
327
- // The total number of reviews (with or without text) for this place.
328
- int32 user_rating_count = 28;
332
+ // Output only. A URL providing more information about this place.
333
+ string google_maps_uri = 15 [(google.api.field_behavior) = OUTPUT_ONLY];
329
334
 
330
- // A truncated URL to an v2 icon mask. User can access different icon type by
331
- // appending type suffix to the end (eg, ".svg" or ".png").
332
- string icon_mask_base_uri = 29;
335
+ // Output only. The authoritative website for this place, e.g. a business'
336
+ // homepage. Note that for places that are part of a chain (e.g. an IKEA
337
+ // store), this will usually be the website for the individual store, not the
338
+ // overall chain.
339
+ string website_uri = 16 [(google.api.field_behavior) = OUTPUT_ONLY];
333
340
 
334
- // Background color for icon_mask in hex format, e.g. #909CE1.
335
- string icon_background_color = 30;
341
+ // Output only. List of reviews about this place.
342
+ repeated Review reviews = 53 [(google.api.field_behavior) = OUTPUT_ONLY];
336
343
 
337
- // Specifies if the business supports takeout.
338
- optional bool takeout = 33;
344
+ // Output only. The regular hours of operation.
345
+ OpeningHours regular_opening_hours = 21
346
+ [(google.api.field_behavior) = OUTPUT_ONLY];
339
347
 
340
- // Specifies if the business supports delivery.
341
- optional bool delivery = 34;
348
+ // Output only. Number of minutes this place's timezone is currently offset
349
+ // from UTC. This is expressed in minutes to support timezones that are offset
350
+ // by fractions of an hour, e.g. X hours and 15 minutes.
351
+ optional int32 utc_offset_minutes = 22
352
+ [(google.api.field_behavior) = OUTPUT_ONLY];
342
353
 
343
- // Specifies if the business supports indoor or outdoor seating options.
344
- optional bool dine_in = 35;
354
+ // Output only. Information (including references) about photos of this place.
355
+ repeated Photo photos = 54 [(google.api.field_behavior) = OUTPUT_ONLY];
345
356
 
346
- // Specifies if the business supports curbside pickup.
347
- optional bool curbside_pickup = 36;
357
+ // Output only. The place's address in adr microformat:
358
+ // http://microformats.org/wiki/adr.
359
+ string adr_format_address = 24 [(google.api.field_behavior) = OUTPUT_ONLY];
348
360
 
349
- // Specifies if the place has an entrance that is wheelchair-accessible.
350
- optional bool wheelchair_accessible_entrance = 37;
361
+ // Output only. The business status for the place.
362
+ BusinessStatus business_status = 25
363
+ [(google.api.field_behavior) = OUTPUT_ONLY];
351
364
 
352
- // Specifies if the place supports reservations.
353
- optional bool reservable = 38;
365
+ // Output only. Price level of the place.
366
+ PriceLevel price_level = 26 [(google.api.field_behavior) = OUTPUT_ONLY];
354
367
 
355
- // Specifies if the place serves breakfast.
356
- optional bool serves_breakfast = 39;
368
+ // Output only. A set of data provider that must be shown with this result.
369
+ repeated Attribution attributions = 27
370
+ [(google.api.field_behavior) = OUTPUT_ONLY];
357
371
 
358
- // Specifies if the place serves lunch.
359
- optional bool serves_lunch = 40;
372
+ // Output only. The total number of reviews (with or without text) for this
373
+ // place.
374
+ optional int32 user_rating_count = 28
375
+ [(google.api.field_behavior) = OUTPUT_ONLY];
360
376
 
361
- // Specifies if the place serves dinner.
362
- optional bool serves_dinner = 41;
377
+ // Output only. A truncated URL to an v2 icon mask. User can access different
378
+ // icon type by appending type suffix to the end (eg, ".svg" or ".png").
379
+ string icon_mask_base_uri = 29 [(google.api.field_behavior) = OUTPUT_ONLY];
363
380
 
364
- // Specifies if the place serves beer.
365
- optional bool serves_beer = 42;
381
+ // Output only. Background color for icon_mask in hex format, e.g. #909CE1.
382
+ string icon_background_color = 30 [(google.api.field_behavior) = OUTPUT_ONLY];
366
383
 
367
- // Specifies if the place serves wine.
368
- optional bool serves_wine = 43;
384
+ // Output only. Specifies if the business supports takeout.
385
+ optional bool takeout = 33 [(google.api.field_behavior) = OUTPUT_ONLY];
369
386
 
370
- // Specifies if the place serves brunch.
371
- optional bool serves_brunch = 44;
387
+ // Output only. Specifies if the business supports delivery.
388
+ optional bool delivery = 34 [(google.api.field_behavior) = OUTPUT_ONLY];
372
389
 
373
- // Specifies if the place serves vegetarian food.
374
- optional bool serves_vegetarian_food = 45;
390
+ // Output only. Specifies if the business supports indoor or outdoor seating
391
+ // options.
392
+ optional bool dine_in = 35 [(google.api.field_behavior) = OUTPUT_ONLY];
375
393
 
376
- // The hours of operation for the next seven days (including today). The time
377
- // period starts at midnight on the date of the request and ends at 11:59 pm
378
- // six days later. This field includes the special_days subfield of all hours,
379
- // set for dates that have exceptional hours.
380
- OpeningHours current_opening_hours = 46;
394
+ // Output only. Specifies if the business supports curbside pickup.
395
+ optional bool curbside_pickup = 36
396
+ [(google.api.field_behavior) = OUTPUT_ONLY];
381
397
 
382
- // Contains an array of entries for the next seven days including information
383
- // about secondary hours of a business. Secondary hours are different from a
398
+ // Output only. Specifies if the place supports reservations.
399
+ optional bool reservable = 38 [(google.api.field_behavior) = OUTPUT_ONLY];
400
+
401
+ // Output only. Specifies if the place serves breakfast.
402
+ optional bool serves_breakfast = 39
403
+ [(google.api.field_behavior) = OUTPUT_ONLY];
404
+
405
+ // Output only. Specifies if the place serves lunch.
406
+ optional bool serves_lunch = 40 [(google.api.field_behavior) = OUTPUT_ONLY];
407
+
408
+ // Output only. Specifies if the place serves dinner.
409
+ optional bool serves_dinner = 41 [(google.api.field_behavior) = OUTPUT_ONLY];
410
+
411
+ // Output only. Specifies if the place serves beer.
412
+ optional bool serves_beer = 42 [(google.api.field_behavior) = OUTPUT_ONLY];
413
+
414
+ // Output only. Specifies if the place serves wine.
415
+ optional bool serves_wine = 43 [(google.api.field_behavior) = OUTPUT_ONLY];
416
+
417
+ // Output only. Specifies if the place serves brunch.
418
+ optional bool serves_brunch = 44 [(google.api.field_behavior) = OUTPUT_ONLY];
419
+
420
+ // Output only. Specifies if the place serves vegetarian food.
421
+ optional bool serves_vegetarian_food = 45
422
+ [(google.api.field_behavior) = OUTPUT_ONLY];
423
+
424
+ // Output only. The hours of operation for the next seven days (including
425
+ // today). The time period starts at midnight on the date of the request and
426
+ // ends at 11:59 pm six days later. This field includes the special_days
427
+ // subfield of all hours, set for dates that have exceptional hours.
428
+ OpeningHours current_opening_hours = 46
429
+ [(google.api.field_behavior) = OUTPUT_ONLY];
430
+
431
+ // Output only. Contains an array of entries for the next seven days including
432
+ // information about secondary hours of a business. Secondary hours are
433
+ // different from a business's main hours. For example, a restaurant can
434
+ // specify drive through hours or delivery hours as its secondary hours. This
435
+ // field populates the type subfield, which draws from a predefined list of
436
+ // opening hours types (such as DRIVE_THROUGH, PICKUP, or TAKEOUT) based on
437
+ // the types of the place. This field includes the special_days subfield of
438
+ // all hours, set for dates that have exceptional hours.
439
+ repeated OpeningHours current_secondary_opening_hours = 47
440
+ [(google.api.field_behavior) = OUTPUT_ONLY];
441
+
442
+ // Output only. Contains an array of entries for information about regular
443
+ // secondary hours of a business. Secondary hours are different from a
384
444
  // business's main hours. For example, a restaurant can specify drive through
385
445
  // hours or delivery hours as its secondary hours. This field populates the
386
446
  // type subfield, which draws from a predefined list of opening hours types
387
447
  // (such as DRIVE_THROUGH, PICKUP, or TAKEOUT) based on the types of the
388
- // place. This field includes the special_days subfield of all hours, set for
389
- // dates that have exceptional hours.
390
- repeated OpeningHours current_secondary_opening_hours = 47;
391
-
392
- // Contains an array of entries for information about regular secondary hours
393
- // of a business. Secondary hours are different from a business's main hours.
394
- // For example, a restaurant can specify drive through hours or delivery hours
395
- // as its secondary hours. This field populates the type subfield, which draws
396
- // from a predefined list of opening hours types (such as DRIVE_THROUGH,
397
- // PICKUP, or TAKEOUT) based on the types of the place.
398
- repeated OpeningHours secondary_opening_hours = 49;
399
-
400
- // Contains a summary of the place. A summary is comprised of a textual
401
- // overview, and also includes the language code for these if applicable.
402
- // Summary text must be presented as-is and can not be modified or altered.
403
- EditorialSummary editorial_summary = 48;
448
+ // place.
449
+ repeated OpeningHours regular_secondary_opening_hours = 49
450
+ [(google.api.field_behavior) = OUTPUT_ONLY];
451
+
452
+ // Output only. Contains a summary of the place. A summary is comprised of a
453
+ // textual overview, and also includes the language code for these if
454
+ // applicable. Summary text must be presented as-is and can not be modified or
455
+ // altered.
456
+ google.type.LocalizedText editorial_summary = 52
457
+ [(google.api.field_behavior) = OUTPUT_ONLY];
458
+
459
+ // Output only. Place provides outdoor seating.
460
+ optional bool outdoor_seating = 55
461
+ [(google.api.field_behavior) = OUTPUT_ONLY];
462
+
463
+ // Output only. Place provides live music.
464
+ optional bool live_music = 56 [(google.api.field_behavior) = OUTPUT_ONLY];
465
+
466
+ // Output only. Place has a children's menu.
467
+ optional bool menu_for_children = 57
468
+ [(google.api.field_behavior) = OUTPUT_ONLY];
469
+
470
+ // Output only. Place serves cocktails.
471
+ optional bool serves_cocktails = 58
472
+ [(google.api.field_behavior) = OUTPUT_ONLY];
473
+
474
+ // Output only. Place serves dessert.
475
+ optional bool serves_dessert = 59 [(google.api.field_behavior) = OUTPUT_ONLY];
476
+
477
+ // Output only. Place serves coffee.
478
+ optional bool serves_coffee = 60 [(google.api.field_behavior) = OUTPUT_ONLY];
479
+
480
+ // Output only. Place is good for children.
481
+ optional bool good_for_children = 62
482
+ [(google.api.field_behavior) = OUTPUT_ONLY];
483
+
484
+ // Output only. Place allows dogs.
485
+ optional bool allows_dogs = 63 [(google.api.field_behavior) = OUTPUT_ONLY];
486
+
487
+ // Output only. Place has restroom.
488
+ optional bool restroom = 64 [(google.api.field_behavior) = OUTPUT_ONLY];
489
+
490
+ // Output only. Place accommodates groups.
491
+ optional bool good_for_groups = 65
492
+ [(google.api.field_behavior) = OUTPUT_ONLY];
493
+
494
+ // Output only. Place is suitable for watching sports.
495
+ optional bool good_for_watching_sports = 66
496
+ [(google.api.field_behavior) = OUTPUT_ONLY];
497
+
498
+ PaymentOptions payment_options = 67
499
+ [(google.api.field_behavior) = OUTPUT_ONLY];
500
+
501
+ // Output only. Options of parking provided by the place.
502
+ ParkingOptions parking_options = 70
503
+ [(google.api.field_behavior) = OUTPUT_ONLY];
504
+
505
+ // Output only. A list of sub destinations related to the place.
506
+ repeated SubDestination sub_destinations = 71
507
+ [(google.api.field_behavior) = OUTPUT_ONLY];
508
+
509
+ // Output only. Information about the accessibility options a place offers.
510
+ optional AccessibilityOptions accessibility_options = 72
511
+ [(google.api.field_behavior) = OUTPUT_ONLY];
512
+
513
+ // Output only. The most recent information about fuel options in a gas
514
+ // station. This information is updated regularly.
515
+ FuelOptions fuel_options = 78 [(google.api.field_behavior) = OUTPUT_ONLY];
516
+
517
+ // Output only. Information of ev charging options.
518
+ EVChargeOptions ev_charge_options = 79
519
+ [(google.api.field_behavior) = OUTPUT_ONLY];
404
520
  }
405
521
 
406
522
  // Price level of the place.
@@ -408,17 +524,18 @@ enum PriceLevel {
408
524
  // Place price level is unspecified or unknown.
409
525
  PRICE_LEVEL_UNSPECIFIED = 0;
410
526
 
411
- FREE = 1;
527
+ // Place provides free services.
528
+ PRICE_LEVEL_FREE = 1;
412
529
 
413
530
  // Place provides inexpensive services.
414
- INEXPENSIVE = 2;
531
+ PRICE_LEVEL_INEXPENSIVE = 2;
415
532
 
416
533
  // Place provides moderately priced services.
417
- MODERATE = 3;
534
+ PRICE_LEVEL_MODERATE = 3;
418
535
 
419
536
  // Place provides expensive services.
420
- EXPENSIVE = 4;
537
+ PRICE_LEVEL_EXPENSIVE = 4;
421
538
 
422
- // Place provides very expensive services.
423
- VERY_EXPENSIVE = 5;
539
+ // Place provides very expensive service s.
540
+ PRICE_LEVEL_VERY_EXPENSIVE = 5;
424
541
  }