Skip to content

Commit 2f9af29

Browse files
Google APIscopybara-github
authored andcommitted
docs: Remove HTML tags from Cloud Retail API library docs
PiperOrigin-RevId: 387885619
1 parent 6e4ddb5 commit 2f9af29

3 files changed

Lines changed: 102 additions & 512 deletions

File tree

google/cloud/retail/v2/search_service.proto

Lines changed: 34 additions & 170 deletions
Original file line numberDiff line numberDiff line change
@@ -74,172 +74,35 @@ message SearchRequest {
7474
// [FacetKey.query][google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.query]
7575
// is not specified:
7676
//
77-
// * textual_field =<br>
78-
// <font color='grey'>
79-
// *# The
80-
// [Product.brands][google.cloud.retail.v2.Product.brands].<br>*
81-
// </font>
82-
// "brands";
83-
// <br>
84-
// <font color='categories'>
85-
// *# The
86-
// [Product.categories][google.cloud.retail.v2.Product.categories].<br>*
87-
// </font>
88-
// "categories";
89-
// <br>
90-
// <font color='grey'>
91-
// *# The
92-
// [Audience.genders][google.cloud.retail.v2.Audience.genders].<br>*
93-
// </font>
94-
// | "genders";
95-
// <br>
96-
// <font color='grey'>
97-
// *# The
98-
// [Audience.age_groups][google.cloud.retail.v2.Audience.age_groups].<br>*
99-
// </font>
100-
// | "ageGroups";
101-
// <br>
102-
// <font color='grey'>
103-
// *# The
104-
// [Product.availability][google.cloud.retail.v2.Product.availability].
105-
// Value is one of<br>*
106-
// *# "IN_STOCK", "OUT_OF_STOCK", PREORDER", "BACKORDER".<br>*
107-
// </font>
108-
// | "availability";
109-
// <br>
110-
// <font color='grey'>
111-
// *# The
112-
// [ColorInfo.color_families][google.cloud.retail.v2.ColorInfo.color_families].<br>*
113-
// </font>
114-
// | "colorFamilies";
115-
// <br>
116-
// <font color='grey'>
117-
// *# The
118-
// [ColorInfo.colors][google.cloud.retail.v2.ColorInfo.colors].<br>*
119-
// </font>
120-
// | "colors";
121-
// <br>
122-
// <font color='grey'>
123-
// *# The [Product.sizes][google.cloud.retail.v2.Product.sizes].<br>*
124-
// </font>
125-
// | "sizes";
126-
// <br>
127-
// <font color='grey'>
128-
// *# The
129-
// [Product.materials][google.cloud.retail.v2.Product.materials].<br>*
130-
// </font>
131-
// | "materials";
132-
// <br>
133-
// <font color='grey'>
134-
// *# The
135-
// [Product.patterns][google.cloud.retail.v2.Product.patterns].<br>*
136-
// </font>
137-
// | "patterns";
138-
// <br>
139-
// <font color='grey'>
140-
// *# The
141-
// [Product.conditions][google.cloud.retail.v2.Product.conditions].<br>*
142-
// </font>
143-
// | "conditions";
144-
// <br>
145-
// <font color='grey'>
146-
// *# The textual custom attribute in
147-
// [Product][google.cloud.retail.v2.Product] object. Key can<br>*
148-
// *# be any key in the
149-
// [Product.attributes][google.cloud.retail.v2.Product.attributes]
150-
// map<br>*
151-
// *# if the attribute values are textual.<br>*
152-
// *# map.<br>*
153-
// </font>
154-
// | "attributes.key";
155-
// <br>
156-
// <font color='grey'>
157-
// *# The [FulfillmentInfo.ids][] for type
158-
// *# [FulfillmentInfo.Type.PICKUP_IN_STORE][].<br>*
159-
// </font>
160-
// | "pickupInStore";
161-
// <br>
162-
// <font color='grey'>
163-
// *# The [FulfillmentInfo.ids][] for type
164-
// *# [FulfillmentInfo.Type.SHIP_TO_STORE][].<br>*
165-
// </font>
166-
// | "shipToStore";
167-
// <br>
168-
// <font color='grey'>
169-
// *# The [FulfillmentInfo.ids][] for type
170-
// *# [FulfillmentInfo.Type.SAME_DAY_DELIVERY][].<br>*
171-
// </font>
172-
// | "sameDayDelivery";
173-
// <br>
174-
// <font color='grey'>
175-
// *# The [FulfillmentInfo.ids][] for type
176-
// *# [FulfillmentInfo.Type.NEXT_DAY_DELIVERY][].<br>*
177-
// </font>
178-
// | "nextDayDelivery";
179-
// <br>
180-
// <font color='grey'>
181-
// *# The [FulfillmentInfo.ids][] for type
182-
// *# [FulfillmentInfo.Type.CUSTOM_TYPE_1][].<br>*
183-
// </font>
184-
// | "customFulfillment1";
185-
// <br>
186-
// <font color='grey'>
187-
// *# The [FulfillmentInfo.ids][] for type
188-
// *# [FulfillmentInfo.Type.CUSTOM_TYPE_2][].<br>*
189-
// </font>
190-
// | "customFulfillment2";
191-
// <br>
192-
// <font color='grey'>
193-
// *# The [FulfillmentInfo.ids][] for type
194-
// *# [FulfillmentInfo.Type.CUSTOM_TYPE_3][].<br>*
195-
// </font>
196-
// | "customFulfillment3";
197-
// <br>
198-
// <font color='grey'>
199-
// *# The [FulfillmentInfo.ids][] for type
200-
// *# [FulfillmentInfo.Type.CUSTOM_TYPE_4][].<br>*
201-
// </font>
202-
// | "customFulfillment4";
203-
// <br>
204-
// <font color='grey'>
205-
// *# The [FulfillmentInfo.ids][] for type
206-
// *# [FulfillmentInfo.Type.CUSTOM_TYPE_5][].<br>*
207-
// </font>
208-
// | "customFulfillment5";
77+
// Textual facet keys:
78+
// * brands
79+
// * categories
80+
// * genders
81+
// * ageGroups
82+
// * availability
83+
// * colorFamilies
84+
// * colors
85+
// * sizes
86+
// * materials
87+
// * patterns
88+
// * conditions
89+
// * attributes.key
90+
// * pickupInStore
91+
// * shipToStore
92+
// * sameDayDelivery
93+
// * nextDayDelivery
94+
// * customFulfillment1
95+
// * customFulfillment2
96+
// * customFulfillment3
97+
// * customFulfillment4
98+
// * customFulfillment5
20999
//
210-
// * numerical_field =<br>
211-
// <font color='grey'>
212-
// *# The
213-
// [PriceInfo.price][google.cloud.retail.v2.PriceInfo.price].<br>*
214-
// </font>
215-
// "price";
216-
// <br>
217-
// <font color='grey'>
218-
// *# The discount. Computed by (original_price-price)/price <br>*
219-
// </font>
220-
// "discount";
221-
// <br>
222-
// <font color='grey'>
223-
// *# The
224-
// [Rating.average_rating][google.cloud.retail.v2.Rating.average_rating].<br>*
225-
// </font>
226-
// "rating";
227-
// <br>
228-
// <font color='grey'>
229-
// *# The
230-
// [Rating.rating_count][google.cloud.retail.v2.Rating.rating_count].<br>*
231-
// </font>
232-
// "ratingCount";
233-
// <br>
234-
// <font color='grey'>
235-
// *# The numerical custom attribute in
236-
// [Product][google.cloud.retail.v2.Product] object. Key can<br>*
237-
// *# be any key in the
238-
// [Product.attributes][google.cloud.retail.v2.Product.attributes]
239-
// map<br>*
240-
// *# if the attribute values are numerical.<br>*
241-
// </font>
242-
// | "attributes.key";
100+
// Numeric facet keys:
101+
// * price
102+
// * discount
103+
// * rating
104+
// * ratingCount
105+
// * attributes.key
243106
string key = 1 [(google.api.field_behavior) = REQUIRED];
244107

245108
// Set only if values should be bucketized into intervals. Must be set
@@ -424,11 +287,12 @@ message SearchRequest {
424287
// Examples:
425288
//
426289
// * To boost products with product ID "product_1" or "product_2", and
427-
// color
428-
// "Red" or "Blue":<br>
429-
// *(id: ANY("product_1", "product_2"))<br>*
430-
// *AND<br>*
431-
// *(colorFamilies: ANY("Red", "Blue"))<br>*
290+
// color "Red" or "Blue":
291+
// ```
292+
// (id: ANY("product_1", "product_2"))
293+
// AND
294+
// (colorFamilies: ANY("Red", "Blue"))
295+
// ```
432296
string condition = 1;
433297

434298
// Strength of the condition boost, which should be in [-1, 1]. Negative

0 commit comments

Comments
 (0)