Skip to content

Commit 8b87391

Browse files
docs: [google-maps-places] Fix designation of Text Search (#12555)
- [ ] Regenerate this pull request now. BEGIN_COMMIT_OVERRIDE docs: Fix designation of Text Search docs: Update field mask guidance END_COMMIT_OVERRIDE PiperOrigin-RevId: 622956031 Source-Link: googleapis/googleapis@5db2bbe Source-Link: googleapis/googleapis-gen@d6536e4 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLW1hcHMtcGxhY2VzLy5Pd2xCb3QueWFtbCIsImgiOiJkNjUzNmU0MDEyM2JhZmNiNjRiOGM3ZTkyYjI4ZDk2YWU3YzA3OWEzIn0= --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 3a09346 commit 8b87391

10 files changed

Lines changed: 30 additions & 30 deletions

File tree

packages/google-maps-places/google/maps/places/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "0.1.11" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-maps-places/google/maps/places_v1/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "0.1.11" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-maps-places/google/maps/places_v1/services/places/async_client.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@
6161

6262

6363
class PlacesAsyncClient:
64-
"""Service definition for the Places API. Note: every request actually
65-
requires a field mask set outside of the request proto (all/'*', is
66-
not assumed). That can be set via either a side channel
67-
(SystemParameterContext) over RPC, or a header (X-Goog-FieldMask)
68-
over HTTP. See: https://cloud.google.com/apis/docs/system-parameters
64+
"""Service definition for the Places API. Note: every request (except
65+
for Autocomplete requests) requires a field mask set outside of the
66+
request proto (``all/*``, is not assumed). The field mask can be set
67+
via the HTTP header ``X-Goog-FieldMask``. See:
68+
https://developers.google.com/maps/documentation/places/web-service/choose-fields
6969
"""
7070

7171
_client: PlacesClient

packages/google-maps-places/google/maps/places_v1/services/places/client.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,11 +102,11 @@ def get_transport_class(
102102

103103

104104
class PlacesClient(metaclass=PlacesClientMeta):
105-
"""Service definition for the Places API. Note: every request actually
106-
requires a field mask set outside of the request proto (all/'*', is
107-
not assumed). That can be set via either a side channel
108-
(SystemParameterContext) over RPC, or a header (X-Goog-FieldMask)
109-
over HTTP. See: https://cloud.google.com/apis/docs/system-parameters
105+
"""Service definition for the Places API. Note: every request (except
106+
for Autocomplete requests) requires a field mask set outside of the
107+
request proto (``all/*``, is not assumed). The field mask can be set
108+
via the HTTP header ``X-Goog-FieldMask``. See:
109+
https://developers.google.com/maps/documentation/places/web-service/choose-fields
110110
"""
111111

112112
@staticmethod

packages/google-maps-places/google/maps/places_v1/services/places/transports/grpc.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@
3030
class PlacesGrpcTransport(PlacesTransport):
3131
"""gRPC backend transport for Places.
3232
33-
Service definition for the Places API. Note: every request actually
34-
requires a field mask set outside of the request proto (all/'*', is
35-
not assumed). That can be set via either a side channel
36-
(SystemParameterContext) over RPC, or a header (X-Goog-FieldMask)
37-
over HTTP. See: https://cloud.google.com/apis/docs/system-parameters
33+
Service definition for the Places API. Note: every request (except
34+
for Autocomplete requests) requires a field mask set outside of the
35+
request proto (``all/*``, is not assumed). The field mask can be set
36+
via the HTTP header ``X-Goog-FieldMask``. See:
37+
https://developers.google.com/maps/documentation/places/web-service/choose-fields
3838
3939
This class defines the same methods as the primary client, so the
4040
primary client can load the underlying transport implementation

packages/google-maps-places/google/maps/places_v1/services/places/transports/grpc_asyncio.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@
3131
class PlacesGrpcAsyncIOTransport(PlacesTransport):
3232
"""gRPC AsyncIO backend transport for Places.
3333
34-
Service definition for the Places API. Note: every request actually
35-
requires a field mask set outside of the request proto (all/'*', is
36-
not assumed). That can be set via either a side channel
37-
(SystemParameterContext) over RPC, or a header (X-Goog-FieldMask)
38-
over HTTP. See: https://cloud.google.com/apis/docs/system-parameters
34+
Service definition for the Places API. Note: every request (except
35+
for Autocomplete requests) requires a field mask set outside of the
36+
request proto (``all/*``, is not assumed). The field mask can be set
37+
via the HTTP header ``X-Goog-FieldMask``. See:
38+
https://developers.google.com/maps/documentation/places/web-service/choose-fields
3939
4040
This class defines the same methods as the primary client, so the
4141
primary client can load the underlying transport implementation

packages/google-maps-places/google/maps/places_v1/services/places/transports/rest.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -233,11 +233,11 @@ class PlacesRestStub:
233233
class PlacesRestTransport(PlacesTransport):
234234
"""REST backend transport for Places.
235235
236-
Service definition for the Places API. Note: every request actually
237-
requires a field mask set outside of the request proto (all/'*', is
238-
not assumed). That can be set via either a side channel
239-
(SystemParameterContext) over RPC, or a header (X-Goog-FieldMask)
240-
over HTTP. See: https://cloud.google.com/apis/docs/system-parameters
236+
Service definition for the Places API. Note: every request (except
237+
for Autocomplete requests) requires a field mask set outside of the
238+
request proto (``all/*``, is not assumed). The field mask can be set
239+
via the HTTP header ``X-Goog-FieldMask``. See:
240+
https://developers.google.com/maps/documentation/places/web-service/choose-fields
241241
242242
This class defines the same methods as the primary client, so the
243243
primary client can load the underlying transport implementation

packages/google-maps-places/google/maps/places_v1/types/place.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class Place(proto.Message):
7878
"Google Sydney", "Starbucks", "Pyrmont", etc.
7979
types (MutableSequence[str]):
8080
A set of type tags for this result. For
81-
example, "political" and "locality". For the
81+
example, "political" and "locality". For the
8282
complete list of possible values, see Table A
8383
and Table B at
8484
https://developers.google.com/maps/documentation/places/web-service/place-types

packages/google-maps-places/google/maps/places_v1/types/places_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1112,7 +1112,7 @@ class QueryPrediction(proto.Message):
11121112
text (google.maps.places_v1.types.AutocompletePlacesResponse.Suggestion.FormattableText):
11131113
The predicted text. This text does not represent a Place,
11141114
but rather a text query that could be used in a search
1115-
endpoint (for example, TextSearch).
1115+
endpoint (for example, Text Search).
11161116
11171117
``text`` is recommended for developers who wish to show a
11181118
single UI element. Developers who wish to show two separate,

packages/google-maps-places/samples/generated_samples/snippet_metadata_google.maps.places.v1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-maps-places",
11-
"version": "0.1.11"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

0 commit comments

Comments
 (0)