@googlemaps/places 1.10.0 → 2.0.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.
Files changed (29) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +2 -2
  3. package/build/protos/google/geo/type/viewport.proto +1 -1
  4. package/build/protos/google/maps/places/v1/attribution.proto +1 -1
  5. package/build/protos/google/maps/places/v1/content_block.proto +1 -1
  6. package/build/protos/google/maps/places/v1/contextual_content.proto +1 -1
  7. package/build/protos/google/maps/places/v1/ev_charging.proto +1 -1
  8. package/build/protos/google/maps/places/v1/fuel_options.proto +1 -1
  9. package/build/protos/google/maps/places/v1/geometry.proto +1 -1
  10. package/build/protos/google/maps/places/v1/photo.proto +1 -1
  11. package/build/protos/google/maps/places/v1/place.proto +18 -4
  12. package/build/protos/google/maps/places/v1/places_service.proto +1 -1
  13. package/build/protos/google/maps/places/v1/polyline.proto +1 -1
  14. package/build/protos/google/maps/places/v1/price_range.proto +1 -1
  15. package/build/protos/google/maps/places/v1/reference.proto +1 -1
  16. package/build/protos/google/maps/places/v1/review.proto +1 -1
  17. package/build/protos/google/maps/places/v1/route_modifiers.proto +1 -1
  18. package/build/protos/google/maps/places/v1/routing_preference.proto +1 -1
  19. package/build/protos/google/maps/places/v1/routing_summary.proto +1 -1
  20. package/build/protos/google/maps/places/v1/travel_mode.proto +1 -1
  21. package/build/protos/protos.d.ts +420 -0
  22. package/build/protos/protos.js +1176 -0
  23. package/build/protos/protos.json +120 -5
  24. package/build/src/v1/gapic_metadata.json +73 -0
  25. package/build/src/v1/places_client.d.ts +2 -1
  26. package/build/src/v1/places_client.js +104 -27
  27. package/build/src/v1/places_client.js.map +1 -1
  28. package/build/src/v1/places_proto_list.json +20 -0
  29. package/package.json +16 -16
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.0.0](https://github.com/googleapis/google-cloud-node/compare/places-v1.10.0...places-v2.0.0) (2025-03-18)
4
+
5
+
6
+ ### ⚠ BREAKING CHANGES
7
+
8
+ * upgrade to Node 18 ([#6096](https://github.com/googleapis/google-cloud-node/issues/6096))
9
+
10
+ ### Features
11
+
12
+ * Add request/response debug logging to gapics, update templates to gax 5 and node 18 ([ec637db](https://github.com/googleapis/google-cloud-node/commit/ec637db171237d31da01f356af88a243e608fb14))
13
+
14
+
15
+ ### Miscellaneous Chores
16
+
17
+ * Upgrade to Node 18 ([#6096](https://github.com/googleapis/google-cloud-node/issues/6096)) ([eadae64](https://github.com/googleapis/google-cloud-node/commit/eadae64d54e07aa2c65097ea52e65008d4e87436))
18
+
3
19
  ## [1.10.0](https://github.com/googleapis/google-cloud-node/compare/places-v1.9.1...places-v1.10.0) (2025-02-28)
4
20
 
5
21
 
package/README.md CHANGED
@@ -44,7 +44,7 @@ Google APIs Client Libraries, in [Client Libraries Explained][explained].
44
44
  1. [Select or create a Cloud Platform project][projects].
45
45
  1. [Enable billing for your project][billing].
46
46
  1. [Enable the Places API (New) API][enable_api].
47
- 1. [Set up authentication][auth] so you can access the
47
+ 1. [Set up authentication with a service account][auth] so you can access the
48
48
  API from your local workstation.
49
49
 
50
50
  ### Installing the client library
@@ -167,4 +167,4 @@ See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/LICENSE)
167
167
  [projects]: https://console.cloud.google.com/project
168
168
  [billing]: https://support.google.com/cloud/answer/6293499#enable-billing
169
169
  [enable_api]: https://console.cloud.google.com/flows/enableapi?apiid=places.googleapis.com
170
- [auth]: https://cloud.google.com/docs/authentication/external/set-up-adc-local
170
+ [auth]: https://cloud.google.com/docs/authentication/getting-started
@@ -1,4 +1,4 @@
1
- // Copyright 2024 Google LLC
1
+ // Copyright 2025 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.
@@ -1,4 +1,4 @@
1
- // Copyright 2024 Google LLC
1
+ // Copyright 2025 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.
@@ -1,4 +1,4 @@
1
- // Copyright 2024 Google LLC
1
+ // Copyright 2025 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.
@@ -1,4 +1,4 @@
1
- // Copyright 2024 Google LLC
1
+ // Copyright 2025 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.
@@ -1,4 +1,4 @@
1
- // Copyright 2024 Google LLC
1
+ // Copyright 2025 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.
@@ -1,4 +1,4 @@
1
- // Copyright 2024 Google LLC
1
+ // Copyright 2025 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.
@@ -1,4 +1,4 @@
1
- // Copyright 2024 Google LLC
1
+ // Copyright 2025 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.
@@ -1,4 +1,4 @@
1
- // Copyright 2024 Google LLC
1
+ // Copyright 2025 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.
@@ -1,4 +1,4 @@
1
- // Copyright 2024 Google LLC
1
+ // Copyright 2025 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.
@@ -27,8 +27,10 @@ import "google/maps/places/v1/reference.proto";
27
27
  import "google/maps/places/v1/review.proto";
28
28
  import "google/protobuf/timestamp.proto";
29
29
  import "google/type/date.proto";
30
+ import "google/type/datetime.proto";
30
31
  import "google/type/latlng.proto";
31
32
  import "google/type/localized_text.proto";
33
+ import "google/type/postal_address.proto";
32
34
 
33
35
  option csharp_namespace = "Google.Maps.Places.V1";
34
36
  option go_package = "cloud.google.com/go/maps/places/apiv1/placespb;placespb";
@@ -91,10 +93,10 @@ message Place {
91
93
  // Monday, etc.
92
94
  optional int32 day = 1;
93
95
 
94
- // The hour in 2 digits. Ranges from 00 to 23.
96
+ // The hour in 24 hour format. Ranges from 0 to 23.
95
97
  optional int32 hour = 2;
96
98
 
97
- // The minute in 2 digits. Ranges from 00 to 59.
99
+ // The minute. Ranges from 0 to 59.
98
100
  optional int32 minute = 3;
99
101
 
100
102
  // Date in the local timezone for the place.
@@ -378,6 +380,9 @@ message Place {
378
380
  // A short, human-readable address for this place.
379
381
  string short_formatted_address = 51;
380
382
 
383
+ // The address in postal address format.
384
+ google.type.PostalAddress postal_address = 90;
385
+
381
386
  // Repeated components for each locality level.
382
387
  // Note the following facts about the address_components[] array:
383
388
  // - The array of address components may contain more components than the
@@ -421,7 +426,12 @@ message Place {
421
426
  // reviews can be returned.
422
427
  repeated Review reviews = 53;
423
428
 
424
- // The regular hours of operation.
429
+ // The regular hours of operation. Note that if a place is always open (24
430
+ // hours), the `close` field will not be set. Clients can rely on always open
431
+ // (24 hours) being represented as an
432
+ // [open][google.maps.places.v1.Place.OpeningHours.Period.open] period
433
+ // containing [day][Point.day] with value `0`, [hour][Point.hour] with
434
+ // value `0`, and [minute][Point.minute] with value `0`.
425
435
  OpeningHours regular_opening_hours = 21;
426
436
 
427
437
  // Number of minutes this place's timezone is currently offset from UTC.
@@ -429,6 +439,9 @@ message Place {
429
439
  // fractions of an hour, e.g. X hours and 15 minutes.
430
440
  optional int32 utc_offset_minutes = 22;
431
441
 
442
+ // IANA Time Zone Database time zone. For example "America/New_York".
443
+ google.type.TimeZone time_zone = 88;
444
+
432
445
  // Information (including references) about photos of this place. A maximum of
433
446
  // 10 photos can be returned.
434
447
  repeated Photo photos = 54;
@@ -436,6 +449,7 @@ message Place {
436
449
  // The place's address in adr microformat: http://microformats.org/wiki/adr.
437
450
  string adr_format_address = 24;
438
451
 
452
+ // The business status for the place.
439
453
  BusinessStatus business_status = 25;
440
454
 
441
455
  // Price level of the place.
@@ -1,4 +1,4 @@
1
- // Copyright 2024 Google LLC
1
+ // Copyright 2025 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.
@@ -1,4 +1,4 @@
1
- // Copyright 2024 Google LLC
1
+ // Copyright 2025 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.
@@ -1,4 +1,4 @@
1
- // Copyright 2024 Google LLC
1
+ // Copyright 2025 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.
@@ -1,4 +1,4 @@
1
- // Copyright 2024 Google LLC
1
+ // Copyright 2025 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.
@@ -1,4 +1,4 @@
1
- // Copyright 2024 Google LLC
1
+ // Copyright 2025 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.
@@ -1,4 +1,4 @@
1
- // Copyright 2024 Google LLC
1
+ // Copyright 2025 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.
@@ -1,4 +1,4 @@
1
- // Copyright 2024 Google LLC
1
+ // Copyright 2025 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.
@@ -1,4 +1,4 @@
1
- // Copyright 2024 Google LLC
1
+ // Copyright 2025 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.
@@ -1,4 +1,4 @@
1
- // Copyright 2024 Google LLC
1
+ // Copyright 2025 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.