@@ -292,8 +292,7 @@ async def sample_create_product_set():
292292
293293 Args:
294294 request (Optional[Union[google.cloud.vision_v1.types.CreateProductSetRequest, dict]]):
295- The request object. Request message for the
296- `CreateProductSet` method.
295+ The request object. Request message for the ``CreateProductSet`` method.
297296 parent (:class:`str`):
298297 Required. The project in which the ProductSet should be
299298 created.
@@ -433,8 +432,7 @@ async def sample_list_product_sets():
433432
434433 Args:
435434 request (Optional[Union[google.cloud.vision_v1.types.ListProductSetsRequest, dict]]):
436- The request object. Request message for the
437- `ListProductSets` method.
435+ The request object. Request message for the ``ListProductSets`` method.
438436 parent (:class:`str`):
439437 Required. The project from which ProductSets should be
440438 listed.
@@ -564,8 +562,7 @@ async def sample_get_product_set():
564562
565563 Args:
566564 request (Optional[Union[google.cloud.vision_v1.types.GetProductSetRequest, dict]]):
567- The request object. Request message for the
568- `GetProductSet` method.
565+ The request object. Request message for the ``GetProductSet`` method.
569566 name (:class:`str`):
570567 Required. Resource name of the ProductSet to get.
571568
@@ -691,8 +688,7 @@ async def sample_update_product_set():
691688
692689 Args:
693690 request (Optional[Union[google.cloud.vision_v1.types.UpdateProductSetRequest, dict]]):
694- The request object. Request message for the
695- `UpdateProductSet` method.
691+ The request object. Request message for the ``UpdateProductSet`` method.
696692 product_set (:class:`google.cloud.vision_v1.types.ProductSet`):
697693 Required. The ProductSet resource
698694 which replaces the one on the server.
@@ -821,8 +817,7 @@ async def sample_delete_product_set():
821817
822818 Args:
823819 request (Optional[Union[google.cloud.vision_v1.types.DeleteProductSetRequest, dict]]):
824- The request object. Request message for the
825- `DeleteProductSet` method.
820+ The request object. Request message for the ``DeleteProductSet`` method.
826821 name (:class:`str`):
827822 Required. Resource name of the ProductSet to delete.
828823
@@ -939,8 +934,7 @@ async def sample_create_product():
939934
940935 Args:
941936 request (Optional[Union[google.cloud.vision_v1.types.CreateProductRequest, dict]]):
942- The request object. Request message for the
943- `CreateProduct` method.
937+ The request object. Request message for the ``CreateProduct`` method.
944938 parent (:class:`str`):
945939 Required. The project in which the Product should be
946940 created.
@@ -1075,8 +1069,7 @@ async def sample_list_products():
10751069
10761070 Args:
10771071 request (Optional[Union[google.cloud.vision_v1.types.ListProductsRequest, dict]]):
1078- The request object. Request message for the
1079- `ListProducts` method.
1072+ The request object. Request message for the ``ListProducts`` method.
10801073 parent (:class:`str`):
10811074 Required. The project OR ProductSet from which Products
10821075 should be listed.
@@ -1204,8 +1197,7 @@ async def sample_get_product():
12041197
12051198 Args:
12061199 request (Optional[Union[google.cloud.vision_v1.types.GetProductRequest, dict]]):
1207- The request object. Request message for the `GetProduct`
1208- method.
1200+ The request object. Request message for the ``GetProduct`` method.
12091201 name (:class:`str`):
12101202 Required. Resource name of the Product to get.
12111203
@@ -1333,8 +1325,7 @@ async def sample_update_product():
13331325
13341326 Args:
13351327 request (Optional[Union[google.cloud.vision_v1.types.UpdateProductRequest, dict]]):
1336- The request object. Request message for the
1337- `UpdateProduct` method.
1328+ The request object. Request message for the ``UpdateProduct`` method.
13381329 product (:class:`google.cloud.vision_v1.types.Product`):
13391330 Required. The Product resource which
13401331 replaces the one on the server.
@@ -1462,8 +1453,7 @@ async def sample_delete_product():
14621453
14631454 Args:
14641455 request (Optional[Union[google.cloud.vision_v1.types.DeleteProductRequest, dict]]):
1465- The request object. Request message for the
1466- `DeleteProduct` method.
1456+ The request object. Request message for the ``DeleteProduct`` method.
14671457 name (:class:`str`):
14681458 Required. Resource name of product to delete.
14691459
@@ -1596,8 +1586,7 @@ async def sample_create_reference_image():
15961586
15971587 Args:
15981588 request (Optional[Union[google.cloud.vision_v1.types.CreateReferenceImageRequest, dict]]):
1599- The request object. Request message for the
1600- `CreateReferenceImage` method.
1589+ The request object. Request message for the ``CreateReferenceImage`` method.
16011590 parent (:class:`str`):
16021591 Required. Resource name of the product in which to
16031592 create the reference image.
@@ -1735,8 +1724,7 @@ async def sample_delete_reference_image():
17351724
17361725 Args:
17371726 request (Optional[Union[google.cloud.vision_v1.types.DeleteReferenceImageRequest, dict]]):
1738- The request object. Request message for the
1739- `DeleteReferenceImage` method.
1727+ The request object. Request message for the ``DeleteReferenceImage`` method.
17401728 name (:class:`str`):
17411729 Required. The resource name of the reference image to
17421730 delete.
@@ -1850,8 +1838,7 @@ async def sample_list_reference_images():
18501838
18511839 Args:
18521840 request (Optional[Union[google.cloud.vision_v1.types.ListReferenceImagesRequest, dict]]):
1853- The request object. Request message for the
1854- `ListReferenceImages` method.
1841+ The request object. Request message for the ``ListReferenceImages`` method.
18551842 parent (:class:`str`):
18561843 Required. Resource name of the product containing the
18571844 reference images.
@@ -1982,8 +1969,7 @@ async def sample_get_reference_image():
19821969
19831970 Args:
19841971 request (Optional[Union[google.cloud.vision_v1.types.GetReferenceImageRequest, dict]]):
1985- The request object. Request message for the
1986- `GetReferenceImage` method.
1972+ The request object. Request message for the ``GetReferenceImage`` method.
19871973 name (:class:`str`):
19881974 Required. The resource name of the ReferenceImage to
19891975 get.
@@ -2106,8 +2092,8 @@ async def sample_add_product_to_product_set():
21062092
21072093 Args:
21082094 request (Optional[Union[google.cloud.vision_v1.types.AddProductToProductSetRequest, dict]]):
2109- The request object. Request message for the
2110- `AddProductToProductSet` method.
2095+ The request object. Request message for the ``AddProductToProductSet``
2096+ method.
21112097 name (:class:`str`):
21122098 Required. The resource name for the ProductSet to
21132099 modify.
@@ -2225,8 +2211,8 @@ async def sample_remove_product_from_product_set():
22252211
22262212 Args:
22272213 request (Optional[Union[google.cloud.vision_v1.types.RemoveProductFromProductSetRequest, dict]]):
2228- The request object. Request message for the
2229- `RemoveProductFromProductSet` method.
2214+ The request object. Request message for the ``RemoveProductFromProductSet``
2215+ method.
22302216 name (:class:`str`):
22312217 Required. The resource name for the ProductSet to
22322218 modify.
@@ -2353,8 +2339,8 @@ async def sample_list_products_in_product_set():
23532339
23542340 Args:
23552341 request (Optional[Union[google.cloud.vision_v1.types.ListProductsInProductSetRequest, dict]]):
2356- The request object. Request message for the
2357- `ListProductsInProductSet` method.
2342+ The request object. Request message for the ``ListProductsInProductSet``
2343+ method.
23582344 name (:class:`str`):
23592345 Required. The ProductSet resource for which to retrieve
23602346 Products.
@@ -2500,8 +2486,7 @@ async def sample_import_product_sets():
25002486
25012487 Args:
25022488 request (Optional[Union[google.cloud.vision_v1.types.ImportProductSetsRequest, dict]]):
2503- The request object. Request message for the
2504- `ImportProductSets` method.
2489+ The request object. Request message for the ``ImportProductSets`` method.
25052490 parent (:class:`str`):
25062491 Required. The project in which the ProductSets should be
25072492 imported.
@@ -2669,8 +2654,7 @@ async def sample_purge_products():
26692654
26702655 Args:
26712656 request (Optional[Union[google.cloud.vision_v1.types.PurgeProductsRequest, dict]]):
2672- The request object. Request message for the
2673- `PurgeProducts` method.
2657+ The request object. Request message for the ``PurgeProducts`` method.
26742658 parent (:class:`str`):
26752659 Required. The project and location in which the Products
26762660 should be deleted.
0 commit comments