Skip to content

Commit b704404

Browse files
feat: [google-cloud-retail] add conversational search (googleapis#13135)
- [ ] Regenerate this pull request now. BEGIN_COMMIT_OVERRIDE feat: add tile navigation docs: keep the API doc up-to-date with recent changes feat: add conversational search END_COMMIT_OVERRIDE PiperOrigin-RevId: 683821729 Source-Link: googleapis/googleapis@8692273 Source-Link: https://github.com/googleapis/googleapis-gen/commit/02b94499738a41a562f152762dac3577735adbcf Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXJldGFpbC8uT3dsQm90LnlhbWwiLCJoIjoiMDJiOTQ0OTk3MzhhNDFhNTYyZjE1Mjc2MmRhYzM1Nzc3MzVhZGJjZiJ9 BEGIN_NESTED_COMMIT feat: [google-cloud-retail] add conversational search feat: add tile navigation docs: keep the API doc up-to-date with recent changes PiperOrigin-RevId: 683821686 Source-Link: googleapis/googleapis@d01eb46 Source-Link: https://github.com/googleapis/googleapis-gen/commit/1db3459f3dfa9347a5811d72b12e1714da75ed93 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXJldGFpbC8uT3dsQm90LnlhbWwiLCJoIjoiMWRiMzQ1OWYzZGZhOTM0N2E1ODExZDcyYjEyZTE3MTRkYTc1ZWQ5MyJ9 END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: [google-cloud-retail] add conversational search feat: add tile navigation docs: keep the API doc up-to-date with recent changes PiperOrigin-RevId: 683821659 Source-Link: googleapis/googleapis@c24e836 Source-Link: https://github.com/googleapis/googleapis-gen/commit/5d6e6b6e734e25409dc74e7112df0c764fdfc375 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXJldGFpbC8uT3dsQm90LnlhbWwiLCJoIjoiNWQ2ZTZiNmU3MzRlMjU0MDlkYzc0ZTcxMTJkZjBjNzY0ZmRmYzM3NSJ9 END_NESTED_COMMIT --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <partheniou@google.com>
1 parent 0cb6b1e commit b704404

File tree

161 files changed

+55015
-917
lines changed

Some content is hidden

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

161 files changed

+55015
-917
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
GenerativeQuestionService
2+
-------------------------------------------
3+
4+
.. automodule:: google.cloud.retail_v2.services.generative_question_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+
generative_question_service
1011
model_service
1112
prediction_service
1213
product_service
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
GenerativeQuestionService
2+
-------------------------------------------
3+
4+
.. automodule:: google.cloud.retail_v2alpha.services.generative_question_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+
generative_question_service
1112
merchant_center_account_link_service
1213
model_service
1314
prediction_service
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
GenerativeQuestionService
2+
-------------------------------------------
3+
4+
.. automodule:: google.cloud.retail_v2beta.services.generative_question_service
5+
:members:
6+
:inherited-members:
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
ProjectService
2+
--------------------------------
3+
4+
.. automodule:: google.cloud.retail_v2beta.services.project_service
5+
:members:
6+
:inherited-members:

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@ Services for Google Cloud Retail v2beta API
77
catalog_service
88
completion_service
99
control_service
10+
generative_question_service
1011
model_service
1112
prediction_service
1213
product_service
14+
project_service
1315
search_service
1416
serving_config_service
1517
user_event_service

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

Lines changed: 36 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.generative_question_service.async_client import (
42+
GenerativeQuestionServiceAsyncClient,
43+
)
44+
from google.cloud.retail_v2.services.generative_question_service.client import (
45+
GenerativeQuestionServiceClient,
46+
)
4147
from google.cloud.retail_v2.services.model_service.async_client import (
4248
ModelServiceAsyncClient,
4349
)
@@ -131,6 +137,19 @@
131137
OutputConfig,
132138
OutputResult,
133139
)
140+
from google.cloud.retail_v2.types.generative_question import (
141+
GenerativeQuestionConfig,
142+
GenerativeQuestionsFeatureConfig,
143+
)
144+
from google.cloud.retail_v2.types.generative_question_service import (
145+
BatchUpdateGenerativeQuestionConfigsRequest,
146+
BatchUpdateGenerativeQuestionConfigsResponse,
147+
GetGenerativeQuestionsFeatureConfigRequest,
148+
ListGenerativeQuestionConfigsRequest,
149+
ListGenerativeQuestionConfigsResponse,
150+
UpdateGenerativeQuestionConfigRequest,
151+
UpdateGenerativeQuestionsFeatureConfigRequest,
152+
)
134153
from google.cloud.retail_v2.types.import_config import (
135154
BigQuerySource,
136155
CompletionDataInputConfig,
@@ -203,8 +222,11 @@
203222
)
204223
from google.cloud.retail_v2.types.search_service import (
205224
ExperimentInfo,
225+
ProductAttributeInterval,
226+
ProductAttributeValue,
206227
SearchRequest,
207228
SearchResponse,
229+
Tile,
208230
)
209231
from google.cloud.retail_v2.types.serving_config import ServingConfig
210232
from google.cloud.retail_v2.types.serving_config_service import (
@@ -240,6 +262,8 @@
240262
"CompletionServiceAsyncClient",
241263
"ControlServiceClient",
242264
"ControlServiceAsyncClient",
265+
"GenerativeQuestionServiceClient",
266+
"GenerativeQuestionServiceAsyncClient",
243267
"ModelServiceClient",
244268
"ModelServiceAsyncClient",
245269
"PredictionServiceClient",
@@ -303,6 +327,15 @@
303327
"GcsOutputResult",
304328
"OutputConfig",
305329
"OutputResult",
330+
"GenerativeQuestionConfig",
331+
"GenerativeQuestionsFeatureConfig",
332+
"BatchUpdateGenerativeQuestionConfigsRequest",
333+
"BatchUpdateGenerativeQuestionConfigsResponse",
334+
"GetGenerativeQuestionsFeatureConfigRequest",
335+
"ListGenerativeQuestionConfigsRequest",
336+
"ListGenerativeQuestionConfigsResponse",
337+
"UpdateGenerativeQuestionConfigRequest",
338+
"UpdateGenerativeQuestionsFeatureConfigRequest",
306339
"BigQuerySource",
307340
"CompletionDataInputConfig",
308341
"GcsSource",
@@ -364,8 +397,11 @@
364397
"PurgeUserEventsRequest",
365398
"PurgeUserEventsResponse",
366399
"ExperimentInfo",
400+
"ProductAttributeInterval",
401+
"ProductAttributeValue",
367402
"SearchRequest",
368403
"SearchResponse",
404+
"Tile",
369405
"ServingConfig",
370406
"AddControlRequest",
371407
"CreateServingConfigRequest",

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

Lines changed: 39 additions & 1 deletion
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.generative_question_service import (
32+
GenerativeQuestionServiceAsyncClient,
33+
GenerativeQuestionServiceClient,
34+
)
3135
from .services.model_service import ModelServiceAsyncClient, ModelServiceClient
3236
from .services.prediction_service import (
3337
PredictionServiceAsyncClient,
@@ -103,6 +107,19 @@
103107
OutputConfig,
104108
OutputResult,
105109
)
110+
from .types.generative_question import (
111+
GenerativeQuestionConfig,
112+
GenerativeQuestionsFeatureConfig,
113+
)
114+
from .types.generative_question_service import (
115+
BatchUpdateGenerativeQuestionConfigsRequest,
116+
BatchUpdateGenerativeQuestionConfigsResponse,
117+
GetGenerativeQuestionsFeatureConfigRequest,
118+
ListGenerativeQuestionConfigsRequest,
119+
ListGenerativeQuestionConfigsResponse,
120+
UpdateGenerativeQuestionConfigRequest,
121+
UpdateGenerativeQuestionsFeatureConfigRequest,
122+
)
106123
from .types.import_config import (
107124
BigQuerySource,
108125
CompletionDataInputConfig,
@@ -170,7 +187,14 @@
170187
PurgeUserEventsRequest,
171188
PurgeUserEventsResponse,
172189
)
173-
from .types.search_service import ExperimentInfo, SearchRequest, SearchResponse
190+
from .types.search_service import (
191+
ExperimentInfo,
192+
ProductAttributeInterval,
193+
ProductAttributeValue,
194+
SearchRequest,
195+
SearchResponse,
196+
Tile,
197+
)
174198
from .types.serving_config import ServingConfig
175199
from .types.serving_config_service import (
176200
AddControlRequest,
@@ -201,6 +225,7 @@
201225
"CatalogServiceAsyncClient",
202226
"CompletionServiceAsyncClient",
203227
"ControlServiceAsyncClient",
228+
"GenerativeQuestionServiceAsyncClient",
204229
"ModelServiceAsyncClient",
205230
"PredictionServiceAsyncClient",
206231
"ProductServiceAsyncClient",
@@ -219,6 +244,8 @@
219244
"AttributeConfigLevel",
220245
"AttributesConfig",
221246
"Audience",
247+
"BatchUpdateGenerativeQuestionConfigsRequest",
248+
"BatchUpdateGenerativeQuestionConfigsResponse",
222249
"BigQueryOutputResult",
223250
"BigQuerySource",
224251
"Catalog",
@@ -253,11 +280,15 @@
253280
"FulfillmentInfo",
254281
"GcsOutputResult",
255282
"GcsSource",
283+
"GenerativeQuestionConfig",
284+
"GenerativeQuestionServiceClient",
285+
"GenerativeQuestionsFeatureConfig",
256286
"GetAttributesConfigRequest",
257287
"GetCompletionConfigRequest",
258288
"GetControlRequest",
259289
"GetDefaultBranchRequest",
260290
"GetDefaultBranchResponse",
291+
"GetGenerativeQuestionsFeatureConfigRequest",
261292
"GetModelRequest",
262293
"GetProductRequest",
263294
"GetServingConfigRequest",
@@ -275,6 +306,8 @@
275306
"ListCatalogsResponse",
276307
"ListControlsRequest",
277308
"ListControlsResponse",
309+
"ListGenerativeQuestionConfigsRequest",
310+
"ListGenerativeQuestionConfigsResponse",
278311
"ListModelsRequest",
279312
"ListModelsResponse",
280313
"ListProductsRequest",
@@ -292,6 +325,8 @@
292325
"PredictionServiceClient",
293326
"PriceInfo",
294327
"Product",
328+
"ProductAttributeInterval",
329+
"ProductAttributeValue",
295330
"ProductDetail",
296331
"ProductInlineSource",
297332
"ProductInputConfig",
@@ -332,13 +367,16 @@
332367
"SetInventoryRequest",
333368
"SetInventoryResponse",
334369
"SolutionType",
370+
"Tile",
335371
"TuneModelMetadata",
336372
"TuneModelRequest",
337373
"TuneModelResponse",
338374
"UpdateAttributesConfigRequest",
339375
"UpdateCatalogRequest",
340376
"UpdateCompletionConfigRequest",
341377
"UpdateControlRequest",
378+
"UpdateGenerativeQuestionConfigRequest",
379+
"UpdateGenerativeQuestionsFeatureConfigRequest",
342380
"UpdateModelRequest",
343381
"UpdateProductRequest",
344382
"UpdateServingConfigRequest",

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

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,100 @@
366366
}
367367
}
368368
},
369+
"GenerativeQuestionService": {
370+
"clients": {
371+
"grpc": {
372+
"libraryClient": "GenerativeQuestionServiceClient",
373+
"rpcs": {
374+
"BatchUpdateGenerativeQuestionConfigs": {
375+
"methods": [
376+
"batch_update_generative_question_configs"
377+
]
378+
},
379+
"GetGenerativeQuestionsFeatureConfig": {
380+
"methods": [
381+
"get_generative_questions_feature_config"
382+
]
383+
},
384+
"ListGenerativeQuestionConfigs": {
385+
"methods": [
386+
"list_generative_question_configs"
387+
]
388+
},
389+
"UpdateGenerativeQuestionConfig": {
390+
"methods": [
391+
"update_generative_question_config"
392+
]
393+
},
394+
"UpdateGenerativeQuestionsFeatureConfig": {
395+
"methods": [
396+
"update_generative_questions_feature_config"
397+
]
398+
}
399+
}
400+
},
401+
"grpc-async": {
402+
"libraryClient": "GenerativeQuestionServiceAsyncClient",
403+
"rpcs": {
404+
"BatchUpdateGenerativeQuestionConfigs": {
405+
"methods": [
406+
"batch_update_generative_question_configs"
407+
]
408+
},
409+
"GetGenerativeQuestionsFeatureConfig": {
410+
"methods": [
411+
"get_generative_questions_feature_config"
412+
]
413+
},
414+
"ListGenerativeQuestionConfigs": {
415+
"methods": [
416+
"list_generative_question_configs"
417+
]
418+
},
419+
"UpdateGenerativeQuestionConfig": {
420+
"methods": [
421+
"update_generative_question_config"
422+
]
423+
},
424+
"UpdateGenerativeQuestionsFeatureConfig": {
425+
"methods": [
426+
"update_generative_questions_feature_config"
427+
]
428+
}
429+
}
430+
},
431+
"rest": {
432+
"libraryClient": "GenerativeQuestionServiceClient",
433+
"rpcs": {
434+
"BatchUpdateGenerativeQuestionConfigs": {
435+
"methods": [
436+
"batch_update_generative_question_configs"
437+
]
438+
},
439+
"GetGenerativeQuestionsFeatureConfig": {
440+
"methods": [
441+
"get_generative_questions_feature_config"
442+
]
443+
},
444+
"ListGenerativeQuestionConfigs": {
445+
"methods": [
446+
"list_generative_question_configs"
447+
]
448+
},
449+
"UpdateGenerativeQuestionConfig": {
450+
"methods": [
451+
"update_generative_question_config"
452+
]
453+
},
454+
"UpdateGenerativeQuestionsFeatureConfig": {
455+
"methods": [
456+
"update_generative_questions_feature_config"
457+
]
458+
}
459+
}
460+
}
461+
}
462+
},
369463
"ModelService": {
370464
"clients": {
371465
"grpc": {

0 commit comments

Comments
 (0)