@googlemaps/places 1.4.0 → 1.6.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 +15 -0
- package/build/protos/google/geo/type/viewport.proto +1 -1
- package/build/protos/google/maps/places/v1/attribution.proto +1 -1
- package/build/protos/google/maps/places/v1/content_block.proto +45 -0
- package/build/protos/google/maps/places/v1/contextual_content.proto +120 -0
- package/build/protos/google/maps/places/v1/ev_charging.proto +1 -1
- package/build/protos/google/maps/places/v1/fuel_options.proto +1 -1
- package/build/protos/google/maps/places/v1/geometry.proto +1 -1
- package/build/protos/google/maps/places/v1/photo.proto +1 -1
- package/build/protos/google/maps/places/v1/place.proto +48 -5
- package/build/protos/google/maps/places/v1/places_service.proto +31 -16
- package/build/protos/google/maps/places/v1/reference.proto +45 -0
- package/build/protos/google/maps/places/v1/review.proto +1 -1
- package/build/protos/protos.d.ts +9905 -8824
- package/build/protos/protos.js +31876 -29225
- package/build/protos/protos.json +2441 -2270
- package/build/src/v1/places_client.d.ts +9 -10
- package/build/src/v1/places_client.js +4 -5
- package/build/src/v1/places_client.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.6.0](https://github.com/googleapis/google-cloud-node/compare/places-v1.5.0...places-v1.6.0) (2024-05-23)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* [places] add `generative_summary` and `area_summary` for place summaries ([#5364](https://github.com/googleapis/google-cloud-node/issues/5364)) ([b0fbf7b](https://github.com/googleapis/google-cloud-node/commit/b0fbf7b73894284dd46aea5faa0a91f97123a194))
|
|
9
|
+
|
|
10
|
+
## [1.5.0](https://github.com/googleapis/google-cloud-node/compare/places-v1.4.0...places-v1.5.0) (2024-05-21)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* [Many APIs] update Nodejs generator to send API versions in headers for GAPICs ([#5351](https://github.com/googleapis/google-cloud-node/issues/5351)) ([01f48fc](https://github.com/googleapis/google-cloud-node/commit/01f48fce63ec4ddf801d59ee2b8c0db9f6fb8372))
|
|
16
|
+
* [Many APIs] update Nodejs generator to send API versions in headers for GAPICs ([#5354](https://github.com/googleapis/google-cloud-node/issues/5354)) ([a9784ed](https://github.com/googleapis/google-cloud-node/commit/a9784ed3db6ee96d171762308bbbcd57390b6866))
|
|
17
|
+
|
|
3
18
|
## [1.4.0](https://github.com/googleapis/google-cloud-node/compare/places-v1.3.0...places-v1.4.0) (2024-03-29)
|
|
4
19
|
|
|
5
20
|
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// Copyright 2024 Google LLC
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
|
|
15
|
+
syntax = "proto3";
|
|
16
|
+
|
|
17
|
+
package google.maps.places.v1;
|
|
18
|
+
|
|
19
|
+
import "google/maps/places/v1/reference.proto";
|
|
20
|
+
import "google/type/localized_text.proto";
|
|
21
|
+
|
|
22
|
+
option cc_enable_arenas = true;
|
|
23
|
+
option csharp_namespace = "Google.Maps.Places.V1";
|
|
24
|
+
option go_package = "cloud.google.com/go/maps/places/apiv1/placespb;placespb";
|
|
25
|
+
option java_multiple_files = true;
|
|
26
|
+
option java_outer_classname = "ContentBlockProto";
|
|
27
|
+
option java_package = "com.google.maps.places.v1";
|
|
28
|
+
option objc_class_prefix = "GMPSV1";
|
|
29
|
+
option php_namespace = "Google\\Maps\\Places\\V1";
|
|
30
|
+
|
|
31
|
+
// A block of content that can be served individually.
|
|
32
|
+
message ContentBlock {
|
|
33
|
+
// The topic of the content, for example "overview" or "restaurant".
|
|
34
|
+
string topic = 1;
|
|
35
|
+
|
|
36
|
+
// Content related to the topic.
|
|
37
|
+
google.type.LocalizedText content = 2;
|
|
38
|
+
|
|
39
|
+
// Experimental: See
|
|
40
|
+
// https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative
|
|
41
|
+
// for more details.
|
|
42
|
+
//
|
|
43
|
+
// References that are related to this block of content.
|
|
44
|
+
References references = 3;
|
|
45
|
+
}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
// Copyright 2024 Google LLC
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
|
|
15
|
+
syntax = "proto3";
|
|
16
|
+
|
|
17
|
+
package google.maps.places.v1;
|
|
18
|
+
|
|
19
|
+
import "google/maps/places/v1/photo.proto";
|
|
20
|
+
import "google/maps/places/v1/review.proto";
|
|
21
|
+
|
|
22
|
+
option cc_enable_arenas = true;
|
|
23
|
+
option csharp_namespace = "Google.Maps.Places.V1";
|
|
24
|
+
option go_package = "cloud.google.com/go/maps/places/apiv1/placespb;placespb";
|
|
25
|
+
option java_multiple_files = true;
|
|
26
|
+
option java_outer_classname = "ContextualContentProto";
|
|
27
|
+
option java_package = "com.google.maps.places.v1";
|
|
28
|
+
option objc_class_prefix = "GMPSV1";
|
|
29
|
+
option php_namespace = "Google\\Maps\\Places\\V1";
|
|
30
|
+
|
|
31
|
+
// Experimental: See
|
|
32
|
+
// https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative
|
|
33
|
+
// for more details.
|
|
34
|
+
//
|
|
35
|
+
// Content that is contextual to the place query.
|
|
36
|
+
message ContextualContent {
|
|
37
|
+
// Experimental: See
|
|
38
|
+
// https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative
|
|
39
|
+
// for more details.
|
|
40
|
+
//
|
|
41
|
+
// Justifications for the place. Justifications answers the question of why a
|
|
42
|
+
// place could interest an end user.
|
|
43
|
+
message Justification {
|
|
44
|
+
// Experimental: See
|
|
45
|
+
// https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative
|
|
46
|
+
// for more details.
|
|
47
|
+
//
|
|
48
|
+
// User review justifications. This highlights a section of the user review
|
|
49
|
+
// that would interest an end user. For instance, if the search query is
|
|
50
|
+
// "firewood pizza", the review justification highlights the text relevant
|
|
51
|
+
// to the search query.
|
|
52
|
+
message ReviewJustification {
|
|
53
|
+
// The text highlighted by the justification. This is a subset of the
|
|
54
|
+
// review itself. The exact word to highlight is marked by the
|
|
55
|
+
// HighlightedTextRange. There could be several words in the text being
|
|
56
|
+
// highlighted.
|
|
57
|
+
message HighlightedText {
|
|
58
|
+
// The range of highlighted text.
|
|
59
|
+
message HighlightedTextRange {
|
|
60
|
+
int32 start_index = 1;
|
|
61
|
+
|
|
62
|
+
int32 end_index = 2;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
string text = 1;
|
|
66
|
+
|
|
67
|
+
// The list of the ranges of the highlighted text.
|
|
68
|
+
repeated HighlightedTextRange highlighted_text_ranges = 2;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
HighlightedText highlighted_text = 1;
|
|
72
|
+
|
|
73
|
+
// The review that the highlighted text is generated from.
|
|
74
|
+
Review review = 2;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
// Experimental: See
|
|
78
|
+
// https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative
|
|
79
|
+
// for more details.
|
|
80
|
+
// BusinessAvailabilityAttributes justifications. This shows some attributes
|
|
81
|
+
// a business has that could interest an end user.
|
|
82
|
+
message BusinessAvailabilityAttributesJustification {
|
|
83
|
+
// If a place provides takeout.
|
|
84
|
+
bool takeout = 1;
|
|
85
|
+
|
|
86
|
+
// If a place provides delivery.
|
|
87
|
+
bool delivery = 2;
|
|
88
|
+
|
|
89
|
+
// If a place provides dine-in.
|
|
90
|
+
bool dine_in = 3;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
oneof justification {
|
|
94
|
+
// Experimental: See
|
|
95
|
+
// https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative
|
|
96
|
+
// for more details.
|
|
97
|
+
ReviewJustification review_justification = 1;
|
|
98
|
+
|
|
99
|
+
// Experimental: See
|
|
100
|
+
// https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative
|
|
101
|
+
// for more details.
|
|
102
|
+
BusinessAvailabilityAttributesJustification
|
|
103
|
+
business_availability_attributes_justification = 2;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
// List of reviews about this place, contexual to the place query.
|
|
108
|
+
repeated Review reviews = 1;
|
|
109
|
+
|
|
110
|
+
// Information (including references) about photos of this place, contexual to
|
|
111
|
+
// the place query.
|
|
112
|
+
repeated Photo photos = 2;
|
|
113
|
+
|
|
114
|
+
// Experimental: See
|
|
115
|
+
// https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative
|
|
116
|
+
// for more details.
|
|
117
|
+
//
|
|
118
|
+
// Justifications for the place.
|
|
119
|
+
repeated Justification justifications = 3;
|
|
120
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright
|
|
1
|
+
// Copyright 2024 Google LLC
|
|
2
2
|
//
|
|
3
3
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
// you may not use this file except in compliance with the License.
|
|
@@ -18,9 +18,11 @@ package google.maps.places.v1;
|
|
|
18
18
|
|
|
19
19
|
import "google/api/resource.proto";
|
|
20
20
|
import "google/geo/type/viewport.proto";
|
|
21
|
+
import "google/maps/places/v1/content_block.proto";
|
|
21
22
|
import "google/maps/places/v1/ev_charging.proto";
|
|
22
23
|
import "google/maps/places/v1/fuel_options.proto";
|
|
23
24
|
import "google/maps/places/v1/photo.proto";
|
|
25
|
+
import "google/maps/places/v1/reference.proto";
|
|
24
26
|
import "google/maps/places/v1/review.proto";
|
|
25
27
|
import "google/type/date.proto";
|
|
26
28
|
import "google/type/latlng.proto";
|
|
@@ -283,6 +285,33 @@ message Place {
|
|
|
283
285
|
optional bool wheelchair_accessible_seating = 4;
|
|
284
286
|
}
|
|
285
287
|
|
|
288
|
+
// Experimental: See
|
|
289
|
+
// https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative
|
|
290
|
+
// for more details.
|
|
291
|
+
//
|
|
292
|
+
// AI-generated summary of the place.
|
|
293
|
+
message GenerativeSummary {
|
|
294
|
+
// The overview of the place.
|
|
295
|
+
google.type.LocalizedText overview = 1;
|
|
296
|
+
|
|
297
|
+
// The detailed description of the place.
|
|
298
|
+
google.type.LocalizedText description = 2;
|
|
299
|
+
|
|
300
|
+
// References that are used to generate the summary description.
|
|
301
|
+
References references = 3;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
// Experimental: See
|
|
305
|
+
// https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative
|
|
306
|
+
// for more details.
|
|
307
|
+
//
|
|
308
|
+
// AI-generated summary of the area that the place is in.
|
|
309
|
+
message AreaSummary {
|
|
310
|
+
// Content blocks that compose the area summary. Each block has a separate
|
|
311
|
+
// topic about the area.
|
|
312
|
+
repeated ContentBlock content_blocks = 4;
|
|
313
|
+
}
|
|
314
|
+
|
|
286
315
|
// This Place's resource name, in `places/{place_id}` format. Can be used to
|
|
287
316
|
// look up the Place.
|
|
288
317
|
string name = 1;
|
|
@@ -295,8 +324,8 @@ message Place {
|
|
|
295
324
|
google.type.LocalizedText display_name = 31;
|
|
296
325
|
|
|
297
326
|
// A set of type tags for this result. For example, "political" and
|
|
298
|
-
// "locality".
|
|
299
|
-
//
|
|
327
|
+
// "locality". For the complete list of possible values, see Table A and Table
|
|
328
|
+
// B at
|
|
300
329
|
// https://developers.google.com/maps/documentation/places/web-service/place-types
|
|
301
330
|
repeated string types = 5;
|
|
302
331
|
|
|
@@ -308,8 +337,8 @@ message Place {
|
|
|
308
337
|
string primary_type = 50;
|
|
309
338
|
|
|
310
339
|
// The display name of the primary type, localized to the request language if
|
|
311
|
-
// applicable.
|
|
312
|
-
//
|
|
340
|
+
// applicable. For the complete list of possible values, see Table A and Table
|
|
341
|
+
// B at
|
|
313
342
|
// https://developers.google.com/maps/documentation/places/web-service/place-types
|
|
314
343
|
google.type.LocalizedText primary_type_display_name = 32;
|
|
315
344
|
|
|
@@ -517,6 +546,20 @@ message Place {
|
|
|
517
546
|
|
|
518
547
|
// Information of ev charging options.
|
|
519
548
|
EVChargeOptions ev_charge_options = 79;
|
|
549
|
+
|
|
550
|
+
// Experimental: See
|
|
551
|
+
// https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative
|
|
552
|
+
// for more details.
|
|
553
|
+
//
|
|
554
|
+
// AI-generated summary of the place.
|
|
555
|
+
GenerativeSummary generative_summary = 80;
|
|
556
|
+
|
|
557
|
+
// Experimental: See
|
|
558
|
+
// https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative
|
|
559
|
+
// for more details.
|
|
560
|
+
//
|
|
561
|
+
// AI-generated summary of the area that the place is in.
|
|
562
|
+
AreaSummary area_summary = 81;
|
|
520
563
|
}
|
|
521
564
|
|
|
522
565
|
// Price level of the place.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright
|
|
1
|
+
// Copyright 2024 Google LLC
|
|
2
2
|
//
|
|
3
3
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
// you may not use this file except in compliance with the License.
|
|
@@ -21,6 +21,7 @@ import "google/api/client.proto";
|
|
|
21
21
|
import "google/api/field_behavior.proto";
|
|
22
22
|
import "google/api/resource.proto";
|
|
23
23
|
import "google/geo/type/viewport.proto";
|
|
24
|
+
import "google/maps/places/v1/contextual_content.proto";
|
|
24
25
|
import "google/maps/places/v1/ev_charging.proto";
|
|
25
26
|
import "google/maps/places/v1/geometry.proto";
|
|
26
27
|
import "google/maps/places/v1/place.proto";
|
|
@@ -36,11 +37,10 @@ option objc_class_prefix = "GMPSV1";
|
|
|
36
37
|
option php_namespace = "Google\\Maps\\Places\\V1";
|
|
37
38
|
|
|
38
39
|
// Service definition for the Places API.
|
|
39
|
-
// Note: every request
|
|
40
|
-
// the request proto (all
|
|
41
|
-
//
|
|
42
|
-
//
|
|
43
|
-
// https://cloud.google.com/apis/docs/system-parameters
|
|
40
|
+
// Note: every request (except for Autocomplete requests) requires a field mask
|
|
41
|
+
// set outside of the request proto (`all/*`, is not assumed). The field mask
|
|
42
|
+
// can be set via the HTTP header `X-Goog-FieldMask`. See:
|
|
43
|
+
// https://developers.google.com/maps/documentation/places/web-service/choose-fields
|
|
44
44
|
service Places {
|
|
45
45
|
option (google.api.default_host) = "places.googleapis.com";
|
|
46
46
|
|
|
@@ -238,7 +238,9 @@ message SearchNearbyResponse {
|
|
|
238
238
|
message SearchTextRequest {
|
|
239
239
|
// How results will be ranked in the response.
|
|
240
240
|
enum RankPreference {
|
|
241
|
-
//
|
|
241
|
+
// For a categorical query such as "Restaurants in New York City", RELEVANCE
|
|
242
|
+
// is the default. For non-categorical queries such as "Mountain View, CA"
|
|
243
|
+
// we recommend that you leave rankPreference unset.
|
|
242
244
|
RANK_PREFERENCE_UNSPECIFIED = 0;
|
|
243
245
|
|
|
244
246
|
// Ranks results by distance.
|
|
@@ -282,13 +284,13 @@ message SearchTextRequest {
|
|
|
282
284
|
|
|
283
285
|
// Searchable EV options of a place search request.
|
|
284
286
|
message EVOptions {
|
|
285
|
-
// Optional.
|
|
286
|
-
// charging
|
|
287
|
+
// Optional. Minimum required charging rate in kilowatts. A place with a
|
|
288
|
+
// charging rate less than the specified rate is filtered out.
|
|
287
289
|
double minimum_charging_rate_kw = 1
|
|
288
290
|
[(google.api.field_behavior) = OPTIONAL];
|
|
289
291
|
|
|
290
292
|
// Optional. The list of preferred EV connector types. A place that does not
|
|
291
|
-
// support any of the listed connector types
|
|
293
|
+
// support any of the listed connector types is filtered out.
|
|
292
294
|
repeated EVConnectorType connector_types = 2
|
|
293
295
|
[(google.api.field_behavior) = OPTIONAL];
|
|
294
296
|
}
|
|
@@ -370,6 +372,19 @@ message SearchTextRequest {
|
|
|
370
372
|
message SearchTextResponse {
|
|
371
373
|
// A list of places that meet the user's text search criteria.
|
|
372
374
|
repeated Place places = 1;
|
|
375
|
+
|
|
376
|
+
// Experimental: See
|
|
377
|
+
// https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative
|
|
378
|
+
// for more details.
|
|
379
|
+
//
|
|
380
|
+
// A list of contextual contents where each entry associates to the
|
|
381
|
+
// corresponding place in the same index in the places field. The contents
|
|
382
|
+
// that are relevant to the `text_query` in the request are preferred. If the
|
|
383
|
+
// contextual content is not available for one of the places, it will return
|
|
384
|
+
// non-contextual content. It will be empty only when the content is
|
|
385
|
+
// unavailable for this place. This list should have as many entries as the
|
|
386
|
+
// list of places if requested.
|
|
387
|
+
repeated ContextualContent contextual_contents = 3;
|
|
373
388
|
}
|
|
374
389
|
|
|
375
390
|
// Request for fetching a photo of a place using a photo resource name.
|
|
@@ -541,11 +556,11 @@ message AutocompletePlacesRequest {
|
|
|
541
556
|
[(google.api.field_behavior) = OPTIONAL];
|
|
542
557
|
|
|
543
558
|
// Optional. Included primary Place type (for example, "restaurant" or
|
|
544
|
-
// "gas_station")
|
|
545
|
-
// https://developers.google.com/maps/documentation/places/web-service/place-types
|
|
546
|
-
// A Place is only returned if its
|
|
547
|
-
// to 5 values can be specified. If
|
|
548
|
-
// are returned.
|
|
559
|
+
// "gas_station") in Place Types
|
|
560
|
+
// (https://developers.google.com/maps/documentation/places/web-service/place-types),
|
|
561
|
+
// or only `(regions)`, or only `(cities)`. A Place is only returned if its
|
|
562
|
+
// primary type is included in this list. Up to 5 values can be specified. If
|
|
563
|
+
// no types are specified, all Place types are returned.
|
|
549
564
|
repeated string included_primary_types = 4
|
|
550
565
|
[(google.api.field_behavior) = OPTIONAL];
|
|
551
566
|
|
|
@@ -718,7 +733,7 @@ message AutocompletePlacesResponse {
|
|
|
718
733
|
message QueryPrediction {
|
|
719
734
|
// The predicted text. This text does not represent a Place, but rather a
|
|
720
735
|
// text query that could be used in a search endpoint (for example,
|
|
721
|
-
//
|
|
736
|
+
// Text Search).
|
|
722
737
|
//
|
|
723
738
|
// `text` is recommended for developers who wish to show a single UI
|
|
724
739
|
// element. Developers who wish to show two separate, but related, UI
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// Copyright 2024 Google LLC
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
|
|
15
|
+
syntax = "proto3";
|
|
16
|
+
|
|
17
|
+
package google.maps.places.v1;
|
|
18
|
+
|
|
19
|
+
import "google/api/resource.proto";
|
|
20
|
+
import "google/maps/places/v1/review.proto";
|
|
21
|
+
|
|
22
|
+
option cc_enable_arenas = true;
|
|
23
|
+
option csharp_namespace = "Google.Maps.Places.V1";
|
|
24
|
+
option go_package = "cloud.google.com/go/maps/places/apiv1/placespb;placespb";
|
|
25
|
+
option java_multiple_files = true;
|
|
26
|
+
option java_outer_classname = "ReferenceProto";
|
|
27
|
+
option java_package = "com.google.maps.places.v1";
|
|
28
|
+
option objc_class_prefix = "GMPSV1";
|
|
29
|
+
option php_namespace = "Google\\Maps\\Places\\V1";
|
|
30
|
+
|
|
31
|
+
// Experimental: See
|
|
32
|
+
// https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative
|
|
33
|
+
// for more details.
|
|
34
|
+
//
|
|
35
|
+
// Reference that the generative content is related to.
|
|
36
|
+
message References {
|
|
37
|
+
// Reviews that serve as references.
|
|
38
|
+
repeated Review reviews = 1;
|
|
39
|
+
|
|
40
|
+
// The list of resource names of the referenced places. This name can be used
|
|
41
|
+
// in other APIs that accept Place resource names.
|
|
42
|
+
repeated string places = 2 [
|
|
43
|
+
(google.api.resource_reference) = { type: "places.googleapis.com/Place" }
|
|
44
|
+
];
|
|
45
|
+
}
|