Class: Google::Cloud::Vision::V1p4beta1::AnnotateFileResponse
- Inherits:
-
Object
- Object
- Google::Cloud::Vision::V1p4beta1::AnnotateFileResponse
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/vision/v1p4beta1/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
-
#error ⇒ ::Google::Rpc::Status
If set, represents the error message for the failed request.
-
#input_config ⇒ ::Google::Cloud::Vision::V1p4beta1::InputConfig
Information about the file for which this response is generated.
-
#responses ⇒ ::Array<::Google::Cloud::Vision::V1p4beta1::AnnotateImageResponse>
Individual responses to images found within the file.
-
#total_pages ⇒ ::Integer
This field gives the total number of pages in the file.
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.
761 762 763 764 |
# File 'proto_docs/google/cloud/vision/v1p4beta1/image_annotator.rb', line 761 class AnnotateFileResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#input_config ⇒ ::Google::Cloud::Vision::V1p4beta1::InputConfig
Returns Information about the file for which this response is generated.
761 762 763 764 |
# File 'proto_docs/google/cloud/vision/v1p4beta1/image_annotator.rb', line 761 class AnnotateFileResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#responses ⇒ ::Array<::Google::Cloud::Vision::V1p4beta1::AnnotateImageResponse>
Returns Individual responses to images found within the file. This field will be
empty if the error
field is set.
761 762 763 764 |
# File 'proto_docs/google/cloud/vision/v1p4beta1/image_annotator.rb', line 761 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.
761 762 763 764 |
# File 'proto_docs/google/cloud/vision/v1p4beta1/image_annotator.rb', line 761 class AnnotateFileResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |