@googlemaps/places 1.1.0 → 1.3.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 +14 -0
- package/README.md +1 -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 +387 -41
- package/build/protos/google/maps/places/v1/review.proto +17 -24
- package/build/protos/protos.d.ts +8556 -7785
- package/build/protos/protos.js +26958 -25437
- package/build/protos/protos.json +3045 -3209
- package/build/src/index.js +1 -1
- package/build/src/v1/index.js +1 -1
- package/build/src/v1/places_client.d.ts +192 -37
- package/build/src/v1/places_client.js +59 -14
- package/build/src/v1/places_client.js.map +1 -1
- package/build/src/v1/places_client_config.json +4 -0
- 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/maps/places/v1/attribution.proto";
|
|
22
21
|
import "google/protobuf/timestamp.proto";
|
|
@@ -40,33 +39,27 @@ message Review {
|
|
|
40
39
|
singular: "review"
|
|
41
40
|
};
|
|
42
41
|
|
|
43
|
-
//
|
|
44
|
-
//
|
|
45
|
-
// places/{place_id}/reviews/{review}).
|
|
46
|
-
string name = 1
|
|
42
|
+
// A reference representing this place review which may be used to look up
|
|
43
|
+
// this place review again (also called the API "resource" name:
|
|
44
|
+
// `places/{place_id}/reviews/{review}`).
|
|
45
|
+
string name = 1;
|
|
47
46
|
|
|
48
|
-
//
|
|
49
|
-
//
|
|
50
|
-
|
|
51
|
-
string relative_publish_time_description = 2
|
|
52
|
-
[(google.api.field_behavior) = OUTPUT_ONLY];
|
|
47
|
+
// A string of formatted recent time, expressing the review time relative
|
|
48
|
+
// to the current time in a form appropriate for the language and country.
|
|
49
|
+
string relative_publish_time_description = 2;
|
|
53
50
|
|
|
54
|
-
//
|
|
55
|
-
google.type.LocalizedText text = 9
|
|
56
|
-
[(google.api.field_behavior) = OUTPUT_ONLY];
|
|
51
|
+
// The localized text of the review.
|
|
52
|
+
google.type.LocalizedText text = 9;
|
|
57
53
|
|
|
58
|
-
//
|
|
59
|
-
google.type.LocalizedText original_text = 12
|
|
60
|
-
[(google.api.field_behavior) = OUTPUT_ONLY];
|
|
54
|
+
// The review text in its original language.
|
|
55
|
+
google.type.LocalizedText original_text = 12;
|
|
61
56
|
|
|
62
|
-
//
|
|
63
|
-
double rating = 7
|
|
57
|
+
// A number between 1.0 and 5.0, also called the number of stars.
|
|
58
|
+
double rating = 7;
|
|
64
59
|
|
|
65
|
-
//
|
|
66
|
-
AuthorAttribution author_attribution = 13
|
|
67
|
-
[(google.api.field_behavior) = OUTPUT_ONLY];
|
|
60
|
+
// This review's author.
|
|
61
|
+
AuthorAttribution author_attribution = 13;
|
|
68
62
|
|
|
69
|
-
//
|
|
70
|
-
google.protobuf.Timestamp publish_time = 14
|
|
71
|
-
[(google.api.field_behavior) = OUTPUT_ONLY];
|
|
63
|
+
// Timestamp for the review.
|
|
64
|
+
google.protobuf.Timestamp publish_time = 14;
|
|
72
65
|
}
|