@googlemaps/places 1.1.0 → 1.2.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.
@@ -16,7 +16,6 @@ syntax = "proto3";
16
16
 
17
17
  package google.maps.places.v1;
18
18
 
19
- import "google/api/field_behavior.proto";
20
19
  import "google/api/resource.proto";
21
20
  import "google/geo/type/viewport.proto";
22
21
  import "google/maps/places/v1/ev_charging.proto";
@@ -48,36 +47,35 @@ message Place {
48
47
  // The structured components that form the formatted address, if this
49
48
  // information is available.
50
49
  message AddressComponent {
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];
50
+ // The full text description or name of the address component. For example,
51
+ // an address component for the country Australia may have a long_name of
52
+ // "Australia".
53
+ string long_text = 1;
54
+
55
+ // An abbreviated textual name for the address component, if available. For
56
+ // example, an address component for the country of Australia may have a
57
+ // short_name of "AU".
58
+ string short_text = 2;
59
+
60
+ // An array indicating the type(s) of the address component.
61
+ repeated string types = 3;
62
+
63
+ // The language used to format this components, in CLDR notation.
64
+ string language_code = 4;
67
65
  }
68
66
 
69
67
  // Plus code (http://plus.codes) is a location reference with two formats:
70
68
  // global code defining a 14mx14m (1/8000th of a degree) or smaller rectangle,
71
69
  // and compound code, replacing the prefix with a reference location.
72
70
  message PlusCode {
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];
71
+ // Place's global (full) code, such as "9FWM33GV+HQ", representing an
72
+ // 1/8000 by 1/8000 degree area (~14 by 14 meters).
73
+ string global_code = 1;
74
+
75
+ // Place's compound code, such as "33GV+HQ, Ramberg, Norway", containing
76
+ // the suffix of the global code and replacing the prefix with a formatted
77
+ // name of a reference entity.
78
+ string compound_code = 2;
81
79
  }
82
80
 
83
81
  // Information about business hour of the place.
@@ -86,32 +84,32 @@ message Place {
86
84
  message Period {
87
85
  // Status changing points.
88
86
  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];
87
+ // A day of the week, as an integer in the range 0-6. 0 is Sunday, 1 is
88
+ // Monday, etc.
89
+ optional int32 day = 1;
92
90
 
93
- // Output only. The hour in 2 digits. Ranges from 00 to 23.
94
- optional int32 hour = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
91
+ // The hour in 2 digits. Ranges from 00 to 23.
92
+ optional int32 hour = 2;
95
93
 
96
- // Output only. The minute in 2 digits. Ranges from 00 to 59.
97
- optional int32 minute = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
94
+ // The minute in 2 digits. Ranges from 00 to 59.
95
+ optional int32 minute = 3;
98
96
 
99
- // Output only. Date in the local timezone for the place.
100
- google.type.Date date = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
97
+ // Date in the local timezone for the place.
98
+ google.type.Date date = 6;
101
99
 
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];
100
+ // Whether or not this endpoint was truncated. Truncation occurs when
101
+ // the real hours are outside the times we are willing to return hours
102
+ // between, so we truncate the hours back to these boundaries. This
103
+ // ensures that at most 24 * 7 hours from midnight of the day of the
104
+ // request are returned.
105
+ bool truncated = 5;
108
106
  }
109
107
 
110
- // Output only. The time that the place starts to be open.
111
- Point open = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
108
+ // The time that the place starts to be open.
109
+ Point open = 1;
112
110
 
113
- // Output only. The time that the place starts to be closed.
114
- Point close = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
111
+ // The time that the place starts to be closed.
112
+ Point close = 2;
115
113
  }
116
114
 
117
115
  // A type used to identify the type of secondary hours.
