@googlemaps/places 2.0.1 → 2.1.1
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/README.md +45 -77
- package/build/protos/google/maps/places/v1/address_descriptor.proto +144 -0
- package/build/protos/google/maps/places/v1/photo.proto +6 -0
- package/build/protos/google/maps/places/v1/place.proto +128 -47
- package/build/protos/google/maps/places/v1/places_service.proto +4 -3
- package/build/protos/google/maps/places/v1/review.proto +7 -0
- package/build/protos/protos.d.ts +864 -324
- package/build/protos/protos.js +7322 -5392
- package/build/protos/protos.json +286 -47
- package/build/src/v1/places_client.d.ts +4 -3
- package/build/src/v1/places_client.js +68 -68
- package/build/src/v1/places_client.js.map +1 -1
- package/build/src/v1/places_proto_list.json +1 -0
- package/package.json +4 -4
- package/CHANGELOG.md +0 -132
package/build/protos/protos.json
CHANGED
|
@@ -63,33 +63,33 @@
|
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
},
|
|
66
|
-
"
|
|
66
|
+
"Date": {
|
|
67
67
|
"fields": {
|
|
68
|
-
"
|
|
69
|
-
"type": "
|
|
68
|
+
"year": {
|
|
69
|
+
"type": "int32",
|
|
70
70
|
"id": 1
|
|
71
71
|
},
|
|
72
|
-
"
|
|
73
|
-
"type": "
|
|
72
|
+
"month": {
|
|
73
|
+
"type": "int32",
|
|
74
74
|
"id": 2
|
|
75
75
|
},
|
|
76
|
-
"
|
|
76
|
+
"day": {
|
|
77
77
|
"type": "int32",
|
|
78
78
|
"id": 3
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
81
|
},
|
|
82
|
-
"
|
|
82
|
+
"Money": {
|
|
83
83
|
"fields": {
|
|
84
|
-
"
|
|
85
|
-
"type": "
|
|
84
|
+
"currencyCode": {
|
|
85
|
+
"type": "string",
|
|
86
86
|
"id": 1
|
|
87
87
|
},
|
|
88
|
-
"
|
|
89
|
-
"type": "
|
|
88
|
+
"units": {
|
|
89
|
+
"type": "int64",
|
|
90
90
|
"id": 2
|
|
91
91
|
},
|
|
92
|
-
"
|
|
92
|
+
"nanos": {
|
|
93
93
|
"type": "int32",
|
|
94
94
|
"id": 3
|
|
95
95
|
}
|
|
@@ -222,6 +222,114 @@
|
|
|
222
222
|
"php_namespace": "Google\\Maps\\Places\\V1"
|
|
223
223
|
},
|
|
224
224
|
"nested": {
|
|
225
|
+
"AddressDescriptor": {
|
|
226
|
+
"fields": {
|
|
227
|
+
"landmarks": {
|
|
228
|
+
"rule": "repeated",
|
|
229
|
+
"type": "Landmark",
|
|
230
|
+
"id": 1
|
|
231
|
+
},
|
|
232
|
+
"areas": {
|
|
233
|
+
"rule": "repeated",
|
|
234
|
+
"type": "Area",
|
|
235
|
+
"id": 2
|
|
236
|
+
}
|
|
237
|
+
},
|
|
238
|
+
"nested": {
|
|
239
|
+
"Landmark": {
|
|
240
|
+
"oneofs": {
|
|
241
|
+
"_travelDistanceMeters": {
|
|
242
|
+
"oneof": [
|
|
243
|
+
"travelDistanceMeters"
|
|
244
|
+
]
|
|
245
|
+
}
|
|
246
|
+
},
|
|
247
|
+
"fields": {
|
|
248
|
+
"name": {
|
|
249
|
+
"type": "string",
|
|
250
|
+
"id": 1,
|
|
251
|
+
"options": {
|
|
252
|
+
"(google.api.resource_reference).type": "places.googleapis.com/Place"
|
|
253
|
+
}
|
|
254
|
+
},
|
|
255
|
+
"placeId": {
|
|
256
|
+
"type": "string",
|
|
257
|
+
"id": 2
|
|
258
|
+
},
|
|
259
|
+
"displayName": {
|
|
260
|
+
"type": "google.type.LocalizedText",
|
|
261
|
+
"id": 3
|
|
262
|
+
},
|
|
263
|
+
"types": {
|
|
264
|
+
"rule": "repeated",
|
|
265
|
+
"type": "string",
|
|
266
|
+
"id": 4
|
|
267
|
+
},
|
|
268
|
+
"spatialRelationship": {
|
|
269
|
+
"type": "SpatialRelationship",
|
|
270
|
+
"id": 5
|
|
271
|
+
},
|
|
272
|
+
"straightLineDistanceMeters": {
|
|
273
|
+
"type": "float",
|
|
274
|
+
"id": 6
|
|
275
|
+
},
|
|
276
|
+
"travelDistanceMeters": {
|
|
277
|
+
"type": "float",
|
|
278
|
+
"id": 7,
|
|
279
|
+
"options": {
|
|
280
|
+
"proto3_optional": true
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
|
+
"nested": {
|
|
285
|
+
"SpatialRelationship": {
|
|
286
|
+
"values": {
|
|
287
|
+
"NEAR": 0,
|
|
288
|
+
"WITHIN": 1,
|
|
289
|
+
"BESIDE": 2,
|
|
290
|
+
"ACROSS_THE_ROAD": 3,
|
|
291
|
+
"DOWN_THE_ROAD": 4,
|
|
292
|
+
"AROUND_THE_CORNER": 5,
|
|
293
|
+
"BEHIND": 6
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
},
|
|
298
|
+
"Area": {
|
|
299
|
+
"fields": {
|
|
300
|
+
"name": {
|
|
301
|
+
"type": "string",
|
|
302
|
+
"id": 1,
|
|
303
|
+
"options": {
|
|
304
|
+
"(google.api.resource_reference).type": "places.googleapis.com/Place"
|
|
305
|
+
}
|
|
306
|
+
},
|
|
307
|
+
"placeId": {
|
|
308
|
+
"type": "string",
|
|
309
|
+
"id": 2
|
|
310
|
+
},
|
|
311
|
+
"displayName": {
|
|
312
|
+
"type": "google.type.LocalizedText",
|
|
313
|
+
"id": 3
|
|
314
|
+
},
|
|
315
|
+
"containment": {
|
|
316
|
+
"type": "Containment",
|
|
317
|
+
"id": 4
|
|
318
|
+
}
|
|
319
|
+
},
|
|
320
|
+
"nested": {
|
|
321
|
+
"Containment": {
|
|
322
|
+
"values": {
|
|
323
|
+
"CONTAINMENT_UNSPECIFIED": 0,
|
|
324
|
+
"WITHIN": 1,
|
|
325
|
+
"OUTSKIRTS": 2,
|
|
326
|
+
"NEAR": 3
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
},
|
|
225
333
|
"AuthorAttribution": {
|
|
226
334
|
"fields": {
|
|
227
335
|
"displayName": {
|
|
@@ -306,6 +414,14 @@
|
|
|
306
414
|
"publishTime": {
|
|
307
415
|
"type": "google.protobuf.Timestamp",
|
|
308
416
|
"id": 14
|
|
417
|
+
},
|
|
418
|
+
"flagContentUri": {
|
|
419
|
+
"type": "string",
|
|
420
|
+
"id": 15
|
|
421
|
+
},
|
|
422
|
+
"googleMapsUri": {
|
|
423
|
+
"type": "string",
|
|
424
|
+
"id": 16
|
|
309
425
|
}
|
|
310
426
|
}
|
|
311
427
|
},
|
|
@@ -436,6 +552,14 @@
|
|
|
436
552
|
"rule": "repeated",
|
|
437
553
|
"type": "AuthorAttribution",
|
|
438
554
|
"id": 4
|
|
555
|
+
},
|
|
556
|
+
"flagContentUri": {
|
|
557
|
+
"type": "string",
|
|
558
|
+
"id": 5
|
|
559
|
+
},
|
|
560
|
+
"googleMapsUri": {
|
|
561
|
+
"type": "string",
|
|
562
|
+
"id": 6
|
|
439
563
|
}
|
|
440
564
|
}
|
|
441
565
|
},
|
|
@@ -1074,10 +1198,6 @@
|
|
|
1074
1198
|
"type": "GenerativeSummary",
|
|
1075
1199
|
"id": 80
|
|
1076
1200
|
},
|
|
1077
|
-
"areaSummary": {
|
|
1078
|
-
"type": "AreaSummary",
|
|
1079
|
-
"id": 81
|
|
1080
|
-
},
|
|
1081
1201
|
"containingPlaces": {
|
|
1082
1202
|
"rule": "repeated",
|
|
1083
1203
|
"type": "ContainingPlace",
|
|
@@ -1090,9 +1210,25 @@
|
|
|
1090
1210
|
"proto3_optional": true
|
|
1091
1211
|
}
|
|
1092
1212
|
},
|
|
1213
|
+
"addressDescriptor": {
|
|
1214
|
+
"type": "AddressDescriptor",
|
|
1215
|
+
"id": 84
|
|
1216
|
+
},
|
|
1093
1217
|
"priceRange": {
|
|
1094
1218
|
"type": "PriceRange",
|
|
1095
1219
|
"id": 86
|
|
1220
|
+
},
|
|
1221
|
+
"reviewSummary": {
|
|
1222
|
+
"type": "ReviewSummary",
|
|
1223
|
+
"id": 87
|
|
1224
|
+
},
|
|
1225
|
+
"evChargeAmenitySummary": {
|
|
1226
|
+
"type": "EvChargeAmenitySummary",
|
|
1227
|
+
"id": 89
|
|
1228
|
+
},
|
|
1229
|
+
"neighborhoodSummary": {
|
|
1230
|
+
"type": "NeighborhoodSummary",
|
|
1231
|
+
"id": 91
|
|
1096
1232
|
}
|
|
1097
1233
|
},
|
|
1098
1234
|
"nested": {
|
|
@@ -1505,22 +1641,13 @@
|
|
|
1505
1641
|
"type": "google.type.LocalizedText",
|
|
1506
1642
|
"id": 1
|
|
1507
1643
|
},
|
|
1508
|
-
"
|
|
1509
|
-
"type": "
|
|
1510
|
-
"id": 2
|
|
1511
|
-
},
|
|
1512
|
-
"references": {
|
|
1513
|
-
"type": "References",
|
|
1514
|
-
"id": 3
|
|
1515
|
-
}
|
|
1516
|
-
}
|
|
1517
|
-
},
|
|
1518
|
-
"AreaSummary": {
|
|
1519
|
-
"fields": {
|
|
1520
|
-
"contentBlocks": {
|
|
1521
|
-
"rule": "repeated",
|
|
1522
|
-
"type": "ContentBlock",
|
|
1644
|
+
"overviewFlagContentUri": {
|
|
1645
|
+
"type": "string",
|
|
1523
1646
|
"id": 4
|
|
1647
|
+
},
|
|
1648
|
+
"disclosureText": {
|
|
1649
|
+
"type": "google.type.LocalizedText",
|
|
1650
|
+
"id": 6
|
|
1524
1651
|
}
|
|
1525
1652
|
}
|
|
1526
1653
|
},
|
|
@@ -1538,6 +1665,70 @@
|
|
|
1538
1665
|
"id": 2
|
|
1539
1666
|
}
|
|
1540
1667
|
}
|
|
1668
|
+
},
|
|
1669
|
+
"ReviewSummary": {
|
|
1670
|
+
"fields": {
|
|
1671
|
+
"text": {
|
|
1672
|
+
"type": "google.type.LocalizedText",
|
|
1673
|
+
"id": 1
|
|
1674
|
+
},
|
|
1675
|
+
"flagContentUri": {
|
|
1676
|
+
"type": "string",
|
|
1677
|
+
"id": 2
|
|
1678
|
+
},
|
|
1679
|
+
"disclosureText": {
|
|
1680
|
+
"type": "google.type.LocalizedText",
|
|
1681
|
+
"id": 3
|
|
1682
|
+
}
|
|
1683
|
+
}
|
|
1684
|
+
},
|
|
1685
|
+
"EvChargeAmenitySummary": {
|
|
1686
|
+
"fields": {
|
|
1687
|
+
"overview": {
|
|
1688
|
+
"type": "ContentBlock",
|
|
1689
|
+
"id": 1
|
|
1690
|
+
},
|
|
1691
|
+
"coffee": {
|
|
1692
|
+
"type": "ContentBlock",
|
|
1693
|
+
"id": 2
|
|
1694
|
+
},
|
|
1695
|
+
"restaurant": {
|
|
1696
|
+
"type": "ContentBlock",
|
|
1697
|
+
"id": 3
|
|
1698
|
+
},
|
|
1699
|
+
"store": {
|
|
1700
|
+
"type": "ContentBlock",
|
|
1701
|
+
"id": 4
|
|
1702
|
+
},
|
|
1703
|
+
"flagContentUri": {
|
|
1704
|
+
"type": "string",
|
|
1705
|
+
"id": 5
|
|
1706
|
+
},
|
|
1707
|
+
"disclosureText": {
|
|
1708
|
+
"type": "google.type.LocalizedText",
|
|
1709
|
+
"id": 6
|
|
1710
|
+
}
|
|
1711
|
+
}
|
|
1712
|
+
},
|
|
1713
|
+
"NeighborhoodSummary": {
|
|
1714
|
+
"fields": {
|
|
1715
|
+
"overview": {
|
|
1716
|
+
"type": "ContentBlock",
|
|
1717
|
+
"id": 1
|
|
1718
|
+
},
|
|
1719
|
+
"description": {
|
|
1720
|
+
"type": "ContentBlock",
|
|
1721
|
+
"id": 2
|
|
1722
|
+
},
|
|
1723
|
+
"flagContentUri": {
|
|
1724
|
+
"type": "string",
|
|
1725
|
+
"id": 3
|
|
1726
|
+
},
|
|
1727
|
+
"disclosureText": {
|
|
1728
|
+
"type": "google.type.LocalizedText",
|
|
1729
|
+
"id": 4
|
|
1730
|
+
}
|
|
1731
|
+
}
|
|
1541
1732
|
}
|
|
1542
1733
|
}
|
|
1543
1734
|
},
|
|
@@ -2474,7 +2665,10 @@
|
|
|
2474
2665
|
"rule": "repeated",
|
|
2475
2666
|
"type": "google.api.FieldBehavior",
|
|
2476
2667
|
"id": 1052,
|
|
2477
|
-
"extend": "google.protobuf.FieldOptions"
|
|
2668
|
+
"extend": "google.protobuf.FieldOptions",
|
|
2669
|
+
"options": {
|
|
2670
|
+
"packed": false
|
|
2671
|
+
}
|
|
2478
2672
|
},
|
|
2479
2673
|
"FieldBehavior": {
|
|
2480
2674
|
"values": {
|
|
@@ -2592,6 +2786,11 @@
|
|
|
2592
2786
|
"id": 1050,
|
|
2593
2787
|
"extend": "google.protobuf.ServiceOptions"
|
|
2594
2788
|
},
|
|
2789
|
+
"apiVersion": {
|
|
2790
|
+
"type": "string",
|
|
2791
|
+
"id": 525000001,
|
|
2792
|
+
"extend": "google.protobuf.ServiceOptions"
|
|
2793
|
+
},
|
|
2595
2794
|
"CommonLanguageSettings": {
|
|
2596
2795
|
"fields": {
|
|
2597
2796
|
"referenceDocsUri": {
|
|
@@ -2700,6 +2899,10 @@
|
|
|
2700
2899
|
"protoReferenceDocumentationUri": {
|
|
2701
2900
|
"type": "string",
|
|
2702
2901
|
"id": 110
|
|
2902
|
+
},
|
|
2903
|
+
"restReferenceDocumentationUri": {
|
|
2904
|
+
"type": "string",
|
|
2905
|
+
"id": 111
|
|
2703
2906
|
}
|
|
2704
2907
|
}
|
|
2705
2908
|
},
|
|
@@ -2885,6 +3088,7 @@
|
|
|
2885
3088
|
},
|
|
2886
3089
|
"nested": {
|
|
2887
3090
|
"FileDescriptorSet": {
|
|
3091
|
+
"edition": "proto2",
|
|
2888
3092
|
"fields": {
|
|
2889
3093
|
"file": {
|
|
2890
3094
|
"rule": "repeated",
|
|
@@ -2894,6 +3098,7 @@
|
|
|
2894
3098
|
}
|
|
2895
3099
|
},
|
|
2896
3100
|
"Edition": {
|
|
3101
|
+
"edition": "proto2",
|
|
2897
3102
|
"values": {
|
|
2898
3103
|
"EDITION_UNKNOWN": 0,
|
|
2899
3104
|
"EDITION_PROTO2": 998,
|
|
@@ -2909,6 +3114,7 @@
|
|
|
2909
3114
|
}
|
|
2910
3115
|
},
|
|
2911
3116
|
"FileDescriptorProto": {
|
|
3117
|
+
"edition": "proto2",
|
|
2912
3118
|
"fields": {
|
|
2913
3119
|
"name": {
|
|
2914
3120
|
"type": "string",
|
|
@@ -2926,18 +3132,12 @@
|
|
|
2926
3132
|
"publicDependency": {
|
|
2927
3133
|
"rule": "repeated",
|
|
2928
3134
|
"type": "int32",
|
|
2929
|
-
"id": 10
|
|
2930
|
-
"options": {
|
|
2931
|
-
"packed": false
|
|
2932
|
-
}
|
|
3135
|
+
"id": 10
|
|
2933
3136
|
},
|
|
2934
3137
|
"weakDependency": {
|
|
2935
3138
|
"rule": "repeated",
|
|
2936
3139
|
"type": "int32",
|
|
2937
|
-
"id": 11
|
|
2938
|
-
"options": {
|
|
2939
|
-
"packed": false
|
|
2940
|
-
}
|
|
3140
|
+
"id": 11
|
|
2941
3141
|
},
|
|
2942
3142
|
"messageType": {
|
|
2943
3143
|
"rule": "repeated",
|
|
@@ -2978,6 +3178,7 @@
|
|
|
2978
3178
|
}
|
|
2979
3179
|
},
|
|
2980
3180
|
"DescriptorProto": {
|
|
3181
|
+
"edition": "proto2",
|
|
2981
3182
|
"fields": {
|
|
2982
3183
|
"name": {
|
|
2983
3184
|
"type": "string",
|
|
@@ -3060,6 +3261,7 @@
|
|
|
3060
3261
|
}
|
|
3061
3262
|
},
|
|
3062
3263
|
"ExtensionRangeOptions": {
|
|
3264
|
+
"edition": "proto2",
|
|
3063
3265
|
"fields": {
|
|
3064
3266
|
"uninterpretedOption": {
|
|
3065
3267
|
"rule": "repeated",
|
|
@@ -3133,6 +3335,7 @@
|
|
|
3133
3335
|
}
|
|
3134
3336
|
},
|
|
3135
3337
|
"FieldDescriptorProto": {
|
|
3338
|
+
"edition": "proto2",
|
|
3136
3339
|
"fields": {
|
|
3137
3340
|
"name": {
|
|
3138
3341
|
"type": "string",
|
|
@@ -3212,6 +3415,7 @@
|
|
|
3212
3415
|
}
|
|
3213
3416
|
},
|
|
3214
3417
|
"OneofDescriptorProto": {
|
|
3418
|
+
"edition": "proto2",
|
|
3215
3419
|
"fields": {
|
|
3216
3420
|
"name": {
|
|
3217
3421
|
"type": "string",
|
|
@@ -3224,6 +3428,7 @@
|
|
|
3224
3428
|
}
|
|
3225
3429
|
},
|
|
3226
3430
|
"EnumDescriptorProto": {
|
|
3431
|
+
"edition": "proto2",
|
|
3227
3432
|
"fields": {
|
|
3228
3433
|
"name": {
|
|
3229
3434
|
"type": "string",
|
|
@@ -3265,6 +3470,7 @@
|
|
|
3265
3470
|
}
|
|
3266
3471
|
},
|
|
3267
3472
|
"EnumValueDescriptorProto": {
|
|
3473
|
+
"edition": "proto2",
|
|
3268
3474
|
"fields": {
|
|
3269
3475
|
"name": {
|
|
3270
3476
|
"type": "string",
|
|
@@ -3281,6 +3487,7 @@
|
|
|
3281
3487
|
}
|
|
3282
3488
|
},
|
|
3283
3489
|
"ServiceDescriptorProto": {
|
|
3490
|
+
"edition": "proto2",
|
|
3284
3491
|
"fields": {
|
|
3285
3492
|
"name": {
|
|
3286
3493
|
"type": "string",
|
|
@@ -3298,6 +3505,7 @@
|
|
|
3298
3505
|
}
|
|
3299
3506
|
},
|
|
3300
3507
|
"MethodDescriptorProto": {
|
|
3508
|
+
"edition": "proto2",
|
|
3301
3509
|
"fields": {
|
|
3302
3510
|
"name": {
|
|
3303
3511
|
"type": "string",
|
|
@@ -3332,6 +3540,7 @@
|
|
|
3332
3540
|
}
|
|
3333
3541
|
},
|
|
3334
3542
|
"FileOptions": {
|
|
3543
|
+
"edition": "proto2",
|
|
3335
3544
|
"fields": {
|
|
3336
3545
|
"javaPackage": {
|
|
3337
3546
|
"type": "string",
|
|
@@ -3473,6 +3682,7 @@
|
|
|
3473
3682
|
}
|
|
3474
3683
|
},
|
|
3475
3684
|
"MessageOptions": {
|
|
3685
|
+
"edition": "proto2",
|
|
3476
3686
|
"fields": {
|
|
3477
3687
|
"messageSetWireFormat": {
|
|
3478
3688
|
"type": "bool",
|
|
@@ -3546,6 +3756,7 @@
|
|
|
3546
3756
|
]
|
|
3547
3757
|
},
|
|
3548
3758
|
"FieldOptions": {
|
|
3759
|
+
"edition": "proto2",
|
|
3549
3760
|
"fields": {
|
|
3550
3761
|
"ctype": {
|
|
3551
3762
|
"type": "CType",
|
|
@@ -3607,10 +3818,7 @@
|
|
|
3607
3818
|
"targets": {
|
|
3608
3819
|
"rule": "repeated",
|
|
3609
3820
|
"type": "OptionTargetType",
|
|
3610
|
-
"id": 19
|
|
3611
|
-
"options": {
|
|
3612
|
-
"packed": false
|
|
3613
|
-
}
|
|
3821
|
+
"id": 19
|
|
3614
3822
|
},
|
|
3615
3823
|
"editionDefaults": {
|
|
3616
3824
|
"rule": "repeated",
|
|
@@ -3694,6 +3902,7 @@
|
|
|
3694
3902
|
}
|
|
3695
3903
|
},
|
|
3696
3904
|
"OneofOptions": {
|
|
3905
|
+
"edition": "proto2",
|
|
3697
3906
|
"fields": {
|
|
3698
3907
|
"features": {
|
|
3699
3908
|
"type": "FeatureSet",
|
|
@@ -3713,6 +3922,7 @@
|
|
|
3713
3922
|
]
|
|
3714
3923
|
},
|
|
3715
3924
|
"EnumOptions": {
|
|
3925
|
+
"edition": "proto2",
|
|
3716
3926
|
"fields": {
|
|
3717
3927
|
"allowAlias": {
|
|
3718
3928
|
"type": "bool",
|
|
@@ -3756,6 +3966,7 @@
|
|
|
3756
3966
|
]
|
|
3757
3967
|
},
|
|
3758
3968
|
"EnumValueOptions": {
|
|
3969
|
+
"edition": "proto2",
|
|
3759
3970
|
"fields": {
|
|
3760
3971
|
"deprecated": {
|
|
3761
3972
|
"type": "bool",
|
|
@@ -3789,6 +4000,7 @@
|
|
|
3789
4000
|
]
|
|
3790
4001
|
},
|
|
3791
4002
|
"ServiceOptions": {
|
|
4003
|
+
"edition": "proto2",
|
|
3792
4004
|
"fields": {
|
|
3793
4005
|
"features": {
|
|
3794
4006
|
"type": "FeatureSet",
|
|
@@ -3815,6 +4027,7 @@
|
|
|
3815
4027
|
]
|
|
3816
4028
|
},
|
|
3817
4029
|
"MethodOptions": {
|
|
4030
|
+
"edition": "proto2",
|
|
3818
4031
|
"fields": {
|
|
3819
4032
|
"deprecated": {
|
|
3820
4033
|
"type": "bool",
|
|
@@ -3857,6 +4070,7 @@
|
|
|
3857
4070
|
}
|
|
3858
4071
|
},
|
|
3859
4072
|
"UninterpretedOption": {
|
|
4073
|
+
"edition": "proto2",
|
|
3860
4074
|
"fields": {
|
|
3861
4075
|
"name": {
|
|
3862
4076
|
"rule": "repeated",
|
|
@@ -3906,6 +4120,7 @@
|
|
|
3906
4120
|
}
|
|
3907
4121
|
},
|
|
3908
4122
|
"FeatureSet": {
|
|
4123
|
+
"edition": "proto2",
|
|
3909
4124
|
"fields": {
|
|
3910
4125
|
"fieldPresence": {
|
|
3911
4126
|
"type": "FieldPresence",
|
|
@@ -3977,9 +4192,21 @@
|
|
|
3977
4192
|
1001,
|
|
3978
4193
|
1001
|
|
3979
4194
|
],
|
|
4195
|
+
[
|
|
4196
|
+
1002,
|
|
4197
|
+
1002
|
|
4198
|
+
],
|
|
4199
|
+
[
|
|
4200
|
+
9990,
|
|
4201
|
+
9990
|
|
4202
|
+
],
|
|
3980
4203
|
[
|
|
3981
4204
|
9995,
|
|
3982
4205
|
9999
|
|
4206
|
+
],
|
|
4207
|
+
[
|
|
4208
|
+
10000,
|
|
4209
|
+
10000
|
|
3983
4210
|
]
|
|
3984
4211
|
],
|
|
3985
4212
|
"reserved": [
|
|
@@ -4035,6 +4262,7 @@
|
|
|
4035
4262
|
}
|
|
4036
4263
|
},
|
|
4037
4264
|
"FeatureSetDefaults": {
|
|
4265
|
+
"edition": "proto2",
|
|
4038
4266
|
"fields": {
|
|
4039
4267
|
"defaults": {
|
|
4040
4268
|
"rule": "repeated",
|
|
@@ -4066,6 +4294,7 @@
|
|
|
4066
4294
|
}
|
|
4067
4295
|
},
|
|
4068
4296
|
"SourceCodeInfo": {
|
|
4297
|
+
"edition": "proto2",
|
|
4069
4298
|
"fields": {
|
|
4070
4299
|
"location": {
|
|
4071
4300
|
"rule": "repeated",
|
|
@@ -4079,12 +4308,18 @@
|
|
|
4079
4308
|
"path": {
|
|
4080
4309
|
"rule": "repeated",
|
|
4081
4310
|
"type": "int32",
|
|
4082
|
-
"id": 1
|
|
4311
|
+
"id": 1,
|
|
4312
|
+
"options": {
|
|
4313
|
+
"packed": true
|
|
4314
|
+
}
|
|
4083
4315
|
},
|
|
4084
4316
|
"span": {
|
|
4085
4317
|
"rule": "repeated",
|
|
4086
4318
|
"type": "int32",
|
|
4087
|
-
"id": 2
|
|
4319
|
+
"id": 2,
|
|
4320
|
+
"options": {
|
|
4321
|
+
"packed": true
|
|
4322
|
+
}
|
|
4088
4323
|
},
|
|
4089
4324
|
"leadingComments": {
|
|
4090
4325
|
"type": "string",
|
|
@@ -4104,6 +4339,7 @@
|
|
|
4104
4339
|
}
|
|
4105
4340
|
},
|
|
4106
4341
|
"GeneratedCodeInfo": {
|
|
4342
|
+
"edition": "proto2",
|
|
4107
4343
|
"fields": {
|
|
4108
4344
|
"annotation": {
|
|
4109
4345
|
"rule": "repeated",
|
|
@@ -4117,7 +4353,10 @@
|
|
|
4117
4353
|
"path": {
|
|
4118
4354
|
"rule": "repeated",
|
|
4119
4355
|
"type": "int32",
|
|
4120
|
-
"id": 1
|
|
4356
|
+
"id": 1,
|
|
4357
|
+
"options": {
|
|
4358
|
+
"packed": true
|
|
4359
|
+
}
|
|
4121
4360
|
},
|
|
4122
4361
|
"sourceFile": {
|
|
4123
4362
|
"type": "string",
|
|
@@ -3,9 +3,10 @@ import type { Callback, CallOptions, Descriptors, ClientOptions } from 'google-g
|
|
|
3
3
|
import * as protos from '../../protos/protos';
|
|
4
4
|
/**
|
|
5
5
|
* Service definition for the Places API.
|
|
6
|
-
* Note: every request (except for Autocomplete requests)
|
|
7
|
-
* set outside of the request proto (`all/*`, is not
|
|
8
|
-
* can be set via the HTTP header `X-Goog-FieldMask`.
|
|
6
|
+
* Note: every request (except for Autocomplete and GetPhotoMedia requests)
|
|
7
|
+
* requires a field mask set outside of the request proto (`all/*`, is not
|
|
8
|
+
* assumed). The field mask can be set via the HTTP header `X-Goog-FieldMask`.
|
|
9
|
+
* See:
|
|
9
10
|
* https://developers.google.com/maps/documentation/places/web-service/choose-fields
|
|
10
11
|
* @class
|
|
11
12
|
* @memberof v1
|