Class ProjectsResource.ImagesResource
The "images" collection of methods.
Inherited Members
Namespace: Google.Apis.Vision.v1
Assembly: Google.Apis.Vision.v1.dll
Syntax
public class ProjectsResource.ImagesResource
Constructors
ImagesResource(IClientService)
Constructs a new resource.
Declaration
public ImagesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Annotate(BatchAnnotateImagesRequest, string)
Run image detection and annotation for a batch of images.
Declaration
public virtual ProjectsResource.ImagesResource.AnnotateRequest Annotate(BatchAnnotateImagesRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
BatchAnnotateImagesRequest | body | The body of the request. |
string | parent | Optional. Target project and location to make a call. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.ImagesResource.AnnotateRequest |
AsyncBatchAnnotate(AsyncBatchAnnotateImagesRequest, string)
Run asynchronous image detection and annotation for a list of images. Progress and results can be
retrieved through the google.longrunning.Operations
interface. Operation.metadata
contains
OperationMetadata
(metadata). Operation.response
contains AsyncBatchAnnotateImagesResponse
(results). This service will write image annotation outputs to json files in customer GCS bucket, each
json file containing BatchAnnotateImagesResponse proto.
Declaration
public virtual ProjectsResource.ImagesResource.AsyncBatchAnnotateRequest AsyncBatchAnnotate(AsyncBatchAnnotateImagesRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
AsyncBatchAnnotateImagesRequest | body | The body of the request. |
string | parent | Optional. Target project and location to make a call. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.ImagesResource.AsyncBatchAnnotateRequest |