Skip to content

Commit 4fea9f8

Browse files
feat: [google-cloud-retail] add language_code, region_code and place_id to SearchRequest (#13845)
- [ ] Regenerate this pull request now. BEGIN_COMMIT_OVERRIDE feat: add language_code, region_code and place_id to SearchRequest feat: add pin_control_metadata to SearchResponse docs: keep the API doc up-to-date with recent changes feat: add conversational search API END_COMMIT_OVERRIDE PiperOrigin-RevId: 752323436 Source-Link: googleapis/googleapis@1ac7dc2 Source-Link: googleapis/googleapis-gen@117bcc0 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXJldGFpbC8uT3dsQm90LnlhbWwiLCJoIjoiMTE3YmNjMGQyZGE5YzEzZmQwN2U2MzA1MTE1YTY4NzliZmE5ODZmZCJ9 BEGIN_NESTED_COMMIT feat: [google-cloud-retail] add conversational search API PiperOrigin-RevId: 751643959 Source-Link: googleapis/googleapis@2eec62d Source-Link: googleapis/googleapis-gen@dc04c51 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXJldGFpbC8uT3dsQm90LnlhbWwiLCJoIjoiZGMwNGM1MWFlMTA4NTg3MmY0Njk0ODc2OGQzYzIxMTcyZjQ4YWYwMSJ9 END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: [google-cloud-retail] add language_code, region_code and place_id to SearchRequest feat: add pin_control_metadata to SearchResponse docs: keep the API doc up-to-date with recent changes PiperOrigin-RevId: 751590638 Source-Link: googleapis/googleapis@7b29e66 Source-Link: googleapis/googleapis-gen@a7be28d Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXJldGFpbC8uT3dsQm90LnlhbWwiLCJoIjoiYTdiZTI4ZGNhOWNiMGQwNmE0ZGM5MDA1NmRjM2NhYWI3MzRhODI3NyJ9 END_NESTED_COMMIT --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent d530650 commit 4fea9f8

62 files changed

Lines changed: 7964 additions & 173 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
ConversationalSearchService
2+
---------------------------------------------
3+
4+
.. automodule:: google.cloud.retail_v2alpha.services.conversational_search_service
5+
:members:
6+
:inherited-members:

packages/google-cloud-retail/docs/retail_v2alpha/services_.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Services for Google Cloud Retail v2alpha API
88
catalog_service
99
completion_service
1010
control_service
11+
conversational_search_service
1112
generative_question_service
1213
merchant_center_account_link_service
1314
model_service

packages/google-cloud-retail/google/cloud/retail/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@
106106
Image,
107107
Interval,
108108
LocalInventory,
109+
PinControlMetadata,
109110
PriceInfo,
110111
Rating,
111112
RecommendationsFilteringOption,
@@ -302,6 +303,7 @@
302303
"Image",
303304
"Interval",
304305
"LocalInventory",
306+
"PinControlMetadata",
305307
"PriceInfo",
306308
"Rating",
307309
"Rule",

packages/google-cloud-retail/google/cloud/retail/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__ = "2.0.0" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-retail/google/cloud/retail_v2/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@
7979
Image,
8080
Interval,
8181
LocalInventory,
82+
PinControlMetadata,
8283
PriceInfo,
8384
Rating,
8485
RecommendationsFilteringOption,
@@ -320,6 +321,7 @@
320321
"OutputConfig",
321322
"OutputResult",
322323
"PauseModelRequest",
324+
"PinControlMetadata",
323325
"PredictRequest",
324326
"PredictResponse",
325327
"PredictionServiceClient",

packages/google-cloud-retail/google/cloud/retail_v2/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__ = "2.0.0" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-retail/google/cloud/retail_v2/services/user_event_service/async_client.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -408,9 +408,11 @@ async def collect_user_event(
408408
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
409409
metadata: Sequence[Tuple[str, Union[str, bytes]]] = (),
410410
) -> httpbody_pb2.HttpBody:
411-
r"""Writes a single user event from the browser. This
412-
uses a GET request to due to browser restriction of
413-
POST-ing to a 3rd party domain.
411+
r"""Writes a single user event from the browser.
412+
413+
For larger user event payload over 16 KB, the POST
414+
method should be used instead, otherwise a 400 Bad
415+
Request error is returned.
414416
415417
This method is used only by the Retail API JavaScript
416418
pixel and Google Tag Manager. Users should not call this

packages/google-cloud-retail/google/cloud/retail_v2/services/user_event_service/client.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -854,9 +854,11 @@ def collect_user_event(
854854
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
855855
metadata: Sequence[Tuple[str, Union[str, bytes]]] = (),
856856
) -> httpbody_pb2.HttpBody:
857-
r"""Writes a single user event from the browser. This
858-
uses a GET request to due to browser restriction of
859-
POST-ing to a 3rd party domain.
857+
r"""Writes a single user event from the browser.
858+
859+
For larger user event payload over 16 KB, the POST
860+
method should be used instead, otherwise a 400 Bad
861+
Request error is returned.
860862
861863
This method is used only by the Retail API JavaScript
862864
pixel and Google Tag Manager. Users should not call this

packages/google-cloud-retail/google/cloud/retail_v2/services/user_event_service/transports/grpc.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -377,9 +377,11 @@ def collect_user_event(
377377
) -> Callable[[user_event_service.CollectUserEventRequest], httpbody_pb2.HttpBody]:
378378
r"""Return a callable for the collect user event method over gRPC.
379379
380-
Writes a single user event from the browser. This
381-
uses a GET request to due to browser restriction of
382-
POST-ing to a 3rd party domain.
380+
Writes a single user event from the browser.
381+
382+
For larger user event payload over 16 KB, the POST
383+
method should be used instead, otherwise a 400 Bad
384+
Request error is returned.
383385
384386
This method is used only by the Retail API JavaScript
385387
pixel and Google Tag Manager. Users should not call this

packages/google-cloud-retail/google/cloud/retail_v2/services/user_event_service/transports/grpc_asyncio.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -389,9 +389,11 @@ def collect_user_event(
389389
]:
390390
r"""Return a callable for the collect user event method over gRPC.
391391
392-
Writes a single user event from the browser. This
393-
uses a GET request to due to browser restriction of
394-
POST-ing to a 3rd party domain.
392+
Writes a single user event from the browser.
393+
394+
For larger user event payload over 16 KB, the POST
395+
method should be used instead, otherwise a 400 Bad
396+
Request error is returned.
395397
396398
This method is used only by the Retail API JavaScript
397399
pixel and Google Tag Manager. Users should not call this

0 commit comments

Comments
 (0)