Show / Hide Table of Contents

Class AnnotateFileResponse

Response to a single file annotation request. A file may contain one or more images, which individually have their own responses.

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

Properties

Error

If set, represents the error message for the failed request. The responses field will not be set in this case.

Declaration
[JsonProperty("error")]
public virtual Status Error { get; set; }
Property Value
Type Description
Status

ETag

The ETag of the item.

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

InputConfig

Information about the file for which this response is generated.

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

Responses

Individual responses to images found within the file. This field will be empty if the error field is set.

Declaration
[JsonProperty("responses")]
public virtual IList<AnnotateImageResponse> Responses { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<AnnotateImageResponse>

TotalPages

This field gives the total number of pages in the file.

Declaration
[JsonProperty("totalPages")]
public virtual int? TotalPages { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

Implements

IDirectResponseSchema
In This Article
Back to top