google_api_vision v0.21.0 GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1AnnotateFileResponse 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.GoogleCloudVisionV1p3beta1InputConfig.t, default: nil) - Information about the file for which this response is generated.
  • responses (type: list(GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1AnnotateImageResponse.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

Link to this type

t()

View Source
t() ::
  %GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1AnnotateFileResponse{
    error: GoogleApi.Vision.V1.Model.Status.t(),
    inputConfig:
      GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1InputConfig.t(),
    responses: [
      GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1AnnotateImageResponse.t()
    ],
    totalPages: integer()
  }

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.