Show / Hide Table of Contents

Class AnnotateFileRequest

A request to annotate one single file, e.g. a PDF, TIFF or GIF file.

Inheritance
object
AnnotateFileRequest
Implements
IDirectResponseSchema
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.v1.Data
Assembly: Google.Apis.Vision.v1.dll
Syntax
public class AnnotateFileRequest : IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Features

Required. Requested features.

Declaration
[JsonProperty("features")]
public virtual IList<Feature> Features { get; set; }
Property Value
Type Description
IList<Feature>

ImageContext

Additional context that may accompany the image(s) in the file.

Declaration
[JsonProperty("imageContext")]
public virtual ImageContext ImageContext { get; set; }
Property Value
Type Description
ImageContext

InputConfig

Required. Information about the input file.

Declaration
[JsonProperty("inputConfig")]
public virtual InputConfig InputConfig { get; set; }
Property Value
Type Description
InputConfig

Pages

Pages of the file to perform image annotation. Pages starts from 1, we assume the first page of the file is page 1. At most 5 pages are supported per request. Pages can be negative. Page 1 means the first page. Page 2 means the second page. Page -1 means the last page. Page -2 means the second to the last page. If the file is GIF instead of PDF or TIFF, page refers to GIF frames. If this field is empty, by default the service performs image annotation for the first 5 pages of the file.

Declaration
[JsonProperty("pages")]
public virtual IList<int?> Pages { get; set; }
Property Value
Type Description
IList<int?>

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX