public class Vision.Projects.Files extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Vision.Projects.Files.Annotate |
class |
Vision.Projects.Files.AsyncBatchAnnotate |
| Constructor and Description |
|---|
Files() |
| Modifier and Type | Method and Description |
|---|---|
Vision.Projects.Files.Annotate |
annotate(String parent,
BatchAnnotateFilesRequest content)
Service that performs image detection and annotation for a batch of files.
|
Vision.Projects.Files.AsyncBatchAnnotate |
asyncBatchAnnotate(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.Files.Annotate annotate(String parent, BatchAnnotateFilesRequest content) throws 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 BatchAnnotateFilesRequestIOExceptionpublic Vision.Projects.Files.AsyncBatchAnnotate asyncBatchAnnotate(String parent, AsyncBatchAnnotateFilesRequest content) throws 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 AsyncBatchAnnotateFilesRequestIOExceptionCopyright © 2011–2021 Google. All rights reserved.