diff --git a/google/cloud/vision/v1/product_search.proto b/google/cloud/vision/v1/product_search.proto index 74c0b188a6..8e096fd232 100644 --- a/google/cloud/vision/v1/product_search.proto +++ b/google/cloud/vision/v1/product_search.proto @@ -43,8 +43,9 @@ message ProductSearchParams { string product_set = 6; // The list of product categories to search in. Currently, we only consider - // the first category, and either "homegoods", "apparel", or "toys" should be - // specified. + // the first category, and either "homegoods-v2", "apparel-v2", or "toys-v2" + // should be specified. The legacy categories "homegoods", "apparel", and + // "toys" are still supported, but these should not be used for new products. repeated string product_categories = 7; // The filtering expression. This can be used to restrict search results based diff --git a/google/cloud/vision/v1/product_search_service.proto b/google/cloud/vision/v1/product_search_service.proto index 9b62fac228..ae36bf157e 100644 --- a/google/cloud/vision/v1/product_search_service.proto +++ b/google/cloud/vision/v1/product_search_service.proto @@ -337,7 +337,9 @@ message Product { string description = 3; // The category for the product identified by the reference image. This should - // be either "homegoods", "apparel", or "toys". + // be either "homegoods-v2", "apparel-v2", or "toys-v2". The legacy categories + // "homegoods", "apparel", and "toys" are still supported, but these should + // not be used for new products. // // This field is immutable. string product_category = 4; diff --git a/google/cloud/vision/v1p4beta1/product_search.proto b/google/cloud/vision/v1p4beta1/product_search.proto index 007804f312..f006dd4613 100644 --- a/google/cloud/vision/v1p4beta1/product_search.proto +++ b/google/cloud/vision/v1p4beta1/product_search.proto @@ -44,8 +44,10 @@ message ProductSearchParams { string product_set = 6; // The list of product categories to search in. Currently, we only consider - // the first category, and either "homegoods", "apparel", or "toys" should be - // specified. + // the first category, and either "homegoods-v2", "apparel-v2", "toys-v2", or + // "packagedgoods" should be specified. The legacy categories "homegoods", + // "apparel", and "toys" are still supported, but these should not be used for + // new products. repeated string product_categories = 7; // The filtering expression. This can be used to restrict search results based diff --git a/google/cloud/vision/v1p4beta1/product_search_service.proto b/google/cloud/vision/v1p4beta1/product_search_service.proto index e3b23c7b30..74bd86bce5 100644 --- a/google/cloud/vision/v1p4beta1/product_search_service.proto +++ b/google/cloud/vision/v1p4beta1/product_search_service.proto @@ -355,7 +355,9 @@ message Product { string description = 3; // The category for the product identified by the reference image. This should - // be either "homegoods", "apparel", or "toys". + // be either "homegoods-v2", "apparel-v2", "toys-v2", or "packagedgoods". The + // legacy categories "homegoods", "apparel", and "toys" are still supported, + // but these should not be used for new products. // // This field is immutable. string product_category = 4;