Class FilesResource.AnnotateRequest
Service that performs image detection and annotation for a batch of files. Now only "application/pdf", "image/tiff" and "image/gif" are supported. This service will extract at most 5 (customers can specify which 5 in AnnotateFileRequest.pages) frames (gif) or pages (pdf or tiff) from each file provided and perform detection and annotation for each image extracted.
Inheritance
System.Object
FilesResource.AnnotateRequest
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Vision.v1
Assembly: Google.Apis.Vision.v1.dll
Syntax
public class AnnotateRequest : VisionBaseServiceRequest<BatchAnnotateFilesResponse>, IClientServiceRequest<BatchAnnotateFilesResponse>, IClientServiceRequest
Constructors
AnnotateRequest(IClientService, BatchAnnotateFilesRequest)
Constructs a new Annotate request.
Declaration
public AnnotateRequest(IClientService service, BatchAnnotateFilesRequest body)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| BatchAnnotateFilesRequest | body |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Vision.v1.Data.BatchAnnotateFilesResponse>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Vision.v1.Data.BatchAnnotateFilesResponse>.MethodName
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Vision.v1.Data.BatchAnnotateFilesResponse>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| System.Object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Vision.v1.Data.BatchAnnotateFilesResponse>.GetBody()
InitParameters()
Initializes Annotate parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Vision.v1.VisionBaseServiceRequest<Google.Apis.Vision.v1.Data.BatchAnnotateFilesResponse>.InitParameters()