Skip to content

Commit a47f0a4

Browse files
Google APIscopybara-github
authored andcommitted
docs(retail): Quote several literal expressions for better rendering
PiperOrigin-RevId: 388769359
1 parent 0f7c56c commit a47f0a4

3 files changed

Lines changed: 39 additions & 33 deletions

File tree

google/cloud/retail/v2/search_service.proto

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -572,21 +572,23 @@ message SearchResponse {
572572
// string or double values with type
573573
// [google.protobuf.ListValue][google.protobuf.ListValue]. For example, if
574574
// there are two variants with colors "red" and "blue", the rollup values
575-
// are { key: "colorFamilies"
576-
// value {
577-
// list_value {
578-
// values { string_value: "red" }
579-
// values { string_value: "blue" }
580-
// }
581-
// }
582-
// }
575+
// are
576+
//
577+
// { key: "colorFamilies"
578+
// value {
579+
// list_value {
580+
// values { string_value: "red" }
581+
// values { string_value: "blue" }
582+
// }
583+
// }
584+
// }
583585
//
584586
// For
585587
// [Product.fulfillment_info][google.cloud.retail.v2.Product.fulfillment_info],
586588
// the rollup values is a double value with type
587-
// [google.protobuf.Value][google.protobuf.Value]. For example, {key:
588-
// "pickupInStore.store1" value { number_value: 10 }} means a there are 10
589-
// variants in this product are available in the store "store1".
589+
// [google.protobuf.Value][google.protobuf.Value]. For example:
590+
// `{key: "pickupInStore.store1" value { number_value: 10 }}` means a there
591+
// are 10 variants in this product are available in the store "store1".
590592
map<string, google.protobuf.Value> variant_rollup_values = 5;
591593
}
592594

google/cloud/retail/v2alpha/search_service.proto

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -609,21 +609,23 @@ message SearchResponse {
609609
// string or double values with type
610610
// [google.protobuf.ListValue][google.protobuf.ListValue]. For example, if
611611
// there are two variants with colors "red" and "blue", the rollup values
612-
// are { key: "colorFamilies"
613-
// value {
614-
// list_value {
615-
// values { string_value: "red" }
616-
// values { string_value: "blue" }
617-
// }
618-
// }
619-
// }
612+
// are
613+
//
614+
// { key: "colorFamilies"
615+
// value {
616+
// list_value {
617+
// values { string_value: "red" }
618+
// values { string_value: "blue" }
619+
// }
620+
// }
621+
// }
620622
//
621623
// For
622624
// [Product.fulfillment_info][google.cloud.retail.v2alpha.Product.fulfillment_info],
623625
// the rollup values is a double value with type
624-
// [google.protobuf.Value][google.protobuf.Value]. For example, {key:
625-
// "pickupInStore.store1" value { number_value: 10 }} means a there are 10
626-
// variants in this product are available in the store "store1".
626+
// [google.protobuf.Value][google.protobuf.Value]. For example,
627+
// `{key: "pickupInStore.store1" value { number_value: 10 }}` means a there
628+
// are 10 variants in this product are available in the store "store1".
627629
map<string, google.protobuf.Value> variant_rollup_values = 5;
628630
}
629631

google/cloud/retail/v2beta/search_service.proto

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -578,21 +578,23 @@ message SearchResponse {
578578
// string or double values with type
579579
// [google.protobuf.ListValue][google.protobuf.ListValue]. For example, if
580580
// there are two variants with colors "red" and "blue", the rollup values
581-
// are { key: "colorFamilies"
582-
// value {
583-
// list_value {
584-
// values { string_value: "red" }
585-
// values { string_value: "blue" }
586-
// }
587-
// }
588-
// }
581+
// are
582+
//
583+
// { key: "colorFamilies"
584+
// value {
585+
// list_value {
586+
// values { string_value: "red" }
587+
// values { string_value: "blue" }
588+
// }
589+
// }
590+
// }
589591
//
590592
// For
591593
// [Product.fulfillment_info][google.cloud.retail.v2beta.Product.fulfillment_info],
592594
// the rollup values is a double value with type
593-
// [google.protobuf.Value][google.protobuf.Value]. For example, {key:
594-
// "pickupInStore.store1" value { number_value: 10 }} means a there are 10
595-
// variants in this product are available in the store "store1".
595+
// [google.protobuf.Value][google.protobuf.Value]. For example,
596+
// `{key: "pickupInStore.store1" value { number_value: 10 }}` means a there
597+
// are 10 variants in this product are available in the store "store1".
596598
map<string, google.protobuf.Value> variant_rollup_values = 5;
597599
}
598600

0 commit comments

Comments
 (0)