Class ProjectsResource.ImagesResource
The "images" collection of methods.
Inherited Members
Namespace: Google.Apis.Vision.v1p1beta1
Assembly: Google.Apis.Vision.v1p1beta1.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(GoogleCloudVisionV1p1beta1BatchAnnotateImagesRequest, string)
Run image detection and annotation for a batch of images.
Declaration
public virtual ProjectsResource.ImagesResource.AnnotateRequest Annotate(GoogleCloudVisionV1p1beta1BatchAnnotateImagesRequest body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleCloudVisionV1p1beta1BatchAnnotateImagesRequest | 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(GoogleCloudVisionV1p1beta1AsyncBatchAnnotateImagesRequest, 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(GoogleCloudVisionV1p1beta1AsyncBatchAnnotateImagesRequest body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleCloudVisionV1p1beta1AsyncBatchAnnotateImagesRequest | body | The body of the request. |
| string | parent | Optional. Target project and location to make a call. Format:
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.ImagesResource.AsyncBatchAnnotateRequest |