public class Vision.Projects.Locations.Products.ReferenceImages extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Vision.Projects.Locations.Products.ReferenceImages.Create |
class |
Vision.Projects.Locations.Products.ReferenceImages.Delete |
class |
Vision.Projects.Locations.Products.ReferenceImages.Get |
class |
Vision.Projects.Locations.Products.ReferenceImages.List |
| Constructor and Description |
|---|
ReferenceImages() |
| Modifier and Type | Method and Description |
|---|---|
Vision.Projects.Locations.Products.ReferenceImages.Create |
create(String parent,
ReferenceImage content)
Creates and returns a new ReferenceImage resource.
|
Vision.Projects.Locations.Products.ReferenceImages.Delete |
delete(String name)
Permanently deletes a reference image.
|
Vision.Projects.Locations.Products.ReferenceImages.Get |
get(String name)
Gets information associated with a ReferenceImage.
|
Vision.Projects.Locations.Products.ReferenceImages.List |
list(String parent)
Lists reference images.
|
public Vision.Projects.Locations.Products.ReferenceImages.Create create(String parent, ReferenceImage content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Resource name of the product in which to create the reference image.
Format is
`projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`.content - the ReferenceImageIOExceptionpublic Vision.Projects.Locations.Products.ReferenceImages.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - The resource name of the reference image to delete.
Format is:
`projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID/referenceImages/IMAGE_ID`IOExceptionpublic Vision.Projects.Locations.Products.ReferenceImages.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - The resource name of the ReferenceImage to get.
Format is:
`projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID/referenceImages/IMAGE_ID`.IOExceptionpublic Vision.Projects.Locations.Products.ReferenceImages.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Resource name of the product containing the reference images.
Format is
`projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`.IOExceptionCopyright © 2011–2019 Google. All rights reserved.