Class ImagesResource
The "images" collection of methods.
Inherited Members
Namespace: Google.Apis.Vision.v1p2beta1
Assembly: Google.Apis.Vision.v1p2beta1.dll
Syntax
public class ImagesResource
Constructors
ImagesResource(IClientService)
Constructs a new resource.
Declaration
public ImagesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Annotate(GoogleCloudVisionV1p2beta1BatchAnnotateImagesRequest)
Run image detection and annotation for a batch of images.
Declaration
public virtual ImagesResource.AnnotateRequest Annotate(GoogleCloudVisionV1p2beta1BatchAnnotateImagesRequest body)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudVisionV1p2beta1BatchAnnotateImagesRequest | body | The body of the request. |
Returns
Type | Description |
---|---|
ImagesResource.AnnotateRequest |
AsyncBatchAnnotate(GoogleCloudVisionV1p2beta1AsyncBatchAnnotateImagesRequest)
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 ImagesResource.AsyncBatchAnnotateRequest AsyncBatchAnnotate(GoogleCloudVisionV1p2beta1AsyncBatchAnnotateImagesRequest body)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudVisionV1p2beta1AsyncBatchAnnotateImagesRequest | body | The body of the request. |
Returns
Type | Description |
---|---|
ImagesResource.AsyncBatchAnnotateRequest |