@@ -465,21 +465,23 @@ message GetPlaceRequest {
465465 // Note that 3-digit region codes are not currently supported.
466466 string region_code = 3 [(google.api.field_behavior ) = OPTIONAL ];
467467
468- // Optional. An arbitrary string which identifies an autocomplete session for
469- // billing purposes. Must be at most 36 characters in length. Otherwise an
470- // INVALID_ARGUMENT error is returned.
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.
471472 //
472473 // The session begins when the user starts typing a query, and concludes when
473474 // 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- // selection . The credentials used for each request within a session must
476- // belong to the same Google Cloud Console project. Once a session has
477- // concluded, the token is no longer valid; your app must generate a fresh
478- // token for each session. If the `session_token` parameter is omitted, or if
479- // you reuse a session token, the session is charged as if no session token
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).
481482 //
482483 // We recommend the following guidelines:
484+ //
483485 // * Use session tokens for all Place Autocomplete calls.
484486 // * Generate a fresh token for each session. Using a version 4 UUID is
485487 // recommended.
@@ -538,8 +540,8 @@ message AutocompletePlacesRequest {
538540 LocationRestriction location_restriction = 3
539541 [(google.api.field_behavior ) = OPTIONAL ];
540542
541- // Optional. Included primary Place type (e.g. "restaurant" or "gas_station")
542- // from
543+ // Optional. Included primary Place type (for example, "restaurant" or
544+ // "gas_station") from
543545 // https://developers.google.com/maps/documentation/places/web-service/place-types.
544546 // A Place is only returned if its primary type is included in this list. Up
545547 // to 5 values can be specified. If no types are specified, all Place types
@@ -582,21 +584,23 @@ message AutocompletePlacesRequest {
582584 // predictions. Otherwise the response will only return Place predictions.
583585 bool include_query_predictions = 10 [(google.api.field_behavior ) = OPTIONAL ];
584586
585- // Optional. An arbitrary string which identifies an autocomplete session for
586- // billing purposes. Must be at most 36 characters in length. Otherwise an
587- // INVALID_ARGUMENT error is returned.
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.
588591 //
589592 // The session begins when the user starts typing a query, and concludes when
590593 // 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- // selection . The credentials used for each request within a session must
593- // belong to the same Google Cloud Console project. Once a session has
594- // concluded, the token is no longer valid; your app must generate a fresh
595- // token for each session. If the `session_token` parameter is omitted, or if
596- // you reuse a session token, the session is charged as if no session token
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).
598601 //
599602 // We recommend the following guidelines:
603+ //
600604 // * Use session tokens for all Place Autocomplete calls.
601605 // * Generate a fresh token for each session. Using a version 4 UUID is
602606 // recommended.
@@ -632,7 +636,7 @@ message AutocompletePlacesResponse {
632636 // A list of string ranges identifying where the input request matched in
633637 // `text`. The ranges can be used to format specific parts of `text`. The
634638 // substrings may not be exact matches of `input` if the matching was
635- // determined by criteria other than string matching (e.g. spell
639+ // determined by criteria other than string matching (for example, spell
636640 // corrections or transliterations).
637641 //
638642 // These values are Unicode character offsets of `text`. The ranges are
@@ -713,7 +717,8 @@ message AutocompletePlacesResponse {
713717 // Prediction results for a Query Autocomplete prediction.
714718 message QueryPrediction {
715719 // The predicted text. This text does not represent a Place, but rather a
716- // text query that could be used in a search endpoint (e.g. TextSearch).
720+ // text query that could be used in a search endpoint (for example,
721+ // TextSearch).
717722 //
718723 // `text` is recommended for developers who wish to show a single UI
719724 // element. Developers who wish to show two separate, but related, UI
0 commit comments