@@ -59,39 +59,39 @@ service CatalogService {
59
59
}
60
60
61
61
// Set a specified branch id as default branch. API methods such as
62
- // [SearchService.Search][google.cloud.retail.v2.SearchService.Search],
63
- // [ProductService.GetProduct][google.cloud.retail.v2.ProductService.GetProduct],
64
- // [ProductService.ListProducts][google.cloud.retail.v2.ProductService.ListProducts]
65
- // will treat requests using "default_branch" to the actual branch id set as
66
- // default.
62
+ // [SearchService.Search][google.cloud.retail.v2.SearchService.Search],
63
+ // [ProductService.GetProduct][google.cloud.retail.v2.ProductService.GetProduct],
64
+ // [ProductService.ListProducts][google.cloud.retail.v2.ProductService.ListProducts]
65
+ // will treat requests using "default_branch" to the actual branch id set as
66
+ // default.
67
67
//
68
- // For example, if `projects/*/locations/*/catalogs/*/branches/1` is set as
69
- // default, setting
70
- // [SearchRequest.branch][google.cloud.retail.v2.SearchRequest.branch] to
71
- // `projects/*/locations/*/catalogs/*/branches/default_branch` is equivalent
72
- // to setting
73
- // [SearchRequest.branch][google.cloud.retail.v2.SearchRequest.branch] to
74
- // `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.v2.SearchRequest.branch] to
71
+ // `projects/*/locations/*/catalogs/*/branches/default_branch` is equivalent
72
+ // to setting
73
+ // [SearchRequest.branch][google.cloud.retail.v2.SearchRequest.branch] to
74
+ // `projects/*/locations/*/catalogs/*/branches/1`.
75
75
//
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.v2.SearchRequest.branch] to
82
- // 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.v2.SearchRequest.branch] to
82
+ // route the traffic to this staging branch.
83
83
//
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.
87
87
//
88
- // More specifically:
88
+ // More specifically:
89
89
//
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}.
95
95
rpc SetDefaultBranch (SetDefaultBranchRequest )
96
96
returns (google .protobuf .Empty ) {
97
97
option (google.api.http ) = {
@@ -102,8 +102,8 @@ service CatalogService {
102
102
}
103
103
104
104
// Get which branch is currently default branch set by
105
- // [CatalogService.SetDefaultBranch][google.cloud.retail.v2.CatalogService.SetDefaultBranch]
106
- // method under a specified parent catalog.
105
+ // [CatalogService.SetDefaultBranch][google.cloud.retail.v2.CatalogService.SetDefaultBranch]
106
+ // method under a specified parent catalog.
107
107
rpc GetDefaultBranch (GetDefaultBranchRequest )
108
108
returns (GetDefaultBranchResponse ) {
109
109
option (google.api.http ) = {
0 commit comments