Class: Google::Cloud::AutoML::V1::DocumentDimensions
- Inherits:
-
Object
- Object
- Google::Cloud::AutoML::V1::DocumentDimensions
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/automl/v1/data_items.rb
Overview
Message that describes dimension of a document.
Defined Under Namespace
Modules: DocumentDimensionUnit
Instance Attribute Summary collapse
-
#height ⇒ ::Float
Height value of the document, works together with the unit.
-
#unit ⇒ ::Google::Cloud::AutoML::V1::DocumentDimensions::DocumentDimensionUnit
Unit of the dimension.
-
#width ⇒ ::Float
Width value of the document, works together with the unit.
Instance Attribute Details
#height ⇒ ::Float
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 |
# File 'proto_docs/google/cloud/automl/v1/data_items.rb', line 67 class DocumentDimensions include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Unit of the document dimension. module DocumentDimensionUnit # Should not be used. DOCUMENT_DIMENSION_UNIT_UNSPECIFIED = 0 # Document dimension is measured in inches. INCH = 1 # Document dimension is measured in centimeters. CENTIMETER = 2 # Document dimension is measured in points. 72 points = 1 inch. POINT = 3 end end |
#unit ⇒ ::Google::Cloud::AutoML::V1::DocumentDimensions::DocumentDimensionUnit
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 |
# File 'proto_docs/google/cloud/automl/v1/data_items.rb', line 67 class DocumentDimensions include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Unit of the document dimension. module DocumentDimensionUnit # Should not be used. DOCUMENT_DIMENSION_UNIT_UNSPECIFIED = 0 # Document dimension is measured in inches. INCH = 1 # Document dimension is measured in centimeters. CENTIMETER = 2 # Document dimension is measured in points. 72 points = 1 inch. POINT = 3 end end |
#width ⇒ ::Float
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 |
# File 'proto_docs/google/cloud/automl/v1/data_items.rb', line 67 class DocumentDimensions include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Unit of the document dimension. module DocumentDimensionUnit # Should not be used. DOCUMENT_DIMENSION_UNIT_UNSPECIFIED = 0 # Document dimension is measured in inches. INCH = 1 # Document dimension is measured in centimeters. CENTIMETER = 2 # Document dimension is measured in points. 72 points = 1 inch. POINT = 3 end end |