Skip to content

Commit ec637db

Browse files
feat: add request/response debug logging to gapics, update templates to gax 5 and node 18
* docs: Change comments in some fields in Places API feat: Add postal_address and time_zone to Place PiperOrigin-RevId: 735444062 Source-Link: googleapis/googleapis@b3d8e7d Source-Link: googleapis/googleapis-gen@8f1517b Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLW1hcHMtcGxhY2VzLy5Pd2xCb3QueWFtbCIsImgiOiI4ZjE1MTdiZDhiM2FhNTZjNjU1MzYwZmUxODJkMTViOWFlOWRkZTc0In0= * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore: update typescript gapic generator to 4.8.1 feat: add request/response debug logging to gapics, update templates to gax 5 and node 18 (#1671) fix: add json files to tsconfig templates (#1692) (ba6be1d) PiperOrigin-RevId: 735896588 Source-Link: googleapis/googleapis@3419af7 Source-Link: googleapis/googleapis-gen@f35ba11 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLW1hcHMtcGxhY2VzLy5Pd2xCb3QueWFtbCIsImgiOiJmMzViYTExNDJmNGUxNjgyMjIzMjdkODkyYjVmNmVlOTA4ZTVkNDYxIn0= * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: sofisl <[email protected]>
1 parent c312681 commit ec637db

7 files changed

Lines changed: 1868 additions & 17 deletions

File tree

packages/google-maps-places/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Google APIs Client Libraries, in [Client Libraries Explained][explained].
4444
1. [Select or create a Cloud Platform project][projects].
4545
1. [Enable billing for your project][billing].
4646
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
4848
API from your local workstation.
4949

5050
### Installing the client library
@@ -167,4 +167,4 @@ See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/LICENSE)
167167
[projects]: https://console.cloud.google.com/project
168168
[billing]: https://support.google.com/cloud/answer/6293499#enable-billing
169169
[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

packages/google-maps-places/protos/google/maps/places/v1/place.proto

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,10 @@ import "google/maps/places/v1/reference.proto";
2727
import "google/maps/places/v1/review.proto";
2828
import "google/protobuf/timestamp.proto";
2929
import "google/type/date.proto";
30+
import "google/type/datetime.proto";
3031
import "google/type/latlng.proto";
3132
import "google/type/localized_text.proto";
33+
import "google/type/postal_address.proto";
3234

3335
option csharp_namespace = "Google.Maps.Places.V1";
3436
option go_package = "cloud.google.com/go/maps/places/apiv1/placespb;placespb";
@@ -91,10 +93,10 @@ message Place {
9193
// Monday, etc.
9294
optional int32 day = 1;
9395

94-
// The hour in 2 digits. Ranges from 00 to 23.
96+
// The hour in 24 hour format. Ranges from 0 to 23.
9597
optional int32 hour = 2;
9698

97-
// The minute in 2 digits. Ranges from 00 to 59.
99+
// The minute. Ranges from 0 to 59.
98100
optional int32 minute = 3;
99101

100102
// Date in the local timezone for the place.
@@ -378,6 +380,9 @@ message Place {
378380
// A short, human-readable address for this place.
379381
string short_formatted_address = 51;
380382

383+
// The address in postal address format.
384+
google.type.PostalAddress postal_address = 90;
385+
381386
// Repeated components for each locality level.
382387
// Note the following facts about the address_components[] array:
383388
// - The array of address components may contain more components than the
@@ -421,21 +426,30 @@ message Place {
421426
// reviews can be returned.
422427
repeated Review reviews = 53;
423428

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`.
425435
OpeningHours regular_opening_hours = 21;
426436

427437
// Number of minutes this place's timezone is currently offset from UTC.
428438
// This is expressed in minutes to support timezones that are offset by
429439
// fractions of an hour, e.g. X hours and 15 minutes.
430440
optional int32 utc_offset_minutes = 22;
431441

442+
// IANA Time Zone Database time zone. For example "America/New_York".
443+
google.type.TimeZone time_zone = 88;
444+
432445
// Information (including references) about photos of this place. A maximum of
433446
// 10 photos can be returned.
434447
repeated Photo photos = 54;
435448

436449
// The place's address in adr microformat: http://microformats.org/wiki/adr.
437450
string adr_format_address = 24;
438451

452+
// The business status for the place.
439453
BusinessStatus business_status = 25;
440454

441455
// Price level of the place.

0 commit comments

Comments
 (0)