Show / Hide Table of Contents

Class ProjectsResource.ImagesResource

The "images" collection of methods.

Inheritance
object
ProjectsResource.ImagesResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Vision.v1p2beta1
Assembly: Google.Apis.Vision.v1p2beta1.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(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.

string 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.

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.

string 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.

Returns
Type Description
ProjectsResource.ImagesResource.AsyncBatchAnnotateRequest
In this article
Back to top Generated by DocFX