Skip to content

Commit 6ab93f6

Browse files
feat: [retail] add experiment_id in the SearchRequest proto (#6519)
* feat: add experiment_id in the SearchRequest proto PiperOrigin-RevId: 785888459 Source-Link: googleapis/googleapis@96f8c6f Source-Link: googleapis/googleapis-gen@793e8ad Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXJldGFpbC8uT3dsQm90LnlhbWwiLCJoIjoiNzkzZThhZGQyYzM2YWYzMTdiOTRkOTUxYjBlODcwZTUwZTg5NmFkZSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 7e3d10b commit 6ab93f6

7 files changed

Lines changed: 2468 additions & 56 deletions

File tree

packages/google-cloud-retail/protos/google/cloud/retail/v2alpha/search_service.proto

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -431,9 +431,9 @@ message SearchRequest {
431431
// [Condition.DISABLED][google.cloud.retail.v2alpha.SearchRequest.QueryExpansionSpec.Condition.DISABLED].
432432
Condition condition = 1;
433433

434-
// Whether to pin unexpanded results. If this field is set to true,
435-
// unexpanded products are always at the top of the search results, followed
436-
// by the expanded results.
434+
// Whether to pin unexpanded results. The default value is false. If this
435+
// field is set to true, unexpanded products are always at the top of the
436+
// search results, followed by the expanded results.
437437
bool pin_unexpanded_results = 2;
438438
}
439439

@@ -832,6 +832,9 @@ message SearchRequest {
832832
// INVALID_ARGUMENT error is returned.
833833
repeated string variant_rollup_keys = 17;
834834

835+
// Optional. An ID for the experiment group this search belongs to.
836+
string experiment_id = 18 [(google.api.field_behavior) = OPTIONAL];
837+
835838
// The categories associated with a category page. Must be set for category
836839
// navigation queries to achieve good search quality. The format should be
837840
// the same as
@@ -927,7 +930,7 @@ message SearchRequest {
927930
// search results.
928931
// * Populate at most 100 key-value pairs per query.
929932
// * Only supports string keys and repeated string values.
930-
// * Duplcate keys are not allowed within a single query.
933+
// * Duplicate keys are not allowed within a single query.
931934
//
932935
// Example:
933936
// user_attributes: [

0 commit comments

Comments
 (0)