@@ -163,39 +161,34 @@ message Place {
163
161
  // the returned opening hours cover. Special days are days that could impact
164
162
  // the business hours of a place, e.g. Christmas day.
165
163
  message SpecialDay {
166
- // Output only. The date of this special day.
167
- google.type.Date date = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
164
+ // The date of this special day.
165
+ google.type.Date date = 1;
168
166
  }
169
167
 
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
168
+ // Is this place open right now? Always present unless we lack time-of-day
169
+ // or timezone data for these opening hours.
170
+ optional bool open_now = 1;
171
+
172
+ // The periods that this place is open during the week. The periods are in
173
+ // chronological order, starting with Sunday in the place-local timezone. An
174
+ // empty (but not absent) value indicates a place that is never open, e.g.
175
+ // because it is closed temporarily for renovations.
176
+ repeated Period periods = 2;
177
+
178
+ // Localized strings describing the opening hours of this place, one string
179
+ // for each day of the week. Will be empty if the hours are unknown or
180
+ // could not be converted to localized text. Example: "Sun: 18:00–06:00"
181
+ repeated string weekday_descriptions = 3;
182
+
183
+ // A type string used to identify the type of secondary hours.
184
+ SecondaryHoursType secondary_hours_type = 4;
185
+
186
+ // Structured information for special days that fall within the period that
187
+ // the returned opening hours cover. Special days are days that could impact
188
+ // the business hours of a place, e.g. Christmas day. Set for
195
189
  // current_opening_hours and current_secondary_opening_hours if there are
196
190
  // exceptional hours.
197
- repeated SpecialDay special_days = 5
198
- [(google.api.field_behavior) = OUTPUT_ONLY];
191
+ repeated SpecialDay special_days = 5;
199
192
  }
200
193
 
201
194
  // Business status for the place.
@@ -215,11 +208,11 @@ message Place {
215
208
 
216
209
  // Information about data providers of this place.
217
210
  message Attribution {
218
- // Output only. Name of the Place's data provider.
219
- string provider = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
211
+ // Name of the Place's data provider.
212
+ string provider = 1;
220
213
 
221
- // Output only. URI to the Place's data provider.
222
- string provider_uri = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
214
+ // URI to the Place's data provider.
215
+ string provider_uri = 2;
223
216
  }
224
217
 
225
218
  // Payment options the place accepts.
@@ -277,246 +270,251 @@ message Place {
277
270
 
278
271
  // Information about the accessibility options a place offers.
279
272
  message AccessibilityOptions {
273
+ // Place offers wheelchair accessible parking.
274
+ optional bool wheelchair_accessible_parking = 1;
275
+
280
276
  // Places has wheelchair accessible entrance.
281
277
  optional bool wheelchair_accessible_entrance = 2;
278
+
279
+ // Place has wheelchair accessible restroom.
280
+ optional bool wheelchair_accessible_restroom = 3;
281
+
282
+ // Place has wheelchair accessible seating.
283
+ optional bool wheelchair_accessible_seating = 4;
282
284
  }
283
285
 
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];
286
+ // An ID representing this place which may be used to look up this place
287
+ // again (a.k.a. the API "resource" name: places/place_id).
288
+ string name = 1;
289
+
290
+ // The unique identifier of a place.
291
+ string id = 2;
292
+
293
+ // The localized name of the place, suitable as a short human-readable
294
+ // description. For example, "Google Sydney", "Starbucks", "Pyrmont", etc.
295
+ google.type.LocalizedText display_name = 31;
296
+
297
+ // A set of type tags for this result. For example, "political" and
298
+ // "locality". For the complete list of possible values, see Table A and
299
+ // Table B at
300
+ // https://developers.google.com/maps/documentation/places/web-service/place-types
301
+ repeated string types = 5;
287
302
 
288
- // Output only. The unique identifier of a place.
289
- string id = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
303
+ // The primary type of the given result. This type must one of the Places API
304
+ // supported types. For example, "restaurant", "cafe", "airport", etc. A
305
+ // place can only have a single primary type. For the complete list of
306
+ // possible values, see Table A and Table B at
307
+ // https://developers.google.com/maps/documentation/places/web-service/place-types
308
+ string primary_type = 50;
290
309
 
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];
310
+ // The display name of the primary type, localized to the request language if
311
+ // applicable. For the complete list of possible values, see Table A and
312
+ // Table B at
313
+ // https://developers.google.com/maps/documentation/places/web-service/place-types
314
+ google.type.LocalizedText primary_type_display_name = 32;
296
315
 
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];
316
+ // A human-readable phone number for the place, in national format.
317
+ string national_phone_number = 7;
300
318
 
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];
319
+ // A human-readable phone number for the place, in international format.
320
+ string international_phone_number = 8;
304
321
 
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];
322
+ // A full, human-readable address for this place.
323
+ string formatted_address = 9;
309
324
 
310
- // Output only. A full, human-readable address for this place.
311
- string formatted_address = 9 [(google.api.field_behavior) = OUTPUT_ONLY];
325
+ // A short, human-readable address for this place.
326
+ string short_formatted_address = 51;
312
327
 
