View Source GoogleApi.Vision.V1.Model.AnnotateFileResponse (google_api_vision v0.25.0)

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

Attributes

  • error (type: GoogleApi.Vision.V1.Model.Status.t, default: nil) - If set, represents the error message for the failed request. The responses field will not be set in this case.
  • inputConfig (type: GoogleApi.Vision.V1.Model.InputConfig.t, default: nil) - Information about the file for which this response is generated.
  • responses (type: list(GoogleApi.Vision.V1.Model.AnnotateImageResponse.t), default: nil) - Individual responses to images found within the file. This field will be empty if the error field is set.
  • totalPages (type: integer(), default: nil) - This field gives the total number of pages in the file.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Vision.V1.Model.AnnotateFileResponse{
  error: GoogleApi.Vision.V1.Model.Status.t() | nil,
  inputConfig: GoogleApi.Vision.V1.Model.InputConfig.t() | nil,
  responses: [GoogleApi.Vision.V1.Model.AnnotateImageResponse.t()] | nil,
  totalPages: integer() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.