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

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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

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

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.