313
- // Output only. Repeated components for each locality level.
314
- repeated AddressComponent address_components = 10
315
- [(google.api.field_behavior) = OUTPUT_ONLY];
328
+ // Repeated components for each locality level.
329
+ // Note the following facts about the address_components[] array:
330
+ // - The array of address components may contain more components than the
331
+ // formatted_address.
332
+ // - The array does not necessarily include all the political entities that
333
+ // contain an address, apart from those included in the formatted_address. To
334
+ // retrieve all the political entities that contain a specific address, you
335
+ // should use reverse geocoding, passing the latitude/longitude of the address
336
+ // as a parameter to the request.
337
+ // - The format of the response is not guaranteed to remain the same between
338
+ // requests. In particular, the number of address_components varies based on
339
+ // the address requested and can change over time for the same address. A
340
+ // component can change position in the array. The type of the component can
341
+ // change. A particular component may be missing in a later response.
342
+ repeated AddressComponent address_components = 10;
316
343
 
317
- // Output only. Plus code of the place location lat/long.
318
- PlusCode plus_code = 11 [(google.api.field_behavior) = OUTPUT_ONLY];
344
+ // Plus code of the place location lat/long.
345
+ PlusCode plus_code = 11;
319
346
 
320
- // Output only. The position of this place.
321
- google.type.LatLng location = 12 [(google.api.field_behavior) = OUTPUT_ONLY];
347
+ // The position of this place.
348
+ google.type.LatLng location = 12;
322
349
 
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];
350
+ // A viewport suitable for displaying the place on an average-sized map.
351
+ google.geo.type.Viewport viewport = 13;
327
352
 
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];
353
+ // A rating between 1.0 and 5.0, based on user reviews of this place.
354
+ double rating = 14;
331
355
 
332
- // Output only. A URL providing more information about this place.
333
- string google_maps_uri = 15 [(google.api.field_behavior) = OUTPUT_ONLY];
356
+ // A URL providing more information about this place.
357
+ string google_maps_uri = 15;
334
358
 
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];
359
+ // The authoritative website for this place, e.g. a business' homepage.
360
+ // Note that for places that are part of a chain (e.g. an IKEA store), this
361
+ // will usually be the website for the individual store, not the overall
362
+ // chain.
363
+ string website_uri = 16;
340
364
 
341
- // Output only. List of reviews about this place.
342
- repeated Review reviews = 53 [(google.api.field_behavior) = OUTPUT_ONLY];
365
+ // List of reviews about this place, sorted by relevance.
366
+ repeated Review reviews = 53;
343
367
 
344
- // Output only. The regular hours of operation.
345
- OpeningHours regular_opening_hours = 21
346
- [(google.api.field_behavior) = OUTPUT_ONLY];
368
+ // The regular hours of operation.
369
+ OpeningHours regular_opening_hours = 21;
347
370
 
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];
371
+ // Number of minutes this place's timezone is currently offset from UTC.
372
+ // This is expressed in minutes to support timezones that are offset by
373
+ // fractions of an hour, e.g. X hours and 15 minutes.
374
+ optional int32 utc_offset_minutes = 22;
353
375
 
354
- // Output only. Information (including references) about photos of this place.
355
- repeated Photo photos = 54 [(google.api.field_behavior) = OUTPUT_ONLY];
376
+ // Information (including references) about photos of this place.
377
+ repeated Photo photos = 54;
356
378
 
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];
379
+ // The place's address in adr microformat: http://microformats.org/wiki/adr.
380
+ string adr_format_address = 24;
360
381
 
361
- // Output only. The business status for the place.
362
- BusinessStatus business_status = 25
363
- [(google.api.field_behavior) = OUTPUT_ONLY];
382
+ // The business status for the place.
383
+ BusinessStatus business_status = 25;
364
384
 
365
- // Output only. Price level of the place.
366
- PriceLevel price_level = 26 [(google.api.field_behavior) = OUTPUT_ONLY];
385
+ // Price level of the place.
386
+ PriceLevel price_level = 26;
367
387
 
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];
388
+ // A set of data provider that must be shown with this result.
389
+ repeated Attribution attributions = 27;
371
390
 
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];
391
+ // The total number of reviews (with or without text) for this place.
392
+ optional int32 user_rating_count = 28;
376
393
 
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];
394
+ // A truncated URL to an icon mask. User can access different icon type by
395
+ // appending type suffix to the end (eg, ".svg" or ".png").
396
+ string icon_mask_base_uri = 29;
380
397
 
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];
398
+ // Background color for icon_mask in hex format, e.g. #909CE1.
399
+ string icon_background_color = 30;
383
400
 
