@@ -634,22 +634,23 @@ class GetPlaceRequest(proto.Message):
634634
635635 Note that 3-digit region codes are not currently supported.
636636 session_token (str):
637- Optional. An arbitrary string which identifies an
638- autocomplete session for billing purposes. Must be at most
639- 36 characters in length. Otherwise an INVALID_ARGUMENT error
640- is returned.
637+ Optional. A string which identifies an Autocomplete session
638+ for billing purposes. Must be a URL and filename safe base64
639+ string with at most 36 ASCII characters in length. Otherwise
640+ an INVALID_ARGUMENT error is returned.
641641
642642 The session begins when the user starts typing a query, and
643643 concludes when they select a place and a call to Place
644644 Details or Address Validation is made. Each session can have
645- multiple queries, followed by one Place selection. The
646- credentials used for each request within a session must
647- belong to the same Google Cloud Console project. Once a
648- session has concluded, the token is no longer valid; your
649- app must generate a fresh token for each session. If the
650- ``session_token`` parameter is omitted, or if you reuse a
651- session token, the session is charged as if no session token
652- was provided (each request is billed separately).
645+ multiple queries, followed by one Place Details or Address
646+ Validation request. The credentials used for each request
647+ within a session must belong to the same Google Cloud
648+ Console project. Once a session has concluded, the token is
649+ no longer valid; your app must generate a fresh token for
650+ each session. If the ``session_token`` parameter is omitted,
651+ or if you reuse a session token, the session is charged as
652+ if no session token was provided (each request is billed
653+ separately).
653654
654655 We recommend the following guidelines:
655656
@@ -704,8 +705,8 @@ class AutocompletePlacesRequest(proto.Message):
704705 biased by IP address, meaning the IP address will be mapped
705706 to an imprecise location and used as a biasing signal.
706707 included_primary_types (MutableSequence[str]):
707- Optional. Included primary Place type (e.g. "restaurant" or
708- "gas_station") from
708+ Optional. Included primary Place type (for example,
709+ "restaurant" or " gas_station") from
709710 https://developers.google.com/maps/documentation/places/web-service/place-types.
710711 A Place is only returned if its primary type is included in
711712 this list. Up to 5 values can be specified. If no types are
@@ -746,22 +747,23 @@ class AutocompletePlacesRequest(proto.Message):
746747 both Place and query predictions. Otherwise the
747748 response will only return Place predictions.
748749 session_token (str):
749- Optional. An arbitrary string which identifies an
750- autocomplete session for billing purposes. Must be at most
751- 36 characters in length. Otherwise an INVALID_ARGUMENT error
752- is returned.
750+ Optional. A string which identifies an Autocomplete session
751+ for billing purposes. Must be a URL and filename safe base64
752+ string with at most 36 ASCII characters in length. Otherwise
753+ an INVALID_ARGUMENT error is returned.
753754
754755 The session begins when the user starts typing a query, and
755756 concludes when they select a place and a call to Place
756757 Details or Address Validation is made. Each session can have
757- multiple queries, followed by one Place selection. The
758- credentials used for each request within a session must
759- belong to the same Google Cloud Console project. Once a
760- session has concluded, the token is no longer valid; your
761- app must generate a fresh token for each session. If the
762- ``session_token`` parameter is omitted, or if you reuse a
763- session token, the session is charged as if no session token
764- was provided (each request is billed separately).
758+ multiple queries, followed by one Place Details or Address
759+ Validation request. The credentials used for each request
760+ within a session must belong to the same Google Cloud
761+ Console project. Once a session has concluded, the token is
762+ no longer valid; your app must generate a fresh token for
763+ each session. If the ``session_token`` parameter is omitted,
764+ or if you reuse a session token, the session is charged as
765+ if no session token was provided (each request is billed
766+ separately).
765767
766768 We recommend the following guidelines:
767769
@@ -963,8 +965,8 @@ class FormattableText(proto.Message):
963965 matched in ``text``. The ranges can be used to format
964966 specific parts of ``text``. The substrings may not be exact
965967 matches of ``input`` if the matching was determined by
966- criteria other than string matching (e.g. spell corrections
967- or transliterations).
968+ criteria other than string matching (for example, spell
969+ corrections or transliterations).
968970
969971 These values are Unicode character offsets of ``text``. The
970972 ranges are guaranteed to be ordered in increasing offset
@@ -1110,7 +1112,7 @@ class QueryPrediction(proto.Message):
11101112 text (google.maps.places_v1.types.AutocompletePlacesResponse.Suggestion.FormattableText):
11111113 The predicted text. This text does not represent a Place,
11121114 but rather a text query that could be used in a search
1113- endpoint (e.g. TextSearch).
1115+ endpoint (for example, TextSearch).
11141116
11151117 ``text`` is recommended for developers who wish to show a
11161118 single UI element. Developers who wish to show two separate,
0 commit comments