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.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.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
- The project in which the Product should be created.
Format is
`projects/PROJECT_ID/locations/LOC_ID`.content
- the Product
IOException
public Vision.Projects.Locations.Products.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Resource name of product to delete.
Format is:
`projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`IOException
public Vision.Projects.Locations.Products.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Resource name of the Product to get.
Format is:
`projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`IOException
public Vision.Projects.Locations.Products.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.parent
- The project OR ProductSet from which Products should be listed.
Format:
`projects/PROJECT_ID/locations/LOC_ID`IOException
public 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 Product
IOException
public Vision.Projects.Locations.Products.ReferenceImages referenceImages()
The typical use is:
Vision vision = new Vision(...);
Vision.ReferenceImages.List request = vision.referenceImages().list(parameters ...)
Copyright © 2011–2019 Google. All rights reserved.