public class Vision.Projects.Locations.Images
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
Vision.Projects.Locations.Images.Annotate |
class |
Vision.Projects.Locations.Images.AsyncBatchAnnotate |
Constructor and Description |
---|
Images() |
Modifier and Type | Method and Description |
---|---|
Vision.Projects.Locations.Images.Annotate |
annotate(java.lang.String parent,
BatchAnnotateImagesRequest content)
Run image detection and annotation for a batch of images.
|
Vision.Projects.Locations.Images.AsyncBatchAnnotate |
asyncBatchAnnotate(java.lang.String parent,
AsyncBatchAnnotateImagesRequest content)
Run asynchronous image detection and annotation for a list of images.
|
public Vision.Projects.Locations.Images.Annotate annotate(java.lang.String parent, BatchAnnotateImagesRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.parent
- Optional. Target project and location to make a call.
Format: `projects/{project-id}/locations
/{location-id}`.
If no parent is specified, a region will be chosen automatically.
Supported location-ids:
`us`: USA country only,
`asia`: East asia areas, like
Japan, Taiwan,
`eu`: The European Union.
Example: `projects/project-A/locations/eu`.content
- the BatchAnnotateImagesRequest
java.io.IOException
public Vision.Projects.Locations.Images.AsyncBatchAnnotate asyncBatchAnnotate(java.lang.String parent, AsyncBatchAnnotateImagesRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.parent
- Optional. Target project and location to make a call.
Format: `projects/{project-id}/locations
/{location-id}`.
If no parent is specified, a region will be chosen automatically.
Supported location-ids:
`us`: USA country only,
`asia`: East asia areas, like
Japan, Taiwan,
`eu`: The European Union.
Example: `projects/project-A/locations/eu`.content
- the AsyncBatchAnnotateImagesRequest
java.io.IOException