class Google::Apis::VisionV1p1beta1::AnnotateFileResponse
Response to a single file annotation request. A file may contain one or more images, which individually have their own responses.
Attributes
The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [ gRPC](github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https: //cloud.google.com/apis/design/errors). Corresponds to the JSON property `error` @return [Google::Apis::VisionV1p1beta1::Status]
The desired input location and metadata. Corresponds to the JSON property `inputConfig` @return [Google::Apis::VisionV1p1beta1::InputConfig]
Individual responses to images found within the file. This field will be empty if the `error` field is set. Corresponds to the JSON property `responses` @return [Array<Google::Apis::VisionV1p1beta1::AnnotateImageResponse>]
This field gives the total number of pages in the file. Corresponds to the JSON property `totalPages` @return [Fixnum]
Public Class Methods
# File lib/google/apis/vision_v1p1beta1/classes.rb, line 56 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/vision_v1p1beta1/classes.rb, line 61 def update!(**args) @error = args[:error] if args.key?(:error) @input_config = args[:input_config] if args.key?(:input_config) @responses = args[:responses] if args.key?(:responses) @total_pages = args[:total_pages] if args.key?(:total_pages) end