diff --git a/Vision/src/V1/Product.php b/Vision/src/V1/Product.php index db4dc236592c..3f5d34e4e0b5 100644 --- a/Vision/src/V1/Product.php +++ b/Vision/src/V1/Product.php @@ -40,9 +40,9 @@ class Product extends \Google\Protobuf\Internal\Message private $description = ''; /** * The category for the product identified by the reference image. This should - * 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. + * be either "homegoods-v2", "apparel-v2", "toys-v2", "packagedgoods-v1", or + * "general-v1" The legacy categories "homegoods", "apparel", and "toys" are + * still supported, but these should not be used for new products. * This field is immutable. * * Generated from protobuf field string product_category = 4; @@ -83,9 +83,9 @@ class Product extends \Google\Protobuf\Internal\Message * characters long. * @type string $product_category * The category for the product identified by the reference image. This should - * 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. + * be either "homegoods-v2", "apparel-v2", "toys-v2", "packagedgoods-v1", or + * "general-v1" The legacy categories "homegoods", "apparel", and "toys" are + * still supported, but these should not be used for new products. * This field is immutable. * @type \Google\Cloud\Vision\V1\Product\KeyValue[]|\Google\Protobuf\Internal\RepeatedField $product_labels * Key-value pairs that can be attached to a product. At query time, @@ -195,9 +195,9 @@ public function setDescription($var) /** * The category for the product identified by the reference image. This should - * 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. + * be either "homegoods-v2", "apparel-v2", "toys-v2", "packagedgoods-v1", or + * "general-v1" The legacy categories "homegoods", "apparel", and "toys" are + * still supported, but these should not be used for new products. * This field is immutable. * * Generated from protobuf field string product_category = 4; @@ -210,9 +210,9 @@ public function getProductCategory() /** * The category for the product identified by the reference image. This should - * 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. + * be either "homegoods-v2", "apparel-v2", "toys-v2", "packagedgoods-v1", or + * "general-v1" The legacy categories "homegoods", "apparel", and "toys" are + * still supported, but these should not be used for new products. * This field is immutable. * * Generated from protobuf field string product_category = 4; diff --git a/Vision/src/V1/ProductSearchParams.php b/Vision/src/V1/ProductSearchParams.php index 1b58eccd17f4..d8f9f70e35d2 100644 --- a/Vision/src/V1/ProductSearchParams.php +++ b/Vision/src/V1/ProductSearchParams.php @@ -33,12 +33,12 @@ class ProductSearchParams extends \Google\Protobuf\Internal\Message private $product_set = ''; /** * The list of product categories to search in. Currently, we only consider - * 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 will be deprecated. For new products, please - * use "homegoods-v2", "apparel-v2", or "toys-v2" for better product search - * accuracy. It is recommended to migrate existing products to these - * categories as well. + * the first category, and either "homegoods-v2", "apparel-v2", "toys-v2", + * "packagedgoods-v1", or "general-v1" should be specified. The legacy + * categories "homegoods", "apparel", and "toys" are still supported but will + * be deprecated. For new products, please use "homegoods-v2", "apparel-v2", + * or "toys-v2" for better product search accuracy. It is recommended to + * migrate existing products to these categories as well. * * Generated from protobuf field repeated string product_categories = 7; */ @@ -72,12 +72,12 @@ class ProductSearchParams extends \Google\Protobuf\Internal\Message * `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`. * @type string[]|\Google\Protobuf\Internal\RepeatedField $product_categories * The list of product categories to search in. Currently, we only consider - * 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 will be deprecated. For new products, please - * use "homegoods-v2", "apparel-v2", or "toys-v2" for better product search - * accuracy. It is recommended to migrate existing products to these - * categories as well. + * the first category, and either "homegoods-v2", "apparel-v2", "toys-v2", + * "packagedgoods-v1", or "general-v1" should be specified. The legacy + * categories "homegoods", "apparel", and "toys" are still supported but will + * be deprecated. For new products, please use "homegoods-v2", "apparel-v2", + * or "toys-v2" for better product search accuracy. It is recommended to + * migrate existing products to these categories as well. * @type string $filter * The filtering expression. This can be used to restrict search results based * on Product labels. We currently support an AND of OR of key-value @@ -155,12 +155,12 @@ public function setProductSet($var) /** * The list of product categories to search in. Currently, we only consider - * 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 will be deprecated. For new products, please - * use "homegoods-v2", "apparel-v2", or "toys-v2" for better product search - * accuracy. It is recommended to migrate existing products to these - * categories as well. + * the first category, and either "homegoods-v2", "apparel-v2", "toys-v2", + * "packagedgoods-v1", or "general-v1" should be specified. The legacy + * categories "homegoods", "apparel", and "toys" are still supported but will + * be deprecated. For new products, please use "homegoods-v2", "apparel-v2", + * or "toys-v2" for better product search accuracy. It is recommended to + * migrate existing products to these categories as well. * * Generated from protobuf field repeated string product_categories = 7; * @return \Google\Protobuf\Internal\RepeatedField @@ -172,12 +172,12 @@ public function getProductCategories() /** * The list of product categories to search in. Currently, we only consider - * 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 will be deprecated. For new products, please - * use "homegoods-v2", "apparel-v2", or "toys-v2" for better product search - * accuracy. It is recommended to migrate existing products to these - * categories as well. + * the first category, and either "homegoods-v2", "apparel-v2", "toys-v2", + * "packagedgoods-v1", or "general-v1" should be specified. The legacy + * categories "homegoods", "apparel", and "toys" are still supported but will + * be deprecated. For new products, please use "homegoods-v2", "apparel-v2", + * or "toys-v2" for better product search accuracy. It is recommended to + * migrate existing products to these categories as well. * * Generated from protobuf field repeated string product_categories = 7; * @param string[]|\Google\Protobuf\Internal\RepeatedField $var diff --git a/Vision/synth.metadata b/Vision/synth.metadata index f30c914274dc..e79d29d09e61 100644 --- a/Vision/synth.metadata +++ b/Vision/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-08-07T18:06:50.303336Z", + "updateTime": "2019-09-13T10:04:30.737612Z", "sources": [ { "generator": { "name": "artman", - "version": "0.29.1", - "dockerImage": "googleapis/artman@sha256:b2a73f4dda03ef8fcaa973e3ba26d0cf34091f6c22c70add663af325931aef4d" + "version": "0.36.2", + "dockerImage": "googleapis/artman@sha256:0e6f3a668cd68afc768ecbe08817cf6e56a0e64fcbdb1c58c3b97492d12418a1" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "3a1b46a6668194a527e532a2c355b404c79b0e6a", - "internalRef": "262167956" + "sha": "dc88acb2ced136067d3ed2356b6a87ca7f017a96", + "internalRef": "268735517" } } ],