@@ -59,39 +59,39 @@ service CatalogService {
5959 }
6060
6161 // Set a specified branch id as default branch. API methods such as
62- // [SearchService.Search][google.cloud.retail.v2alpha.SearchService.Search],
63- // [ProductService.GetProduct][google.cloud.retail.v2alpha.ProductService.GetProduct],
64- // [ProductService.ListProducts][google.cloud.retail.v2alpha.ProductService.ListProducts]
65- // will treat requests using "default_branch" to the actual branch id set as
66- // default.
62+ // [SearchService.Search][google.cloud.retail.v2alpha.SearchService.Search],
63+ // [ProductService.GetProduct][google.cloud.retail.v2alpha.ProductService.GetProduct],
64+ // [ProductService.ListProducts][google.cloud.retail.v2alpha.ProductService.ListProducts]
65+ // will treat requests using "default_branch" to the actual branch id set as
66+ // default.
6767 //
68- // For example, if `projects/*/locations/*/catalogs/*/branches/1` is set as
69- // default, setting
70- // [SearchRequest.branch][google.cloud.retail.v2alpha.SearchRequest.branch]
71- // to `projects/*/locations/*/catalogs/*/branches/default_branch` is
72- // equivalent to setting
73- // [SearchRequest.branch][google.cloud.retail.v2alpha.SearchRequest.branch]
74- // to `projects/*/locations/*/catalogs/*/branches/1`.
68+ // For example, if `projects/*/locations/*/catalogs/*/branches/1` is set as
69+ // default, setting
70+ // [SearchRequest.branch][google.cloud.retail.v2alpha.SearchRequest.branch] to
71+ // `projects/*/locations/*/catalogs/*/branches/default_branch` is equivalent
72+ // to setting
73+ // [SearchRequest.branch][google.cloud.retail.v2alpha.SearchRequest.branch] to
74+ // `projects/*/locations/*/catalogs/*/branches/1`.
7575 //
76- // Using multiple branches can be useful when developers would like
77- // to have a staging branch to test and verify for future usage. When it
78- // becomes ready, developers switch on the staging branch using this API
79- // while keeping using
80- // `projects/*/locations/*/catalogs/*/branches/default_branch` as
81- // [SearchRequest.branch][google.cloud.retail.v2alpha.SearchRequest.branch]
82- // to route the traffic to this staging branch.
76+ // Using multiple branches can be useful when developers would like
77+ // to have a staging branch to test and verify for future usage. When it
78+ // becomes ready, developers switch on the staging branch using this API
79+ // while keeping using
80+ // `projects/*/locations/*/catalogs/*/branches/default_branch` as
81+ // [SearchRequest.branch][google.cloud.retail.v2alpha.SearchRequest.branch] to
82+ // route the traffic to this staging branch.
8383 //
84- // CAUTION: If you have live predict/search traffic, switching the default
85- // branch could potentially cause outages if the ID space of the new branch
86- // is very different from the old one.
84+ // CAUTION: If you have live predict/search traffic, switching the default
85+ // branch could potentially cause outages if the ID space of the new branch
86+ // is very different from the old one.
8787 //
88- // More specifically:
88+ // More specifically:
8989 //
90- // * PredictionService will only return product IDs from branch {newBranch}.
91- // * SearchService will only return product IDs from branch {newBranch}
92- // (if branch is not explicitly set).
93- // * UserEventService will only join events with products from branch
94- // {newBranch}.
90+ // * PredictionService will only return product IDs from branch {newBranch}.
91+ // * SearchService will only return product IDs from branch {newBranch}
92+ // (if branch is not explicitly set).
93+ // * UserEventService will only join events with products from branch
94+ // {newBranch}.
9595 rpc SetDefaultBranch (SetDefaultBranchRequest )
9696 returns (google.protobuf.Empty ) {
9797 option (google.api.http ) = {
@@ -102,8 +102,8 @@ service CatalogService {
102102 }
103103
104104 // Get which branch is currently default branch set by
105- // [CatalogService.SetDefaultBranch][google.cloud.retail.v2alpha.CatalogService.SetDefaultBranch]
106- // method under a specified parent catalog.
105+ // [CatalogService.SetDefaultBranch][google.cloud.retail.v2alpha.CatalogService.SetDefaultBranch]
106+ // method under a specified parent catalog.
107107 rpc GetDefaultBranch (GetDefaultBranchRequest )
108108 returns (GetDefaultBranchResponse ) {
109109 option (google.api.http ) = {
0 commit comments