Skip to content

Commit

Permalink
docs: [google-maps-places] Fix designation of Text Search (#12555)
Browse files Browse the repository at this point in the history
- [ ] 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>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Apr 12, 2024
1 parent 3a09346 commit 8b87391
Show file tree
Hide file tree
Showing 10 changed files with 30 additions and 30 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "0.1.11" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "0.1.11" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@


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

_client: PlacesClient
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,11 @@ def get_transport_class(


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

@staticmethod
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@
class PlacesGrpcTransport(PlacesTransport):
"""gRPC backend transport for Places.
Service definition for the Places API. Note: every request actually
requires a field mask set outside of the request proto (all/'*', is
not assumed). That can be set via either a side channel
(SystemParameterContext) over RPC, or a header (X-Goog-FieldMask)
over HTTP. See: https://cloud.google.com/apis/docs/system-parameters
Service definition for the Places API. Note: every request (except
for Autocomplete requests) requires a field mask set outside of the
request proto (``all/*``, is not assumed). The field mask can be set
via the HTTP header ``X-Goog-FieldMask``. See:
https://developers.google.com/maps/documentation/places/web-service/choose-fields
This class defines the same methods as the primary client, so the
primary client can load the underlying transport implementation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@
class PlacesGrpcAsyncIOTransport(PlacesTransport):
"""gRPC AsyncIO backend transport for Places.
Service definition for the Places API. Note: every request actually
requires a field mask set outside of the request proto (all/'*', is
not assumed). That can be set via either a side channel
(SystemParameterContext) over RPC, or a header (X-Goog-FieldMask)
over HTTP. See: https://cloud.google.com/apis/docs/system-parameters
Service definition for the Places API. Note: every request (except
for Autocomplete requests) requires a field mask set outside of the
request proto (``all/*``, is not assumed). The field mask can be set
via the HTTP header ``X-Goog-FieldMask``. See:
https://developers.google.com/maps/documentation/places/web-service/choose-fields
This class defines the same methods as the primary client, so the
primary client can load the underlying transport implementation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -233,11 +233,11 @@ class PlacesRestStub:
class PlacesRestTransport(PlacesTransport):
"""REST backend transport for Places.
Service definition for the Places API. Note: every request actually
requires a field mask set outside of the request proto (all/'*', is
not assumed). That can be set via either a side channel
(SystemParameterContext) over RPC, or a header (X-Goog-FieldMask)
over HTTP. See: https://cloud.google.com/apis/docs/system-parameters
Service definition for the Places API. Note: every request (except
for Autocomplete requests) requires a field mask set outside of the
request proto (``all/*``, is not assumed). The field mask can be set
via the HTTP header ``X-Goog-FieldMask``. See:
https://developers.google.com/maps/documentation/places/web-service/choose-fields
This class defines the same methods as the primary client, so the
primary client can load the underlying transport implementation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class Place(proto.Message):
"Google Sydney", "Starbucks", "Pyrmont", etc.
types (MutableSequence[str]):
A set of type tags for this result. For
example, "political" and "locality". For the
example, "political" and "locality". For the
complete list of possible values, see Table A
and Table B at
https://developers.google.com/maps/documentation/places/web-service/place-types
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1112,7 +1112,7 @@ class QueryPrediction(proto.Message):
text (google.maps.places_v1.types.AutocompletePlacesResponse.Suggestion.FormattableText):
The predicted text. This text does not represent a Place,
but rather a text query that could be used in a search
endpoint (for example, TextSearch).
endpoint (for example, Text Search).
``text`` is recommended for developers who wish to show a
single UI element. Developers who wish to show two separate,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-maps-places",
"version": "0.1.11"
"version": "0.1.0"
},
"snippets": [
{
Expand Down

0 comments on commit 8b87391

Please sign in to comment.