384
- // Output only. Specifies if the business supports takeout.
385
- optional bool takeout = 33 [(google.api.field_behavior) = OUTPUT_ONLY];
401
+ // Specifies if the business supports takeout.
402
+ optional bool takeout = 33;
386
403
 
387
- // Output only. Specifies if the business supports delivery.
388
- optional bool delivery = 34 [(google.api.field_behavior) = OUTPUT_ONLY];
404
+ // Specifies if the business supports delivery.
405
+ optional bool delivery = 34;
389
406
 
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];
407
+ // Specifies if the business supports indoor or outdoor seating options.
408
+ optional bool dine_in = 35;
393
409
 
394
- // Output only. Specifies if the business supports curbside pickup.
395
- optional bool curbside_pickup = 36
396
- [(google.api.field_behavior) = OUTPUT_ONLY];
410
+ // Specifies if the business supports curbside pickup.
411
+ optional bool curbside_pickup = 36;
397
412
 
398
- // Output only. Specifies if the place supports reservations.
399
- optional bool reservable = 38 [(google.api.field_behavior) = OUTPUT_ONLY];
413
+ // Specifies if the place supports reservations.
414
+ optional bool reservable = 38;
400
415
 
401
- // Output only. Specifies if the place serves breakfast.
402
- optional bool serves_breakfast = 39
403
- [(google.api.field_behavior) = OUTPUT_ONLY];
416
+ // Specifies if the place serves breakfast.
417
+ optional bool serves_breakfast = 39;
404
418
 
405
- // Output only. Specifies if the place serves lunch.
406
- optional bool serves_lunch = 40 [(google.api.field_behavior) = OUTPUT_ONLY];
419
+ // Specifies if the place serves lunch.
420
+ optional bool serves_lunch = 40;
407
421
 
408
- // Output only. Specifies if the place serves dinner.
409
- optional bool serves_dinner = 41 [(google.api.field_behavior) = OUTPUT_ONLY];
422
+ // Specifies if the place serves dinner.
423
+ optional bool serves_dinner = 41;
410
424
 
411
- // Output only. Specifies if the place serves beer.
412
- optional bool serves_beer = 42 [(google.api.field_behavior) = OUTPUT_ONLY];
425
+ // Specifies if the place serves beer.
426
+ optional bool serves_beer = 42;
413
427
 
414
- // Output only. Specifies if the place serves wine.
415
- optional bool serves_wine = 43 [(google.api.field_behavior) = OUTPUT_ONLY];
428
+ // Specifies if the place serves wine.
429
+ optional bool serves_wine = 43;
416
430
 
417
- // Output only. Specifies if the place serves brunch.
418
- optional bool serves_brunch = 44 [(google.api.field_behavior) = OUTPUT_ONLY];
431
+ // Specifies if the place serves brunch.
432
+ optional bool serves_brunch = 44;
419
433
 
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];
434
+ // Specifies if the place serves vegetarian food.
435
+ optional bool serves_vegetarian_food = 45;
430
436
 
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];
437
+ // The hours of operation for the next seven days (including today). The time
438
+ // period starts at midnight on the date of the request and ends at 11:59 pm
439
+ // six days later. This field includes the special_days subfield of all hours,
440
+ // set for dates that have exceptional hours.
441
+ OpeningHours current_opening_hours = 46;
441
442
 
442
- // Output only. Contains an array of entries for information about regular
443
- // secondary hours of a business. Secondary hours are different from a
443
+ // Contains an array of entries for the next seven days including information
444
+ // about secondary hours of a business. Secondary hours are different from a
444
445
  // business's main hours. For example, a restaurant can specify drive through
445
446
  // hours or delivery hours as its secondary hours. This field populates the
446
447
  // type subfield, which draws from a predefined list of opening hours types
447
448
  // (such as DRIVE_THROUGH, PICKUP, or TAKEOUT) based on the types of the
448
- // place.
449
- repeated OpeningHours regular_secondary_opening_hours = 49
450
- [(google.api.field_behavior) = OUTPUT_ONLY];
449
+ // place. This field includes the special_days subfield of all hours, set for
450
+ // dates that have exceptional hours.
451
+ repeated OpeningHours current_secondary_opening_hours = 47;
452
+
453
+ // Contains an array of entries for information about regular secondary hours
454
+ // of a business. Secondary hours are different from a business's main hours.
455
+ // For example, a restaurant can specify drive through hours or delivery hours
456
+ // as its secondary hours. This field populates the type subfield, which draws
457
+ // from a predefined list of opening hours types (such as DRIVE_THROUGH,
458
+ // PICKUP, or TAKEOUT) based on the types of the place.
459
+ repeated OpeningHours regular_secondary_opening_hours = 49;
451
460
 
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];
461
+ // Contains a summary of the place. A summary is comprised of a textual
462
+ // overview, and also includes the language code for these if applicable.
463
+ // Summary text must be presented as-is and can not be modified or altered.
464
+ google.type.LocalizedText editorial_summary = 52;
458
465
 
