@@ -108,21 +108,22 @@ class GoogleCloudRetailV2Product extends \Google\Collection
108108 */
109109 public $ brands ;
110110 /**
111- * Product categories. This field is repeated for supporting one product
112- * belonging to several parallel categories. Strongly recommended using the
113- * full path for better search / recommendation quality. To represent full
114- * path of category, use '>' sign to separate different hierarchies. If '>' is
115- * part of the category name, replace it with other character(s). For example,
116- * if a shoes product belongs to both ["Shoes & Accessories" -> "Shoes"] and
117- * ["Sports & Fitness" -> "Athletic Clothing" -> "Shoes"], it could be
118- * represented as: "categories": [ "Shoes & Accessories > Shoes", "Sports &
119- * Fitness > Athletic Clothing > Shoes" ] Must be set for Type.PRIMARY Product
120- * otherwise an INVALID_ARGUMENT error is returned. At most 250 values are
121- * allowed per Product unless overridden through the Google Cloud console.
122- * Empty values are not allowed. Each value must be a UTF-8 encoded string
123- * with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT
124- * error is returned. Corresponding properties: Google Merchant Center
125- * property google_product_category. Schema.org property [Product.category]
111+ * Optional. Product categories. This field is repeated for supporting one
112+ * product belonging to several parallel categories. Strongly recommended
113+ * using the full path for better search / recommendation quality. To
114+ * represent the full path of category, use the '>' sign, with one space on
115+ * each side, to separate different hierarchies. If '>' is part of the
116+ * category name, replace it with other character(s). For example, if a shoes
117+ * product belongs to both ["Shoes & Accessories" -> "Shoes"] and ["Sports &
118+ * Fitness" -> "Athletic Clothing" -> "Shoes"], it could be represented as:
119+ * "categories": [ "Shoes & Accessories > Shoes", "Sports & Fitness > Athletic
120+ * Clothing > Shoes" ] Must be set for Type.PRIMARY Product otherwise an
121+ * INVALID_ARGUMENT error is returned. At most 250 values are allowed per
122+ * Product unless overridden through the Google Cloud console. Empty values
123+ * are not allowed. Each value must be a UTF-8 encoded string with a length
124+ * limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is
125+ * returned. Corresponding properties: Google Merchant Center property
126+ * google_product_category. Schema.org property [Product.category]
126127 * (https://schema.org/category). [mc_google_product_category]:
127128 * https://support.google.com/merchants/answer/6324436
128129 *
@@ -520,21 +521,22 @@ public function getBrands()
520521 return $ this ->brands ;
521522 }
522523 /**
523- * Product categories. This field is repeated for supporting one product
524- * belonging to several parallel categories. Strongly recommended using the
525- * full path for better search / recommendation quality. To represent full
526- * path of category, use '>' sign to separate different hierarchies. If '>' is
527- * part of the category name, replace it with other character(s). For example,
528- * if a shoes product belongs to both ["Shoes & Accessories" -> "Shoes"] and
529- * ["Sports & Fitness" -> "Athletic Clothing" -> "Shoes"], it could be
530- * represented as: "categories": [ "Shoes & Accessories > Shoes", "Sports &
531- * Fitness > Athletic Clothing > Shoes" ] Must be set for Type.PRIMARY Product
532- * otherwise an INVALID_ARGUMENT error is returned. At most 250 values are
533- * allowed per Product unless overridden through the Google Cloud console.
534- * Empty values are not allowed. Each value must be a UTF-8 encoded string
535- * with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT
536- * error is returned. Corresponding properties: Google Merchant Center
537- * property google_product_category. Schema.org property [Product.category]
524+ * Optional. Product categories. This field is repeated for supporting one
525+ * product belonging to several parallel categories. Strongly recommended
526+ * using the full path for better search / recommendation quality. To
527+ * represent the full path of category, use the '>' sign, with one space on
528+ * each side, to separate different hierarchies. If '>' is part of the
529+ * category name, replace it with other character(s). For example, if a shoes
530+ * product belongs to both ["Shoes & Accessories" -> "Shoes"] and ["Sports &
531+ * Fitness" -> "Athletic Clothing" -> "Shoes"], it could be represented as:
532+ * "categories": [ "Shoes & Accessories > Shoes", "Sports & Fitness > Athletic
533+ * Clothing > Shoes" ] Must be set for Type.PRIMARY Product otherwise an
534+ * INVALID_ARGUMENT error is returned. At most 250 values are allowed per
535+ * Product unless overridden through the Google Cloud console. Empty values
536+ * are not allowed. Each value must be a UTF-8 encoded string with a length
537+ * limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is
538+ * returned. Corresponding properties: Google Merchant Center property
539+ * google_product_category. Schema.org property [Product.category]
538540 * (https://schema.org/category). [mc_google_product_category]:
539541 * https://support.google.com/merchants/answer/6324436
540542 *
0 commit comments