Class: Google::Cloud::Vision::V1::AnnotateFileResponse

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/vision/v1/image_annotator.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#error::Google::Rpc::Status

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

Returns:

  • (::Google::Rpc::Status)

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



800
801
802
803
# File 'proto_docs/google/cloud/vision/v1/image_annotator.rb', line 800

class AnnotateFileResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#input_config::Google::Cloud::Vision::V1::InputConfig

Returns Information about the file for which this response is generated.

Returns:



800
801
802
803
# File 'proto_docs/google/cloud/vision/v1/image_annotator.rb', line 800

class AnnotateFileResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#responses::Array<::Google::Cloud::Vision::V1::AnnotateImageResponse>

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

Returns:



800
801
802
803
# File 'proto_docs/google/cloud/vision/v1/image_annotator.rb', line 800

class AnnotateFileResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#total_pages::Integer

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

Returns:

  • (::Integer)

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



800
801
802
803
# File 'proto_docs/google/cloud/vision/v1/image_annotator.rb', line 800

class AnnotateFileResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end