public class Vision.Projects.Locations.Files
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
Vision.Projects.Locations.Files.Annotate |
class |
Vision.Projects.Locations.Files.AsyncBatchAnnotate |
Constructor and Description |
---|
Files() |
Modifier and Type | Method and Description |
---|---|
Vision.Projects.Locations.Files.Annotate |
annotate(java.lang.String parent,
BatchAnnotateFilesRequest content)
Service that performs image detection and annotation for a batch of files.
|
Vision.Projects.Locations.Files.AsyncBatchAnnotate |
asyncBatchAnnotate(java.lang.String parent,
AsyncBatchAnnotateFilesRequest content)
Run asynchronous image detection and annotation for a list of generic files, such as PDF files,
which may contain multiple pages and multiple images per page.
|
public Vision.Projects.Locations.Files.Annotate annotate(java.lang.String parent, BatchAnnotateFilesRequest 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 BatchAnnotateFilesRequest
java.io.IOException
public Vision.Projects.Locations.Files.AsyncBatchAnnotate asyncBatchAnnotate(java.lang.String parent, AsyncBatchAnnotateFilesRequest 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 AsyncBatchAnnotateFilesRequest
java.io.IOException