Skip to content

Commit 5db2bbe

Browse files
Google APIscopybara-github
authored andcommitted
docs: Fix designation of Text Search
docs: Update field mask guidance PiperOrigin-RevId: 622956031
1 parent ecc23ba commit 5db2bbe

2 files changed

Lines changed: 9 additions & 10 deletions

File tree

google/maps/places/v1/place.proto

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -295,8 +295,8 @@ message Place {
295295
google.type.LocalizedText display_name = 31;
296296

297297
// A set of type tags for this result. For example, "political" and
298-
// "locality". For the complete list of possible values, see Table A and
299-
// Table B at
298+
// "locality". For the complete list of possible values, see Table A and Table
299+
// B at
300300
// https://developers.google.com/maps/documentation/places/web-service/place-types
301301
repeated string types = 5;
302302

@@ -308,8 +308,8 @@ message Place {
308308
string primary_type = 50;
309309

310310
// The display name of the primary type, localized to the request language if
311-
// applicable. For the complete list of possible values, see Table A and
312-
// Table B at
311+
// applicable. For the complete list of possible values, see Table A and Table
312+
// B at
313313
// https://developers.google.com/maps/documentation/places/web-service/place-types
314314
google.type.LocalizedText primary_type_display_name = 32;
315315

google/maps/places/v1/places_service.proto

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,10 @@ option objc_class_prefix = "GMPSV1";
3636
option php_namespace = "Google\\Maps\\Places\\V1";
3737

3838
// Service definition for the Places API.
39-
// Note: every request actually requires a field mask set outside of
40-
// the request proto (all/'*', is not assumed). That can be set via either a
41-
// side channel (SystemParameterContext) over RPC, or a header
42-
// (X-Goog-FieldMask) over HTTP. See:
43-
// https://cloud.google.com/apis/docs/system-parameters
39+
// Note: every request (except for Autocomplete requests) requires a field mask
40+
// set outside of the request proto (`all/*`, is not assumed). The field mask
41+
// can be set via the HTTP header `X-Goog-FieldMask`. See:
42+
// https://developers.google.com/maps/documentation/places/web-service/choose-fields
4443
service Places {
4544
option (google.api.default_host) = "places.googleapis.com";
4645

@@ -718,7 +717,7 @@ message AutocompletePlacesResponse {
718717
message QueryPrediction {
719718
// The predicted text. This text does not represent a Place, but rather a
720719
// text query that could be used in a search endpoint (for example,
721-
// TextSearch).
720+
// Text Search).
722721
//
723722
// `text` is recommended for developers who wish to show a single UI
724723
// element. Developers who wish to show two separate, but related, UI

0 commit comments

Comments
 (0)