Skip to content

Commit 6b0660c

Browse files
docs: [google-cloud-retail] A comment for enum Mode is changed (#14368)
- [ ] Regenerate this pull request now. BEGIN_COMMIT_OVERRIDE docs: A comment for enum value `DISABLED` in enum `Mode` is changed docs: A comment for enum value `ENABLED` in enum `Mode` is changed docs: A comment for enum value `CONVERSATIONAL_FILTER_ONLY` in enum `Mode` is changed docs: A comment for field `user_query_types` in message `.google.cloud.retail.v2alpha.ConversationalSearchResponse` is changed docs: A comment for enum `Mode` is changed feat: release the conversational search public SDK END_COMMIT_OVERRIDE PiperOrigin-RevId: 803633829 Source-Link: googleapis/googleapis@46403a9 Source-Link: googleapis/googleapis-gen@a130128 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXJldGFpbC8uT3dsQm90LnlhbWwiLCJoIjoiYTEzMDEyODgxNjFhNTc2ZWMxMThiODZhNjkwNjFhMDEzNWY2MTU2ZSJ9 BEGIN_NESTED_COMMIT feat: [google-cloud-retail] release the latest conversational search public SDK PiperOrigin-RevId: 803623794 Source-Link: googleapis/googleapis@6b27a50 Source-Link: googleapis/googleapis-gen@3c29e6c Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXJldGFpbC8uT3dsQm90LnlhbWwiLCJoIjoiM2MyOWU2YzlhYzAxOWFlZWIyYTU1MGZkYTMxMjliZWQzZTE3ZmUyOCJ9 END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: [google-cloud-retail] release the conversational search public SDK PiperOrigin-RevId: 803583303 Source-Link: googleapis/googleapis@1f0e127 Source-Link: googleapis/googleapis-gen@6ed3ac3 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXJldGFpbC8uT3dsQm90LnlhbWwiLCJoIjoiNmVkM2FjM2E5ZDY1ODJmNzZmZDc0ZGI1NTgwZTM2YWU3MmZhMDA5ZCJ9 END_NESTED_COMMIT --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 6b7325d commit 6b0660c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+15408
-7
lines changed
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_v2.services.conversational_search_service
5+
:members:
6+
:inherited-members:

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Services for Google Cloud Retail v2 API
77
catalog_service
88
completion_service
99
control_service
10+
conversational_search_service
1011
generative_question_service
1112
model_service
1213
prediction_service
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_v2beta.services.conversational_search_service
5+
:members:
6+
:inherited-members:

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Services for Google Cloud Retail v2beta API
77
catalog_service
88
completion_service
99
control_service
10+
conversational_search_service
1011
generative_question_service
1112
model_service
1213
prediction_service

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

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@
3838
ControlServiceAsyncClient,
3939
)
4040
from google.cloud.retail_v2.services.control_service.client import ControlServiceClient
41+
from google.cloud.retail_v2.services.conversational_search_service.async_client import (
42+
ConversationalSearchServiceAsyncClient,
43+
)
44+
from google.cloud.retail_v2.services.conversational_search_service.client import (
45+
ConversationalSearchServiceClient,
46+
)
4147
from google.cloud.retail_v2.services.generative_question_service.async_client import (
4248
GenerativeQuestionServiceAsyncClient,
4349
)
@@ -130,6 +136,10 @@
130136
ListControlsResponse,
131137
UpdateControlRequest,
132138
)
139+
from google.cloud.retail_v2.types.conversational_search_service import (
140+
ConversationalSearchRequest,
141+
ConversationalSearchResponse,
142+
)
133143
from google.cloud.retail_v2.types.export_config import (
134144
BigQueryOutputResult,
135145
ExportAnalyticsMetricsRequest,
@@ -223,6 +233,7 @@
223233
PurgeUserEventsRequest,
224234
PurgeUserEventsResponse,
225235
)
236+
from google.cloud.retail_v2.types.safety import HarmCategory, SafetySetting
226237
from google.cloud.retail_v2.types.search_service import (
227238
ExperimentInfo,
228239
ProductAttributeInterval,
@@ -265,6 +276,8 @@
265276
"CompletionServiceAsyncClient",
266277
"ControlServiceClient",
267278
"ControlServiceAsyncClient",
279+
"ConversationalSearchServiceClient",
280+
"ConversationalSearchServiceAsyncClient",
268281
"GenerativeQuestionServiceClient",
269282
"GenerativeQuestionServiceAsyncClient",
270283
"ModelServiceClient",
@@ -325,6 +338,8 @@
325338
"ListControlsRequest",
326339
"ListControlsResponse",
327340
"UpdateControlRequest",
341+
"ConversationalSearchRequest",
342+
"ConversationalSearchResponse",
328343
"BigQueryOutputResult",
329344
"ExportAnalyticsMetricsRequest",
330345
"ExportAnalyticsMetricsResponse",
@@ -402,6 +417,8 @@
402417
"PurgeProductsResponse",
403418
"PurgeUserEventsRequest",
404419
"PurgeUserEventsResponse",
420+
"SafetySetting",
421+
"HarmCategory",
405422
"ExperimentInfo",
406423
"ProductAttributeInterval",
407424
"ProductAttributeValue",

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@
2828
CompletionServiceClient,
2929
)
3030
from .services.control_service import ControlServiceAsyncClient, ControlServiceClient
31+
from .services.conversational_search_service import (
32+
ConversationalSearchServiceAsyncClient,
33+
ConversationalSearchServiceClient,
34+
)
3135
from .services.generative_question_service import (
3236
GenerativeQuestionServiceAsyncClient,
3337
GenerativeQuestionServiceClient,
@@ -100,6 +104,10 @@
100104
ListControlsResponse,
101105
UpdateControlRequest,
102106
)
107+
from .types.conversational_search_service import (
108+
ConversationalSearchRequest,
109+
ConversationalSearchResponse,
110+
)
103111
from .types.export_config import (
104112
BigQueryOutputResult,
105113
ExportAnalyticsMetricsRequest,
@@ -190,6 +198,7 @@
190198
PurgeUserEventsRequest,
191199
PurgeUserEventsResponse,
192200
)
201+
from .types.safety import HarmCategory, SafetySetting
193202
from .types.search_service import (
194203
ExperimentInfo,
195204
ProductAttributeInterval,
@@ -228,6 +237,7 @@
228237
"CatalogServiceAsyncClient",
229238
"CompletionServiceAsyncClient",
230239
"ControlServiceAsyncClient",
240+
"ConversationalSearchServiceAsyncClient",
231241
"GenerativeQuestionServiceAsyncClient",
232242
"ModelServiceAsyncClient",
233243
"PredictionServiceAsyncClient",
@@ -265,6 +275,9 @@
265275
"Condition",
266276
"Control",
267277
"ControlServiceClient",
278+
"ConversationalSearchRequest",
279+
"ConversationalSearchResponse",
280+
"ConversationalSearchServiceClient",
268281
"CreateControlRequest",
269282
"CreateModelMetadata",
270283
"CreateModelRequest",
@@ -296,6 +309,7 @@
296309
"GetModelRequest",
297310
"GetProductRequest",
298311
"GetServingConfigRequest",
312+
"HarmCategory",
299313
"Image",
300314
"ImportCompletionDataRequest",
301315
"ImportCompletionDataResponse",
@@ -361,6 +375,7 @@
361375
"ReplaceCatalogAttributeRequest",
362376
"ResumeModelRequest",
363377
"Rule",
378+
"SafetySetting",
364379
"SearchRequest",
365380
"SearchResponse",
366381
"SearchServiceClient",

packages/google-cloud-retail/google/cloud/retail_v2/gapic_metadata.json

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,40 @@
366366
}
367367
}
368368
},
369+
"ConversationalSearchService": {
370+
"clients": {
371+
"grpc": {
372+
"libraryClient": "ConversationalSearchServiceClient",
373+
"rpcs": {
374+
"ConversationalSearch": {
375+
"methods": [
376+
"conversational_search"
377+
]
378+
}
379+
}
380+
},
381+
"grpc-async": {
382+
"libraryClient": "ConversationalSearchServiceAsyncClient",
383+
"rpcs": {
384+
"ConversationalSearch": {
385+
"methods": [
386+
"conversational_search"
387+
]
388+
}
389+
}
390+
},
391+
"rest": {
392+
"libraryClient": "ConversationalSearchServiceClient",
393+
"rpcs": {
394+
"ConversationalSearch": {
395+
"methods": [
396+
"conversational_search"
397+
]
398+
}
399+
}
400+
}
401+
}
402+
},
369403
"GenerativeQuestionService": {
370404
"clients": {
371405
"grpc": {
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# -*- coding: utf-8 -*-
2+
# Copyright 2025 Google LLC
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
from .async_client import ConversationalSearchServiceAsyncClient
17+
from .client import ConversationalSearchServiceClient
18+
19+
__all__ = (
20+
"ConversationalSearchServiceClient",
21+
"ConversationalSearchServiceAsyncClient",
22+
)

0 commit comments

Comments
 (0)