459
- // Output only. Place provides outdoor seating.
460
- optional bool outdoor_seating = 55
461
- [(google.api.field_behavior) = OUTPUT_ONLY];
466
+ // Place provides outdoor seating.
467
+ optional bool outdoor_seating = 55;
462
468
 
463
- // Output only. Place provides live music.
464
- optional bool live_music = 56 [(google.api.field_behavior) = OUTPUT_ONLY];
469
+ // Place provides live music.
470
+ optional bool live_music = 56;
465
471
 
466
- // Output only. Place has a children's menu.
467
- optional bool menu_for_children = 57
468
- [(google.api.field_behavior) = OUTPUT_ONLY];
472
+ // Place has a children's menu.
473
+ optional bool menu_for_children = 57;
469
474
 
470
- // Output only. Place serves cocktails.
471
- optional bool serves_cocktails = 58
472
- [(google.api.field_behavior) = OUTPUT_ONLY];
475
+ // Place serves cocktails.
476
+ optional bool serves_cocktails = 58;
473
477
 
474
- // Output only. Place serves dessert.
475
- optional bool serves_dessert = 59 [(google.api.field_behavior) = OUTPUT_ONLY];
478
+ // Place serves dessert.
479
+ optional bool serves_dessert = 59;
476
480
 
477
- // Output only. Place serves coffee.
478
- optional bool serves_coffee = 60 [(google.api.field_behavior) = OUTPUT_ONLY];
481
+ // Place serves coffee.
482
+ optional bool serves_coffee = 60;
479
483
 
480
- // Output only. Place is good for children.
481
- optional bool good_for_children = 62
482
- [(google.api.field_behavior) = OUTPUT_ONLY];
484
+ // Place is good for children.
485
+ optional bool good_for_children = 62;
483
486
 
484
- // Output only. Place allows dogs.
485
- optional bool allows_dogs = 63 [(google.api.field_behavior) = OUTPUT_ONLY];
487
+ // Place allows dogs.
488
+ optional bool allows_dogs = 63;
486
489
 
487
- // Output only. Place has restroom.
488
- optional bool restroom = 64 [(google.api.field_behavior) = OUTPUT_ONLY];
490
+ // Place has restroom.
491
+ optional bool restroom = 64;
489
492
 
490
- // Output only. Place accommodates groups.
491
- optional bool good_for_groups = 65
492
- [(google.api.field_behavior) = OUTPUT_ONLY];
493
+ // Place accommodates groups.
494
+ optional bool good_for_groups = 65;
493
495
 
494
- // Output only. Place is suitable for watching sports.
495
- optional bool good_for_watching_sports = 66
496
- [(google.api.field_behavior) = OUTPUT_ONLY];
496
+ // Place is suitable for watching sports.
497
+ optional bool good_for_watching_sports = 66;
497
498
 
498
- PaymentOptions payment_options = 67
499
- [(google.api.field_behavior) = OUTPUT_ONLY];
499
+ // Payment options the place accepts. If a payment option data is not
500
+ // available, the payment option field will be unset.
501
+ PaymentOptions payment_options = 67;
500
502
 
501
- // Output only. Options of parking provided by the place.
502
- ParkingOptions parking_options = 70
503
- [(google.api.field_behavior) = OUTPUT_ONLY];
503
+ // Options of parking provided by the place.
504
+ ParkingOptions parking_options = 70;
504
505
 
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];
506
+ // A list of sub destinations related to the place.
507
+ repeated SubDestination sub_destinations = 71;
508
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];
509
+ // Information about the accessibility options a place offers.
510
+ optional AccessibilityOptions accessibility_options = 72;
512
511
 
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];
512
+ // The most recent information about fuel options in a gas station. This
513
+ // information is updated regularly.
514
+ FuelOptions fuel_options = 78;
516
515
 
517
- // Output only. Information of ev charging options.
518
- EVChargeOptions ev_charge_options = 79
519
- [(google.api.field_behavior) = OUTPUT_ONLY];
516
+ // Information of ev charging options.
517
+ EVChargeOptions ev_charge_options = 79;
520
518
  }
521
519
 
522
520
  // Price level of the place.