Class ProjectsResource.ImagesResource
The "images" collection of methods.
Inheritance
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, String)
Run image detection and annotation for a batch of images.
Declaration
public virtual ProjectsResource.ImagesResource.AnnotateRequest Annotate(GoogleCloudVisionV1p2beta1BatchAnnotateImagesRequest body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleCloudVisionV1p2beta1BatchAnnotateImagesRequest | body | The body of the request. |
| System.String | parent | Optional. Target project and location to make a call. Format: If no parent is specified, a region will be chosen automatically. Supported location-ids: Example: |
Returns
| Type | Description |
|---|---|
| ProjectsResource.ImagesResource.AnnotateRequest |
AsyncBatchAnnotate(GoogleCloudVisionV1p2beta1AsyncBatchAnnotateImagesRequest, 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(GoogleCloudVisionV1p2beta1AsyncBatchAnnotateImagesRequest body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleCloudVisionV1p2beta1AsyncBatchAnnotateImagesRequest | body | The body of the request. |
| System.String | parent | Optional. Target project and location to make a call. Format: If no parent is specified, a region will be chosen automatically. Supported location-ids: Example: |
Returns
| Type | Description |
|---|---|
| ProjectsResource.ImagesResource.AsyncBatchAnnotateRequest |