Class DocumentDimensions (2.4.2)

DocumentDimensions(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Message that describes dimension of a document. .. attribute:: unit

Unit of the dimension.

:type: google.cloud.automl_v1beta1.types.DocumentDimensions.DocumentDimensionUnit

Attributes

NameDescription
width float
Width value of the document, works together with the unit.
height float
Height value of the document, works together with the unit.

Classes

DocumentDimensionUnit

DocumentDimensionUnit(value)

Unit of the document dimension.