Class GoogleCloudVisionV1p1beta1AnnotateFileRequest
A request to annotate one single file, e.g. a PDF, TIFF or GIF file.
Implements
Inherited Members
Namespace: Google.Apis.Vision.v1p1beta1.Data
Assembly: Google.Apis.Vision.v1p1beta1.dll
Syntax
public class GoogleCloudVisionV1p1beta1AnnotateFileRequest : 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<GoogleCloudVisionV1p1beta1Feature> Features { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudVisionV1p1beta1Feature> |
ImageContext
Additional context that may accompany the image(s) in the file.
Declaration
[JsonProperty("imageContext")]
public virtual GoogleCloudVisionV1p1beta1ImageContext ImageContext { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudVisionV1p1beta1ImageContext |
InputConfig
Required. Information about the input file.
Declaration
[JsonProperty("inputConfig")]
public virtual GoogleCloudVisionV1p1beta1InputConfig InputConfig { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudVisionV1p1beta1InputConfig |
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?> |