diff --git a/packages/google-cloud-vision/protos/google/cloud/vision/v1/product_search.proto b/packages/google-cloud-vision/protos/google/cloud/vision/v1/product_search.proto index 74c0b188a6f..8e096fd232a 100644 --- a/packages/google-cloud-vision/protos/google/cloud/vision/v1/product_search.proto +++ b/packages/google-cloud-vision/protos/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/packages/google-cloud-vision/protos/google/cloud/vision/v1/product_search_service.proto b/packages/google-cloud-vision/protos/google/cloud/vision/v1/product_search_service.proto index 9b62fac228f..ae36bf157e9 100644 --- a/packages/google-cloud-vision/protos/google/cloud/vision/v1/product_search_service.proto +++ b/packages/google-cloud-vision/protos/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/packages/google-cloud-vision/protos/google/cloud/vision/v1p4beta1/product_search.proto b/packages/google-cloud-vision/protos/google/cloud/vision/v1p4beta1/product_search.proto index 007804f3122..f006dd4613b 100644 --- a/packages/google-cloud-vision/protos/google/cloud/vision/v1p4beta1/product_search.proto +++ b/packages/google-cloud-vision/protos/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/packages/google-cloud-vision/protos/google/cloud/vision/v1p4beta1/product_search_service.proto b/packages/google-cloud-vision/protos/google/cloud/vision/v1p4beta1/product_search_service.proto index e3b23c7b301..74bd86bce54 100644 --- a/packages/google-cloud-vision/protos/google/cloud/vision/v1p4beta1/product_search_service.proto +++ b/packages/google-cloud-vision/protos/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; diff --git a/packages/google-cloud-vision/src/v1/doc/google/cloud/vision/v1/doc_product_search.js b/packages/google-cloud-vision/src/v1/doc/google/cloud/vision/v1/doc_product_search.js index a260ff45d80..4153d0e2ae4 100644 --- a/packages/google-cloud-vision/src/v1/doc/google/cloud/vision/v1/doc_product_search.js +++ b/packages/google-cloud-vision/src/v1/doc/google/cloud/vision/v1/doc_product_search.js @@ -33,8 +33,9 @@ * * @property {string[]} productCategories * 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. * * @property {string} filter * The filtering expression. This can be used to restrict search results based diff --git a/packages/google-cloud-vision/src/v1/doc/google/cloud/vision/v1/doc_product_search_service.js b/packages/google-cloud-vision/src/v1/doc/google/cloud/vision/v1/doc_product_search_service.js index c446ce5d250..5f7bae6db86 100644 --- a/packages/google-cloud-vision/src/v1/doc/google/cloud/vision/v1/doc_product_search_service.js +++ b/packages/google-cloud-vision/src/v1/doc/google/cloud/vision/v1/doc_product_search_service.js @@ -36,7 +36,9 @@ * * @property {string} productCategory * 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. * diff --git a/packages/google-cloud-vision/src/v1p4beta1/doc/google/cloud/vision/v1p4beta1/doc_product_search.js b/packages/google-cloud-vision/src/v1p4beta1/doc/google/cloud/vision/v1p4beta1/doc_product_search.js index 22a5252a220..d24df01e02d 100644 --- a/packages/google-cloud-vision/src/v1p4beta1/doc/google/cloud/vision/v1p4beta1/doc_product_search.js +++ b/packages/google-cloud-vision/src/v1p4beta1/doc/google/cloud/vision/v1p4beta1/doc_product_search.js @@ -34,8 +34,10 @@ * * @property {string[]} productCategories * 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. * * @property {string} filter * The filtering expression. This can be used to restrict search results based diff --git a/packages/google-cloud-vision/src/v1p4beta1/doc/google/cloud/vision/v1p4beta1/doc_product_search_service.js b/packages/google-cloud-vision/src/v1p4beta1/doc/google/cloud/vision/v1p4beta1/doc_product_search_service.js index d54f9b368f6..44f877a9832 100644 --- a/packages/google-cloud-vision/src/v1p4beta1/doc/google/cloud/vision/v1p4beta1/doc_product_search_service.js +++ b/packages/google-cloud-vision/src/v1p4beta1/doc/google/cloud/vision/v1p4beta1/doc_product_search_service.js @@ -36,7 +36,9 @@ * * @property {string} productCategory * 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. * diff --git a/packages/google-cloud-vision/synth.metadata b/packages/google-cloud-vision/synth.metadata index 7e6b4a4878e..9be0c172873 100644 --- a/packages/google-cloud-vision/synth.metadata +++ b/packages/google-cloud-vision/synth.metadata @@ -1,5 +1,5 @@ { - "updateTime": "2019-05-11T11:27:59.720471Z", + "updateTime": "2019-05-17T19:55:45.296103Z", "sources": [ { "generator": { @@ -12,15 +12,15 @@ "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "32b08107fa1710f46287c17d5bb2016e443ed3ba", - "internalRef": "247684466" + "sha": "99efb1441b7c2aeb75c69f8baf9b61d4221bb744", + "internalRef": "248724297" } }, { "template": { "name": "node_library", "origin": "synthtool.gcp", - "version": "2019.5.2" + "version": "2019.4.10" } } ],