@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.
- package/CHANGELOG.md +7 -0
- package/build/protos/google/maps/places/v1/attribution.proto +8 -10
- package/build/protos/google/maps/places/v1/photo.proto +10 -11
- package/build/protos/google/maps/places/v1/place.proto +251 -253
- package/build/protos/google/maps/places/v1/places_service.proto +74 -39
- package/build/protos/google/maps/places/v1/review.proto +17 -24
- package/build/protos/protos.d.ts +7301 -7786
- package/build/protos/protos.js +24481 -26142
- package/build/protos/protos.json +2730 -3182
- package/build/src/index.js +1 -1
- package/build/src/v1/index.js +1 -1
- package/build/src/v1/places_client.d.ts +69 -37
- package/build/src/v1/places_client.js +42 -14
- package/build/src/v1/places_client.js.map +1 -1
- package/package.json +5 -5
|
@@ -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
|
-
//
|
|
52
|
-
//
|
|
53
|
-
//
|
|
54
|
-
string long_text = 1
|
|
55
|
-
|
|
56
|
-
//
|
|
57
|
-
//
|
|
58
|
-
//
|
|
59
|
-
string short_text = 2
|
|
60
|
-
|
|
61
|
-
//
|
|
62
|
-
repeated string types = 3
|
|
63
|
-
|
|
64
|
-
//
|
|
65
|
-
|
|
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
|
-
//
|
|
74
|
-
//
|
|
75
|
-
string global_code = 1
|
|
76
|
-
|
|
77
|
-
//
|
|
78
|
-
//
|
|
79
|
-
//
|
|
80
|
-
string compound_code = 2
|
|
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
|
-
//
|
|
90
|
-
//
|
|
91
|
-
optional int32 day = 1
|
|
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
|
-
//
|
|
94
|
-
optional int32 hour = 2
|
|
91
|
+
// The hour in 2 digits. Ranges from 00 to 23.
|
|
92
|
+
optional int32 hour = 2;
|
|
95
93
|
|
|
96
|
-
//
|
|
97
|
-
optional int32 minute = 3
|
|
94
|
+
// The minute in 2 digits. Ranges from 00 to 59.
|
|
95
|
+
optional int32 minute = 3;
|
|
98
96
|
|
|
99
|
-
//
|
|
100
|
-
google.type.Date date = 6
|
|
97
|
+
// Date in the local timezone for the place.
|
|
98
|
+
google.type.Date date = 6;
|
|
101
99
|
|
|
102
|
-
//
|
|
103
|
-
//
|
|
104
|
-
//
|
|
105
|
-
//
|
|
106
|
-
//
|
|
107
|
-
bool truncated = 5
|
|
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
|
-
//
|
|
111
|
-
Point open = 1
|
|
108
|
+
// The time that the place starts to be open.
|
|
109
|
+
Point open = 1;
|
|
112
110
|
|
|
113
|
-
//
|
|
114
|
-
Point close = 2
|
|
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
|
-
//
|
|
167
|
-
google.type.Date date = 1
|
|
164
|
+
// The date of this special day.
|
|
165
|
+
google.type.Date date = 1;
|
|
168
166
|
}
|
|
169
167
|
|
|
170
|
-
//
|
|
171
|
-
//
|
|
172
|
-
optional bool open_now = 1
|
|
173
|
-
|
|
174
|
-
//
|
|
175
|
-
//
|
|
176
|
-
//
|
|
177
|
-
//
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
//
|
|
182
|
-
//
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
//
|
|
189
|
-
|
|
190
|
-
|
|
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
|
-
//
|
|
219
|
-
string provider = 1
|
|
211
|
+
// Name of the Place's data provider.
|
|
212
|
+
string provider = 1;
|
|
220
213
|
|
|
221
|
-
//
|
|
222
|
-
string provider_uri = 2
|
|
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
|
-
//
|
|
285
|
-
//
|
|
286
|
-
string name = 1
|
|
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
|
-
//
|
|
289
|
-
|
|
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
|
-
//
|
|
292
|
-
//
|
|
293
|
-
//
|
|
294
|
-
google.
|
|
295
|
-
|
|
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
|
-
//
|
|
298
|
-
|
|
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
|
-
//
|
|
302
|
-
|
|
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
|
-
//
|
|
306
|
-
|
|
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
|
-
//
|
|
311
|
-
string
|
|
325
|
+
// A short, human-readable address for this place.
|
|
326
|
+
string short_formatted_address = 51;
|
|
312
327
|
|
|
313
|
-
//
|
|
314
|
-
|
|
315
|
-
|
|
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
|
-
//
|
|
318
|
-
PlusCode plus_code = 11
|
|
344
|
+
// Plus code of the place location lat/long.
|
|
345
|
+
PlusCode plus_code = 11;
|
|
319
346
|
|
|
320
|
-
//
|
|
321
|
-
google.type.LatLng location = 12
|
|
347
|
+
// The position of this place.
|
|
348
|
+
google.type.LatLng location = 12;
|
|
322
349
|
|
|
323
|
-
//
|
|
324
|
-
|
|
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
|
-
//
|
|
329
|
-
|
|
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
|
-
//
|
|
333
|
-
string google_maps_uri = 15
|
|
356
|
+
// A URL providing more information about this place.
|
|
357
|
+
string google_maps_uri = 15;
|
|
334
358
|
|
|
335
|
-
//
|
|
336
|
-
//
|
|
337
|
-
//
|
|
338
|
-
//
|
|
339
|
-
string website_uri = 16
|
|
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
|
-
//
|
|
342
|
-
repeated Review reviews = 53
|
|
365
|
+
// List of reviews about this place, sorted by relevance.
|
|
366
|
+
repeated Review reviews = 53;
|
|
343
367
|
|
|
344
|
-
//
|
|
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
|
-
//
|
|
349
|
-
//
|
|
350
|
-
//
|
|
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
|
-
//
|
|
355
|
-
repeated Photo photos = 54
|
|
376
|
+
// Information (including references) about photos of this place.
|
|
377
|
+
repeated Photo photos = 54;
|
|
356
378
|
|
|
357
|
-
//
|
|
358
|
-
|
|
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
|
-
//
|
|
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
|
-
//
|
|
366
|
-
PriceLevel price_level = 26
|
|
385
|
+
// Price level of the place.
|
|
386
|
+
PriceLevel price_level = 26;
|
|
367
387
|
|
|
368
|
-
//
|
|
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
|
-
//
|
|
373
|
-
|
|
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
|
-
//
|
|
378
|
-
//
|
|
379
|
-
string icon_mask_base_uri = 29
|
|
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
|
-
//
|
|
382
|
-
string icon_background_color = 30
|
|
398
|
+
// Background color for icon_mask in hex format, e.g. #909CE1.
|
|
399
|
+
string icon_background_color = 30;
|
|
383
400
|
|
|
384
|
-
//
|
|
385
|
-
optional bool takeout = 33
|
|
401
|
+
// Specifies if the business supports takeout.
|
|
402
|
+
optional bool takeout = 33;
|
|
386
403
|
|
|
387
|
-
//
|
|
388
|
-
optional bool delivery = 34
|
|
404
|
+
// Specifies if the business supports delivery.
|
|
405
|
+
optional bool delivery = 34;
|
|
389
406
|
|
|
390
|
-
//
|
|
391
|
-
|
|
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
|
-
//
|
|
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
|
-
//
|
|
399
|
-
optional bool reservable = 38
|
|
413
|
+
// Specifies if the place supports reservations.
|
|
414
|
+
optional bool reservable = 38;
|
|
400
415
|
|
|
401
|
-
//
|
|
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
|
-
//
|
|
406
|
-
optional bool serves_lunch = 40
|
|
419
|
+
// Specifies if the place serves lunch.
|
|
420
|
+
optional bool serves_lunch = 40;
|
|
407
421
|
|
|
408
|
-
//
|
|
409
|
-
optional bool serves_dinner = 41
|
|
422
|
+
// Specifies if the place serves dinner.
|
|
423
|
+
optional bool serves_dinner = 41;
|
|
410
424
|
|
|
411
|
-
//
|
|
412
|
-
optional bool serves_beer = 42
|
|
425
|
+
// Specifies if the place serves beer.
|
|
426
|
+
optional bool serves_beer = 42;
|
|
413
427
|
|
|
414
|
-
//
|
|
415
|
-
optional bool serves_wine = 43
|
|
428
|
+
// Specifies if the place serves wine.
|
|
429
|
+
optional bool serves_wine = 43;
|
|
416
430
|
|
|
417
|
-
//
|
|
418
|
-
optional bool serves_brunch = 44
|
|
431
|
+
// Specifies if the place serves brunch.
|
|
432
|
+
optional bool serves_brunch = 44;
|
|
419
433
|
|
|
420
|
-
//
|
|
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
|
-
//
|
|
432
|
-
//
|
|
433
|
-
//
|
|
434
|
-
//
|
|
435
|
-
|
|
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
|
-
//
|
|
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
|
-
|
|
450
|
-
|
|
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
|
-
//
|
|
453
|
-
//
|
|
454
|
-
//
|
|
455
|
-
|
|
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
|
-
//
|
|
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
|
-
//
|
|
464
|
-
optional bool live_music = 56
|
|
469
|
+
// Place provides live music.
|
|
470
|
+
optional bool live_music = 56;
|
|
465
471
|
|
|
466
|
-
//
|
|
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
|
-
//
|
|
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
|
-
//
|
|
475
|
-
optional bool serves_dessert = 59
|
|
478
|
+
// Place serves dessert.
|
|
479
|
+
optional bool serves_dessert = 59;
|
|
476
480
|
|
|
477
|
-
//
|
|
478
|
-
optional bool serves_coffee = 60
|
|
481
|
+
// Place serves coffee.
|
|
482
|
+
optional bool serves_coffee = 60;
|
|
479
483
|
|
|
480
|
-
//
|
|
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
|
-
//
|
|
485
|
-
optional bool allows_dogs = 63
|
|
487
|
+
// Place allows dogs.
|
|
488
|
+
optional bool allows_dogs = 63;
|
|
486
489
|
|
|
487
|
-
//
|
|
488
|
-
optional bool restroom = 64
|
|
490
|
+
// Place has restroom.
|
|
491
|
+
optional bool restroom = 64;
|
|
489
492
|
|
|
490
|
-
//
|
|
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
|
-
//
|
|
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
|
-
|
|
499
|
-
|
|
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
|
-
//
|
|
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
|
-
//
|
|
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
|
-
//
|
|
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
|
-
//
|
|
514
|
-
//
|
|
515
|
-
FuelOptions fuel_options = 78
|
|
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
|
-
//
|
|
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.
|