public class Vision.Projects.Locations.ProductSets extends Object
Modifier and Type | Class and Description |
---|---|
class |
Vision.Projects.Locations.ProductSets.AddProduct |
class |
Vision.Projects.Locations.ProductSets.Create |
class |
Vision.Projects.Locations.ProductSets.Delete |
class |
Vision.Projects.Locations.ProductSets.Get |
class |
Vision.Projects.Locations.ProductSets.List |
class |
Vision.Projects.Locations.ProductSets.Patch |
class |
Vision.Projects.Locations.ProductSets.Products
The "products" collection of methods.
|
class |
Vision.Projects.Locations.ProductSets.RemoveProduct |
class |
Vision.Projects.Locations.ProductSets.VisionImport |
Constructor and Description |
---|
ProductSets() |
Modifier and Type | Method and Description |
---|---|
Vision.Projects.Locations.ProductSets.AddProduct |
addProduct(String name,
AddProductToProductSetRequest content)
Adds a Product to the specified ProductSet.
|
Vision.Projects.Locations.ProductSets.Create |
create(String parent,
ProductSet content)
Creates and returns a new ProductSet resource.
|
Vision.Projects.Locations.ProductSets.Delete |
delete(String name)
Permanently deletes a ProductSet.
|
Vision.Projects.Locations.ProductSets.Get |
get(String name)
Gets information associated with a ProductSet.
|
Vision.Projects.Locations.ProductSets.List |
list(String parent)
Lists ProductSets in an unspecified order.
|
Vision.Projects.Locations.ProductSets.Patch |
patch(String name,
ProductSet content)
Makes changes to a ProductSet resource.
|
Vision.Projects.Locations.ProductSets.Products |
products()
An accessor for creating requests from the Products collection.
|
Vision.Projects.Locations.ProductSets.RemoveProduct |
removeProduct(String name,
RemoveProductFromProductSetRequest content)
Removes a Product from the specified ProductSet.
|
Vision.Projects.Locations.ProductSets.VisionImport |
visionImport(String parent,
ImportProductSetsRequest content)
Asynchronous API that imports a list of reference images to specified product sets based on a
list of image information.
|
public Vision.Projects.Locations.ProductSets.AddProduct addProduct(String name, AddProductToProductSetRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- The resource name for the ProductSet to modify.
Format is:
`projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`content
- the AddProductToProductSetRequest
IOException
public Vision.Projects.Locations.ProductSets.Create create(String parent, ProductSet content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.parent
- The project in which the ProductSet should be created.
Format is
`projects/PROJECT_ID/locations/LOC_ID`.content
- the ProductSet
IOException
public Vision.Projects.Locations.ProductSets.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Resource name of the ProductSet to delete.
Format is:
`projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`IOException
public Vision.Projects.Locations.ProductSets.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Resource name of the ProductSet to get.
Format is:
`projects/PROJECT_ID/locations/LOG_ID/productSets/PRODUCT_SET_ID`IOException
public Vision.Projects.Locations.ProductSets.VisionImport visionImport(String parent, ImportProductSetsRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.parent
- The project in which the ProductSets should be imported.
Format is
`projects/PROJECT_ID/locations/LOC_ID`.content
- the ImportProductSetsRequest
IOException
public Vision.Projects.Locations.ProductSets.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.parent
- The project from which ProductSets should be listed.
Format is
`projects/PROJECT_ID/locations/LOC_ID`.IOException
public Vision.Projects.Locations.ProductSets.Patch patch(String name, ProductSet content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- The resource name of the ProductSet.
Format is:
`projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`.
This field is ignored
when creating a ProductSet.content
- the ProductSet
IOException
public Vision.Projects.Locations.ProductSets.RemoveProduct removeProduct(String name, RemoveProductFromProductSetRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- The resource name for the ProductSet to modify.
Format is:
`projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`content
- the RemoveProductFromProductSetRequest
IOException
public Vision.Projects.Locations.ProductSets.Products products()
The typical use is:
Vision vision = new Vision(...);
Vision.Products.List request = vision.products().list(parameters ...)
Copyright © 2011–2019 Google. All rights reserved.