public class Vision.Projects.Locations.Products extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Vision.Projects.Locations.Products.Create |
class |
Vision.Projects.Locations.Products.Delete |
class |
Vision.Projects.Locations.Products.Get |
class |
Vision.Projects.Locations.Products.List |
class |
Vision.Projects.Locations.Products.Patch |
class |
Vision.Projects.Locations.Products.Purge |
class |
Vision.Projects.Locations.Products.ReferenceImages
The "referenceImages" collection of methods.
|
| Constructor and Description |
|---|
Products() |
| Modifier and Type | Method and Description |
|---|---|
Vision.Projects.Locations.Products.Create |
create(String parent,
Product content)
Creates and returns a new product resource.
|
Vision.Projects.Locations.Products.Delete |
delete(String name)
Permanently deletes a product and its reference images.
|
Vision.Projects.Locations.Products.Get |
get(String name)
Gets information associated with a Product.
|
Vision.Projects.Locations.Products.List |
list(String parent)
Lists products in an unspecified order.
|
Vision.Projects.Locations.Products.Patch |
patch(String name,
Product content)
Makes changes to a Product resource.
|
Vision.Projects.Locations.Products.Purge |
purge(String parent,
PurgeProductsRequest content)
Asynchronous API to delete all Products in a ProductSet or all Products that are in no
ProductSet.
|
Vision.Projects.Locations.Products.ReferenceImages |
referenceImages()
An accessor for creating requests from the ReferenceImages collection.
|
public Vision.Projects.Locations.Products.Create create(String parent, Product content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The project in which the Product should be created. Format is
`projects/PROJECT_ID/locations/LOC_ID`.content - the ProductIOExceptionpublic Vision.Projects.Locations.Products.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. Resource name of product to delete. Format is:
`projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`IOExceptionpublic Vision.Projects.Locations.Products.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. Resource name of the Product to get. Format is:
`projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`IOExceptionpublic Vision.Projects.Locations.Products.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The project OR ProductSet from which Products should be listed. Format:
`projects/PROJECT_ID/locations/LOC_ID`IOExceptionpublic Vision.Projects.Locations.Products.Patch patch(String name, Product content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - The resource name of the product. Format is:
`projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`. This field is ignored when
creating a product.content - the ProductIOExceptionpublic Vision.Projects.Locations.Products.Purge purge(String parent, PurgeProductsRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The project and location in which the Products should be deleted. Format is
`projects/PROJECT_ID/locations/LOC_ID`.content - the PurgeProductsRequestIOExceptionpublic Vision.Projects.Locations.Products.ReferenceImages referenceImages()
The typical use is:
Vision vision = new Vision(...);Vision.ReferenceImages.List request = vision.referenceImages().list(parameters ...)
Copyright © 2011–2021 Google. All rights reserved.