@googlemaps/places 1.3.0 → 1.4.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 +7 -0
- package/build/protos/google/maps/places/v1/place.proto +5 -3
- package/build/protos/google/maps/places/v1/places_service.proto +29 -24
- package/build/protos/protos.d.ts +770 -16
- package/build/protos/protos.js +2993 -299
- package/build/protos/protos.json +348 -16
- package/build/src/v1/places_client.d.ts +26 -22
- package/build/src/v1/places_client.js +10 -7
- package/build/src/v1/places_client.js.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.4.0](https://github.com/googleapis/google-cloud-node/compare/places-v1.3.0...places-v1.4.0) (2024-03-29)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* [Many APIs] add several fields to manage state of database encryption update ([#5193](https://github.com/googleapis/google-cloud-node/issues/5193)) ([333b409](https://github.com/googleapis/google-cloud-node/commit/333b40951a255ecfab249bd6e7ace5877270ec85))
|
|
9
|
+
|
|
3
10
|
## [1.3.0](https://github.com/googleapis/google-cloud-node/compare/places-v1.2.0...places-v1.3.0) (2024-02-22)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -362,7 +362,8 @@ message Place {
|
|
|
362
362
|
// chain.
|
|
363
363
|
string website_uri = 16;
|
|
364
364
|
|
|
365
|
-
// List of reviews about this place, sorted by relevance.
|
|
365
|
+
// List of reviews about this place, sorted by relevance. A maximum of 5
|
|
366
|
+
// reviews can be returned.
|
|
366
367
|
repeated Review reviews = 53;
|
|
367
368
|
|
|
368
369
|
// The regular hours of operation.
|
|
@@ -373,7 +374,8 @@ message Place {
|
|
|
373
374
|
// fractions of an hour, e.g. X hours and 15 minutes.
|
|
374
375
|
optional int32 utc_offset_minutes = 22;
|
|
375
376
|
|
|
376
|
-
// Information (including references) about photos of this place.
|
|
377
|
+
// Information (including references) about photos of this place. A maximum of
|
|
378
|
+
// 10 photos can be returned.
|
|
377
379
|
repeated Photo photos = 54;
|
|
378
380
|
|
|
379
381
|
// The place's address in adr microformat: http://microformats.org/wiki/adr.
|
|
@@ -534,6 +536,6 @@ enum PriceLevel {
|
|
|
534
536
|
// Place provides expensive services.
|
|
535
537
|
PRICE_LEVEL_EXPENSIVE = 4;
|
|
536
538
|
|
|
537
|
-
// Place provides very expensive
|
|
539
|
+
// Place provides very expensive services.
|
|
538
540
|
PRICE_LEVEL_VERY_EXPENSIVE = 5;
|
|
539
541
|
}
|
|
@@ -465,21 +465,23 @@ message GetPlaceRequest {
|
|
|
465
465
|
// Note that 3-digit region codes are not currently supported.
|
|
466
466
|
string region_code = 3 [(google.api.field_behavior) = OPTIONAL];
|
|
467
467
|
|
|
468
|
-
// Optional.
|
|
469
|
-
//
|
|
470
|
-
// INVALID_ARGUMENT error is
|
|
468
|
+
// Optional. A string which identifies an Autocomplete session for billing
|
|
469
|
+
// purposes. Must be a URL and filename safe base64 string with at most 36
|
|
470
|
+
// ASCII characters in length. Otherwise an INVALID_ARGUMENT error is
|
|
471
|
+
// returned.
|
|
471
472
|
//
|
|
472
473
|
// The session begins when the user starts typing a query, and concludes when
|
|
473
474
|
// they select a place and a call to Place Details or Address Validation is
|
|
474
|
-
// made. Each session can have multiple queries, followed by one Place
|
|
475
|
-
//
|
|
476
|
-
// belong to the same Google Cloud Console project. Once a
|
|
477
|
-
// concluded, the token is no longer valid; your app must generate
|
|
478
|
-
// token for each session. If the `session_token` parameter is
|
|
479
|
-
// you reuse a session token, the session is charged as if no
|
|
480
|
-
// was provided (each request is billed separately).
|
|
475
|
+
// made. Each session can have multiple queries, followed by one Place Details
|
|
476
|
+
// or Address Validation request. The credentials used for each request within
|
|
477
|
+
// a session must belong to the same Google Cloud Console project. Once a
|
|
478
|
+
// session has concluded, the token is no longer valid; your app must generate
|
|
479
|
+
// a fresh token for each session. If the `session_token` parameter is
|
|
480
|
+
// omitted, or if you reuse a session token, the session is charged as if no
|
|
481
|
+
// session token was provided (each request is billed separately).
|
|
481
482
|
//
|
|
482
483
|
// We recommend the following guidelines:
|
|
484
|
+
//
|
|
483
485
|
// * Use session tokens for all Place Autocomplete calls.
|
|
484
486
|
// * Generate a fresh token for each session. Using a version 4 UUID is
|
|
485
487
|
// recommended.
|
|
@@ -538,8 +540,8 @@ message AutocompletePlacesRequest {
|
|
|
538
540
|
LocationRestriction location_restriction = 3
|
|
539
541
|
[(google.api.field_behavior) = OPTIONAL];
|
|
540
542
|
|
|
541
|
-
// Optional. Included primary Place type (
|
|
542
|
-
// from
|
|
543
|
+
// Optional. Included primary Place type (for example, "restaurant" or
|
|
544
|
+
// "gas_station") from
|
|
543
545
|
// https://developers.google.com/maps/documentation/places/web-service/place-types.
|
|
544
546
|
// A Place is only returned if its primary type is included in this list. Up
|
|
545
547
|
// to 5 values can be specified. If no types are specified, all Place types
|
|
@@ -582,21 +584,23 @@ message AutocompletePlacesRequest {
|
|
|
582
584
|
// predictions. Otherwise the response will only return Place predictions.
|
|
583
585
|
bool include_query_predictions = 10 [(google.api.field_behavior) = OPTIONAL];
|
|
584
586
|
|
|
585
|
-
// Optional.
|
|
586
|
-
//
|
|
587
|
-
// INVALID_ARGUMENT error is
|
|
587
|
+
// Optional. A string which identifies an Autocomplete session for billing
|
|
588
|
+
// purposes. Must be a URL and filename safe base64 string with at most 36
|
|
589
|
+
// ASCII characters in length. Otherwise an INVALID_ARGUMENT error is
|
|
590
|
+
// returned.
|
|
588
591
|
//
|
|
589
592
|
// The session begins when the user starts typing a query, and concludes when
|
|
590
593
|
// they select a place and a call to Place Details or Address Validation is
|
|
591
|
-
// made. Each session can have multiple queries, followed by one Place
|
|
592
|
-
//
|
|
593
|
-
// belong to the same Google Cloud Console project. Once a
|
|
594
|
-
// concluded, the token is no longer valid; your app must generate
|
|
595
|
-
// token for each session. If the `session_token` parameter is
|
|
596
|
-
// you reuse a session token, the session is charged as if no
|
|
597
|
-
// was provided (each request is billed separately).
|
|
594
|
+
// made. Each session can have multiple queries, followed by one Place Details
|
|
595
|
+
// or Address Validation request. The credentials used for each request within
|
|
596
|
+
// a session must belong to the same Google Cloud Console project. Once a
|
|
597
|
+
// session has concluded, the token is no longer valid; your app must generate
|
|
598
|
+
// a fresh token for each session. If the `session_token` parameter is
|
|
599
|
+
// omitted, or if you reuse a session token, the session is charged as if no
|
|
600
|
+
// session token was provided (each request is billed separately).
|
|
598
601
|
//
|
|
599
602
|
// We recommend the following guidelines:
|
|
603
|
+
//
|
|
600
604
|
// * Use session tokens for all Place Autocomplete calls.
|
|
601
605
|
// * Generate a fresh token for each session. Using a version 4 UUID is
|
|
602
606
|
// recommended.
|
|
@@ -632,7 +636,7 @@ message AutocompletePlacesResponse {
|
|
|
632
636
|
// A list of string ranges identifying where the input request matched in
|
|
633
637
|
// `text`. The ranges can be used to format specific parts of `text`. The
|
|
634
638
|
// substrings may not be exact matches of `input` if the matching was
|
|
635
|
-
// determined by criteria other than string matching (
|
|
639
|
+
// determined by criteria other than string matching (for example, spell
|
|
636
640
|
// corrections or transliterations).
|
|
637
641
|
//
|
|
638
642
|
// These values are Unicode character offsets of `text`. The ranges are
|
|
@@ -713,7 +717,8 @@ message AutocompletePlacesResponse {
|
|
|
713
717
|
// Prediction results for a Query Autocomplete prediction.
|
|
714
718
|
message QueryPrediction {
|
|
715
719
|
// The predicted text. This text does not represent a Place, but rather a
|
|
716
|
-
// text query that could be used in a search endpoint (
|
|
720
|
+
// text query that could be used in a search endpoint (for example,
|
|
721
|
+
// TextSearch).
|
|
717
722
|
//
|
|
718
723
|
// `text` is recommended for developers who wish to show a single UI
|
|
719
724
|
// element. Developers who wish to show two separate, but related, UI
|