Skip to content

Commit

Permalink
docs(retail): Quote several literal expressions for better rendering
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 388769359
  • Loading branch information
Google APIs authored and Copybara-Service committed Aug 4, 2021
1 parent 0f7c56c commit a47f0a4
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 33 deletions.
24 changes: 13 additions & 11 deletions google/cloud/retail/v2/search_service.proto
Expand Up @@ -572,21 +572,23 @@ message SearchResponse {
// string or double values with type
// [google.protobuf.ListValue][google.protobuf.ListValue]. For example, if
// there are two variants with colors "red" and "blue", the rollup values
// are { key: "colorFamilies"
// value {
// list_value {
// values { string_value: "red" }
// values { string_value: "blue" }
// }
// }
// }
// are
//
// { key: "colorFamilies"
// value {
// list_value {
// values { string_value: "red" }
// values { string_value: "blue" }
// }
// }
// }
//
// For
// [Product.fulfillment_info][google.cloud.retail.v2.Product.fulfillment_info],
// the rollup values is a double value with type
// [google.protobuf.Value][google.protobuf.Value]. For example, {key:
// "pickupInStore.store1" value { number_value: 10 }} means a there are 10
// variants in this product are available in the store "store1".
// [google.protobuf.Value][google.protobuf.Value]. For example:
// `{key: "pickupInStore.store1" value { number_value: 10 }}` means a there
// are 10 variants in this product are available in the store "store1".
map<string, google.protobuf.Value> variant_rollup_values = 5;
}

Expand Down
24 changes: 13 additions & 11 deletions google/cloud/retail/v2alpha/search_service.proto
Expand Up @@ -609,21 +609,23 @@ message SearchResponse {
// string or double values with type
// [google.protobuf.ListValue][google.protobuf.ListValue]. For example, if
// there are two variants with colors "red" and "blue", the rollup values
// are { key: "colorFamilies"
// value {
// list_value {
// values { string_value: "red" }
// values { string_value: "blue" }
// }
// }
// }
// are
//
// { key: "colorFamilies"
// value {
// list_value {
// values { string_value: "red" }
// values { string_value: "blue" }
// }
// }
// }
//
// For
// [Product.fulfillment_info][google.cloud.retail.v2alpha.Product.fulfillment_info],
// the rollup values is a double value with type
// [google.protobuf.Value][google.protobuf.Value]. For example, {key:
// "pickupInStore.store1" value { number_value: 10 }} means a there are 10
// variants in this product are available in the store "store1".
// [google.protobuf.Value][google.protobuf.Value]. For example,
// `{key: "pickupInStore.store1" value { number_value: 10 }}` means a there
// are 10 variants in this product are available in the store "store1".
map<string, google.protobuf.Value> variant_rollup_values = 5;
}

Expand Down
24 changes: 13 additions & 11 deletions google/cloud/retail/v2beta/search_service.proto
Expand Up @@ -578,21 +578,23 @@ message SearchResponse {
// string or double values with type
// [google.protobuf.ListValue][google.protobuf.ListValue]. For example, if
// there are two variants with colors "red" and "blue", the rollup values
// are { key: "colorFamilies"
// value {
// list_value {
// values { string_value: "red" }
// values { string_value: "blue" }
// }
// }
// }
// are
//
// { key: "colorFamilies"
// value {
// list_value {
// values { string_value: "red" }
// values { string_value: "blue" }
// }
// }
// }
//
// For
// [Product.fulfillment_info][google.cloud.retail.v2beta.Product.fulfillment_info],
// the rollup values is a double value with type
// [google.protobuf.Value][google.protobuf.Value]. For example, {key:
// "pickupInStore.store1" value { number_value: 10 }} means a there are 10
// variants in this product are available in the store "store1".
// [google.protobuf.Value][google.protobuf.Value]. For example,
// `{key: "pickupInStore.store1" value { number_value: 10 }}` means a there
// are 10 variants in this product are available in the store "store1".
map<string, google.protobuf.Value> variant_rollup_values = 5;
}

Expand Down

0 comments on commit a47f0a4

Please sign in to comment.