Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/google-maps-places/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Google APIs Client Libraries, in [Client Libraries Explained][explained].
1. [Select or create a Cloud Platform project][projects].
1. [Enable billing for your project][billing].
1. [Enable the Places API (New) API][enable_api].
1. [Set up authentication][auth] so you can access the
1. [Set up authentication with a service account][auth] so you can access the
API from your local workstation.

### Installing the client library
Expand Down Expand Up @@ -167,4 +167,4 @@ See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/LICENSE)
[projects]: https://console.cloud.google.com/project
[billing]: https://support.google.com/cloud/answer/6293499#enable-billing
[enable_api]: https://console.cloud.google.com/flows/enableapi?apiid=places.googleapis.com
[auth]: https://cloud.google.com/docs/authentication/external/set-up-adc-local
[auth]: https://cloud.google.com/docs/authentication/getting-started
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@ import "google/maps/places/v1/reference.proto";
import "google/maps/places/v1/review.proto";
import "google/protobuf/timestamp.proto";
import "google/type/date.proto";
import "google/type/datetime.proto";
import "google/type/latlng.proto";
import "google/type/localized_text.proto";
import "google/type/postal_address.proto";

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

// The hour in 2 digits. Ranges from 00 to 23.
// The hour in 24 hour format. Ranges from 0 to 23.
optional int32 hour = 2;

// The minute in 2 digits. Ranges from 00 to 59.
// The minute. Ranges from 0 to 59.
optional int32 minute = 3;

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

// The address in postal address format.
google.type.PostalAddress postal_address = 90;

// Repeated components for each locality level.
// Note the following facts about the address_components[] array:
// - The array of address components may contain more components than the
Expand Down Expand Up @@ -421,21 +426,30 @@ message Place {
// reviews can be returned.
repeated Review reviews = 53;

// The regular hours of operation.
// The regular hours of operation. Note that if a place is always open (24
// hours), the `close` field will not be set. Clients can rely on always open
// (24 hours) being represented as an
// [open][google.maps.places.v1.Place.OpeningHours.Period.open] period
// containing [day][Point.day] with value `0`, [hour][Point.hour] with
// value `0`, and [minute][Point.minute] with value `0`.
OpeningHours regular_opening_hours = 21;

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

// IANA Time Zone Database time zone. For example "America/New_York".
google.type.TimeZone time_zone = 88;

// Information (including references) about photos of this place. A maximum of
// 10 photos can be returned.
repeated Photo photos = 54;

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

// The business status for the place.
BusinessStatus business_status = 25;

// Price level of the place.
Expand Down
Loading