Reference documentation and code samples for the Cloud AutoML V1beta1 API class Google::Cloud::AutoML::V1beta1::DocumentDimensions.
Message that describes dimension of a document.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#height
def height() -> ::Float
Returns
- (::Float) — Height value of the document, works together with the unit.
#height=
def height=(value) -> ::Float
Parameter
- value (::Float) — Height value of the document, works together with the unit.
Returns
- (::Float) — Height value of the document, works together with the unit.
#unit
def unit() -> ::Google::Cloud::AutoML::V1beta1::DocumentDimensions::DocumentDimensionUnit
Returns
- (::Google::Cloud::AutoML::V1beta1::DocumentDimensions::DocumentDimensionUnit) — Unit of the dimension.
#unit=
def unit=(value) -> ::Google::Cloud::AutoML::V1beta1::DocumentDimensions::DocumentDimensionUnit
Parameter
- value (::Google::Cloud::AutoML::V1beta1::DocumentDimensions::DocumentDimensionUnit) — Unit of the dimension.
Returns
- (::Google::Cloud::AutoML::V1beta1::DocumentDimensions::DocumentDimensionUnit) — Unit of the dimension.
#width
def width() -> ::Float
Returns
- (::Float) — Width value of the document, works together with the unit.
#width=
def width=(value) -> ::Float
Parameter
- value (::Float) — Width value of the document, works together with the unit.
Returns
- (::Float) — Width value of the document, works together with the unit.